Makefile.am: Add check-exports target and run it as part of 'make check' (see #499140...
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * Makefile.am:
4           Add check-exports target and run it as part of 'make check'
5           (see #499140 and #493983).
6
7         * gst/gst_private.h:
8         * gst/gstelementfactory.h:
9         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
10         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
11           (_priv_gst_in_valgrind):
12         * gst/gstinfo.h: (GstLogFunction):
13         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
14           (gst_type_find_register):
15         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
16           (gst_type_find_factory_get_type):
17         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
18           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
19           (gst_controller_new_valist), (gst_controller_new_list),
20           (_gst_controller_dispose), (_gst_controller_class_init):
21         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
22         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
23           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
24           (gst_object_get_controller), (gst_object_set_controller),
25           (gst_object_suggest_next_sync), (gst_object_sync_values),
26           (gst_object_set_control_source), (gst_object_get_control_source),
27           (gst_object_get_value_arrays), (gst_object_get_value_array),
28           (gst_object_get_control_rate), (gst_object_set_control_rate):
29         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
30         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
31           Make some functions that should be static static; rename some
32           private symbols so that they don't get exported; add some FIXME
33           comments so we can move accidentally exported functions into
34           our private section in 0.11.
35
36         * win32/common/libgstreamer.def:
37           Add gst_utils_get_timestamp().
38
39 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
40
41         * gst/gstvalue.c:
42         * gst/gstvalue.h:
43           Add more missing "Since:" tags to docs.
44
45 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
46
47         * gst/gstutils.c:
48           Add mising "Since:" to docs.
49
50 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
51
52         * gst/gstplugin.c:
53           Include "glib-compat-private.h" to fix the build on system with
54           glib < 2.10. Fixes #503131.
55
56 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
57
58         * gst/gstutils.c:
59         * gst/gstutils.h:
60           Actually its not PURE as it gets the time from elsewhere.
61
62 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
63
64         * docs/gst/gstreamer-sections.txt:
65         * gst/gstclock.h:
66         * gst/gstdebugutils.c:
67         * gst/gstinfo.c:
68         * gst/gstutils.c:
69         * gst/gstutils.h:
70         * libs/gst/base/gstbasesink.c:
71         * tools/gst-launch.c:
72           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
73           uses as we don't have HAVE_POSIX_TIMERS in public headers.
74           Thanks Tim for spotting.
75
76 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
77
78         * configure.ac:
79           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
80
81 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
82
83         * gst/gststructure.c: (gst_structure_validate_name),
84           (gst_structure_new_valist), (gst_structure_parse_value),
85           (gst_structure_from_string):
86           Don't crash in _from_string() if the structure name is not valid
87           (fixes #501560).  Allow structure names to start with a number
88           again (this apparently broke the ubuntu codec installer).
89
90         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
91           (GST_START_TEST):
92           Add unit test for the crash; update unit tests for new behaviour.
93
94 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
95
96         * gst/gstutils.c:
97         Clarify gst_element_get_compatible_pad() documentation.
98         Fixes #500919.
99
100 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
101
102         * tests/check/Makefile.am:
103           Don't forget to dist {gst,libs}/struct_hppa.h.
104
105 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
106
107         * libs/gst/base/gstbasesink.c:
108           Use new API to get elapsed time.
109
110 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
111
112         * gst/gstdebugutils.c:
113         * gst/gstinfo.c:
114           Fix wrong order of args in GST_CLOCK_DIFF() usage.
115
116         * tools/gst-launch.c:
117           Use new API to get elapsed time.
118
119 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
120
121         * docs/gst/gstreamer-sections.txt:
122         * gst/gstclock.h:
123         * gst/gstdebugutils.c:
124         * gst/gstinfo.c:
125           Rename new API + ChangeLog surgery to remove old name from last entry..
126           API: GST_GET_TIMESTAMP
127
128 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
129
130         * docs/gst/gstreamer-sections.txt:
131         * gst/gstclock.h:
132         * gst/gstdebugutils.c:
133         * gst/gstinfo.c:
134           Now hide the different clock stuff behind a macro.
135
136 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
137
138         * configure.ac:
139         * gst/gstdebugutils.c:
140         * gst/gstinfo.c:
141           Apply the posix-timer check from #361155. Conditionally use the posix
142           timer for logging. This gives better timestamp precission, less
143           overhead and no ntp jitter.
144
145 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
146
147         * gst/gstminiobject.c: (gst_mini_object_get_type),
148         (gst_mini_object_class_init), (gst_mini_object_copy_default),
149         (gst_mini_object_finalize), (gst_mini_object_copy),
150         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
151         (gst_mini_object_replace), (param_mini_object_validate),
152         (gst_param_spec_mini_object_get_type):
153         Some cleanup and checking against invalid function parameters.
154
155 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
156
157         * docs/gst/gstreamer-sections.txt:
158         * gst/gstclock.h:
159         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
160         (gst_systemclock_suite):
161         Start merging in the easy bits of #361155, the monotonic clock patch.
162         This one adds a few handy macros with docs and a testsuite.
163
164 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
165
166         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
167         Be a bit smarter when seeking, like, don't try to do a seek when it's
168         not needed. This avoids errors when the file is not seekable.
169         Fixes #499771.
170
171 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
172
173         * docs/gst/gstreamer-docs.sgml:
174         * docs/gst/gstreamer-sections.txt:
175         * docs/gst/gstreamer.types.in:
176         * gst/Makefile.am:
177         * gst/gst.h:
178         * gst/gstpreset.c:
179         * gst/gstpreset.h:
180         * plugins/elements/gstqueue.c:
181           Due to popular request remove preset interface again. :-(.
182
183 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
184
185         * tools/gst-inspect.c:
186           Print 'default value' for enums and flags too.
187
188 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
189
190         * docs/random/ensonic/profiling.txt:
191           More ideas.
192
193         * gst/gstbin.c:
194           Fix typo and give better log output.
195
196         * gst/gstdebugutils.c:
197         * gst/gstdebugutils.h:
198           More ideas, make graphs a bit smaller and fix param name in macro.
199
200 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
201
202         * gst/gstpreset.c:
203           Try harder to use the return value from fgets().
204
205 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
206
207         * gst/gstpreset.c:
208           For theses two fgets we handle the error below.
209
210 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
211
212         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
213         Only send upstream events upstream. Fixes #498746.
214
215 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
216
217         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
218
219         * plugins/elements/gstidentity.c: (gst_identity_class_init),
220         (gst_identity_init), (gst_identity_transform_ip),
221         (gst_identity_set_property), (gst_identity_get_property):
222         * plugins/elements/gstidentity.h:
223         Add property to disable handoff signal emission. Fixes #498694.
224         API: GstIdentity::signal-handoffs
225
226 2007-11-21  Julien Moutte  <julien@fluendo.com>
227
228         * docs/faq/gst-uninstalled: Yet another missing library for the
229         uninstalled script (fft)
230
231 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
232
233         * docs/faq/developing.xml:
234         Add a question about how to submit new translations.
235
236         * docs/random/release:
237         Update the contact email address for the Translation Project
238
239         * plugins/elements/gstfdsrc.c:
240         The parent_class for fdsrc is pushsrc, not GstElement.
241
242 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
243
244         * gst/gstpreset.c:
245           Plug a leak and fix saving.
246
247 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
248
249         * docs/gst/gstreamer-sections.txt:
250         Add new gst_preset__get_property_names() function to the docs
251         to fix the build.
252
253 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
254
255         * gst/gstpreset.c:
256         * gst/gstpreset.h:
257           Change _get_preset_names API to return a strv with copies. Add
258           _get_property_names to allow implementations to filter and provide
259           good default implementation.
260
261 2007-11-20  Julien MOUTTE  <julien@moutte.net>
262
263         * docs/faq/gst-uninstalled: Add another library to the uninstalled
264         script (sdp).
265
266 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
267
268         * gst/gstpreset.c:
269           More cleanups, docs, and TODOs from comments that now slowly come in.
270
271 2007-11-19  Julien MOUTTE  <julien@moutte.net>
272
273         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
274         search path.
275
276 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
277
278         * gst/gstpreset.c:
279           Fix bogus warning and make the property type specific code more
280           similar.
281
282 2007-11-19  Julien MOUTTE  <julien@moutte.net>
283
284         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
285         it build on OS X.
286
287 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
288
289         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
290         (gst_bin_add_func), (gst_bin_remove_func),
291         (gst_bin_change_state_func), (gst_bin_continue_func):
292         Change email, cleanups add some more debug and comments.
293         Also set bus and clock on new elements when the pipeline was in error.
294
295 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
296
297         * gst/gstbin.c:
298         * gst/gstdebugutils.c:
299           Fix build with --disable-gst-debug. Fixes #497859.
300           Spotted by Sameer Naik.
301
302 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
303
304         * gst/gstevent.c:
305           Little documentation improvment.
306
307         * gst/gstpreset.c:
308           More TODO cleanups. Remove c++ comments.
309
310         * libs/gst/controller/gstcontroller.c:
311           Add TODO and use quark from static string.
312
313         * tests/check/gst/gstmessage.c:
314         * tests/check/gst/gststructure.c:
315           Use quark from static string.
316
317 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
318
319         * gst/gstpreset.c:
320           Add some comments and TODOs.
321
322         * gst/gstpreset.h:
323           Add padding for future changes.
324
325         * plugins/elements/gstqueue.c:
326           Implement the iface.    
327
328 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
329
330         * docs/gst/gstreamer-docs.sgml:
331         * docs/gst/gstreamer-sections.txt:
332         * docs/gst/gstreamer.types.in:
333         * gst/Makefile.am:
334         * gst/gst.h:
335         * gst/gstpreset.c:
336         * gst/gstpreset.h:
337           Add the preset interface (Fixes #396779). Do some doc cleanups along.
338
339 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
340
341         * configure.ac:
342
343         Back to CVS
344
345 === release 0.10.15 ===
346
347 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
348
349         * configure.ac:
350           releasing 0.10.15, "October"
351
352 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
353
354         * win32/vs6/libgstreamer.dsp:
355         Convert line endings back to DOS.
356
357 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
358
359         * docs/design/draft-tagreading.txt:
360         * docs/random/ensonic/profiling.txt:
361         Update fast tagreading draft and performance profiling ideas.
362
363 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
364
365         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
366         Don't hold the object lock when unreffing a buffer because it could
367         cause a deadlock when the finalize function wants to grab the object
368         lock too. Fixes #495133.
369
370 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
371
372         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
373         (gst_segment_to_stream_time), (gst_segment_to_running_time):
374         Also accumulate time correctly when doing reverse playback. Fixes
375         #488201,
376         When converting to running and stream time, use default values for
377         start/stop/time/accum when comparing different formats. Fixes #494245.
378
379         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
380         Do running/stream time in TIME format.
381
382         * tests/check/gst/gstsegment.c: (GST_START_TEST),
383         (gst_segment_suite):
384         2 new unit tests for segment accumulation.
385
386 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
387
388         * gst/gst.c: (init_pre):
389         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
390           (_gst_debug_bin_to_dot_file):
391           Move getenv() back into gst_init, so everyone can live happily
392           ever after. Make sure the symbol isn't exported though.
393
394 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
395
396         Patch by: Sebastien Moutte  <sebastien moutte net>
397
398         * win32/common/gstenumtypes.c:
399         * win32/common/gstenumtypes.h:
400           Update enum types.
401
402         * win32/vs6/libgstreamer.dsp:
403           Update vs6 project files (#494343).
404
405 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
406
407         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
408         (gst_base_src_perform_seek), (gst_base_src_default_event),
409         (gst_base_src_set_flushing), (gst_base_src_activate_push),
410         (gst_base_src_activate_pull):
411         Unify flushing code, remove some old unlock code that is no longer used.
412         Take the streaming lock when seeking to avoid races. Fixes #492729.
413         Added some more comments.
414
415 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
416
417         * gst/gst.c: (_gst_disable_segtrap):
418           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
419           we can use gst_segtrap_is_enabled() there now that we have that API.
420           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
421           to do the getenv here (and export the variable).
422
423         * gst/gstdebugutils.c: (debug_dump_element),
424           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
425           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
426
427         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
428           (gst_debug_log_default):
429           Rename _gst_info_start_time to priv_gst_info_start_time so it
430           doesn't get exported (was never in any header).
431
432         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
433           (gst_plugin_loading_mutex):
434           Make static mutex gst_plugin_loading_mutex really static (was never
435           in any header), and use gst_segtrap_is_enabled() instead of
436           _gst_disable_segtrap.
437
438         * gst/gsttrace.c: (_gst_trace_default):
439           Make local _gst_trace_default static (was never in any header).
440
441 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
442
443         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
444
445         * win32/common/libgstbase.def:
446         * win32/common/libgstcontroller.def:
447         * win32/common/libgstdataprotocol.def:
448         * win32/common/libgstnet.def:
449         * win32/common/libgstreamer.def:
450           Add more missing symbols, remove some duplicates, and sort
451           as the 'sort' command sorts it (partially fixes #493983).
452
453 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
454
455         * gst/gstelement.c: (gst_element_set_state_func):
456         Only change the state cookie if a different state was set on the
457         element. See #492729.
458
459 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
460
461         * gst/gstvalue.c:
462           Remove unused and uninitialised type variables that were still
463           exported for some reason (they were never in any header files
464           though).
465
466 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
467
468         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
469         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
470         (gst_base_sink_event), (gst_base_sink_get_position_last),
471         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
472         (gst_base_sink_change_state):
473         Don't try to report a 0 position when we don't know, return -1 and FALSE
474         instead. This mostly happens when we are prerolling.
475         Make sure we can report the right position before we post the ASYNC_DONE
476         message so that a message handler can query position without races.
477
478         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
479         (async_done_handoff), (async_done_func), (send_buffer),
480         (async_done_eos_func), (gst_sinks_suite):
481         Add two tests for the above.
482
483 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
484
485         * MAINTAINERS:
486         Update with new email address.
487
488         * docs/design/part-TODO.txt:
489         Add some more info about future pad-block and negotiation changes.
490
491         * docs/design/part-buffering.txt:
492         Add some ideas about buffering reporting.
493
494 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
495
496         * tests/check/gst/gstobject.c:
497         Disable silly racy test that always fails on this combination of CPU
498         and kernel.
499
500 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
501
502         Patch by: Murray Cumming  <murrayc@murrayc.com>
503
504         * gst/gstobject.c:
505           Corrected the registration of the parent-set and parent-unset
506           signals: The parameter is a GstObject, not a GObject (#493134).
507
508 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
509
510         * gst/gst_private.h:
511         * gst/gstbuffer.h:
512         * gst/gstevent.h:
513         * gst/gstformat.h:
514         * gst/gstmessage.h:
515         * gst/gstplugin.h:
516         * gst/gstquery.h:
517         * gst/gsttaglist.h:
518         * gst/gstvalue.h:
519           Move declaration of private _gst_foo_initialize() functions into
520           our private header file where they should have been all along.
521
522 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
523
524         * docs/plugins/gstreamer-plugins-sections.txt:
525         * gst/gstdebugutils.h:
526         * gst/gstxml.h:
527         * plugins/elements/gstqueue.c:
528           gtk-doc fixes; trailing-comma-in-enum fix.
529
530 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
531
532         * gst/gst.c: (gst_deinit):
533           Clean up on deinit (not the external ones though, doesn't seem to be
534           needed for some reason).
535
536 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
537
538         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
539           Remove __declspec(dllimport) for MSVC that was copied over into core
540           from a plugin, obviously without ever having been tested (note the
541           single underscore in _declspec in the initial commit), and that doesn't
542           really make sense.  See #492077.
543
544 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
545
546         * gst/gst.c: (init_post):
547         * gst/gstevent.c: (_gst_event_initialize):
548         * gst/gstquery.c: (_gst_query_initialize):
549         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
550           g_type_class_ref() other types as well, see #349410 and #64764.
551
552         * gst/gstbuffer.c: (_gst_buffer_initialize):
553         * gst/gstmessage.c: (_gst_message_initialize):
554           Simplify existing g_type_class_ref().
555
556 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
557
558         * gst/gstformat.c: (_gst_format_initialize):
559           g_type_class_ref() our GstFormat type to make sure we avoid the
560           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
561           bug #64764. Should fix intermittent tee unit test failures (#474823).
562
563 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
564
565         * tests/check/elements/tee.c: (test_num_buffers):
566           Simplify, simplify, simplify - or not.  Rewrite unit test
567           not to use gst_parse_launch(); allow N sub-streams. Increasing
568           the number of sub-streams seems to reproduce #474823 more easily.
569
570 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
571
572         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
573
574         * gst/gsttrace.c:
575         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
576         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
577         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
578           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
579           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
580           so use _pipe() directly (#492077).
581
582         * win32/common/dirent.c: (_treaddir):
583           Add a couple of casts to make it build without warnings with MSVC.
584
585         * win32/common/libgstreamer.def:
586           Add some more symbols that need to be exported.
587
588 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
589
590         * tests/examples/metadata/read-metadata.c: (message_loop):
591           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
592           arriving in a second or third tag message are added to
593           the tag list as well.
594
595 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
596
597         * libs/gst/base/gstbasesrc.c:
598           Its "Since:" and not "@Since:". And remove an superflous cast.
599
600 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
601
602         * docs/libs/gstreamer-libs-sections.txt:
603         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
604         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
605         (gst_base_sink_get_property), (gst_base_sink_render_object),
606         (gst_base_sink_preroll_object),
607         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
608         (gst_base_sink_change_state):
609         * libs/gst/base/gstbasesink.h:
610         Add a new last-buffer property that contains the last buffer used in
611         basesink for preroll or rendering. useful for making snapshots.
612         API: gst_base_sink_get_last_buffer()
613         API: GstBaseSink::last-buffer
614
615 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
616
617         * docs/gst/running.xml:
618         * gst/gst.c:
619         * gst/gstdebugutils.c:
620         * gst/gstdebugutils.h:
621         * tools/gst-launch.c:
622           Improve bin graph dumping, by using the envvar to specify a path.
623           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
624
625 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
626
627         * plugins/elements/gsttypefindelement.c:
628           (gst_type_find_element_handle_event),
629           (gst_type_find_element_activate):
630           Post special error message if we can't determine the type of a stream
631           because it's empty.
632
633 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
634
635         * docs/gst/running.xml:
636         * gst/gstdebugutils.c:
637           Document new env-var. Add one log-line after dumpng a graph.
638
639 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
640
641         * configure.ac:
642           Ugly hack to put the (recently removed and non-portable, apparently)
643           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
644           GNU ld, because without that 'make check' fails miserably on my debian
645           stable box.  Someone with more knowledge of linker intricacies and
646           portability issues than me fix this properly please.
647
648 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
649
650         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
651         Reset last seen position after flushing so that we don't report the old
652         position anymore.
653
654 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
655
656         * gst/gstelementfactory.c: (gst_element_register):
657         * gst/gsturi.h:
658         Patch from Alessandro Decina adding get_type_full and
659         get_protocols_full private vfuncs to the URIHandler interface
660         to allow bindings to support creating URI handlers. 
661         Partially fixes: #339279
662         API: GstURIHandlerInterface::get_type_full
663         API: GstURIHandlerInterface::get_protocols_full
664
665 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
666
667         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
668         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
669         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
670         Make it so that pads are considered linked until a buffer is pushed
671         and discovered otherwise. This avoids problems with decodebin2 hanging
672         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
673         case.
674
675         Make sure we lock the multiqueue when updating the max-size properties.
676         
677         Fix a crash on Solaris in a debug statement in get_request_pad that
678         passes a NULL string to GST_DEBUG. 
679
680         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
681         (run_output_order_test):
682         Fix the test to allow the first buffer on not-linked pads to come out
683         of sequence while multiqueue discovers that they are not-linked.
684
685 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
686
687         * configure.ac:
688         * libs/gst/check/Makefile.am:
689         Use a custom export symbol regex for libgstcheck, as it needs
690         to export symbols that don't match the standard GStreamer gst_*
691         pattern, and  --export-dynamic is not portable (only works on 
692         GNU ld)
693
694         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
695         (gst_check_setup_sink_pad):
696         Make sure to pass a message parameter to the fail_* macros.
697
698         * tests/check/gst/gstinfo.c: (GST_START_TEST):
699         Fix some compiler warnings.
700
701 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
702
703         * tests/check/gst/gststructure.c: (test_to_string):
704           Disable test that checks that white spaces are not allowed
705           in structure names or field names, since we need to
706           support that for now for backwards compatibility reasons.
707
708 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
709
710         * docs/gst/gstreamer-sections.txt:
711         * gst/gsttaglist.c:
712         * gst/gsttaglist.h:
713           API: add GST_TAG_ARTIST_SORTNAME
714           API: add GST_TAG_ALBUM_SORTNAME
715           API: add GST_TAG_TITLE_SORTNAME
716           Add tag variants for sorting (#414539).
717
718 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
719
720         * gst/gststructure.c:
721           Also allow white space for names so we don't break
722           backwards compatibility.
723
724 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
725
726         * docs/design/part-TODO.txt:
727         * docs/design/part-segments.txt:
728         * docs/design/part-streams.txt:
729         Small updates.
730
731 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
732
733         * docs/gst/gstreamer-sections.txt:
734          Fixed documentation from my previous commit (added new API add
735          gst_value_set_structure(), add gst_value_get_structure() and
736          GST_VALUE_HOLDS_STRUCTURE).
737
738 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
739
740         * gst/gstdebugutils.c:
741           Reflow code to fix uninitialized variable warning.
742
743 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
744
745         * gst/gstcaps.c: (gst_caps_to_string),
746         (gst_caps_from_string_inplace):
747         * gst/gststructure.c: (gst_structure_get_abbrs),
748         (gst_structure_to_string), (gst_structure_from_string):
749         * gst/gstvalue.c: (gst_value_set_structure),
750         (gst_value_get_structure), (gst_value_serialize_structure),
751         (gst_value_deserialize_structure), (_gst_value_initialize):
752         * gst/gstvalue.h:
753         * tests/check/gst/gststructure.c: (GST_START_TEST),
754         (gst_structure_suite):
755         * tests/check/gst/gstvalue.c: (GST_START_TEST):
756          Added GstStructure to gst_value_table and its related functions.
757          Changed gst_structure_to_string to print ';' in the end.
758          Changed gst_caps_to_string to not print ';' beteween its
759          fields (structures) anymore and remove the lastes ';' from latest
760          structure. Now it is possible to have nested structures.
761          In addition, backward compatibilty is assured by accepting '\0' as
762          end delimiter. Fixes: #487969.
763          API: add gst_value_set_structure()
764          API: add gst_value_get_structure()
765          API: add GST_VALUE_HOLDS_STRUCTURE
766
767 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
768
769         * gst/gstbus.c:
770           When no GSource callback has been set up, tell developer
771           to use a function that actually exists.
772
773 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
774
775         * docs/gst/gstreamer-sections.txt:
776         * gst/Makefile.am:
777         * gst/gst.c:
778         * gst/gst.h:
779         * gst/gstdebugutils.c:
780         * gst/gstdebugutils.h:
781         * gst/gstinfo.c:
782         * gst/gstinfo.h:
783         * tools/gst-launch.c:
784           Allow dumping pipelines as dot graphs. Fixes #456573.
785
786 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
787
788         * gst/gststructure.c:
789           Allow '+' as well, it can be part of media or mime types
790           such as image/svg+xml.
791
792 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
793
794         * docs/gst/gstreamer-sections.txt:
795         * gst/gstbus.c:
796         * gst/gstbus.h:
797           API: add gst_bus_pop_filtered
798           API: add gst_bus_timed_pop_filtered
799           Two new functions for waiting for specific message types on the
800           bus for a specified amount of time without iterating any main
801           loops or main contexts.
802
803         * tests/check/gst/gstbus.c:
804           Some tests for the new functions.
805
806 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
807
808         * docs/libs/gstreamer-libs-sections.txt:
809           Make gtk-doc ignore stuff it should ignore.
810
811 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
812
813         * libs/gst/check/gstcheck.c:
814         * libs/gst/check/gstcheck.h:
815           Allow runtime selection of unit tests to run via the GST_CHECKS
816           environment variable (test case function names, comma-separated).
817
818 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
819
820         * gst/gststructure.c:
821         * tests/check/gst/gststructure.c:
822           Revert serialisation change and constrain structure-names after
823           consensus on irc. Update api documentation to reflect the change.
824
825 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
826
827         * gst/gststructure.c:
828           Improve serialization and fix tests.
829
830         * tests/check/gst/gststructure.c:
831           Add another test that covers why I actually did the previous structure
832           change.
833
834 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
835
836         * tools/gst-inspect.c: (print_element_info):
837         Don't crash when inspecting an element.
838
839 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
840
841         * tests/check/gst/gststructure.c:
842           Add unit test for escaping of structure name when serialising
843           and deserialising to/from strings.
844
845 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
846
847         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
848         (gst_single_queue_new):
849         * plugins/elements/gstqueue.c: (gst_queue_init),
850         (gst_queue_push_one):
851         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
852         upstream is tricked into thinking it can suggest a format downstream
853         while downstream does not support that format. The real problem is that
854         core calls acceptcaps when pushing a buffer with new caps, for which we
855         do a little workaround by setting the caps on the srcpad ourselves
856         before pushing the buffer (until this is figured out). Fixes #486758.
857
858 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
859
860         * gst/gststructure.c:
861         * gst/gstvalue.c:
862           Add some more comments and debug output. Quote structure name to fix
863           deserialisation of some strings.
864
865 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
866
867         * gst/gstbuffer.h:
868           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
869           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
870
871 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
872
873         * tools/gst-inspect.c:
874           Save approx. 400 1 byte allocs when printing. Use API to acces element
875           details.
876
877         * tools/gst-run.c:
878           Avoid a strdup.
879
880         * tools/gst-xmlinspect.c:
881           Use API to acces element details.
882
883 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
884
885         * gst/gstinfo.c:
886           Fix some spelling errors.
887
888 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
889
890         * gst/gstbin.c: (bin_handle_async_done):
891         Correctly set the next state if all of our async children commited their
892         state. This makes sure we can actually cancel the state change in
893         progress. Fixes a regression in Rhythmbox when seeking.
894
895 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
896
897         * gst/gstbin.c:
898           Don't shadow local variable.
899
900         * gst/gstinfo.c:
901           Don't shadow global function name.
902
903 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
904
905         * gst/gstelementfactory.c:
906         * gst/gstpluginfeature.c:
907         * gst/gstpluginfeature.h:
908         * gst/gstregistrybinary.c:
909         * gst/gstregistryxml.c:
910         * gst/gsttypefind.c:
911           Use already-interned string for the private GstPluginFeature
912           plugin_name field.
913
914 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
915
916         * docs/libs/gstreamer-libs-sections.txt:
917           Add new API to docs; fixes the build.
918
919 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
920         
921         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
922
923         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
924         (gst_base_sink_event):
925         * libs/gst/base/gstbasesink.h:
926         Add function to wait for EOS, subclasses can use this to correctly wait
927         for devices to drain before performing the EOS logic. Fixes #485343.
928         API: gst_base_sink_wait_eos()
929
930 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
931
932         * gst/gstplugin.h:
933           Cast description string constants in GST_PLUGIN_DEFINE macros
934           to a (gchar*) to make C++ code using these macros compile
935           without warning with g++-4.2 (see #462737).  Even if slightly
936           ugly, this seems preferable to putting the description strings
937           into the GLib quark table or making the structure member a
938           const gchar * and doing casts in core code that allocs and
939           frees these strings, or requiring a cast in the C++ code.
940
941 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
942
943         * gst/gstinfo.h:
944           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
945           to print the entire class/function signature into the log
946           file for C++ code.  This only affects C++ code, for C code
947           everything remains the same.
948
949 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
950
951         * gst/gstbin.c: (remove_from_queue):
952         Work around a problem with pipelines containing (semi)loops until a
953         proper, more complicated solution is ready. See #475455.
954
955 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
956
957         * gst/gstplugin.c:
958         * gst/gstplugin.h:
959         * gst/gstregistrybinary.c:
960         * gst/gstregistryxml.c:
961           Put more strings into the GLib quark table. No need to keep
962           a hundred-something copies of identical version strings,
963           license strings, package name strings and package origin
964           strings around. 
965
966 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
967
968         * docs/manual/advanced-dataaccess.xml:
969           Don't imply that it's okay to unconditionally change
970           buffer data or buffer metadata in a pad probe callback,
971           and a bunch of other comments. Fixes #430031.
972
973 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
974
975         * win32/common/gstenumtypes.c:
976         * win32/common/gstenumtypes.h:
977         * win32/common/gstversion.h:
978           Update generated files.
979
980 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
981
982         * docs/manual/advanced-autoplugging.xml:
983           Prefix section with broken code with a warning (see #342432).
984
985 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
986
987         * docs/manual/appendix-integration.xml:
988         * docs/manual/basics-init.xml:
989           Call g_thread_init() before g_option_context_new() to
990           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
991
992 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
993
994         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
995         (gst_base_sink_queue_object_unlocked),
996         (gst_base_sink_queue_object), (gst_base_sink_event),
997         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
998         When we received EOS and are waiting for when to post the EOS message,
999         our state is prerolled and we should not return ASYNC.
1000         Reorganize some code paths to implement this behavior.
1001
1002         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1003         (gst_sinks_suite):
1004         Add unit test to verify above EOS fix.
1005
1006 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1007
1008         * plugins/elements/gsttypefindelement.c:
1009         (gst_type_find_element_have_type), (gst_type_find_element_init),
1010         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
1011         Move detecting the input caps of the sinkpad to the setcaps function.
1012         This allows us to update the output caps when we receive new input caps
1013         instead of always using the first detected caps.
1014
1015 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1016
1017         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1018         (gst_base_sink_get_position):
1019         Don't try to preroll non-async elements after a flush.
1020         Subtract latency form clock times when reporting position.
1021
1022 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1023
1024         * gst/gstpad.c: (gst_pad_pause_task):
1025         * gst/gstutils.c:
1026         Small comment and documentation update.
1027
1028 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1029
1030         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1031         (gst_base_src_set_live), (gst_base_src_is_live),
1032         (gst_base_src_query_latency), (gst_base_src_perform_seek),
1033         (gst_base_src_default_event), (gst_base_src_wait),
1034         (gst_base_src_do_sync), (gst_base_src_get_range),
1035         (gst_base_src_pad_get_range), (gst_base_src_loop),
1036         (gst_base_src_unlock), (gst_base_src_unlock_stop),
1037         (gst_base_src_set_flushing), (gst_base_src_set_playing),
1038         (gst_base_src_activate_push), (gst_base_src_activate_pull),
1039         (gst_base_src_change_state):
1040         Rework the locking of basesrc in a similar fashion to basesink. We
1041         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
1042         us to handle live sources and semi live ones much better.
1043         Simplify flushing.
1044         Fix unlocking when seeking, shutting down and pausing in live sources.
1045
1046 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1047
1048         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
1049         Fix compilation again.
1050
1051 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1052
1053         * gst/gstelement.c:
1054           Use meaningful categories for the logs to clean the default one.
1055
1056 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1057
1058         * tests/check/pipelines/cleanup.c:
1059           Print message name and not just number.
1060
1061 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1062
1063         * docs/design/draft-tagreading.txt:
1064           Add some more thoughts.
1065
1066 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1067
1068         * tests/check/pipelines/simple-launch-lines.c:
1069           Print message name and not just number.
1070
1071 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1072
1073         * libs/gst/base/gsttypefindhelper.c:
1074           Speedup typefinding. This is work in progress (see #459862).
1075
1076 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1077
1078         * gst/gstplugin.c:
1079           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1080           Spotted by Josep Torra Valles <josep@fluendo.com>.
1081
1082 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
1083
1084         * gst/gstclock.h:
1085           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1086           field has moved to GstObject.
1087
1088 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
1089
1090         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1091         (gst_base_src_get_range), (gst_base_src_change_state):
1092         Call unlock for live sources so that they can't get stuck in _create and
1093         produce a buffer before they are set back to PLAYING.
1094
1095 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
1096
1097         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1098         (gst_queue_locked_dequeue):
1099         Comment the segment-related code... in the PROPER function.
1100         See #482147 and my commit from yesterday.
1101
1102 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
1103
1104         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1105         Also initialize the counter that calculates the first timestamp on a
1106         buffer correctly for non-live sources.
1107
1108 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
1109
1110         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1111         Disable code that's breaking the current-time-level reporting.
1112         See #482147
1113
1114 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
1115
1116         * docs/gst/gstreamer-sections.txt:
1117         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1118         as they shouldn't show up. Fixes the docs build.
1119
1120 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
1121         
1122         * gst/gstinfo.h:
1123         Add an explicit variable importation needed on VS6 (only for MSC_VER)
1124         Define M_PI which is used in files which are including gstinfo.h. 
1125         VS6 includes doesn't define it.
1126         * win32/common/libgstbase.def:
1127         * win32/common/libgstcontroller.def:
1128         * win32/common/libgstreamer.def:
1129         Add new exported functions and variables.
1130         * win32/vs6/libgstcontroller.dsp:
1131         * win32/vs6/libgstreamer.dsp:
1132         Update the list of files to build.
1133         
1134 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1135
1136         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1137
1138         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1139         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1140         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1141         Improve debugging. Fixes #480858.
1142
1143 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1144
1145         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1146
1147         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1148         First patch of code cleanups, use the macros and right arguments in the
1149         macros to signal and lock the queue. See #480858.
1150
1151 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
1152
1153         * gst/gstbus.c: (poll_func):
1154         Improve debugging when dealing with _poll().
1155
1156 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
1157
1158         * gst/gstregistryxml.c:
1159           Fix memory leak I introduced a few days ago.
1160
1161 2007-09-26  Michael Smith <msmith@fluendo.com>
1162
1163         * gst/gstbuffer.c: (gst_buffer_finalize):
1164           Make it once again possible to free GstBuffers in the default
1165           build.
1166           The poisoning scribbles on parts of the miniobject we need in
1167           order to free it.
1168           Fixes #480341
1169
1170 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
1171
1172         * docs/gst/gstreamer-sections.txt:
1173         * gst/gsttaglist.c:
1174         * gst/gsttaglist.h:
1175         API: add GST_TAG_COMPOSER, fixes #459809.
1176
1177 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
1178
1179         * gst/gstplugin.c:
1180         * gst/gstplugin.h:
1181         Add the 3-clause BSD license and the MIT/X11 license to the license
1182         list. Fixes #479784.
1183
1184 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
1185
1186         * docs/faq/getting.xml:
1187           Add Q+A about different GStreamer versions (#364056).
1188
1189 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1190
1191         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1192         (gst_base_sink_event), (gst_base_sink_change_state):
1193         Return correct gboolean from query function.
1194
1195 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1196
1197         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1198         (gst_base_sink_event), (gst_base_sink_query),
1199         (gst_base_sink_change_state):
1200         Simplify latency query.
1201         When not synchronizing, we can report latency without querying the peer
1202         element.
1203
1204 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1205
1206         * gst/gstobject.h:
1207         * gst/gstvalue.c:
1208         Fix small typos in the docs.
1209
1210 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1211
1212         * docs/design/draft-latency.txt:
1213         * docs/design/draft-push-pull.txt:
1214         * docs/design/draft-tagreading.txt:
1215         * docs/design/part-MT-refcounting.txt:
1216         * docs/design/part-activation.txt:
1217         * docs/design/part-block.txt:
1218         * docs/design/part-element-source.txt:
1219         * docs/design/part-events.txt:
1220         * docs/design/part-gstbin.txt:
1221         * docs/design/part-gstelement.txt:
1222         * docs/design/part-gstobject.txt:
1223         * docs/design/part-gstpipeline.txt:
1224         * docs/design/part-messages.txt:
1225         * docs/design/part-preroll.txt:
1226         * docs/design/part-push-pull.txt:
1227         * docs/design/part-qos.txt:
1228         * docs/design/part-query.txt:
1229         * docs/design/part-scheduling.txt:
1230         * docs/design/part-seeking.txt:
1231         * docs/design/part-segments.txt:
1232         * docs/design/part-states.txt:
1233         Documentation updates and typo fixes.
1234
1235 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
1236
1237         * plugins/elements/gstfakesink.c:
1238           Add some debug text to error message to indicate that
1239           we errored out on request.
1240
1241         * tools/gst-launch.c:
1242           When the state change to PLAYING fails, check for an
1243           error message on the bus and print it.
1244
1245 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1246
1247         translated by: Jorge González González <aloriel@gmail.com>
1248
1249         * po/LINGUAS:
1250         * po/es.po:
1251           Added Spanish translation.
1252
1253 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
1254
1255         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1256         Fix printf arguments.
1257
1258 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1259
1260         * tests/check/generic/states.c:
1261           Improved state change unit test.
1262
1263 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1264
1265         * gst/gstbin.h:
1266           Move priv to the right place.
1267
1268         * gst/gstsystemclock.c:
1269           Add FIXME: and improve log.
1270
1271         * tests/check/Makefile.am:
1272         * tests/examples/manual/Makefile.am:
1273           Work with all types of registries.
1274
1275 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
1276
1277         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1278         Don't unref the event after pushing it. Fixes #478401.
1279
1280 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1281
1282         * .cvsignore:
1283         * tests/examples/manual/.cvsignore:
1284           Ignore registries in any format.
1285
1286 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
1287
1288         * gst/glib-compat-private.h:
1289           Add compatibility macro for g_intern_string() for
1290           GLib-2.8 (any reason we can't just bump the
1291           requirement to at least 2.10?)
1292
1293         * gst/gstpadtemplate.h:
1294         * gst/gstelementfactory.c:
1295         * gst/gstregistryxml.c:
1296         * gst/gstregistrybinary.c:
1297           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1298           up the internal code accordingly.  This shouldn't be a problem, since
1299           there is no reason external code could ever assume the string in such
1300           a structure is dynamically allocated unless it did that itself;  the
1301           use of g_strdup() is private to element factories.  The new code also
1302           saves some memory by putting pad template name strings into the GLib
1303           quark table instead of allocating them dynamically.
1304           Declaring this field constant fixes warnings with g++-4.2 when using
1305           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1306
1307 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1308
1309         * gst/gstelementfactory.c:
1310           Release static caps. Fixes #475723.
1311
1312 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
1313
1314         * gst/gstinfo.c:
1315         * gst/gstinfo.h:
1316           Make some internal API take const gchar * instead of just
1317           gchar * to avoid compiler warnings with g++-4.2.2 when
1318           passing string constants (partially fixes #478092).
1319
1320 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1321
1322         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1323         A latency query fails when one of the sinks fail.
1324
1325         * gst/gstelement.c: (gst_element_set_base_time):
1326         Improve debugging.
1327
1328 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1329
1330         * gst/gstbin.c: (gst_bin_continue_func):
1331         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1332         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1333         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1334
1335         Fix minor compilation warnings shown with Forte.
1336
1337 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1338
1339         * plugins/elements/gstqueue.c: (apply_buffer),
1340         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1341         Measure queue level based on the diff between head and tail timestamps
1342         even when pushing the first buffer.
1343
1344 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1345
1346         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1347         (gst_base_sink_event), (gst_base_sink_change_state):
1348         Sinks that don't preroll can always be queried for the latency.
1349         Don't post ASYNC start when we are not async.
1350
1351 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1352
1353         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1354         (gst_queue_handle_sink_event), (gst_queue_chain),
1355         (gst_queue_push_one), (gst_queue_handle_src_query),
1356         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1357         * plugins/elements/gstqueue.h:
1358         When downstream returns UNEXPECTED from pushing a buffer, don't try to
1359         push more buffers but allow pushing of EOS and NEWSEGMENT.
1360         Add some more debug info here and there. Fixes #476514.
1361
1362 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1363
1364         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1365         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1366         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1367         (gst_base_sink_set_flushing), (gst_base_sink_query),
1368         (gst_base_sink_change_state):
1369         Latency query is allowed after we are prerolled. Introduce a new flag
1370         for this and stop abusing other variables.
1371
1372 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1373
1374         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1375         Push OOB events downstream when we get them in send_event. This allows
1376         the application to insert events in the pipeline.
1377         Add some more comments.
1378
1379 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1380
1381         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1382         (do_bin_latency), (gst_bin_change_state_func):
1383         * gst/gstpipeline.c: (gst_pipeline_change_state):
1384         Move latency query from GstPipeline to GstBin so that we can also
1385         use it when async-handling is enabled on bins.
1386
1387 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1388
1389         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1390         (gst_base_src_do_sync), (gst_base_src_change_state):
1391         Update docs.
1392         Clean up the timestamping and syncing code for pseudo live sources.
1393
1394 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
1395
1396         Patch by: Steve Fink  <sphink gmail com>
1397
1398         * docs/manual/appendix-checklist.xml:
1399           Mention less -R switch in the section about debug output (#474055).
1400
1401 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1402
1403         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1404         Queue can latency to the pipeline up to the configured max size in time.
1405         Report this fact in the latency query.
1406
1407 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1408
1409         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1410
1411         * libs/gst/controller/gstinterpolation.c:
1412         * libs/gst/controller/gstlfocontrolsource.c:
1413         Use gst_guint64_to_gdouble() when converting from a uint64 or
1414         GstClockTime to double to fix the build on win32. Fixes #474371.
1415
1416 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1417
1418         * gst/gstbuffer.c: (gst_buffer_finalize):
1419         Implement poisoning for GstBuffer if --enable-poisoning is specified.
1420         When finalizing a buffer the complete struct is filled with 0xff,
1421         thus making a use of the buffer after the final unref impossible.
1422
1423 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1424
1425         * tests/check/libs/controller.c: (GST_START_TEST):
1426         Use fail_unless_equals_int(a, b) instead of
1427         fail_unless_equals (a == b) to get better output on failures.
1428
1429 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1430
1431         * tests/check/gst/gsturi.c:
1432           Also check for the other file URI variant on win32.
1433
1434 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1435
1436         * gst/gsturi.c: (gst_uri_get_location):
1437           If there's no hostname, we want to return 'c:/foo/bar.txt'
1438           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1439
1440         * tests/check/gst/gsturi.c:
1441           Unit test for the above and a few more things.
1442
1443 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1444
1445         * docs/design/part-live-source.txt:
1446         Add docs on how live sources should timestamp.
1447
1448         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1449         Add some more debug info.
1450         For subclasses that are live and like to sync, add aditional startup
1451         latency to sync time and timestamps so that we timstamp according to the
1452         design doc.
1453
1454 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1455
1456         * gst/gstbuffer.c:
1457           Also do a g_type_class_ref() for the subbuffer type in
1458           the init function.
1459
1460 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1461
1462         * docs/gst/gstreamer-sections.txt:
1463         * gst/gstpad.c: (gst_pad_peer_query):
1464         * gst/gstpad.h:
1465         Add function to perform a query on the peer of a pad.
1466         API: gst_pad_peer_query()
1467
1468 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1469
1470         * tests/check/gst/gstsystemclock.c:
1471           Cleanup the test a little (use gst-logging and not g_message). Improve
1472           test to check if a wait reached the target.
1473
1474 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1475
1476         * docs/libs/gstreamer-libs-sections.txt:
1477           Add new API to docs and fix the build.
1478
1479 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
1480
1481         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1482         (gst_base_src_init), (gst_base_src_set_do_timestamp),
1483         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1484         (gst_base_src_get_property), (gst_base_src_do_sync):
1485         * libs/gst/base/gstbasesrc.h:
1486         Add property to make the basesrc timestamp buffers based on the current
1487         running time.
1488         API: GstBaseSrc::do-timestamp
1489         API: gst_base_src_set_do_timestamp()
1490         API: gst_base_src_get_do_timestamp()
1491
1492 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
1493
1494         * docs/random/release:
1495           Really make sure translations are up-to-date before
1496           a release (#465010).
1497
1498 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
1499
1500         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1501         Always destroy the timer, also in error cases.
1502
1503 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1504
1505         * docs/manual/highlevel-xml.xml:
1506         Fix XML example code. Fixes #472714.
1507
1508 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1509
1510         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1511         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1512         (gst_base_sink_query):
1513         Protect eos and have_preroll with the OBJECT lock so we don't need to
1514         take the PREROLL lock when querying the latency. Fixes #473846.
1515
1516 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
1517
1518         * gst/gstelement.c:
1519           Give some log-messages a category.
1520
1521 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
1522
1523         * gst/gststructure.c:
1524         (gst_structure_fixate_field_nearest_fraction):
1525         Fix fraction list fixation code. Take the fraction with the smallest
1526         difference with the target instead of the first one in the list.
1527
1528         * tests/check/gst/gststructure.c: (GST_START_TEST),
1529         (gst_structure_suite):
1530         Added test to verify correct fraction list fixation behaviour.
1531
1532 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
1533
1534         * win32/common/libgstreamer.def:
1535           Export gst_bus_add_signal_watch too.
1536
1537 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
1538
1539         * docs/libs/gstreamer-libs-sections.txt:
1540         Add new methods to docs.
1541
1542         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1543         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1544         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1545         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1546         * libs/gst/base/gstbasesink.h:
1547         Add ts-offset property to fine-tune the synchronisation.
1548         API: GstBaseSink::ts-offset property
1549         API: gst_base_sink_set_ts_offset()
1550         API: gst_base_sink_get_ts_offset()
1551
1552 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
1553
1554         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1555         (gst_base_sink_init), (gst_base_sink_set_sync),
1556         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1557         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1558         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1559         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1560         (gst_base_sink_get_property), (gst_base_sink_change_state):
1561         * libs/gst/base/gstbasesink.h:
1562         Add async property to instruct the sink never to inform the parent about
1563         ASYNC state changes, update docs.
1564         Check argument with g_return_* for the public functions.
1565         API: GstBaseSink::async property
1566         API: gst_base_sink_set_async_enabled()
1567         API: gst_base_sink_is_async_enabled()
1568
1569 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
1570
1571         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1572         Improve debugging.
1573
1574         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1575         (gst_base_src_default_query), (gst_base_src_wait),
1576         (gst_base_src_do_sync), (gst_base_src_change_state):
1577         Rearrange some code so that we can add support for measuring the 
1578         startup latency.
1579
1580 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
1581
1582         * docs/random/ensonic/dynlink.txt:
1583           More thoughs on this.
1584
1585         * plugins/elements/gstcapsfilter.c:
1586           Add bugzilla ticket number to FIXME comment.
1587
1588 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
1589
1590         * docs/design/part-TODO.txt:
1591         * docs/design/part-block.txt:
1592         Update some docs.
1593
1594 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1595
1596         * gst/Makefile.am:
1597           Revert patch which uses $(gst_headers) instead of $^ because it
1598           breaks make dist.
1599
1600 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1601
1602         * tests/check/gst/gstbin.c: (GST_START_TEST):
1603           Fix leaks in the new unit test.
1604
1605 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
1606
1607         * gst/gst.c:
1608           Don't use GST_INFO before the debug system is actually initialised
1609           (shouldn't do any harm, but won't print anything either, so we can
1610           just as well remove it).
1611
1612         * gst/gstinfo.h:
1613           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1614           compilers that don't support variadic macros (such as MSVC), should
1615           check for debug_level <= __gst_debug_min as well, since that's the
1616           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1617           inline helper functions. Should improve performance a bit, but also
1618           makes sure uses of GST_INFO et.al are ignored if the debugging
1619           system isn't initialised yet (instead of printing an assertion
1620           failure).
1621
1622 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
1623
1624         patch by: David Nečas <yeti@physics.muni.cz>
1625
1626         * gst/Makefile.am:
1627           Replace some non portable makefile constructs.
1628
1629 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
1630
1631         * common/gtk-doc-plugins.mak:
1632           Grrrrr. Don't remove the types file on make clean.
1633
1634 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
1635
1636         * tools/gst-launch.1.in:
1637         Add colorspace to example pipeline. Fixes #458274.
1638
1639 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
1640
1641         * docs/random/release:
1642           The release manager should run 'make download-po' before making a
1643           release to make sure translations are up-to-date.
1644
1645         * po/LINGUAS:
1646         * po/be.po:
1647         * po/pl.po:
1648         * po/rw.po:
1649           Add some new translations.
1650
1651 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
1652
1653         * tools/gst-launch.c: (event_loop), (main):
1654         Don´t try to do any state management when a live pipeline posts
1655         buffering messages.
1656         Also make the buffering string translatable.
1657
1658 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1659
1660         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1661         (bin_handle_async_start), (gst_bin_handle_message_func):
1662         Improve debugging.
1663         When adding elements, insert messages into the bus of the newly added
1664         element and make sure the element is the source of the message. This
1665         allows the parent bin to intercept the message and do the
1666         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1667         messages to the app (which is not allowed).
1668         Update some docs.
1669
1670         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1671         Fix testsuite so that is does not work around messages that should not
1672         have been posted in the first place.
1673
1674 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1675
1676         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1677         (update_degree), (gst_bin_sort_iterator_next):
1678         Fix annoying bug in the sorted iterator where a sink that is not really
1679         a sink (when it has downstream links) screwed up the iterator.
1680
1681         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1682         Unit test to verify the fix.
1683
1684 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1685
1686         * gst/gstmessage.h:
1687         Add some more docs for the messages.
1688
1689         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1690         (gst_base_sink_query):
1691         Add some more debugging.
1692
1693         * tools/gst-launch.c: (event_loop):
1694         When interrupting, don't try to set pipeline to PAUSED twice.
1695
1696 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1697
1698         
1699         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1700         (bin_handle_async_start), (gst_bin_handle_message_func):
1701         Move ASYNC_START message posting to where it belongs, similar to
1702         async_done. 
1703         Don't post ASYNC_START when we are in error. 
1704         Post ASYNC_START when we added an async element to a bin.
1705
1706 2007-08-14  Julien MOUTTE  <julien@moutte.net>
1707
1708         * gst/gstindex.c: (gst_index_add_association): Fix index entry
1709         generation from vargs. Fixes #466595.
1710
1711 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1712
1713         * gst/gstbin.c: (gst_bin_element_set_state):
1714         Always change the state of a NO_PREROLL element even if it has ASYNC
1715         elements inside (in case of a bin).
1716
1717         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1718         Unit test for this case.
1719
1720 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
1721
1722         * libs/gst/check/gstbufferstraw.c:
1723         * libs/gst/check/gstcheck.h:
1724         * libs/gst/controller/gstcontroller.c:
1725         * libs/gst/controller/gstcontrolsource.h:
1726         * libs/gst/controller/gstlfocontrolsource.h:
1727         * plugins/elements/gstcapsfilter.h:
1728         * plugins/elements/gstfdsink.h:
1729         * plugins/elements/gstfdsrc.h:
1730           Add more missing docs.
1731
1732 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1733
1734         * gst/gststructure.c:
1735         Add Since tag to docs.
1736
1737 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1738
1739         * docs/gst/gstreamer-sections.txt:
1740         * gst/gststructure.c: (gst_structure_get_uint):
1741         * gst/gststructure.h:
1742         Add function to get uint from a structure.
1743         API: gst_structure_get_uint()
1744
1745 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1746
1747         * gst/gstcaps.c: (gst_caps_set_simple_valist),
1748         (gst_caps_intersect):
1749         Fix proper check for simple caps.
1750
1751 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
1752
1753         * docs/gst/Makefile.am:
1754         * docs/libs/Makefile.am:
1755           Remove cruft and do some cleanups.
1756
1757         * docs/gst/gstreamer-docs.sgml:
1758         * docs/libs/gstreamer-libs-docs.sgml:
1759           Prepare for comming gtkdoc features (rebase against online docs).
1760
1761 2007-08-10  Michael Smith <msmith@fluendo.com>
1762
1763         * docs/gst/gstreamer-sections.txt:
1764           Add gst_registry_add_path to docs.
1765
1766 2007-08-10  Michael Smith <msmith@fluendo.com>
1767
1768         * gst/gstregistry.h:
1769           Add gst_registry_add_path, which was missing from this header.
1770
1771 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
1772
1773         * libs/gst/controller/gstlfocontrolsource.c:
1774           Printf format fix.
1775
1776 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1777
1778         * libs/gst/base/gstbasesink.c:
1779           Don't send an async_start message during downwards state change if 
1780           target state is less than READY
1781
1782 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1783
1784         translated by: Gabor Kelemen <kelemeng@gnome.hu>
1785
1786         * po/LINGUAS:
1787         * po/hu.po:
1788           Added Hungarian translation.
1789
1790 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1791
1792         * po/fi.po:
1793         * po/it.po:
1794         * po/nl.po:
1795         * po/sv.po:
1796         * po/uk.po:
1797           Updated translations.
1798
1799 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1800
1801         * libs/gst/controller/Makefile.am:
1802         Dist gstlfocontrolsourceprivate.h
1803
1804 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1805
1806         * docs/libs/gstreamer-libs.types:
1807         Don't register the enum type gst_lfo_waveform_get_type() in the
1808         .types file - only GObject derived types belong.
1809
1810 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1811
1812         Patch by: <arenevier at fdn dot fr>
1813
1814         * gst/gstbuffer.h:
1815         Remove comma from last element in enum to avoid compile errors when
1816         using -pendantic. Fixes #464366.
1817
1818 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1819
1820         * docs/design/part-TODO.txt:
1821         Add some more TODO items
1822
1823         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1824         Improve debugging.
1825
1826         * gst/gstcaps.c: (gst_caps_intersect):
1827         Optimize trivial intersection case between identical caps pointers.
1828
1829         * gst/gstelement.c: (gst_element_continue_state),
1830         (gst_element_set_state_func):
1831         * gst/gstpad.c:
1832         Fix spelling and grammar mistakes.
1833
1834 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
1835
1836         * po/POTFILES.in:
1837         * po/POTFILES.skip:
1838           Update POTFILES. Fixes #461599.
1839
1840 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1841
1842         * gst/gst.c:
1843         Fix confusing typo in debug output.
1844
1845 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1846
1847         reviewed by: Stefan Kost <ensonic@users.sf.net>
1848
1849         * libs/gst/controller/Makefile.am:
1850         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1851         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1852         (gst_lfo_control_source_new),
1853         (gst_lfo_control_source_set_waveform),
1854         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1855         (gst_lfo_control_source_finalize),
1856         (gst_lfo_control_source_dispose),
1857         (gst_lfo_control_source_set_property),
1858         (gst_lfo_control_source_get_property),
1859         (gst_lfo_control_source_class_init):
1860         * libs/gst/controller/gstlfocontrolsource.h:
1861         * libs/gst/controller/gstlfocontrolsourceprivate.h:
1862         API: Add GstLFOControlSource, a control source that gives values
1863         for specific timestamps based on several periodic waveforms.
1864         Fixes #459717.
1865
1866         * tests/check/libs/controller.c: (GST_START_TEST),
1867         (gst_controller_suite):
1868         * docs/libs/gstreamer-libs-docs.sgml:
1869         * docs/libs/gstreamer-libs-sections.txt:
1870         * docs/libs/gstreamer-libs.types:
1871         Add documentation and unit tests for GstLFOControlSource.
1872
1873 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
1874
1875         * configure.ac:
1876         Back to CVS
1877
1878 === release 0.10.14 ===
1879
1880 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
1881
1882         * configure.ac:
1883           releasing 0.10.14, "Breathing Vacuum"
1884
1885 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
1886
1887         * gst/gstelement.c: (gst_element_class_set_details_simple):
1888         * gst/gstelement.h:
1889           Make strings passed to gst_element_class_set_details_simple()
1890           constant, as they should be (#462752).
1891
1892 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
1893
1894         * gst/gstbin.c: (gst_bin_change_state_func),
1895         (bin_handle_async_done), (gst_bin_handle_message_func):
1896         Don't forget about the fact that some element went ASYNC even after a
1897         resync. This makes us post the ASYNC_DONE message correctly.
1898         Fixes #462558.
1899
1900 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1901
1902         * gst/gstregistry.c: (gst_registry_add_feature):
1903         When replacing an existing feature in the registry, make sure to
1904         continue holding a reference until we've replaced the name string
1905         within our feature hash table. Make sure to use g_hash_table_replace
1906         instead of g_hash_table_insert to ensure the new name string is used
1907         as a key instead of the old one that we're about to free.
1908         Fixes: #462085
1909
1910 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1911
1912         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1913         (gst_plugin_feature_set_name):
1914         Revert patch from #459466 until after the release and we can work
1915         out exactly what the problem is (if any).
1916
1917 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1918
1919         * docs/gst/gstreamer-sections.txt:
1920         * gst/gsttaglist.c:
1921         * gst/gsttaglist.h:
1922           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1923
1924 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1925
1926         * docs/libs/Makefile.am:
1927         Include our build-prefix libs and includes before the generic ones to
1928         avoid linking against the installed libs when we want the build-tree
1929         ones.
1930
1931 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1932
1933         Patch by: Steve Fink  <sphink gmail com>
1934
1935         * docs/pwg/building-testapp.xml:
1936           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1937           if people try to build or install the example from the plugin
1938           template against a GStreamer from package using the configure
1939           defaults.
1940
1941 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1942
1943         Patch by: Steve Fink  <sphink gmail com>
1944
1945         * tools/gst-inspect.1.in:
1946           Document --print-all and --print-plugin-auto-install-info command
1947           line options in man page.
1948
1949 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1950
1951         * docs/gst/gstreamer-sections.txt:
1952         Add docs for new api function.
1953
1954 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1955
1956         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1957         * gst/gstelementfactory.h:
1958         API: gst_element_factory_has_interface()
1959         Added method to check if an element factory implements a named
1960         interface.
1961
1962 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
1963
1964         * configure.ac:
1965         * docs/gst/gstreamer.types.in:
1966           Another conditional doc check.
1967
1968         * gst/gstmessage.c:
1969         * gst/gstparamspecs.h:
1970         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1971         * gst/gstvalue.c:
1972         * gst/gstxml.h:
1973           API-doc fixes.
1974
1975 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1976
1977         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1978         (gst_registry_binary_load_feature),
1979         (gst_registry_binary_load_plugin),
1980         (gst_registry_binary_read_cache):
1981           Print error just once and with additional info.
1982
1983 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1984
1985         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1986         (helper_find_suggest), (helper_find_get_length),
1987         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1988         (gst_type_find_helper_for_buffer):
1989           Cleanup the typefindhelper code and add private doc comments.
1990
1991 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
1992
1993         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1994         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1995         Fix capsfilter for cases where the caps set on capsfilter will provide
1996         additional information.
1997         Fixes #449197
1998
1999 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2000
2001         * gst/gsttypefindfactory.c:
2002           Fix docs that recommened wrong function to use.
2003
2004 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2005
2006         * tools/gst-inspect.c: (print_plugin_features):
2007           Also give media-type for typefinders in element output.
2008
2009 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2010
2011         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
2012         (gst_registry_remove_features_for_plugin_unlocked),
2013         (gst_registry_add_feature), (gst_registry_remove_feature),
2014         (gst_registry_lookup_feature_locked):
2015         * gst/gstregistry.h:
2016           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
2017           Fixes #459501.
2018
2019 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2020
2021         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2022         (gst_plugin_feature_set_name):
2023           Avoid double memory usage for pluginfeature names. Fixes #459466.
2024
2025 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
2026
2027         * gst/gstpad.h:
2028           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
2029           driving the pipeline may need to explicitly check for NOT_LINKED as
2030           well, since IS_FATAL doesn't cover that.
2031
2032 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
2033
2034         * docs/pwg/advanced-types.xml:
2035           Fix typo and duplicate entry in video formats list.
2036
2037 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
2038
2039         * libs/gst/controller/gstinterpolation.c:
2040         Also round to the nearest int when using cubic interpolation.
2041
2042 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
2043
2044         * libs/gst/controller/gstinterpolation.c:
2045         When linearly interpolating integer types, round to the nearest int
2046         by adding 0.5. Don't do it for float/double types.
2047         Fixes the failing controller test on my machine, which is somehow
2048         rounding differently than on the buildbots.
2049
2050 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2051
2052         * tools/gst-plot-timeline.py:
2053           Better log parsing (categories can have -). Adjust text vs. lines, so
2054           that they span the same y-range.        
2055
2056 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2057
2058         * docs/random/ensonic/audiobaseclasses.txt:
2059         * docs/random/ensonic/dynlink.txt:
2060         * docs/random/ensonic/profiling.txt:
2061           Save my thoughts.
2062
2063         * docs/random/moving-plugins:
2064           Add note to use g_assert type macros.
2065
2066 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2067
2068         * configure.ac:
2069         * libs/gst/check/Makefile.am:
2070           Add libm check as we use in for plugins.
2071
2072 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
2073
2074         * gst/gstbin.c: (gst_bin_continue_func):
2075         Check that the state_cookie hasn't changed since the continue_func
2076         was scheduled. Avoids problems where the state changes back to
2077         something it shouldn't be because it was changed in the meantime.
2078
2079 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
2080
2081         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2082         (gst_registry_binary_save_string),
2083         (gst_registry_binary_save_pad_template),
2084         (gst_registry_binary_save_feature),
2085         (gst_registry_binary_save_plugin),
2086         (gst_registry_binary_load_feature),
2087         (gst_registry_binary_load_plugin),
2088         (gst_registry_binary_read_cache):
2089           Fix memory leak. Be less verbose in the log.
2090
2091 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2092
2093         * tests/check/elements/.cvsignore:
2094         Add file to cvsignore as commanded.
2095
2096 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2097
2098         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2099         (mq_dummypad_event), (run_output_order_test):
2100         Use a GStaticMutex to protect all cases where libcheck
2101         fail_if/fail_unless macros might be called from multiple threads
2102         simultaneously to avoid errors like:
2103           "check_pack.c:107: :-1081725400:Bad message type arg"
2104
2105 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2106
2107         * tests/check/pipelines/stress.c: (GST_START_TEST):
2108         Make sure we set the pipeline back to the NULL state before
2109         dropping our final reference.
2110
2111 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2112
2113         * tests/check/elements/tee.c: (GST_START_TEST):
2114         Make the tee stress-test a little less stressful so it doesn't just
2115         time out on slow-machines, and remove a small race when it's starting 
2116         up by adding a get_state() call.
2117
2118 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
2119
2120         * gst/gst.c:
2121           Avoid reading registry twice on startup. Fixes #457322.
2122
2123 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2124
2125         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2126         * pkgconfig/gstreamer-check.pc.in:
2127         Substitute the CFLAGS for libcheck into our .pc file too so that
2128         dependent modules will pick it up properly if libcheck is installed
2129         into some other prefix.
2130
2131 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2132
2133         * configure.ac:
2134         Revert the pkg-config check for libcheck, since it pulls in the
2135         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2136         a proper solution, either from the check project, or something else.
2137
2138 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
2139
2140         * configure.ac:
2141           Use pkg-config to locate check.
2142
2143 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
2144
2145         * gst/gsttaglist.c:
2146           Fix doc syntax.
2147
2148         * gst/gstutils.c:
2149         * gst/gstutils.h:
2150           Add deprecation guards.
2151
2152         * libs/gst/base/gstcollectpads.h:
2153           Don't document object (this is implicitly private).
2154
2155 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
2156
2157         * gst/gststructure.c: (gst_structure_parse_value):
2158           When deserialising foo=bar without a type cast, check if it's a
2159           boolean before falling back to a string type, otherwise things like
2160           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2161           because the filtercaps end up having a signed=(string)true field,
2162           which causes problems later when intersection caps.
2163
2164         * tests/check/gst/gststructure.c: (GST_START_TEST):
2165           Add a unit test for this.
2166
2167 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
2168
2169         Reviewed by: Stefan Kost <ensonic@users.sf.net>
2170
2171         * libs/gst/controller/Makefile.am:
2172         * libs/gst/controller/gstcontroller.c:
2173         (gst_controlled_property_add_interpolation_control_source),
2174         (gst_controlled_property_new), (gst_controlled_property_free),
2175         (gst_controller_find_controlled_property),
2176         (gst_controller_new_valist), (gst_controller_new_list),
2177         (gst_controller_new), (gst_controller_remove_properties_valist),
2178         (gst_controller_remove_properties_list),
2179         (gst_controller_remove_properties),
2180         (gst_controller_set_property_disabled),
2181         (gst_controller_set_disabled), (gst_controller_set_control_source),
2182         (gst_controller_get_control_source), (gst_controller_get),
2183         (gst_controller_sync_values), (gst_controller_get_value_array),
2184         (_gst_controller_dispose), (gst_controller_get_type),
2185         (gst_controlled_property_set_interpolation_mode),
2186         (gst_controller_set), (gst_controller_set_from_list),
2187         (gst_controller_unset), (gst_controller_unset_all),
2188         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2189         * libs/gst/controller/gstcontroller.h:
2190         * libs/gst/controller/gstcontrollerprivate.h:
2191         * libs/gst/controller/gstcontrolsource.c:
2192         (gst_control_source_class_init), (gst_control_source_init),
2193         (gst_control_source_get_value),
2194         (gst_control_source_get_value_array), (gst_control_source_bind):
2195         * libs/gst/controller/gstcontrolsource.h:
2196         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2197         (gst_object_get_control_source):
2198         * libs/gst/controller/gstinterpolation.c:
2199         (gst_interpolation_control_source_find_control_point_node),
2200         (gst_interpolation_control_source_get_first_value),
2201         (_interpolate_none_get), (interpolate_none_get),
2202         (interpolate_none_get_boolean_value_array),
2203         (interpolate_none_get_enum_value_array),
2204         (interpolate_none_get_string_value_array),
2205         (_interpolate_trigger_get), (interpolate_trigger_get),
2206         (interpolate_trigger_get_boolean_value_array),
2207         (interpolate_trigger_get_enum_value_array),
2208         (interpolate_trigger_get_string_value_array):
2209         * libs/gst/controller/gstinterpolationcontrolsource.c:
2210         (gst_control_point_free), (gst_interpolation_control_source_reset),
2211         (gst_interpolation_control_source_new),
2212         (gst_interpolation_control_source_set_interpolation_mode),
2213         (gst_interpolation_control_source_bind),
2214         (gst_control_point_compare), (gst_control_point_find),
2215         (gst_interpolation_control_source_set_internal),
2216         (gst_interpolation_control_source_set),
2217         (gst_interpolation_control_source_set_from_list),
2218         (gst_interpolation_control_source_unset),
2219         (gst_interpolation_control_source_unset_all),
2220         (gst_interpolation_control_source_get_all),
2221         (gst_interpolation_control_source_get_count),
2222         (gst_interpolation_control_source_init),
2223         (gst_interpolation_control_source_finalize),
2224         (gst_interpolation_control_source_dispose),
2225         (gst_interpolation_control_source_class_init):
2226         * libs/gst/controller/gstinterpolationcontrolsource.h:
2227         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2228         API: Refactor GstController into the core controller which can take
2229         a GstControlSource for providing actual values for timestamps.
2230         Implement a interpolation control source and use this for backward
2231         compatibility, deprecate a bunch of functions that are now handled
2232         by GstControlSource or GstInterpolationControlSource.
2233         Make it possible to disable the controller completely or only for
2234         specific properties. Fixes #450711.
2235         * docs/libs/gstreamer-libs-docs.sgml:
2236         * docs/libs/gstreamer-libs-sections.txt:
2237         * docs/libs/gstreamer-libs.types:
2238         Add new functions and classes to the docs.
2239         * tests/check/libs/controller.c: (GST_START_TEST),
2240         (gst_controller_suite):
2241         * tests/examples/controller/audio-example.c: (main):
2242         Port unit test and example to the new API and add some new
2243         unit tests.
2244
2245 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
2246
2247         Patch by: Mark Nauwelaerts <manauw at skynet be>
2248
2249         * plugins/elements/gstmultiqueue.c:
2250         (gst_multi_queue_get_internal_links), (apply_buffer),
2251         (single_queue_overrun_cb), (gst_single_queue_new):
2252         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2253         the pipeline layout can be tracked correctly. Fixes #453732.
2254
2255 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
2256
2257         * docs/gst/Makefile.am:
2258         * docs/libs/Makefile.am:
2259         * docs/plugins/Makefile.am:
2260           Simplify --extra-dir as gtkdoc scans recursively.
2261
2262 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2263
2264         * tools/gst-launch.c: (main):
2265         When we got an error, there is no point in waiting for preroll when
2266         shutting down.
2267
2268 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2269
2270         * plugins/elements/gsttee.c: (gst_tee_base_init),
2271         (gst_tee_request_new_pad), (gst_tee_release_pad),
2272         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2273         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2274         (gst_tee_chain):
2275         Be a lot smarter when deciding what srcpad to use for proxying
2276         the buffer_alloc. Also handle pad added/removed when doing so.
2277         Fixes #357959.
2278         Keep track of what pads we already pushed on in case we have pads
2279         added/removed while pushing. Fixes #374639 
2280
2281         * tests/check/Makefile.am:
2282         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2283         (tee_suite):
2284         Added unit test for pad resync.
2285
2286 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2287
2288         * po/nl.po:
2289         * po/sv.po:
2290           Updated translations.
2291
2292 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2293
2294         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2295
2296         * po/LINGUAS:
2297         * po/fi.po:
2298           Added new Finnish translation.
2299
2300 2007-06-28  Wim Taymans  <wim@fluendo.com>
2301
2302         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2303         (single_queue_overrun_cb):
2304         When figuring out when a queue is filled, use our internal time estimate
2305         based on segments, just like check_full does.
2306
2307 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2308
2309         * gst/gstminiobject.c: (gst_mini_object_get_type):
2310           Remove 3 do-nothing methods.
2311
2312 2007-06-27  Wim Taymans  <wim@fluendo.com>
2313
2314         Patch by: Tim Angus <tim at ngus dot net>
2315
2316         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2317         (gst_capsfilter_set_property):
2318         Take a reference instead of a copy when setting "caps".
2319         Fix documentation to clarify this behaviour. Fixes #449414.
2320
2321 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2322
2323         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2324         * gst/gstplugin.c: (gst_plugin_init):
2325         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2326         * gst/gstquery.c: (gst_query_get_type):
2327         * gst/gstregistry.c: (gst_registry_init):
2328         * gst/gsturi.c: (gst_uri_handler_base_init):
2329           Remove empty instance_init() functions to save relocs and lessen the
2330           noise. Remove some of the function prototypes that are doubled by
2331           G_DEFINE_TYPE.
2332           
2333 2007-06-27  Wim Taymans  <wim@fluendo.com>
2334
2335         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2336
2337         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2338         Add peer and direction in the XML serialisation of ghostpads.
2339         Fixes #449226.
2340
2341 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2342
2343         * configure.ac:
2344           Preserve useful information, thanks Tim.
2345
2346 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
2347
2348         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2349         (gst_single_queue_flush), (apply_segment), (apply_buffer),
2350         (gst_single_queue_push_one), (gst_multi_queue_loop),
2351         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2352         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2353         (compute_high_id), (gst_single_queue_new):
2354         * plugins/elements/gstmultiqueue.h:
2355         Take the multiqueue lock when updating the fill level so we don't get
2356         confused. 
2357
2358         After applying a buffer or event on the src pad segment, make sure to
2359         call gst_data_queue_limits_changed() to get the data queue to unblock
2360         and check the filled state again.
2361         
2362         Rework the not-linked pad handling so the logic is that not-linked 
2363         pads can push as fast as they like, but only so they never get 
2364         ahead of any linked pads.
2365
2366         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2367         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2368         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2369
2370         Add a test to check that not-linked pads always stay behind
2371         linked pads.
2372
2373         Fixes: #430682
2374
2375 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
2376
2377         * docs/random/release:
2378           Some updates to the release procedure.
2379
2380 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2381
2382         * gst/gstelementfactory.c: (__gst_element_details_clear):
2383           Microoptimization that saves stunning 80 bytes.
2384
2385 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
2386
2387         * docs/plugins/gstreamer-plugins.args:
2388         * docs/plugins/inspect/plugin-coreelements.xml:
2389         * docs/plugins/inspect/plugin-coreindexers.xml:
2390           Update docs with caps info.
2391
2392 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2393
2394         * po/it.po:
2395           Updated Italian translation.
2396
2397 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2398
2399         * ChangeLog:
2400         * po/vi.po:
2401           Update Vietnamese translations.
2402
2403 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2404
2405         * libs/gst/base/gstbasesink.c:
2406           Remove unused signal enum.
2407
2408 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2409
2410         * docs/gst/gstreamer-sections.txt:
2411         * gst/gstelement.c:
2412         * gst/gstutils.c: (gst_type_register_static_full):
2413         Beef up and include the docs for gst_type_register_static_full and
2414         gst_element_class_set_details_simple and add the API keyword
2415         in the ChangeLog.
2416
2417 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2418
2419         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2420         (update_time_level), (gst_single_queue_push_one),
2421         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2422         (single_queue_overrun_cb), (single_queue_underrun_cb),
2423         (single_queue_check_full):
2424         Fix setting max-* properties after adding queues.
2425         Use IS_FILLED for checking visible items.
2426         Signal overrun if multiple queues overrun.
2427         Add extra debug output.
2428         Patch by: Wim Taymans <wim@fluendo.com>
2429
2430 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
2431
2432         * gst/gstelement.c: (gst_element_class_set_details_simple):
2433         * gst/gstelement.h:
2434         * gst/gstutils.c: (gst_type_register_static_full):
2435         * gst/gstutils.h:
2436         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2437         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2438         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2439         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2440         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2441         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2442         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2443         * plugins/elements/gstidentity.c: (gst_identity_base_init):
2444         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2445         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2446         (apply_buffer), (gst_queue_chain):
2447         * plugins/elements/gsttee.c: (gst_tee_base_init):
2448         * plugins/elements/gsttypefindelement.c:
2449         (gst_type_find_element_base_init),
2450         (gst_type_find_element_class_init):
2451           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2452           API: add gst_type_register_static_full
2453           API: add gst_element_class_set_details_simple
2454
2455 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2456
2457         * docs/pwg/advanced-types.xml:
2458           Fix typo in iana.org URI.
2459
2460 2007-06-19  Andy Wingo  <wingo@pobox.com>
2461
2462         * tests/check/pipelines/simple-launch-lines.c
2463         (test_state_change_returns): Enable pull-mode tests now that
2464         basesink has been fixed.
2465
2466         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2467         Changed from gst_base_sink_is_prerolled, reversing the sense of
2468         the return value. Returns FALSE also if the sink is in pull mode,
2469         in which case it needs no preroll.
2470         (gst_base_sink_query, gst_base_sink_change_state): Update for
2471         needs_preroll change.
2472         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2473         chaining up, in which we return SUCCESS directly if we activated
2474         in pull mode instead of ASYNC. Involves countering an async_start
2475         message sent before chaining up; not sure if this is correct, in
2476         an ideal world we only send async-start when activating in push
2477         mode.
2478
2479         * tests/check/pipelines/simple-launch-lines.c
2480         (test_state_change_returns): New test, partially disabled until
2481         basesink is fixed.
2482
2483 2007-06-19  Wim Taymans  <wim@fluendo.com>
2484
2485         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2486         (gst_multi_queue_sink_event):
2487         Fix event leak.
2488
2489 2007-06-19  Wim Taymans  <wim@fluendo.com>
2490
2491         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2492         (gst_bin_change_state_func), (bin_push_state_continue),
2493         (bin_handle_async_start), (bin_handle_async_done),
2494         (gst_bin_handle_message_func):
2495         Move the common code for posting state-change messages into
2496         one function.
2497         Broadcast the state signal after we posted the messages.
2498         Mark the bin as busy when it's doing a state-change.
2499         Make sure async-start/done messages don't interfere with the bin's
2500         state when it's busy.
2501         After the state change, let the bin check which elements completed the
2502         state change while it was busy so that it can update its state.
2503
2504 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
2505
2506         * docs/random/release:
2507         Add a note about updating the doap file to the release checklist
2508
2509 2007-06-18  Wim Taymans  <wim@fluendo.com>
2510
2511         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2512         (gst_single_queue_push_one), (gst_multi_queue_chain),
2513         (gst_multi_queue_sink_event):
2514         Make sure we don't reference the buffer/event after we have given away
2515         ownership in the queue.
2516
2517 2007-06-18  Wim Taymans  <wim@fluendo.com>
2518
2519         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2520         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2521         Update queue state _after_ adding the item in the queue because else we
2522         could end up being full without the element added yet.
2523
2524 2007-06-18  Wim Taymans  <wim@fluendo.com>
2525
2526         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2527         (gst_bin_remove_func), (gst_bin_get_state_func),
2528         (gst_bin_element_set_state), (gst_bin_continue_func),
2529         (bin_push_state_continue), (bin_handle_async_start),
2530         (bin_handle_async_done), (gst_bin_handle_message_func):
2531         * gst/gstbin.h:
2532         Immediatly commit the toplevel bin state when receiving an async-done
2533         message. This enables us to avoid spawning a thread to commit the state
2534         in some common cases and it also avoids some races.
2535         Avoid spawning a state thread when adding/removing async elements to a
2536         toplevel bin. Instead we immediatly update the bin state.
2537         Get rid of iterating all the children when getting the state in the bin
2538         because it is now always up-to-date.
2539         Fix bug where locked elements would always return _SUCCESS even it they
2540         returned NO_PREROLL before being locked.
2541         Fix the order of the state_change, async-start/done messages that was
2542         sometimes incorrect.
2543         Mark the state_dirty field as deprecated, we don't need it anymore as we
2544         are always up-to-date.
2545
2546         * gst/gstelement.c: (gst_element_get_state_func),
2547         (gst_element_continue_state):
2548         Small debug inprovements.
2549         Return the previous element state return when nothing is pending instead
2550         of blindly returning SUCCESS.
2551
2552         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2553         (gst_sinks_suite):
2554         Add a whole bunch of new testcases.
2555
2556 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2557
2558         * po/uk.po:
2559         * po/vi.po:
2560           Update translations.
2561
2562 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
2563
2564         * gst/gstpad.c:
2565         Fix typo in the docs.
2566
2567 2007-06-15  Wim Taymans  <wim@fluendo.com>
2568
2569         * docs/libs/gstreamer-libs-sections.txt:
2570         Add docs for new methods.
2571
2572 2007-06-15  Wim Taymans  <wim@fluendo.com>
2573
2574         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2575         (gst_multi_queue_item_new):
2576         Don't use GSlice because we don't depend on >= 2.10 yet.
2577
2578 2007-06-15  Wim Taymans  <wim@fluendo.com>
2579
2580         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2581         (update_time_level), (apply_segment), (apply_buffer),
2582         (gst_single_queue_push_one), (gst_multi_queue_item_new),
2583         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2584         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2585         (single_queue_underrun_cb), (single_queue_check_full):
2586         Remove debug printf.
2587
2588 2007-06-15  Wim Taymans  <wim@fluendo.com>
2589
2590         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2591         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2592         (gst_data_queue_set_flushing), (gst_data_queue_push),
2593         (gst_data_queue_pop), (gst_data_queue_drop_head),
2594         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2595         * libs/gst/base/gstdataqueue.h:
2596         Various cleanups.
2597         Added methods to get the current levels and to inform the queue that the
2598         'full' limits changed.
2599
2600         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2601         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2602         (gst_single_queue_flush), (update_time_level), (apply_segment),
2603         (apply_buffer), (gst_single_queue_push_one),
2604         (gst_multi_queue_item_steal_object),
2605         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2606         (gst_multi_queue_loop), (gst_multi_queue_chain),
2607         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2608         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2609         (gst_multi_queue_src_query), (single_queue_overrun_cb),
2610         (single_queue_underrun_cb), (single_queue_check_full),
2611         (gst_single_queue_new):
2612         Keep track of time in the queue by measuring the difference between
2613         running_time on input and output. This gives more accurate results and
2614         can compensate for segments correctly.
2615         Make a queue by default only 5 buffers deep. We will now increase the
2616         buffer size depending on the filledness of the other queues.
2617         Factor out commong flush code.
2618         Make sure we don't add additional refcounts to buffers when we can avoid
2619         it.
2620         Propagate GstFlowReturn differently.
2621         Use GSlice for intermediate GstMultiQueueItems.
2622         Keep track of EOS.
2623         Resize queues on over and underruns based on filled level of other
2624         queues.
2625         When checking if the queue is filled, prefer to measure in time if we
2626         can and fall back to bytes when no time is known.
2627
2628         * plugins/elements/gstqueue.c:
2629         Fix return value.
2630
2631 2007-06-15  Wim Taymans  <wim@fluendo.com>
2632
2633         * libs/gst/base/gstbasetransform.c:
2634         (gst_base_transform_sink_event):
2635         Work around the brokenness of the event vmethod in basetransform. Prefer
2636         to return TRUE when the subclass returned FALSE (meaning don't forward
2637         the event). 
2638
2639         * libs/gst/base/gstbasetransform.h:
2640         Clarify the docs.
2641
2642 2007-06-15  Wim Taymans  <wim@fluendo.com>
2643
2644         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2645         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2646         (gst_base_src_default_query), (gst_base_src_get_range),
2647         (gst_base_src_start):
2648         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2649         Improve debugging.
2650
2651 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2652
2653         * docs/pwg/advanced-types.xml:
2654           Added more formats to caps table.
2655
2656 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2657
2658         * tools/gst-launch.c: (main):
2659           Remove crufy code. GOption does not need this workaround.
2660
2661 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2662
2663         * libs/gst/controller/gstcontroller.c:
2664         (gst_controlled_property_set_interpolation_mode):
2665           Fix wrong getter for enums in controller.
2666
2667 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2668
2669         * libs/gst/check/gstcheck.c: (gst_check_init):
2670           Intercept criticals and warnings in the Gst-Phonon log domain, so
2671           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2672           well.
2673         
2674 2007-06-14  Edward Hervey  <edward@fluendo.com>
2675
2676         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2677         Since this file doesn't include "gst.h" it will not go through the
2678         macros that disable GST_LOG if debugging was disabled.
2679
2680 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2681
2682         * libs/gst/check/Makefile.am:
2683         * libs/gst/check/gstcheck.h:
2684         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2685         * pkgconfig/gstreamer-check.pc.in:
2686           Ugly 'fix' for the controller unit test on the p5 bot: in
2687           fail_unless_equals_float() check whether the values are 'almost
2688           equal' by allowing a small absolute error, which should be good
2689           enough for our use cases (normal numbers and values close to 0).
2690           Proper fixage left to floating point arithmetic aficionados.
2691
2692 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2693
2694         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2695         (gst_base_sink_render_object), (gst_base_sink_get_position):
2696           Add two breaks thats where missing.
2697
2698 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2699
2700         * docs/libs/gstreamer-libs-sections.txt:
2701         * libs/gst/check/gstcheck.h:
2702           API: add fail_unless_equals_float() and assert_equals_float().
2703           Add documentation for some of the macros.
2704
2705         * tests/check/libs/controller.c: (GST_START_TEST):
2706           Use newly-added asserts.
2707
2708 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2709
2710         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2711           Show the caps change in the log to help spotting the case of not
2712           exactly matching caps.
2713
2714 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2715
2716         * docs/pwg/building-boiler.xml:
2717           Fix typos, spotted by Thijs Vermeir (#447190).
2718
2719 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2720
2721         * docs/plugins/tmpl/.cvsignore:
2722         Ignore file to keep the buildbots happy
2723
2724 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2725
2726         * docs/plugins/Makefile.am:
2727         * docs/plugins/gstreamer-plugins-docs.sgml:
2728         * docs/plugins/gstreamer-plugins-sections.txt:
2729         Pull fdsink into the docs too.
2730
2731 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
2732
2733         * libs/gst/controller/gstinterpolation.c:
2734         Actually use the new functions with min/max checks for the trigger and
2735         none interpolation modes for get() and get_value_array() instead of
2736         just the latter.
2737
2738 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
2739
2740         * libs/gst/controller/gstcontroller.c:
2741         (gst_controlled_property_free):
2742         Unset the minimum and maximum GValues when freeing the corresponding
2743         GstControllerProperty struct.
2744
2745 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
2746
2747         * libs/gst/controller/gstcontroller.c:
2748         (gst_controlled_property_new):
2749         * libs/gst/controller/gstcontrollerprivate.h:
2750         * libs/gst/controller/gstinterpolation.c:
2751         (gst_controlled_property_find_control_point_node),
2752         (interpolate_none_get), (interpolate_none_get_enum_value_array),
2753         (interpolate_none_get_string_value_array),
2754         (interpolate_trigger_get),
2755         (interpolate_trigger_get_enum_value_array),
2756         (interpolate_trigger_get_string_value_array):
2757         Protect against values larger or smaller than the minimum or maximum
2758         allowed value for the property when using values that can be compared.
2759
2760         Optimize trigger interpolator a bit by taking the last requested value
2761         into account instead of always looping through the complete list.
2762
2763         Fix coding style a bit, everywhere else we use "return foo" instead
2764         of "return (foo)".
2765         
2766         * tests/check/libs/controller.c: (GST_START_TEST),
2767         (gst_controller_suite):
2768         Add unit test for the protection against too large or too small
2769         values.
2770
2771 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
2772
2773         * docs/random/slomo/controller.txt:
2774         Add some thoughts about the future of the controller.
2775
2776 2007-06-08  Wim Taymans  <wim@fluendo.com>
2777
2778         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2779         Don't overflow in retimestamping code.
2780
2781 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
2782
2783         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2784         Use gst_util_guint64_to_gdouble for conversions.
2785         * win32/common/libgstreamer.def:
2786         Add new exported functions.
2787
2788 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
2789
2790         * gst/gstutils.c:
2791           Small docs addition.
2792
2793 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2794
2795         * README:
2796           Remove that test line again.
2797
2798 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2799
2800         * README:
2801           Test commit mail sending.
2802
2803 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2804
2805         * configure.ac:
2806           Fix typo and test commit mail sending.
2807
2808 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2809
2810         * tests/examples/controller/audio-example.c:
2811           Improve comment and test commit mail sending.
2812
2813 2007-06-07  Wim Taymans  <wim@fluendo.com>
2814
2815         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2816         (gst_bin_remove_func), (gst_bin_element_set_state),
2817         (bin_handle_async_start), (bin_handle_async_done),
2818         (gst_bin_handle_message_func):
2819         Add helper function to find messages.
2820         Generate the async-done messages together with the state change
2821         messages.
2822         Small cleanups in handling toplevel bins.
2823
2824 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2825
2826         * libs/gst/base/gstdataqueue.c:
2827         * libs/gst/base/gstdataqueue.h:
2828         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2829         (gst_multi_queue_item_new), (gst_multi_queue_chain),
2830         (gst_multi_queue_sink_event):
2831         * tests/check/elements/multiqueue.c: (multiqueue_suite):
2832           Fix multiqueue leaking buffers and events when downstream or the
2833           queue are flushing. Make refcounting assumptions explicit and
2834           document them (shouldn't break existing code that uses it other than
2835           maybe leak miniobjects, but that already happens anyway). Add unit
2836           test for the most common flushing case. Fixes #423700.
2837           
2838 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2839
2840         * libs/gst/controller/gstcontroller.c:
2841         Clarify docs: The get_all, get_value_array(s) functions
2842         don't modify the GObject properties.
2843
2844 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2845
2846         * libs/gst/controller/gstcontroller.c:
2847         (gst_controlled_property_set_interpolation_mode),
2848         (gst_controlled_property_prepend_default),
2849         (gst_controlled_property_new), (gst_controller_set_unlocked),
2850         (gst_controller_set), (gst_controller_set_from_list),
2851         (gst_controller_unset), (gst_controller_unset_all):
2852         * libs/gst/controller/gstcontrollerprivate.h:
2853         * libs/gst/controller/gstinterpolation.c:
2854         Factor out the 'set' logic into gst_controller_set_unlocked for the
2855         gst_controller_set and gst_controller_set_from_list functions.
2856
2857         To make life of the interpolators easier always add a control point
2858         at timestamp zero with the default value.
2859
2860         In the linear interpolator make things more obvious by better variable
2861         naming (slope).
2862
2863         Implement cubic interpolation mode (by using a natural cubic spline)
2864         and map the quadratic interpolation mode to this too (as quadratic
2865         doesn't make much sense, see discussion on the list).
2866
2867         * tests/check/libs/controller.c: (GST_START_TEST),
2868         (gst_controller_suite):
2869         Add unit test for the cubic interpolation mode and check everywhere
2870         if the interpolation mode could be set as expected.
2871
2872 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2873
2874         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2875           Don't use GLib-2.10 functions, we still depend on
2876           GLib-how-old-is-it-again-2.8.
2877
2878 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2879
2880         * docs/gst/gstreamer-sections.txt:
2881         * gst/Makefile.am:
2882         * gst/gst.c:
2883         * gst/gst.h:
2884         * gst/gstparamspecs.c: (_gst_param_fraction_init),
2885         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2886         (_gst_param_fraction_values_cmp),
2887         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2888         * gst/gstparamspecs.h:
2889         * gst/gstvalue.c:
2890         * tests/check/Makefile.am:
2891         * tests/check/gst/.cvsignore:
2892         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2893         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2894         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2895         (GST_START_TEST), (gst_param_spec_suite):
2896           API: add GstParamSpecFraction, so elements can have fraction
2897           properties without lots of painful string parsing (#444648).
2898
2899 2007-06-05  Wim Taymans  <wim@fluendo.com>
2900
2901         * gst/gstobject.c: (gst_object_class_init):
2902         Fix signal signature.
2903
2904         * gst/gstsegment.c:
2905         Add small clarification in the api docs.
2906
2907         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2908         States are protected with object lock.
2909
2910 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2911
2912         * AUTHORS:
2913         I should probably be listed as an author by now.
2914
2915         * docs/random/release:
2916         Update the release doc
2917
2918 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
2919
2920         * gst/gstvalue.c:
2921           Make docs for gst_value_compare() mention return enums that
2922           actually exist.
2923
2924 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2925
2926         * configure.ac:
2927           Back to CVS
2928
2929 === release 0.10.13 ===
2930
2931 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
2932
2933         * configure.ac:
2934           releasing 0.10.13, "With or without you"
2935
2936 2007-05-25  Wim Taymans  <wim@fluendo.com>
2937
2938         * gst/gstbin.c: (bin_handle_async_done):
2939         Make sure that the child bin stops after completing the async state
2940         change so that the parent can continue the state change to PLAYING.
2941         Fixes #441159.
2942
2943 2007-05-25  Wim Taymans  <wim@fluendo.com>
2944
2945         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2946         (unref_data), (gst_collect_pads_remove_pad),
2947         (gst_collect_pads_check_pads):
2948         Use additional refcounting to avoid crashes when dynamically adding and
2949         removing pads. Fixes #420206.
2950
2951 2007-05-24  Wim Taymans  <wim@fluendo.com>
2952
2953         * tools/gst-launch.c: (event_loop):
2954         When buffering goes from a two digit to a single digit number, make sure
2955         to remove the old second digit by writing a blank over it.
2956
2957 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2958
2959         * libs/gst/base/gstdataqueue.c:
2960           Eliminate tabs and trailing comma in enum list; fix some typos.
2961
2962 2007-05-24  Wim Taymans  <wim@fluendo.com>
2963
2964         * tests/check/gst/gstbin.c: (GST_START_TEST):
2965         Allow refcount of 3 and 4 because some state thread might still be busy
2966         with it.
2967
2968 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2969
2970         * plugins/elements/Makefile.am:
2971         * plugins/elements/gstmultiqueue.h:
2972         * plugins/elements/gstqueue.h:
2973           These are not installed headers, no need for padding.
2974
2975 2007-05-24  Wim Taymans  <wim@fluendo.com>
2976
2977         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2978         (gst_bin_continue_func):
2979         Enable latency for next release.
2980         Restore STATE_LOCK around recalc_state that was left out during the
2981         rewrite and could result in racy behaviour when _get_state and
2982         recalc_state are run concurrently. See #440463.
2983
2984 2007-05-23  Wim Taymans  <wim@fluendo.com>
2985
2986         * tests/check/gst/gstsystemclock.c: (store_callback),
2987         (GST_START_TEST):
2988         Improve test_async_order to also work when both timers are already
2989         expired when we get scheduled to check it.
2990
2991 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2992
2993         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2994         (gst_bin_set_property), (gst_bin_get_property),
2995         (gst_bin_remove_func), (gst_bin_handle_message_func):
2996         * gst/gstbin.h:
2997           'private' is a c++ keyword, let's not use that in header files,
2998           otherwise c++ compilers will throw a tantrum.
2999
3000 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3001
3002         * plugins/elements/gstelements.c:
3003         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
3004         (gst_file_sink_get_current_offset):
3005         * plugins/indexers/gstindexers.c: (plugin_init):
3006           Use #ifdef for HAVE_XYZ for consistency.
3007
3008         * tests/check/Makefile.am:
3009         * tests/check/elements/.cvsignore:
3010         * tests/check/elements/filesink.c: (setup_filesink),
3011         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
3012           Add some unit tests for filesink.
3013
3014 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3015
3016         Patch by: Mark Nauwelaerts <manauw at skynet be>
3017
3018         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3019         (gst_file_sink_query), (gst_file_sink_do_seek),
3020         (gst_file_sink_get_current_offset), (gst_file_sink_render):
3021         * plugins/elements/gstfilesink.h:
3022           Fix position reporting; rename data_written member to current_pos to
3023           reflect its real meaning (fixes #412648).
3024
3025 2007-05-22  Edward Hervey  <edward@fluendo.com>
3026
3027         * docs/gst/gstreamer-sections.txt:
3028         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3029         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
3030         (gst_bin_remove_func), (gst_bin_handle_message_func):
3031         * gst/gstbin.h:
3032         Add a property for bins that handle the state change of their childs.
3033         Fixes #435880
3034
3035 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
3036
3037         * libs/gst/controller/gstinterpolation.c:
3038         Use an array of the correct type when using _get_value_array with
3039         linear interpolation.
3040
3041 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
3042
3043         * gst/gstelement.c (gst_element_requires_clock,
3044           gst_element_provides_clock, gst_element_request_pad,
3045           gst_element_class_set_details, gst_element_class_set_details_simple,
3046           gst_element_default_send_event, gst_element_abort_state,
3047           gst_element_continue_state, gst_element_set_state,
3048           gst_element_set_state_func, iterator_activate_fold_with_resync):
3049         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
3050           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
3051           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
3052           gst_pad_get_range, gst_pad_pull_range):
3053         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
3054           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
3055           GstPadActivateModeFunction, GstPadChainFunction,
3056           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
3057           GstPadFixateCapsFunction, GstPadTemplate):
3058         * gst/gstpipeline.c (gst_pipeline_change_state,
3059           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
3060           gst_pipeline_set_clock, gst_pipeline_auto_clock,
3061           gst_pipeline_get_delay):
3062           Whitespace and docs fixes.
3063
3064 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3065
3066         * libs/gst/controller/gstinterpolation.c:
3067         (interpolate_trigger_get_enum_value_array),
3068         (interpolate_trigger_get_string_value_array):
3069         Add support for retrieving value arrays when using the trigger
3070         interpolation mode. 
3071
3072 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3073
3074         * libs/gst/controller/gstcontroller.c:
3075         (gst_controller_get_value_array):
3076         * libs/gst/controller/gstcontroller.h:
3077         Clarify the docs of gst_controller_get_value_array(): The array where
3078         the values should be written to must be allocated as there seems to be
3079         no way to get the size of a random GType. This doesn't change any
3080         behaviour. Also fix some typos all over the place and remove an unused,
3081         commented function that is not necessary as g_object_set() could be
3082         used instead.
3083         * tests/check/libs/controller.c: (GST_START_TEST),
3084         (gst_controller_suite):
3085         Add unit test for gst_controller_get_value_array().
3086
3087 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
3088
3089         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3090
3091         Disable part of the gst_buffer_try_new_and_alloc test, because
3092         it can happily succeed on 64-bit systems where there's more address
3093         space available.
3094
3095 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3096
3097         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3098         Add unit test for the improved caps checking from bug #421543.
3099
3100 2007-05-21  Wim Taymans  <wim@fluendo.com>
3101
3102         * docs/design/part-synchronisation.txt:
3103         Small addition.
3104
3105         * gst/gstbin.c: (gst_bin_query):
3106         * plugins/elements/gstqueue.c: (apply_segment):
3107         Improve debugging.
3108
3109         * gst/gstmessage.h:
3110         Improve docs.
3111
3112 2007-05-21  Wim Taymans  <wim@fluendo.com>
3113
3114         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3115         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3116         (gst_pad_configure_src):
3117         Added simple version of improved caps checking. It was previously
3118         assumed that a setcaps function would check the validity of the caps but
3119         people prefer us to check caps against the template automatically. 
3120         Fixes #421543.
3121
3122 2007-05-21  Wim Taymans  <wim@fluendo.com>
3123
3124         * libs/gst/base/gstbasetransform.h:
3125         Fix macro for locking/unlocking the transform lock.
3126
3127 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3128
3129         * docs/plugins/tmpl/.cvsignore:
3130           Ignore more.
3131
3132 2007-05-18  Edward Hervey  <edward@fluendo.com>
3133
3134         * plugins/elements/gstqueue.c: (gst_queue_loop):
3135         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3136         for the subtle art of warning a potentially blocking thread that it
3137         should check the source pad return value, and relay the information
3138         upstream.
3139
3140 2007-05-18  Edward Hervey  <edward@fluendo.com>
3141
3142         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3143         Release the queue lock !
3144
3145 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3146
3147         * docs/libs/gstreamer-libs-sections.txt:
3148         Add the two new controller functions to the appropiate places.
3149
3150 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3151
3152         reviewed by: Stefan Kost <ensonic@users.sf.net>
3153
3154         * libs/gst/controller/gstcontroller.c:
3155         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3156         (_gst_controller_get_property), (_gst_controller_set_property),
3157         (_gst_controller_init), (_gst_controller_class_init):
3158         * libs/gst/controller/gstcontroller.h:
3159         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3160         (gst_object_get_control_rate), (gst_object_set_control_rate):
3161         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3162         Add API that provides sync suggestion timestamps for elements that
3163         call gst_object_sync_values() from which those elements can subdivide
3164         their processing loop to get the best results for the controlled
3165         properties. For now it just suggests last_sync + control_rate as
3166         new timestamp but this will be improved in the future.
3167
3168         While doing that change the control-rate property to a GstClockTime
3169         from guint and change it's meaning from samples to nanoseconds as
3170         the GstController doesn't know anything about sampling rate. Strictly
3171         speaking this breaks ABI but as the control-rate property didn't do
3172         anything in the past and as such couldn't be used this should be no
3173         problem.        
3174
3175 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3176
3177         reviewed by: Stefan Kost <ensonic@users.sf.net>
3178
3179         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3180         (gst_controller_unset_all):
3181         * libs/gst/controller/gstcontrollerprivate.h:
3182         * libs/gst/controller/gstinterpolation.c:
3183         (gst_controlled_property_find_control_point_node):
3184         Save last synced value from the list to continue searching from there
3185         in future syncs. This speeds everything up a bit.
3186         
3187 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3188
3189         reviewed by: Stefan Kost <ensonic@users.sf.net>
3190
3191         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3192         (gst_control_point_find), (gst_controlled_property_new),
3193         (gst_control_point_free), (gst_controlled_property_free),
3194         (gst_controller_set), (gst_controller_set_from_list),
3195         (gst_controller_unset), (gst_controller_unset_all),
3196         (gst_controller_sync_values):
3197         * libs/gst/controller/gstcontroller.h:
3198         * libs/gst/controller/gstcontrollerprivate.h:
3199         * libs/gst/controller/gstinterpolation.c:
3200         (gst_controlled_property_find_control_point_node),
3201         (interpolate_none_get), (interpolate_trigger_get):
3202         Add a new private GstControlPoint struct which "inherits" from
3203         GstTimedValue to allow different interpolators to store internal
3204         values next to each control point. From the outside everything is
3205         still a GstControlPoint so we don't loose binary compatibility.
3206         Also fixup all the GValue handling to not leak GValues or list nodes.
3207         * tests/check/libs/controller.c: (GST_START_TEST):
3208         Free the list nodes and GValues in the controller_misc test.
3209
3210 2007-05-17  Edward Hervey  <edward@fluendo.com>
3211
3212         * gst/gstsegment.c:
3213         Small doc fix.
3214
3215 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3216
3217         * gst/gstplugin.c: (gst_plugin_load_file):
3218           If we fail to load a plugin because of unresolved symbols or missing
3219           libraries and spew a warning to stderr, we may just as well mention
3220           which plugin it was that failed to load.
3221
3222 2007-05-13  David Schleef  <ds@schleef.org>
3223
3224         * docs/Makefile.am: the gtk-doc makefile snippet correctly
3225           handles the case when ENABLE_GTK_DOC is false, and installs
3226           the prebuilt documentation.  So gtk-doc subdirs are 
3227           unconditionally enabled.  Fixes: #349099.
3228
3229 2007-05-13  David Schleef  <ds@schleef.org>
3230
3231         * gst/gstutils.h: Reword some documentation.
3232
3233 2007-05-12  David Schleef  <ds@schleef.org>
3234
3235         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3236           do anything with the passed "module" parameter, so remove it.
3237           Allows removal of additional vestigal code.
3238
3239 2007-05-12  David Schleef  <ds@schleef.org>
3240
3241         * gst/gstplugin.c:
3242           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3243           Switch to using g_stat() because it's more portable.
3244
3245 2007-05-12  David Schleef  <ds@schleef.org>
3246
3247         * gst/gst.c:
3248           Add GST_DISABLE_OPTION_PARSING, in order to disable option
3249           parsing for embedded systems.
3250         * gst/gstelementfactory.c:
3251           Allow gst_element_register() to be called with plugin==NULL.
3252           Did nobody notice that static elements were broken?
3253
3254 2007-05-12  Wim Taymans  <wim@fluendo.com>
3255
3256         * tools/gst-launch.c: (event_loop):
3257         Give more interesting info when buffering starts and stops.
3258         Fix case where buffering starts but we fail to update the buffering flag
3259         because the target state is not PLAYING.
3260
3261 2007-05-12  Wim Taymans  <wim@fluendo.com>
3262
3263         * plugins/elements/gstqueue.c: (gst_queue_init),
3264         (gst_queue_finalize), (update_time_level), (apply_segment),
3265         (apply_buffer), (gst_queue_locked_flush),
3266         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3267         (gst_queue_handle_sink_event), (gst_queue_chain),
3268         (gst_queue_push_one), (gst_queue_loop):
3269         * plugins/elements/gstqueue.h:
3270         Refactor an cleanup queue a bit.
3271         Do better time level calculations that also work when the srcpad is not
3272         yet running.
3273         Remove some unneeded debug lines.
3274
3275         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3276         Added testcase for time level measurement.
3277         Try to make some stuff more racefree.
3278
3279 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3280
3281         * gst/gsturi.c: (gst_element_make_from_uri):
3282           Don't leak plugin feature.
3283
3284         * tests/check/Makefile.am:
3285         * tests/check/gst/.cvsignore:
3286         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3287           Add brain-dead unit test.
3288
3289 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3290
3291         Patch by: Jeroen Wouters <woutersj at gmail com>
3292
3293         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3294           Treat protocol strings in a case-insensitive way (#437563).
3295
3296 2007-05-11  Michael Smith <msmith@fluendo.com>
3297
3298         * gst/gstplugin.c: (gst_plugin_load_file):
3299         * gst/gstregistry.c: (gst_registry_scan_path_level):
3300           Don't print a g_warning for any failure to load a shared object.
3301           Instead, push this down into gstplugin.c, and warn _only_ if we
3302           failed to open the module (i.e. failure to link).
3303           Avoids warnings on normal, working, non-plugin .so files.
3304
3305 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
3306
3307         * gst/gstplugin.c (gst_plugin_load_file):
3308         * gst/gstregistry.c (GST_CAT_DEFAULT,
3309           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3310           Print a g_warning if there was an error when loading a plugins during
3311           registry scan. The shuld help beginners starting with gst-plugin
3312           template.
3313
3314 2007-05-10  Wim Taymans  <wim@fluendo.com>
3315
3316         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3317         (update_time_level), (gst_queue_locked_flush),
3318         (gst_queue_handle_sink_event), (gst_queue_chain),
3319         (gst_queue_push_one), (gst_queue_loop):
3320         * plugins/elements/gstqueue.h:
3321         Be smarter when calculating the current amount of data in the queue by
3322         measuring the difference between start and end timestamps (in running
3323         time) inside the queue. Fixes #432876.
3324         API: GstQueue::pushing to notify elements that we are pushing data again
3325         since the running signal is rather broken for this purpose.
3326
3327 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
3328
3329         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3330           gst_queue_base_init, gst_queue_init):
3331           use GST_BOILERPLATE
3332
3333 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
3334
3335         * win32/common/libgstreamer.def:
3336         Add new exported functions.
3337         * win32/vs6/grammar.dsp:
3338         Use grammar pre-generated files.
3339
3340 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3341
3342         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
3343
3344         * gst/Makefile.am:
3345         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3346         * gst/gstparse.h:
3347         * gst/gstutils.c: (gst_parse_bin_from_description):
3348         * gst/gstutils.h:
3349           Maintain API and ABI when --disable-parse is used. Now that
3350           we have an appropriate error code, we can just return NULL and the
3351           appropriate error when gst_parse_launch() is used despite it having
3352           been disabled (#342564).
3353
3354         * tests/check/Makefile.am:
3355         * tests/check/pipelines/.cvsignore:
3356         * tests/check/pipelines/parse-disabled.c:
3357           Make sure these functions exist and return NULL plus a GError when
3358           --disable-parse is used.
3359
3360 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3361
3362         * tests/benchmarks/complexity.c: (main):
3363         * tests/benchmarks/mass-elements.c: (main):
3364           Set a good example and don't leak messages.
3365
3366 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
3367
3368         * docs/gst/Makefile.am:
3369         * docs/libs/Makefile.am:
3370           Correct fixxrefs options.
3371
3372         * docs/plugins/Makefile.am:
3373         * docs/plugins/gstreamer-plugins-docs.sgml:
3374         * docs/plugins/gstreamer-plugins-sections.txt:
3375         * plugins/elements/Makefile.am:
3376         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3377         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3378           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3379           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3380           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3381           _GstCapsFilterClass, trans_class):
3382         * plugins/elements/gstelements.c (name, rank, type, _elements):
3383         * plugins/elements/gstidentity.c
3384           (gst_identity_check_imperfect_timestamp,
3385           gst_identity_check_imperfect_offset):
3386           Document capsfilter and add doc-blurb to identity.
3387
3388 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3389
3390         * libs/gst/controller/gstcontroller.c:
3391         (gst_controlled_property_set_interpolation_mode):
3392         * libs/gst/controller/gstinterpolation.c:
3393           Don't crash if someone tries to set an interpolation mode that
3394           is invalid or that isn't supported yet. Fixes #422295.
3395
3396         * tests/check/libs/controller.c: (GST_START_TEST),
3397         (gst_controller_suite):
3398           Add a test case for the above.
3399
3400 2007-05-03  Edward Hervey  <edward@fluendo.com>
3401
3402         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3403         Properly set the last_stop position on GstSegment. This will only happen
3404         if there is a buffer to push out.
3405
3406 2007-05-03  Wim Taymans  <wim@fluendo.com>
3407
3408         * libs/gst/base/gstbasetransform.c:
3409         (gst_base_transform_buffer_alloc):
3410         always_in_place does not mean that the sink and source caps are the
3411         same! Make sure we don't blindly proxy the buffer_alloc in this case.
3412
3413 2007-05-03  Wim Taymans  <wim@fluendo.com>
3414
3415         * docs/libs/gstreamer-libs-sections.txt:
3416         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3417         (gst_base_src_default_query), (gst_base_src_get_range):
3418         * libs/gst/base/gstbasesrc.h:
3419         API: gst_base_src_query_latency(). Added method so that subclasses can
3420         easily get the latency values of the base source class.
3421
3422 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
3423
3424         * tools/gst-inspect.c (print_implementation_info):
3425         Remove 0.8 cruft.
3426
3427 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
3428
3429         * tools/Makefile.am:
3430         * tools/gst-launch.1.in:
3431           Don't create a customised man page based on the host architecture,
3432           describe the default registry path generically. That way the man
3433           page is the same for all architectures and packagers have one
3434           multilib issue less to deal with. Fixes #434926.
3435
3436 2007-05-02  Wim Taymans  <wim@fluendo.com>
3437
3438         * gst/gstpad.c:
3439         Fix documentation as spotted by rg on IRC. 
3440
3441 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
3442
3443         * gst/gstutils.c:
3444           Improve docs for gst_element_{link,unlink}.
3445
3446 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
3447
3448         * docs/design/part-events.txt:
3449         * docs/design/part-overview.txt:
3450         * gst/gstevent.c:
3451         * gst/gsturi.c:
3452         * gst/gsturi.h:
3453         * libs/gst/base/gstbasesink.c:
3454           Typo fixes; minor docs addition.
3455
3456 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3457
3458         * docs/gst/gstreamer-sections.txt:
3459         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3460         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3461         * gst/gsturi.h:
3462         API: Add gst_uri_protocol_is_supported(), which checks if a sink
3463         or src that supports a given URI protocol exists.
3464
3465 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3466
3467         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3468         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3469         Set the location to NULL if "file://" is set as URI. Otherwise
3470         some random previous URI would still be set if "file://" is
3471         set on an already used filesink/filesrc.
3472
3473 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3474
3475         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3476         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3477         Special case the "file://" URI as as this is used by some
3478         applications to test with gst_element_make_from_uri if there's
3479         an element that supports the URI protocol.
3480         Also move the g_path_is_absolute() check for the location part
3481         of the URI to also check this for "file://localhost/bla" URIs.
3482
3483 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
3484
3485         * docs/gst/gstreamer-sections.txt:
3486         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3487         * gst/gstbuffer.h:
3488         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3489         (gst_buffer_suite):
3490           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3491
3492 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
3493
3494         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3495         (gst_registry_binary_load_pad_template),
3496         (gst_registry_binary_load_plugin),
3497         (gst_registry_binary_read_cache):
3498         * gst/gstregistrybinary.h:
3499           Implement no-mmap alternative for registry reading. Do code cleanups.
3500           Add more comments about avoiding strdups for all text data. Comments
3501           welcome.
3502
3503 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3504
3505         * gst/gstregistrybinary.h (GstBinaryPluginElement,
3506           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3507           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3508           Comment structs and reformat to fix the build (that stuff should go
3509           into a priv. header).
3510
3511 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3512
3513         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3514         (gst_registry_binary_load_feature):
3515         * gst/gstregistrybinary.h:
3516           Refactor so that we can implement multiple features. Add support for
3517           TypeFindFactory features.
3518
3519 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
3520
3521         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3522
3523         * configure.ac:
3524           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3525
3526 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
3527
3528         * gst/gstbin.c: (gst_bin_element_set_state),
3529         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3530         (bin_handle_async_done), (gst_bin_handle_message_func):
3531           Fix build with --gst-disable-gst-debug
3532
3533 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3534
3535         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3536           Make sure streaming has finished before calling the ::stop() vfunc,
3537           since that vfunc might clear state which is being used in the
3538           streaming thread. This fixes a race that caused crashes in
3539           audioresample when shutting down a pipeline (#420106).
3540
3541 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3542
3543         * docs/gst/gstreamer-sections.txt:
3544           That was one byte missing.
3545
3546 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3547
3548         * configure.ac:
3549         * docs/gst/gstreamer-sections.txt:
3550         * gst/Makefile.am:
3551         * gst/gstconfig.h.in:
3552         * gst/gstobject.c: (gst_object_class_init),
3553         (gst_signal_object_class_init):
3554         * gst/gstobject.h:
3555           2nd attempt to have a xml-less build as a joined effort of #413123
3556           and #421480.
3557
3558 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3559
3560         * docs/design/draft-tagreading.txt:
3561           Added open issues/thoughts to draft.
3562
3563 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3564
3565         * gst/parse/grammar.tab.pre.c:
3566         * gst/parse/grammar.tab.pre.h:
3567         * gst/parse/lex._gst_parse_yy.pre.c:
3568         Update the prebuild parser sources.
3569
3570 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3571
3572         * gst/parse/Makefile.am:
3573         And now fix the building of the flex sources. Now everything should
3574         work as expected.
3575
3576 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3577
3578         * gst/parse/Makefile.am:
3579         Now hopefully fix the build failures by setting proper rule
3580         dependencies and moving instead of copying.
3581
3582 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3583
3584         * tests/benchmarks/complexity.gnuplot:
3585         * tests/benchmarks/complexity.scm:
3586         * tests/benchmarks/mass-elements.gnuplot:
3587         * tests/benchmarks/mass-elements.scm:
3588           Total licensification.
3589
3590 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3591
3592         * gst/parse/Makefile.am:
3593           Fix the build by correcting the rule that gave wrong files to flex.
3594
3595 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3596
3597         * tests/benchmarks/complexity.c:
3598         * tests/benchmarks/mass-elements.c:
3599           Change licence to LGPL as granted by Benjamin and Andy.
3600
3601 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3602
3603         * gst/parse/Makefile.am:
3604         Add correct grammar.tab.h dependency if compiling without new enough
3605         flex. Fixes #431150.
3606
3607 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3608
3609         * gst/parse/Makefile.am:
3610         Fix typo and use outdated sources if the flex/bison sources are newer
3611         than the pregenerated ones but flex is too old. Print a warning in
3612         that case. This should fix the build on the build bot.
3613
3614 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3615
3616         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3617         * gst/parse/Makefile.am:
3618         * gst/parse/grammar.y:
3619         * gst/parse/parse.l:
3620         Make the parser reentrant and recursively callable. This requires flex
3621         >= 2.5.31, for older versions pregenerated sources are used as we
3622         can't bump the build dependency. Finally fixes #349180.
3623
3624         * gst/gstparse.c: (gst_parse_launch):
3625         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3626         now anyway.
3627
3628         * docs/gst/Makefile.am:
3629         * docs/gst/Makefile.am:
3630         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3631         (__gst_parse_strfree), (__gst_parse_link_new),
3632         (__gst_parse_link_free), (__gst_parse_chain_new),
3633         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3634         (gst_parse_element_set), (gst_parse_free_link),
3635         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3636         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3637         (_gst_parse_launch):
3638         * gst/parse/grammar.tab.pre.h:
3639         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3640         (yy_get_previous_state), (yy_try_NUL_trans), (input),
3641         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3642         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3643         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3644         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3645         (_gst_parse_yypop_buffer_state),
3646         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3647         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3648         (yy_fatal_error), (_gst_parse_yyget_extra),
3649         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3650         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3651         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3652         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3653         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3654         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3655         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3656         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3657         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3658         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3659         (_gst_parse_yyfree):
3660         If the installed flex version is too old use pre-generated parser
3661         sources. These pre-generated parser sources are always updated when
3662         the actual flex/bison sources change but require everybody who wants
3663         to change something in the parser to have flex >= 2.5.31 installed.
3664
3665 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
3666
3667         * common/m4/gst-gettext.m4:
3668         * gst/gst-i18n-lib.h:
3669           Make --disable-nls to work
3670
3671 2007-04-17  Wim Taymans  <wim@fluendo.com>
3672
3673         * gst/gstconfig.h.in:
3674         Revert previous change that broke the build.
3675
3676 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
3677
3678         * configure.ac:
3679         * gst/Makefile.am:
3680         * gst/gstconfig.h.in:
3681           Drop libxml2 dependency when building with 
3682           --enable-binary-registry --disable-loadsave
3683
3684 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
3685
3686         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3687         (gst_registry_binary_read_cache):
3688         * gst/gstregistrybinary.h:
3689           Remove unnecessary <sys/mman.h> include which broke the win32 build
3690           with MingW; move includes from header file to .c file, even if the
3691           header file isn't installed; use g_strerror() where UTF-8 strings
3692           are expected, such as in GST_DEBUG messages.
3693
3694 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3695
3696         * docs/libs/gstreamer-libs-sections.txt:
3697         Remove bogus addition for API I didn't end up keeping.
3698
3699         * libs/gst/base/gstbasesrc.h:
3700         Mention Since: 0.10.13 in the documentation.
3701
3702         Add the API keyword to the previous ChangeLog entry.
3703
3704 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3705
3706         * docs/libs/gstreamer-libs-sections.txt:
3707         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3708         (gst_base_src_default_prepare_seek_segment),
3709         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3710         * libs/gst/base/gstbasesrc.h:
3711         Allow basesrc derived classes to execute seeks in other formats
3712         by providing a prepare_seek_segment vmethod. Sub-classes can choose
3713         to prepare the GstSegment in any format that their perform_seek method
3714         will be able to understand. The default implementation provides the
3715         old behaviour of attempting to convert the seek offsets to the 
3716         configured native format.
3717
3718         API: basesrc::prepare_seek_segment vmethod.
3719
3720 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3721
3722         * gst/gstelement.c: (gst_element_get_state_func):
3723         Don't output the same debug statement twice.
3724
3725         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3726         (gst_adapter_peek), (gst_adapter_take_buffer):
3727         Optimise the case where we have buffers at the head of the queue that
3728         can be joined quickly (because they're contiguous sub-buffers) by
3729         merging them together rather than copying data out into new memory.
3730
3731         * gst/parse/grammar.y:
3732         * tests/check/pipelines/parse-launch.c:
3733         Fix a leak in an error path for parse_launch, and add a check 
3734         for it to the testsuite.
3735
3736 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3737
3738         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3739           Don't deadlock when releasing a pad - gst_pad_set_active may try
3740           and take the multiqueue lock too.
3741
3742 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3743
3744         * gst/gsterror.c: (_gst_core_errors_init):
3745         * gst/gsterror.h:
3746           API: add GST_CORE_ERROR_DISABLED (#392804).
3747
3748 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3749
3750         * docs/faq/gst-uninstalled:
3751           don't get empty paths on the PATH variables
3752         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3753           Don't format for the uncommon terminal width of 84 characters.
3754
3755 2007-04-06  Wim Taymans  <wim@fluendo.com>
3756
3757         * gst/gstpipeline.c: (reset_stream_time),
3758         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3759         Only try to select a different pipeline clock when we went back to
3760         PAUSED and not when we merely got flushed.
3761
3762 2007-04-05  Michael Smith  <msmith@fluendo.com>
3763
3764         * tools/gst-launch.1.in:
3765           fractions are better supported in gstreamer than ractions, so
3766           suggest using those.
3767
3768 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3769
3770         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3771
3772         * po/LINGUAS:
3773         * po/da.po:
3774           Added Danish translation.
3775
3776 2007-04-05  Wim Taymans  <wim@fluendo.com>
3777
3778         * libs/gst/base/gstbasesink.c:
3779         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3780         Fix leak caused when refusing newsegment after EOS.
3781
3782         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3783         (gst_fake_sink_init), (gst_fake_sink_set_property),
3784         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3785         (gst_fake_sink_render), (gst_fake_sink_change_state):
3786         * plugins/elements/gstfakesink.h:
3787         Add num-buffers property to make the element generate EOS after a
3788         configurable amount of buffers.
3789         API: fakesink::num-buffers property.
3790
3791         * tests/check/elements/fakesink.c: (GST_START_TEST),
3792         (fakesink_suite):
3793         Fix GstBus leak in test.
3794         Test for fakesink num-buffers.
3795
3796 2007-04-05  Wim Taymans  <wim@fluendo.com>
3797
3798         * libs/gst/base/gstbasesink.c:
3799         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3800         (gst_base_sink_change_state):
3801         Don't accept anything after an EOS, return UNEXPECTED instead.
3802
3803         * tests/check/elements/fakesink.c: (GST_START_TEST),
3804         (fakesink_suite):
3805         Unit test for new EOS behaviour.
3806
3807 2007-04-05  Wim Taymans  <wim@fluendo.com>
3808
3809         * gst/gstelement.c: (gst_element_get_request_pad):
3810         Make padtemplates also work when they don't contain %s or %d.
3811
3812 2007-04-05  Wim Taymans  <wim@fluendo.com>
3813
3814         * docs/gst/gstreamer-sections.txt:
3815         * gst/gstclock.c: (gst_clock_adjust_unlocked),
3816         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3817         * gst/gstclock.h:
3818         Improve _adjust_unlocked() so that it overflows less.
3819         Add gst_clock_unadjust_unlocked to convert from external time to
3820         internal time based on calibration.
3821         Add some more debug.
3822         API: GstClock::gst_clock_unadjust_unlocked()
3823
3824 2007-04-03  Wim Taymans  <wim@fluendo.com>
3825
3826         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3827
3828         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3829         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3830         when releasing sink pad. Fixes #425400.
3831
3832 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
3833
3834         * docs/random/ensonic/dynlink.txt:
3835           More work on proposal for new core api.
3836
3837         * docs/libs/gstreamer-libs-sections.txt:
3838         * libs/gst/base/gstbasetransform.h:
3839           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3840           
3841         * libs/gst/controller/gstcontroller.c:
3842         (on_object_controlled_property_changed),
3843         (gst_controller_sync_values),
3844         (gst_controller_set_interpolation_mode):
3845         * libs/gst/controller/gstcontroller.h:
3846           Less verbose logging add docs for unimplemented parts and correctly
3847           return when using unavailable parts.
3848
3849 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3850
3851         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3852         Move all the debug to the CLOCK category, and associate it with
3853         the clock object.
3854
3855 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3856
3857         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3858         Make take_buffer a bit quicker by removing redundant checks
3859         caused by calling gst_adapter_take.
3860
3861 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3862
3863         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3864           Don't leak GCond.
3865
3866         * tests/check/Makefile.am:
3867         * tests/check/elements/.cvsignore:
3868         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3869         (GST_START_TEST), (multiqueue_suite):
3870           Add some dead simple unit tests for the 'multiqueue' element
3871           (some bits don't work yet and are disabled for now).
3872
3873 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3874
3875         * gst/gstelement.c: (gst_element_get_request_pad),
3876         (gst_element_class_get_request_pad_template):
3877           Make gst_element_get_request_pad() create request pads only for
3878           request pad templates and not for, say, sometimes pad templates.
3879
3880 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
3881
3882         * docs/design/draft-klass.txt:
3883           Add example that needs more thinking.
3884         
3885         * docs/design/draft-missing-plugins.txt:
3886           More thoughts about wrapper plugins.
3887         
3888         * docs/random/ensonic/embedded.txt:
3889         * docs/random/ensonic/profiling.txt:
3890           More design work.
3891
3892 2007-03-25  Wim Taymans  <wim@fluendo.com>
3893
3894         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3895         (gst_base_src_loop):
3896         Only push the segment events in the PLAYING state for live sources.
3897
3898 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
3899
3900         * gst/gstpipeline.c: (gst_pipeline_change_state):
3901         Modify the clock distribution path in PAUSED->PLAYING so that we 
3902         never attempt to choose a new clock unless we're actually leaving
3903         the PAUSED state for the first time. This prevents choosing a
3904         different clock when the state_change gets called for a 2nd time due
3905         to some element doing an async state change.
3906
3907 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3908
3909         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3910         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3911         (gst_pad_chain_unchecked), (gst_pad_push):
3912         Revert last commit. This needs some more thoughts.
3913
3914 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3915
3916         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3917         (gst_pad_chain_unchecked), (gst_pad_push):
3918         Check in set_caps if the caps are compatible with the pad and remove
3919         two functions that are redundant now. Fixes #421543.
3920
3921 2007-03-22  Wim Taymans  <wim@fluendo.com>
3922
3923         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3924         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3925         Unref some more to make valgrind happy.
3926
3927 2007-03-22  Wim Taymans  <wim@fluendo.com>
3928
3929         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3930         (gst_system_clock_id_wait_jitter),
3931         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3932         Fix anoying regression that survived a few releases. When adding an
3933         async entry while blocking on a sync entry, the sync entry will unblock
3934         but still be busy, so it should continue to wait instead of returning
3935         _BUSY to the app.
3936         Add some comments here and there.
3937
3938         * tests/check/gst/gstsystemclock.c: (mixed_thread),
3939         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3940         Add testcase for this.
3941
3942 2007-03-22  Wim Taymans  <wim@fluendo.com>
3943
3944         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3945         Handle errors from the clock sync better, only UNSCHEDULED indicates a
3946         WRONG_STATE and can silently pause the task. All other cases should
3947         error out.
3948
3949 2007-03-22  Wim Taymans  <wim@fluendo.com>
3950
3951         Patch by: Ville Syrjala <syrjala at sci dot fi>
3952
3953         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3954         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
3955         Improve debugging.
3956
3957 2007-03-21  Michael Smith  <msmith@fluendo.com>
3958
3959         * docs/pwg/advanced-types.xml:
3960           Fix some errors in the typefinding docs pointed out on irc.
3961
3962 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
3963
3964         * libs/gst/base/gstbasesrc.c:
3965         Clarify FIXME comment in the face of having added unlock_stop()
3966
3967 2007-03-21  Wim Taymans  <wim@fluendo.com>
3968
3969         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3970         Prepare for release where we warn against possible app breakage in the
3971         case of live pipelines along with an env var to enable/disable live
3972         preroll mode (GST_COMPAT=[no-]live-preroll).
3973
3974 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3975
3976         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3977         So we should use correct constants for checking for None offset.
3978
3979 2007-03-20  Wim Taymans  <wim@fluendo.com>
3980
3981         * docs/design/part-block.txt:
3982         Mention the fact that the newly switched element should be set to at
3983         least PAUSED.
3984
3985 2007-03-20  Wim Taymans  <wim@fluendo.com>
3986
3987         * gst/gst.c:
3988         Fix compilation with registry disabled as spotted by Saur.
3989
3990 2007-03-20  Wim Taymans  <wim@fluendo.com>
3991
3992         Patch by: Olivier Crete <tester at tester dot ca>
3993
3994         * gst/gstelement.c: (gst_element_sync_state_with_parent):
3995         Look at the pending state too when syncing the element state to the
3996         parent. Fixes #420133.
3997
3998 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
3999
4000         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
4001         (gst_base_sink_change_state):
4002         * libs/gst/base/gstbasesink.h:
4003         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4004         (gst_base_src_default_event), (gst_base_src_unlock_stop),
4005         (gst_base_src_deactivate):
4006         * libs/gst/base/gstbasesrc.h:
4007         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
4008         for sub-classes to correctly clear any state they set trying to
4009         unlock, such as clearing out unlock commands from a command fd.
4010         API: basesrc::unlock_stop
4011         API: basesink::unlock_stop
4012
4013         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
4014         (gst_fd_sink_render), (gst_fd_sink_unlock),
4015         (gst_fd_sink_unlock_stop):
4016         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
4017         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
4018         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
4019
4020         Implement unlock_stop in fdsrc and fdsink.
4021         Implement seeking in fdsrc when a seekable fd is passed, as in
4022         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
4023
4024 2007-03-19  Wim Taymans  <wim@fluendo.com>
4025
4026         Patch by: Evan Nemerson <evan at coeus dash group dot com>
4027
4028         * gst/gstelement.c: (gst_element_class_init):
4029         Fix pad-added and pad-removed signal signatures so that the pad type is
4030         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
4031
4032 2007-03-19  Wim Taymans  <wim@fluendo.com>
4033
4034         * docs/gst/gstreamer-sections.txt:
4035         Add new element field and method.
4036
4037         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4038         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
4039         (gst_bin_recalc_state), (gst_bin_get_state_func),
4040         (gst_bin_element_set_state), (gst_bin_change_state_func),
4041         (gst_bin_continue_func), (bin_bus_handler),
4042         (bin_push_state_continue), (bin_handle_async_start),
4043         (bin_handle_async_done), (gst_bin_handle_message_func):
4044         Make async state changes a bit smarter by using new ASYNC_START and
4045         ASYNC_DONE messages. This reduces the number of times we run the state
4046         recalculation thread.
4047         Don't change state of element with a pending ASYNC_START message.
4048         Deprecate STATE_DIRTY messages.
4049         
4050         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
4051         (gst_element_get_state_func), (gst_element_continue_state),
4052         (gst_element_lost_state), (gst_element_set_state_func),
4053         (gst_element_change_state):
4054         * gst/gstelement.h:
4055         Keep the state that was last set by the app in a new element field.
4056         Don't allow state changes when handling an element event.
4057         Post ASYNC_START and ASYNC_DONE messages.
4058         Change lost_state so that we go to PAUSED and wait for the parent to set
4059         us to PLAYING again (so latency calculation can be performed)
4060         Export gst_element_change_state() method so that subclasses can use it.
4061         API: gst_element_change_state()
4062         API: GST_STATE_TARGET
4063
4064         * gst/gstpipeline.c: (gst_pipeline_class_init),
4065         (reset_stream_time), (gst_pipeline_change_state),
4066         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
4067         Using the new ASYNC_START message we can reset the base_time when
4068         needed. This can then be used to implement base_time redistribution in
4069         flushing seeks so that we can remove the explicit seek handling.
4070         Perform latency query and configuration when going to PLAYING.
4071
4072         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4073         (gst_base_sink_query), (gst_base_sink_change_state):
4074         Post new ASYNC_START/ASYNC_DONE messages.
4075
4076         * tests/check/generic/sinks.c: (GST_START_TEST):
4077         Fix test because the bin will not set the async element to PLAYING right
4078         away.
4079
4080         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4081         Make the message check a little stronger.
4082         Handle ASYNC messages.
4083
4084         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4085         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4086         Expect ASYNC_DONE messages.
4087
4088 2007-03-19  Wim Taymans  <wim@fluendo.com>
4089
4090         * docs/gst/gstreamer-sections.txt:
4091         * gst/gstmessage.c: (gst_message_new_async_start),
4092         (gst_message_new_async_done), (gst_message_parse_info),
4093         (gst_message_parse_async_start):
4094         * gst/gstmessage.h:
4095         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4096         support.
4097
4098 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4099
4100         * tools/gst-inspect.c:
4101         (print_plugin_automatic_install_info_codecs):
4102           Now that we don't check for the 'Codec' keyword any longer in the
4103           klass, we shouldn't spew a warning if the klass isn't a decoder or
4104           encoder (since it might be a Source/Network, for example).
4105
4106 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4107
4108         * tools/gst-inspect.c:
4109         (print_plugin_automatic_install_info_codecs):
4110           Don't require decoder/demuxer/depayloader elements or
4111           encoder/muxer/paylader elements to have 'Codec' as part of their
4112           factory class string when introspecting a plugin's capabilities.
4113           draft-klass.txt mentions that it might be removed in future, and
4114           flump3dec doesn't have it as part of its class string, so chances
4115           are others might also not have it.
4116
4117 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4118
4119         * po/af.po:
4120         * po/az.po:
4121         * po/bg.po:
4122         * po/ca.po:
4123         * po/cs.po:
4124         * po/de.po:
4125         * po/en_GB.po:
4126         * po/fr.po:
4127         * po/it.po:
4128         * po/nb.po:
4129         * po/nl.po:
4130         * po/ru.po:
4131         * po/sq.po:
4132         * po/sr.po:
4133         * po/sv.po:
4134         * po/tr.po:
4135         * po/uk.po:
4136         * po/vi.po:
4137         * po/zh_CN.po:
4138         * po/zh_TW.po:
4139           Update translations from translation project
4140
4141 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
4142
4143         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4144         (gst_child_proxy_set_property):
4145           Invert precondition check to be alike the ones in the mimiced gobject
4146           api.
4147
4148 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
4149
4150         * docs/design/draft-tagreading.txt:
4151         * docs/random/ensonic/audiobaseclasses.txt:
4152           Do some Architect work.
4153
4154         * gst/gstobject.c: (gst_object_set_name):
4155           Add a WARNING.
4156
4157         * gst/gstpad.c:
4158           Add docs that point from gst_pad_get_range to gst_pad_pull_range
4159
4160 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
4161
4162         * gst/gstsystemclock.c: (gst_system_clock_init),
4163         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4164         Defer starting the async system clock thread until the first async
4165         wait is scheduled. Fixes #414986.
4166
4167 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4168
4169         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4170         (gst_single_queue_free):
4171           Fix small leak (free GstSingleQueue structure too, not only contents).
4172
4173 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
4174
4175         * gst/gstbin.c:(gst_bin_add):
4176         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4177         * win32/common/libgstbase.def:
4178         * win32/common/libgstreamer.def:
4179         Add new exported functions.
4180
4181 2007-03-09  Wim Taymans  <wim@fluendo.com>
4182
4183         * docs/plugins/gstreamer-plugins-sections.txt:
4184         Fix GstTee docs.
4185
4186 2007-03-09  Wim Taymans  <wim@fluendo.com>
4187
4188         * docs/gst/gstreamer-sections.txt:
4189         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4190         * gst/gstbuffer.h:
4191         Add metadata copy functions. Fixes #393099.
4192         API: gst_buffer_copy_metadata()
4193
4194         * gst/gstutils.c: (gst_buffer_stamp):
4195         * libs/gst/base/gstbasetransform.c:
4196         (gst_base_transform_prepare_output_buffer):
4197         Use new metadata copy functions.
4198
4199 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4200
4201         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4202         (gst_identity_init), (gst_identity_check_perfect),
4203         (gst_identity_check_imperfect_timestamp),
4204         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4205         (gst_identity_set_property), (gst_identity_get_property):
4206         * plugins/elements/gstidentity.h:
4207         Separate out check-imperfect-timestamp and check-imperfect-offset.
4208         Put back check-perfect as it was to keep compatibility.
4209
4210 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
4211
4212         * gst/gstelement.c: (gst_element_dispose):
4213         There's no need to warn if VOID_PENDING is not NONE here, as
4214         long as the state is NULL it's ok, and that's checked immediately
4215         above.
4216
4217 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4218
4219         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4220         Fix check for perfect stream to ignore buffers with -1 
4221         offsets/offset ends when checking data contiguity.
4222
4223 2007-03-08  Wim Taymans  <wim@fluendo.com>
4224
4225         * tools/gst-launch.c: (event_loop):
4226         Print INFO messages.
4227
4228 2007-03-08  Wim Taymans  <wim@fluendo.com>
4229
4230         * libs/gst/base/gstbasetransform.c:
4231         (gst_base_transform_sink_eventfunc),
4232         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4233         (gst_base_transform_activate):
4234         * libs/gst/base/gstbasetransform.h:
4235         Add support for dropping buffers with custom GstFlowReturn.
4236         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4237         buffers or dropped buffers.
4238
4239         * docs/libs/gstreamer-libs-sections.txt:
4240         docs for new custom return code.
4241
4242         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4243         Use drop support in base class to implement drop-probability.
4244
4245 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4246
4247         * gst/gst.c: (load_plugin_func):
4248         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4249         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4250         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4251           Remove newlines at end of debug log strings.
4252
4253 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4254
4255         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4256         Only post bus message at max, once per buffer received.
4257
4258 2007-03-07  Wim Taymans  <wim@fluendo.com>
4259
4260         * docs/design/Makefile.am:
4261         * docs/design/part-synchronisation.txt:
4262         Add doc about synchronisation
4263
4264         * docs/design/draft-latency.txt:
4265         * docs/design/part-TODO.txt:
4266         * docs/design/part-clocks.txt:
4267         * docs/design/part-events.txt:
4268         * docs/design/part-gstbus.txt:
4269         * docs/design/part-gstpipeline.txt:
4270         * docs/design/part-live-source.txt:
4271         * docs/design/part-messages.txt:
4272         * docs/design/part-overview.txt:
4273         * docs/design/part-streams.txt:
4274         * docs/design/part-trickmodes.txt:
4275         Documentation updates.
4276
4277 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4278
4279         * gstreamer.doap:
4280         Update the doap file.
4281
4282 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4283
4284         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4285         Rename non-perfect to imperfect for Mike and for the sanctity of the
4286         language.
4287         Also make sure bus message gets emitted for data-incontiguities.
4288
4289 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4290
4291         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4292         (gst_identity_start):
4293         * plugins/elements/gstidentity.h:
4294         Emit bus message if check-perfect is true and we encounter a
4295         non-perfect stream between 2 consecutive buffers.
4296         Fixes #415394.
4297
4298 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4299
4300         * configure.ac:
4301         Back to CVS
4302
4303 === release 0.10.12 ===
4304
4305 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
4306
4307         * configure.ac:
4308           releasing 0.10.12, "Inevitable Demise"
4309
4310 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
4311
4312         * configure.ac:
4313          Version 0.10.11.2 (0.10.12 pre-release)
4314          Bump libtool versioning.
4315
4316 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
4317
4318         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4319           Log flow-names and not numbers.
4320
4321 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4322
4323         * configure.ac:
4324           Convert to new AG_GST style.
4325
4326 2007-02-28  Wim Taymans  <wim@fluendo.com>
4327
4328         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4329         Don't unref query twice.
4330
4331 2007-02-28  Wim Taymans  <wim@fluendo.com>
4332
4333         * gst/gstvalue.c: (gst_value_transform_object_string),
4334         (_gst_value_initialize):
4335         Implement GstObject -> string transform so we print object names
4336         when serializing GValues containing GstObjects.
4337
4338 2007-02-28  Wim Taymans  <wim@fluendo.com>
4339
4340         * docs/gst/gstreamer-sections.txt:
4341         Add new stuff to docs.
4342
4343 2007-02-28  Wim Taymans  <wim@fluendo.com>
4344
4345         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4346         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4347         (gst_base_sink_change_state):
4348         Improve latency query code.
4349         Don't leak latency events.
4350
4351         * tests/check/gst/gstbin.c: (GST_START_TEST):
4352         Improve debugging.
4353
4354 2007-02-28  Wim Taymans  <wim@fluendo.com>
4355
4356         * gst/gstelement.c: (gst_element_message_full),
4357         (gst_element_get_state_func):
4358         * gst/gstelement.h:
4359         Improve docs a little. Added Since: for new macro.
4360
4361         * gst/gstobject.c: (gst_object_sink):
4362         * gst/gstpipeline.c: (gst_pipeline_change_state),
4363         (gst_pipeline_set_new_stream_time):
4364         * gst/gstpipeline.h:
4365         Improve debugging and docs.
4366
4367         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4368         Improve debugging.
4369
4370 2007-02-28  Wim Taymans  <wim@fluendo.com>
4371
4372         * gst/gstelement.c: (gst_element_message_full),
4373         (gst_element_set_locked_state), (gst_element_get_state_func),
4374         (gst_element_change_state):
4375         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4376         Documentation updates.
4377         Small code cleanups.
4378
4379         * gst/gstmessage.c: (gst_message_new_info),
4380         (gst_message_parse_info):
4381         * gst/gstmessage.h:
4382         API: gst_message_new_info()
4383         API: gst_message_parse_info()
4384         Add INFO message create and parse code.
4385
4386 2007-02-28  Wim Taymans  <wim@fluendo.com>
4387
4388         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4389         (bin_query_latency_done):
4390         Also report the live parameter of a latency query.
4391
4392 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4393
4394         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4395           Copy the current generic/states example from -base and adapt so
4396           we can use the exact same code everywhere.
4397           Check a STATES_IGNORE_ELEMENTS env var which can be used
4398           to ignore certain element factories for this test, which is
4399           what is being done in -base
4400         * tests/check/Makefile.am:
4401           Mention this environment variable.
4402
4403 2007-02-27  Wim Taymans  <wim@fluendo.com>
4404
4405         * docs/gst/gstreamer-sections.txt:
4406         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4407         (gst_bus_timed_pop), (gst_bus_pop):
4408         * gst/gstbus.h:
4409         API: gst_bus_timed_pop()
4410         Implement gst_bus_timed_pop() to do a blocking timed wait for a
4411         message to arrive on the bus.
4412
4413         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4414         (gst_bus_suite):
4415         Two unit tests for new _timed_pop() function.
4416
4417 2007-02-23  Wim Taymans  <wim@fluendo.com>
4418
4419         * gst/gstpipeline.c: (gst_pipeline_change_state),
4420         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4421         Don't ref a NULL clock in _provide_clock_func().
4422         Don't allow an INVALID delay.
4423         Don't try to calculate base_time with an invalid start_time.
4424         Also distribute and notify a NULL clock when it was selected.
4425
4426         * tools/gst-launch.c: (event_loop):
4427         Don't crash when a NULL clock was selected in the pipeline.
4428
4429 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4430
4431         * docs/design/Makefile.am:
4432         * docs/design/draft-missing-plugins.txt:
4433         * docs/random/draft-missing-plugins.txt:
4434           Some small updates: update plugin system identifier prefix
4435           ('gstreamer.net' to 'gstreamer'), mention our new install
4436           API in libgstbaseutils rather than libgimme-codec, add
4437           reference to the online docs.
4438
4439 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4440
4441         * win32/common/config.h:
4442           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
4443           use moap cl ci to only check in what is mentioned in the ChangeLog.
4444
4445 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4446
4447         * docs/gst/gstreamer-sections.txt:
4448         * gst/gstelement.h:
4449           Fix up documentation to link to the correct GstGError section.
4450           Add GST_ELEMENT_INFO macro since someone else added a Info message.
4451
4452 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4453
4454         * tools/gst-launch.c: (event_loop):
4455           Make sure that we actually show the important message part of a
4456           warning message.
4457           No need to check if the gerror is not NULL to free; first of all
4458           g_free accepts NULL; and second the default error handler would
4459           segfault if gerror was NULL.
4460
4461 2007-02-21  Wim Taymans  <wim@fluendo.com>
4462
4463         * docs/gst/gstreamer-sections.txt:
4464         Removed docs as well.
4465
4466 2007-02-21  Wim Taymans  <wim@fluendo.com>
4467
4468         * gst/gstmessage.c: (gst_message_parse_duration):
4469         * gst/gstmessage.h:
4470         Remove new messages for release.
4471
4472 2007-02-20  Wim Taymans  <wim@fluendo.com>
4473
4474         * docs/design/part-gstghostpad.txt:
4475         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4476         (gst_ghost_pad_new_full):
4477         Make the ghostpad a parent of the internal pad again for better backward
4478         compatibility. Don't write code that relies on this however.
4479
4480         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4481         (gst_pad_link_check_hierarchy):
4482         Require that parents should be GstElements in the hierarchy check.
4483
4484 2007-02-20  Wim Taymans  <wim@fluendo.com>
4485
4486         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4487         (gst_bin_change_state_func), (bin_query_min_max_init),
4488         (bin_query_latency_fold), (bin_query_latency_done),
4489         (gst_bin_query):
4490         Improve debug info.
4491         Implement latency query.
4492
4493 2007-02-20  Wim Taymans  <wim@fluendo.com>
4494
4495         * docs/design/part-gstghostpad.txt:
4496         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4497         (gst_ghost_pad_internal_do_activate_push),
4498         (gst_ghost_pad_internal_do_activate_pull),
4499         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4500         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4501         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4502         Do not set the internal pad as a parent anymore so we can avoid
4503         hierarchy linking errors when the ghostpad has no parent yet. This also
4504         fixes failed activation because of unlinked internal pads, which in
4505         turn fixes the impossible case where you have to activate a pad before
4506         you can add it to a running element.
4507         Also fix the docs.
4508
4509         * gst/gstpad.c: (pre_activate), (post_activate),
4510         (gst_pad_set_active), (gst_pad_activate_pull),
4511         (gst_pad_activate_push), (gst_pad_check_pull_range):
4512         Add some more debug info.
4513         Mark activation mode in pre_activate so that we don't try to activate in
4514         endless loops. Fixes #385084.
4515
4516 2007-02-19  Wim Taymans  <wim@fluendo.com>
4517
4518         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4519         (gst_base_transform_check_get_range):
4520         Implement a checkgetrange function instead of relying on the default
4521         core behaviour that assumes we can operate in pull mode if we have a
4522         getrange function. First step at fixing #385084.
4523
4524 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
4525
4526         * gst/gstchildproxy.h:
4527         * libs/gst/base/gstbasesink.h:
4528         * libs/gst/base/gstbasesrc.h:
4529         * libs/gst/base/gstbasetransform.h:
4530         More docs coverage and some ChangeLog surgery (add missing names)
4531
4532 2007-02-15  Wim Taymans  <wim@fluendo.com>
4533
4534         * docs/design/part-TODO.txt:
4535         * docs/design/part-activation.txt:
4536         * docs/design/part-block.txt:
4537         * docs/design/part-buffering.txt:
4538         * docs/design/part-clocks.txt:
4539         * docs/design/part-element-source.txt:
4540         * docs/design/part-events.txt:
4541         * docs/design/part-gstbin.txt:
4542         * docs/design/part-gstbus.txt:
4543         * docs/design/part-gstpipeline.txt:
4544         * docs/design/part-live-source.txt:
4545         * docs/design/part-messages.txt:
4546         * docs/design/part-overview.txt:
4547         * docs/design/part-qos.txt:
4548         * docs/design/part-query.txt:
4549         * docs/design/part-states.txt:
4550         * docs/design/part-trickmodes.txt:
4551         Some doc updates. Start renaming from stream_time to running_time where
4552         it was used wrongly.
4553
4554 2007-02-15  Wim Taymans  <wim@fluendo.com>
4555
4556         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4557         Answer LATENCY query.
4558
4559 2007-02-15  Wim Taymans  <wim@fluendo.com>
4560
4561         * tests/check/gst/gstevent.c: (event_probe), (test_event),
4562         (GST_START_TEST):
4563         Improve debugging.
4564
4565 2007-02-15  Wim Taymans  <wim@fluendo.com>
4566
4567         * gst/gstpad.c: (gst_pad_get_internal_links_default),
4568         (gst_pad_dispatcher):
4569         Improve debugging of default pad dispatcher and query functions.
4570
4571 2007-02-15  Wim Taymans  <wim@fluendo.com>
4572
4573         * docs/gst/gstreamer-sections.txt:
4574         Remove old unused method.
4575
4576 2007-02-13  Wim Taymans  <wim@fluendo.com>
4577
4578         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4579         Fix check
4580
4581 2007-02-13  Wim Taymans  <wim@fluendo.com>
4582
4583         * docs/design/part-seeking.txt:
4584         Some small update.
4585
4586         * gst/gstsegment.c: (gst_segment_set_seek):
4587         Revert old bogus change that should make seeking work again.
4588
4589 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4590
4591         * docs/random/ensonic/dynlink.txt:
4592         * docs/random/ensonic/interfaces.txt:
4593         * docs/random/ensonic/receipies.txt:
4594           Possible dynamic reconnection api, plus some type fixes the other two
4595           docs.
4596
4597 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
4598
4599         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4600         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4601         Also check for an absolute path following file:// in the filesrc
4602         element. Remove redundant check and call g_path_is_absolute() on the
4603         unescaped location.
4604
4605 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4606
4607         * docs/design/draft-klass.txt:
4608           Add existing category analysis.
4609           
4610         * gst/gstcaps.c:
4611           Fix doc example, framerate is a fraction.
4612
4613 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4614
4615         * configure.ac:
4616         * docs/gst/Makefile.am:
4617         * docs/gst/gstreamer-sections.txt:
4618         * docs/libs/Makefile.am:
4619           Erm, forgot a bunch of --extra-dir.
4620
4621 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4622
4623         * configure.ac:
4624         * docs/gst/Makefile.am:
4625         * docs/libs/Makefile.am:
4626         * docs/plugins/Makefile.am:
4627           Add crossreferences to glib/gobject docs.
4628
4629 2007-02-12  Wim Taymans  <wim@fluendo.com>
4630
4631         * docs/design/draft-latency.txt:
4632         Small update.
4633
4634         * docs/libs/gstreamer-libs-sections.txt:
4635         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4636         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4637         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4638         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4639         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4640         (gst_base_sink_get_position), (gst_base_sink_query),
4641         (gst_base_sink_change_state):
4642         * libs/gst/base/gstbasesink.h:
4643         API: gst_base_sink_query_latency() to let subclasses query the upstream
4644         latency.
4645         API: gst_base_sink_get_latency() to let subclasses query the configured
4646         latency in the sink.
4647         Implement query and set latency.
4648         Update some docs.
4649         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4650         don't continue preroll when we are flushing. Fixes #405284.
4651
4652         * tests/check/pipelines/stress.c: (change_state_timeout),
4653         (quit_timeout), (GST_START_TEST), (stress_suite):
4654         Test for #405284.
4655
4656 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4657
4658         Patch by: René Stadler <mail at renestadler de>
4659
4660         * docs/gst/gstreamer-sections.txt:
4661         * gst/gsttaglist.c: (_gst_tag_initialize):
4662         * gst/gsttaglist.h:
4663           API: add GST_TAG_REFERENCE_LEVEL (#403597).
4664
4665 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
4666
4667         * docs/libs/Makefile.am:
4668           Fix path to core docs.
4669
4670         * gst/gstbin.c: (gst_bin_get_by_interface),
4671         (gst_bin_iterate_all_by_interface):
4672           Refix docs by also renaming 'interface' to 'iface' in implementation.
4673
4674         * docs/gst/gstreamer-sections.txt:
4675         * gst/gstcaps.c:
4676         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4677         * gst/gstchildproxy.h:
4678         * gst/gstelementfactory.c:
4679         * gst/gstpadtemplate.h:
4680         * libs/gst/controller/gstcontroller.c:
4681         (gst_controlled_property_new):
4682           Document more.
4683
4684 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
4685
4686         * gst/gstbin.h:(gst_bin_get_by_interface),
4687         (gst_bin_iterate_all_by_interface):
4688         Replace interface parameter name by iface as interface is 
4689         a reserved keyword in Visual Studio for C++ projects so it removes
4690         a build error for application developpers using VS.
4691         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4692         Fix a bug on Windows in uri format check. Now the prefix checked
4693         is file:// and next we check if the path after file:// is absolute.
4694         * win32/common/libgstbase.def:
4695         * win32/common/libgstdataprotocol.def:
4696         * win32/common/libgstgstreamer.def:
4697         Add new exported functions.
4698
4699 2007-02-09  Andy Wingo  <wingo@pobox.com>
4700
4701         * tests/check/pipelines/simple-launch-lines.c
4702         (simple_launch_lines_suite, test_tee): Disable tee test until I
4703         have time to fix it :-(
4704
4705         * tests/check/Makefile.am (noinst_HEADERS): 
4706         * tests/check/libs/libsabi.c: 
4707         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4708         * tests/check/gst/gstabi.c: 
4709         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4710
4711         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4712         tests for push and pull tee behavior.
4713
4714         * plugins/elements/gsttee.h: 
4715         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4716         mark as deprecated as well as unimplemented. It was a crack idea.
4717         Add support for tee operating in pull mode, off by default.
4718
4719         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4720         normal-case logs down to LOG, raise errors to WARNING.
4721         (gst_registry_xml_read_cache): Don't log before calling a function
4722         that logs.
4723
4724         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4725         exit (registry finalize).
4726         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4727         DEBUG log when we emit signals that people don't even have the
4728         chance to connect to.
4729         (gst_registry_scan_path_level): Less logging in the normal case.
4730
4731 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4732
4733         Patch by: Michal Benes <michal dot benes at itonis dot tv>
4734
4735         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4736         Correctly generate EOS for non-seekable files. We don't have a total
4737         length for them and would get an unexpected end of file if we only
4738         special-cased for regular files. (Fixes: #404569)
4739
4740 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4741
4742         * tests/check/elements/filesrc.c: (GST_START_TEST),
4743         (filesrc_suite):
4744         Add unit test for the GstURIHandler interface in filesrc. This also
4745         tests the newly added file://localhost/foo/bar support.
4746
4747 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4748
4749         * gst/gstelementfactory.h:
4750           The klass string is not a hierarchy. Add reference to the design doc
4751           for more information and common types.
4752
4753 2007-02-02  Wim Taymans  <wim@fluendo.com>
4754
4755         * gst/gstquery.c: (gst_query_new_latency):
4756         Remove old structure field.
4757
4758 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
4759
4760         * tools/gst-launch.1.in:
4761           Give example for network streaming (#351998)
4762
4763 2007-02-02  Wim Taymans  <wim@fluendo.com>
4764
4765         * docs/gst/gstreamer-sections.txt:
4766         Add docs for new methods.
4767
4768         * gst/gstevent.c: (gst_event_new_latency),
4769         (gst_event_parse_latency):
4770         * gst/gstevent.h:
4771         Add new LATENCY event to configure latency in a pipeline.
4772         API: gst_event_new_latency
4773         API: gst_event_parse_latency
4774
4775         * gst/gstmessage.c: (gst_message_new_buffering),
4776         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4777         (gst_message_new_latency), (gst_message_parse_buffering),
4778         (gst_message_parse_lost_preroll):
4779         * gst/gstmessage.h:
4780         Added messages used in draft-latency.
4781         API: gst_message_new_lost_preroll
4782         API: gst_message_parse_lost_preroll
4783         API: gst_message_new_prerolled
4784         API: gst_message_new_latency
4785
4786         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4787         (gst_query_parse_latency):
4788         * gst/gstquery.h:
4789         Implemented new latency query as in design doc.
4790         API: gst_query_new_latency
4791         API: gst_query_set_latency
4792         API: gst_query_parse_latency
4793
4794 2007-02-02  Wim Taymans  <wim@fluendo.com>
4795
4796         * docs/design/draft-latency.txt:
4797         Slight redesign to allow for dynamic latency adjustments.
4798
4799         * docs/design/part-negotiation.txt:
4800         Fix some typos.
4801
4802 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4803
4804         reviewed by: Wim Taymans <wim@fluendo.com>
4805
4806         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4807         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4808         Allow file://localhost/foo/bar URLs and correctly fail for every other
4809         hostname that one sets. This was gnomevfssrc is linked for those if
4810         installed as it can handle it (#403172)
4811
4812 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4813
4814         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4815
4816         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4817         (unref_data), (gst_collect_pads_add_pad_full):
4818         * libs/gst/base/gstcollectpads.h:
4819         Don't put the previously added destroy notify in the GstCollectData
4820         struct as all it's padding is already used and we don't want to break
4821         ABI. Instead put in the pad's GObject data for now. This should be
4822         cleaned up for 0.11 (#402393).
4823
4824 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4825
4826         reviewed by: Wim Taymans <wim@fluendo.com>
4827
4828         * docs/libs/gstreamer-libs-sections.txt:
4829         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4830         (unref_data), (gst_collect_pads_add_pad),
4831         (gst_collect_pads_add_pad_full):
4832         * libs/gst/base/gstcollectpads.h:
4833         API: Add function to specify a destroy notification for custom
4834         GstCollectData when adding new pads in GstCollectPads (#402393).
4835
4836 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
4837
4838         * po/sv.po:
4839           Update Swedish translation (#378255).
4840
4841 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4842
4843         * docs/design/draft-klass.txt:
4844           Fix the previous change, this is a list of categories and not a hierarchy.
4845
4846 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4847
4848         * docs/design/draft-klass.txt:
4849           Add info about how to get a list of used classes.
4850
4851 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
4852
4853         * plugins/elements/gsttypefindelement.c:
4854         (gst_type_find_element_chain_do_typefinding),
4855         (gst_type_find_element_change_state):
4856           Don't leak found caps in chain function (no idea why that never
4857           showed up as a leak anywhere).
4858
4859 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
4860
4861         * gst/gstplugin.h:
4862           Fix and expand GstPluginDesc API docs.
4863
4864 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4865
4866         * gst/gstcaps.c:
4867         * gst/gstelementfactory.c:
4868         * gst/gstpadtemplate.h:
4869           api doc fixes
4870
4871         * libs/gst/controller/gstcontroller.c:
4872         (gst_controlled_property_new):
4873         * tests/examples/controller/audio-example.c:
4874           comment fixes
4875
4876 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4877
4878         * configure.ac:
4879           comment about refining the xml deps
4880
4881         * docs/manuals.mak:
4882           comments about moving away from jade for docs
4883         
4884         * gst/gst.c:
4885           recommit the ifdefs to use the binary registry
4886         
4887         * gst/gstbin.c: (gst_bin_change_state_func):
4888           this break is obsolete
4889
4890         * gst/gstelementfactory.h:
4891           better GST_ELEMENT_DETAILS docs, add comment about translation
4892
4893         * gst/gstinfo.h:
4894           remove eol slash
4895
4896         * gst/gstobject.c: (gst_signal_object_get_type):
4897           add G_UNLIKELY as usual
4898
4899         * gst/gstpad.c: (gst_pad_event_default):
4900           add fall trhu comment
4901
4902         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4903         (gst_registry_binary_initialize_magic),
4904         (gst_registry_binary_save_string),
4905         (gst_registry_binary_save_pad_template),
4906         (gst_registry_binary_save_feature),
4907         (gst_registry_binary_save_plugin),
4908         (gst_registry_binary_write_cache),
4909         (gst_registry_binary_check_magic),
4910         (gst_registry_binary_load_pad_template),
4911         (gst_registry_binary_load_feature),
4912         (gst_registry_binary_load_plugin),
4913         (gst_registry_binary_read_cache):
4914           comment typo and formatting
4915
4916         * gst/gstutils.c: (gst_element_state_get_name),
4917         (gst_element_state_change_return_get_name):
4918           remove obsolete breaks
4919
4920         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4921           add FIXME 0.11 and remove cpp comment
4922
4923 2007-01-29  Edward Hervey  <edward@fluendo.com>
4924
4925         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4926         Fix print statement in an even more portable way.
4927
4928 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
4929
4930         * docs/gst/gstreamer-sections.txt:
4931         * gst/gstutils.h:
4932           API: add GST_ROUND_DOWN_* macros (#401781).
4933
4934 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
4935
4936         * docs/gst/gstreamer.types.in:
4937         * gst/gstregistry.c: (gst_registry_class_init):
4938           Document registry signals and make gtk-doc pick them up (#401381).
4939
4940 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4941
4942         * docs/pwg/building-testapp.xml:
4943           Add some audioconverts and audioresample to the pipeline, and some
4944           more comments and error handling.
4945
4946 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4947
4948         * docs/manual/manual.xml:
4949         * docs/pwg/pwg.xml:
4950           Fix typo (#400987).
4951
4952 2007-01-26  Wim Taymans  <wim@fluendo.com>
4953
4954         * gst/gstcaps.c: (gst_static_caps_get):
4955         Init caps flags too.
4956
4957 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
4958
4959         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4960
4961         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4962         If not using mmap'ed files try to seek to the end instead of the
4963         start to determine whether we can seek at all. This fixes the case
4964         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4965         seeks for everything afterwards fail. Fixes #400656
4966
4967 2007-01-25  Wim Taymans  <wim@fluendo.com>
4968
4969         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4970         Add some refcount debugging.
4971         Make gst_static_caps_get threadsafe, which is needed when autoplugging
4972         in multiple streaming threads.
4973
4974 2007-01-25  Wim Taymans  <wim@fluendo.com>
4975
4976         Patch by: David Schleef <ds at schleef dot org>
4977
4978         * docs/libs/gstreamer-libs-sections.txt:
4979         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4980         * libs/gst/base/gstadapter.h:
4981         API: gst_adapter_copy() that can reduce the amount of memcpy when
4982         getting data from the adapter. Fixes #388201.
4983
4984 2007-01-25  Edward Hervey  <edward@fluendo.com>
4985
4986         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4987         In print statements, "%x" is for guint. Fixes build on macosx.
4988
4989 2007-01-24  Edward Hervey  <edward@fluendo.com>
4990
4991         * plugins/elements/gstmultiqueue.c:
4992         (gst_multi_queue_loop):
4993         Small fix.
4994         (single_queue_overrun_cb), (single_queue_underrun_cb),
4995         (single_queue_check_full), (gst_single_queue_new):
4996         Implement single queue growth system.
4997         This uses the extra-size properties, and will grow single queues by
4998         that much if one goes full whereas there are others empty. This is
4999         called extra-mode in the code.
5000         When a single queue's levels go back below the initial max-size
5001         limits, it is no longer in extra-mode. This is to ensure we don't
5002         consume too much memory.
5003         Fixes #399875
5004
5005 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
5006
5007         * gst/gst.c: (gst_init_get_option_group):
5008           Make warning about late g_thread_init() calls a bit more explicit,
5009           so that it's more obvious to application developers what they need
5010           to do if a user files a bug against their application.
5011
5012 2007-01-22  Edward Hervey  <edward@fluendo.com>
5013
5014         * plugins/elements/gstmultiqueue.c:
5015         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
5016         Remove previous hack of unsetting the flushing flag for the source pad
5017         instead of activating it. Instead, fix the source pad activate function
5018         so that it no longer depends on having a parent set or not.
5019
5020 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
5021
5022         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
5023
5024         * docs/manual/basics-bus.xml:
5025           Fix example code, gst_element_unref() doesn't exist any longer.
5026
5027 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
5028
5029         Patch by: Mark Nauwelaerts <manauw at skynet be>
5030
5031         * gst/gstpad.c:
5032           Fix two docs typoes (#399094).
5033
5034 2007-01-19  Edward Hervey  <edward@fluendo.com>
5035
5036         * docs/faq/gst-uninstalled:
5037         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
5038         depending on libgstbaseutils can work in uninstalled environment.
5039
5040 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
5041
5042         * gst/gsttaglist.h:
5043         * gst/gsttagsetter.c:
5044         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
5045         statement for new tag.
5046
5047 2007-01-17  Edward Hervey  <edward@fluendo.com>
5048
5049         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
5050         When dynamically creating single queues, activate sinkpad before adding
5051         it.
5052         We should be doing the same thing for the source pad, but we can't
5053         since it would call a method which needs the parent to be set in order
5054         to work propertly. Instead of activating the source pad, we just unset
5055         the flushing flag, which is the minimal requirement for adding a pad
5056         to an element in a state greater than READY.
5057
5058 2007-01-17  Edward Hervey  <edward@fluendo.com>
5059
5060         * docs/faq/gst-uninstalled:
5061         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
5062         Mac OS X.
5063
5064 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5065
5066         * tests/check/gst/gstabi.c:
5067         * tests/check/gst/struct_hppa.h:
5068         * tests/check/libs/libsabi.c:
5069         * tests/check/libs/struct_hppa.h:
5070           Add ABI structs for HPPA (see #393796).
5071
5072 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
5073
5074         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5075           Actually write ABI structs to the file specified in the GST_ABI
5076           environment variable, as the message we print claims we would.
5077
5078 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5079
5080         * tests/check/gst/gsttask.c:
5081           Fix header comment.
5082
5083 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5084
5085         * gst/gsttaglist.c: (_gst_tag_initialize):
5086           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5087           previous two entries.
5088
5089 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5090
5091         * docs/gst/gstreamer-sections.txt:
5092         * gst/gsttaglist.c: (_gst_tag_initialize):
5093         * gst/gsttaglist.h:
5094           Add tag support for beat-per-minute.
5095
5096 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5097
5098         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5099         (gst_registry_binary_initialize_magic),
5100         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5101         (gst_registry_binary_save_pad_template),
5102         (gst_registry_binary_save_feature),
5103         (gst_registry_binary_save_plugin),
5104         (gst_registry_binary_write_cache),
5105         (gst_registry_binary_check_magic),
5106         (gst_registry_binary_load_pad_template),
5107         (gst_registry_binary_load_feature),
5108         (gst_registry_binary_load_plugin),
5109         (gst_registry_binary_read_cache):
5110         * gst/gstregistrybinary.h:
5111           Use glib types, cleanup comments, impement interfaces and uri-types.
5112
5113 2007-01-13  Andy Wingo  <wingo@pobox.com>
5114
5115         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5116         getrange() to return buffers with other caps, while we fix
5117         demuxers and typefind, or otherwise change part-negotiation.txt.
5118
5119 2007-01-12  Andy Wingo  <wingo@pobox.com>
5120
5121         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5122         Factor start/stop into this private function instead of partially
5123         in activate functions and partially in the change_state function.
5124         Fixes setup before the element has changed from READY->PAUSED, as
5125         is the case in pull-mode pipelines.
5126         (gst_base_transform_sink_activate_push)
5127         (gst_base_transform_src_activate_pull): Refactor to use
5128         gst_base_transform_activate().
5129         (gst_base_transform_change_state): Removed, not needed any more.
5130
5131         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5132         Truncate before fixating.
5133         
5134         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5135         Don't set_caps() if the result of fixating is ANY, as it's not
5136         supported, and not necessary in the case of a link with no
5137         template caps on either side. Fixes tests/check/libs/basesrc in
5138         some pull-mode tests.
5139
5140         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5141         (gst_base_transform_init, gst_base_transform_sink_activate_push)
5142         (gst_base_transform_src_activate_pull): 
5143         Track the activation mode.
5144         (gst_base_transform_setcaps): In pull mode, when activating the
5145         src pad, after activating the sink pad, activate the sink pad's
5146         peer, as discussed in part-negotiation.txt.
5147
5148         * libs/gst/base/gstbasesrc.h: 
5149         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5150         vmethod, as in basesink.
5151
5152         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5153
5154         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5155         mode, first proxy the setcaps to the peer pad.
5156         (gst_base_sink_pad_fixate): Add a fixate function that calls the
5157         new fixate vmethod.
5158         (gst_base_sink_default_activate_pull): Rename from
5159         gst_base_sink_activate_pull.
5160         (gst_base_sink_negotiate_pull): New function, performs negotiation
5161         in pull mode before calling ::activate_pull().
5162         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5163         vmethod instead of the default implementation. I have no idea how
5164         this worked before. Negotiate before calling activate_pull.
5165
5166         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5167         sink pads in pull mode. In addition to being correct, fixes
5168         filesrc ! decodebin ! identity ! fakesink.
5169         (gst_pad_get_range, gst_pad_pull_range): Don't call
5170         gst_pad_set_caps() if the caps changes; instead error out with
5171         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5172
5173 2007-01-12  Andy Wingo  <wingo@pobox.com>
5174
5175         * docs/design/part-negotiation.txt: Update with more policy.
5176
5177 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5178
5179         * libs/gst/check/gstbufferstraw.h:
5180         * libs/gst/check/gstcheck.h:
5181           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5182           belongs.
5183
5184 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5185
5186         * tests/check/Makefile.am:
5187         * tests/check/gst/.cvsignore:
5188         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5189         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5190         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5191         (GST_START_TEST), (gst_tag_setter_suite):
5192           Add minimal unit test for beforementioned GstTagSetter bug.
5193
5194 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5195
5196         Patch by: René Stadler <mail at renestadler dot de>
5197
5198         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5199           gst_tag_list_merge() returns a new list, so it's not the best idea
5200           to ingore its return value. Effectively meant that tags could only
5201           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5202           Also add function guard to require a non-NULL taglist as input (has
5203           always been so due to gst_tag_list_copy(), just making it explicit).
5204
5205 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5206
5207         * docs/random/draft-missing-plugins.txt:
5208           Some additions: mention new API that is supposed to be used at the
5209           various stages; short blob about new gst-inspect introspection
5210           option; mention potential future problem with plugins that have
5211           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5212
5213 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5214
5215         * tools/gst-inspect.c:
5216         (print_plugin_automatic_install_info_codecs),
5217         (print_plugin_automatic_install_info_protocols),
5218         (print_plugin_automatic_install_info), (main):
5219         Add --print-plugin-auto-install-info option to gst-inspect, so we can
5220         introspect plugin files and get machine-parsable output that corresponds
5221         to the last bit of the missing-plugin installer string (small gotcha:
5222         doesn't take into account ranks).
5223
5224 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
5225
5226         * configure.ac:
5227         * docs/gst/gstreamer-sections.txt:
5228         * gst/Makefile.am:
5229         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5230         (gst_registry_lookup_locked):
5231         * gst/gstregistry.h:
5232         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5233         (gst_registry_binary_initialize_magic),
5234         (gst_registry_binary_save_string),
5235         (gst_registry_binary_save_pad_template),
5236         (gst_registry_binary_save_feature),
5237         (gst_registry_binary_save_plugin),
5238         (gst_registry_binary_write_cache),
5239         (gst_registry_binary_check_magic),
5240         (gst_registry_binary_load_pad_template),
5241         (gst_registry_binary_load_feature),
5242         (gst_registry_binary_load_plugin),
5243         (gst_registry_binary_read_cache):
5244         * gst/gstregistrybinary.h:
5245         * gst/gstregistryxml.c: (load_feature),
5246         (gst_registry_xml_read_cache):
5247           commit binary registry (disabled by default, see #359653)
5248
5249 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5250
5251         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5252           Fix 'make check' too.
5253
5254 2007-01-10  Andy Wingo  <wingo@pobox.com>
5255
5256         * docs/design/part-negotiation.txt: Fix a typo, add a couple
5257         notes.
5258         
5259         * docs/design/part-negotiation.txt: Update with, um, one way that
5260         pull-mode negotiation might work?
5261
5262         * gst/gstpad.h: 
5263         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5264         that the pad must be a src pad; makes sense to call it the other
5265         way in pull mode, and the logic is symmetric anyway.
5266
5267 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5268
5269         * plugins/elements/gstfilesink.c:
5270           Include <stdio.h> for fseeko().
5271
5272 2007-01-10  Wim Taymans  <wim@fluendo.com>
5273
5274         * gst/gstevent.c:
5275         * gst/gstevent.h:
5276         Reserve LATENCY event.
5277
5278 2007-01-09  Wim Taymans  <wim@fluendo.com>
5279
5280         * docs/design/draft-latency.txt:
5281         Updates.
5282
5283 2007-01-09  Wim Taymans  <wim@fluendo.com>
5284
5285         * docs/design/draft-latency.txt:
5286         Updates.
5287
5288         * gst/gstelement.h:
5289         * gst/gststructure.c:
5290         * gst/gsttrace.c:
5291         Small typo fixes.
5292
5293 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5294
5295         * tests/check/.cvsignore:
5296           Ignore test-registry.xml as well.
5297
5298 2007-01-09  Wim Taymans  <wim@fluendo.com>
5299
5300         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5301         unref data at the end when we are done with the pad.
5302
5303 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5304
5305         * docs/gst/gstreamer-sections.txt:
5306         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5307         (init_post), (gst_deinit), (gst_update_registry):
5308         * gst/gst.h:
5309           API: add gst_update_registry() (#391296).
5310
5311         * tests/check/Makefile.am:
5312         * tests/check/gst/gstregistry.c:
5313         * tests/check/gst/.cvsignore:
5314           Simple unit test for the above.
5315
5316 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5317
5318         * gst/gstregistry.c: (gst_registry_scan_path_level):
5319           Plugin extension on HP-UX is .sl, add that to the list of approved
5320           plugin extensions (see #393796).
5321
5322         * tests/check/gst/gstpad.c: (GST_START_TEST):
5323           ulong => gulong. Fixes compilation with HP-UX compiler.
5324
5325         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5326           Fix compilation if valgrind headers are not available.
5327
5328 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
5329
5330         * win32/common/libgstreamer.def: 
5331           Add new exported function.
5332         * win32/vs6/libgstbase.dsp: 
5333           Add gstdataqueue.c to the build.
5334         * win32/vs6/libgstcoreelements.dsp:
5335           Add gstmultiqueue.c to the build.
5336         
5337 2007-01-06  Andy Wingo  <wingo@pobox.com>
5338
5339         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5340         activate_pull(), providing for a way to specialize the process of
5341         spawning a thread to pull on the sink pad. There is a default
5342         implementation.
5343
5344         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5345         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5346         (gst_base_sink_init): Renamed pad activation functions (inserting
5347         "_pad" in their names). Refactor to use the new activate_pull
5348         vmethod, as appropriate.
5349         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5350         default activate_pull function to start a task pulling from the
5351         sink pad, as before.
5352
5353         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5354         on the pads if necessary, as in push()/chain(). Update docs.
5355         Shouldn't affect existing pull() usage as it is currently only
5356         being used on buffers without caps.
5357
5358 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5359
5360         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5361         (init_pre):
5362           Call g_thread_init() first thing in gst_init() / gst_check_init().
5363           When initialisation is done via gst_init_get_option_group() and
5364           GOption parsing, issue a warning if the GLib thread system has not
5365           been initialised yet by the time gst_init_get_option_group() is
5366           called, as it's quite likely other GLib functions such as
5367           g_option_context_new() have been called already then, and
5368           g_thread_init() must be called before any other GLib function. The
5369           application in question must be fixed in that case, since memory
5370           corruption might happen otherwise.
5371           We issue the warning because even if the GLib folks decide to work
5372           around the problem on their end in future, this is still an issue
5373           with all GLib versions >= 2.10.0, so we should warn until we depend
5374           on a GLib version we know to be safe.
5375           Update documentation as well.
5376           Closes bug #391278.
5377
5378 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5379
5380         * tools/gst-inspect.c: (main):
5381         * tools/gst-launch.c: (main):
5382         * tools/gst-typefind.c: (main):
5383         * tools/gst-xmlinspect.c: (main):
5384           Call g_thread_init() really really early, before any other GLib
5385           function (see #342564 and recent discussion on gtk-devel-list).
5386
5387 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5388
5389         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
5390
5391         * gst/gst_private.h:
5392         * gst/gstconfig.h.in:
5393         * gst/gstinfo.h:
5394           On win32, all the __declspec stuff for symbol exporting is
5395           apparently only needed with MSVC, but doesn't work with MingW.
5396           Fixes compilation with MingW and #391909.
5397
5398 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5399
5400         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5401           Change some GST_ERROR_OBJECT that aren't really errors to
5402           GST_WARNING_OBJECT in order to reduce terminal spam.
5403
5404 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5405
5406         * tests/check/Makefile.am:
5407           disable test again, as there seem to be still race problems
5408
5409 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5410
5411         * tests/check/Makefile.am:
5412         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5413         (GST_START_TEST), (queue_suite):
5414           enable queue test again, add tests for the leaky behaviour
5415
5416 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
5417
5418         * configure.ac:
5419         * tests/examples/Makefile.am:
5420           Compile adapter test/example only if the required headers are
5421           available (fixes #391915).
5422
5423 2007-01-01  David Schleef  <ds@schleef.org>
5424
5425         * gst/gstplugin.c:
5426           Restore the previous signal handler for SIGSEGV instead of
5427           setting to default, since we may have stolen it away from
5428           someone.  (i.e., Mono)
5429
5430 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5431
5432         * docs/random/draft-missing-plugins.txt:
5433           Some small additions and clarifications.
5434
5435 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5436
5437         * gst/gstregistryxml.c: (gst_registry_save_escaped):
5438           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5439           since that can lead to random memory corruptions and crashes
5440           (may or may not be related to #383244, #386711, and #386711).
5441
5442 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5443
5444         * tests/check/.cvsignore:
5445         * tests/check/Makefile.am:
5446           sync .cvsignome and CLEANFILES
5447
5448 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5449
5450         * tests/check/Makefile.am:
5451           fix distcheck
5452
5453 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5454
5455         * docs/design/part-states.txt:
5456           two tiny additional comments
5457         
5458         * gst/gststructure.c:
5459           doc fixing
5460
5461         * tests/check/Makefile.am:
5462         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5463         (GST_START_TEST):
5464           disable test for now, unless it gets fixed
5465
5466 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5467
5468         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5469         (GST_START_TEST):
5470           fix race in underrun test
5471
5472 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5473
5474         * tests/check/elements/.cvsignore:
5475           ignore more
5476
5477         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5478         (GST_START_TEST):
5479           try to narrow test failure
5480
5481 2006-12-21  David Schleef  <ds@schleef.org>
5482
5483         * plugins/elements/gstfakesrc.c:
5484           Use g_random_int_range(), since it produces better random
5485           numbers in a range than almost-correct floating point code.
5486
5487 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5488
5489         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5490         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5491         (gst_check_teardown_sink_pad):
5492           do not automatically (de)activate pads
5493
5494         * tests/check/Makefile.am:
5495         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5496         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5497           add new, yet simple tests for queue
5498
5499         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5500         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5501         * tests/check/elements/filesrc.c: (cleanup_filesrc),
5502         (GST_START_TEST):
5503         * tests/check/elements/identity.c: (cleanup_identity):
5504           consistent pad (de)activation
5505
5506 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5507
5508         Patch by: Sebastian Dröge  <slomo ubuntu com>
5509
5510         * libs/gst/base/gstcollectpads.c:
5511           Fix two doc typos (#387866).
5512
5513 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5514
5515         * docs/manual/advanced-dparams.xml:
5516           Fix typo (g_object_control_properties() doesn't exist).
5517
5518 2006-12-19  Edward Hervey  <edward@fluendo.com>
5519
5520         * gst/gstsegment.c: (gst_segment_set_seek):
5521         Fine tune the cases where the segment start/stop values are really
5522         updated.
5523         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5524         Add tests for the return values of gst_segment_set_seek().
5525
5526 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5527
5528         * gst/gst.c:
5529           Docs typo fix.
5530
5531         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5532         (gst_queue_init):
5533           Fix incorrect documentation and flesh it out a bit more.
5534           Set default values for the max properties on the GParamSpec as well,
5535           so it shows up correctly in gst-inspect.
5536
5537 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
5538
5539         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5540           Correct docs of queue, add more detail and crosslink it more.
5541
5542 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5543
5544         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5545           Print additional debug info when the stream isn't perfectly
5546           timestamped; don't try to use invalid durations.
5547
5548 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5549
5550         * docs/design/Makefile.am:
5551           Dist new design docs.
5552
5553 2006-12-16  Wim Taymans  <wim@fluendo.com>
5554
5555         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5556
5557         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5558         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5559         (gst_collect_pads_stop), (gst_collect_pads_event),
5560         (gst_collect_pads_chain):
5561         * libs/gst/base/gstcollectpads.h:
5562         Add refcounting to the collectpads data so we can track when it's safe
5563         to free the data. Fixes #383382.
5564
5565 2006-12-15  Wim Taymans  <wim@fluendo.com>
5566
5567         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5568         (gst_collect_pads_remove_pad):
5569         Automatically activate/deactivate pads when they are added to a
5570         started/stoped collectpads.
5571
5572 2006-12-15  Wim Taymans  <wim@fluendo.com>
5573
5574         * gst/gstelement.c: (gst_element_add_pad):
5575         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5576         * gst/gstpad.c: (gst_pad_init):
5577         Set pads to FLUSHING when they are created. Check, warn and fix when a
5578         demuxer adds an inactive pad to itself when running. Fixes #339326.
5579
5580 2006-12-15  Wim Taymans  <wim@fluendo.com>
5581
5582         * gst/gstelement.c: (gst_element_class_init),
5583         (gst_element_default_send_event), (gst_element_send_event),
5584         (gst_element_default_query), (gst_element_query):
5585         Expose default element send_event and query handling as vmethods that
5586         subclasses can chain up to.
5587
5588 2006-12-15  Wim Taymans  <wim@fluendo.com>
5589
5590         * gst/gstelement.c: (gst_element_set_state_func):
5591         Small documentation fixes.
5592
5593 2006-12-15  Wim Taymans  <wim@fluendo.com>
5594
5595         * docs/design/draft-latency.txt:
5596         Checked in draft for handling latency in pipelines.
5597
5598 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5599
5600         * Makefile.am:
5601         * gstreamer.doap:
5602         * gstreamer.spec.in:
5603           adding .doap file
5604
5605 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
5606
5607         * gst/gst.c: (init_pre), (init_post):
5608           init_pre() and init_post() might be called via our GOptionGroup or
5609           from gst_init(), and we should skip both of them if we've already
5610           been initialised, otherwise we will init some things twice or add
5611           two default log functions.
5612
5613 2006-12-13  Edward Hervey  <edward@fluendo.com>
5614
5615         * docs/manual/basics-bus.xml:
5616         No, gst_main_loop does not exist. Its g_main_loop.
5617         Discovered by somebody who abused the copy-paste technique of coding :)
5618
5619 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5620
5621         * gst/gstghostpad.c:
5622           Log ghostpad debug stuff to the GST_PADS category as well rather
5623           than just to the default category.
5624
5625 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5626
5627         * configure.ac:
5628         * gst/gst.c: (init_pre):
5629           Add some basic system details such as OS and architecture
5630           to the debug output if possible, courtesy of uname().
5631
5632 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5633
5634         * docs/gst/running.xml:
5635           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5636           environment variables.
5637
5638 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5639
5640         * tests/check/gst/gstbin.c: (GST_START_TEST):
5641         It is acceptable to have a refcount of 2 or 3 at this point in the
5642         test, because the pipeline might be just posting its state_change
5643         message. The next line then waits for that message to appear using
5644         bus_poll, so that should be fine too.
5645
5646 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5647
5648         * gst/gst.c: (ensure_current_registry_forking):
5649         Ignore EINTR when reading from the child registry pipe.
5650         Explicitly ignore the return value from close, since it makes no
5651         difference.
5652
5653         * gst/gstminiobject.c: (gst_mini_object_ref),
5654         (gst_mini_object_unref):
5655         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5656
5657         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5658         When removing cached plugins, remove their features too, so they're
5659         not visible after they've disappeared.
5660
5661         * gst/gstutils.c: (prepare_link_maybe_ghosting):
5662         In the unlikely case that we are linking pads with no parents, don't
5663         crash trying to get the non-existent parent bin.
5664
5665         * gst/parse/grammar.y:
5666         Output debug in the PIPELINE category
5667
5668 2005-03-08  Wim Taymans  <wim@fluendo.com>
5669
5670         Patch by: René Stadler <mail at renestadler dot de>
5671
5672         * gst/gstclock.c: (gst_clock_new_periodic_id):
5673         Reject invalid clock times for interval of periodic ids.
5674         Fixes ##383506.
5675
5676 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5677
5678         * gst/gstelementfactory.c: (gst_element_factory_create):
5679         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5680         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5681         * tools/gst-inspect.c: (print_element_info):
5682         Fix refcounting of gst_plugin_feature_load to match the docs. 
5683         Fixes: #380129
5684
5685 2006-12-07  Wim Taymans  <wim@fluendo.com>
5686
5687         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5688         (gst_base_sink_get_position):
5689         Improve debugging of events.
5690
5691 2006-12-07  Wim Taymans  <wim@fluendo.com>
5692
5693         Patch by: René Stadler <mail at renestadler dot de>
5694
5695         * gst/gstclock.c: (gst_clock_id_wait):
5696         Make period ids add the interval to the origial requested time instead
5697         of the possibly updated time which can be wrong when there are multiple
5698         waiters for the same id. Fixes #382592.
5699
5700         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5701         (gst_system_clock_id_wait_jitter_unlocked),
5702         (gst_system_clock_id_wait_jitter):
5703         Fix restart in the async notify thread when an async entry is added to
5704         the front of the list. Fixes #381492. 
5705
5706         * tests/check/gst/gstsystemclock.c: (store_callback),
5707         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5708         Added test for multiple async waits.
5709         Added test for async wait order.
5710
5711 2006-12-07  Wim Taymans  <wim@fluendo.com>
5712
5713         * gst/gstbin.c: (gst_bin_query):
5714         Add some more docs about the POSITION query.
5715
5716 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5717
5718         * configure.ac:
5719         Bump version nano - back to CVS.
5720
5721 === release 0.10.11 ===
5722
5723 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
5724
5725         * configure.ac:
5726           releasing 0.10.11, "Love never runs on time"
5727
5728 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
5729
5730         * win32/common/libgstbase.def:
5731         * win32/common/libgstreamer.def:
5732         * win32/vs8/libgstbase.vcproj:
5733         * win32/vs8/libgstcoreelements.vcproj:
5734         * win32/vs8/libgstreamer.vcproj:
5735         Fix compilation on win32 under VS8
5736         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5737         Partially fixes #381175
5738
5739 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5740
5741         * gst/gstvalue.c: (gst_value_compare_fraction):
5742         If someone is foolish enough to compare 2 fractions with denominator =
5743         0, return UNORDERED rather than aborting.
5744
5745 2006-11-28  Edward Hervey  <edward@fluendo.com>
5746
5747         * libs/gst/base/Makefile.am:
5748         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5749         (gst_data_queue_base_init), (gst_data_queue_class_init),
5750         (gst_data_queue_init), (gst_data_queue_new),
5751         (gst_data_queue_cleanup), (gst_data_queue_finalize),
5752         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5753         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5754         (gst_data_queue_is_empty), (gst_data_queue_is_full),
5755         (gst_data_queue_set_flushing), (gst_data_queue_push),
5756         (gst_data_queue_pop), (gst_data_queue_drop_head),
5757         (gst_data_queue_set_property), (gst_data_queue_get_property):
5758         * libs/gst/base/gstdataqueue.h:
5759         New GstDataQueue object for threadsafe queueing. Most useful for
5760         elements that need some queueing functionnality.
5761         * docs/libs/gstreamer-libs-docs.sgml:
5762         * docs/libs/gstreamer-libs-sections.txt:
5763         Insert documentation for GstDataQueue
5764         * plugins/elements/Makefile.am:
5765         * plugins/elements/gstelements.c:
5766         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5767         (gst_multi_queue_class_init), (gst_multi_queue_init),
5768         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5769         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5770         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5771         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5772         (gst_multi_queue_loop), (gst_multi_queue_chain),
5773         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5774         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5775         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5776         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5777         (wake_up_next_non_linked), (compute_next_non_linked),
5778         (single_queue_overrun_cb), (single_queue_underrun_cb),
5779         (single_queue_check_full), (gst_single_queue_new):
5780         * plugins/elements/gstmultiqueue.h:
5781         New multiqueue element, using GstDataQueue. Used for queuing multiple
5782         streams.
5783         Closes #344639 and #347785
5784
5785 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
5786
5787         * docs/pwg/advanced-types.xml:
5788           add more missing type details
5789
5790         * tools/gst-run.c: (main):
5791           remove unused variable
5792
5793 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
5794
5795         * docs/libs/Makefile.am:
5796         * docs/libs/gstreamer-libs.types:
5797           add types of base classes to enable gobject specific stuff in the docs
5798
5799         * docs/random/ensonic/embedded.txt:
5800           more ideas about isolating platform specific things
5801
5802 2006-11-20  Wim Taymans  <wim@fluendo.com>
5803
5804         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5805
5806         * libs/gst/check/gstcheck.h:
5807         Fix compilation and running against 0.9.4. Fixes #377332.
5808
5809 2006-11-20  Wim Taymans  <wim@fluendo.com>
5810
5811         * gst/gstsegment.c: (gst_segment_set_seek),
5812         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5813         (gst_segment_to_running_time):
5814         Fix boundary checking in to_running_time() and to_stream_time().
5815         Fixes #377183.
5816
5817         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5818         stream and running time can now be calculated for the complete
5819         clipped segment.
5820
5821 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
5822
5823         * gst/gstpad.c: (gst_pad_push_event):
5824           Can't access event structure after giving away ownership of
5825           the event.
5826
5827 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
5828
5829         * docs/random/ensonic/embedded.txt:
5830         * docs/random/ensonic/profiling.txt:
5831         * docs/random/ensonic/receipies.txt:
5832           more thinking
5833
5834 2006-11-13  Wim Taymans  <wim@fluendo.com>
5835
5836         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5837
5838         * gst/gstpad.c:
5839         Fix documentation for gst_pad_dispatcher. Fixes #374475.
5840
5841 2006-11-13  Wim Taymans  <wim@fluendo.com>
5842
5843         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5844
5845         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5846         Store new length in segment duration so we don't keep on calling the
5847         potentially expensize get_size() call. Fixes #370865.
5848
5849 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
5850
5851         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
5852
5853         * win32/common/libgstreamer.def:
5854           Add two missing symbols (#366492).
5855
5856 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
5857
5858         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5859         (gst_adapter_take_buffer):
5860         Fix format string to use all its arguments.
5861         Remove useless >= check on a guint
5862
5863 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5864
5865         * tests/examples/adapter/.cvsignore:
5866         Ignore build file as commanded by the build-bot
5867
5868 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5869
5870         * tests/examples/adapter/Makefile.am:
5871         * tests/examples/adapter/adapter_test.c: (run_test_take),
5872         (run_test_take_buffer), (run_tests), (main):
5873
5874         Add new files from the previous commit
5875
5876 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5877
5878         * Makefile.am:
5879         * configure.ac:
5880         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5881         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5882         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5883         * libs/gst/base/gstadapter.h:
5884         * tests/check/libs/adapter.c: (create_and_fill_adapter),
5885         (GST_START_TEST), (gst_adapter_suite):
5886         * tests/examples/Makefile.am:
5887         Do some optimisation work in GstAdapter to avoid copies in more cases.
5888         It could still do slightly better by merging buffers when
5889         gst_buffer_is_span_fast is true, but is already faster. 
5890
5891         Also, avoid traversing a single-linked list to append each incoming 
5892         buffer inside the adapter.
5893
5894         Add simple test app that times the adapter behaviour in different
5895         situations, and extend the unit test to check that bytes enter and
5896         exit the adapter in their original order.
5897
5898 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
5899
5900         * docs/random/draft-missing-plugins.txt:
5901           Update: use element message instead of adding a new message
5902           type to the core; don't provide GStreamer API to initiate the
5903           plugin download, just provide API to compose the strings needed
5904           and let an external libgimmestuff handle the rest.
5905
5906 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
5907
5908         * tools/gst-inspect.c: (print_element_properties_info):
5909         Print a string instead of 'unknown type' for GValueArray properties
5910
5911 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
5912
5913         * docs/random/draft-missing-plugins.txt:
5914         More small fixes.
5915
5916 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5917
5918         * tests/examples/typefind/typefind.c: (type_found), (main):
5919           Make typefind element example work again (#371894); add a
5920           license header.
5921
5922 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5923
5924         * docs/random/draft-missing-plugins.txt:
5925           Commit initial draft about how to deal with missing plugins,
5926           needs work (API too).
5927
5928 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
5929
5930         * docs/pwg/advanced-types.xml:
5931           documents the new caps elements (see #363118)
5932
5933 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5934
5935         * gst/gstplugin.c: (gst_plugin_load_file):
5936         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5937         (gst_file_src_map_region), (gst_file_src_start):
5938         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5939         (gst_file_index_commit):
5940           Use g_strerror() instead of strerror() - we want UTF-8.
5941
5942 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5943
5944         Patch by: Peter Kjellerstedt <pkj at axis com>
5945
5946         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5947           Another printf fix (#371493).
5948
5949 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5950
5951         * tests/check/gst/gsttag.c:
5952           relicence (okay with author=company)
5953
5954 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5955
5956         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5957         (gst_pad_push_event):
5958           Enhance debug and improve docs
5959         
5960         * gst/gsturi.c:
5961           Fix docs
5962
5963 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5964
5965         * docs/random/ensonic/distributed.txt:
5966         * docs/random/ensonic/profiling.txt:
5967           more ideas
5968
5969 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5970
5971         * docs/gst/gstreamer-sections.txt:
5972           add new API and fix the build
5973           
5974         * gst/gstbin.c: (gst_bin_recalc_state):
5975         * gst/gstelement.c: (gst_element_message_full),
5976         (gst_element_get_state_func), (gst_element_set_state_func):
5977           use new API and improve logging
5978         
5979         * gst/gstutils.c: (gst_element_state_change_return_get_name):
5980         * gst/gstutils.h:
5981           API: add function to get StateChangereturn names to improve logs 
5982
5983 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5984
5985         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5986           I'm considering shooting the next person to put strerror stuff
5987           in the translateable part of the message.
5988
5989 2006-11-03  Wim Taymans  <wim@fluendo.com>
5990
5991         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5992         Get the type and printf conversion specifiers right.
5993
5994 2006-11-03  Wim Taymans  <wim@fluendo.com>
5995
5996         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5997
5998         * gst/gstpad.c: (gst_pad_init), (pre_activate),
5999         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
6000         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
6001         Some small cleanups. Improve debugging.
6002         * gst/gstpad.h:
6003         Signal all waiting threads with a broadcast instead of just one.
6004         Fixes #369942.
6005
6006 2006-11-03  Wim Taymans  <wim@fluendo.com>
6007
6008         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
6009         (gst_fd_src_create):
6010         Add some debugging. 
6011         Only update fd when it's different from the old.
6012
6013 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6014
6015         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
6016           Printf fixes for PPC/OSX, take two (#369366).
6017
6018 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6019
6020         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
6021
6022         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6023         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6024         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
6025           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
6026           don't cast to long long for portability reasons, but use
6027           GLib's types instead.
6028
6029 2006-10-30  Michael Smith  <msmith@fluendo.com>
6030
6031         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6032           Get the arguments to lseek() the right way around.
6033           Fixes 367677.
6034
6035 2006-10-30  Wim Taymans  <wim@fluendo.com>
6036
6037         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
6038
6039         * gst/gstinfo.h:
6040         _declspec should be __declspec (two underscores, not one). Fixes 366572.
6041
6042 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
6043
6044         Patch by: Kjartan Maraas  <kmaraas at gnome org>
6045
6046         * docs/design/part-MT-refcounting.txt:
6047         * docs/random/wtay/capsnego2-docs:
6048         * gst/gstclock.c:
6049         * gst/gstxml.c:
6050           Typo fixes (#366212).
6051
6052 2006-10-28  Wim Taymans  <wim@fluendo.com>
6053
6054         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6055
6056         * gst/gst.c:
6057         * win32/common/libgstbase.def:
6058         * win32/common/libgstreamer.def:
6059         * win32/vs8/libgstbase.vcproj:
6060         * win32/vs8/libgstcontroller.vcproj:
6061         Add needed entries in .def files.
6062         Use HAVE_UNISTD_H.
6063         Rearrange def files in vs8 solutions. Fixes #366286.
6064
6065 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
6066
6067         * win32/common/gstconfig.h:
6068           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
6069           hand-made win32 gstconfig.h. Fixes #366321.
6070
6071 2006-10-27  Wim Taymans  <wim@fluendo.com>
6072
6073         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
6074         (gst_ghost_pad_new_full):
6075         Make acceptcaps return TRUE when we don't have a target, just like
6076         setcaps does.
6077
6078 2006-10-27  Wim Taymans  <wim@fluendo.com>
6079
6080         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6081         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6082
6083 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6084
6085         * gst/gststructure.c: (gst_structure_id_set_value):
6086           If someone tries to set a non-UTF8 string field on a structure,
6087           don't just print a warning, but also ignore the request and do
6088           not change/add that field to the structure.
6089
6090         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6091           Test for the above.
6092
6093 2006-10-25  David Schleef  <ds@schleef.org>
6094
6095         * gst/gstinfo.c:
6096           g_hash_table_insert() needs a cast to a non-const pointer duh.
6097
6098 2006-10-25  David Schleef  <ds@schleef.org>
6099
6100         * gst/gstinfo.c:
6101         * gst/gstinfo.h:
6102           Change name parameter of _gst_debug_register_funcptr to const
6103           to reflect the constness of its use in the function as well
6104           as to quiet a gcc warning.
6105
6106 2006-10-25  Edward Hervey  <edward@fluendo.com>
6107
6108         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6109         Don't push the buffer if it's empty.
6110         Closes #363095
6111
6112 2006-10-24  Wim Taymans  <wim@fluendo.com>
6113
6114         * gst/gstevent.h:
6115         Add small comment.
6116
6117         * libs/gst/base/gstbasetransform.c:
6118         (gst_base_transform_sink_eventfunc):
6119         Debug segment values *after* updating them as this is more
6120         interesting.
6121
6122 2006-10-23  Wim Taymans  <wim@fluendo.com>
6123
6124         * docs/design/part-events.txt:
6125         Update some docs.
6126
6127         * docs/design/part-block.txt:
6128         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6129         (gst_pad_push_event):
6130         Revert BLOCKING patch, it tries to be smart without really having a
6131         clear idea what or how. So, now we discard all FLUSHING events again on
6132         a blocking pad. Should fix gnonlin again.
6133
6134 2006-10-23  Wim Taymans  <wim@fluendo.com>
6135
6136         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6137
6138         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6139         (gst_base_src_start), (gst_base_src_activate_push):
6140         Make sure size is always initialized. Fixes #364388.
6141
6142 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
6143
6144         * docs/random/ensonic/distributed.txt:
6145           add some ideas about doing distributed processing
6146
6147         * docs/random/ensonic/profiling.txt:
6148           get_rusage look promising
6149
6150 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6151
6152         * docs/manual/basics-helloworld.xml:
6153           Add a cast in example to fix compile warning
6154
6155 2006-10-18  Wim Taymans  <wim@fluendo.com>
6156
6157         * gst/gstsegment.c: (gst_segment_set_last_stop),
6158         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6159         Relax arg checking again, -1 is allowed.
6160
6161 2006-10-18  Wim Taymans  <wim@fluendo.com>
6162
6163         * gst/gstsegment.c: (gst_segment_set_last_stop),
6164         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6165         _set_last_stop() must be with a value != -1
6166         A _TYPE_SET to -1 means seek to 0.
6167         Calc last_stop correctly for negative rates.
6168         Make sure we work with positive durations when updating a segment.
6169
6170 2006-10-18  Wim Taymans  <wim@fluendo.com>
6171
6172         * docs/design/part-live-source.txt:
6173         * gst/gstclock.h:
6174         Small docs fixes.
6175
6176 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
6177
6178         * gst/gstbuffer.h:
6179           Add an explicit cast to GstBuffer** to keep old code that added an
6180           explicit cast to GstMiniObject** for gst_mini_object_replace()
6181           compiling without warning.
6182
6183 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6184
6185         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6186           check for validity of dates
6187
6188 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6189
6190         * docs/gst/gstreamer-sections.txt:
6191           Forgot this one, makes gtk-doc shut up.
6192
6193 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6194
6195         Patch by: Peter Kjellerstedt <pkj at axis com>
6196
6197         * gst/gstobject.h:
6198           Don't define xmlNodePtr to gpointer if the core was built with
6199           --disable-loadsave and --disable-registry, this will break
6200           applications that want to use libxml2 but are buildling against a
6201           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6202           instead so we don't have to mess with the libxml2 namespace
6203           (#361675).
6204
6205 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6206
6207         * gst/gstbuffer.h:
6208           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6209           type-punned pointer warnings.
6210
6211 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6212
6213         * gst/gstelement.h:
6214           Add casts to the correct return type to state <=> state transition
6215           macros.
6216
6217 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
6218
6219         * docs/design/part-live-source.txt:
6220           describe howto handle latency
6221         
6222         * docs/random/ensonic/profiling.txt:
6223           more ideas
6224
6225         * tools/gst-plot-timeline.py:
6226           fix log parsing for solaris, remove unused function
6227
6228 2006-10-16  Wim Taymans  <wim@fluendo.com>
6229
6230         * docs/design/part-trickmodes.txt:
6231         * gst/gstevent.c:
6232         Update some docs regarding reverse playback.
6233
6234 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6235
6236         Patch by: Marcus Granado  <mrc dot gran at gmail com>
6237
6238         * win32/vs8/grammar.vcproj:
6239           Error out with a warning if glib-genmarshal.exe is not in path,
6240           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6241
6242 2006-10-13  Wim Taymans  <wim@fluendo.com>
6243
6244         * gst/gstsegment.c: (gst_segment_set_seek):
6245         When seeking to stop -1, set last_stop (current position) to the
6246         duration of the segment.
6247
6248 2006-10-13  Wim Taymans  <wim@fluendo.com>
6249
6250         * gst/gstelement.h:
6251         Clarify _NO_PREROLL a bit more.
6252
6253         * gst/gstevent.c:
6254         Fix docs.
6255
6256         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6257         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6258         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6259         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6260         due to wrong locking order. Fixes #361769.
6261         Remove some redundant/misplaced checks in pad_block.
6262
6263         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6264         For negative rates, count backwards from the duration.
6265
6266 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6267
6268         * gst/gsterror.c: (_gst_library_errors_init):
6269           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6270           up with something better).
6271
6272 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6273
6274         * win32/vs6/libgstreamer.dsp:
6275         * win32/vs7/libgstreamer.vcproj:
6276         * win32/vs8/libgstreamer.vcproj:
6277           Don't reference glib-compat.c which is currently not used and not
6278           disted; add gstquark.c which was recently added. Fixes #361730.
6279
6280 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6281
6282         * win32/common/libgstbase.def:
6283         * win32/common/libgstcontroller.def:
6284         * win32/common/libgstreamer.def:
6285           Add gst_caps_merge() and a bunch of other recently-added functions.
6286           Fixes #361732.
6287
6288 2006-10-11  Wim Taymans  <wim@fluendo.com>
6289
6290         * docs/plugins/gstreamer-plugins.args:
6291         * docs/plugins/inspect/plugin-coreelements.xml:
6292         * docs/plugins/inspect/plugin-coreindexers.xml:
6293         Update element args.
6294
6295         * gst/gstsystemclock.c:
6296         Small comment update.
6297
6298         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6299         (gst_tee_request_new_pad), (gst_tee_release_pad),
6300         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6301         (gst_tee_sink_activate_pull):
6302         * plugins/elements/gsttee.h:
6303         Some tee loving:
6304         Add default property defines.
6305         Implement release pad function.
6306         Give properties better blubs etc.
6307         Activate pads before adding them to a running tee.
6308         Do simple buffer_alloc on the first requested pad.
6309         Post error when activation fails.
6310
6311 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6312
6313         * gst/gst.c: (ensure_current_registry_forking):
6314           Check return value of write() to make compiler happy.
6315
6316 2006-10-11  Wim Taymans  <wim@fluendo.com>
6317
6318         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6319
6320         * plugins/elements/gstqueue.c: (gst_queue_chain):
6321         Recheck queue filledness after signalling the overrun when we're about
6322         to leak downstream because we released the lock when emitting the signal
6323         and the queue could be empty again. Fixes #352345.
6324
6325 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6326
6327         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6328           Fix refcounting here too, just like we did for _new_valist() a few
6329           days ago (#357180) (thanks to René Stadler). Also remove all those
6330           'Since: 0.9' from the gtk-doc blobs.
6331
6332         * tests/check/libs/controller.c: (controller_refcount_new_list),
6333         (gst_controller_suite):
6334           Unit test for the above.
6335
6336 2006-10-10  Wim Taymans  <wim@fluendo.com>
6337
6338         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6339
6340         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6341         (gst_pad_save_thyself):
6342         Update some docs.
6343         Write pad direction in XML output. Fixes #345496.
6344
6345 2006-10-10  Wim Taymans  <wim@fluendo.com>
6346
6347         Patch by: René Stadler <mail at renestadler dot de>
6348
6349         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6350         (gst_controller_new_list), (_gst_controller_dispose),
6351         (_gst_controller_finalize), (_gst_controller_class_init):
6352         Take ref to controlled object so that it cannot disappear. 
6353         Fixes #357432.
6354
6355 2006-10-10  Wim Taymans  <wim@fluendo.com>
6356
6357         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6358         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6359         (gst_check_teardown_sink_pad):
6360         Activate/deactivate pads in setup/teardown respectively.
6361
6362 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6363
6364         Patch by: Josep Torre Valles <josep@fluendo.com>
6365
6366         * gst/Makefile.am:
6367         Cast values when making gstenumtypes.h.  This pacifies Forte
6368         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6369         in the enumeration.
6370
6371 2006-10-09  Wim Taymans  <wim@fluendo.com>
6372
6373         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6374         Rename some more @cur to @start to fix docs. 
6375
6376         * gst/gstsegment.c: (gst_segment_set_seek):
6377         Fix typo.
6378         time and start must always stay in sync as defined in design doc.
6379
6380         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6381         Rename param to fix docs.
6382
6383         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6384         Check that start and time are in sync.
6385
6386         * tests/check/pipelines/parse-launch.c:
6387         (gst_parse_test_element_change_state):
6388         Activate pad before adding to the element.
6389
6390 2006-10-09  Wim Taymans  <wim@fluendo.com>
6391
6392         * docs/design/part-qos.txt:
6393         Fix typo.
6394
6395         * gst/gstevent.c:
6396         * gst/gstevent.h:
6397         Update seek event docs regarding negative rates.
6398         Rename @cur to @start. 
6399
6400         * gst/gstsegment.c: (gst_segment_set_seek):
6401         * gst/gstsegment.h:
6402         Update set_seek docs regarding negative rates.
6403         Correctly update last_stop to @stop when dealing with negative
6404         rates.
6405         Rename @cur to @start. 
6406
6407         * tests/check/gst/gstpad.c: (GST_START_TEST):
6408         Activate pads before trying to use them.
6409
6410         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6411         (gst_segment_suite):
6412         Add simple check for segments and negative rates.
6413
6414 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6415
6416         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6417         * gst/gsttaglist.h:
6418         * docs/gst/gstreamer-sections.txt:
6419           API: add gst_tag_list_is_empty() (#360467).
6420
6421         * tests/check/gst/gsttag.c: (GST_START_TEST):
6422           And a test case.
6423
6424 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6425
6426         * gst/gstmessage.h:
6427         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6428         a value that doesn't fit on enumeration.
6429
6430 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6431
6432         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6433         Remove local debugging system and use Gstreamer's instead.
6434
6435 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6436
6437         Patch by: Josep Torre Valles <josep@fluendo.com>
6438
6439         * common/m4/gst-error.m4:
6440         Disable warning of statement not reached on Forte.
6441         * gst/gstmessage.h:
6442         Fix warning on Forte (value doesn't fit on enumeration).
6443         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6444         Fix warning on Forte (value doesn't fit on enumeration).
6445         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6446         DEBUG macro says it takes minimum of 2 args and so Forte
6447         complains about the use with just 1 arg.
6448         * plugins/elements/gstfdsink.c:
6449         * plugins/elements/gstfdsrc.c:
6450         * plugins/elements/gstfilesink.c:
6451         * plugins/elements/gstfilesrc.c:
6452         Use correct return type for the uri handler implementations.
6453
6454         All these fix warnings in Forte.  Fixes bug #360860.
6455
6456 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6457
6458         * gst/gstelement.h:
6459           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6460           format string, so don't use G_GNUC_PRINTF for those versions.
6461
6462 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6463
6464         * gst/gsttaglist.c: (gst_is_tag_list):
6465         * gst/gsttaglist.h:
6466           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6467
6468         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6469           Small test for the above.
6470
6471 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6472
6473         * gst/gsttaglist.h:
6474           Less tabs, more spaces.
6475
6476 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
6477
6478         * gst/gstinfo.h:
6479           Those two function declarations do actually belong there, revert
6480           commit from yesterday that turned them intro macros.
6481
6482 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6483
6484         Patch by: Josep Torre Valles <josep@fluendo.com>
6485
6486         * gst/gst.c: (gst_init_get_option_group):
6487         Fix empty declaration and type mismatch.
6488         * gst/gstbin.c: (gst_bin_change_state_func):
6489         Fix type mismatch.
6490         * gst/gstelement.c: (gst_element_continue_state),
6491         (gst_element_set_state_func), (gst_element_change_state),
6492         (gst_element_change_state_func):
6493         Fix type mismatches.
6494         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6495         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6496         Cast as appropriate.
6497         * gst/gstobject.c: (gst_class_signal_connect):
6498         Cast as appropriate.  The function pointer parameter really
6499         has the wrong type but would break API if we change it.
6500         * gst/gstquery.c:
6501         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6502         order of including string.h.
6503         * gst/gstutils.c: (gst_element_state_get_name):
6504         Remove unreachable line.
6505         * gst/gstxml.c: (gst_xml_parse_doc):
6506         Fix type mismatch.
6507         All these caught by Forte.
6508
6509 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6510
6511         Patch by: Josep Torre Valles <josep@fluendo.com>
6512
6513         * common/m4/gst-error.m4:
6514         Fixed bug #360151.
6515         We need to disable warnings on Forte for empty declarations
6516         due to gst-indent adding ;s to lines that just use macros
6517         where the macro actually doesn't need a ; at end to end
6518         statement.
6519
6520 2006-10-06  Wim Taymans  <wim@fluendo.com>
6521
6522         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6523         (gst_file_sink_close_file), (gst_file_sink_event),
6524         (gst_file_sink_render):
6525         Add some FIXME for the NEWSEGMENT handling.
6526
6527 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6528
6529         * gst/parse/grammar.y:
6530         Remove static function gst_parse_element_lock as all it does
6531         is return.  Looks like cruft from 0.8.
6532
6533 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6534
6535         Patch by: Josep Torre Valles <josep@fluendo.com>
6536
6537         * common/m4/gst-error.m4:
6538         * configure.ac:
6539         * libs/gst/net/Makefile.am:
6540         Fix a compilation issue with Forte on Solaris.  inet_aton is in
6541         libresolv.
6542
6543 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6544
6545         * gst/gstpad.c: (pre_activate):
6546         * gst/gstregistry.c: (gst_registry_scan_path_level):
6547         * gst/gstregistryxml.c: (load_plugin):
6548         * libs/gst/controller/gstcontroller.c:
6549         (gst_controlled_property_set_interpolation_mode):
6550         * libs/gst/dataprotocol/dataprotocol.c:
6551         (gst_dp_packet_from_event_1_0):
6552         * libs/gst/net/gstnetclientclock.c:
6553         (gst_net_client_clock_observe_times):
6554         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6555           Printf fixes.
6556
6557 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6558
6559         * configure.ac:
6560         * docs/gst/gstreamer-sections.txt:
6561         * gst/gstconfig.h.in:
6562         * gst/gstelement.h:
6563         * gst/gstinfo.h:
6564           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6565           whether we can use G_GNUC_PRINTF in other header files and at
6566           least check the printf format/arguments of debug messages and
6567           GST_ELEMENT_ERROR messages when the printf extension is not
6568           being used.
6569           Replace more tabs with spaces in gstinfo.h and remove two spurious
6570           function declarations in GST_DISABLE_DEBUG part with macros.
6571
6572 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6573
6574         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6575           More docs for the sync-message signal (mention that it is not
6576           emitted by default); log message structures of messages posted on
6577           the bus as well.
6578
6579 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
6580
6581         * gst/gst.c: (ensure_current_registry_forking):
6582         Use a pipe pair to receive status results from the forked child, and
6583         ignore the result from waitpid. Fixes #355499
6584
6585 2006-10-02  Wim Taymans  <wim@fluendo.com>
6586
6587         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6588         (gst_ghost_pad_suite):
6589         Fix leak in check.
6590
6591 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6592
6593         * gst/gstpad.c:
6594           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6595
6596 2006-10-02  Edward Hervey  <edward@fluendo.com>
6597
6598         * docs/design/part-block.txt:
6599         Further explain the use of flushing on blocked pads.
6600         * docs/gst/gstreamer-sections.txt:
6601         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6602         (gst_pad_push_event):
6603         * gst/gstpad.h:
6604         Added new GstPadFlag : GST_PAD_BLOCKING.
6605         Adds the notion of pads really blocking, which enables to properly
6606         handle FLUSH_START/FLUSH_STOP events on blocked pads.
6607         Fixes #358999
6608         API: gst_pad_is_blocking()
6609         API: GST_PAD_IS_BLOCKING() macro
6610         API: GST_PAD_BLOCKING GstPadFlag
6611         
6612 2006-10-02  Wim Taymans  <wim@fluendo.com>
6613
6614         Patch by: mrcgran <mrc.gran at gmail dot com>
6615
6616         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6617         Filter the proxied caps against the padtemplate if we have one.
6618
6619         * gst/gstquery.c: (gst_query_new_segment):
6620         Add include for gstinfo.h so that compilation with
6621         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6622
6623 2006-10-02  Wim Taymans  <wim@fluendo.com>
6624
6625         Patch by: Alessandro Decina  <alessandro at nnva org>
6626
6627         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6628         (gst_file_sink_set_location), (gst_file_sink_open_file),
6629         (gst_file_sink_close_file), (gst_file_sink_event),
6630         (gst_file_sink_render):
6631         Set file to NULL when closing filesink so that we can set a new filename
6632         in READY. Fixes #358613.
6633
6634 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6635
6636         Patch by: Alessandro Decina  <alessandro at nnva org>
6637
6638         * gst/gstevent.c: (_gst_event_copy):
6639           Fix gst_mini_object_make_writable() and gst_event_copy() for events
6640           with event structures by setting the parent refcount address of the
6641           copied structure to the address of the refcount member of the newly
6642           copied event rather than the address of the refcount member of the
6643           original event. Fixes #358737.
6644
6645         * tests/check/gst/gstevent.c: (GST_START_TEST):
6646           Unit test for the above.
6647
6648 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
6649
6650         * docs/design/Makefile.am:
6651           Dist some more files.
6652
6653 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6654
6655         * tests/check/libs/controller.c: (GST_START_TEST),
6656         (gst_controller_suite):
6657           Add test for the previous fix; add some more tests
6658           for correct refcounting behaviour; fix a few leaks
6659           in test cases; call gst_controller_init() at start
6660           of all tests.
6661
6662 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6663
6664         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6665         (gst_controller_set_from_list):
6666           Don't g_return_val_if_fail() on timed values with invalid timestamps
6667           inside a critical section without unlocking the mutex. Spotted by
6668           René Stadler. (#357617)
6669           Also, fix up refcounting properly: when returning an existing
6670           controller, we should increase the reference only once and not
6671           once per property and when trying to control a property again
6672           we should also increase the refcount.
6673
6674 2006-09-29  Wim Taymans  <wim@fluendo.com>
6675
6676         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6677         * libs/gst/net/gstnettimeprovider.c:
6678         (gst_net_time_provider_thread):
6679         Stop reading commands when EOF as well.
6680
6681         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6682         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6683         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6684         Unify description of the dump property.
6685
6686 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6687
6688         * tests/examples/manual/.cvsignore:
6689         OK, so it's actually cvsignore that needs changing. Stop laughing.
6690
6691 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6692
6693         * tests/examples/manual/Makefile.am:
6694         Gah, declare vars *before* using them
6695
6696 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6697
6698         * gst/gst.c: (init_pre), (scan_and_update_registry),
6699         (ensure_current_registry_nonforking),
6700         (ensure_current_registry_forking), (ensure_current_registry),
6701         (init_post), (gst_debug_help), (gst_deinit):
6702         * gst/gst_private.h:
6703         * gst/gstregistry.c: (gst_registry_finalize),
6704         (gst_registry_remove_features_for_plugin_unlocked),
6705         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6706         (gst_registry_scan_path),
6707         (_priv_gst_registry_remove_cache_plugins),
6708         (_priv_gst_registry_cleanup):
6709         * gst/gstregistry.h:
6710         Re-commit the registry changes, along with an extra fix:
6711           When a cached plugin is encountered at a different file path,
6712           update the stored path in the registry cache so that the parent
6713           process knows where it actually is now when it re-reads the registry
6714           cache. Fixes the thing that broke distcheck with the previous commit.
6715
6716         * tests/check/Makefile.am:
6717         Clean up files named 'core' too when running make clean.
6718
6719         * tests/examples/manual/Makefile.am:
6720         Set up a registry path for running these tests, and clean it properly
6721         for distcheck.
6722
6723 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6724
6725         * configure.ac:
6726         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6727         want gmodule-no-export-2.0.pc instead so that we don't drag in
6728         --export-dynamic on every project that links to GStreamer.
6729
6730         Also, make our export regex only match the start of symbols, rather 
6731         than any symbol that contains '_gst' somewhere.
6732
6733         * libs/gst/check/Makefile.am:
6734         The libgstcheck we build does however need export-dynamic, as it
6735         produces some symbols that don't match our _gst... style regex.
6736         Fixes: #318031
6737
6738 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6739
6740         * gst/gst.c: (init_pre), (scan_and_update_registry),
6741         (ensure_current_registry_nonforking),
6742         (ensure_current_registry_forking), (ensure_current_registry),
6743         (init_post), (gst_debug_help), (gst_deinit):
6744         * gst/gst_private.h:
6745         * gst/gstregistry.c: (gst_registry_finalize),
6746         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6747         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6748         (_gst_registry_cleanup):
6749         * gst/gstregistry.h:
6750           Revert previous change until I figure out why it breaks distcheck.
6751
6752 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6753
6754         * gst/gst.c: (init_pre), (scan_and_update_registry),
6755         (ensure_current_registry_nonforking),
6756         (ensure_current_registry_forking), (ensure_current_registry),
6757         (init_post), (gst_debug_help), (gst_deinit):
6758
6759           Make init_pre and init_post take the full complement of GOptionFunc
6760           args so they can return useful GErrors. Make the registry updating
6761           functions do so.
6762
6763           Call _priv_gst_registry_remove_cache_plugins after scanning files to
6764           ensure that the registry we're about to write out doesn't contain
6765           stale information about old-deleted plugin files.
6766
6767           Make _priv_gst_registry_remove_cache_plugins return a boolean so
6768           that deletion of plugin files is considered a registry change.
6769
6770         * gst/gst_private.h:
6771         * gst/gstregistry.c: (gst_registry_finalize),
6772         (gst_registry_remove_features_for_plugin_unlocked),
6773         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6774         (gst_registry_scan_path),
6775         (_priv_gst_registry_remove_cache_plugins),
6776         (_priv_gst_registry_cleanup):
6777         * gst/gstregistry.h:
6778         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6779         by adding _priv prefix, so that they won't appear in the global
6780         symbol table. They still do atm though because of #318031. Move the
6781         prototypes to gst_private.h
6782
6783         When removing a plugin, remove all features for that plugin too. 
6784         Fixes #340878.
6785
6786 2006-09-27  Wim Taymans  <wim@fluendo.com>
6787
6788         * docs/random/moving-plugins:
6789         Make it clear that the "compiled-in descriptions" really mean
6790         the element details.
6791
6792         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6793         (gst_base_sink_wait_preroll):
6794         Update docs.
6795
6796         * docs/libs/gstreamer-libs-sections.txt:
6797         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6798         (gst_base_src_get_range), (gst_base_src_activate_push):
6799         * libs/gst/base/gstbasesrc.h:
6800         Added function to block while waiting for PLAYING, this function
6801         is used by live sources that block on the clock.
6802         API: gst_base_src_wait_playing()
6803
6804 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6805
6806         Patch by: Peter Kjellerstedt <pkj at axis com>
6807
6808         * Makefile.am:
6809           gst-element-check.m4 is generated and should therefore be
6810           copied from the build dir rather than the source dir (#357593).
6811           'make distcheck' hasn't noticed this because we were disting
6812           the file as well, so stop doing that.
6813
6814 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6815
6816         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6817           Add some tests for gst_caps_intersect().
6818
6819         * tools/gst-launch.c: (event_loop):
6820           Print all buffering percentages we get, even the 100% one.
6821
6822 2006-09-26  Wim Taymans  <wim@fluendo.com>
6823
6824         * tools/gst-inspect.c: (print_element_properties_info),
6825         (print_signal_info):
6826         Fix printing of flags to match the look of enums.
6827
6828 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6829
6830         * gst/gstelementfactory.c:
6831           Fix typo in docs blurb.
6832
6833 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6834
6835         * gst/gsturi.c: (search_by_entry):
6836           Don't assert/crash here if a uri handler doesn't return any
6837           supported protocols. The list of protocols could be generated
6838           dynamically at runtime or at plugin registration, and an error
6839           in the underlying library shouldn't be fatal (#353301).
6840
6841 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6842
6843         * gst/gstinfo.c:
6844           Fix warning if HAVE_PRINTF_EXTENSION is undefined
6845           (spotted by Peter Kjellerstedt).
6846
6847 2006-09-23  Wim Taymans  <wim@fluendo.com>
6848
6849         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6850
6851         * libs/gst/base/gstbasesrc.c:
6852         (gst_base_src_default_check_get_range), (gst_base_src_start),
6853         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6854         (gst_base_src_change_state):
6855         Match _start/_stop calls in the activate functions. Remove redundant
6856         _stop call from the state change function. Fixes #356910.
6857         Turn failure DEBUG into ERROR. 
6858
6859 2006-09-22  Wim Taymans  <wim@fluendo.com>
6860
6861         * docs/design/part-buffering.txt:
6862         * gst/gstmessage.c: (gst_message_new_buffering),
6863         (gst_message_parse_buffering):
6864         Update docs about buffering.
6865
6866         * docs/design/part-trickmodes.txt:
6867         Fix typo.
6868
6869 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
6870
6871         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6872         (gst_controller_new_list):
6873           Ref instances when returning them again (fixes #357180)
6874
6875 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6876
6877         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6878           Don't forget to release proxy lock when there's an error.
6879
6880 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
6881
6882         * gst/gstcaps.h:
6883           Add extra initialisers for Caps things, to fix some plugin warnings
6884           when using -Wextra
6885
6886 2006-09-18  Wim Taymans  <wim@fluendo.com>
6887
6888         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6889           Also set template on the internal pad so that a getcaps from the 
6890           target pad returns the template caps.
6891
6892 2006-09-18  Wim Taymans  <wim@fluendo.com>
6893
6894         * gst/gstelement.c: (gst_element_post_message),
6895         (gst_element_dispose):
6896         Use _DEBUG_OBJECT some more.
6897
6898         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6899         Avoid typechecks.
6900
6901         * tools/gst-launch.c: (main):
6902         If the toplevel element is not a GstPipeline, it must be put in a
6903         pipeline so that a bus and clock is selected.
6904
6905 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6906
6907         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6908           JITTER, RATE, and LATENCY query should be handled by the
6909           default case and not by the CONVERT query code.
6910
6911 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6912
6913         * gst/gstformat.c: (gst_format_register):
6914           Fix locking order (must take lock before using n_values).
6915
6916         * gst/gstvalue.c: (gst_value_serialize_enum),
6917         (gst_value_deserialize_enum_iter_cmp),
6918         (gst_value_deserialize_enum):
6919           Fix serialisation/deserialisation of custom registered GstFormats.
6920
6921         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6922           Unit test for custom format serialisation/deserialisation.
6923
6924 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
6925
6926         * docs/pwg/building-boiler.xml:
6927         * plugins/elements/gstcapsfilter.c:
6928         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6929         section.
6930
6931 2006-09-16  Edward Hervey  <edward@fluendo.com>
6932
6933         * libs/gst/base/gstbasetransform.c:
6934         (gst_base_transform_buffer_alloc):
6935         Check if requested caps are the same as the sinks caps IF
6936         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6937         is FALSE.
6938         This fixes the renegotiation issues stated in #352827.
6939
6940 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6941
6942         * configure.ac:
6943         * docs/manual/advanced-autoplugging.xml:
6944         * tests/examples/Makefile.am:
6945         * tests/examples/manual/.cvsignore:
6946         * tests/examples/manual/Makefile.am:
6947         * tests/examples/manual/extract.pl:
6948           Extract the manual examples again like we used to do.
6949           Fix one of them.
6950
6951 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6952
6953         * win32/common/config.h:
6954           update for version
6955
6956 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
6957
6958         * gst/gsterror.c:
6959           Documents how to receive errors.
6960
6961 2006-09-15  Wim Taymans  <wim@fluendo.com>
6962
6963         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6964         (event_loop), (main):
6965         Added some comments here and there.
6966         Post an application message when an interrupt is caught instead of doing
6967         an uncontrolled state change.
6968         Clean up the event loop.
6969         Handle buffering messages, pause/resume the pipeline.
6970         Make shutdown because of an interrupt more reliable.
6971
6972 2006-09-15  Wim Taymans  <wim@fluendo.com>
6973
6974         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6975         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6976         (gst_base_sink_preroll_object):
6977         Make sure that our internal state is correct when we commit our state
6978         asynchronously. This solves a race where a state change to PLAYING
6979         could cause the sink to remain blocked in preroll in some situations.
6980
6981 2006-09-15  Wim Taymans  <wim@fluendo.com>
6982
6983         * tools/gst-inspect.c: (print_element_properties_info),
6984         (print_signal_info):
6985         List flags as hex so it's easier to deal with.
6986
6987 2006-09-15  Wim Taymans  <wim@fluendo.com>
6988
6989         * docs/libs/gstreamer-libs-sections.txt:
6990         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6991         (gst_base_sink_do_sync):
6992         * libs/gst/base/gstbasesink.h:
6993         Expose logic to wait for preroll so that subclasses such as audiosink
6994         can also use this method.
6995         API: gst_base_sink_wait_preroll()
6996
6997 2006-09-15  Wim Taymans  <wim@fluendo.com>
6998
6999         * gst/gstobject.c: (gst_object_set_parent):
7000         * gst/gstpipeline.c: (do_pipeline_seek):
7001         Small cleanups in docs and code.
7002
7003         * gst/gstsegment.c: (gst_segment_clip):
7004         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7005         if stop == start and start is in the segment, no clipping should be
7006         done. Also add a test for this.
7007
7008 2006-09-15  Wim Taymans  <wim@fluendo.com>
7009
7010         * docs/design/part-buffering.txt:
7011         * docs/gst/gstreamer-sections.txt:
7012         * gst/gstmessage.c: (gst_message_new_buffering),
7013         (gst_message_parse_buffering):
7014         * gst/gstmessage.h:
7015         Added methods to create and parse BUFFERING messages.
7016         Added preliminary docs about buffering.
7017         API: gst_message_new_buffering
7018         API: gst_message_parse_buffering
7019
7020 2006-09-06  Wim Taymans  <wim@fluendo.com>
7021
7022         * gst/gstbin.c:
7023         Update documentation.
7024
7025         * gst/gstelement.c: (gst_element_class_init),
7026         (gst_element_release_request_pad), (gst_element_set_clock),
7027         (gst_element_get_index), (gst_element_add_pad),
7028         (gst_element_remove_pad), (gst_element_get_random_pad),
7029         (gst_element_send_event), (gst_element_get_query_types),
7030         (gst_element_query), (gst_element_post_message),
7031         (gst_element_message_full), (gst_element_continue_state),
7032         (gst_element_lost_state), (gst_element_save_thyself),
7033         (gst_element_restore_thyself):
7034         Documentation updates.
7035         Rename last bit of the new-pad -> pad-added signal rename.
7036         Fix the case where an element query would only work if the source
7037         pad was linked.
7038         Avoid some useless type checking in message handling.
7039
7040         * gst/gstevent.c:
7041         * gst/gstevent.h:
7042         * gst/gstutils.c:
7043         Documentation updates.
7044
7045 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7046
7047         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7048           add an INFO line for when we actually update the fd
7049
7050 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7051
7052         * configure.ac:
7053           back to TRUNK
7054
7055 === release 0.10.10 ===
7056
7057 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
7058
7059         * configure.ac:
7060           releasing 0.10.10, "Pais"
7061
7062 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
7063
7064         * docs/manual/advanced-position.xml:
7065           Fix typo in sample code.
7066
7067 2006-09-05  Wim Taymans  <wim@fluendo.com>
7068
7069         * libs/gst/net/gstnetclientclock.c: (inet_aton),
7070         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7071         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
7072         * libs/gst/net/gstnetclientclock.h:
7073         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7074         * libs/gst/net/gstnettimepacket.h:
7075         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7076         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7077         (gst_net_time_provider_thread), (gst_net_time_provider_new):
7078         * libs/gst/net/gstnettimeprovider.h:
7079         Make stuff compile on windows. Fixes #345295.
7080
7081 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7082
7083         * gst/gst.c: (ensure_current_registry_forking):
7084           Print better details when child was terminated by signal.
7085
7086 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7087
7088         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7089           Print a warning rather than g_assert() if a plugin feature
7090           is a URI handler but returns no protocols (#353976).
7091
7092 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
7093
7094         * docs/random/moving-plugins:
7095         Fix two typos.         
7096
7097 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7098
7099         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7100           Fix locking order, handle NULL function values properly.
7101
7102         * gst/gstinfo.h:
7103           Fix docs.
7104
7105         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7106           Initialise variable before using it and fix debug statement to
7107           print the address of the function rather than the address of the
7108           variable on the stack holding the address of the function.
7109
7110 2006-09-01  Wim Taymans  <wim@fluendo.com>
7111
7112         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7113         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7114         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7115         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7116         (gst_ghost_pad_parent_unset),
7117         (gst_ghost_pad_internal_do_activate_push),
7118         (gst_ghost_pad_internal_do_activate_pull),
7119         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7120         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7121         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7122         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7123         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7124         (gst_ghost_pad_new_no_target_from_template),
7125         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7126         More cleanups.
7127         Avoid needless typechecking in macros.
7128         Since the internal pad is always present and never changes, there is
7129         no need to locking or ref when retrieving it.
7130         Improve debugging a bit.
7131         Handle link errors when setting the target. Fixes #341029.
7132
7133 2006-09-01  Wim Taymans  <wim@fluendo.com>
7134
7135         * docs/libs/gstreamer-libs-sections.txt:
7136         * docs/plugins/gstreamer-plugins-sections.txt:
7137         Fix docs some more.
7138
7139         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7140         (gst_collect_pads_event):
7141         * libs/gst/base/gstcollectpads.h:
7142         Documentation updates.
7143         Free queued buffer when removing a pad.
7144
7145 2006-08-31  Michael Smith  <msmith@fluendo.com>
7146
7147         * gst/gstutils.c: (gst_element_link_pads),
7148         (gst_element_link_pads_filtered):
7149           Ensure that we set a capsfilter to NULL if we failed to link it
7150           when doing filtered linking, to avoid criticals.
7151
7152           No need to check for unreffing srcpad, which is explicly NULLed
7153           above (a trivial code cleanup).
7154
7155 2006-08-31  Wim Taymans  <wim@fluendo.com>
7156
7157         * docs/design/part-gstghostpad.txt:
7158         Update ascii art in documentation.
7159
7160         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7161         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7162         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7163         (gst_ghost_pad_internal_do_activate_push),
7164         (gst_ghost_pad_internal_do_activate_pull),
7165         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7166         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7167         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7168         (gst_ghost_pad_set_target):
7169         Small cleanups and leak fixes.
7170         Remove some checks now that the internal pad is never NULL.
7171         Fix the case where linking pads without a target would create nasty
7172         criticals. Fixes #341029.
7173         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7174         value of _set_target().
7175
7176         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7177         (gst_ghost_pad_suite):
7178         Some more tests for creating and linking untargeted ghostpads.
7179
7180 2006-08-31  Edward Hervey  <edward@fluendo.com>
7181
7182         * docs/gst/gstreamer-sections.txt:
7183         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7184         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7185         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7186         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7187         (gst_ghost_pad_new_from_template),
7188         (gst_ghost_pad_new_no_target_from_template):
7189         * gst/gstghostpad.h:
7190         Refactored *_new() functions.
7191         Templates are now used as a g_object_new() parameter.
7192         Use template in _do_getcaps() if we don't have a target.
7193         Small documentation cleanups.
7194         Added two new constructors:
7195         gst_ghost_pad_new_from_template()
7196         gst_ghost_pad_new_no_target_from_template()
7197         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7198         (gst_ghost_pad_suite):
7199         Added tests for new ghostpad instanciation functions.
7200
7201         API additions: gst_ghost_pad_new_from_template,
7202         gst_ghost_pad_new_no_target_from_template
7203
7204 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
7205
7206         * docs/random/ensonic/profiling.txt:
7207           Ideas about qos profiling.
7208
7209 2006-08-29  Wim Taymans  <wim@fluendo.com>
7210
7211         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7212         Code cleanups.
7213         Fix memleak.
7214
7215 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
7216
7217         * gst/gstxml.c:
7218           Improve and detypofy docs.
7219
7220         * tests/check/Makefile.am:
7221         * tests/check/gst/.cvsignore:
7222         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7223           Add a basic test suite for GstXML.
7224
7225 2006-08-29  Wim Taymans  <wim@fluendo.com>
7226
7227         * gst/gstelement.c: (activate_pads), (clear_caps),
7228         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7229         Clear the pad caps when the element shut down all of the pads and
7230         is not streaming data that could modify the caps. 
7231         Fixes #352958.
7232
7233 2006-08-28  Michael Smith  <msmith@fluendo.com>
7234
7235         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7236           Revert previous change; I misunderstood single-segment mode.
7237
7238 2006-08-28  Michael Smith  <msmith@fluendo.com>
7239
7240         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7241           Unset DISCONT on buffers when using single-segment mode.
7242
7243 2006-08-28  Wim Taymans  <wim@fluendo.com>
7244
7245         * gst/gstcaps.c: (gst_caps_merge_structure):
7246         * gst/gstcaps.h:
7247         Fix docs and indentation again.
7248
7249         * tests/check/gst/gstquery.c: (GST_START_TEST):
7250         Fix leak in tests and add some more tests.
7251
7252 2006-08-28  Edward Hervey  <edward@fluendo.com>
7253
7254         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7255         Inform GstSegment of the last stop position in order for the current
7256         segment to have a proper duration if it doesn't have a specific stop
7257         position from which a duration could be calculated.
7258         This bug was noticeable when a non-flushing, non-update new segment was
7259         followed by another segment (all buffers from the new segment were being
7260         dropped).
7261
7262 2006-08-28  Wim Taymans  <wim@fluendo.com>
7263
7264         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7265         Small comment update.
7266
7267         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7268         (gst_identity_transform_ip):
7269         Drop-probability is broken, mention this in the code with a 
7270         FIXME and also in the property description.
7271         Make silent also be silent about the drop messages.
7272
7273 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
7274
7275         * docs/manual/appendix-win32.xml:
7276           Remove mention of popt, we don't depend on that any
7277           longer (#353136). Add some comments pointing out that
7278           this section is slightly outdated.
7279
7280 2006-08-28  Wim Taymans  <wim@fluendo.com>
7281
7282         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7283
7284         * gst/gstquery.c: (gst_query_new_segment):
7285         * tests/check/gst/gstquery.c: (GST_START_TEST):
7286         Initialize variables when creating a new segment query.
7287         Fixes #353121.
7288
7289 2006-08-28  Wim Taymans  <wim@fluendo.com>
7290
7291         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7292
7293         * gst/gstelement.c: (gst_element_get_bus):
7294         * tests/check/gst/gstelement.c: (GST_START_TEST):
7295         Check for NULL before _reffing the bus. Fixes #353122.
7296
7297 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
7298
7299         * docs/manual/basics-bus.xml:
7300           Docs update: fix wrong callback return value explanation; add
7301           some lines about the implicit relationship between main loop
7302           and main context; remove duplicate main loop variable declaration.
7303
7304 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
7305
7306         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7307           Don't leak caps in unit test; add a few more simple
7308           checks. 
7309
7310 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
7311
7312         * docs/gst/gstreamer-sections.txt:
7313         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7314         (gst_caps_structure_is_subset), (gst_caps_merge),
7315         (gst_caps_merge_structure):
7316         * gst/gstcaps.h:
7317         * libs/gst/base/gstbasetransform.c:
7318         (gst_base_transform_transform_caps):
7319         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7320           implement caps merging (fixes #352580)
7321
7322 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
7323
7324         * tools/Makefile.am:
7325         * tools/gst-plot-timeline.py:
7326           add debug-log plotting developer tool (#340674)
7327
7328 2006-08-23  Wim Taymans  <wim@fluendo.com>
7329
7330         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7331         (gst_pad_stop_task):
7332         Improve debugging for task functions.
7333
7334         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7335         (gst_task_start), (gst_task_pause), (gst_task_join):
7336         Make sure that the task function started and finished after a 
7337         join(). 
7338         Don't try to push the task function on the threadpool multiple
7339         times.
7340         Improve the g_warning message with some useful suggestions
7341         about how to fix the problem. 
7342
7343 2006-08-23  Wim Taymans  <wim@fluendo.com>
7344
7345         * gst/gstutils.c: (gst_pad_proxy_getcaps):
7346         Handle RESYNC correctly in _proxy_getcaps.
7347
7348 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
7349
7350         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7351         (gst_xml_parse_memory), (gst_xml_get_element):
7352           Chain up to parent class in dispose function and also
7353           unref the elements in the toplevel_elements GList.
7354           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7355           Always return a reference in gst_xml_get_element() rather
7356           than only sometimes.
7357
7358         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7359           Don't leak GstXml object.
7360
7361 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
7362
7363         * docs/gst/gstreamer-sections.txt:
7364         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7365         (gst_caps_merge):
7366         * gst/gstcaps.h:
7367         * libs/gst/base/gstbasetransform.c:
7368         (gst_base_transform_transform_caps):
7369           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7370           in a better way
7371
7372 2006-08-21  Edward Hervey  <edward@fluendo.com>
7373
7374         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7375         Implement GObject::dispose virtual method in GstXML so we can free the
7376         top_elements GList.
7377
7378 2006-08-21  Wim Taymans  <wim@fluendo.com>
7379
7380         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7381         (gst_buffer_create_sub):
7382         Copy duration/offset_end/caps when creating a subbuffer of the
7383         complete parent.
7384         Make the subbuffer read-only when we make the metadata writable for
7385         now. Fixes #351768.
7386
7387         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7388         Added check for metadata copy when creating subbuffers.
7389
7390 2006-08-21  Edward Hervey  <edward@fluendo.com>
7391
7392         * libs/gst/base/gstbasetransform.c:
7393         (gst_base_transform_buffer_alloc):
7394         Only call downstream buffer_alloc if transform element is passthrough
7395         or always_in_place. Closes #350449.
7396
7397 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7398
7399         * ChangeLog:
7400           ChangeLog surgery to add comments to previous changes
7401
7402 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7403
7404         * gst/gst.c:
7405           Add comments
7406
7407         * gst/gstpad.c: (gst_pad_set_active):
7408           Be more verbose in the log
7409
7410         * libs/gst/base/gstbasetransform.c:
7411         (gst_base_transform_transform_caps):
7412           Simplify caps to get rid of duplicates, fixes #345444
7413
7414 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7415
7416         * gst/gstvalue.c:
7417         * gst/gstvalue.h:
7418           Use these optimizations only internally.
7419
7420 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7421
7422         * gst/gstvalue.c: (gst_value_compare_list),
7423         (gst_value_compare_fraction_range),
7424         (gst_value_intersect_fraction_fraction_range),
7425         (gst_value_intersect_fraction_range_fraction_range),
7426         (gst_value_subtract_fraction_fraction_range),
7427         (gst_value_subtract_fraction_range_fraction_range),
7428         (gst_value_get_compare_func), (gst_value_compare),
7429         (gst_value_compare_with_func):
7430         * gst/gstvalue.h:
7431           Saves the expensive lookup of the compare function in many cases
7432          (#345444)
7433
7434 2006-08-18  Edward Hervey  <edward@fluendo.com>
7435
7436         * tests/check/gst/gstinfo.c: (gst_info_suite):
7437         Disable test that require gstdebug if it wasn't built in core.
7438
7439 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7440
7441         * docs/random/ensonic/logging.txt:
7442           update ideas
7443           
7444         * gst/gstinfo.c: (gst_debug_log_default):
7445           reorder fields, save some columns, add optional color codes for log
7446           levels
7447
7448 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7449
7450         * docs/random/ensonic/logging.txt:
7451           add ideas about making the logs a bit more useful
7452
7453 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7454
7455         * docs/pwg/advanced-events.xml:
7456         * docs/pwg/titlepage.xml:
7457           Update for 0.10 API (#340627). Add myself
7458           to authors list.
7459
7460 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7461
7462         * docs/libs/gstreamer-libs-docs.sgml:
7463         * docs/libs/gstreamer-libs-sections.txt:
7464         * libs/gst/check/gstbufferstraw.c:
7465           Make gstcheck stuff show up in docs (still needs to
7466           be documented properly though).
7467
7468 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7469
7470         * docs/gst/gstreamer-sections.txt:
7471         * gst/Makefile.am:
7472         * gst/gst.c: (init_post):
7473         * gst/gst_private.h:
7474         * gst/gstquark.c: (_priv_gst_quarks_initialize):
7475         * gst/gstquark.h:
7476         * gst/gstquery.c: (gst_query_new_position),
7477         (gst_query_set_position), (gst_query_parse_position),
7478         (gst_query_new_duration), (gst_query_set_duration),
7479         (gst_query_parse_duration), (gst_query_new_convert),
7480         (gst_query_set_convert), (gst_query_parse_convert),
7481         (gst_query_new_segment), (gst_query_set_segment),
7482         (gst_query_parse_segment), (gst_query_new_seeking),
7483         (gst_query_set_seeking), (gst_query_parse_seeking):
7484         Add internal helpers for pre-registering quarks from static strings
7485         and using the quark values directly instead of looking them up when
7486         creating and parsing queries. Can be used for event construction too.
7487         Closes #350432.
7488
7489 2006-08-16  Wim Taymans  <wim@fluendo.com>
7490
7491         * gst/gstbin.c:
7492         Fix bogus docs.
7493
7494 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7495
7496         * gst/gstutils.c: (gst_util_set_value_from_string):
7497           Fix memleak (#351502).
7498
7499         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7500           Add unit test for most of gst_util_set_value_from_string()
7501           (not that one would want to encourage use of this function).
7502
7503 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7504
7505         * libs/gst/check/gstcheck.h:
7506           Use const gchar * variables in fail_unless_equals_string
7507           macro to avoid compiler warnings (and don't use tabs for
7508           indenting).
7509
7510 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7511
7512         * tools/gst-launch.c: (print_tag):
7513           More space on the left for the tag names, to cater
7514           for the 'extended comment' tag (not touching the
7515           string for the first line since it's translated).
7516
7517 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7518
7519         * libs/gst/check/gstcheck.h:
7520           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7521           print something when they fail.
7522
7523 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7524
7525         * docs/gst/gstreamer-sections.txt:
7526         * gst/gsttaglist.c: (_gst_tag_initialize):
7527         * gst/gsttaglist.h:
7528           API: add GST_TAG_EXTENDED_COMMENT (#350935).
7529           Also change merge function for GST_TAG_COMMENT to
7530           use_first.
7531
7532 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7533
7534         * gst/gstinfo.c: (gst_debug_print_object):
7535           Make GST_PTR_FORMAT print messages as well.
7536
7537         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7538         (GST_START_TEST), (gst_info_suite):
7539           More tests.
7540
7541 2006-08-14  Edward Hervey  <edward@fluendo.com>
7542
7543         * gst/gstelementfactory.c: (gst_element_register):
7544         If the GstElementClass doesn't have a GstElementDetails with all fields
7545         filled up correctly (longname, description AND author), then error out
7546         nicely instead of crashing.
7547
7548 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7549
7550         * gst/gststructure.c:
7551           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7552
7553         * gst/gstvalue.h:
7554           Expand on the difference between arrays and lists as we use them.
7555           
7556 2006-08-14  Wim Taymans  <wim@fluendo.com>
7557
7558         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7559         If the parent state change function failed, don't assume we can safely
7560         stop the source, this will be done when the pads are deactivated.
7561
7562 2006-08-14  Wim Taymans  <wim@fluendo.com>
7563
7564         * gst/gstbuffer.c:
7565         * gst/gsttask.c: (gst_task_join):
7566         Small doc updates.
7567
7568         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7569         (gst_pad_stop_task):
7570         When pad (de)activation failed for some reason, restore the old
7571         activation mode and set the pad to flushing instead of assuming the
7572         pad is deactivated.
7573         If the _task_join() failed, reinstall the task on the pad so that it can
7574         be stopped later and return an error.
7575
7576 2006-08-11  Andy Wingo  <wingo@pobox.com>
7577
7578         * configure.ac:
7579         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7580         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7581         is only for users of API that don't want to see deprecated
7582         functions in the headers; people that want to compile out
7583         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7584         CFLAGS. Fixes the build of multifdsink, or will soon..
7585
7586 2006-08-11  Wim Taymans  <wim@fluendo.com>
7587
7588         * docs/gst/gstreamer-sections.txt:
7589         Add GstClockClass vmethod docs.
7590
7591         * gst/gstcaps.h:
7592         Mark #endif with comment for associated #if
7593
7594         * gst/gstclock.c: (gst_clock_id_wait):
7595         * gst/gstclock.h:
7596         Add vmethod wait_jitter to avoid an unneeded _get_time() for
7597         most clock implementations.
7598         Document vmethods.
7599         Flesh out docs about resolution methods.
7600         API: GstClockClass::wait_jitter
7601
7602         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7603         (gst_system_clock_async_thread),
7604         (gst_system_clock_id_wait_jitter_unlocked),
7605         (gst_system_clock_id_wait_jitter):
7606         Use base class wait_jitter variant for improved performance
7607         due to less clock polling.
7608
7609 2006-08-11  Edward Hervey  <edward@fluendo.com>
7610
7611         * gst/gst.c: (gst_init_check), (init_post):
7612         Set gst as being initialized before scanning/updating the registry,
7613         since there might be my python plugin loader that calls gst_init() and
7614         we don't want to loop back in.
7615         Closes #350879
7616
7617 2006-08-11  Wim Taymans  <wim@fluendo.com>
7618
7619         * docs/design/part-qos.txt:
7620         Bring docs in line with the code. Mostly the sign of the jitter was
7621         wrong in the docs. Fixes #349943.
7622
7623         * gst/gstclock.c:
7624         Fix the docs for the jitter.
7625
7626         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7627         (gst_event_parse_tag), (gst_event_new_buffer_size),
7628         (gst_event_parse_buffer_size), (gst_event_parse_qos),
7629         (gst_event_new_seek), (gst_event_parse_seek),
7630         (gst_event_new_navigation):
7631         Make sure the GstStructure has no parent when creating custom
7632         events.
7633         Add some more argument checking so that we avoid 0.0 rates.
7634         Flesh out the docs for the QoS event some more.
7635
7636 2006-08-11  Wim Taymans  <wim@fluendo.com>
7637
7638         * docs/gst/gstreamer-sections.txt:
7639         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7640         (ensure_current_registry_forking), (ensure_current_registry),
7641         (parse_one_option), (parse_goption_arg), (gst_deinit),
7642         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7643         * gst/gst.h:
7644         Doc updates.
7645         Added API and command line option to disable registry forking in
7646         addition to the environment variable.
7647         Constify some static arrays.
7648         Added some more debug.
7649         Don't deinit twice.
7650         API: gst_registry_fork_is_enabled()
7651         API: gst_registry_fork_set_enabled()
7652         API: --gst-disable-registry-fork command line option
7653         Fixes #348918.
7654
7655 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
7656
7657         * gst/gst.c: (gst_init):
7658           Fix typo in error message.
7659
7660 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7661
7662         * libs/gst/controller/gstcontroller.h:
7663           fix ABI size-correction
7664
7665         * tests/check/libs/gdp.c: (gst_dp_suite):
7666           make tests that use deprecated API conditional
7667
7668 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7669
7670         * docs/libs/gstreamer-libs-sections.txt:
7671         * libs/gst/controller/gstcontroller.c:
7672         (_gst_controller_get_property), (_gst_controller_set_property),
7673         (_gst_controller_init), (_gst_controller_class_init):
7674         * libs/gst/controller/gstcontroller.h:
7675         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7676         (gst_object_set_control_rate):
7677           API: add gst_object_{s,g}et_control_rate(), add private data section,
7678           fix docs
7679
7680         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7681         * libs/gst/dataprotocol/dataprotocol.h:
7682           add deprecation guards to make gtk-doc happy and allow disabling cruft
7683
7684 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7685
7686         * tests/check/Makefile.am:
7687         * tests/check/gst/.cvsignore:
7688           Let's enable the new unit test as well.
7689
7690 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7691
7692         * configure.ac:
7693         * docs/gst/gstreamer-sections.txt:
7694         * gst/gstconfig.h.in:
7695         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7696         (_gst_info_printf_extension_ptr),
7697         (_gst_info_printf_extension_segment):
7698           API: add GST_SEGMENT_FORMAT, which is a printf extension we
7699           register that lets us easily dump GstSegments into debug
7700           logs (#350419).
7701
7702         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7703         (info_segment_format_printf_extension), (gst_info_suite):
7704           Add simple unit test that logs a bunch of different segments (not
7705           valgrinded at the moment because of leaks in
7706           gst_debug_add_log_function).
7707
7708 2006-08-09  Edward Hervey  <edward@fluendo.com>
7709
7710         * libs/gst/base/gstbasetransform.c:
7711         (gst_base_transform_buffer_alloc):
7712         Even if we can't figure out the proper format to request downstream,
7713         call buffer_alloc() downstream with the input parameters without setting
7714         the caps on the srcpad. This will force negotiation in the chain
7715         function.
7716         Closes #350449
7717
7718 2006-08-08  Edward Hervey  <edward@fluendo.com>
7719
7720         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7721         Unlinking from a pad without a target is now a perfectly valid case
7722         which should NOT raise an assertion.
7723         This case would happen if a linked ghostpad its target set to NULL after
7724         it was previously linked.
7725
7726 2006-08-08  Edward Hervey  <edward@fluendo.com>
7727
7728         * tests/check/libs/gdp.c:
7729         Also comment out the test (see below).
7730
7731 2006-08-08  Edward Hervey  <edward@fluendo.com>
7732
7733         * tests/check/libs/gdp.c: (gst_dp_suite):
7734         Use the architecture information from config.h and not gcc macros
7735         in order to properly disable a test that fails on PPC64.
7736
7737 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
7738
7739         * gst/gstelement.c: (gst_element_remove_pad):
7740           Don't crash printing the warning if the pad has no parent.
7741
7742 2006-08-02  Wim Taymans  <wim@fluendo.com>
7743
7744         * libs/gst/dataprotocol/dataprotocol.c:
7745         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7746         (gst_dp_crc), (gst_dp_header_payload_length),
7747         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7748         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7749         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7750         (gst_dp_event_from_packet), (gst_dp_validate_header),
7751         (gst_dp_validate_payload):
7752         Make debug category static
7753         Constify the crc table.
7754         Do some more arg checking in public functions.
7755         Fix some docs and do some small cleanups.
7756
7757         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7758         Add some more checks to see if GDP deals with bogus input.
7759
7760 2006-07-31  Wim Taymans  <wim@fluendo.com>
7761
7762         * gst/gstvalue.c: (gst_value_compare_list):
7763         Fix GstValueList comparison code. Fixes #347293.
7764
7765         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7766         Check to test GstValueList comparison.
7767
7768 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7769
7770         * gst/gstelementfactory.c: (gst_element_factory_create):
7771         Remove unnecessary ref/unref pair
7772
7773         * gst/parse/grammar.y:
7774         Make sure to free the parse buffer on all code paths.
7775         Move a g_free up to the error handler where it's easier to see.
7776
7777         * tests/check/gst/gstevent.c: (test_event):
7778         Extending timeout for downstream travelling events to 10 seconds to
7779         hopefully avoid intermittent failure on the buildbots.
7780
7781         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7782         Don't manually set the state of the src element - it will happen as a
7783         natural consequence of the pipeline changing state, and that way it
7784         will do it in the right order too.
7785
7786 2006-07-31  Wim Taymans  <wim@fluendo.com>
7787
7788         * libs/gst/base/gstbasetransform.c:
7789         (gst_base_transform_buffer_alloc):
7790         Use OBJECT_LOCK and refcounting to get the pad caps in the
7791         buffer_alloc function because the caps could change while we are
7792         busy with them. Fixes #349105
7793
7794 2006-07-31  Wim Taymans  <wim@fluendo.com>
7795
7796         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7797         Protect _PAD_CAPS with OBJECT_LOCK.
7798
7799 2006-07-31  Wim Taymans  <wim@fluendo.com>
7800
7801         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7802         (gst_pad_get_property), (gst_pad_activate_pull),
7803         (gst_pad_activate_push), (gst_pad_set_blocked_async),
7804         (gst_pad_set_activate_function),
7805         (gst_pad_set_activatepull_function),
7806         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7807         (gst_pad_set_getrange_function),
7808         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7809         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7810         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7811         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7812         (gst_pad_set_acceptcaps_function),
7813         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7814         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7815         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7816         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7817         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7818         (gst_pad_configure_sink), (gst_pad_configure_src),
7819         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7820         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7821         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7822         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7823         (gst_pad_send_event):
7824         Use _DEBUG_OBJECT when it makes sense.
7825         Protect GST_PAD_CAPS with the OBJECT_LOCK.
7826         Small cleanups and code reflows.
7827         Avoid caps refcounting in _accept_caps.
7828         Refactor alloc_buffer so that the code performed on the peer is in a
7829         separate function. Also if the pad does not implement a buffer alloc
7830         function, we should still check if the pad is flushing before falling
7831         back to the default allocator.
7832
7833 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7834
7835         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7836         Make all uses of identity and fakesink have silent=true to avoid
7837         serialising every passing data structure, which is breaking tests
7838         on FC4 for some unknown reason.
7839
7840 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7841
7842         * gst/parse/Makefile.am:
7843         * gst/parse/grammar.y:
7844         * gst/parse/parse.l:
7845           Reverted previous patch as it required to bump the flex dependency to
7846           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7847
7848 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7849
7850         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7851
7852         * gst/parse/Makefile.am:
7853         * gst/parse/grammar.y:
7854         * gst/parse/parse.l:
7855           push & pop the state of the lexer for reentrant use case
7856           Fixes #349180
7857
7858 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
7859
7860         * libs/gst/base/gstbasesrc.h:
7861           Note in the docs that the ::newsegment vfunc is not actually used by
7862           GstBaseSrc.
7863
7864 2006-07-28  Wim Taymans  <wim@fluendo.com>
7865
7866         * libs/gst/base/gstcollectpads.c:
7867         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7868         (gst_collect_pads_clear), (gst_collect_pads_flush),
7869         (gst_collect_pads_event), (gst_collect_pads_chain):
7870         When flushing a pad, also clear the queued buffer so that we don't
7871         accidentally use it when we shouldn't.
7872         Fix leaks by inreffing incomming buffer.
7873         Flush out queued buffers in case of errors.
7874         Fixes #347452.
7875
7876 2006-07-28  Wim Taymans  <wim@fluendo.com>
7877
7878         * docs/random/phonon-gst:
7879         Random notes about a Phonon backend.
7880
7881 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7882
7883         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7884         Extra debug output
7885         * tests/check/libs/gdp.c: (gst_dp_suite):
7886         Take a whack at fixing the ppc compile using a different define to
7887         disable the broken test.
7888
7889         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7890         Remove excess g_print()
7891
7892 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7893
7894         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7895         Oops, meant to uncomment this line too to dampen the noise a bit.
7896
7897 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7898
7899         * gst/parse/grammar.y:
7900         * gst/parse/parse.l:
7901         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7902         (GST_START_TEST), (parse_suite):
7903         Fix some of the leaks exposed by extending the parse-launch testsuite,
7904         and move the 3 I can't figure out into a separate test that won't run
7905         the pipelines unless the appropriate line is uncommented.
7906
7907 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7908
7909         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7910           Requesting 0 bytes before the end of the file should result in
7911           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7912           unit test.
7913
7914 2006-07-27  Wim Taymans  <wim@fluendo.com>
7915
7916         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7917         Fix useless assert, a uint is always positive.
7918
7919         * gst/gststructure.c: (gst_structure_nth_field_name),
7920         (gst_structure_foreach), (gst_structure_map_in_place):
7921         Check input arguments for public functions to avoid obvious crashes.
7922
7923         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7924         * plugins/elements/gstfakesink.h:
7925         Do less useless typechecking.
7926
7927 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7928
7929         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7930           Do not use mmap() by default since there are a number of error
7931           conditions that we would like to handle in a non-fatal way that
7932           will result in a SIGBUS if we use mmap(). Examples: external
7933           devices (USB harddrive, portable music player) being unplugged
7934           while in use; file on mounted CD/DVD that can't be read because
7935           the medium is partly damaged. Fixes #348455 and #348475.
7936
7937 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7938
7939         * gst/gstquery.h:
7940         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7941         rates are a gdouble
7942
7943 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
7944
7945         * gst/gstregistry.c:
7946           Move big documentation comment into class section header, so that it
7947           appears in the API docs.
7948
7949 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7950
7951         * docs/gst/gstreamer-sections.txt:
7952         Oops. Commit the docs additions too for new API.
7953         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7954
7955 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7956
7957         * gst/gststructure.c: (gst_structure_id_set),
7958         (gst_structure_id_set_valist):
7959         * gst/gststructure.h:
7960         Add API for setting values into structures without performing
7961         a quark lookup, if the appropriate quark is already known.
7962
7963         API: gst_structure_id_set
7964         API: gst_structure_id_set_valist
7965
7966         * gst/parse/grammar.y:
7967         * gst/parse/parse.l:
7968         Remove some dead code shown by the coverage information.
7969         Don't throw a critical g_warning when encountering a syntax error,
7970         just warn and let the normal error path handle it.
7971
7972         * plugins/elements/gstelements.c:
7973         Bump the rank of filesink up to PRIMARY so that it is preferred over
7974         gnomevfssink for file:// sink uri's
7975
7976         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7977         (GST_START_TEST), (run_delayed_test),
7978         (gst_parse_test_element_base_init),
7979         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7980         (gst_parse_test_element_change_state),
7981         (gst_register_parse_element), (parse_suite):
7982         Beef up the tests for parse syntax to check that more error cases
7983         fail as they are supposed to. Increases the test coverage a bit.
7984
7985 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7986
7987         * docs/manual/basics-elements.xml:
7988           Fix gst_element_link() example.
7989
7990         * gst/gstutils.c:
7991           Mention in API docs that one should usually gst_bin_add()
7992           elements to a bin or pipeline before doing the linking.
7993           
7994 2006-07-26  Wim Taymans  <wim@fluendo.com>
7995
7996         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7997         (gst_subbuffer_get_type), (gst_buffer_create_sub):
7998         Avoid function call for known types by keeping the buffer and
7999         subbuffer GType global.
8000
8001         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8002         Random silly optimisations in read() path.
8003
8004 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
8005
8006         * tools/gst-launch.c: (main):
8007           If the top-level of the parse is a normal bin, it doesn't do the
8008           right logic to run as a top-level element, so place it inside a
8009           pipeline.
8010
8011 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
8012
8013         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
8014           Remove superfluous g_object_notify() calls, GObject does
8015           that for us automatically.
8016
8017 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
8018
8019         * gst/gstinfo.h:
8020           on Win32, use dllspec to export the debug category symbols
8021
8022 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
8023
8024         * gst/gsttaglist.c: (_gst_tag_initialize):
8025           Allow more than one GST_TAG_IMAGE per taglist.
8026
8027 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8028
8029         * gst/gstminiobject.c:
8030           update docs
8031         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
8032         (gst_fd_src_create):
8033           log recurring events at LOG level
8034           add more debug for when the fd gets set
8035
8036 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
8037
8038         * gst/gstparse.c: (gst_parse_launch):
8039           Also remove reentrance checks if flex is MT safe (#348179)
8040          Fix my empty ChangeLog entry below
8041
8042 2006-07-21  Andy Wingo  <wingo@pobox.com>
8043
8044         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
8045
8046         * libs/gst/check/Makefile.am
8047         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
8048         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
8049         * libs/gst/check/gstbufferstraw.h:
8050         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
8051         functions, thus proving I am still a GStreamer haxor. OK I wrote
8052         them a long time ago, but anyways.
8053
8054 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
8055
8056         * configure.ac:
8057         * gst/gstparse.c: (gst_parse_launch):
8058           Check for flex version and omit mutex if we have a MT save flex
8059           (fixes #348179)
8060
8061 2006-07-21  Wim Taymans  <wim@fluendo.com>
8062
8063         * gst/gstparse.c: (gst_parse_launch):
8064         Protect recursive calls to _parse with a recursive mutex
8065         and busy flag.
8066
8067 2006-07-21  Wim Taymans  <wim@fluendo.com>
8068
8069         * tests/check/gst/gstpad.c: (GST_START_TEST):
8070         Fix leak in test.
8071
8072 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
8073
8074         * gst/gstparse.c: (gst_parse_launch):
8075           Do not hang on recursive usage of gst_parse_launch()
8076
8077 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8078
8079         * gst/gsttaglist.c:
8080           Add some more docs, comments and FIXME 0.11s here and there
8081           and also fix some typos.
8082
8083 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8084
8085         * gst/gstsegment.h:
8086           Convert tabs to spaces for better readability. 
8087
8088 2006-07-20  Edward Hervey  <edward@fluendo.com>
8089
8090         * tests/check/libs/gdp.c: (gst_dp_suite):
8091         the test_buffer test fails at line 140 on ppc64 at the following
8092         check:
8093         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8094                 GST_BUFFER_FLAG_IN_CAPS),
8095                 "GST_BUFFER_IN_CAPS flag should have been copied !");
8096         See bug #348114 for more details.
8097
8098 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
8099
8100         * docs/pwg/advanced-scheduling.xml:
8101         * gst/gstpad.c:
8102           Fix typos (#348000).
8103
8104 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
8105
8106         * docs/pwg/intro-basics.xml:
8107           Fix wrong links (#347927).
8108
8109 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
8110
8111         * gst/gstregistry.h:
8112         * gst/gstregistryxml.c: (load_feature),
8113         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8114         * win32/common/config.h:
8115           make --disable-index work (#342564)
8116
8117 2006-07-18  Wim Taymans  <wim@fluendo.com>
8118
8119         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8120
8121         * gst/Makefile.am:
8122         * gst/gsttrace.h:
8123         The attached patch adds two missing defines to gsttrace.h when tracing
8124         is disabled.  It also corrects one existing define.
8125         Fixes #347756.
8126
8127 2006-07-17  Wim Taymans  <wim@fluendo.com>
8128
8129         * docs/gst/gstreamer-sections.txt:
8130         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8131         * gst/gst.h:
8132         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8133         Add two functions to check and change the SIGSEGV behaviour
8134         when loading plugins.
8135         Don't mess with the SIGSEGV handler when we were told not to.
8136         Fixes #347794.
8137         API: gst_segtrap_is_enabled
8138         API: gst_segtrap_set_enabled
8139
8140 2006-07-14  Wim Taymans  <wim@fluendo.com>
8141
8142         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8143         * tests/check/elements/filesrc.c: (GST_START_TEST):
8144         Revert fix for regression in #347408 after release.
8145
8146 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
8147
8148         Patch by: Antoine Tremblay <hexa00 at gmail com>
8149
8150         * gst/gstutils.c: (gst_element_unlink):
8151           Free iterator when done (#347311).
8152
8153         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8154           And add a test case for this.
8155
8156 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
8157
8158         * configure.ac:
8159         Bump nano back to CVS
8160
8161 === release 0.10.9 ===
8162
8163 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
8164
8165         * configure.ac:
8166           releasing 0.10.9, "On the road again"
8167
8168 2006-07-13  Wim Taymans  <wim@fluendo.com>
8169
8170         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8171         * tests/check/elements/filesrc.c: (GST_START_TEST):
8172         Revert pull-0 fix for release. Disable check. Fixes #347408.
8173
8174 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8175
8176         * libs/gst/dataprotocol/dataprotocol.c:
8177         (gst_dp_event_from_packet_1_0):
8178           Fixes #347337: failure to deserialize event packets with
8179           empty payload (only event type)
8180
8181 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8182
8183         * gst/Makefile.am:
8184           do not install a .c file in the header directory
8185
8186 2006-07-13  Edward Hervey  <edward@fluendo.com>
8187
8188         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8189         GhostPad no longer implicitely use the padtemplates of the targets.
8190         Fixes #347384
8191
8192 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
8193
8194         * gst/gstvalue.c: (gst_value_compare_list),
8195         (gst_value_compare_array), (_gst_value_initialize):
8196         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8197         Make GstValueArray comparison be order dependent as designed.
8198         Add checks for value lists and value array comparisons.
8199         Fixes #347221
8200
8201 2006-07-11  Edward Hervey  <edward@fluendo.com>
8202
8203         * gst/gstbin.c: (activate_pads),
8204         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8205         (gst_bin_change_state_func):
8206         (de)activate src pads before calling state_change on the childs.
8207         This is to avoid the case where a src ghostpad is blocked (holding the
8208         stream lock), which would block the deactivation of the ghostpad's
8209         target pad.
8210         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8211         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8212         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8213         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8214         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8215         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8216         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8217         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8218         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8219         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8220         (gst_ghost_pad_class_init),
8221         (gst_ghost_pad_internal_do_activate_push),
8222         (gst_ghost_pad_internal_do_activate_pull),
8223         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8224         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8225         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8226         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8227         GhostPads now create their internal GstProxyPad at creation (and not
8228         when they're linked, as it was being done previously).
8229         The internal and target pads are linked straight away.
8230         The data will also travel through the other pad in order to make
8231         pad blocking and probes non-hackish (the probe/block now really happens
8232         on the GhostPad and not on the target).
8233         * gst/gstpad.c: (gst_pad_set_blocked_async),
8234         (gst_pad_link_prepare), (gst_pad_push_event):
8235         Remove previous ghostpad cruft.
8236         * gst/gstutils.c: (gst_pad_add_data_probe),
8237         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8238         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8239         (gst_pad_remove_buffer_probe):
8240         Remove previous ghost pad cruft.
8241         Added more detailed debug statements.
8242         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8243         Fix the testsuite for refcounting changes.
8244         The comments about who has references were correct, but the refcount
8245         being checked wasn't the same (!?!).
8246
8247         Fixes #341029
8248
8249 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8250
8251         * docs/gst/gstreamer-sections.txt:
8252         * gst/gstconfig.h.in:
8253         More docs for configuration options, add docs to gtk-doc.
8254
8255 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8256
8257         * gst/Makefile.am:
8258         * gst/gstconfig.h.in:
8259         * win32/common/config.h:
8260         Fix build when disabling tracing (fixes #344016). Also start to document
8261         the defines that disable the sub-systems.
8262
8263 2006-07-10  Edward Hervey  <edward@fluendo.com>
8264
8265         * gst/gst.c: (ensure_current_registry_forking):
8266         let's make valgrind happy...
8267
8268 2006-07-09  Wim Taymans  <wim@fluendo.com>
8269
8270         * gst/gstelement.c: (activate_pads),
8271         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8272         Better pad activation code: Reset the collect value too on resync.
8273         Add some comments.
8274
8275 2006-07-09  Wim Taymans  <wim@fluendo.com>
8276
8277         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8278         (gst_pad_activate_push):
8279         Use some more macros where it makes sense.
8280         Allow pad mode switching instead of asserting. When a pad
8281         is activated in one mode and we activate it in another, 
8282         deactivate it first before activating it in a different mode.
8283         Fixes #329198.
8284
8285 2006-07-08  Andy Wingo  <wingo@pobox.com>
8286
8287         * tools/gst-launch.c (main): Handle err == NULL.
8288
8289         * gst/gst.c (init_post, ensure_current_registry)
8290         (ensure_current_registry_forking)
8291         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8292         factoring out the registry scanning into separate functions. Don't
8293         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8294         Better environment var name/interface suggestions accepted.
8295
8296 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8297
8298         * gst/gstobject.c: (gst_object_set_name_default),
8299         (gst_object_set_name):
8300           Random micro-optimisation: don't use a hash table
8301           with strings as keys and the usual strdup/strcmp
8302           involved, but rather just use the GQuark of the
8303           type name as key, since it needs to be looked up
8304           anyway to get the type name string.
8305
8306         * tests/check/gst/gstobject.c: (GST_START_TEST):
8307           Fix various leaks.
8308
8309 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8310
8311         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8312         (gst_bin_iterate_all_by_interface):
8313           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8314           GTypes are gulongs and thus the top 4 bytes might be cut
8315           off on some platforms when doing GPOINTER_TO_INT, leading
8316           to invalid GTypes and bad things happening (see RH bug #179654).
8317           Also add a check to make sure the type passed in is really
8318           an interface type.
8319
8320 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8321
8322         * .cvsignore:
8323           Ignore more.
8324
8325 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8326
8327         * Makefile.am:
8328         * configure.ac:
8329         * gst-element-check.m4:
8330         * gst-element-check.m4.in:
8331           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8332           instead of the unversioned gst-inspect (#324176, #168659).
8333
8334 2006-07-06  Wim Taymans  <wim@fluendo.com>
8335
8336         * gst/gstmessage.h:
8337         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8338         warnings.
8339
8340 2006-07-06  Wim Taymans  <wim@fluendo.com>
8341
8342         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8343         (gst_base_src_wait), (gst_base_src_update_length),
8344         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8345         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8346         (gst_base_src_loop), (gst_base_src_start),
8347         (gst_base_src_activate_pull):
8348         Update docs.
8349         blocksize == 0 now means the default blocksize when working in push
8350         based mode.
8351         Remove some pointless asserts in _wait function.
8352         Fix offset/length calculations and EOS handling. We can now pull 0
8353         bytes as well, which is allowed.
8354         use _check_get_range() to decide if we can operate in _pull based
8355         mode.
8356         Fix refcounting leak when check_get_range function was not 
8357         implemented.
8358         API GstBaseSrc::blocksize range can be 0 too now (default)
8359
8360         * tests/check/elements/filesrc.c: (GST_START_TEST),
8361         (filesrc_suite):
8362         Added check to test _get_range() behaviour.
8363
8364 2006-07-06  Wim Taymans  <wim@fluendo.com>
8365
8366         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8367         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8368         (gst_pad_pull_range):
8369         * gst/gstpad.h:
8370         Lots of comments and docs added to the pad functions.
8371         Flesh out the expected behaviour of the get_range() functions.
8372
8373 2006-07-06  Wim Taymans  <wim@fluendo.com>
8374
8375         * gst/gstbus.h:
8376         * gst/gstclock.h:
8377         * gst/gstevent.h:
8378         * gst/gstiterator.h:
8379         * gst/gstpad.h:
8380         * gst/gstplugin.h:
8381         * gst/gsttask.h:
8382         Remove comma at end of enumerator list. 
8383
8384 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
8385
8386         * win32/common/libgstbase.def:
8387         * win32/common/libgstdataprotocol.def:
8388         * win32/common/libsgtreamer.def:
8389         Add new exported functions.
8390
8391 2006-07-05  Wim Taymans  <wim@fluendo.com>
8392
8393         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8394         Add some more docs here and there.
8395
8396 2006-07-05  Wim Taymans  <wim@fluendo.com>
8397
8398         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8399         (gst_base_sink_loop), (gst_base_sink_get_position):
8400         When operating in pull mode update the offset so that we
8401         read sequentially.
8402
8403 2006-07-05  Wim Taymans  <wim@fluendo.com>
8404
8405         * gst/gstregistryxml.c: (read_string):
8406         Avoid strdup. (will happen in libxml, but hey!)
8407
8408         * gst/gsturi.c:
8409         Add some more docs.
8410
8411 2006-07-05  Wim Taymans  <wim@fluendo.com>
8412
8413         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8414         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8415         (gst_buffer_suite):
8416         No point in checking if the size of the subbuffer > 0, the
8417         code handles it correclty as demonstrated by unit test.
8418         Also add a unit test for the zero sized _new_and_alloc and
8419         _copy. Fixes #346663.
8420
8421 2006-07-05  Wim Taymans  <wim@fluendo.com>
8422
8423         * libs/gst/base/gstbasetransform.c:
8424         (gst_base_transform_prepare_output_buffer),
8425         (gst_base_transform_buffer_alloc),
8426         (gst_base_transform_handle_buffer):
8427         Make sure the buffer we pass to transform_ip has a refcount of
8428         1 and thus is writable. Fixes #343196
8429
8430 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
8431
8432         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8433         (gst_file_src_init), (gst_file_src_set_property),
8434         (gst_file_src_get_property), (gst_file_src_map_region):
8435         * plugins/elements/gstfilesrc.h:
8436         Add "sequential" property, off by default, to use madvise and hint
8437         to the kernel that sequential access is desired.
8438         Touch all retrieved pages by default to ensure they are pulled
8439         into memory. (Closes #345720)
8440
8441 2006-07-03  Wim Taymans  <wim@fluendo.com>
8442
8443         * docs/design/part-block.txt:
8444         * docs/design/part-dynamic.txt:
8445         Small docs updates.
8446
8447 2006-07-03  Wim Taymans  <wim@fluendo.com>
8448
8449         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8450         (gst_caps_unref), (gst_static_caps_get),
8451         (gst_caps_append_structure):
8452         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8453         Use GSlice when the glib we build against is >= 2.10
8454
8455 2006-07-03  Wim Taymans  <wim@fluendo.com>
8456
8457         * gst/gstelement.c: (gst_element_pads_activate):
8458         Small cleanup in pad activation code.
8459
8460 2006-07-03  Wim Taymans  <wim@fluendo.com>
8461
8462         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8463
8464         * gst/gst-i18n-app.h:
8465         * gst/gst-i18n-lib.h:
8466         * tools/gst-inspect.c: (print_signal_info):
8467         The attached patch will make the inclusion of gettext.h unconditional in
8468         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8469         libintl.h in tools/gst-inspect.c.
8470         This allows use of --disable-nls again and fixes #344642.
8471
8472 2006-07-03  Edward Hervey  <edward@fluendo.com>
8473
8474         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8475         Implement pad blocking on events according to part-block.txt.
8476         More comments on behaviour.
8477         * tests/check/gst/gstevent.c: (test_event):
8478         Send event to peer pad of blocked pad (else it will block).
8479
8480 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8481
8482         * libs/gst/check/gstcheck.c: (gst_check_message_error),
8483         (gst_check_run_suite):
8484           if we get the wrong message, give us the types as string
8485         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8486           Fix a translatable
8487         * tests/check/elements/filesrc.c: (GST_START_TEST):
8488           add a test for trying to open a non-existing file
8489
8490 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8491
8492         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8493           add a test for adding self
8494
8495 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8496
8497         * libs/gst/check/gstcheck.h:
8498           add some assert_ as alias for fail_unless_*
8499         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8500           increase test coverage
8501
8502 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8503
8504         * Makefile.am:
8505           include lcov.mak for lcov coverage generation
8506         * tools/Makefile.am:
8507           add to CLEANFILES
8508
8509 2006-07-02  Edward Hervey  <edward@fluendo.com>
8510
8511         * tests/check/elements/.cvsignore:
8512         moaping
8513
8514 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8515
8516         * configure.ac:
8517           don't set CFLAGS and friends for gcov, done from GST_GCOV now
8518         * tests/check/Makefile.am:
8519           clean up gcov files
8520
8521 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8522
8523         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8524           remove gst_caps_simplify; it was not declared and not used
8525           and deprecated in 0.8
8526
8527 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8528
8529         * docs/faq/gst-uninstalled:
8530           don't put empty paths on PYTHONPATH
8531         * docs/gst/gstreamer-sections.txt:
8532           remove some symbols that are not there
8533
8534 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8535
8536         * gst/gstcaps.c: (gst_caps_compare_structures):
8537           whitespace fixes
8538         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8539         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8540           add more tests
8541
8542 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8543
8544         * libs/gst/dataprotocol/Makefile.am:
8545           build dataprotocol test by linking to the lib, instead of
8546           compiling the source, so we get coverage
8547         * tests/check/Makefile.am:
8548         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8549         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8550           add a test for filesrc
8551
8552 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8553
8554         * tests/check/gst/gststructure.c: (GST_START_TEST),
8555         (gst_structure_suite):
8556           Push coverage from 59.04% to 70.00%
8557
8558 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8559
8560         * tests/check/Makefile.am:
8561           gst-inspect every element; this makes sure that we also get
8562           coverage on element's get/set functions
8563
8564 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8565
8566         * configure.ac:
8567           set CFLAGS and friends to -O0 if gcov is being used
8568           add GCOV LIBS
8569         * gst/Makefile.am:
8570         * libs/gst/base/Makefile.am:
8571         * libs/gst/check/Makefile.am:
8572         * libs/gst/controller/Makefile.am:
8573         * libs/gst/dataprotocol/Makefile.am:
8574         * libs/gst/net/Makefile.am:
8575         * plugins/elements/Makefile.am:
8576         * plugins/indexers/Makefile.am:
8577           add makefile rules to generate gcov data and clean up
8578         * tests/check/Makefile.am:
8579           add a coverage target that generates an html overview
8580           of coverage data
8581
8582 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8583
8584         * tests/check/elements/fakesink.c:
8585         * tests/check/elements/fakesrc.c:
8586         * tests/check/elements/fdsrc.c:
8587         * tests/check/elements/identity.c:
8588         * tests/check/generic/sinks.c: (gst_sinks_suite):
8589         * tests/check/generic/states.c:
8590         * tests/check/gst/gst.c:
8591         * tests/check/gst/gstabi.c:
8592         * tests/check/gst/gstbin.c:
8593         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8594         * tests/check/gst/gstbus.c: (gst_bus_suite):
8595         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8596         * tests/check/gst/gstelement.c:
8597         * tests/check/gst/gstevent.c: (gst_event_suite):
8598         * tests/check/gst/gstghostpad.c:
8599         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8600         * tests/check/gst/gstmessage.c: (gst_message_suite):
8601         * tests/check/gst/gstminiobject.c:
8602         * tests/check/gst/gstobject.c:
8603         * tests/check/gst/gstpad.c:
8604         * tests/check/gst/gstpipeline.c:
8605         * tests/check/gst/gstplugin.c:
8606         * tests/check/gst/gstquery.c: (gst_query_suite):
8607         * tests/check/gst/gstsegment.c: (gst_segment_suite):
8608         * tests/check/gst/gststructure.c:
8609         * tests/check/gst/gstsystemclock.c:
8610         * tests/check/gst/gsttag.c:
8611         * tests/check/gst/gsttask.c: (gst_task_suite):
8612         * tests/check/gst/gstutils.c:
8613         * tests/check/gst/gstvalue.c:
8614         * tests/check/libs/adapter.c:
8615         * tests/check/libs/basesrc.c:
8616         * tests/check/libs/collectpads.c:
8617         * tests/check/libs/controller.c:
8618         * tests/check/libs/gdp.c: (gst_dp_suite):
8619         * tests/check/libs/gstnetclientclock.c:
8620         * tests/check/libs/gstnettimeprovider.c:
8621         * tests/check/libs/libsabi.c: (libsabi_suite):
8622         * tests/check/libs/typefindhelper.c:
8623         * tests/check/pipelines/cleanup.c:
8624         * tests/check/pipelines/parse-launch.c:
8625         * tests/check/pipelines/simple-launch-lines.c:
8626         * tests/check/pipelines/stress.c: (stress_suite):
8627           use the new macro
8628
8629 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8630
8631         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8632         * libs/gst/check/gstcheck.h:
8633           create a macro and function so that the simple unit test
8634           case can be just one macro to create main()
8635
8636 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
8637
8638         * gst/gstbin.c: (gst_bin_restore_thyself):
8639         * gst/gstxml.c: (gst_xml_make_element):
8640           Fix deserialisation from XML. Set parent manually
8641           instead of using gst_bin_add(), since gst_bin_add()
8642           will unlink all pads of the element being added.
8643           Fixes #341667.
8644
8645 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
8646
8647         Patch by: Peter Kjellerstedt <pkj at axis com>
8648
8649         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8650           Fix missing g_strdup() and double free when using the
8651           --gst-plugin-load command line option (#346097).
8652
8653 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8654
8655         * gst/gstinfo.c:
8656           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8657
8658         * libs/gst/net/gstnetclientclock.c:
8659         * libs/gst/net/gstnettimeprovider.c:
8660           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8661
8662 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8663
8664         * docs/manual/advanced-dataaccess.xml:
8665           Fix buffer probe example compilation in
8666           ADM (#345708).
8667         
8668 2006-06-22  Edward Hervey  <edward@fluendo.com>
8669
8670         * gst/gstelement.c: (gst_element_pads_activate):
8671         We need to deactivate src pads first and then sink pads.
8672         The reason is the src pads might be blocking while holding the streaming
8673         lock, so we need to deactivate them first so that deactivating the sink
8674         pads doesn't block (since it will require the streaming lock).
8675
8676 2006-06-22  Wim Taymans  <wim@fluendo.com>
8677
8678         * libs/gst/base/gstbasetransform.c:
8679         (gst_base_transform_buffer_alloc):
8680         Forgot to remove two unneeded unrefs.
8681         Simplify a check _is_equal allready checks the obvious case.
8682
8683 2006-06-22  Wim Taymans  <wim@fluendo.com>
8684
8685         * docs/design/part-block.txt:
8686         Some docs about what pad_block should do.
8687
8688 2006-06-22  Wim Taymans  <wim@fluendo.com>
8689
8690         * gst/gstcaps.c: (gst_caps_replace):
8691         Fix crasher when passed NULL. Doc clarification.
8692         Optimize for the trivial case.
8693
8694         * gst/gstpipeline.c: (gst_pipeline_change_state):
8695         Small cleanups.
8696
8697         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8698         Small documentation cleanup.
8699
8700         * libs/gst/base/gstbasetransform.c:
8701         (gst_base_transform_buffer_alloc):
8702         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8703         is what we need and it avoids a whole lot of redundant 
8704         refcount operations.
8705
8706 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
8707
8708         Patch by: Philip Jägenstedt  <philip at lysator liu se>
8709
8710         * docs/manual/advanced-dataaccess.xml:
8711           Fix 'Embedding static elements' section to use
8712           GST_PLUGIN_DEFINE_STATIC (#345607).
8713
8714 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8715
8716         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8717           Attempt to 'fix' spuriously failing test case: it seems like the
8718           timeout of half a second is simply too small when the system is under
8719           load otherwise, and the timeout doesn't really seem to serve any
8720           particular purpose here. Give the pipeline a few seconds to preroll
8721           first, and then give it another half a second to go from PAUSED to
8722           PLAYING and marshal the message into the main thread.
8723
8724 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8725
8726         * tools/gst-feedback-m.m:
8727           Don't only use unversioned tools, try versioned tools as well
8728           (#345086).
8729
8730 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8731
8732         * gst/gstbus.c: (gst_bus_class_init):
8733           Fix some typos, make docs more explicit.
8734
8735 2006-06-20  Wim Taymans  <wim@fluendo.com>
8736
8737         * tests/check/gst/gstghostpad.c: (block_callback),
8738         (GST_START_TEST), (gst_ghost_pad_suite):
8739         Added some more ghostpad tests, mainly blocking
8740         and probes.
8741
8742 2006-06-16  Wim Taymans  <wim@fluendo.com>
8743
8744         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8745         (gst_file_sink_close_file), (gst_file_sink_do_seek),
8746         (gst_file_sink_event), (gst_file_sink_render):
8747         * plugins/elements/gstfilesink.h:
8748         Check if we can seek in the file instead of assuming
8749         we always can. Post an error when we are asked to seek in a
8750         non-seekable file (like a fifo). Fixes #343312.
8751         Some cleanups.
8752
8753 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8754
8755         * tools/gst-launch.1.in:
8756           Un-garble (fourcc) bit in filtered caps section.
8757
8758 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8759
8760         * docs/manual/advanced-autoplugging.xml:
8761         * docs/manual/basics-helloworld.xml:
8762         * docs/manual/highlevel-components.xml:
8763           Don't leak bus reference in sample code.
8764
8765 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
8766
8767         * autogen.sh:
8768           Add default for new --enable-plugin-docs switch.
8769
8770         * configure.ac:
8771           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8772           Fixes #344039.
8773
8774         * docs/Makefile.am:
8775           Use new ENABLE_PLUGIN_DOCS conditional.
8776
8777 2006-06-14  Wim Taymans  <wim@fluendo.com>
8778
8779         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8780         Make it clear with a FIXME and a real define what the #if 0
8781         previously disabled.
8782
8783 2006-06-14  Wim Taymans  <wim@fluendo.com>
8784
8785         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8786         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8787         * libs/gst/base/gstbasetransform.c:
8788         (gst_base_transform_sink_eventfunc):
8789         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8790         Don't randomly and silently reset a segment when the format 
8791         changes as this is a bug somewhere upstream. Fixes #330379.
8792
8793 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8794
8795         Patch by: Wouter Paesen  <wouter at kangaroot net>
8796
8797         * libs/gst/controller/gstcontroller.c:
8798         (gst_controlled_property_new):
8799           Fix controlling of float properties (#344849).
8800
8801         * tests/check/libs/controller.c:
8802         (gst_test_mono_source_get_property),
8803         (gst_test_mono_source_set_property),
8804         (gst_test_mono_source_class_init), (GST_START_TEST):
8805           While we're at it, add some float stuff to unit test.
8806
8807 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8808
8809         * docs/README:
8810         * docs/images/gdp-header.svg:
8811           add a gdp image
8812         * docs/libs/Makefile.am:
8813         * docs/libs/gdp-header.png:
8814         * libs/gst/dataprotocol/dataprotocol.c:
8815           add it to the API docs
8816         * docs/manual/intro-motivation.xml:
8817           fix typo
8818
8819 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8820
8821         * gst/gst.c: (scan_and_update_registry), (init_post):
8822           If the fork()'ed child process can't write the updated registry cache
8823           file to disk for some reason, make it exit with a failure exit code,
8824           so that the parent can then re-scan the plugins itself and update the
8825           registry structures in memory and work with that (rather than failing
8826           when creating elements because seemingly no plugins are available).
8827           Refactor registry scanning code into separate function for this and
8828           also separate fork() and non-fork() code paths. Fixes #344748.
8829
8830 2006-06-13  Wim Taymans  <wim@fluendo.com>
8831
8832         * docs/manual/advanced-dataaccess.xml:
8833         Fix wrong PluginDesc. Fixes #344755.
8834
8835 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8836
8837         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8838           Fix silly bug that prevented us from creating
8839           ~/.gstreamer-0.10 and writing the registry in one
8840           go (the first call to g_mkstemp() would overwrite the
8841           placeholder in the template string, so the second call
8842           to g_mkstemp() after creating the missing directory
8843           would then error out with 'invalid argument').
8844
8845 2006-06-13  Edward Hervey  <edward@fluendo.com>
8846
8847         * gst/gst.c: (init_post):
8848         Free string.
8849
8850 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8851
8852         * gst/glib-compat-private.h:
8853         * gst/glib-compat.c:
8854         * gst/glib-compat.h:
8855         * gst/gstvalue.c: (gst_value_serialize_flags):
8856           remove GLib 2.6 compatibility code
8857
8858 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
8859
8860         * gst/parse/Makefile.am:
8861           Fix build with 'make -j N' even more (#340016).
8862
8863 2006-06-12  Wim Taymans  <wim@fluendo.com>
8864
8865         * docs/gst/gstreamer-sections.txt:
8866         Fix docs.
8867
8868 2006-06-12  Wim Taymans  <wim@fluendo.com>
8869
8870         * gst/gstsegment.c: (gst_segment_set_duration),
8871         (gst_segment_set_last_stop), (gst_segment_set_seek),
8872         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8873         (gst_segment_to_running_time), (gst_segment_clip):
8874         Use G_UNLIKELY to help the compiler a bit.
8875
8876 2006-06-12  Wim Taymans  <wim@fluendo.com>
8877
8878         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8879
8880         * gst/gstevent.c: (gst_event_get_type):
8881         * gst/gstmessage.c:
8882         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8883         (gst_pad_push):
8884         constify quark registration strings. Fixes #344115
8885         Avoid unneeded type checking is _pad_push() by internally
8886         calling gst_pad_chain_unchecked().
8887
8888 2006-06-12  Wim Taymans  <wim@fluendo.com>
8889
8890         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8891         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8892         (gst_subbuffer_finalize), (gst_buffer_create_sub),
8893         (gst_buffer_is_span_fast), (gst_buffer_span):
8894         Init _type for consistency.
8895         Use _FLAGS macro to avoid type check.
8896         Avoid unneeded type checks in subbufer code.
8897
8898 2006-06-12  Wim Taymans  <wim@fluendo.com>
8899
8900         * gst/gst.c: (gst_debug_help):
8901         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8902         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8903         (gst_plugin_feature_list_free):
8904         * gst/gstregistry.c: (gst_registry_add_plugin),
8905         (gst_registry_add_feature), (gst_registry_plugin_filter),
8906         (gst_registry_feature_filter), (gst_registry_find_plugin),
8907         (gst_registry_find_feature), (gst_registry_get_plugin_list),
8908         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8909         * gst/gstregistryxml.c: (load_feature),
8910         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8911         * gst/gstminiobject.c: (gst_mini_object_unref),
8912         (gst_mini_object_replace), (gst_value_mini_object_free),
8913         (gst_value_mini_object_copy):
8914         Use _CAST macros to avoid unneeded type checking.
8915         Added some more G_UNLIKELY.
8916
8917 2006-06-12  Wim Taymans  <wim@fluendo.com>
8918
8919         * gst/gstbuffer.h:
8920         Avoid unneeded type checking.
8921         API: GST_BUFFER_IS_DISCONT
8922
8923         * gst/gstminiobject.h:
8924         Avoid type check in flag accessor.
8925
8926         * gst/gstelementfactory.h:
8927         * gst/gstplugin.h:
8928         * gst/gstpluginfeature.h:
8929         Add _CAST macros.
8930         API: GST_ELEMENT_FACTORY_CAST
8931         API: GST_PLUGIN_CAST
8932         API: GST_PLUGIN_FEATURE_CAST
8933
8934 2006-06-12  Wim Taymans  <wim@fluendo.com>
8935
8936         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8937         (gst_object_unref):
8938         Add G_UNLIKELY in type registration.
8939         Avoid type check in _ref/_unref since that is also
8940         done in glib.
8941
8942 2006-06-12  Wim Taymans  <wim@fluendo.com>
8943
8944         * gst/gsterror.c: (gst_g_error_get_type):
8945         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8946         (gst_static_pad_template_get_type):
8947         * gst/gsttaglist.c: (gst_tag_list_get_type):
8948         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8949         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8950         * gst/gsturi.c: (gst_uri_handler_get_type):
8951         * gst/gstvalue.c: (gst_date_get_type):
8952         * gst/gstxml.c: (gst_xml_get_type):
8953         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8954         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8955         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8956         Add G_UNLIKELY in type registration.
8957
8958 2006-06-12  Wim Taymans  <wim@fluendo.com>
8959
8960         * tools/gst-inspect.c: (print_signal_info):
8961         Properly print enum values.
8962
8963 2006-06-12  Wim Taymans  <wim@fluendo.com>
8964
8965         * gst/gstinfo.c: (gst_debug_set_active),
8966         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8967         * gst/gstinfo.h:
8968         Add some G_[UN]LIKELY.
8969         Maintain __gst_debug_min to avoid formatting the arguments of
8970         debug messages that will be dropped anyway to avoid a lot of 
8971         overhead from the debugging system.
8972
8973 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8974
8975         * po/POTFILES.in:
8976         * po/POTFILES.skip:
8977           add missing files containing translatable strings, tell intltool about
8978           one exception
8979
8980 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8981
8982         * tests/check/libs/.cvsignore:
8983         add test-binary to ignore list
8984
8985 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8986
8987         * docs/libs/gstreamer-libs-docs.sgml:
8988         reorder (put dp into a chapter) and indent
8989
8990 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8991
8992         * configure.ac:
8993           back to HEAD
8994
8995 === release 0.10.8 ===
8996
8997 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
8998
8999         * configure.ac:
9000           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
9001
9002 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9003
9004         * gst/gst.c: (init_post):
9005           move pid declaration to declaration block
9006
9007 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9008
9009         * gst/gst.c: (init_post):
9010           use _exit() instead of exit() in our forked child; this ensures
9011           that none of the registered exit handlers from whatever is using
9012           GStreamer get executed.  This fixes gnome-mixer-applet failing
9013           to load, because ORBit would shut down.
9014           Spotted by: Edward Hervey  <edward@fluendo.com>
9015           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
9016           Fixes #344474
9017
9018 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9019
9020         * configure.ac:
9021           back to TRUNK
9022
9023 === release 0.10.7 ===
9024
9025 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
9026
9027         * configure.ac:
9028           releasing 0.10.7, "Soepeke, ik zie ou"
9029
9030 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9031
9032         * configure.ac:
9033         * po/af.po:
9034         * po/az.po:
9035         * po/bg.po:
9036         * po/ca.po:
9037         * po/cs.po:
9038         * po/de.po:
9039         * po/en_GB.po:
9040         * po/fr.po:
9041         * po/it.po:
9042         * po/nb.po:
9043         * po/nl.po:
9044         * po/ru.po:
9045         * po/sq.po:
9046         * po/sr.po:
9047         * po/sv.po:
9048         * po/tr.po:
9049         * po/uk.po:
9050         * po/vi.po:
9051         * po/zh_CN.po:
9052         * po/zh_TW.po:
9053         * win32/common/config.h:
9054           0.10.6.2 prerelease
9055
9056 2006-06-07  Wim Taymans  <wim@fluendo.com>
9057
9058         * gst/gstindex.c: (gst_index_gtype_resolver):
9059         * tools/gst-xmlinspect.c: (print_plugin_info):
9060         Fix leak spotted by coverity checker. Fixes #343827
9061         Fix another other leak found by paolo borelli.
9062
9063 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9064
9065         * libs/gst/dataprotocol/dataprotocol.c:
9066         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9067         (gst_dp_version_get_type), (gst_dp_init),
9068         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
9069         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
9070         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
9071         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
9072         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
9073         (gst_dp_packetizer_free):
9074         * libs/gst/dataprotocol/dataprotocol.h:
9075           API: add a GstDPPacketizer object, and create/free functions
9076           API: add GstDPVersion enum
9077           Add 1.0 event function that uses the string serialization
9078           Serialize more useful buffer flags
9079           Fixes #343988
9080
9081 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9082
9083         * tests/check/Makefile.am:
9084         * tests/check/gst/gstabi.c:
9085         * tests/check/gst/struct_ppc64.h:
9086         * tests/check/libs/libsabi.c:
9087         * tests/check/libs/struct_ppc64.h:
9088           add ppc64 structure sizes
9089
9090 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9091
9092         * tests/check/Makefile.am:
9093         * tests/check/gst/gstabi.c:
9094         * tests/check/gst/struct_x86_64.h:
9095         * tests/check/libs/libsabi.c:
9096         * tests/check/libs/struct_x86_64.h:
9097           generate and add structure size lists for x86_64
9098
9099 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9100
9101         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9102         * libs/gst/check/gstcheck.h:
9103           factor out the method from tests that checks size of structures,
9104           and add code to generate the header containing these sizes
9105         * tests/check/gst/gstabi.c: (GST_START_TEST):
9106         * tests/check/gst/struct_i386.h:
9107         * tests/check/libs/libsabi.c: (GST_START_TEST):
9108         * tests/check/libs/struct_i386.h:
9109           use it
9110
9111 2006-06-06  Michael Smith  <msmith@fluendo.com>
9112
9113         * gst/gstsegment.h:
9114           Don't use c++-style comments, fixes #343929
9115
9116 2006-06-05  Edward Hervey  <edward@fluendo.com>
9117
9118         * gst/gst.c:
9119         plugin_paths is not used if we build without registry support.
9120
9121         * gst/gstsegment.c: (gst_segment_copy): 
9122         _copy() was always returning NULL...
9123
9124 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9125
9126         * libs/gst/dataprotocol/dataprotocol.c:
9127         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9128         (gst_dp_packet_from_event):
9129           factor out CRC code
9130
9131 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9132
9133         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9134           make sure we unset caps
9135
9136 2006-06-02  Michael Smith  <msmith@fluendo.com>
9137
9138         * libs/gst/check/gstcheck.c: (gst_check_init),
9139         (gst_check_chain_func):
9140         * libs/gst/check/gstcheck.h:
9141           Add a cond/mutex to the check support lib, signal this whenever we
9142           add to the buffers list. This will allow tests to not busy-wait on
9143           the buffer-list.
9144
9145 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9146
9147         * libs/gst/dataprotocol/dataprotocol.c:
9148         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9149         (gst_dp_packet_from_event):
9150           factor out some common header init code
9151
9152 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9153
9154         * docs/libs/gstreamer-libs-sections.txt:
9155         * docs/libs/tmpl/gstdataprotocol.sgml:
9156         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9157         * libs/gst/dataprotocol/dataprotocol.h:
9158           API: make gst_dp_crc() public
9159
9160 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9161
9162         * plugins/indexers/gstindexers.c: (plugin_init):
9163         conditionally register fileindexer (fixes #343598)
9164
9165 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9166
9167         * gst/gsttagsetter.h:
9168         Can't cast ifaces to a class
9169
9170         * libs/gst/net/gstnetclientclock.h:
9171         * libs/gst/net/gstnettimeprovider.h:
9172         * plugins/elements/gstfakesink.h:
9173         * plugins/elements/gstfakesrc.h:
9174         * plugins/elements/gstfdsink.h:
9175         * plugins/elements/gstfdsrc.h:
9176         * plugins/elements/gstfilesink.h:
9177         * plugins/elements/gstfilesrc.h:
9178         * plugins/elements/gstidentity.h:
9179         * plugins/elements/gstqueue.h:
9180         * plugins/elements/gsttee.h:
9181         * plugins/indexers/gstfileindex.c:
9182         * plugins/indexers/gstmemindex.c:
9183         * tests/old/examples/plugins/example.h:
9184         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9185
9186 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9187
9188         * libs/gst/dataprotocol/dataprotocol.c:
9189         (gst_dp_header_from_buffer):
9190           make sure we zero the whole ABI-compatible area
9191
9192 2006-06-01  Wim Taymans  <wim@fluendo.com>
9193
9194         Patch by: Alessandro Decina <alessandro at nnva dot org>
9195
9196         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9197         Make sure the EOS flag is cleared from pads after a flush
9198         or stop. Fixes #343538.
9199
9200         * tests/check/libs/collectpads.c: (GST_START_TEST),
9201         (gst_collect_pads_suite):
9202         Added test for collectpads reusage after EOS.
9203
9204 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
9205
9206         * gst/gst.c:
9207          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9208         * win32/common/libgstbase.def:
9209          export gst_collect_pads_set_flushing
9210         * win32/common/libgstreamer.def:
9211          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9212          gst_value_fraction_multiply
9213         * win32/vs6/gst_inspect.dsp:
9214          add a link to intl.lib
9215
9216 2006-05-30  Wim Taymans  <wim@fluendo.com>
9217
9218         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9219         (gst_collect_pads_chain):
9220         Handle the case where a pad is removed from the collection
9221         that could cause the other pads to become collectable.
9222
9223 2006-05-30  Wim Taymans  <wim@fluendo.com>
9224
9225         * gst/gstelement.c:
9226         Clarify the use of _release_request_pad() and
9227         _get_request_pad() a bit better.
9228
9229         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9230         (gst_adapter_take_buffer):
9231         Fix some doc and comment typos.
9232
9233 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9234
9235         * docs/gst/gstreamer-sections.txt:
9236         * docs/libs/gstreamer-libs-sections.txt:
9237           add declared symbols
9238
9239 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
9240
9241         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9242         Add debug that can be enabled using a #define at the top of the file,
9243         for dumping stats about how late/early we were when waking up from
9244         waiting on the clock.
9245
9246 2006-05-30  Wim Taymans  <wim@fluendo.com>
9247
9248         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9249         When rebuilding the pad list, don't leak the previous list.
9250
9251 2006-05-30  Wim Taymans  <wim@fluendo.com>
9252
9253         Patch by: Lutz Mueller <lutz at topfrose dot de>
9254
9255         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9256         (gst_base_src_get_query_types), (gst_base_src_update_length):
9257         Publish supported query types.
9258         Update last_stop field in get_range mode so the position
9259         query works. Fixes #342321.
9260
9261 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
9262
9263         * docs/gst/gstreamer-sections.txt:
9264         * gst/gsttaglist.c: (_gst_tag_initialize):
9265         * gst/gsttaglist.h:
9266           API: add GST_TAG_PREVIEW_IMAGE (#343341).
9267
9268 2006-05-30  Wim Taymans  <wim@fluendo.com>
9269
9270         Patch by: Alessandro Decina <alessandro at nnva dot org>
9271
9272         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9273         Unlock mutex when removing an unknown pad.
9274         Fixes #343334.
9275
9276         * tests/check/Makefile.am:
9277         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9278         (push_event), (setup), (teardown), (GST_START_TEST),
9279         (gst_collect_pads_suite), (main):
9280         Added collecpads check, disabled for now as check crashes for
9281         some reason.
9282
9283 2006-05-29  Wim Taymans  <wim@fluendo.com>
9284
9285         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9286         Don't leak pads lists.
9287
9288 2006-05-29  Wim Taymans  <wim@fluendo.com>
9289
9290         * docs/libs/gstreamer-libs-sections.txt:
9291         * libs/gst/base/gstcollectpads.c:
9292         (gst_collect_pads_set_flushing_unlocked),
9293         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9294         (gst_collect_pads_stop):
9295         * libs/gst/base/gstcollectpads.h:
9296         API: gst_collect_pads_set_flushing()
9297         Added api to set the pads to flushing, useful for seeking
9298         code in elements using collectpads.
9299         Clear segment when receiving a flush.
9300
9301 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
9302
9303         * gst/gst.c: (add_path_func), (init_post):
9304           Don't scan registry paths passed via --gst-plugin-path immediately
9305           (will crash, because absolutely nothing is set up and no types are
9306           registered etc.); do this later in init_post(). Fixes #343057.
9307
9308 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9309
9310         * gst/gst.c: (init_post):
9311           if we have fork, fork while reading/rebuilding the registry
9312           so the parent doesn't take the hit of having all plugins loaded
9313           in memory.  Fixes #342777.
9314         * configure.ac:
9315           Check if we have fork()
9316         * win32/common/config.h.in:
9317           no fork() on win32
9318
9319 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9320
9321         * plugins/elements/gstelements.c:
9322         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9323         (gst_file_src_init), (gst_file_src_set_property),
9324         (gst_file_src_get_property), (gst_file_src_start):
9325         * plugins/elements/gstfilesrc.h:
9326           API: GstFileSrc::use-mmap
9327
9328         Add a use-mmap property to enable easier testing of all code paths.
9329         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9330         in the absence of gnomevfssrc. (Closes #340501)
9331
9332 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9333
9334         * tools/gst-inspect.c:
9335         Add missing include, removes warning of ngettext not being defined on
9336         some arches.
9337
9338 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9339
9340         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9341         Handle NULL input and output pointers silently as a failed conversion,
9342         rather than g_warnings.
9343
9344 2006-05-25  Wim Taymans  <wim@fluendo.com>
9345
9346         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9347         Initialize variable before using. Fixes #342820.
9348
9349 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
9350
9351         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9352           Fix off-by-one bug that would only allow peeks of N-1 bytes
9353           from the start even if the buffer to typefind on contains
9354           in fact N bytes of data (makes vorbis typefinding from a
9355           vorbis identification header buffer work).
9356
9357         * tests/check/Makefile.am:
9358         * tests/check/libs/.cvsignore:
9359         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9360         (gst_typefindhelper_suite), (main), (foobar_typefind),
9361         (plugin_init):
9362           Add very basic unit test for gst_type_find_helper_for_buffer()
9363           that checks for the problem fixed above.
9364
9365 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9366
9367         * tools/gst-inspect.c: (print_interfaces),
9368         (print_element_properties_info), (print_element_list), (main):
9369           add more translatable strings
9370
9371 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
9372
9373         Patch by: Julien Moutte  <julien at moutte net>
9374
9375         * docs/gst/gstreamer-sections.txt:
9376           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9377           
9378         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9379         (gst_fake_sink_preroll):
9380         * plugins/elements/gstfakesink.h:
9381           API: Add new GstFakeSink::preroll-handoff signal (#337100).
9382
9383 2006-05-23  Wim Taymans  <wim@fluendo.com>
9384
9385         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9386         * gst/gstpad.h:
9387         Added _CUSTOM error and success GstFlowReturn that can be
9388         used be elements internally. 
9389         Added macro to check for SUCCESS flowreturns.
9390         API: GST_FLOW_CUSTOM_SUCCESS
9391         API: GST_FLOW_CUSTOM_ERROR
9392         API: GST_FLOW_IS_SUCCESS
9393
9394         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9395         Added check for GstFlowReturn sanity.
9396
9397 2006-05-23  Wim Taymans  <wim@fluendo.com>
9398
9399         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9400
9401         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9402         (gst_collect_pads_event):
9403         clear/reset segment info in FLUSH_STOP.
9404         Fixes #336929.
9405
9406 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
9407
9408         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9409         (gst_collect_pads_check_collected):
9410         Flush queued buffer on _stop(), fixes playing again (#342454)
9411
9412 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9413
9414         * tests/check/gst/gststructure.c: (GST_START_TEST),
9415         (gst_structure_suite):
9416           add a test for a complete structure
9417
9418 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9419
9420         * docs/faq/developing.xml:
9421         * docs/faq/faq.xml:
9422         * docs/faq/troubleshooting.xml:
9423         * docs/faq/using.xml:
9424           Some minor FAQ updates that won't change the fact that
9425           our FAQ is badly structured, full of information hardly
9426           anyone new to GStreamer needs to know and lacking lots
9427           of information people constantly ask for.
9428           
9429 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
9430
9431         * gst/gstpad.c: (gst_pad_set_caps):
9432           Short-circuit gst_pad_set_caps if setting the existing
9433           caps pointer again, and avoid printing debug and 
9434           reffing/unreffing the caps.
9435
9436         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9437           There's actually no need to set the caps before pushing -
9438           the acceptcaps method will handle it anyway.
9439
9440 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9441
9442         * docs/gst/gstreamer-sections.txt:
9443         * win32/common/libgstreamer.def:
9444         * gst/gstutils.c: (gst_element_seek_simple):
9445         * gst/gstutils.h:
9446           API: add gst_element_seek_simple() (#342238).
9447
9448 2006-05-18  Edward Hervey  <edward@fluendo.com>
9449
9450         * gst/gsttypefind.c: (gst_type_find_get_type):
9451         * gst/gsttypefind.h:
9452         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9453         registered for GstTypeFind pointers. This allows wrapping the structure
9454         in bindings (i.e. gst-python).
9455
9456 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9457
9458         * gst/gsttagsetter.c:
9459           Docs additions and fixes (see #339918).
9460
9461 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9462
9463         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9464         The caps intersection algorithm can produce multiple copies of the
9465         caps. Until that is fixed, we need to simplify the result to be
9466         sure whether the allowed caps are fixed or not.
9467
9468         * plugins/elements/gstqueue.c: (gst_queue_init),
9469         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9470         (gst_queue_push_one):
9471         Proxied buffer alloc should not set the caps on the source pad.
9472         When pushing buffers, we always accept the caps change that triggers.
9473         This prevents negotiation errors caused by caps changing mid-stream 
9474         and then being refused on our source pad (because upstream is now
9475         refusing those caps).
9476
9477 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9478
9479         * tests/examples/helloworld/helloworld.c: (main):
9480           Must plug audioconvert and audioresample between decoder
9481           and audio sink.
9482
9483 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
9484
9485         * gst/gstregistryxml.c: (read_string), (load_pad_template),
9486         (load_feature), (load_plugin):
9487         Allow empty strings for some of the plugin fields so we don't 
9488         drop valid plugin entries that were written out correctly
9489         (Fixes #341479)
9490
9491 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
9492         
9493         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9494           Use g_remove and g_rename instead of remove and rename that don't 
9495           handle utf8 characters. rename was failing for users who had specific
9496           characters in their name then the registry was built at each 
9497           gstreamer init.
9498         * win32/vs6/gst_inspect.dsp:
9499         * win32/vs6/gst_launch.dsp:
9500         * win32/vs6/libgstbase.dsp:
9501         * win32/vs6/libgstcoreelements.dsp:
9502         * win32/vs6/libgstreamer.dsp:
9503           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
9504           build of libgstreamer and clean unused libraries in projects link 
9505           settings.
9506
9507 2006-05-17  Edward Hervey  <edward@fluendo.com>
9508
9509         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9510         The queue is not responsible for pushing an EOS when receiving a fatal
9511         flow error. It's up to the real element driving the pipeline to do that.
9512
9513 2006-05-16  Edward Hervey  <edward@fluendo.com>
9514
9515         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9516         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9517         buffer returned a fatal error. It should just send an EOS and stop
9518         its task.
9519         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9520         when pushing buffers on the queue and will be able to handle the event.
9521
9522 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9523
9524         * docs/manual/basics-bins.xml:
9525         * docs/manual/basics-init.xml:
9526           Fix typos and minor errors in sample code (#341856).
9527
9528 2006-05-16  Wim Taymans  <wim@fluendo.com>
9529
9530         * docs/design/part-qos.txt:
9531         Fix indexes in formulas to make more sense.
9532
9533 2006-05-15  Wim Taymans  <wim@fluendo.com>
9534
9535         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9536         Don't report POSITION based on clock time if sync is
9537         disabled in a sink.
9538
9539 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
9540
9541         * gst/gstobject.h:
9542           Add cast to make compiler happy - refcount variable was a gint
9543           in GstObject but is a guint in GObject and g_atomic_int_get()
9544           wants a gint *.
9545
9546 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9547
9548         * gst/parse/Makefile.am:
9549           chain commands using &&, which also makes parallel make work
9550
9551 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
9552
9553         * docs/gst/gstreamer-sections.txt:
9554         * gst/gstevent.c:
9555         * gst/gstevent.h:
9556         * gst/gstmessage.h:
9557           Minor docs fixes.
9558
9559 === release 0.10.6 ===
9560
9561 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
9562
9563         * configure.ac:
9564           releasing 0.10.6, "Take the cannoli"
9565
9566 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9567
9568         * tools/gst-launch.c: (print_tag):
9569           Fix use of uninitialized variable in the hypothetical
9570           case that some broken plugin creates a GST_TAG_IMAGE
9571           tag containing a NULL buffer (#341667).
9572
9573 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9574
9575         * tools/gst-launch.c: (print_tag):
9576           Print something more intelligible for image tags when
9577           using the -t switch (#341556).
9578
9579 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9580
9581         * Makefile.am:
9582           updates for win32
9583         * configure.ac:
9584           define GST_MAJORMINOR so we have it available in win32/common/config.h
9585           Possibly remove it from our Makefile.am files later
9586         * win32/common/config.h:
9587         * win32/common/config.h.in:
9588           added GST_MAJORMINOR
9589         * win32/common/gstenumtypes.c: (register_gst_resource_error):
9590         * win32/common/gstversion.h:
9591           updated
9592
9593 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
9594
9595         * win32/MANIFEST:
9596           Update win32 files listing.
9597         * win32/common/gstversion.h:
9598           Add GST_MAJORMINOR definition.
9599         * win32/common/libgstreamer.def:
9600           Add new exported functions.
9601           
9602 2006-05-12  Michael Smith  <msmith@fluendo.com>
9603
9604         * gst/gstplugin.c: (gst_plugin_load_file):
9605           If an so file has no plugin entry point, unload the module.
9606
9607 2006-05-11  Wim Taymans  <wim@fluendo.com>
9608
9609         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9610         (gst_queue_set_property):
9611         Don't forget to signal the _chain or _loop function 
9612         when the queue size or thresholds change since that might
9613         cause them to make progres again.
9614
9615 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
9616
9617         * gst/gstclock.c: (gst_clock_class_init):
9618         * gst/gstindex.c: (gst_index_class_init):
9619         * gst/gstobject.c: (gst_object_class_init):
9620         * gst/gstpad.c: (gst_pad_class_init):
9621         * gst/gstpipeline.c: (gst_pipeline_class_init):
9622         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9623         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9624         * libs/gst/base/gstbasetransform.c:
9625         (gst_base_transform_class_init):
9626         * libs/gst/net/gstnetclientclock.c:
9627         (gst_net_client_clock_class_init):
9628         * libs/gst/net/gstnettimeprovider.c:
9629         (gst_net_time_provider_class_init):
9630         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9631         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9632         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9633         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9634         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9635         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9636         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9637         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9638         * plugins/elements/gsttee.c: (gst_tee_class_init):
9639         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9640         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9641           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9642
9643 2006-05-11  Wim Taymans  <wim@fluendo.com>
9644
9645         * gst/gstbuffer.c: (_gst_buffer_initialize):
9646         Register subbufer along with the buffer type so that
9647         it does not accidentally gets registered from N
9648         different streaming threads in a non threadsafe way.
9649
9650 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9651
9652         * gst/gstbuffer.h:
9653         * gst/gstevent.h:
9654         * gst/gstmessage.h:
9655           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9656           gst_event_ref() and gst_message_ref() functions again
9657           (ugly hack, please do fix if there's a better way besides
9658           overrides.txt, which doesn't seem to work).
9659
9660 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9661
9662         * libs/gst/check/gstcheck.h:
9663           add an assert for setting state to avoid lots of repetitive code
9664           in the future
9665
9666 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9667
9668         * gst/gstvalue.c: (gst_value_serialize_flags):
9669           fix a leak if no flags are set
9670         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9671           fix leak in tests
9672
9673 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9674
9675         * docs/manual/basics-pads.xml:
9676           Expand a bit on caps and filtered links and update
9677           examples that were still using the no longer existing
9678           gst_pad_link_filtered() (#338206).
9679
9680 2006-05-10  Wim Taymans  <wim@fluendo.com>
9681
9682         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9683         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9684         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9685         (gst_collect_pads_stop):
9686         * libs/gst/base/gstcollectpads.h:
9687         No need to call _stop in _finalize.
9688         Iterate the main pad list in _finalize.
9689         Added some more debug.
9690         Free lists and data in the right order.
9691         Also free data whem doing _remove_pad when stopped for
9692         backward compatibility protect ::started with PAD_LOCK as
9693         well.
9694
9695 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9696
9697         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9698         (gst_structure_parse_value):
9699           add some comments
9700           rename a method so that it actually says what it does better
9701
9702 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9703
9704         * gst/gstevent.c: (_gst_event_initialize):
9705         * gst/gstformat.c: (_gst_format_initialize):
9706           make sure some essential types used by events are registered
9707           as part of gst_init()
9708         * gst/gstvalue.c: (gst_value_serialize_flags):
9709           if no flags are set, serialize them to a value that represents NONE
9710           so that deserializing them works
9711         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9712           add tests for serialization and deserialization of flags
9713
9714 2006-05-10  Wim Taymans  <wim@fluendo.com>
9715
9716         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9717         (gst_collect_pads_collect_range), (gst_collect_pads_available),
9718         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9719         (gst_collect_pads_event), (gst_collect_pads_chain):
9720         Update docs.
9721         Better debug info.
9722         Catch and return errors from the collect function
9723         Refuse data on eos pads.
9724
9725 2006-05-10  Edward Hervey  <edward@fluendo.com>
9726
9727         * gst/gstinterface.h:
9728         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9729         GInterface type checking.
9730         They were previously using non-defined macros.
9731
9732 2006-05-09  Wim Taymans  <wim@fluendo.com>
9733
9734         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9735         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9736         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9737         (gst_collect_pads_start), (gst_collect_pads_stop),
9738         (gst_collect_pads_peek), (gst_collect_pads_pop),
9739         (gst_collect_pads_available), (gst_collect_pads_read),
9740         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9741         (gst_collect_pads_is_collected), (gst_collect_pads_event),
9742         (gst_collect_pads_chain):
9743         * libs/gst/base/gstcollectpads.h:
9744         Clean up the mess that is collectpads, add comments and
9745         FIXMEs where needed.
9746         Maintain a separate pad list so we can add pads while
9747         collecting the other ones. For this we need a new separate 
9748         lock (see comics).
9749         Fix memory leak in finalize.
9750         Refactor some weird code to set/unset pad flushing flags, mark
9751         with comments.
9752         Don't crash in _available, _read, _flush when we're EOS.
9753
9754         * tests/check/libs/.cvsignore:
9755         Ignore adapter check binary.
9756
9757 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9758
9759         * gst/gstindex.c: (gst_index_resolver_get_type):
9760         * plugins/elements/gstfakesink.c:
9761         (gst_fake_sink_state_error_get_type):
9762         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9763         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9764         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9765           Const-ify GEnumValue arrays.
9766
9767 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9768
9769         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9770           Add test case for flags + gst_buffer_make_metadata_writable().
9771
9772 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9773
9774         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9775           gst_buffer_make_metadata_writable() should maintain the
9776           buffer flags (those that make sense at least) (see #340859).
9777
9778 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9779
9780         * tools/gst-inspect.c:
9781         * tools/gst-launch.c:
9782         * tools/gst-typefind.c:
9783         * tools/gst-xmlinspect.c:
9784         * tools/tools.h:
9785           Fix up includes: need to include stdlib.h in tools.h for exit().
9786
9787 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9788
9789         * gst/gsttaglist.c: (_gst_tag_initialize):
9790         * gst/gsttaglist.h:
9791           API: add GST_TAG_IMAGE tag (#340721).
9792
9793 2006-05-08  Wim Taymans  <wim@fluendo.com>
9794
9795         * gst/gstquery.c:
9796         Added some docs for the segment query.
9797
9798 2006-05-08  Wim Taymans  <wim@fluendo.com>
9799
9800         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9801         (gst_base_src_loop), (gst_base_src_change_state):
9802         Always push non-flushing serialized events in the streaming 
9803         thread.
9804
9805 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9806
9807         * gst/gsterror.c: (_gst_stream_errors_init):
9808           Add a missing error string.
9809
9810 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
9811
9812         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9813         Add applied_rate to the debug
9814
9815         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9816         Copy applied_rate into the outgoing NEWSEGMENT event
9817
9818 2006-05-08  Wim Taymans  <wim@fluendo.com>
9819
9820         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9821
9822         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9823         (gst_base_sink_change_state):
9824         call ::unlock before taking the PREROLL_LOCK so we can safely
9825         handle elements that lock in ::render.
9826         Fixes #340174.
9827
9828 2006-05-08  Edward Hervey  <edward@fluendo.com>
9829
9830         * autogen.sh: (CONFIGURE_DEF_OPT): 
9831         Darwin's libtoolize is in fact called glibtoolize.
9832         Adding glibtoolize to the list of accepted names for libtoolize.
9833
9834 2006-05-08  Wim Taymans  <wim@fluendo.com>
9835
9836         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9837         Unify error handling, don't post an error message
9838         when a push() returns EOS but perform our normal EOS
9839         handling code. Fixes #340772.
9840
9841 2006-05-08  Wim Taymans  <wim@fluendo.com>
9842
9843         * docs/design/part-overview.txt:
9844         Make upsteam/downstream concepts more clear.
9845         Give an example of serialized/non-serialized events.
9846
9847         * docs/design/part-events.txt:
9848         * docs/design/part-streams.txt:
9849         Mention applied_rate.
9850
9851         * docs/design/part-trickmodes.txt:
9852         Mention applied rate, flesh out some more use cases.
9853
9854         * gst/gstevent.c: (gst_event_new_new_segment),
9855         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9856         (gst_event_parse_new_segment_full), (gst_event_new_tag),
9857         (gst_event_parse_tag), (gst_event_new_buffer_size),
9858         (gst_event_parse_buffer_size), (gst_event_new_qos),
9859         (gst_event_parse_qos), (gst_event_parse_seek),
9860         (gst_event_new_navigation):
9861         * gst/gstevent.h:
9862         Add applied_rate field to NEWSEGMENT event.
9863         API: gst_event_new_new_segment_full()
9864         API: gst_event_parse_new_segment_full()
9865
9866         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9867         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9868         (gst_segment_to_stream_time), (gst_segment_to_running_time):
9869         * gst/gstsegment.h:
9870         Add applied_rate to GstSegment structure.
9871         Make calculation of stream_time and running_time more correct
9872         wrt rate/applied_rate.
9873         Add some more docs.
9874         API: GstSegment::applied_rate field
9875         API: gst_segment_set_newsegment_full();
9876
9877         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9878         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9879         * libs/gst/base/gstbasetransform.c:
9880         (gst_base_transform_sink_eventfunc),
9881         (gst_base_transform_handle_buffer):
9882         Parse and use applied_rate in the GstSegment field.
9883
9884         * tests/check/gst/gstevent.c: (GST_START_TEST):
9885         Add check for applied_rate field.
9886
9887         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9888         (gstsegments_suite):
9889         Add more checks for various GstSegment operations.
9890
9891 2006-05-08  Wim Taymans  <wim@fluendo.com>
9892
9893         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9894         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9895         (gst_base_sink_get_position), (gst_base_sink_change_state):
9896         Store the sync time of the buffer end position separatly in a
9897         new variable eos_rtime so we can properly sync the EOS event.
9898         Fixes #340697.
9899         Fix the docs for gst_base_sink_set_qos_enabled().
9900         Don't set segment start to invalid value when we receive a 
9901         non TIME newsegment.
9902         get closer to handling position reporting for negative rates 
9903         correctly.
9904
9905 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9906
9907         * gst/gstcaps.c:
9908         Docs about how to print caps for debug purposes.
9909
9910         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9911         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9912
9913 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9914
9915         * gst/gstelement.c:
9916           use full enum names and preprend a '%' in docs strings to make recent 
9917           gtk-doc turn that into a link
9918
9919 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9920
9921         * docs/manual/basics-bins.xml:
9922         * docs/manual/basics-bus.xml:
9923         * docs/manual/basics-pads.xml:
9924           Some typo fixes, some additions, some clarifications. 
9925
9926 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9927
9928         * tools/gst-inspect.c: (main):
9929         * tools/gst-launch.c: (main):
9930         * tools/gst-run.c: (main):
9931         * tools/gst-typefind.c: (main):
9932         * tools/gst-xmlinspect.c: (main):
9933           Use the string passed to g_option_context_new() for
9934           what it's intended for - the program name is already
9935           printed elsewhere.
9936
9937 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9938
9939         * tools/Makefile.am:
9940         * tools/gst-inspect.c: (main):
9941         * tools/gst-launch.c: (main):
9942         * tools/gst-xmlinspect.c: (main):
9943         * tools/tools.h:
9944           Add back --version command line option (#340460).
9945
9946         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9947           Add --version option and use GOption for argument parsing; refactor a
9948           bit; accept directories as arguments and recurse into them; lastly,
9949           print a decent error message when things go wrong.
9950
9951 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9952
9953         * docs/manual/basics-bins.xml:
9954         Don't mention GstThread (#340611)
9955         * docs/manual/basics-elements.xml:
9956         Update link to GObject tutorial (#340607)
9957         
9958 2006-05-05  Wim Taymans  <wim@fluendo.com>
9959
9960         * gst/gstbuffer.h:
9961         * gst/gstminiobject.c:
9962         Add note about refcounting and miniobject/buffer writeability
9963         to docs. Fixes #340604
9964
9965         * gst/gstelementfactory.h:
9966         Added some explanation about @klass.
9967
9968 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9969
9970         * docs/manual/intro-motivation.xml:
9971         * docs/manual/manual.xml:
9972         Avoid CORBA & Bonobo references (#340598)
9973
9974 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9975
9976         * docs/manual/basics-bus.xml:
9977         * docs/manual/basics-pads.xml:
9978         Fix up some inaccuracies and omissions (#340609)
9979         
9980 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9981
9982         * gst/gstghostpad.c:
9983           Small typo in docs (#340625)
9984
9985 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9986
9987         * gst/parse/Makefile.am:
9988           Make 'make -j' proof (see #340698).
9989
9990 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9991
9992         * configure.ac:
9993           Require GLib-2.8 here as well.
9994
9995 2006-05-05  Wim Taymans  <wim@fluendo.com>
9996
9997         * gst/glib-compat.c:
9998         * gst/gst.c: (init_pre):
9999         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10000         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
10001         (gst_object_dispatch_properties_changed):
10002         * gst/gstobject.h:
10003         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10004         * gst/gststructure.c: (gst_structure_set_valist):
10005         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10006         Remove pre glib2.8 compatibility, fixes #340508
10007
10008 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
10009
10010         * gst/gsttaglist.h:
10011           Mention type of tags in doc blurbs.
10012
10013 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
10014
10015         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10016         (gst_pad_configure_src), (gst_pad_push):
10017         Restore acceptcaps checking behaviour now that good plugins have
10018         been released.
10019
10020 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
10021
10022         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
10023
10024         * gst/gst.c:
10025         * gst/gstbus.c:
10026         * gst/gstclock.c:
10027         * gst/gstevent.c:
10028         * gst/gstformat.c:
10029         * gst/gstmessage.c:
10030         * gst/gstparse.c:
10031         * gst/gstquery.c:
10032         * gst/gstutils.c:
10033         * gst/parse/Makefile.am:
10034         * libs/gst/base/gstadapter.c:
10035         * libs/gst/base/gstbasesrc.c:
10036         * libs/gst/base/gstpushsrc.c:
10037         * libs/gst/base/gsttypefindhelper.c:
10038         * plugins/elements/gstfakesrc.c:
10039         * plugins/elements/gstidentity.c:
10040           Make sure gstprivate.h and/or config.h are
10041           always included first, otherwise some of our
10042           defines (like _FILE_OFFSET_BITS) might be
10043           redefined in the system headers. Fixes build
10044           on opensolaris (#340016).
10045
10046 2006-05-04  Wim Taymans  <wim@fluendo.com>
10047
10048         * docs/libs/gstreamer-libs-sections.txt:
10049         API: addition: gst_adapter_take_buffer()
10050         
10051         * libs/gst/base/gstadapter.c: (gst_adapter_push),
10052         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
10053         (gst_adapter_available_fast):
10054         * libs/gst/base/gstadapter.h:
10055         Prepare for optimizing the hell out of this hugely inefficient
10056         piece of code. 
10057         Added gst_adapter_take_buffer() so we can at least start thinking
10058         about subbuffering and merging.
10059         Added some comments.
10060
10061         * tests/check/Makefile.am:
10062         * tests/check/libs/adapter.c: (GST_START_TEST),
10063         (gst_adapter_suite), (main):
10064         Added GstAdapter check.
10065
10066 2006-05-04  Wim Taymans  <wim@fluendo.com>
10067
10068         * docs/design/part-overview.txt:
10069         Fix some typos, add blurb about buffer flags.
10070
10071 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10072
10073         * docs/libs/gstreamer-libs-sections.txt:
10074           make sure GstBaseTransformClass shows up in the docs
10075         * libs/gst/base/gstbasetransform.c:
10076         * libs/gst/base/gstbasetransform.h:
10077           move docs so gtk-doc picks it up now
10078
10079 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10080
10081         * docs/libs/gstreamer-libs-sections.txt:
10082           add missing symbols to docs
10083
10084 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10085
10086         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10087           back out the newsegment handling change, see #340060 for ongoing
10088           discussion
10089
10090 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
10091
10092         * tools/gst-run.c: (get_candidates), (main):
10093           Fix wrong g_file_test() usage (see glib docs for why it doesn't
10094           work); fix typo in error message. Fixes #340079.
10095
10096 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10097
10098         * common/Makefile.am:
10099         * docs/Makefile.am:
10100         * docs/faq/Makefile.am:
10101         * docs/gst/Makefile.am:
10102         * docs/libs/Makefile.am:
10103         * docs/manual/Makefile.am:
10104         * docs/plugins/Makefile.am:
10105         * docs/pwg/Makefile.am:
10106         * docs/slides/Makefile.am:
10107         * docs/upload.mak:
10108         * common/upload.mak:
10109           move upload.mak to common
10110
10111 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10112
10113         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10114           add more asserts on refcounts
10115           do more cleanup at end of tests
10116           fix test leaks showing in FC5
10117
10118 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
10119
10120         * plugins/elements/gsttypefindelement.c:
10121         (gst_type_find_element_handle_event):
10122         reverted wrong change and reflowed code to avoid others falling into
10123         this trap
10124
10125 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10126
10127         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10128           fix changelog entry about last collectpads change,
10129           add notes about proper fix
10130
10131 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10132
10133         * gst/gst.c:
10134         * gst/gstregistry.c: (gst_registry_scan_path_level),
10135         (gst_registry_scan_path):
10136         * gst/gstregistry.h:
10137           only write out registry if it has changed, fixes #338339
10138
10139 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10140
10141         * gst/gstbin.c:
10142         * gst/gstpipeline.c:
10143         * plugins/elements/gstcapsfilter.c:
10144         * plugins/elements/gstfakesink.c:
10145         * plugins/elements/gstfakesrc.c:
10146         * plugins/elements/gstfdsink.c:
10147         * plugins/elements/gstfdsrc.c:
10148         * plugins/elements/gstfilesink.c:
10149         * plugins/elements/gstfilesrc.c:
10150         * plugins/elements/gstidentity.c:
10151         * plugins/elements/gstqueue.c:
10152         * plugins/elements/gsttee.c:
10153         * plugins/elements/gsttypefindelement.c:
10154         (gst_type_find_element_handle_event):
10155           make GstElementDetails const
10156
10157 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10158
10159         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10160         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10161         (gst_collect_pads_is_collected), (gst_collect_pads_event):
10162           more detailed debug and formatting cleanup,
10163           forward newsegments to src-pad (so that e.g. adder not eats them)
10164
10165 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10166
10167         * gst/gstutils.c: (gst_element_link_pads):
10168           cleanup double code
10169
10170 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10171
10172         * libs/gst/controller/gstcontroller.c:
10173         (gst_controller_sync_values):
10174           some little tuning
10175         * tests/check/libs/controller.c: (GST_START_TEST),
10176         (gst_controller_suite):
10177           a new test for live value handling
10178
10179 2006-04-28  Wim Taymans  <wim@fluendo.com>
10180
10181         * gst/gstutils.c: (push_and_ref):
10182         Added some more docs.
10183         Fix refcount issue whith gst_element_found_tags() helper 
10184         function. Fixes #338335
10185
10186         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10187         Added testsuite for gst_element_found_tags().
10188
10189 2006-04-28  Michael Smith  <msmith@fluendo.com>
10190
10191         * gst/gstvalue.c: (gst_value_serialize_flags):
10192           Avoid NULL dereference when trying to serialize flags containing
10193           invalid values.
10194
10195 2006-04-28  Michael Smith  <msmith@fluendo.com>
10196
10197         * plugins/elements/gsttypefindelement.c:
10198         (gst_type_find_element_handle_event):
10199           If we get EOS before any data is accumulated, don't use
10200           uninitialised local variables.
10201
10202 2006-04-28  Michael Smith  <msmith@fluendo.com>
10203
10204         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10205         (gst_dp_event_from_packet):
10206           Fixes in reading/writing events over GDP (not currently used?) - 
10207           dereferencing NULL events for unknown/invalid event types, memory
10208           leak, and change g_warning to GST_WARNING.
10209
10210 2006-04-28  Wim Taymans  <wim@fluendo.com>
10211
10212         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10213         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10214         (gst_base_sink_get_position), (gst_base_sink_change_state):
10215         When frame dropping is enabled, we should not ignore frames
10216         without a duration.
10217         Update some documentation.
10218
10219 2006-04-28  Wim Taymans  <wim@fluendo.com>
10220
10221         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10222         (gst_base_src_send_event), (gst_base_src_change_state):
10223         Documentation updates.
10224
10225 2006-04-28  Wim Taymans  <wim@fluendo.com>
10226
10227         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10228         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10229         handle EAGAIN, EINTR and short writes correctly. Also clean
10230         up some error cases, avoid a deadlock on bad file descriptors and
10231         use GST_DEBUG_OBJECT.
10232         Fixes #339843
10233
10234 2006-04-28  Wim Taymans  <wim@fluendo.com>
10235
10236         * gst/gstvalue.c: (gst_value_serialize_buffer),
10237         (gst_value_deserialize_buffer):
10238         Don't try to serialize a GValue with a NULL buffer. 
10239         Fixes #339821.
10240
10241         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10242         Added check for serialisation of NULL buffers.
10243
10244 2006-04-28  Wim Taymans  <wim@fluendo.com>
10245
10246         * gst/gstminiobject.c: (gst_value_take_mini_object):
10247         Taking a NULL miniobject is valid, fix the case where
10248         we try to unref the NULL miniobject.
10249
10250 2006-04-28  Wim Taymans  <wim@fluendo.com>
10251
10252         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10253
10254         * gst/gstbin.c: (gst_bin_handle_message_func):
10255         Update docs.
10256         Don't leak bin refcount when a state recalc is
10257         in progress and we delay another one #339808.
10258
10259 2006-04-28  Wim Taymans  <wim@fluendo.com>
10260
10261         * docs/design/part-TODO.txt:
10262         Mention QoS as an ongoing work item.
10263
10264         * docs/design/part-buffering.txt:
10265         New doc about buffering that needs to be fleshed out
10266         at some point.
10267
10268         * docs/design/part-qos.txt:
10269         More QoS policy for decoders/demuxers/transforms
10270
10271         * docs/design/part-trickmodes.txt:
10272         Small update.
10273
10274 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10275
10276         * configure.ac:
10277           back to HEAD
10278
10279 === release 0.10.5 ===
10280
10281 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
10282
10283         * configure.ac:
10284           releasing 0.10.5, "Fogo"
10285
10286 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10287
10288         patch by: Wim Taymans
10289
10290         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10291         (gst_pad_configure_src), (gst_pad_push):
10292         * gst/gstpipeline.c: (gst_pipeline_init):
10293           Fix internal data flow errors.  Fixes #338711.
10294
10295 2006-04-12  Wim Taymans  <wim@fluendo.com>
10296
10297         * tests/check/gst/gstelement.c: (GST_START_TEST):
10298         Don't leak the factory.
10299
10300 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10301
10302         * configure.ac:
10303         * win32/common/config.h:
10304           prerelease
10305
10306 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
10307
10308         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10309         (gst_controller_unset_all):
10310           Free allocated GstTimedValues when freeing list nodes.
10311           Should fix leaks 'make check-valgrind' complains about.
10312
10313         * win32/common/libgstcontroller.def:
10314           Add gst_controller_unset_all.
10315
10316 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
10317
10318         * docs/libs/gstreamer-libs-sections.txt:
10319         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10320         (gst_controller_unset_all):
10321         * libs/gst/controller/gstcontroller.h:
10322         API: Added new method gst_controller_unset_all()
10323         fixed gst_controller_unset()
10324         * tests/check/libs/controller.c: (GST_START_TEST),
10325         (gst_controller_suite):
10326         Added two testcases for new and fixed method
10327
10328 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
10329
10330         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10331           MSG_DONTWAIT is not defined on Cygwin, so work
10332           around that (fixes #317048).
10333           
10334 2006-04-11  Wim Taymans  <wim@fluendo.com>
10335
10336         * gst/gstelementfactory.c: (gst_element_register),
10337         (gst_element_factory_create), (gst_element_factory_make):
10338         Some cleanups.
10339         Fixed a FIXME.
10340         Updated docs (Fixes #131079)
10341
10342         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10343         Small cleanups.
10344
10345         * tests/check/gst/gstelement.c: (GST_START_TEST),
10346         (gst_element_suite):
10347         Added testcase for elementfactory class field.
10348
10349 2006-04-10  Wim Taymans  <wim@fluendo.com>
10350
10351         * gst/gstsegment.c:
10352         Added some more docs.
10353
10354         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10355         (gst_base_sink_reset_qos):
10356         Calculate more accurate rate values.
10357
10358 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
10359
10360         * gst/gst_private.h:
10361           add a new #ifdef to use __declspec(dllimport) only for
10362           other modules and not for gstreamer core
10363         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10364           use gst_guint64_to_gdouble for conversion
10365         * win32/common/libgstreamer.def:
10366           add new exported functions
10367         * win32/vs6/gst_inspect.dsp:
10368         * win32/vs6/gst_launch.dsp:
10369         * win32/vs6/libgstbase.dsp:
10370         * win32/vs6/libgstcontroller.dsp:
10371         * win32/vs6/libgstcoreelements.dsp:
10372         * win32/vs6/libgstdataprotocol.dsp:
10373         * win32/vs6/libgstnet.dsp:
10374           update project files
10375
10376 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10377
10378         * gst/gstbuffer.c: (gst_subbuffer_class_init):
10379         * gst/gstclock.c: (gst_clock_class_init):
10380         * gst/gstelement.c: (gst_element_class_init):
10381         * gst/gstindex.c: (gst_index_class_init):
10382         * gst/gstindexfactory.c: (gst_index_factory_class_init):
10383         * gst/gstobject.c: (gst_object_class_init),
10384         (gst_signal_object_class_init):
10385         * gst/gstpad.c: (gst_pad_class_init):
10386         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10387         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10388         * gst/gstregistry.c: (gst_registry_class_init):
10389         * gst/gstsystemclock.c: (gst_system_clock_class_init):
10390         * gst/gsttask.c: (gst_task_class_init):
10391         * gst/gstxml.c: (gst_xml_class_init):
10392         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10393         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10394         (gst_base_src_loop):
10395         * libs/gst/controller/gstcontroller.c:/
10396         (_gst_controller_class_init):
10397         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10398         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10399         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10400         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10401         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10402         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10403
10404 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
10405
10406         * gst/gstpad.c: (gst_pad_link):
10407           Must set peer pads before calling the link function, otherwise
10408           a task started from a link function might get a flow-not-linked
10409           result when trying to push because the other thread where the
10410           linking happens hasn't had a chance to set the peers yet. This
10411           might happen for example when a queue gets linked to a downstream
10412           element, as queue starts a streaming task when its source pad
10413           gets linked. Happens in real life when playing back flac/musepack
10414           files in playbin (#332390).
10415           
10416 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10417
10418         * gst/gstindex.h:
10419         * gst/gstxml.h:
10420         * libs/gst/base/gstadapter.h:
10421         * libs/gst/base/gstbasesink.h:
10422         * libs/gst/base/gstbasesrc.h:
10423         * libs/gst/base/gstbasetransform.h:
10424         * libs/gst/base/gstcollectpads.h:
10425         * libs/gst/base/gstpushsrc.h:
10426         Fix broken GObject macros
10427
10428 2006-04-07  Wim Taymans  <wim@fluendo.com>
10429
10430         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10431         Initialize start and stop times, thanks valgrind.
10432
10433 2006-04-07  Wim Taymans  <wim@fluendo.com>
10434
10435         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10436         Be a bit nicer to badly behaving upstream elements that expect
10437         us to deal with non TIME segments and timestamps (such as fakesrc
10438         in the testsuite).
10439
10440 2006-04-07  Wim Taymans  <wim@fluendo.com>
10441
10442         * gst/gstbus.c:
10443         Small documentation clarification about the signal watch.
10444
10445         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10446         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10447         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10448         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10449         (gst_base_sink_get_position_last),
10450         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10451         Convert and store timestamps in stream time and running time, the
10452         raw timestamps are not useful, also document this better.
10453         Use different window sizes for good and bad QoS observations so
10454         we react to badness a little quicker.
10455         Keep track of the amount of rendered and dropped buffers.
10456         Send QoS timestamps in running time.
10457
10458         * libs/gst/base/gstbasetransform.c:
10459         (gst_base_transform_sink_eventfunc),
10460         (gst_base_transform_handle_buffer):
10461         Compare QoS timestamps against running time.
10462
10463 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10464
10465         * gst/gstpad.c:
10466           Typo fixes in docs.
10467
10468 2006-04-06  Michael Smith  <msmith@fluendo.com>
10469
10470         * gst/gstpad.c: (gst_pad_set_property):
10471           Use g_value_get_object() instead of g_value_dup_gst_object(),
10472           to avoid double-reffing the pad template (which we then sink,
10473           so this worked previously if (and only if) the pad template
10474           was floating.
10475
10476         * gst/gstpadtemplate.c: (gst_pad_template_init),
10477         (gst_pad_template_pad_created):
10478           Never return floating references to pad templates, create
10479           them as initially-sunken.
10480
10481           Document an extra function (and make this stop sinking our
10482           pad template, since that is now guaranteed to do nothing,
10483           since we created it sunken).
10484
10485         * gst/gstghostpad.c:
10486           Fix docs typo.
10487
10488 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10489
10490         * gst/gstinfo.c: (__gst_in_valgrind):
10491           Add some newlines.
10492
10493         * plugins/elements/gsttypefindelement.c:
10494         (gst_type_find_element_chain):
10495           Don't leak buffer caps.
10496
10497 2006-04-06  Michael Smith  <msmith@fluendo.com>
10498
10499         * gst/parse/grammar.y:
10500           Fix a leak in parse-launch for any source-or-sink named element 
10501           references used.
10502
10503         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10504           Unref the pipeline if it exists after we've failed parsing.
10505
10506 2006-04-05  Michael Smith  <msmith@fluendo.com>
10507
10508         * gst/gstpipeline.c: (gst_pipeline_init):
10509           When we create a pipeline bus, initially create it in flushing mode.
10510           Fixes leaks in at least one test, and makes a new pipeline work the
10511           same as one that has gone to READY and then back to NULL.
10512
10513         * gst/gstelement.c:
10514           Typo fix in docs.
10515
10516 2006-04-05  Michael Smith  <msmith@fluendo.com>
10517
10518         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10519           Unref a pad we reffed.
10520         * tests/check/gst/gstutils.c: (GST_START_TEST):
10521           Unref bins
10522
10523 2006-04-05  Michael Smith  <msmith@fluendo.com>
10524
10525         * gst/gstquery.c: (gst_query_set_formats),
10526         (gst_query_set_formatsv):
10527           Fix leaking GValues in queries, as shown by valgrind/testsuite.
10528
10529 2006-04-05  Michael Smith  <msmith@fluendo.com>
10530
10531         * tests/check/generic/sinks.c: (GST_START_TEST):
10532           Fix a variety of memleaks in sinks check, which are only sometimes 
10533           shown by running the tests under valgrind (weird?).
10534
10535 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
10536
10537         * docs/version.entities.in:
10538           Fix the substituted entity name after thomas' changes on the
10539           weekend.
10540
10541 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10542
10543         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10544         VALGRIND_PRINTF
10545         
10546 2006-04-05  Andy Wingo  <wingo@pobox.com>
10547
10548         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10549
10550         * libs/gst/base/gstbasetransform.c
10551         (gst_base_transform_sink_eventfunc): When resetting our segment on
10552         FLUSH_STOP, also update the flag saying we haven't seen a
10553         newsegment.
10554
10555 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10556
10557         Patch by: Paolo Borelli  <pborelli at katamail dot com>
10558
10559         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10560         (gst_plugin_check_license):
10561           minor clean-ups: G_DEFINE_TYPE already takes care of the
10562           parent_class stuff, no need to do it twice. Mark array of
10563           license strings as constant. (#337103)
10564           
10565 2006-04-04  Michael Smith  <msmith@fluendo.com>
10566
10567         * tools/gst-inspect.c: (print_element_list):
10568           Free the right plugin list; fixes a memory leak.
10569
10570 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10571
10572         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
10573
10574         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10575           Don't error out on empty buffers (#336945).
10576           
10577 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
10578
10579         * docs/libs/gstreamer-libs-sections.txt:
10580         * gst/gsttaglist.c:
10581         * libs/gst/base/gstbasesink.c:
10582         * libs/gst/base/gstbasesink.h:
10583         * libs/gst/base/gstbasesrc.c:
10584         * libs/gst/base/gstbasesrc.h:
10585           Documentation updates. Make BaseSink and BaseSrc docs contain the
10586           class structure so that people can actually see the prototypes for
10587           virtual functions they're supposed to be overriding.
10588
10589 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10590
10591         * plugins/elements/gsttypefindelement.c:
10592         (gst_type_find_element_chain):
10593           More debug info; when skipping typefinding, send cached
10594           events in all cases.
10595
10596 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10597
10598         * configure.ac:
10599           use new AS_VERSION and AS_NANO macros
10600         * gst/gst-i18n-lib.h:
10601         * gst/gst.c:
10602         * gst/gsterror.c:
10603         * gst/gstversion.h.in:
10604         * win32/common/config.h:
10605         * win32/common/config.h.in:
10606           update accordingly
10607
10608 2006-03-31  Michael Smith  <msmith@fluendo.com>
10609
10610         * plugins/elements/gsttypefindelement.c:
10611         (gst_type_find_element_chain):
10612           Do not typefind content if the buffers already have caps.
10613           Neccesary for icydemux (#333657), and the right thing to do anyway.
10614
10615 2006-03-30  Wim Taymans  <wim@fluendo.com>
10616
10617         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10618         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10619         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10620         (gst_base_sink_record_qos_observation),
10621         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10622         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10623         (gst_base_sink_change_state):
10624         More QoS measurements as described in the design doc.
10625         Get rid of ringbuffer with observations, running average is
10626         more simple and equally good.
10627         Calculates valid proportion now.
10628         Added beginning of flood measurement.
10629
10630 2006-03-29  Wim Taymans  <wim@fluendo.com>
10631
10632         * docs/design/part-qos.txt:
10633         * gst/gstclock.c:
10634         Small documentation updates and additions.
10635
10636 2006-03-29  Wim Taymans  <wim@fluendo.com>
10637
10638         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10639         (gst_base_src_send_event), (gst_base_src_loop),
10640         (gst_base_src_change_state):
10641         Perform the EOS logic when we reach the segment stop position.
10642         Fix compilation on gcc4.1
10643
10644 2006-03-29  Wim Taymans  <wim@fluendo.com>
10645
10646         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10647
10648         * plugins/elements/gstqueue.c: (gst_queue_init),
10649         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10650         (gst_queue_set_property):
10651         * plugins/elements/gstqueue.h:
10652         In queue, when EOS is received, if minimum threshold > max_size -
10653         current_level, there is chance that queue blocks forever in conditional
10654         item del wait. This is because the queue is not emptied completely due
10655         to minimum threshold.  Here is another approach. Instead of setting
10656         cur_levels to max in EOS, just zero all minimum threshold levels. This
10657         should make sure that queue gives out all data. When going to READY
10658         (stop) state, just reset the original minimum threshold levels.
10659         Fixes #336336.
10660
10661 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
10662
10663         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10664         (gst_type_find_element_handle_event),
10665         (gst_type_find_element_send_cached_events),
10666         (gst_type_find_element_change_state):
10667         * plugins/elements/gsttypefindelement.h:
10668           When typefinding is done in push mode, we should cache
10669           events we receive during typefinding instead of just
10670           dropping them (e.g. newsegment, custom events from
10671           dvdreadsrc etc.) and then send them out once we've
10672           determined the type of the stream (and decodebin
10673           has had a chance to plug in a decoder/demuxer).
10674           
10675 2006-03-27  Wim Taymans  <wim@fluendo.com>
10676
10677         * docs/design/part-qos.txt:
10678         First QoS ideas.
10679
10680 2006-03-27  Wim Taymans  <wim@fluendo.com>
10681
10682         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10683
10684         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10685         (gst_base_src_send_event), (gst_base_src_change_state):
10686         Handle element seek correctly when we are streaming.
10687         Fixes #326998.
10688
10689 2006-03-24  Michael Smith  <msmith@fluendo.com>
10690
10691         * docs/faq/gst-uninstalled:
10692           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10693           allow you to correctly run intalled applications built against old 
10694           core, using plugins that require updated core (e.g. running
10695           installed totem against a full uninstalled gstreamer stack)
10696
10697 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10698
10699         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10700         more debug details
10701
10702 2006-03-24  Wim Taymans  <wim@fluendo.com>
10703
10704         * docs/gst/gstreamer-sections.txt:
10705         Rearrange the order of the methods so that related methods
10706         are grouped together in sections.
10707
10708 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10709
10710         * gst/gstelement.c:
10711           Little clarification in the docs
10712
10713 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10714
10715         * docs/README:
10716         formatting fix
10717         * plugins/elements/gstidentity.c:
10718         * plugins/elements/gstqueue.c:
10719         * plugins/elements/gsttee.c:
10720         * plugins/elements/gsttypefindelement.c:
10721         GST_ELEMENT_DETAILS formatting
10722
10723 2006-03-24  Wim Taymans  <wim@fluendo.com>
10724
10725         * libs/gst/base/gstbasesink.h:
10726         Only add fields, not insert or we break ABI.
10727
10728 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10729
10730         * win32/common/libgstbase.def:
10731         * win32/common/libgstreamer.def:
10732           Update, add recently added functions.
10733
10734 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10735
10736         * docs/gst/gstreamer-sections.txt:
10737         * gst/gstutils.c: (gst_pad_query_peer_position),
10738         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10739         * gst/gstutils.h:
10740           API: add some new utility functions:
10741            - gst_pad_query_peer_position()
10742            - gst_pad_query_peer_duration()
10743            - gst_pad_query_peer_convert()
10744           
10745 2006-03-23  Wim Taymans  <wim@fluendo.com>
10746
10747         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10748         (gst_base_sink_init), (gst_base_sink_finalize),
10749         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10750         (gst_base_sink_set_property), (gst_base_sink_get_property),
10751         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10752         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10753         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10754         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10755         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10756         (gst_base_sink_preroll_object), (gst_base_sink_event),
10757         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10758         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10759         (gst_base_sink_query), (gst_base_sink_change_state):
10760         Decouple max-lateness and the fact that QoS messages are generated
10761         with a new property (qos).
10762         added API: GstBaseSink::async_play()
10763         Add vmethod so subclasses can be notified of ASYNC playing
10764         state changes.
10765         Collect timestamp start and stop to report better current
10766         position in EOS/PLAYING/PAUSED/READY/NULL.
10767         Refactor QoS/frame dropping and other measurements.
10768         API: GstBaseSrc::qos
10769         Fixes #326311
10770
10771         * libs/gst/base/gstbasesink.h:
10772         Added Private struct.
10773         API: gst_base_sink_set_qos_enabled()
10774         API: gst_base_sink_is_qos_enabled()
10775
10776 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10777
10778         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10779           If compiling against GLib-2.8 or newer, try to read the
10780           registry file using GMappedFile first before falling back
10781           to fopen() + fread() (#332151).
10782
10783 2006-03-22  Wim Taymans  <wim@fluendo.com>
10784
10785         * gst/gstinfo.c: (gst_debug_set_active),
10786         (gst_debug_category_set_threshold):
10787         Disable debugging unless explicitly activated.
10788         Fixes #335480.
10789
10790 2006-03-22  Wim Taymans  <wim@fluendo.com>
10791
10792         * gst/gstelement.c: (gst_element_set_locked_state),
10793         (gst_element_dispose):
10794         Cleanup the error case.
10795
10796         * gst/gstobject.c: (gst_object_dispose):
10797         print a critical when some object was disposed with
10798         a parent, also revive the object since it might
10799         crash the parent.
10800
10801 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
10802
10803         * tools/gst-launch.1.in:
10804           Fix another typo.
10805
10806 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10807
10808         * configure.ac:
10809         * tests/check/Makefile.am:
10810           disable some tests when we don't have a registry
10811         * tests/check/gst/gstutils.c: (gst_utils_suite):
10812           don't build the part that needs parsing
10813
10814 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10815
10816         * gst/Makefile.am
10817         * tests/examples/Makefile.am:
10818           fix --disable-parse build
10819
10820 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10821
10822         * tools/gst-feedback.1.in:
10823           Fix typo: s/feeback/feedback/ (#133494).
10824
10825 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10826
10827         * tools/Makefile.am:
10828         * tools/gst-launch.1.in:
10829           Add FILES section and correct entry about GST_REGISTRY_PATH
10830           environment variable (#133495; #133494).
10831
10832 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10833
10834         * tools/Makefile.am:
10835         * tools/gst-md5sum.1.in:
10836         * tools/gst-md5sum.c:
10837           Remove gst-md5sum and man page (the md5sink element
10838           required was removed ages ago)
10839
10840 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10841
10842         * gst/gststructure.c: (gst_structure_id_set_value):
10843           Make sure that string fields in structures/taglists
10844           contain valid UTF-8 - we don't want to pass rubbish to
10845           applications because of a buggy plugin (cp. #334167).
10846
10847 2006-03-21  Edward Hervey  <edward@fluendo.com>
10848
10849         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10850         (gst_bin_handle_message_func):
10851         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10852         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10853         (gst_element_set_bus_func):
10854         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10855         * gst/gstminiobject.c: (gst_value_set_mini_object),
10856         (gst_value_take_mini_object):
10857         * gst/gstpad.c: (gst_pad_set_pad_template):
10858         * gst/gstpipeline.c: (gst_pipeline_dispose),
10859         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10860         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10861         (gst_collect_pads_chain):
10862         * libs/gst/net/gstnettimeprovider.c:
10863         (gst_net_time_provider_set_property):
10864         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10865         It's in fact all issues with gst_*object_replace().
10866
10867 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10868
10869         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
10870         
10871         * pkgconfig/gstreamer-check-uninstalled.pc.in:
10872         * pkgconfig/gstreamer-check.pc.in:
10873           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10874
10875 2006-03-21  Edward Hervey  <edward@fluendo.com>
10876
10877         * gst/gstbuffer.h:
10878         * gst/gstevent.h:
10879         * gst/gstmessage.h:
10880         gst_[buffer|event|message]_ref() macros are replaced by a static
10881         inline functions because gcc-4.1 will about if the return value
10882         isn't used.
10883         * tests/check/gst/gstevent.c: (event_probe):
10884         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10885
10886 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
10887
10888         * gst/gstutils.h:
10889         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10890         the type' case. (Closes: #335195 for now). In the future, when we
10891         depend on GLib 2.10, we could also intern the type name using
10892         g_intern_static_string()
10893
10894 2006-03-20  Wim Taymans  <wim@fluendo.com>
10895
10896         * gst/gstbin.c: (gst_bin_handle_message_func),
10897         (bin_query_max_init), (bin_query_position_fold),
10898         (bin_query_position_done), (gst_bin_query):
10899         Position query should also take max of all streams.
10900
10901 2006-03-20  Wim Taymans  <wim@fluendo.com>
10902
10903         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10904         (gst_fake_src_finalize):
10905         Fix leaks in fakesrc.
10906
10907         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10908         Fix leaks in the testcase.
10909
10910 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
10911
10912         * gst/gst_private.h:
10913           add win32 specific import decoration(__declspec(dllimport)) 
10914           for all extern GstDebugCategory * variables
10915         * win32/common/libgstbase.def:
10916         * win32/common/libgstcontroller.def:
10917         * win32/common/libgstreamer.def:
10918           Add some exports, remove empty lines
10919         * win32/common/libgstdataprotocol.def:
10920         * win32/common/libgstdataprotocol.dsp:
10921         * win32/common/libgstnet.def:
10922         * win32/common/libgstnet.dsp:
10923           new project files and exportation files added
10924         
10925 2006-03-19  Wim Taymans  <wim@fluendo.com>
10926
10927         * tests/check/libs/basesrc.c: (eos_event_counter):
10928         Use proper return value for probe.
10929
10930 2006-03-17  Wim Taymans  <wim@fluendo.com>
10931
10932         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10933         (gst_pad_push):
10934         Don't leak buffers, caps and pads on negotiation errors.
10935
10936 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
10937
10938         * docs/faq/cvs.xml:
10939         * docs/faq/dependencies.xml:
10940         * docs/faq/developing.xml:
10941         * docs/faq/faq.xml:
10942         * docs/faq/general.xml:
10943         * docs/faq/getting.xml:
10944         * docs/faq/legal.xml:
10945         * docs/faq/troubleshooting.xml:
10946         * docs/faq/using.xml:
10947         Faq review and update.
10948
10949 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
10950
10951         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10952         (gst_pad_push):
10953         Don't pound the cpu to pieces by checking get_caps when accept_caps
10954         is called with the same caps as the pad already has.
10955         Use GST_DEBUG_OBJECT when outputting caps change information.
10956
10957 2006-03-15  Wim Taymans  <wim@fluendo.com>
10958
10959         * gst/gstclock.c: (gst_clock_class_init):
10960         Fix docs.
10961
10962 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
10963
10964         * gst/gstbuffer.h:
10965         Documentation fix.
10966
10967         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10968         (gst_pad_accept_caps), (gst_pad_configure_sink),
10969         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10970         Make the default acceptcaps behaviour be to check the requested 
10971         caps against the gst_pad_get_caps output. 
10972
10973         Ensure that gst_pad_accept_caps is used to check caps when a pad
10974         doesn't have a setcaps function, so that pads automatically refuse 
10975         caps that they don't allow in their pad template. (Fixes #332986)
10976
10977         When a buffer with attached caps is pushed, ensure that the source 
10978         pad receives those caps even if the element didn't call
10979         gst_pad_set_caps first.
10980
10981 2006-03-15  Wim Taymans  <wim@fluendo.com>
10982
10983         * libs/gst/base/gstadapter.c:
10984         Add some docs.
10985
10986 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
10987
10988         * win32/common/libgstbase.def:
10989         * win32/common/libgstcontroller.def:
10990         * win32/common/libgstreamer.def:
10991           Add a whole bunch of missing functions (#334434).
10992
10993 2006-03-14  Wim Taymans  <wim@fluendo.com>
10994
10995         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10996         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10997         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10998         Better debug info when we receive a segment event.
10999         Reorganize a bit so we can pass the get_times() results around.
11000         Use the segment format when calculating the running time.
11001         Don't do QoS is sync is disabled or we have no clock or the
11002         element does not want us to sync to the clock.
11003         Don't drop buffers if QoS is disabled for now.
11004
11005 2006-03-14  Wim Taymans  <wim@fluendo.com>
11006
11007         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
11008         Marked the stats property as unimplemented so people don't get
11009         wild ideas.
11010         Add debug message when regression goes wrong.
11011         Added some more docs.
11012
11013 2006-03-14  Wim Taymans  <wim@fluendo.com>
11014
11015         * gst/gstsegment.c: (gst_segment_to_stream_time):
11016         Return correct return type in case of errors.
11017
11018 2006-03-14  Wim Taymans  <wim@fluendo.com>
11019
11020         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
11021           Don't segfault on invalid formats.
11022
11023 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
11024
11025         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11026           Can't use gst_segment_to_running_time() when the segment
11027           is not in GST_TIME_FORMAT (like with filesink, for example).
11028           Stops flac encoding pipelines from spewing critical warnings
11029           at EOS (#331248).
11030           
11031 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
11032
11033         * gst/gstpipeline.c: (gst_pipeline_class_init):
11034           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
11035
11036         * plugins/elements/gsttypefindelement.c:
11037         (gst_type_find_element_handle_event):
11038           Don't try to typefind empty streams.
11039
11040 2006-03-14  Wim Taymans  <wim@fluendo.com>
11041
11042         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11043         (gst_base_sink_do_qos):
11044         Separate QoS calculation.
11045         Only drop buffers when lateness is bigger than the 
11046         duration of the buffer.
11047
11048 2006-03-13  Wim Taymans  <wim@fluendo.com>
11049
11050         * gst/gstpipeline.c: (gst_pipeline_set_property),
11051         (gst_pipeline_get_property), (do_pipeline_seek),
11052         (gst_pipeline_change_state), (gst_pipeline_set_delay),
11053         (gst_pipeline_get_delay):
11054         Don't deadlock when reading properties.
11055
11056 2006-03-13  Wim Taymans  <wim@fluendo.com>
11057
11058         * libs/gst/base/gstbasetransform.c:
11059         (gst_base_transform_class_init), (gst_base_transform_init),
11060         (gst_base_transform_sink_event),
11061         (gst_base_transform_sink_eventfunc),
11062         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
11063         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11064         (gst_base_transform_set_property),
11065         (gst_base_transform_get_property),
11066         (gst_base_transform_change_state), (gst_base_transform_update_qos),
11067         (gst_base_transform_set_qos_enabled),
11068         (gst_base_transform_is_qos_enabled):
11069         * libs/gst/base/gstbasetransform.h:
11070         Make basetransform virtual method for src events too.
11071         Handle QOS in basetransform.
11072         API: gst_base_transform_update_qos()
11073         API: gst_base_transform_set_qos_enabled()
11074         API: gst_base_transform_is_qos_enabled()
11075
11076 2006-03-13  Wim Taymans  <wim@fluendo.com>
11077
11078         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11079         (gst_base_sink_do_sync):
11080         Small cleanups.
11081         Use QOS debug category.
11082
11083 2006-03-13  Wim Taymans  <wim@fluendo.com>
11084
11085         * plugins/elements/gstqueue.c:
11086         Very small doc update.
11087
11088 2006-03-13  Wim Taymans  <wim@fluendo.com>
11089
11090         * gst/gst_private.h:
11091         * gst/gstinfo.c: (_gst_debug_init):
11092         Added QOS debug category
11093
11094 2006-03-13  Wim Taymans  <wim@fluendo.com>
11095
11096         * docs/gst/gstreamer-sections.txt:
11097         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11098         * gst/gstbin.h:
11099         * gst/gstbus.c: (gst_bus_class_init):
11100         * gst/gstbus.h:
11101         * gst/gstclock.c:
11102         * gst/gstelement.c: (gst_element_set_locked_state):
11103         * gst/gstsegment.c:
11104         Documentation updates.
11105
11106         * gst/gstpipeline.c: (gst_pipeline_get_type),
11107         (gst_pipeline_class_init), (gst_pipeline_init),
11108         (gst_pipeline_dispose), (gst_pipeline_set_property),
11109         (gst_pipeline_get_property), (do_pipeline_seek),
11110         (gst_pipeline_send_event), (gst_pipeline_change_state),
11111         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11112         (gst_pipeline_get_delay):
11113         * gst/gstpipeline.h:
11114         Added methods for setting the delay.
11115         API: gst_pipeline_set_delay()
11116         API: gst_pipeline_get_delay()
11117         Add pipeline debug category
11118         Various cleanups.
11119         Updated docs.
11120         Don't reset stream time when seek failed.
11121
11122 2006-03-13  Wim Taymans  <wim@fluendo.com>
11123
11124         * docs/design/draft-klass.txt:
11125         * docs/design/part-clocks.txt:
11126         * docs/design/part-events.txt:
11127         * docs/design/part-gstbin.txt:
11128         * docs/design/part-gstpipeline.txt:
11129         * docs/design/part-messages.txt:
11130         * docs/design/part-negotiation.txt:
11131         * docs/design/part-overview.txt:
11132         * docs/design/part-preroll.txt:
11133         * docs/design/part-seeking.txt:
11134         * docs/design/part-states.txt:
11135         * docs/design/part-streams.txt:
11136         Documentation updates.
11137
11138 2006-03-12  Julien MOUTTE  <julien@moutte.net>
11139
11140         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11141         us to leak strings...
11142
11143 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11144
11145         * libs/gst/net/gstnettimeprovider.c:
11146           fix docs
11147         * win32/common/config.h:
11148           update
11149
11150 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
11151
11152         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11153
11154         * configure.ac:
11155           Don't check for libgnomeui (leftover from old examples
11156           that aren't built or disted any longer) (#334303).
11157           
11158 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
11159
11160         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11161         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11162           Emit RESOURCE_NO_SPACE_LEFT error here as well when
11163           there's no space left on the device.
11164
11165 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
11166
11167         * gst/gstclock.h:
11168           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11169           to cast the input to GstClockTime before comparing with
11170           another GstClockTime value.
11171
11172 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11173
11174         * configure.ac:
11175           back to trunk
11176
11177 === release 0.10.4 ===
11178
11179 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
11180
11181         * configure.ac:
11182           releasing 0.10.4, "Light"
11183
11184 2006-03-10  Michael Smith  <msmith@fluendo.com>
11185
11186         * libs/gst/dataprotocol/dataprotocol.c:
11187           Fix docs for dataprocotol to not get the return types completely
11188           wrong for a few functions.
11189
11190 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11191
11192         * docs/gst/gstreamer-sections.txt:
11193         * gst/gstpipeline.c: (gst_pipeline_class_init),
11194         (gst_pipeline_init), (gst_pipeline_set_property),
11195         (gst_pipeline_get_property), (gst_pipeline_change_state),
11196         (gst_pipeline_set_auto_flush_bus),
11197         (gst_pipeline_get_auto_flush_bus):
11198         * gst/gstpipeline.h:
11199           Add new API: gst_pipeline_set_auto_flush_bus() and
11200           gst_pipeline_get_auto_flush_bus() to disable automatic
11201           flushing of the pipeline's GstBus when going from READY
11202           to NULL state (#332045).
11203
11204 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11205
11206         * docs/gst/gstreamer-sections.txt:
11207         * gst/gsturi.c: (gst_uri_has_protocol):
11208         * gst/gsturi.h:
11209            Add new API: gst_uri_has_protocol() (#333779).
11210
11211 2006-03-09  Wim Taymans  <wim@fluendo.com>
11212
11213         * gst/gstclock.c: (gst_clock_entry_new),
11214         (gst_clock_id_compare_func), (gst_clock_id_wait),
11215         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11216         (gst_clock_init), (gst_clock_get_internal_time),
11217         (gst_clock_set_master), (do_linear_regression),
11218         (gst_clock_add_observation), (gst_clock_set_property):
11219         * gst/gstclock.h:
11220         Review docs.
11221         Small cleanups.
11222         Fix a possible segfault when the window-size is made smaller.
11223         Calculate jitter before performing the clock wait. Ideally
11224         the clock implementation should calculate jitter but we need
11225         API breakage for that.
11226
11227         * gst/gstsystemclock.c: (gst_system_clock_init):
11228         Docs review.
11229         
11230         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11231         Remove leftover else
11232
11233         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11234         (gst_systemclock_suite):
11235         Added check to test GST_CLOCK_DIFF.
11236
11237 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11238
11239         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11240         (gst_type_find_helper_get_range):
11241           If we are provided with the size, we should implement
11242           GstTypeFind::get_length, so that typefind functions who
11243           want to can actually peek at the middle of a file.
11244
11245 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
11246
11247         * docs/manual/advanced-dataaccess.xml:
11248           Add some very very basic error checking.
11249
11250         * docs/pwg/appendix-checklist.xml:
11251           Some updates to the list of things to check when writing an element.
11252
11253 2006-03-08  Wim Taymans  <wim@fluendo.com>
11254
11255         * docs/design/part-element-transform.txt:
11256         Added some docs about the design of tranform elements.
11257
11258         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11259         (gst_base_src_loop), (gst_base_src_change_state):
11260         Mark buffers with the DISCONT flag.
11261
11262 2006-03-08  Michael Smith  <msmith@fluendo.com>
11263
11264         * gst/gstregistry.h:
11265         * gst/gstregistryxml.c: (gst_registry_save),
11266         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11267         (gst_registry_xml_save_pad_template),
11268         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11269         (gst_registry_xml_write_cache):
11270           Rewrite registry-saving to avoid race conditions and check for
11271           failed writes.
11272
11273 2006-03-08  Wim Taymans  <wim@fluendo.com>
11274
11275         * libs/gst/base/gstbasetransform.c:
11276         (gst_base_transform_transform_caps),
11277         (gst_base_transform_transform_size),
11278         (gst_base_transform_prepare_output_buffer),
11279         (gst_base_transform_get_unit_size),
11280         (gst_base_transform_buffer_alloc),
11281         (gst_base_transform_handle_buffer),
11282         (gst_base_transform_change_state):
11283         Cleanups, separate normal flow from errors, add sensible
11284         DEBUG lines.
11285         Don't try to renegotiate when allocating an output buffer.
11286         Also copy DISCONT buffer flag when copying a buffer.
11287         Reset the transform after we finish streaming, not during.
11288
11289 2006-03-08  Wim Taymans  <wim@fluendo.com>
11290
11291         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11292         Use last buffer timestamp in qos message.
11293
11294 2006-03-07  Wim Taymans  <wim@fluendo.com>
11295
11296         Patch by: Christophe Fergeau
11297
11298         * docs/pwg/advanced-tagging.xml:
11299         * docs/pwg/building-pads.xml:
11300           fixes #333416
11301
11302 2006-03-07  Wim Taymans  <wim@fluendo.com>
11303
11304         * docs/libs/gstreamer-libs-sections.txt:
11305         Added basesink new methods.
11306
11307         * gst/gstevent.c:
11308         * gst/gstevent.h:
11309         Docs updates. Flesh out the QoS docs.
11310
11311         * libs/gst/base/gstadapter.c:
11312         Small doc clarification about ownership and flushing.
11313
11314         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11315         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11316         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11317         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11318         * libs/gst/base/gstbasesink.h:
11319         API additions: 
11320         Added new methods to allow subclass to control max-lateness 
11321         and sync.
11322         Generate very basic QoS events based on last sync observation.
11323         Updated docs, fix typo, added some QoS blurb.
11324
11325         * libs/gst/base/gstbasesrc.c:
11326         Remove obsolete _get_state() calls from docs.
11327
11328 2006-03-07  Wim Taymans  <wim@fluendo.com>
11329
11330         * docs/libs/gstreamer-libs-sections.txt:
11331         * libs/gst/base/gstbasetransform.h:
11332         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11333         Fix docs for GstBaseSrc.
11334
11335 2006-03-07  Wim Taymans  <wim@fluendo.com>
11336
11337         * docs/gst/gstreamer-sections.txt:
11338         * gst/gstbuffer.h:
11339         * gst/gstvalue.c:
11340         * libs/gst/base/gstbasetransform.h:
11341         Small documentation fixes.
11342
11343 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11344
11345         * gst/gstvalue.c:
11346           Document thread-unsafety of gst_value_register_foo_func()
11347           when used at the same time as gst_value_foo() (#322628).
11348
11349 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11350
11351         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11352         (gst_push_src_check_get_range):
11353           Push sources don't support pull mode by default.
11354
11355 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11356
11357         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11358         (gst_base_src_init), (gst_base_src_pad_check_get_range),
11359         (gst_base_src_default_check_get_range):
11360         * libs/gst/base/gstbasesrc.h:
11361           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11362           provide default implementation, and rename
11363           gst_base_src_check_get_range() to
11364           gst_base_src_pad_check_get_range() for clarity.
11365
11366 2006-03-06  Wim Taymans  <wim@fluendo.com>
11367
11368         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11369         Make property overridable.
11370
11371 2006-03-06  Wim Taymans  <wim@fluendo.com>
11372
11373         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11374         (gst_base_sink_init), (gst_base_sink_set_property),
11375         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11376         * libs/gst/base/gstbasesink.h:
11377         API addition: Make max-lateness a property.
11378
11379 2006-03-06  Wim Taymans  <wim@fluendo.com>
11380
11381         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11382         (gst_base_sink_do_sync), (gst_base_sink_render_object):
11383         Don't ever draw a frame that is >10ms late.
11384
11385 2006-03-06  Michael Smith  <msmith@fluendo.com>
11386
11387         * gst/gstmessage.c: (_gst_message_copy):
11388           When copying a message, set the parent_refcount of the enclosed
11389           structure to point at the copy, not the original message.
11390
11391 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11392
11393         Patch by: Christophe Fergeau
11394
11395         * gst/gstutils.h:
11396           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11397           usable in c++ code (#333417)
11398
11399 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11400
11401         * gst/gstclock.h:
11402           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11403
11404 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
11405
11406         * libs/gst/base/gstbasetransform.c:
11407         (gst_base_transform_transform_caps):
11408           Make sure caps are writable before passing them to
11409           gst_caps_append().
11410
11411 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11412
11413         * gst/gsterror.h:
11414           Fix some minor docs errors.
11415
11416 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11417
11418           Patch by: Ross Burton <ross at burtonini dot com>
11419
11420         * gst/gsterror.c: (_gst_resource_errors_init):
11421         * gst/gsterror.h:
11422           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11423
11424 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11425
11426         * gst/gst.c:
11427         Add a check and output a g_warning when GStreamer is built
11428         against GLib 2.6 but running against 2.8 or higher, and vice 
11429         versa. (Closes: #323542)
11430
11431 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11432
11433         * gst/parse/parse.l:
11434           Commit patch for parse_launch syntax from #331255. Removes 
11435           support for quoted strings and mimetypes when writing filtered 
11436           caps. See the bug report for more details - I'm pretty sure this
11437           obscure feature is not in use by _anyone_ anywhere.
11438
11439           With this simple change, the size of the gstreamer.so here 
11440           drops from 2193KB to 1565KB.
11441
11442 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11443
11444         * plugins/elements/gsttypefindelement.h:
11445         * plugins/elements/gsttypefindelement.c:
11446         (gst_type_find_element_src_event), (start_typefinding),
11447         (stop_typefinding), (gst_type_find_element_handle_event),
11448         (gst_type_find_element_chain),
11449         (gst_type_find_element_chain_do_typefinding):
11450           Use gst_type_find_helper_for_buffer() for chain-based
11451           typefinding.
11452
11453 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11454
11455         * plugins/elements/gsttypefindelement.c:
11456         (gst_type_find_element_class_init),
11457         (gst_type_find_element_set_property),
11458         (gst_type_find_element_get_property):
11459           Deprecate "maximum" property (not only was it only taken into
11460           account for typefinding in push-mode anyway, it also was never
11461           actually possible to set it in the first place because the
11462           property was registered with the numeric property ID for the
11463           "minimum" property). Register "maximum" property correctly,
11464           for the sake of future copy'n'pasters. Remove some cruft
11465           from property get/set functions.
11466
11467 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11468
11469         * plugins/elements/gsttypefindelement.c:
11470         (gst_type_find_element_activate):
11471           Use gst_type_find_helper_get_range() here, so we
11472           can honour the "minimum" property and also emit
11473           the signal with the correct probability of the found caps.
11474
11475 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
11476
11477         * docs/libs/gstreamer-libs-sections.txt:
11478         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11479         (helper_find_suggest), (gst_type_find_helper_get_range),
11480         (gst_type_find_helper):
11481         * libs/gst/base/gsttypefindhelper.h:
11482           New API: gst_type_find_helper_get_range() (#333042).
11483
11484 2006-03-02  Michael Smith  <msmith@fluendo.com>
11485
11486         * gst/gstregistryxml.c: (load_feature):
11487           Asserting on a failure to read part of the registry is Not Cool.
11488           Just log a warning and return NULL (which is already handled)
11489
11490 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
11491
11492         * win32/common/libgstbase.def:
11493           added export of gst_type_find_helper_for_buffer
11494         * win32/common/libgstbase.def:
11495           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11496           gst_ghost_pad_get_target
11497
11498 2006-02-28  Wim Taymans  <wim@fluendo.com>
11499
11500         * docs/design/draft-klass.txt:
11501         We use Filter now.
11502         Added Connector to mark elements that are only used to
11503         allow pipeline connections.
11504         Moved Debug to extra feature since most of them are 
11505         functionally something else.
11506
11507 2006-02-28  Wim Taymans  <wim@fluendo.com>
11508
11509         * docs/design/draft-klass.txt:
11510         Some updates and clarifications.
11511
11512 2006-02-28  Wim Taymans  <wim@fluendo.com>
11513
11514         * docs/design/draft-klass.txt:
11515         Proposal for klass field values.
11516
11517         * docs/design/part-streams.txt:
11518         Start of a doc describing stream anatomy.
11519
11520 2006-02-28  Wim Taymans  <wim@fluendo.com>
11521
11522         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11523         Help the compiler a bit with type registration.
11524         Use existing forward cod path instead of duplicating it when 
11525         handling a message.
11526         
11527         * gst/gstbus.c: (gst_bus_get_type):
11528         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11529         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11530         * gst/gstclock.c: (gst_clock_get_type):
11531         * gst/gstelement.c: (gst_element_get_type),
11532         * gst/gstelementfactory.c: (gst_element_factory_get_type):
11533         * gst/gstindexfactory.c: (gst_index_factory_get_type):
11534         * gst/gstminiobject.c: (gst_mini_object_get_type):
11535         * gst/gstpad.c: (gst_pad_get_type):
11536         * gst/gstsegment.c: (gst_segment_get_type):
11537         * gst/gststructure.c: (gst_structure_get_type):
11538         * gst/gstsystemclock.c: (gst_system_clock_get_type):
11539         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11540         * gst/gstvalue.c:
11541         Help compiler with type registration.
11542
11543         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11544         Small doc update.
11545
11546 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11547
11548         * plugins/elements/gsttypefindelement.c:
11549         (gst_type_find_element_handle_event):
11550           When we get an EOS event and have not found a type yet
11551           (most likely because we had not yet accumulated
11552           TYPE_FIND_MIN_SIZE of data yet), try to determine the
11553           type given the data we have so far. Fixes typefinding
11554           for very short streams again, most notably quicktime
11555           redirections as used on Apple's trailer site (#331701).
11556
11557 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11558
11559         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11560         (gst_type_find_helper):
11561           Try typefinding factories with the highest rank first.
11562
11563 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11564
11565         * docs/libs/gstreamer-libs-docs.sgml:
11566         * docs/libs/gstreamer-libs-sections.txt:
11567         * libs/gst/base/gsttypefindhelper.c:
11568           Add section for typefind helper and add documentation
11569           for the old and the new function.
11570
11571 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11572
11573         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11574         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11575         (gst_type_find_helper_for_buffer):
11576         * libs/gst/base/gsttypefindhelper.h:
11577           New API: gst_type_find_helper_for_buffer() (#332723).
11578           
11579 2006-02-27  Michael Smith  <msmith@fluendo.com>
11580
11581         Patch by: Loïc Minier
11582
11583         * configure.ac:
11584         * docs/Makefile.am:
11585         * docs/slides/Makefile.am:
11586           prevent CVS directories getting disted.
11587
11588 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11589
11590         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11591           Use the REFCOUNTING category for caps refcounting.
11592           
11593 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11594
11595         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11596           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11597
11598 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11599
11600         * plugins/elements/gsttypefindelement.c:
11601         (gst_type_find_element_activate):
11602           Use gst_pad_check_pull_range() before _activate_pull()
11603           to avoid unnecessary open/close (see #331690).
11604
11605 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11606
11607         * gst/gstutils.c:
11608           Docs enhancement: make it crystal clear what the
11609           gst_pad_add_*_probe() callbacks should look like.
11610
11611 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11612
11613         * libs/gst/base/gstbasesrc.c:
11614           Document how applications can stop recording from
11615           live sources (see #330996).
11616
11617 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11618
11619         * tests/check/Makefile.am:
11620         * tests/check/libs/basesrc.c: (eos_event_counter),
11621         (basesrc_eos_events_pull), (basesrc_eos_events_push),
11622         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11623         (gst_basesrc_suite), (main):
11624           ... and add some tests for the base source EOS stuff.
11625
11626 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11627
11628         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11629           Test case originally showed the problem fixed below,
11630           but was then amended. Add checks back at the place
11631           where they used to be.
11632
11633 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11634
11635         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11636         (gst_base_src_init), (gst_base_src_loop),
11637         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11638         (gst_base_src_change_state):
11639         * libs/gst/base/gstbasesrc.h:
11640           Don't unconditionally send EOS when going from PAUSED to
11641           READY state, esp. make sure we don't send two EOS events
11642           in some cases (e.g. one when reaching EOS and one when
11643           going from PAUSED to READY). Also, we don't want to send
11644           EOS events when operating in pull mode. However, we do
11645           want to send an EOS event when shutting down a live
11646           source explicitly, for example (fixes #330996).
11647           
11648 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11649
11650         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11651           Update src->read_position after a seek when not using mmap.
11652           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11653
11654 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
11655
11656         * gst/Makefile.am:
11657         * gst/gstparse.h:
11658         * gst/gstutils.c:
11659         * gst/gstutils.h:
11660         Make things work with --disable-parse as they do with 
11661         --disable-load-save - the symbols involved disappear, but the
11662         header is still installed and GST_DISABLE_PARSE is included via
11663         gstconfig.h
11664
11665 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11666
11667         * libs/gst/base/gstbasetransform.c:
11668         (gst_base_transform_change_state): Fix a stupid bug. I was 
11669         sure I compiled that.
11670
11671 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11672
11673         * gst/gstpad.c: (gst_pad_set_blocked_async):
11674         * gst/gstutils.c: (gst_pad_add_data_probe),
11675         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11676         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11677         (gst_pad_remove_buffer_probe): Make those function act on the
11678         ghostpad target when it's a ghostpad. (Closes #331727)
11679
11680 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11681
11682         * libs/gst/base/gstbasetransform.c:
11683         (gst_base_transform_change_state): Make basetransform reusable.
11684         (Closes #331898)
11685
11686 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
11687
11688         * docs/random/release:
11689         Move the current documentation of how to do a release to the top
11690         of the file.
11691
11692         * gst/gstbin.c: (gst_bin_class_init),
11693         (gst_bin_handle_message_func):
11694         Allow multiple state-recalculation threads. (Closes #328873)
11695
11696 2006-02-19  Julien MOUTTE  <julien@moutte.net>
11697
11698         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11699         * gst/gstpad.c: (gst_pad_set_event_function),
11700         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11701         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11702         2 strings. You can't use the STR_NULL macro on that.
11703
11704 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
11705
11706         * gst/gstpad.c: (gst_pad_set_event_function),
11707         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11708         (gst_pad_set_getcaps_function)
11709         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11710           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11711           So now, we can use --gst-debug-level=5 on Windows
11712         * win32/common/libgstcontroller.def:
11713           Added export of gst_controller_init
11714         * win32/vs6/libgstcontroller.dsp:
11715           Fixed Release post build configuration
11716
11717 2006-02-17  Wim Taymans  <wim@fluendo.com>
11718
11719         * tests/check/gst/gstquery.c: (GST_START_TEST):
11720         Added another check.
11721
11722 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
11723
11724         * plugins/elements/gsttypefindelement.c: (find_peek):
11725           We can do peeks at non-zero offsets, as long as they
11726           fall within the buffer we have.
11727
11728 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
11729
11730         * tests/check/Makefile.am:
11731         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11732         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11733         (parse_suite), (main):
11734           Add testsuite for parse launch syntax
11735
11736 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
11737
11738         * plugins/elements/gsttypefindelement.c:
11739         (gst_type_find_element_chain):
11740           When typefinding is unsuccessful in the chain function, don't
11741           error out immediately. Only error out with NO_CAPS_FOUND if
11742           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11743           otherwise simply wait for more data so we can try typefinding
11744           again with more data later. Also, don't attempt to typefind
11745           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11746           this should improve typefinding from network sources where the
11747           size of the first buffer can be somewhat random.
11748
11749 2006-02-14  Wim Taymans  <wim@fluendo.com>
11750
11751         * docs/gst/gstreamer-sections.txt:
11752         * gst/gstpadtemplate.c:
11753         * gst/gstpadtemplate.h:
11754         Fix padtemplate docs, fixes #328805.
11755
11756 2006-02-14  Wim Taymans  <wim@fluendo.com>
11757
11758         * tools/gst-launch.c: (main):
11759         NO_PREROLL is not an ERROR so don't send confusing messages
11760         to the user.
11761
11762 2006-02-14  Wim Taymans  <wim@fluendo.com>
11763
11764         Patch by: Torsten Schoenfeld
11765
11766         * gst/gstregistry.c: (gst_registry_get_default),
11767         (_gst_registry_cleanup):
11768         Protect default registry with lock and ref/sink it.
11769         Fixes #324818
11770
11771 2006-02-14  Wim Taymans  <wim@fluendo.com>
11772
11773         * gst/gstbuffer.c:
11774         * gst/gstquery.c: (gst_query_list_add_format),
11775         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11776         (gst_query_parse_formats_nth):
11777         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11778         Docs fixes.
11779
11780 2006-02-14  Wim Taymans  <wim@fluendo.com>
11781
11782         * docs/gst/gstreamer-sections.txt:
11783         Reworked query docs.
11784
11785         * gst/gstquery.c: (gst_query_new_formats),
11786         (gst_query_list_add_format), (gst_query_set_formats),
11787         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11788         (gst_query_parse_formats_nth):
11789         * gst/gstquery.h:
11790         Flesh out formats query, added some new methods.
11791         Fix part of #324398.
11792
11793         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11794         Added query creation tests.
11795
11796 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
11797
11798         * gst/gstpad.c: (fixate_value):
11799         Add a default fixation for fraction lists.
11800
11801 2006-02-13  Wim Taymans  <wim@fluendo.com>
11802
11803         * gst/gsttask.c: (gst_task_init), (gst_task_func),
11804         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11805         (gst_task_join):
11806         * gst/gsttask.h:
11807         Detect and warn for obvious deadlocks. fixes #320340
11808         Fix error case where lock was not released.
11809
11810         * tests/check/Makefile.am:
11811         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11812         (task_func), (gst_element_suite), (main):
11813         Add task check.
11814
11815 2006-02-13  Wim Taymans  <wim@fluendo.com>
11816
11817         * docs/gst/gstreamer-sections.txt:
11818         * gst/gstbus.c:
11819         Add new functions to docs.
11820
11821 2006-02-13  Wim Taymans  <wim@fluendo.com>
11822
11823         * docs/design/part-TODO.txt:
11824         Updated TODO list, basesrc supports seeking to non-bytes
11825         formats.
11826
11827         * docs/design/part-element-sink.txt:
11828         Update docs.
11829
11830         * gst/gstbin.c: (bin_replace_message),
11831         (gst_bin_handle_message_func):
11832         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11833         * gst/gstevent.c: (gst_event_finalize):
11834         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11835         (gst_pad_send_event):
11836         Use shiny new _TYPE_NAME macros.
11837
11838         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11839         Move debug statement up.
11840
11841         * gst/gstelement.c: (gst_element_set_locked_state):
11842         Add some debugging.
11843
11844 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
11845
11846         * docs/gst/gstreamer-sections.txt:
11847         * gst/gstmessage.h:
11848         * gst/gstquery.h:
11849           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11850           macros (#330906). Also, document the already existing
11851           GST_QUERY_TYPE macro.
11852
11853 2006-02-13  Wim Taymans  <wim@fluendo.com>
11854
11855         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11856         (event_probe), (GST_START_TEST):
11857         Only events up to the pipeline EOS are counted, there are
11858         some more when going to NULL currently which we don't care
11859         about for now.
11860
11861 2006-02-13  Wim Taymans  <wim@fluendo.com>
11862
11863         * gst/gstpad.c: (gst_pad_send_event):
11864         Correctly check flushing and emit probes. fixes #330125
11865
11866 2006-02-10  Andy Wingo  <wingo@pobox.com>
11867
11868         * gst/gstbus.c (gst_bus_class_init): Declare our private data
11869         structure.
11870         (gst_bus_init): Cache the location of the private data in the
11871         instance structure.
11872         (gst_bus_enable_sync_message_emission) 
11873         (gst_bus_disable_sync_message_emission): Implement new public
11874         functions.
11875         (gst_bus_post): Emit the sync-message signal if the user asked for
11876         it. Fixes #330684.
11877
11878         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11879         location of the bus-private structure.
11880         (gst_bus_enable_sync_message_emission)
11881         (gst_bus_disable_sync_message_emission): API addition
11882
11883 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
11884
11885         Patch by: Vincent Torri
11886
11887         * docs/pwg/building-boiler.xml:
11888         PWG patch from #326800
11889
11890 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
11891
11892         * configure.ac:
11893         * docs/Makefile.am:
11894         * docs/design/Makefile.am:
11895           Dist design docs.
11896
11897 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11898
11899         * configure.ac:
11900           back to CVS
11901
11902 === release 0.10.3 ===
11903
11904 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
11905
11906         * configure.ac:
11907           releasing 0.10.3, "Like a virgin"
11908
11909 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11910
11911         * configure.ac:
11912           2nd prerelease of 0.10.3
11913           Bump libtool versioning.
11914
11915 2006-02-07  Andy Wingo  <wingo@pobox.com>
11916
11917         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11918         update last_stop if we're in TIME format and the timestamp is
11919         valid.
11920
11921         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
11922         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
11923         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11924         If we get a new newsegment with a different format, adapt
11925         accordingly.
11926
11927         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11928         of 0. Not a problem, really.
11929
11930         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11931         warn if sync=true.
11932
11933 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
11934
11935         * configure.ac:
11936           Prelease of 0.10.3
11937
11938 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
11939
11940         * win32/vs7:
11941           project files updated to the default vs7 configuration
11942         * win32/common/libgstbase.def:
11943         * win32/common/libgstreamer.def:
11944           added new symbols,
11945           removed empty lines,
11946           sorted all exported symbols alphabetically
11947         * win32/common/dirent.c:
11948         * win32/common/dirent.h:
11949         * win32/common/gchar.h:
11950           use windows line end.
11951           
11952 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11953
11954         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11955           Send EOS event when stopping.
11956
11957 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11958
11959         * docs/README:
11960           Tell folks what to do if the plugin-foobar.xml file
11961           hasn't been generated for a newly-added plugin.
11962
11963 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11964
11965         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11966         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11967         (gst_collect_pads_start), (gst_collect_pads_stop),
11968         (gst_collect_pads_event): Collectpads now holds a reference
11969         to the GstPad that was added. Indeed we don't want to look
11970         at pads that might just go away with no warning...
11971
11972 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11973
11974         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11975         (gst_collect_pads_start), (gst_collect_pads_stop),
11976         (gst_collect_pads_event), (gst_collect_pads_chain):
11977         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11978         Mark Nauwelaerts's patch on bug #328491.
11979
11980 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11981
11982         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11983         (gst_utils_suite):
11984           Add some simple tests for gst_parse_bin_from_description() and
11985           gst_bin_find_unconnected_pad() (#329069).
11986
11987 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11988
11989         * tools/gst-launch.c: (event_loop), (main):
11990           Catch errors during preroll (#320084).
11991
11992 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
11993
11994         * plugins/elements/gsttypefindelement.c:
11995         (gst_type_find_element_activate):
11996           Post TYPE_NOT_FOUND error message when typefinding
11997           is unsuccessful in the activate function as well.
11998
11999 2006-02-02  Wim Taymans  <wim@fluendo.com>
12000
12001         * docs/design/part-element-sink.txt:
12002         Updated doc.
12003
12004 2006-02-02  Wim Taymans  <wim@fluendo.com>
12005
12006         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12007         (gst_base_sink_render_object),
12008         (gst_base_sink_queue_object_unlocked):
12009         Only keep track of prerollable items when we are 
12010         prerolling.
12011         Before rendering after preroll, always check if we
12012         have queued items.
12013         Added some more debugging.
12014
12015 2006-02-02  Wim Taymans  <wim@fluendo.com>
12016
12017         * gst/gstelement.c: (gst_element_continue_state),
12018         (gst_element_set_state_func), (gst_element_change_state):
12019         Fixed #326576, been running this for quite some time with
12020         no regressions at all.
12021
12022 2006-02-02  Wim Taymans  <wim@fluendo.com>
12023
12024         * common/gst.supp:
12025         Added more suppressions
12026
12027 2006-02-02  Wim Taymans  <wim@fluendo.com>
12028
12029         * docs/design/part-element-sink.txt:
12030         Updated document.
12031
12032         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12033         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
12034         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
12035         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12036         (gst_base_sink_do_sync), (gst_base_sink_render_object),
12037         (gst_base_sink_preroll_object),
12038         (gst_base_sink_queue_object_unlocked),
12039         (gst_base_sink_queue_object), (gst_base_sink_event),
12040         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
12041         (gst_base_sink_loop), (gst_base_sink_activate_pull),
12042         (gst_base_sink_get_position), (gst_base_sink_change_state):
12043         * libs/gst/base/gstbasesink.h:
12044         Totally refactored matching the design doc.
12045         Use two segments, one to clip incomming buffers and another to
12046         perform sync.
12047         Handle queueing correctly, bypass the queue when playing.
12048         Make EOS cancelable.
12049         Handle errors correctly when operating in pull based mode.
12050
12051         * tests/check/elements/fakesink.c: (GST_START_TEST),
12052         (fakesink_suite):
12053         Added new check for sinks.
12054
12055 2006-02-02  Wim Taymans  <wim@fluendo.com>
12056
12057         * gst/gstsegment.c: (gst_segment_clip):
12058         No reason to refuse to clip when start == -1
12059
12060 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
12061
12062         * docs/README:
12063         * docs/manual/intro-basics.xml:
12064         * docs/manual/intro-preface.xml:
12065         * docs/manual/manual.xml:
12066         * docs/pwg/advanced-dparams.xml:
12067         * docs/pwg/intro-basics.xml:
12068         * docs/pwg/intro-preface.xml:
12069         * docs/pwg/pwg.xml:
12070           describe dparams (controller) for plugins
12071           unify docs a little more
12072
12073 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
12074
12075         * docs/gst/gstreamer-sections.txt:
12076         * gst/gstutils.c: (element_find_unconnected_pad),
12077         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12078         * gst/gstutils.h:
12079           Add new API: gst_parse_bin_from_description() and
12080           gst_bin_find_unconnected_pad() (#329069).
12081
12082 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
12083
12084         * docs/manual/README:
12085           uncover a nasty detail of the docs build
12086
12087 2006-01-31  Wim Taymans  <wim@fluendo.com>
12088
12089         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12090         Don't cache duration messages if we're not going to use or
12091         free them.
12092
12093 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
12094
12095         * docs/manual/advanced-dparams.xml:
12096         * docs/pwg/advanced-dparams.xml:
12097           more dparam docs
12098         * gst/gstindex.c:
12099           fix docs
12100         * libs/gst/controller/lib.c: (gst_controller_init):
12101           init just once
12102
12103 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
12104
12105         * gst/gstelement.c: (gst_element_message_full):
12106           also show file/line/func if no additional debug was given
12107
12108 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
12109         
12110         * win32/vs7/grammar.vcproj:
12111           activate copy of autogenerated files for Release mode
12112
12113 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12114         
12115         * win32/common/libgstreamer.def:
12116           export gst_value_compare
12117
12118 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
12119
12120         * plugins/elements/Makefile.am:
12121         * plugins/elements/gstelements.c:
12122         * plugins/elements/gstfdsink.c: (_do_init),
12123         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12124         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12125         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12126         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12127         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12128         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12129         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12130         * plugins/elements/gstfdsink.h:
12131         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12132
12133 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
12134
12135         * docs/manual/advanced-dparams.xml:
12136           describe controller
12137         * docs/manual/advanced-position.xml:
12138         * docs/manual/basics-init.xml:
12139         * docs/manual/manual.xml:
12140         * docs/manual/titlepage.xml:
12141         * docs/pwg/pwg.xml:
12142         * docs/pwg/titlepage.xml:
12143           cleanup xml (more to come)
12144         * libs/gst/controller/gstcontroller.c:
12145           fix typo
12146
12147 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12148         
12149         * win32/vs6/grammar.dsp:
12150           add autogen of gstmarshal.c,h for Release mode
12151                 
12152 2006-01-30  Wim Taymans  <wim@fluendo.com>
12153
12154         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12155         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12156         (gst_base_sink_handle_object), (gst_base_sink_event),
12157         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12158         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12159         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12160         (gst_base_sink_deactivate), (gst_base_sink_activate),
12161         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12162         (gst_base_sink_query), (gst_base_sink_change_state):
12163         Basesink cleanups, remove some old code.
12164         Handle the case where a subclass can preroll in the render
12165         method (mostly audiosinks).
12166         Handle more events.
12167         Remove some locks around variables that are now protected
12168         with the PREROLL_LOCK (clock_id, flushing, ..).
12169         Optimize position query some more, do correct locking.
12170         Remove old code to push queue in state change, this is not
12171         needed anymore since preroll blocks on all prerollable items 
12172         now.
12173         Almost implemented as described in design doc.
12174
12175 2006-01-30  Wim Taymans  <wim@fluendo.com>
12176
12177         * tests/check/gst/gstbin.c: (GST_START_TEST):
12178         Wait for refcount to settle down before checking.
12179
12180 2006-01-30  Wim Taymans  <wim@fluendo.com>
12181
12182         * docs/design/part-element-sink.txt:
12183         Pseudo code overview of desired sink behaviour regarding
12184         preroll.
12185
12186 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12187         * win32/vs6/grammar.dsp:
12188           fix some bugs in Release mode for autogenerated files
12189                 
12190 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12191         * win32/common/libgstbase.def:
12192         * win32/common/libgstreamer.def:
12193           export some new symbols: gst_base_src_set_format,
12194           gst_iterator_next, gst_structure_set_valist
12195
12196 2006-01-29  Julien MOUTTE  <julien@moutte.net>
12197
12198         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12199         Set pad functions unconditionally. Fixes #329105.
12200
12201 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12202         * win32/vs8:
12203           add vs8 project files created by Sergey Scobich
12204
12205 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
12206
12207         * gst/gstutils.c: (gst_element_unlink_pads):
12208         Don't leak pad references.
12209
12210         * tests/check/elements/fakesink.c: (GST_START_TEST):
12211         * tests/check/generic/sinks.c: (GST_START_TEST):
12212         * tests/check/generic/states.c: (GST_START_TEST):
12213         * tests/check/gst/gstbin.c: (GST_START_TEST):
12214         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12215         * tests/check/gst/gstelement.c: (GST_START_TEST):
12216         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12217         * tests/check/gst/gstiterator.c: (GST_START_TEST):
12218         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12219         Fix a bunch of leaks. Make generic/sinks.c
12220         use a bit less cpu by slowing the buffer rate
12221         between fakesrc and fakesink.
12222         
12223 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
12224         * gst/gstcaps.c:
12225         * gst/gstelement.c: (gst_element_send_event):
12226         * gst/gstevent.c:
12227         * gst/gstinfo.c:
12228         * gst/gstiterator.c:
12229         * gst/gstiterator.h:
12230         * gst/gstpad.c: (gst_pad_send_event):
12231         * gst/gststructure.c:
12232         * gst/gsturi.c:
12233         * gst/gstutils.c:
12234         * gst/gstvalue.c:
12235         * libs/gst/base/gstadapter.c:
12236           doc fixes, to link to function, just write gst_cool_function(), don't
12237           prefix with '#'
12238
12239 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12240
12241         * plugins/elements/gsttee.c: (gst_tee_do_push),
12242         (gst_tee_handle_buffer):
12243         Always prefer an actual return value from a src
12244         pad in place of NOT_LINKED. This means we return
12245         WRONG_STATE when all src pads are WRONG_STATE
12246         instead of NOT_LINKED.
12247
12248         Lock when replacing the last message to prevent
12249         racing with the get_property method.
12250
12251         Add debug output
12252
12253 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12254
12255         * tests/check/Makefile.am:
12256         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12257         (main):
12258         Add a very simple check that should have caught the memleak I fixed
12259         last night (if not for the slice allocator hiding it)
12260
12261 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12262
12263         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12264         (gst_bin_remove_func), (gst_bin_handle_message_func),
12265         (bin_query_duration_fold), (bin_query_generic_fold):
12266         Clean up references to the clock provider when disposed or when
12267         handling a clock-lost message from it.
12268
12269         Unref sinks when performing a query via gst_iterator_fold, as the
12270         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12271
12272         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12273         (gst_clock_set_master):
12274         Drop our reference to the master clock, if any, when we are disposed.
12275
12276         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12277         Chain up in dispose. 
12278
12279 2006-01-26  Wim Taymans  <wim@fluendo.com>
12280
12281         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12282         Add some debugging.
12283
12284 2006-01-26  Julien MOUTTE  <julien@moutte.net>
12285
12286         * plugins/elements/gsttee.c: (gst_tee_do_push),
12287         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12288         handles pad being NOT_LINKED or in WRONG_STATE.
12289
12290 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12291
12292         * win32/MANIFEST:
12293           more updating
12294
12295 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12296
12297         * win32/MANIFEST:
12298           remove obsolete entry
12299
12300 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12301
12302         * docs/gst/gstreamer-sections.txt:
12303         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12304         (gst_bin_iterate_sources), (gst_bin_send_event):
12305         * gst/gstbin.h:
12306         * gst/gstelement.c: (gst_element_send_event):
12307         * gst/gstevent.c:
12308         * gst/gstpad.c: (gst_pad_send_event):
12309           added code for downstream events, reviewed docs in gstevent.c
12310
12311 2006-01-25  Julien MOUTTE  <julien@moutte.net>
12312
12313         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12314         We only query position using the clock in the playing state.
12315         Query peer in the other cases.
12316         * win32/common/config.h: Updates.
12317
12318 2006-01-24  Wim Taymans  <wim@fluendo.com>
12319
12320         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12321         A clock entry that is scheduled for the exact time of the
12322         clock is still in time.
12323
12324         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12325         (gst_base_sink_do_sync):
12326         Add some more debug info.
12327
12328 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12329
12330         * win32/vs7:
12331           Add new vs7 project files and solution.
12332
12333 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12334
12335         * win32/vs7:
12336           all files removed as they were out-dated.
12337
12338 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12339
12340         * docs/random/release:
12341           update notes
12342         * gst/gstbin.c: (gst_bin_init):
12343         * gst/gstbus.c: (gst_bus_new):
12344         * gst/gstbus.h:
12345         * gst/gstpipeline.c: (gst_pipeline_init):
12346           use gst_bus_new(), improve logging, fix docs
12347         * win32/common/config.h:
12348           update for cvs build
12349
12350 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12351
12352         * autogen.sh:
12353           up required version of automake to 1.7
12354
12355 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
12356
12357         * win32/common/libgstreamer.def:
12358           export gst_buffer_is_metadata_writable
12359
12360 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
12361
12362         * docs/gst/gstreamer-sections.txt:
12363         * gst/gstevent.h:
12364           Add gst_event_replace() (#327001)
12365
12366 2006-01-20  Wim Taymans  <wim@fluendo.com>
12367
12368         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12369         Make it actually compile too..
12370
12371 2006-01-20  Wim Taymans  <wim@fluendo.com>
12372
12373         * gst/gstcaps.c:
12374         Clarify behaviour of _is_equal() when passing NULL parameters.
12375
12376         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12377         (gst_pad_set_caps):
12378         Cleanups. Don't unref NULL caps.
12379         When setting the same caps, protect caps of the pad with
12380         proper lock.
12381         Use full functionality of _is_equal() when comparing caps.
12382
12383 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12384
12385         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12386         Don't loop infinitely if there are no buffers to present. Partially
12387         fixes #327197, but collectpads is just broken for reusing elements
12388         to do multiple encodes atm.
12389
12390 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12391
12392         * tools/gst-inspect.c: (print_element_features):
12393         * tools/gst-xmlinspect.c: (main):
12394         URL_HANDLER is not a plugin feature we can search for in
12395         the registry.
12396
12397 2006-01-19  Edward Hervey  <edward@fluendo.com>
12398
12399         * gst/gstelement.c: (gst_element_pads_activate): 
12400         When activating, do src pads first, then sink pads.
12401         When de-activating, do sink pads first, then src pads.
12402
12403 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12404
12405         * docs/gst/gstreamer-sections.txt:
12406         Add gst_index_add_associationv to the docs
12407
12408 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12409
12410         * gst/gstevent.c:
12411           Fix docs typo
12412
12413         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12414         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12415           Do some refactoring. Doesn't actually change functionality,
12416           but makes landing the DRAIN event easier later.
12417
12418 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
12419
12420         * docs/pwg/advanced-scheduling.xml:
12421           Update from 0.9.x to 0.10 API and make example a bit
12422           clearer.
12423
12424 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12425
12426         * docs/gst/gstreamer-sections.txt:
12427         Add gst_buffer_(is|make)_metadata_writable methods.
12428
12429 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12430
12431         * docs/design/part-sparsestreams.txt:
12432         Update sparse streams doc, hopefully for greater clarity
12433
12434 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
12435
12436         * docs/design/part-events.txt:
12437         Remove mention of FILLER events.
12438         Add DRAIN event.
12439
12440         * docs/design/part-sparsestreams.txt:
12441         Write some things about using NEWSEGMENT to keep sparse streams
12442         flowing.
12443
12444 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12445
12446         * gst/gstbin.c: (gst_bin_dispose):
12447           Guard gst_object_unref call against a NULL object (dispose
12448           can theoretically be called multiple times).
12449           
12450 2006-01-18  Wim Taymans  <wim@fluendo.com>
12451
12452         * gst/gstbin.c: (gst_bin_element_set_state):
12453         * gst/gstclock.c: (gst_clock_id_wait):
12454         Added some more debug info.
12455
12456         * libs/gst/base/gstadapter.c:
12457         Added more docs.
12458
12459         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12460         (gst_base_sink_do_sync), (gst_base_sink_chain):
12461         Added some comments.
12462
12463 2006-01-18  Wim Taymans  <wim@fluendo.com>
12464
12465         * tests/check/Makefile.am:
12466         * tests/check/elements/fakesink.c: (chain_async_buffer),
12467         (chain_async), (chain_async_return), (GST_START_TEST),
12468         (fakesink_suite), (main):
12469         Added fakesink test that checks prerolling and clipping
12470         behaviour.
12471
12472         * tests/check/gst/gstutils.c: (GST_START_TEST):
12473         Make check run faster so that buildbots don't timeout.
12474
12475 2006-01-18  Wim Taymans  <wim@fluendo.com>
12476
12477         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12478         (gst_base_sink_do_sync):
12479         Some cleanups.
12480         When the sink finishes blocking on the preroll buffer, it can
12481         immediatly render it instead of rendering when the next buffer
12482         arrives.
12483
12484 2006-01-18  Wim Taymans  <wim@fluendo.com>
12485
12486         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12487         (gst_base_sink_get_property), (gst_base_sink_do_sync),
12488         (gst_base_sink_chain):
12489         Small cleanups.
12490         GST_ELEMENT_CLOCK and sync are protected with LOCK.
12491         Don't store _last_stop if the buffer is dropped.
12492
12493 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12494
12495         * plugins/elements/gsttypefindelement.c:
12496         (gst_type_find_element_class_init):
12497           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12498           object method handler that sets the caps on the pad and we want
12499           that to happen before we emit the signal (fixes e.g. feeding a
12500           plain text file to decodebin).
12501
12502 2006-01-18  Christian Schaller  <Christian@fluendo.com>
12503
12504         * gst/gstplugin.c: Add MPL and Proprietary as license options
12505
12506 2006-01-18  Andy Wingo  <wingo@pobox.com>
12507
12508         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12509         symbol was exported before, it appears this was just an oversight.
12510         Fixes #168703.
12511         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12512
12513         * gst/gstindex.c (gst_index_add_associationv): Changed int in
12514         prototype to gint. OK since this prototype was not in the header.
12515
12516 2006-01-17  Andy Wingo  <wingo@pobox.com>
12517
12518         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12519         registry while we remove plugins.
12520
12521         * tools/gst-inspect.c (print_element_info): Don't unref the
12522         factory arg, that should be the responsibility of whatever code
12523         received the ref. Fixes a double-free when called from
12524         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12525         (main): Unref the factory if we have one.
12526         (print_element_list): No change -- relies on the
12527         plugin_feature_list_free to free the list of features.
12528
12529 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
12530
12531         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12532         (gst_buffer_make_metadata_writable):
12533         * gst/gstbuffer.h:
12534         * libs/gst/base/gstbasetransform.c:
12535         (gst_base_transform_prepare_output_buf):
12536         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12537         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12538           Replace gst_buffer_(make|is)_metadata_writable patch now
12539           that the release is out.
12540
12541 2006-01-17  Andy Wingo  <wingo@pobox.com>
12542
12543         * gst/gstregistry.c: Reflow design comment. Update so as to speak
12544         in the present tense without reference to versions.
12545
12546         * gst/gstregistry.c (gst_registry_add_plugin)
12547         (gst_registry_remove_plugin, gst_registry_remove_feature)
12548         (gst_registry_find_feature, gst_registry_get_feature_list)
12549         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12550         (gst_registry_lookup, gst_registry_scan_path)
12551         (_gst_registry_remove_cache_plugins)
12552         (gst_registry_get_feature_list_by_plugin): Add argument
12553         validation.
12554
12555 === release 0.10.2 ===
12556
12557 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
12558
12559         * configure.ac:
12560           releasing 0.10.2, "If man is five"
12561
12562 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12563
12564         * gst/gstbuffer.c:
12565         * gst/gstbuffer.h:
12566         * libs/gst/base/gstbasetransform.c:
12567         (gst_base_transform_prepare_output_buf):
12568         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12569         * tests/check/gst/gstbuffer.c: (gst_test_suite):
12570           Back out patch until after the release.
12571
12572 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12573
12574         * gst/gstminiobject.c:
12575           Spelling fix in docs.
12576         * ChangeLog - remove conflict indicator
12577
12578 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12579
12580         Reviewed By: Andy Wingo
12581
12582         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12583         (gst_buffer_make_metadata_writable):
12584         * gst/gstbuffer.h:
12585           Add gst_buffer_(is|make)_metadata_writable as analogues of
12586           gst_buffer_(is|make)_writable.
12587
12588         * libs/gst/base/gstbasetransform.c:
12589         (gst_base_transform_prepare_output_buf):
12590         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12591           Use name gst_buffer_(is|make)_metadata_writable functions.
12592
12593         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12594           Test gst_buffer_(is|make)_metadata_writable
12595         
12596           (Closes: #324162)
12597
12598 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12599
12600         * docs/manual/Makefile.am:
12601           don't do parallel make
12602         * configure.ac:
12603           AC_SUBST HOST_CPU
12604         * win32/common/config.h.in:
12605           add generations for HOST_CPU and GST_MAJORMINOR
12606         * win32/common/config.h:
12607           commit generated result
12608
12609 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
12610
12611         * docs/manual/appendix-integration.xml:
12612           Update GNOME integration section to use gst_init_get_option_group()
12613           instead of the old popt stuff (#322911). Also, GNOME applications
12614           should  now use gconf*sink and gconf*src instead of the old gconf
12615           helper lib we had.
12616
12617 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
12618
12619
12620         * docs/gst/gstreamer-docs.sgml:
12621         * docs/gst/gstreamer-sections.txt:
12622         * docs/libs/gstreamer-libs-sections.txt:
12623           add new API entries to the docs
12624         * libs/gst/controller/Makefile.am:
12625         * libs/gst/controller/gstcontroller.c:
12626         * libs/gst/controller/gstcontroller.h:
12627         * libs/gst/controller/gstcontrollerprivate.h:
12628         * libs/gst/controller/gsthelper.c:
12629         * libs/gst/controller/gstinterpolation.c:
12630           move private structs to private header
12631         * po/README:
12632           gstreamer-0.7 -> gstreamer-0.10
12633         * tests/check/libs/struct_i386.h:
12634           remove private structs
12635
12636 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12637
12638         * plugins/indexers/Makefile.am:
12639           Fixes as part of #317048
12640
12641 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12642
12643         * plugins/indexers/Makefile.am:
12644           fix #316086 - compilation when mmap is missing
12645
12646 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
12647
12648         * libs/gst/base/gstbasesink.c:
12649           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
12650           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12651         * win32/common/config.h:
12652           added some defines GST_MAJORMINOR and HOST_CPU
12653         * win32/common/libgstbase.def:
12654         * win32/common/libgstreamer.def:
12655           added some exported functions.
12656
12657 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12658
12659         * libs/gst/controller/gstcontroller.c:
12660         (gst_controlled_property_set_interpolation_mode),
12661         (gst_controlled_property_new):
12662         * libs/gst/controller/gstcontroller.h:
12663         * libs/gst/controller/gstinterpolation.c:
12664         (interpolate_none_get_string_value_array):
12665           make G_TYPE_STRING controlable
12666
12667 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12668
12669         * tools/README:
12670         * tools/gst-feedback.1.in:
12671         * tools/gst-inspect.1.in:
12672         * tools/gst-launch.1.in:
12673         * tools/gst-md5sum.1.in:
12674         * tools/gst-typefind.1.in:
12675         * tools/gst-xmlinspect.1.in:
12676         * tools/gst-xmllaunch.1.in:
12677           cleanup man-pages, remove reference to gst-register, document env-vars
12678
12679 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
12680
12681         * gst/gstbuffer.c: (gst_buffer_span):
12682           gst_buffer_span should copy the timestamp of the first buffer
12683           if they were both originally overlapping subbuffers of the 
12684           same parent, using the same logic as the 'slow copy' case.
12685
12686 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
12687
12688         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12689           Need to awaken ALL the pads when we pop a buffer, otherwise
12690           collectpads only works when there is 2 input streams.
12691
12692 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
12693
12694         * docs/random/ensonic/media-device-daemon.txt:
12695           more ideas (dbus)
12696         * gst/gstbuffer.c:
12697           fix doc example, add clarification
12698         * tools/gst-launch.1.in:
12699           add initial info about GST_PLUGIN_PATH, needs more work
12700
12701 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
12702
12703         * docs/manual/basics-bins.xml:
12704         * docs/manual/basics-elements.xml:
12705         * docs/manual/intro-basics.xml:
12706           Some more minor docs additions and updates.
12707
12708 2006-01-11  Wim Taymans  <wim@fluendo.com>
12709
12710         * docs/manual/basics-bins.xml:
12711         * docs/manual/basics-elements.xml:
12712         Some small fixes as pointed out by Ser-ver on IRC.
12713
12714 2006-01-10  Edward Hervey  <edward@fluendo.com>
12715
12716         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12717         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12718         the single-segment mode.
12719
12720 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
12721
12722         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12723
12724         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12725         (gst_base_src_perform_seek), (gst_base_src_send_event),
12726         (gst_base_src_set_property), (gst_base_src_get_property),
12727         (gst_base_src_loop), (gst_base_src_start),
12728         (gst_base_src_activate_push):
12729         * libs/gst/base/gstbasesrc.h:
12730           Name (private) union; makes Sun's Forte compiler happy (#324900).
12731
12732 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
12733
12734         * README:
12735           gst-register is gone.
12736
12737 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12738
12739         * gst/gstvalue.c: (_gst_value_initialize):
12740           make the G_TYPE_DATE instantiation work if debug is disabled
12741
12742 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
12743
12744         * gst/gstmessage.c: (gst_message_parse_tag),
12745         (gst_message_parse_error), (gst_message_parse_warning):
12746           Don't crash when return location for error/warning debug
12747           string is NULL; add fact that return locations can be
12748           NULL to docs where appropriate.
12749
12750 2006-01-05  Wim Taymans  <wim@fluendo.com>
12751
12752         * gst/gstplugin.c: (gst_plugin_load_file):
12753         Replace strdup by g_strdup.
12754
12755 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12756
12757         * docs/pwg/advanced-types.xml:
12758           fix doc borkage
12759
12760 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12761
12762         submitted by: Abel Cheung
12763
12764         * po/LINGUAS:
12765         * po/zh_TW.po:
12766           Added Chinese (traditional) translation
12767
12768 2006-01-04  Wim Taymans  <wim@fluendo.com>
12769
12770         * docs/manual/basics-pads.xml:
12771         * docs/plugins/Makefile.am:
12772         * docs/plugins/gstreamer-plugins-docs.sgml:
12773         * docs/plugins/gstreamer-plugins-sections.txt:
12774         * docs/pwg/advanced-clock.xml:
12775         * docs/pwg/advanced-scheduling.xml:
12776         * docs/pwg/advanced-types.xml:
12777         * plugins/elements/gstfdsink.c:
12778         * plugins/elements/gstfdsrc.c:
12779         * plugins/elements/gstfdsrc.h:
12780         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12781         * plugins/elements/gstidentity.h:
12782         * plugins/elements/gstqueue.h:
12783         * plugins/elements/gsttee.c:
12784         * plugins/elements/gsttee.h:
12785         * plugins/elements/gsttypefindelement.c:
12786         (gst_type_find_element_class_init):
12787         * plugins/elements/gsttypefindelement.h:
12788         Small updates to various docs.
12789         Added core plugins to docs.
12790
12791 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12792
12793         * common/gst.supp:
12794           add a suppression for liboil's uninitialized variable
12795
12796 2006-01-02  James Livingston  <jrl at ids dot org dot au>
12797
12798         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12799
12800         * gst/gstutils.h:
12801           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12802           macro, so that gcc doesn't complain if the -Wmissing-prototypes
12803           compiler switch is being used (#325429).
12804
12805 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
12806
12807         * gst/gstbin.c: (gst_bin_query):
12808           Disable duration query caching in bins until it gets
12809           fixed (see #324807).
12810
12811 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12812
12813         * tools/gst-inspect.c: (print_element_properties_info):
12814           Handle properties of POINTER and BOXED type.
12815
12816 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12817
12818         * gst/gst.c: (init_post):
12819           Init tags stuff and some other things before loading
12820           any static plugins (there may be other static plugins
12821           than just the GStreamer ones, and they may want to
12822           register their own tags or formats or whatever, and
12823           preferably without segfaulting).
12824
12825         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12826           Print at least a warning in the debug logs if we drop a
12827           query just because we don't know how to adjust the value
12828           in the particular format.
12829
12830 2005-12-24  David Schleef  <ds@schleef.org>
12831
12832         * tools/gstreamer-completion:
12833           Replacement for gst-complete written in sh and sed.  Only
12834           completes names of features, but that's 90% of what I want
12835           it for.  Properties are not available in registry.xml.  (Maybe
12836           they should be...)
12837
12838 === release 0.10.1 ===
12839
12840 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
12841
12842         * configure.ac:
12843           releasing 0.10.1, "Nollaig chridheil"
12844
12845 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
12846
12847         * docs/faq/cvs.xml:
12848           Add missing quote, should be make ERROR_CFLAGS="".
12849
12850 2005-12-20  Wim Taymans  <wim@fluendo.com>
12851
12852         * docs/design/part-trickmodes.txt:
12853         More documentation on trickmodes.
12854
12855 2005-12-20  Edward Hervey  <edward@fluendo.com>
12856
12857         * gst/gstcaps.c: (gst_static_caps_get_type):
12858         * gst/gstcaps.h:
12859           API addition: GST_TYPE_STATIC_CAPS
12860         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12861         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12862         * gst/gstpadtemplate.h:
12863           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12864         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12865         bindings.
12866
12867 2005-12-18  Wim Taymans  <wim@fluendo.com>
12868
12869         * libs/gst/base/gstadapter.c:
12870         * libs/gst/base/gstadapter.h:
12871         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12872         (gst_base_sink_get_position):
12873         * libs/gst/base/gstbasesink.h:
12874         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12875         (gst_base_src_default_query), (gst_base_src_default_do_seek),
12876         (gst_base_src_do_seek), (gst_base_src_perform_seek),
12877         (gst_base_src_send_event), (gst_base_src_update_length),
12878         (gst_base_src_get_range), (gst_base_src_loop),
12879         (gst_base_src_start):
12880         * libs/gst/base/gstbasesrc.h:
12881         * libs/gst/base/gstbasetransform.h:
12882         * libs/gst/base/gstcollectpads.h:
12883         * libs/gst/base/gstpushsrc.c:
12884         * libs/gst/base/gstpushsrc.h:
12885         * libs/gst/dataprotocol/dataprotocol.c:
12886         * libs/gst/dataprotocol/dataprotocol.h:
12887         * libs/gst/net/gstnetclientclock.h:
12888         * libs/gst/net/gstnettimeprovider.h:
12889         Documentation updates.
12890
12891 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
12892
12893         * docs/manual/basics-helloworld.xml:
12894           Remove superfluous closing bracket in helloworld example.
12895
12896 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
12897
12898         * tools/gst-launch.1.in:
12899           Update gst-launch man page; add a section with useful
12900           environment variables. Fixes #323882.
12901
12902 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
12903
12904         * gst/gst.c:
12905         * gst/gst_private.h:
12906           change some char* into char[]
12907
12908 2005-12-16  Wim Taymans  <wim@fluendo.com>
12909
12910         * gst/gstregistryxml.c: (load_feature):
12911         Cleanups.
12912         Don't use g_object_unref on GstObjects so that we avoid
12913         leaks on unsafe glibs.
12914
12915 2005-12-16  Wim Taymans  <wim@fluendo.com>
12916
12917         * gst/gstbin.c: (gst_bin_recalc_state):
12918         Small doc updates.
12919
12920 2005-12-16  Wim Taymans  <wim@fluendo.com>
12921
12922         * common/check.mak:
12923         Added make forever target for check.
12924
12925 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12926
12927         * gst/gst.c: (init_post):
12928           make the registry cache file HOST_CPU-dependent
12929
12930 2005-12-16  Andy Wingo  <wingo@pobox.com>
12931
12932         * plugins/elements/gstbufferstore.c
12933         (gst_buffer_store_cleared_func): Pay attention to g_list_append
12934         return value.
12935
12936         * tests/check/gst/gstobject.c
12937         (test_fake_object_name_threaded_unique): Pay attention to
12938         g_list_sort return value.
12939
12940 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
12941
12942         * tools/gst-feedback-m.m:
12943           Update for 0.9/0.10 (fixes #323870).
12944
12945 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
12946
12947         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12948           Fix lcopy for mini objects, the mini object needs to be ref'ed.
12949           
12950         * tests/check/gst/gstminiobject.c: (my_foo_init),
12951         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12952         (test_value_collection), (gst_mini_object_suite):
12953           Add test to ensure refcounts end up as expected when passing
12954           GstMiniObjects through g_object_get() and g_object_set().
12955
12956 2005-12-14  Julien MOUTTE  <julien@moutte.net>
12957
12958         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12959         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12960         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12961         of collectpads. This version removes a lot of races without
12962         touching API/ABI. Yay !
12963
12964 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
12965
12966         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12967           Don't allow activation of a srcpad in pull_range if it has no
12968           getrange function.
12969           Change some debug statements to be a little clearer
12970
12971         * plugins/elements/gsttypefindelement.c:
12972         (gst_type_find_handle_src_query):
12973           Check that we have a peer before executing queries thereupon.
12974
12975         * tests/examples/metadata/read-metadata.c: (message_loop):
12976           Use gst_bus_pop instead of gst_bus_poll when we just want it to
12977           immediately return us any available message with 0 timeout.
12978
12979 2005-12-12  Michael Smith  <msmith@fluendo.com>
12980
12981         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12982           Don't unref factories after calling them.
12983         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12984         * plugins/elements/gsttypefindelement.c:
12985         (gst_type_find_element_chain):
12986           Free lists of factories after using them. Fixing typefinding memory
12987           leaks.
12988
12989 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12990
12991         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12992         (gst_plugin_feature_load):
12993           more meaningful debug output
12994         * configure.ac:
12995         * tests/Makefile.am:
12996         * tests/old/examples/Makefile.am:
12997           make make distcheck happy again
12998
12999 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
13000
13001         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13002           Catch the special case where we are operating chain-based,
13003           but the downstream peer pad has no chain function. Emit a
13004           custom error message in this case instead of letting the
13005           core generate one implying that this is some sort of core
13006           bug. It's not, it just means that whatever got plugged
13007           into the pipeline downstream when we announced the type
13008           can only operate pull-based, while our source can only
13009           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
13010           Error string has not been marked for translation yet, as
13011           it probably needs some more work first.
13012
13013         (gst_type_find_element_get_best_possibility):
13014           Add helper function to find the best of all available
13015           found possibilities that qualify given the min. threshold.
13016
13017         (gst_type_find_element_handle_event):
13018           Fix the case where we get an EOS while still in TYPEFIND
13019           mode (we want to chose the best of all possible types,
13020           not just the first type that happens to be in our unsorted
13021           list of possible types).
13022
13023         (gst_type_find_element_chain):
13024           Make sure we return GST_FLOW_ERROR when we errored out
13025           in stop_typefinding(); also, don't just find the best of
13026           all found type entries and then use the last examined
13027           type entry, but actually use the best entry.
13028
13029 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
13030
13031         * tests/examples/typefind/typefind.c: (type_found):
13032         * tests/examples/xml/runxml.c: (xml_loaded):
13033           More gcc4 fixes and a mem leak fix.
13034
13035 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13036
13037         * tests/examples/xml/createxml.c: (object_saved):
13038           gcc 4 fixes
13039
13040 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13041
13042         * tests/Makefile.am:
13043           enable the examples even more
13044
13045 2005-12-12  Andy Wingo  <wingo@pobox.com>
13046
13047         * libs/gst/net/gstnettimeprovider.c
13048         (gst_net_time_provider_class_init, gst_net_time_provider_init)
13049         (gst_net_time_provider_set_property)
13050         (gst_net_time_provider_get_property):
13051         API addition: Export "active" as a GObject property.
13052         (gst_net_time_provider_thread): Only respond to time queries if
13053         the time provider is active.
13054
13055         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
13056         NetTimeProvider, preserving binary compat.
13057
13058 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13059
13060         * tests/examples/controller/audio-example.c: (main):
13061         * tests/examples/launch/Makefile.am:
13062           convert comments again
13063
13064 2005-12-12  Wim Taymans  <wim@fluendo.com>
13065
13066         * libs/gst/base/gstpushsrc.c:
13067         Fix typo.
13068
13069 2005-12-12  Wim Taymans  <wim@fluendo.com>
13070
13071         * docs/libs/gstreamer-libs-sections.txt:
13072         Added new symbol to docs.
13073
13074         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13075         (gst_base_src_init), (gst_base_src_set_format),
13076         (gst_base_src_default_query), (gst_base_src_query),
13077         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13078         (gst_base_src_perform_seek), (gst_base_src_send_event),
13079         (gst_base_src_default_event), (gst_base_src_event_handler),
13080         (gst_base_src_set_property), (gst_base_src_get_property),
13081         (gst_base_src_wait), (gst_base_src_do_sync),
13082         (gst_base_src_update_length), (gst_base_src_get_range),
13083         (gst_base_src_check_get_range), (gst_base_src_loop),
13084         (gst_base_src_default_negotiate), (gst_base_src_start),
13085         (gst_base_src_activate_push), (gst_base_src_activate_pull),
13086         (gst_base_src_change_state):
13087         * libs/gst/base/gstbasesrc.h:
13088         Implement seeking to other formats than _BYTES.
13089         Implement more seeking methods correctly.
13090         Doc updates.
13091         Added query vmethod.
13092         Added do_seek vmethod to make life easier for subclasses
13093         when seeking.
13094         API addition: gst_base_src_set_format()
13095
13096 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13097
13098         * tests/examples/Makefile.am:
13099           added that too
13100
13101 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13102
13103         * configure.ac:
13104         * docs/random/ensonic/media-device-daemon.txt:
13105         * tests/examples/controller/.cvsignore:
13106         * tests/examples/controller/Makefile.am:
13107         * tests/examples/controller/audio-example.c: (main):
13108         * tests/examples/helloworld/.cvsignore:
13109         * tests/examples/helloworld/Makefile.am:
13110         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13111         * tests/examples/launch/.cvsignore:
13112         * tests/examples/launch/Makefile.am:
13113         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13114         * tests/examples/metadata/.cvsignore:
13115         * tests/examples/metadata/Makefile.am:
13116         * tests/examples/metadata/read-metadata.c: (message_loop),
13117         (make_pipeline), (print_tag), (main):
13118         * tests/examples/queue/.cvsignore:
13119         * tests/examples/queue/Makefile.am:
13120         * tests/examples/queue/queue.c: (event_loop), (main):
13121         * tests/examples/typefind/.cvsignore:
13122         * tests/examples/typefind/Makefile.am:
13123         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13124         (main):
13125         * tests/examples/xml/.cvsignore:
13126         * tests/examples/xml/Makefile.am:
13127         * tests/examples/xml/createxml.c: (object_saved), (main):
13128         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13129         * tests/old/examples/Makefile.am:
13130         * tests/old/examples/TODO:
13131         * tests/old/examples/controller/.cvsignore:
13132         * tests/old/examples/controller/Makefile.am:
13133         * tests/old/examples/controller/audio-example.c:
13134         * tests/old/examples/helloworld/.cvsignore:
13135         * tests/old/examples/helloworld/Makefile.am:
13136         * tests/old/examples/helloworld/helloworld.c:
13137         * tests/old/examples/launch/.cvsignore:
13138         * tests/old/examples/launch/Makefile.am:
13139         * tests/old/examples/launch/mp3parselaunch.c:
13140         * tests/old/examples/launch/mp3play:
13141         * tests/old/examples/manual/Makefile.am:
13142         * tests/old/examples/metadata/Makefile.am:
13143         * tests/old/examples/metadata/read-metadata.c:
13144         * tests/old/examples/queue/.cvsignore:
13145         * tests/old/examples/queue/Makefile.am:
13146         * tests/old/examples/queue/queue.c:
13147         * tests/old/examples/typefind/.cvsignore:
13148         * tests/old/examples/typefind/Makefile.am:
13149         * tests/old/examples/typefind/typefind.c:
13150         * tests/old/examples/xml/.cvsignore:
13151         * tests/old/examples/xml/Makefile.am:
13152         * tests/old/examples/xml/createxml.c:
13153         * tests/old/examples/xml/runxml.c:
13154           applied some simple fixing to some examples
13155           re-enabled the working examples
13156
13157 2005-12-12  Wim Taymans  <wim@fluendo.com>
13158
13159         * gst/gstsegment.c: (gst_segment_init),
13160         (gst_segment_set_last_stop), (gst_segment_set_seek),
13161         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13162         (gst_segment_to_running_time):
13163         Added more documentation.
13164         Make sure the last_pos value is updated properly.
13165         Make sure to_stream_time and to_running_time don't
13166         operate on wrong values.
13167
13168         * tests/check/gst/gstsegment.c: (GST_START_TEST):
13169         Update check.
13170
13171 2005-12-12  Michael Smith  <msmith@fluendo.com>
13172
13173         * plugins/elements/gsttypefindelement.c: (free_entry),
13174         (gst_type_find_element_chain):
13175           Now that we're not leaking factories, make sure we keep references
13176           to them while we need them.
13177
13178 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13179
13180         * tests/check/gst/struct_i386.h:
13181           ifdef out the XML structs
13182
13183 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13184
13185         * gst/gstvalue.c: (gst_value_transform_double_fraction):
13186           floor is not needed, F is always positive; this obviates the
13187           need for adding -lm when building without libxml
13188
13189 2005-12-12  Wim Taymans  <wim@fluendo.com>
13190
13191         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13192         Take current playback rate into account when reporting
13193         the position.
13194
13195 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13196
13197         * docs/manual/mime-world.fig:
13198           Let's try this again, this time with a file that is
13199           actually in XFig format.
13200
13201 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13202
13203         * docs/manual/mime-world.fig:
13204           Add audioconvert element to diagram so that it
13205           matches the text and the code (fixes #319526).
13206
13207 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13208
13209         * docs/pwg/building-chainfn.xml:
13210         * docs/pwg/building-pads.xml:
13211         * docs/pwg/building-state.xml:
13212         * docs/pwg/other-source.xml:
13213           Update state change stuff for 0.10 (fixes #322969).
13214
13215 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13216
13217         * docs/manual/advanced-dataaccess.xml:
13218         * docs/manual/appendix-checklist.xml:
13219         * docs/manual/appendix-programs.xml:
13220         * docs/manual/basics-pads.xml:
13221         * docs/manual/highlevel-components.xml:
13222         * docs/manual/manual.xml:
13223           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13224           add converters in front of pipelines; remove curly
13225           brackets for threads stuff, they no longer exist; use
13226           GST_TYPE_FRACTION for framerates; update some pieces of
13227           code to 0.10, but there's plenty more to do.
13228
13229         * docs/manual/appendix-porting.xml:
13230           Expand on asynchroneous state changes; s/0.9/0.10/;
13231           mention disappearance of gst_init_get_popt_table()
13232           (fixes #322916).
13233
13234 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13235
13236         * docs/faq/using.xml:
13237           Spider no longer exists, and neither does gst-launch-ext.
13238           Update examples to use decodebin and playbin and put
13239           converters in front of sinks (fixes #323726).
13240
13241 2005-12-09  Michael Smith  <msmith@fluendo.com>
13242
13243         * plugins/elements/gsttypefindelement.c: (find_peek),
13244         (gst_type_find_element_chain):
13245           Fix leaking element factories in typefinding.
13246           Fix problem where we forgot about a probable type on non-seekable
13247           files, and thus later mis-typefound it.
13248
13249 2005-12-09  Michael Smith  <msmith@fluendo.com>
13250
13251         * common/m4/gst-makecontext.m4:
13252         * common/m4/gst-mcsc.m4:
13253         * configure.ac:
13254         * win32/common/config.h:
13255         * win32/common/config.h.in:
13256           Remove makecontext stuff; not used in 0.10 and causes problems on
13257           HPUX according to bug #322441
13258
13259 2005-12-07  Wim Taymans  <wim@fluendo.com>
13260
13261         * tests/check/Makefile.am:
13262         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13263         (main):
13264         * tests/check/libs/struct_i386.h:
13265         Added ABI check for libs
13266
13267 2005-12-07  Wim Taymans  <wim@fluendo.com>
13268
13269         * tests/check/Makefile.am:
13270         And add the struct_i386.h to dist.
13271
13272 2005-12-07  Wim Taymans  <wim@fluendo.com>
13273
13274         * tests/check/Makefile.am:
13275         * tests/check/gst/.cvsignore:
13276         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13277         (main):
13278         * tests/check/gst/struct_i386.h:
13279         Added check for ABI compatibility.
13280
13281 2005-12-07  Wim Taymans  <wim@fluendo.com>
13282
13283         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13284         (gst_fake_src_get_times), (gst_fake_src_create):
13285         Fix broken sync option, fixes #323259
13286
13287 2005-12-07  Wim Taymans  <wim@fluendo.com>
13288
13289         * gst/gstbuffer.c:
13290         Small docs update.
13291
13292         * gst/gstcaps.c: (gst_caps_is_equal):
13293         Don't assert on NULL <--> X. Fixes #323260
13294
13295         * gst/gstminiobject.c: (gst_mini_object_replace):
13296         If we're doing atomic operations, we might just as well use
13297         the proper way to get an atomic pointer.
13298
13299         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13300         Clean up debugging.
13301
13302 2005-12-07  Michael Smith  <msmith@fluendo.com>
13303
13304         * gst/parse/grammar.y:
13305           Remove handling of { } for threads.
13306
13307 2005-12-06  David Schleef  <ds@schleef.org>
13308
13309         * libs/gst/base/gstbasetransform.c: speling fix.
13310
13311 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13312
13313         * docs/libs/tmpl/gstdataprotocol.sgml:
13314         * docs/random/omega/testing/gstobject.c:
13315         * gst/gst.c:
13316         * gst/gstclock.c:
13317         * gst/gstelement.c:
13318         * gst/gstelementfactory.c:
13319         * gst/gsterror.c:
13320         * gst/gstevent.c:
13321         * gst/gstghostpad.c:
13322         * gst/gstinfo.c:
13323         * gst/gstpadtemplate.c:
13324         * gst/gstregistryxml.c:
13325         * gst/gsttaglist.c:
13326         * gst/gsttagsetter.c:
13327         * gst/gsttypefind.c:
13328         * gst/gstvalue.c:
13329         * libs/gst/base/gstbasesrc.c:
13330         * libs/gst/net/gstnetclientclock.c:
13331         * libs/gst/net/gstnettimeprovider.c:
13332         * plugins/elements/gstfakesrc.c:
13333         * plugins/elements/gstfdsrc.c:
13334         * plugins/elements/gstfilesrc.c:
13335         * plugins/elements/gstidentity.c:
13336         * plugins/elements/gstqueue.c:
13337         * plugins/elements/gsttypefindelement.c:
13338         * plugins/indexers/gstfileindex.c:
13339         * plugins/indexers/gstmemindex.c:
13340         * tests/check/gst/gsttag.c:
13341         * tests/old/examples/cutter/cutter.c:
13342         * tests/old/examples/mixer/mixer.c:
13343         * tests/old/examples/xml/runxml.c: (main):
13344         * tests/old/testsuite/caps/normalisation.c:
13345         * tests/old/testsuite/debug/global.c:
13346         * tests/old/testsuite/parse/parse1.c:
13347         * tools/gst-xmlinspect.c:
13348         * win32/common/dirent.c:
13349           expand tabs
13350
13351 === release 0.10.0 ===
13352
13353 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13354
13355         * configure.ac:
13356           releasing 0.10.0, "Maroilles"
13357
13358 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13359
13360         submitted by: Funda Wang <fundawang@linux.net.cn>
13361
13362         * po/LINGUAS:
13363         * po/zh_CN.po:
13364           added Chinese (Traditional) translation
13365
13366 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13367
13368         * docs/gst/gstreamer-sections.txt:
13369         * docs/libs/tmpl/gstdataprotocol.sgml:
13370         * docs/random/thomasvs/TODO:
13371         * gst/gstutils.c:
13372         * gst/gstutils.h:
13373           fix docs
13374
13375 2005-12-05  Andy Wingo  <wingo@pobox.com>
13376
13377         patch by: Wim Taymans <wim@fluendo.com>
13378
13379         * libs/gst/base/gstbasetransform.c
13380         (gst_base_transform_prepare_output_buf)
13381         (gst_base_transform_buffer_alloc):
13382         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13383         alloc_buffer_and_set_caps.
13384
13385         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13386         set_caps on the source pad.
13387         (gst_pad_alloc_buffer_and_set_caps): New function, does what
13388         alloc_buffer used to do. Fixes #322874.
13389
13390         * docs/gst/gstreamer-sections.txt: 
13391         * docs/design/part-negotiation.txt: 
13392         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13393         changes.
13394
13395 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13396
13397         patch by: Sebastien Moutte
13398
13399         * win32/MANIFEST:
13400         * win32/common/config.h.in:
13401         * win32/vs6/libgstcontroller.dsp:
13402           win32 build fixes
13403
13404 2005-12-05  Wim Taymans  <wim@fluendo.com>
13405
13406         * gst/gstcaps.c: (gst_caps_is_equal):
13407         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13408         (gst_fake_src_create):
13409         Back out previous code changes, leave doc updates, file bugs 
13410         instead. 
13411
13412 2005-12-05  Wim Taymans  <wim@fluendo.com>
13413
13414         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13415         (gst_fake_src_get_times), (gst_fake_src_create):
13416         * plugins/elements/gstfakesrc.h:
13417         Fix broken sync code.
13418
13419 2005-12-05  Wim Taymans  <wim@fluendo.com>
13420
13421         * gst/gstcaps.c: (gst_caps_is_equal):
13422         Comparing NULL against !NULL yields different caps, not a
13423         failure.
13424
13425 2005-12-05  Wim Taymans  <wim@fluendo.com>
13426
13427         * gst/gstpipeline.c:
13428         Fix small typo in docs.
13429
13430 2005-12-05  Andy Wingo  <wingo@pobox.com>
13431
13432         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
13433
13434         * gst/gst.c (init_post): remove hard-coded 0.9 location for
13435         registries/plugins with a MAJORMINOR one.
13436         (plugin_desc): Rename library from gstcoreleements to
13437         staticelements. Fixes #323222.
13438
13439 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
13440
13441         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13442           Change debug category to 'collectpads' from 'collect_pads'
13443           (fixes #323250).
13444
13445 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13446
13447         patch by: Sebastien Moutte
13448
13449         * libs/gst/controller/gstinterpolation.c:
13450           use convert function for uint64/double
13451         * win32/vs6/libgstcontroller.dsp:
13452           link to GLib
13453
13454 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13455
13456         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13457         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13458         * gst/gstutils.h:
13459         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13460           add tests that seem to show that the guint64/gdouble conversions
13461           are correct.
13462
13463 2005-12-02  Wim Taymans  <wim@fluendo.com>
13464
13465         * gst/gstregistry.c: (gst_registry_add_path):
13466         * gst/gstregistry.h:
13467         * gst/gstregistryxml.c:
13468         Fix docs again.
13469
13470 2005-12-02  Wim Taymans  <wim@fluendo.com>
13471
13472         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13473         (gst_util_uint64_scale_int):
13474         Small cleanup.
13475
13476         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13477         Add debug log line.
13478
13479         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13480         Add FIXME.
13481
13482 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13483
13484         * win32/MANIFEST:
13485         * win32/common/config.h:
13486         * win32/vs6/gstreamer.dsw:
13487         * win32/vs6/libgstcoreelements.dsp:
13488         * win32/vs6/libgstelements.dsp:
13489           renamed core elements plugin
13490
13491 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13492
13493         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13494         (get_candidates):
13495           do piece-wise major/minor comparison so 0.9 < 0.10
13496           also allow .exe extensions for tools
13497
13498 2005-12-02  Michael Smith  <msmith@fluendo.com>
13499
13500         * gst/gst.c:
13501           Escape a % to make gtkdoc happier; bug 322958.
13502
13503 === release 0.9.7 ===
13504
13505 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13506
13507         * configure.ac:
13508           releasing 0.9.7, "My Dog Has No Nose"
13509
13510 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13511
13512         * common/gst-xmlinspect.py:
13513         * configure.ac:
13514         * docs/libs/tmpl/gstdataprotocol.sgml:
13515         * docs/random/release:
13516         * po/af.po:
13517         * po/az.po:
13518         * po/bg.po:
13519         * po/ca.po:
13520         * po/cs.po:
13521         * po/de.po:
13522         * po/en_GB.po:
13523         * po/fr.po:
13524         * po/it.po:
13525         * po/nb.po:
13526         * po/nl.po:
13527         * po/ru.po:
13528         * po/sq.po:
13529         * po/sr.po:
13530         * po/sv.po:
13531         * po/tr.po:
13532         * po/uk.po:
13533         * po/vi.po:
13534         * win32/common/config.h:
13535         * win32/common/config.h.in:
13536         * win32/vs6/gst_inspect.dsp:
13537         * win32/vs6/gst_launch.dsp:
13538         * win32/vs6/libgstbase.dsp:
13539         * win32/vs6/libgstelements.dsp:
13540         * win32/vs6/libgstreamer.dsp:
13541         * win32/vs7/GStreamer.vcproj:
13542         * win32/vs7/gst-inspect.vcproj:
13543         * win32/vs7/gst-launch.vcproj:
13544         * win32/vs7/libgstbase.vcproj:
13545           bump GST_MAJORMINOR to 0.10
13546           reset libtool version
13547
13548 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13549
13550         * po/LINGUAS:
13551         * po/bg.po:
13552           Added Bulgarian translation by (Alexander Shopov)
13553
13554 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13555
13556         * tests/check/gst/gstplugin.c:
13557           fix test
13558
13559 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13560
13561         * common/gst-xmlinspect.py:
13562         * common/gtk-doc-plugins.mak:
13563         * configure.ac:
13564         * docs/Makefile.am:
13565         * docs/gst/Makefile.am:
13566         * docs/gst/gstreamer-docs.sgml:
13567         * docs/gst/gstreamer-sections.txt:
13568         * docs/gst/gstreamer.types:
13569         * docs/gst/gstreamer.types.in:
13570         * docs/plugins/Makefile.am:
13571         * docs/plugins/gstreamer-plugins-docs.sgml:
13572         * docs/plugins/gstreamer-plugins-sections.txt:
13573         * docs/plugins/gstreamer-plugins.types:
13574         * docs/plugins/inspect.stamp:
13575         * docs/plugins/inspect/plugin-coreelements.xml:
13576         * docs/plugins/inspect/plugin-coreindexers.xml:
13577         * docs/plugins/scanobj-build.stamp:
13578         * gstreamer.spec.in:
13579         * plugins/elements/Makefile.am:
13580         * plugins/elements/gstelements.c:
13581         * plugins/elements/gstfakesink.c:
13582         * plugins/elements/gstfakesrc.c:
13583         * plugins/elements/gstfilesink.c:
13584         * plugins/elements/gstfilesrc.c:
13585         * plugins/elements/gstqueue.c:
13586         * plugins/indexers/Makefile.am:
13587         * plugins/indexers/gstindexers.c:
13588           document core plugins in a separate document just like all the
13589           others
13590           rename these plugins to something starting with core
13591
13592 2005-12-01  Andy Wingo  <wingo@pobox.com>
13593
13594         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13595         padding here before, but it missed the commit.
13596
13597 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13598
13599         * libs/gst/controller/gstinterpolation.c:
13600           whitespace prices have crashed, we should feel free to use some now
13601           use gst_guint64_to_gdouble
13602
13603 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13604
13605         * libs/gst/controller/gstcontroller.c:
13606         * libs/gst/controller/gsthelper.c:
13607         * libs/gst/controller/gstinterpolation.c:
13608         * libs/gst/controller/lib.c:
13609           wrap config.h include
13610
13611 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13612
13613         * docs/gst/gstreamer-sections.txt:
13614           update docs
13615
13616 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13617
13618         * plugins/elements/gstelements.c:
13619         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13620         (gst_fd_sink__class_init), (gst_fd_sink__init),
13621         (gst_fd_sink__chain), (gst_fd_sink__set_property),
13622         (gst_fd_sink__get_property):
13623         * plugins/elements/gstfdsink.h:
13624         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13625         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13626         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13627         (gst_fd_src_unlock), (gst_fd_src_set_property),
13628         (gst_fd_src_get_property), (gst_fd_src_create),
13629         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13630         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13631         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13632         (gst_fd_src_uri_handler_init):
13633         * plugins/elements/gstfdsrc.h:
13634         * plugins/elements/gstqueue.c: (gst_queue_get_type):
13635           more anal cleanup
13636
13637 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13638
13639         * docs/gst/Makefile.am:
13640         * docs/gst/gstreamer.types.in:
13641         * gst/Makefile.am:
13642           fix the docs build
13643
13644 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13645
13646         * configure.ac:
13647         * gst/Makefile.am:
13648         * gst/gst.c:
13649         * gst/gstplugin.h:
13650         * gst/gstregistry.h:
13651         * tests/benchmarks/complexity.c:
13652         * tests/benchmarks/mass-elements.c:
13653         * tests/check/Makefile.am:
13654         * tools/Makefile.am:
13655         * tools/gst-inspect.c:
13656         * tools/gst-xmlinspect.c:
13657           various fixes to make
13658           --disable-nls --disable-registry --disable-loadsave
13659           --disable-parse --disable-gst-debug
13660           work and get the core .so down to 360444 bytes after stripping
13661
13662 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13663
13664         * Makefile.am:
13665         * configure.ac:
13666           descend into tests
13667         * docs/random/thomasvs/TODO:
13668         * tests/Makefile.am:
13669         * tests/README:
13670           add a README
13671
13672 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13673
13674         * win32/GStreamer.vcproj:
13675         * win32/MANIFEST:
13676         * win32/Makefile:
13677         * win32/Makefile.inspect:
13678         * win32/Makefile.launch:
13679         * win32/Makefile.register:
13680         * win32/README.txt:
13681         * win32/gst-inspect.vcproj:
13682         * win32/gst-launch.vcproj:
13683         * win32/gst-register.vcproj:
13684         * win32/gstelements.vcproj:
13685         * win32/gstgetbits.def:
13686         * win32/gstgetbits.vcproj:
13687         * win32/gstreamer-dbg.def:
13688         * win32/gstreamer.def:
13689         * win32/libgstbase.def:
13690         * win32/libgstbase.vcproj:
13691         * win32/link_oldruntime.c:
13692         * win32/mman.c:
13693         * win32/mman.h:
13694         * win32/mman.inl:
13695         * win32/msvc71.sln:
13696           move even more stuff, win32/ is nice and clean now
13697
13698 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13699
13700         * libs/gst/control/.cvsignore:
13701         * win32/MANIFEST:
13702         * win32/config.h:
13703         * win32/dirent.c:
13704         * win32/dirent.h:
13705         * win32/gstbytestream.def:
13706         * win32/gstbytestream.vcproj:
13707         * win32/gstconfig.h:
13708         * win32/gstenumtypes.c:
13709         * win32/gstenumtypes.h:
13710         * win32/gstoptimalscheduler.vcproj:
13711         * win32/gstversion.h:
13712         * win32/gtchar.h:
13713         * win32/testsuite/bins.vcproj:
13714         * win32/testsuite/bytestream.vcproj:
13715         * win32/testsuite/caps.vcproj:
13716         * win32/testsuite/cleanup.vcproj:
13717         * win32/testsuite/clock.vcproj:
13718         * win32/testsuite/debug.vcproj:
13719         * win32/testsuite/dlopen.vcproj:
13720         * win32/testsuite/dynparams.vcproj:
13721         * win32/testsuite/elements.vcproj:
13722         * win32/testsuite/ghostpads.vcproj:
13723         * win32/testsuite/indexers.vcproj:
13724         * win32/testsuite/negotiation.vcproj:
13725         * win32/testsuite/parse.vcproj:
13726         * win32/testsuite/plugin.vcproj:
13727         * win32/testsuite/refcounting.vcproj:
13728         * win32/testsuite/schedulers.vcproj:
13729         * win32/testsuite/states.vcproj:
13730         * win32/testsuite/tags.vcproj:
13731         * win32/testsuite/threads.vcproj:
13732           remove old win32 stuff that isn't maintained and should be
13733           reorganized
13734
13735 2005-11-30  Andy Wingo  <wingo@pobox.com>
13736
13737         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13738         loading the gst.interfaces python module bork.
13739
13740         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13741         available since GLib 2.2. Fixes #318031.
13742
13743 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13744
13745         * Makefile.am:
13746         * check/.cvsignore:
13747         * check/Makefile.am:
13748         * check/elements/.cvsignore:
13749         * check/elements/fakesrc.c:
13750         * check/elements/fdsrc.c:
13751         * check/elements/identity.c:
13752         * check/generic/.cvsignore:
13753         * check/generic/states.c:
13754         * check/gst-libs/.cvsignore:
13755         * check/gst-libs/controller.c:
13756         * check/gst-libs/gdp.c:
13757         * check/gst/.cvsignore:
13758         * check/gst/capslist.h:
13759         * check/gst/gst.c:
13760         * check/gst/gstbin.c:
13761         * check/gst/gstbuffer.c:
13762         * check/gst/gstbus.c:
13763         * check/gst/gstcaps.c:
13764         * check/gst/gstelement.c:
13765         * check/gst/gstevent.c:
13766         * check/gst/gstghostpad.c:
13767         * check/gst/gstiterator.c:
13768         * check/gst/gstmessage.c:
13769         * check/gst/gstminiobject.c:
13770         * check/gst/gstobject.c:
13771         * check/gst/gstpad.c:
13772         * check/gst/gstpipeline.c:
13773         * check/gst/gstplugin.c:
13774         * check/gst/gstsegment.c:
13775         * check/gst/gststructure.c:
13776         * check/gst/gstsystemclock.c:
13777         * check/gst/gsttag.c:
13778         * check/gst/gstutils.c:
13779         * check/gst/gstvalue.c:
13780         * check/net/.cvsignore:
13781         * check/net/gstnetclientclock.c:
13782         * check/net/gstnettimeprovider.c:
13783         * check/pipelines/.cvsignore:
13784         * check/pipelines/cleanup.c:
13785         * check/pipelines/simple_launch_lines.c:
13786         * check/pipelines/stress.c:
13787         * check/states/.cvsignore:
13788         * check/states/sinks.c:
13789         * configure.ac:
13790         * examples/Makefile.am:
13791         * examples/appreader/.cvsignore:
13792         * examples/appreader/Makefile.am:
13793         * examples/appreader/appreader.c:
13794         * examples/controller/.cvsignore:
13795         * examples/controller/Makefile.am:
13796         * examples/controller/audio-example.c:
13797         * examples/cutter/.cvsignore:
13798         * examples/cutter/Makefile.am:
13799         * examples/cutter/cutter.c:
13800         * examples/cutter/cutter.h:
13801         * examples/events/Makefile.am:
13802         * examples/events/seek.c:
13803         * examples/helloworld/.cvsignore:
13804         * examples/helloworld/Makefile.am:
13805         * examples/helloworld/helloworld.c:
13806         * examples/helloworld2/.cvsignore:
13807         * examples/helloworld2/Makefile.am:
13808         * examples/helloworld2/helloworld2.c:
13809         * examples/launch/.cvsignore:
13810         * examples/launch/Makefile.am:
13811         * examples/launch/mp3parselaunch.c:
13812         * examples/launch/mp3play:
13813         * examples/manual/.cvsignore:
13814         * examples/manual/Makefile.am:
13815         * examples/manual/extract.pl:
13816         * examples/metadata/Makefile.am:
13817         * examples/metadata/read-metadata.c:
13818         * examples/mixer/.cvsignore:
13819         * examples/mixer/Makefile.am:
13820         * examples/mixer/mixer.c:
13821         * examples/mixer/mixer.h:
13822         * examples/pingpong/.cvsignore:
13823         * examples/pingpong/Makefile.am:
13824         * examples/pingpong/pingpong.c:
13825         * examples/plugins/.cvsignore:
13826         * examples/plugins/Makefile.am:
13827         * examples/plugins/example.c:
13828         * examples/plugins/example.h:
13829         * examples/pwg/.cvsignore:
13830         * examples/pwg/Makefile.am:
13831         * examples/pwg/extract.pl:
13832         * examples/queue/.cvsignore:
13833         * examples/queue/Makefile.am:
13834         * examples/queue/queue.c:
13835         * examples/queue2/.cvsignore:
13836         * examples/queue2/Makefile.am:
13837         * examples/queue2/queue2.c:
13838         * examples/queue3/.cvsignore:
13839         * examples/queue3/Makefile.am:
13840         * examples/queue3/queue3.c:
13841         * examples/queue4/.cvsignore:
13842         * examples/queue4/Makefile.am:
13843         * examples/queue4/queue4.c:
13844         * examples/retag/.cvsignore:
13845         * examples/retag/Makefile.am:
13846         * examples/retag/retag.c:
13847         * examples/retag/transcode.c:
13848         * examples/thread/.cvsignore:
13849         * examples/thread/Makefile.am:
13850         * examples/thread/thread.c:
13851         * examples/typefind/.cvsignore:
13852         * examples/typefind/Makefile.am:
13853         * examples/typefind/typefind.c:
13854         * examples/xml/.cvsignore:
13855         * examples/xml/Makefile.am:
13856         * examples/xml/createxml.c:
13857         * examples/xml/runxml.c:
13858         * tests/Makefile.am:
13859         * tests/check/Makefile.am:
13860         * testsuite/.cvsignore:
13861         * testsuite/Makefile.am:
13862         * testsuite/Rules:
13863         * testsuite/caps/.cvsignore:
13864         * testsuite/caps/Makefile.am:
13865         * testsuite/caps/app_fixate.c:
13866         * testsuite/caps/audioscale.c:
13867         * testsuite/caps/caps.c:
13868         * testsuite/caps/caps.h:
13869         * testsuite/caps/caps_strings:
13870         * testsuite/caps/compatibility.c:
13871         * testsuite/caps/deserialize.c:
13872         * testsuite/caps/enumcaps.c:
13873         * testsuite/caps/eratosthenes.c:
13874         * testsuite/caps/filtercaps.c:
13875         * testsuite/caps/fixed.c:
13876         * testsuite/caps/fraction-convert.c:
13877         * testsuite/caps/fraction-multiply-and-zero.c:
13878         * testsuite/caps/intersect2.c:
13879         * testsuite/caps/intersection.c:
13880         * testsuite/caps/normalisation.c:
13881         * testsuite/caps/random.c:
13882         * testsuite/caps/renegotiate.c:
13883         * testsuite/caps/sets.c:
13884         * testsuite/caps/simplify.c:
13885         * testsuite/caps/string-conversions.c:
13886         * testsuite/caps/structure.c:
13887         * testsuite/caps/subtract.c:
13888         * testsuite/caps/union.c:
13889         * testsuite/debug/.cvsignore:
13890         * testsuite/debug/Makefile.am:
13891         * testsuite/debug/category.c:
13892         * testsuite/debug/commandline.c:
13893         * testsuite/debug/global.c:
13894         * testsuite/debug/output.c:
13895         * testsuite/debug/printf_extension.c:
13896         * testsuite/dlopen/.cvsignore:
13897         * testsuite/dlopen/Makefile.am:
13898         * testsuite/dlopen/dlopen_gst.c:
13899         * testsuite/dlopen/loadgst.c:
13900         * testsuite/elements/.cvsignore:
13901         * testsuite/elements/Makefile.am:
13902         * testsuite/elements/gst-inspect-check.in:
13903         * testsuite/elements/struct_i386.h:
13904         * testsuite/elements/struct_size.c:
13905         * testsuite/indexers/.cvsignore:
13906         * testsuite/indexers/Makefile.am:
13907         * testsuite/indexers/cache1.c:
13908         * testsuite/indexers/indexdump.c:
13909         * testsuite/parse/.cvsignore:
13910         * testsuite/parse/Makefile.am:
13911         * testsuite/parse/parse1.c:
13912         * testsuite/parse/parse2.c:
13913         * testsuite/plugin/.cvsignore:
13914         * testsuite/plugin/Makefile.am:
13915         * testsuite/plugin/README:
13916         * testsuite/plugin/dynamic.c:
13917         * testsuite/plugin/linked.c:
13918         * testsuite/plugin/loading.c:
13919         * testsuite/plugin/registry.c:
13920         * testsuite/plugin/static.c:
13921         * testsuite/plugin/static2.c:
13922         * testsuite/plugin/testplugin.c:
13923         * testsuite/plugin/testplugin2.c:
13924         * testsuite/plugin/testplugin2_s.c:
13925         * testsuite/plugin/testplugin_s.c:
13926         * testsuite/refcounting/.cvsignore:
13927         * testsuite/refcounting/Makefile.am:
13928         * testsuite/refcounting/bin.c:
13929         * testsuite/refcounting/element.c:
13930         * testsuite/refcounting/element_pad.c:
13931         * testsuite/refcounting/mainloop.c:
13932         * testsuite/refcounting/mem.c:
13933         * testsuite/refcounting/mem.h:
13934         * testsuite/refcounting/object.c:
13935         * testsuite/refcounting/pad.c:
13936         * testsuite/refcounting/sched.c:
13937         * testsuite/refcounting/thread.c:
13938         * testsuite/states/.cvsignore:
13939         * testsuite/states/Makefile.am:
13940         * testsuite/states/bin.c:
13941         * testsuite/states/locked.c:
13942         * testsuite/states/parent.c:
13943         * testsuite/threads/.cvsignore:
13944         * testsuite/threads/159566.c:
13945         * testsuite/threads/159852.c:
13946         * testsuite/threads/Makefile.am:
13947         * testsuite/threads/queue.c:
13948         * testsuite/threads/signals.c:
13949         * testsuite/threads/staticrec.c:
13950         * testsuite/threads/thread.c:
13951         * testsuite/threads/threadb.c:
13952         * testsuite/threads/threadc.c:
13953         * testsuite/threads/threadd.c:
13954         * testsuite/threads/threade.c:
13955         * testsuite/threads/threadf.c:
13956         * testsuite/threads/threadg.c:
13957         * testsuite/threads/threadh.c:
13958         * testsuite/threads/threadi.c:
13959           move all of these under tests
13960
13961 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13962
13963         * configure.ac:
13964         * tests/Makefile.am:
13965           fix distcheck
13966
13967 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13968
13969         * docs/gst/gstreamer-sections.txt:
13970         * tests/sched/.cvsignore:
13971         * tests/sched/Makefile.am:
13972         * tests/sched/cases/(fs-fs).xml:
13973         * tests/sched/cases/(fs-i-fs).xml:
13974         * tests/sched/cases/(fs-i-i-fs).xml:
13975         * tests/sched/cases/(fs-i-q[i-fs]).xml:
13976         * tests/sched/dynamic-pipeline.c:
13977         * tests/sched/interrupt1.c:
13978         * tests/sched/interrupt2.c:
13979         * tests/sched/interrupt3.c:
13980         * tests/sched/runtestcases:
13981         * tests/sched/runxml.c:
13982         * tests/sched/sched-stress.c:
13983         * tests/sched/sort.c:
13984         * tests/sched/testcases:
13985         * tests/sched/testcases1.tc:
13986         * tests/seeking/.cvsignore:
13987         * tests/seeking/Makefile.am:
13988         * tests/seeking/seeking1.c:
13989         * tests/threadstate/.cvsignore:
13990         * tests/threadstate/Makefile.am:
13991         * tests/threadstate/test1.c:
13992         * tests/threadstate/test2.c:
13993         * tests/threadstate/threadstate1.c:
13994         * tests/threadstate/threadstate2.c:
13995         * tests/threadstate/threadstate3.c:
13996         * tests/threadstate/threadstate4.c:
13997         * tests/threadstate/threadstate5.c:
13998           remove obsolete tests
13999         * configure.ac:
14000         * tests/bench-complexity.scm:
14001         * tests/bench-mass_elements.scm:
14002         * tests/complexity.c:
14003         * tests/complexity.gnuplot:
14004         * tests/instantiate/.cvsignore:
14005         * tests/instantiate/Makefile.am:
14006         * tests/instantiate/caps.c:
14007         * tests/mass_elements.c:
14008         * tests/network-clock-utils.scm:
14009         * tests/network-clock.scm:
14010         * tests/plot-data:
14011         First pass at cleaning up tests/ dir before moving the rest
14012         Combined with CVS surgery
14013
14014 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14015
14016         * po/POTFILES.in:
14017           queue has moved, update
14018
14019 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14020
14021         * docs/gst/gstreamer-sections.txt:
14022           remove double entries from the docs
14023         * gst/gst_private.h:
14024         * gst/gstinfo.c: (_gst_debug_init):
14025           remove the THREAD debug category
14026         * gst/Makefile.am:
14027         * gst/gstqueue.c:
14028         * gst/gstqueue.h:
14029         * docs/gst/gstreamer.types:
14030         * plugins/elements/gstqueue.c: (gst_queue_get_type),
14031         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
14032           completely move queue and fix up debugging categories
14033
14034 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14035
14036         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14037           make initialization portable, using LL is not
14038
14039 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14040
14041         * win32/common/gstconfig.h:
14042           add large padding
14043
14044 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14045
14046         * win32/common/libgstreamer.def:
14047           rename symbols; sort base section
14048
14049 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14050
14051         * gst/gstclock.c: (do_linear_regression):
14052           remove crack non-portable handrolled DEBUG macro
14053
14054 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14055
14056         * docs/random/release:
14057           update notes
14058         * win32/common/gstenumtypes.c: (register_gst_object_flags),
14059         (gst_object_flags_get_type), (register_gst_bin_flags),
14060         (gst_bin_flags_get_type), (register_gst_buffer_flag),
14061         (gst_buffer_flag_get_type), (register_gst_bus_flags),
14062         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14063         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
14064         (gst_caps_flags_get_type), (register_gst_clock_return),
14065         (gst_clock_return_get_type), (register_gst_clock_entry_type),
14066         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14067         (gst_clock_flags_get_type), (register_gst_state),
14068         (gst_state_get_type), (register_gst_state_change_return),
14069         (gst_state_change_return_get_type), (register_gst_state_change),
14070         (gst_state_change_get_type), (register_gst_element_flags),
14071         (gst_element_flags_get_type), (register_gst_core_error),
14072         (gst_core_error_get_type), (register_gst_library_error),
14073         (gst_library_error_get_type), (register_gst_resource_error),
14074         (gst_resource_error_get_type), (register_gst_stream_error),
14075         (gst_stream_error_get_type), (register_gst_event_type_flags),
14076         (gst_event_type_flags_get_type), (register_gst_event_type),
14077         (gst_event_type_get_type), (register_gst_seek_type),
14078         (gst_seek_type_get_type), (register_gst_seek_flags),
14079         (gst_seek_flags_get_type), (register_gst_format),
14080         (gst_format_get_type), (register_gst_index_certainty),
14081         (gst_index_certainty_get_type), (register_gst_index_entry_type),
14082         (gst_index_entry_type_get_type),
14083         (register_gst_index_lookup_method),
14084         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14085         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14086         (gst_index_resolver_method_get_type), (register_gst_index_flags),
14087         (gst_index_flags_get_type), (register_gst_debug_level),
14088         (gst_debug_level_get_type), (register_gst_debug_color_flags),
14089         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14090         (gst_iterator_result_get_type), (register_gst_iterator_item),
14091         (gst_iterator_item_get_type), (register_gst_message_type),
14092         (gst_message_type_get_type), (register_gst_mini_object_flags),
14093         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14094         (gst_pad_link_return_get_type), (register_gst_flow_return),
14095         (gst_flow_return_get_type), (register_gst_activate_mode),
14096         (gst_activate_mode_get_type), (register_gst_pad_direction),
14097         (gst_pad_direction_get_type), (register_gst_pad_flags),
14098         (gst_pad_flags_get_type), (register_gst_pad_presence),
14099         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14100         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14101         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14102         (gst_plugin_error_get_type), (register_gst_plugin_flags),
14103         (gst_plugin_flags_get_type), (register_gst_rank),
14104         (gst_rank_get_type), (register_gst_query_type),
14105         (gst_query_type_get_type), (register_gst_tag_merge_mode),
14106         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14107         (gst_tag_flag_get_type), (register_gst_task_state),
14108         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14109         (gst_alloc_trace_flags_get_type),
14110         (register_gst_type_find_probability),
14111         (gst_type_find_probability_get_type), (register_gst_uri_type),
14112         (gst_uri_type_get_type), (register_gst_parse_error),
14113         (gst_parse_error_get_type):
14114         * win32/common/gstenumtypes.h:
14115         * win32/common/gstversion.h:
14116           update visual studio generated files
14117
14118 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14119
14120         * win32/vs6/libgstbase.dsp:
14121         * win32/vs6/libgstelements.dsp:
14122           update project files for new locations
14123
14124 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14125
14126         * Makefile.am:
14127           remove some files
14128         * README:
14129           reinstate and update
14130         * DEVEL:
14131         * REQUIREMENTS:
14132           removed
14133         * LICENSE:
14134         * docs/random/LICENSE:
14135           moved to random
14136
14137 2005-11-30  Edward Hervey  <edward@fluendo.com>
14138
14139         * gst/gsttypefind.c: (gst_type_find_register):
14140         * gst/gsttypefind.h:
14141         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14142         (gst_type_find_factory_dispose):
14143         * gst/gsttypefindfactory.h:
14144         Fix memory leak in GstTypeFindFactory.
14145
14146 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14147
14148         * gst/gst.c:
14149         * plugins/elements/Makefile.am:
14150         * plugins/elements/gstelements.c:
14151         * plugins/elements/gstqueue.c:
14152           move queue from core to the elements plugin
14153
14154 2005-11-29  Andy Wingo  <wingo@pobox.com>
14155
14156         * libs/gst/base/gstbasetransform.h: 
14157         * libs/gst/base/gstbasesrc.h: 
14158         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14159
14160         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14161         of pointers by which to pad very extensible base classes (like the
14162         ones in libs/gst/base).
14163
14164 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14165
14166         * docs/gst/gstreamer-docs.sgml:
14167         * docs/gst/gstreamer-sections.txt:
14168         * docs/libs/gstreamer-libs-docs.sgml:
14169         * docs/libs/gstreamer-libs-sections.txt:
14170           moving documentation from core to lib
14171
14172 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14173
14174         * check/Makefile.am:
14175         * configure.ac:
14176         * docs/gst/Makefile.am:
14177         * gst/Makefile.am:
14178         * gst/base/.cvsignore:
14179         * gst/base/Makefile.am:
14180         * gst/base/README:
14181         * gst/base/gstadapter.c:
14182         * gst/base/gstadapter.h:
14183         * gst/base/gstbasesink.c:
14184         * gst/base/gstbasesink.h:
14185         * gst/base/gstbasesrc.c:
14186         * gst/base/gstbasesrc.h:
14187         * gst/base/gstbasetransform.c:
14188         * gst/base/gstbasetransform.h:
14189         * gst/base/gstcollectpads.c:
14190         * gst/base/gstcollectpads.h:
14191         * gst/base/gstpushsrc.c:
14192         * gst/base/gstpushsrc.h:
14193         * gst/base/gsttypefindhelper.c:
14194         * gst/base/gsttypefindhelper.h:
14195         * gst/check/Makefile.am:
14196         * gst/check/gstcheck.c:
14197         * gst/check/gstcheck.h:
14198         * gst/net/Makefile.am:
14199         * gst/net/gstnet.h:
14200         * gst/net/gstnetclientclock.c:
14201         * gst/net/gstnetclientclock.h:
14202         * gst/net/gstnettimepacket.c:
14203         * gst/net/gstnettimepacket.h:
14204         * gst/net/gstnettimeprovider.c:
14205         * gst/net/gstnettimeprovider.h:
14206         * libs/gst/Makefile.am:
14207         * libs/gst/base/Makefile.am:
14208         * libs/gst/base/gstbasetransform.c:
14209         * libs/gst/check/Makefile.am:
14210         * plugins/elements/Makefile.am:
14211         * po/POTFILES.in:
14212           CVS surgery + support to move base, check, and net out of gst
14213           and into libs/gst
14214
14215 2005-11-29  Andy Wingo  <wingo@pobox.com>
14216
14217         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14218
14219         * gst/gststructure.h (struct _GstStructure): Only one pointer of
14220         padding.
14221
14222         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14223
14224         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14225
14226         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14227
14228         * gst/gstobject.h: (struct _GstObject): Only one pointer of
14229         padding; reduces object size by about 30%. We don't expect
14230         anything else to go into gstobject.
14231
14232         * gst/gstminiobject.h (struct _GstMiniObject)
14233         (struct _GstMiniObjectClass): Only one pointer of padding; the
14234         payload is only a pointer and two ints anyway. For the class there
14235         are only two methods as well.
14236         
14237         * gst/gstelement.h (struct _GstElementClass): Removed
14238         the state_changed signal callback, it is not used.
14239
14240 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14241
14242         * docs/gst/gstreamer.types:
14243           fix includes, though they are a little dinky
14244
14245 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14246
14247         * check/Makefile.am:
14248           look in the right place for elements, a lot more chance of
14249           success
14250         * gst/Makefile.am:
14251           remove indexers and elements subdirs
14252         * plugins/Makefile.am:
14253           make indexers conditional
14254
14255 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14256
14257         * Makefile.am:
14258         * configure.ac:
14259         * plugins/elements/Makefile.am:
14260         * plugins/elements/gstcapsfilter.c:
14261         * plugins/elements/gstfilesink.c:
14262         * plugins/elements/gstfilesrc.c:
14263         * plugins/elements/gstidentity.c:
14264         * plugins/indexers/Makefile.am:
14265           do CVS surgery and related build fixery to move elements
14266           and indexers in a new gstreamer/plugins directory, out of the
14267           gst/ directory
14268
14269 2005-11-29  Andy Wingo  <wingo@pobox.com>
14270
14271         * check/Makefile.am:
14272         * pkgconfig/gstreamer-net-uninstalled.pc.in:
14273         * pkgconfig/gstreamer-net.pc.in:
14274         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14275         #322257.
14276
14277 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14278
14279         * tools/Makefile.am:
14280         * tools/gst-complete.1.in:
14281         * tools/gst-complete.c:
14282         * tools/gst-compprep.1.in:
14283         * tools/gst-compprep.c:
14284           removing -compprep and -complete
14285
14286 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14287
14288         * gst/gstevent.c: (gst_event_new_new_segment),
14289         (gst_event_parse_new_segment):
14290         * gst/gstevent.h:
14291           fix #320529 - clean up new_segment API and structure.
14292           Let's hope everyone was using the methods, and not the structure.
14293
14294 2005-11-29  Edward Hervey  <edward@fluendo.com>
14295
14296         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14297         (gst_base_sink_event), (gst_base_sink_do_sync),
14298         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14299         Properly handle non GST_FORMAT_TIME segment
14300         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14301         Properly handle non GST_FORMAT_TIME segment
14302         * gst/gstsegment.c:
14303         This function is valid if the accumulator is 0 and the format
14304         is different from the requested format.
14305         
14306 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14307
14308         * docs/gst/gstreamer-sections.txt:
14309         Add gst_query_new_seeking and gst_query_parse_seeking to the
14310         docs.
14311
14312 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14313
14314         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14315           Treat a pad alloc with new caps the same as if we were not
14316           negotiated, in order to allow a changing upstream output
14317           to produce a new format of data.
14318
14319 2005-11-29  Edward Hervey  <edward@fluendo.com>
14320
14321         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14322         (gst_base_transform_event), (gst_base_transform_eventfunc):
14323         The event virtual method is now properly implemented, with a default
14324         handler
14325         Sub classes should call the parent_class event method. They should
14326         return FALSE if they had a problem handling the given event, or don't
14327         want GstBaseTransform to send that even downstream
14328         * gst/elements/gstidentity.c: (gst_identity_class_init),
14329         (gst_identity_init), (gst_identity_event),
14330         (gst_identity_transform_ip), (gst_identity_set_property),
14331         (gst_identity_get_property):
14332         * gst/elements/gstidentity.h:
14333         Added the single-segment boolean property.
14334         If set to TRUE, it will output a single segment of data, starting from
14335         0, will eat up all incoming newsegment, and modify the timestamp of the
14336         buffers accordingly
14337
14338 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
14339
14340         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14341           Don't ref NULL target pad (#322751). Improve docs.
14342
14343 2005-11-29  Michael Smith  <msmith@fluendo.com>
14344
14345         * gst/gstregistryxml.c: (load_plugin):
14346           Don't crash if we failed to load a feature from a plugin. 
14347
14348 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14349
14350         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14351         (GST_START_TEST):
14352           use more check API and less GLib API
14353
14354 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14355
14356         * Makefile.am:
14357           don't run checks if we don't have check
14358         * common/check.mak:
14359           remove the registry when running make torture
14360         * docs/gst/gstreamer-sections.txt:
14361           remove second multiply
14362         * gst/gstqueue.c: (gst_queue_loop):
14363           fix a compile warning when disabling debug
14364
14365 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14366
14367         * gst/gstinfo.h:
14368         Hey! Let's print the pad name if the pointer != NULL instead
14369         of when it == NULL :-)
14370
14371 2005-11-28  Wim Taymans  <wim@fluendo.com>
14372
14373         * check/gst/gstutils.c: (GST_START_TEST):
14374         Updated check, add some scaling accuracy checking code.
14375
14376         * gst/gstutils.c: (gst_util_div128_64),
14377         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14378         (gst_util_uint64_scale_int):
14379         Fix 6 times faster division code. Optimize for common 
14380         1/1 and less common X/1 cases.
14381
14382 2005-11-28  Wim Taymans  <wim@fluendo.com>
14383
14384         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14385         More checks.
14386
14387         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14388         (do_linear_regression), (gst_clock_add_observation):
14389         Cleanups.
14390         Release lock when the clock cannot be slaved.
14391         Catch the case where the regression returned an invalid denominator.
14392
14393         * gst/gstutils.c: (gst_util_div128_64_iterate),
14394         (gst_util_div128_64), (gst_util_uint64_scale_int64),
14395         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14396         Add protentially more performant non-iterative 128/64 divide function
14397         that unfortunatly does not work yet.
14398         Shortcut the trivial 0/X = 0 case.
14399         Remove the warnings on overflow.
14400
14401 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14402
14403         * gst/gstplugin.c: (gst_plugin_register_func):
14404           everything causing a plugin not to load should be at least a WARNING
14405
14406 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
14407
14408         * docs/random/ensonic/dparams.txt:
14409           some TODOs for the next dev cycle
14410         * libs/gst/controller/gstcontroller.c:
14411         (gst_controlled_property_set_interpolation_mode),
14412         (gst_controlled_property_new):
14413         * libs/gst/controller/gstcontroller.h:
14414           use base type to assign acccessor functions
14415
14416 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14417
14418         * check/Makefile.am:
14419         Oops, that should have been top_srcdir
14420
14421 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14422
14423         * check/Makefile.am:
14424         * check/elements/fdsrc.c: (GST_START_TEST):
14425         Use a cmdline define to specify the location of a file to use for
14426         testing, to avoid breaking distcheck.
14427
14428 2005-11-28  Andy Wingo  <wingo@pobox.com>
14429
14430         * gst/gstpad.c (fixate_value): Use array functions for arrays.
14431
14432 2005-11-28  Edward Hervey  <edward@fluendo.com>
14433
14434         * tools/gst-launch.c: (main):
14435         Clarify the output strings, makes it easier to translate.
14436         Fixes #322626
14437
14438 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14439
14440         * gst/Makefile.am:
14441           don't try and build net if we don't even have <sys/socket.h>
14442
14443 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
14444
14445         * check/Makefile.am:
14446         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14447         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14448           Add tests for fdsrc seekability
14449
14450         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14451         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14452         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14453         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14454         * gst/elements/gstfdsrc.h:
14455           fdsrc should not be a 'live' source.
14456           Implement seeking on seekable fd's.
14457
14458         * gst/gstquery.c: (gst_query_new_seeking),
14459         (gst_query_parse_seeking):
14460         * gst/gstquery.h:
14461           Implement SEEKING query functions: 
14462             *_new_seeking and *_parse_seeking
14463
14464 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14465
14466         * gst/gstelement.c: (gst_element_dispose):
14467           don't loop forever
14468
14469         * gst/gstiterator.c:
14470         * gst/gststructure.c:
14471           doc fixes
14472
14473         * libs/gst/controller/gstcontroller.c:
14474         (gst_controlled_property_set_interpolation_mode):
14475         * libs/gst/controller/gstcontroller.h:
14476         * libs/gst/controller/gstinterpolation.c:
14477         (interpolate_none_get_enum_value_array):
14478           support controlling enums
14479
14480 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14481
14482         * gst/gstvalue.c:
14483           Improve documentation for gst_value_union().
14484
14485         * gst/gstvalue.h:
14486           Change return value for union, intersect and subtract functions
14487           from gint to gboolean.
14488
14489 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14490
14491         * gst/gstvalue.c: (gst_value_serialize_any_list),
14492         (gst_value_transform_any_list_string),
14493         (gst_value_deserialize_list), (gst_value_deserialize_array),
14494         (gst_value_set_int_range), (gst_value_deserialize_int_range),
14495         (gst_value_set_double_range), (gst_value_deserialize_double_range),
14496         (gst_value_set_fraction_range_full),
14497         (gst_value_deserialize_fraction_range),
14498         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14499         (gst_value_deserialize_boolean),
14500         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14501         (gst_value_serialize_float), (gst_value_deserialize_float),
14502         (gst_string_wrap), (gst_value_deserialize_string),
14503         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14504         (gst_value_union_int_range_int_range),
14505         (gst_value_intersect_int_range_int_range),
14506         (gst_value_intersect_double_range_double_range),
14507         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14508         (gst_value_subtract_int_range_int_range),
14509         (gst_value_subtract_double_double_range),
14510         (gst_value_subtract_double_range_double_range),
14511         (gst_value_deserialize_fraction):
14512         * gst/gstvalue.h:
14513           Use gint, gdouble and gchar in our API instead of int, double and
14514           char (and make usage in gstvalue.c more consistent).
14515
14516 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14517
14518         * check/Makefile.am:
14519         * libs/gst/controller/Makefile.am:
14520         * libs/gst/dataprotocol/Makefile.am:
14521           fix up Makefile.am and remove GST_ENABLE_NEW
14522
14523 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14524
14525         * configure.ac:
14526         * gst/Makefile.am:
14527         * gst/base/Makefile.am:
14528         * gst/check/Makefile.am:
14529         * gst/elements/Makefile.am:
14530         * gst/net/Makefile.am:
14531           update LDFLAGS use some more
14532
14533 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14534
14535         * common/m4/gst-doc.m4:
14536           Fixes #312589
14537
14538 2005-11-26  Edward Hervey  <edward@fluendo.com>
14539
14540         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14541         This shouldn't issue a g_warning since it returns NULL if it
14542         couldn't find the plugin, and all functions using this behave
14543         properly on a NULL return. Switching to a GST_WARNING.
14544
14545 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
14546
14547         * gst/gstbin.c: (gst_bin_handle_message_func):
14548         Don't leak clock messages.
14549
14550 2005-11-25  Wim Taymans  <wim@fluendo.com>
14551
14552         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14553         (gst_util_uint64_scale_int):
14554         Optimisations, remove unneeded vars.
14555
14556 2005-11-25  Wim Taymans  <wim@fluendo.com>
14557
14558         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14559         Added more checks for the high precision uint64 cases.
14560
14561         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14562         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14563         Implement high precision (guint64 * guint64) / guint64.
14564
14565 2005-11-24  Wim Taymans  <wim@fluendo.com>
14566
14567         * gst/base/gstbasesrc.c: (gst_base_src_query):
14568         Fix wrong percentage query.
14569
14570         * gst/gstutils.c: (gst_util_uint64_scale),
14571         (gst_util_uint64_scale_int):
14572         Add some more common cases that can be handled 
14573         efficiently to _scale.
14574
14575 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14576
14577         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14578         (gst_mini_object_suite):
14579           don't use check calls from threads; check probably isn't
14580           threadsafe and using a lock to make it threadsafe would
14581           defeat the purpose of this check
14582         * gst/check/gstcheck.c:
14583         * gst/check/gstcheck.h:
14584           use GST_DEBUG some more
14585
14586 2005-11-24  Wim Taymans  <wim@fluendo.com>
14587
14588         * gst/gstutils.c: (gst_util_uint64_scale),
14589         (gst_util_uint64_scale_int):
14590         Chain trivial case to _scale_int.
14591
14592 2005-11-24  Wim Taymans  <wim@fluendo.com>
14593
14594         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14595         Added test for scaling.
14596
14597         * gst/gstclock.h:
14598         Small doc fix.
14599
14600         * gst/gstutils.c: (gst_util_uint64_scale_int):
14601         Implemented high precision scaling code.
14602
14603 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
14604
14605         * gst/gstinfo.h:
14606           do not crash on pad==NULL
14607
14608 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14609
14610         Patch by: Stefan Kost
14611
14612         * common/gtk-doc.mak:
14613         * docs/gst/Makefile.am:
14614         * docs/libs/Makefile.am:
14615           Fix distcheck issues for the libraries docs build
14616           Closes #319599.
14617
14618 2005-11-24  Michael Smith <msmith@fluendo.com>
14619
14620         * docs/manual/basics-helloworld.xml:
14621           Fix bug #315027: memory leak in example code in docs.
14622
14623 2005-11-24  Michael Smith <msmith@fluendo.com>
14624
14625         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14626           Unlock the PREROLL_LOCK in a failure case.
14627
14628 2005-11-24  Wim Taymans  <wim@fluendo.com>
14629
14630         * docs/gst/gstreamer-sections.txt:
14631         * gst/base/gstadapter.h:
14632         * gst/base/gstbasesink.h:
14633         * gst/base/gstbasesrc.h:
14634         * gst/base/gstbasetransform.h:
14635         * gst/base/gstpushsrc.h:
14636         * gst/elements/gstfakesink.h:
14637         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14638         * gst/elements/gstfakesrc.h:
14639         * gst/elements/gstfilesink.h:
14640         * gst/elements/gstfilesrc.h:
14641         * gst/gst.c:
14642         * gst/gstbin.c:
14643         * gst/gstbuffer.c: (_gst_buffer_copy):
14644         * gst/gstbus.h:
14645         * gst/gstcaps.c:
14646         * gst/gstchildproxy.c:
14647         * gst/gstclock.c:
14648         * gst/gstelement.c:
14649         * gst/gstelementfactory.c:
14650         * gst/gstelementfactory.h:
14651         * gst/gstevent.c:
14652         * gst/gstghostpad.h:
14653         * gst/gstindex.h:
14654         * gst/gstinterface.h:
14655         * gst/gstminiobject.c:
14656         * gst/gstminiobject.h:
14657         * gst/gstpad.c:
14658         * gst/gstpad.h:
14659         * gst/gstpadtemplate.h:
14660         * gst/gstpipeline.h:
14661         * gst/gstpluginfeature.h:
14662         * gst/gstquery.h:
14663         * gst/gstqueue.h:
14664         * gst/gsttaglist.c:
14665         * gst/gsttaglist.h:
14666         * gst/gsttagsetter.c:
14667         * gst/gsttagsetter.h:
14668         * gst/gsttrace.c:
14669         * gst/gsttrace.h:
14670         * gst/gsttypefind.h:
14671         * gst/gsturi.h:
14672         * gst/gstvalue.c:
14673         * gst/net/gstnetclientclock.c:
14674         * gst/net/gstnetclientclock.h:
14675         * gst/net/gstnettimepacket.c:
14676         * gst/net/gstnettimeprovider.c:
14677         * gst/net/gstnettimeprovider.h:
14678         Doc fixes.
14679
14680 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14681
14682         * configure.ac: back to HEAD
14683
14684 === release 0.9.6 ===
14685
14686 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
14687
14688         * configure.ac:
14689           releasing 0.9.6, "Always On Time"
14690
14691 2005-11-23  Wim Taymans  <wim@fluendo.com>
14692
14693         * docs/gst/gstreamer-sections.txt:
14694         * gst/glib-compat.c:
14695         * gst/gsttagsetter.c:
14696         * gst/gstvalue.c:
14697         * gst/net/gstnetclientclock.c:
14698         * gst/net/gstnettimepacket.h:
14699         Doc updates.
14700
14701 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14702
14703         * docs/faq/using.xml:
14704         * docs/libs/tmpl/gstcontrol.sgml:
14705         * docs/manual/advanced-dparams.xml:
14706         * docs/manual/appendix-checklist.xml:
14707         * docs/manual/basics-elements.xml:
14708         * docs/pwg/other-source.xml:
14709         * docs/random/moving-plugins:
14710         * gst/gstpad.c:
14711         * tools/gst-launch.1.in:
14712           remove mentions of sinesrc
14713
14714 2005-11-23  Michael Smith <msmith@fluendo.com>
14715
14716         * docs/gst/gstreamer-sections.txt:
14717           Update for new API and API changes.
14718         * gst/gstobject.h:
14719           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14720         * gst/gstvalue.c:
14721           Documentation typo fix.
14722         * gst/net/gstnettimepacket.c:
14723           Documentation fixes for arguments.
14724
14725 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
14726
14727         * gst/gststructure.c: (gst_structure_get_fraction),
14728         (gst_structure_parse_value),
14729         (gst_structure_fixate_field_nearest_fraction):
14730         * gst/gststructure.h:
14731         * gst/gstutils.c: (gst_util_uint64_scale_int):
14732         * gst/gstutils.h:
14733         * scripts/update-funcnames:
14734         API Changes. 
14735         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14736         Make gst_structure_fixate_field_nearest_fraction take a numerator
14737         and denominator argument instead of a GValue
14738         add gst_structure_get_fraction helper function.
14739
14740 2005-11-23  Wim Taymans  <wim@fluendo.com>
14741
14742         * docs/design/part-TODO.txt:
14743         Update TODO.
14744
14745         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14746         * gst/net/gstnetclientclock.h:
14747         Use parent fields for timeout and window_size.
14748
14749 2005-11-23  Andy Wingo  <wingo@pobox.com>
14750
14751         * check/net/gstnetclientclock.c (test_functioning): Adjust to
14752         rate_num/rate_denom change.
14753
14754         * gst/net/gstnetclientclock.c
14755         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14756         OBJECT_LOCK. Don't call add_observation with the lock.
14757
14758         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14759         fraction.
14760         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14761         rate fraction.
14762         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14763         deal with rate as a fraction whose numerator and denominator are
14764         GstClockTime values.
14765         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14766         master; the other fields are protected by the SLAVE_LOCK.
14767         (do_linear_regression): Note that this must be called with the
14768         SLAVE_LOCK.
14769         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14770         OBJECT_LOCK. Call set_calibration instead of touching the
14771         variables directly.
14772         (gst_clock_set_property, gst_clock_get_property): Protect
14773         master/slave parameters with the SLAVE_LOCK.
14774
14775         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14776         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14777         note that all of the instance variables that add_observation and
14778         the set_master functions use are protected by that lock and not
14779         the OBJECT_LOCK.
14780         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14781
14782         * gst/gstclock.c (gst_clock_add_observation): No longer requires
14783         the caller to take the object lock.
14784
14785 2005-11-23  Wim Taymans  <wim@fluendo.com>
14786
14787         * gst/gsterror.c: (_gst_core_errors_init):
14788         * gst/gsterror.h:
14789         Add error for clock stuff.
14790
14791         * gst/gstpipeline.c: (gst_pipeline_change_state),
14792         (gst_pipeline_set_clock):
14793         Post clock error when clock cannot be used in a pipeline.
14794
14795 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
14796
14797         * docs/gst/gstreamer-sections.txt:
14798           make two symbols from gstinfo private for the docs
14799         * gst/base/gstcollectpads.h:
14800         * gst/gstutils.c:
14801           fix doc typos, update docs
14802
14803 2005-11-22  Wim Taymans  <wim@fluendo.com>
14804
14805         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14806         (gst_base_sink_wait), (gst_base_sink_do_sync),
14807         (gst_base_sink_handle_event):
14808         * gst/base/gstbasesink.h:
14809         No need to store the clock, the parent element class already
14810         has it.
14811
14812         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14813         Updates for clock_set returning a gboolean
14814
14815         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14816         (gst_clock_id_wait_async), (gst_clock_class_init),
14817         (gst_clock_init), (gst_clock_finalize),
14818         (gst_clock_get_internal_time), (gst_clock_get_time),
14819         (gst_clock_slave_callback), (gst_clock_set_master),
14820         (gst_clock_get_master), (do_linear_regression),
14821         (gst_clock_add_observation), (gst_clock_set_property),
14822         (gst_clock_get_property):
14823         * gst/gstclock.h:
14824         Implement master/slave. When setting a clock as a slave, a
14825         periodic timeout is scheduled to sample master and slave times.
14826         Then the slave clock is recalibrated to match offset and rate
14827         of the master clock.
14828         Update logging a bit.
14829         Add flag so that a clock can state that is cannot be slaved to
14830         another clock.
14831
14832         * gst/gstelement.c: (gst_element_set_clock):
14833         * gst/gstelement.h:
14834         The set clock returns a gboolean for when an element cannot
14835         deal with the selected clock in the pipeline. 
14836
14837         * gst/gstpipeline.c: (gst_pipeline_change_state),
14838         (gst_pipeline_set_clock):
14839         * gst/gstpipeline.h:
14840         Handle the case where the selected clock cannot be set on
14841         the pipeline.
14842
14843         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14844         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14845         (gst_net_client_clock_set_property),
14846         (gst_net_client_clock_get_property),
14847         (gst_net_client_clock_observe_times):
14848         * gst/net/gstnetclientclock.h:
14849         Use regression code in GstClock parent, remove duplicated
14850         functionality.
14851
14852 2005-11-22  Michael Smith <msmith@fluendo.com>
14853
14854         * gst/gstutils.c: (gst_util_clock_time_scale):
14855         * gst/gstutils.h:
14856         * docs/gst/gstreamer-sections.txt:
14857           Rename method to have extra underscore.
14858
14859 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14860
14861         * gst/elements/Makefile.am:
14862         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14863         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14864         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14865         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14866         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14867         * gst/elements/gstfakesrc.h:
14868         * gst/gstqueue.c: (queue_leaky_get_type):
14869           correctly fix GEnumValues so that nick is the short lowercase
14870           dashed tag
14871         * tools/gst-inspect.c: (print_element_properties_info):
14872           also show the nick, since it's useful to use from parse_launch
14873           syntax
14874           Fixes #322139
14875
14876 2005-11-22  Michael Smith <msmith@fluendo.com>
14877
14878         * gst/gstutils.c: (gst_util_clocktime_scale):
14879         * gst/gstutils.h:
14880         * docs/gst/gstreamer-sections.txt:
14881           Add util method for scaling a clocktime by a fraction. Useful 
14882           implementation is left as an exercise for the reader.
14883
14884 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14885
14886         * gst/gstvalue.c: (gst_value_collect_fraction_range):
14887         If needed, allocate storage in the destination value during
14888         collection.
14889
14890 2005-11-22  Edward Hervey  <edward@fluendo.com>
14891
14892         * docs/gst/gstreamer-sections.txt:
14893         * gst/Makefile.am:
14894         * gst/gst.h:
14895         * gst/gsturitype.c:
14896         * gst/gsturitype.h:
14897         * gst/gstutils.c: (gst_util_set_object_arg):
14898         * tools/gst-compprep.c: (main):
14899         * tools/gst-inspect.c: (print_element_properties_info):
14900         Removed GstURI, closes bug #321061
14901
14902 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14903
14904         * check/gst/gststructure.c: (GST_START_TEST):
14905         * gst/gststructure.c: (gst_structure_parse_value):
14906           Oops, broke automatic string type parsing.
14907           Add a test to catch it in future.
14908
14909 2005-11-22  Andy Wingo  <wingo@pobox.com>
14910
14911         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
14912         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14913         Actually rename the function implementations. Grr.
14914
14915 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14916
14917         * check/gst/capslist.h:
14918           Comment test cases
14919         * check/gst/gststructure.c: (GST_START_TEST),
14920         (gst_structure_suite):
14921           Test automatic value type detection in gst_structure_from_string.
14922         * gst/gststructure.c: (gst_structure_parse_value):
14923           Add fraction as a type we try and guess automatically in
14924           caps/structure strings.
14925
14926 2005-11-22  Andy Wingo  <wingo@pobox.com>
14927
14928         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14929
14930         * gst/gsttagsetter.h:
14931         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14932         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14933         (gst_tag_setter_add_tag_valist)
14934         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14935         _add_values, _add_valist, and _add_valist_values. Since this is an
14936         interface the function suffixes should be more explicit so
14937         language binding don't end up with element.add_valist ->
14938         gst_tag_setter_add_valist, for example. Fixes #322069.
14939
14940 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14941
14942         * check/gst/gstcaps.c: (GST_START_TEST):
14943           Extend caps string tests to check that a caps to string
14944           conversion is reversible and produces the same caps.
14945
14946         * gst/gststructure.c: (gst_structure_value_get_generic_type):
14947           Output "fraction" as the generic type fraction range, so caps
14948           serialisation and deserialisation works.
14949         * check/gst/capslist.h:
14950         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14951           Support 'MIN' and 'MAX' for deserialising fractions.
14952
14953 2005-11-22  Andy Wingo  <wingo@pobox.com>
14954
14955         * gst/gstevent.h (gst_event_new_new_segment)
14956         (gst_event_parse_new_segment, gst_event_new_buffer_size)
14957         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14958         Renamed from *_newsegment, *_buffersize, *_notarget.
14959
14960         * scripts/update-funcnames: New script, performs the changes
14961         listed above.
14962
14963 2005-11-22  Wim Taymans  <wim@fluendo.com>
14964
14965         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14966         Make sure the GstFlowReturn is returned.
14967
14968         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14969         (gst_bus_add_signal_watch):
14970         * gst/gstbus.h:
14971         add gst_bus_add_signal_watch_full.
14972
14973         * gst/gstplugin.c: (gst_plugin_load_file):
14974         Small style cleanup.
14975
14976 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14977
14978         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14979           Block the fakesrc srcpad when we send an event, to avoid
14980           contention on the stream_lock causing random test failures.
14981
14982 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14983
14984         * check/gst/gstvalue.c: (GST_START_TEST):
14985         * gst/gstvalue.c: (gst_value_fraction_subtract):
14986           Fix subtraction.
14987
14988 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
14989
14990         * gst/gst.h:
14991           include "gstchildproxy.h"
14992         * gst/gstchildproxy.h:
14993         * libs/gst/controller/gstcontroller.h:
14994           use G_GNUC_NULL_TERMINATED
14995
14996 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14997
14998         * check/gst/capslist.h:
14999         * check/gst/gstcaps.c: (GST_START_TEST):
15000         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15001         * gst/gststructure.c: (gst_structure_parse_range),
15002         (gst_structure_fixate_field_nearest_fraction):
15003         * gst/gststructure.h:
15004         * gst/gstvalue.c: (gst_value_init_fraction_range),
15005         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
15006         (gst_value_collect_fraction_range),
15007         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
15008         (gst_value_set_fraction_range_full),
15009         (gst_value_get_fraction_range_min),
15010         (gst_value_get_fraction_range_max),
15011         (gst_value_serialize_fraction_range),
15012         (gst_value_transform_fraction_range_string),
15013         (gst_value_compare_fraction_range),
15014         (gst_value_deserialize_fraction_range),
15015         (gst_value_intersect_fraction_fraction_range),
15016         (gst_value_intersect_fraction_range_fraction_range),
15017         (gst_value_subtract_fraction_fraction_range),
15018         (gst_value_subtract_fraction_range_fraction),
15019         (gst_value_subtract_fraction_range_fraction_range),
15020         (gst_value_collect_fraction), (gst_value_fraction_multiply),
15021         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
15022         (gst_value_transform_string_fraction), (_gst_value_initialize):
15023         * gst/gstvalue.h:
15024           Implement fraction ranges and extend GstFraction to support
15025           arithmetic subtraction, as well as deserialization from integer
15026           strings such as "100"
15027           Add a testsuite as for int and double range set operations
15028
15029 2005-11-21  Andy Wingo  <wingo@pobox.com>
15030
15031         * gst/gsttaglist.h: 
15032         * gst/gstcaps.h: 
15033         * gst/gststructure.h: Add glib-compat.h.
15034
15035 2005-11-21  Wim Taymans  <wim@fluendo.com>
15036
15037         * gst/gstbin.c: (gst_bin_change_state_func):
15038         Fix for #321595
15039
15040 2005-11-21  Wim Taymans  <wim@fluendo.com>
15041
15042         * gst/gstsegment.h:
15043         And add a nice define too.
15044
15045 2005-11-21  Wim Taymans  <wim@fluendo.com>
15046
15047         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
15048         (gst_segment_new), (gst_segment_free), (gst_segment_init),
15049         (gst_segment_set_duration), (gst_segment_set_last_stop),
15050         (gst_segment_set_seek), (gst_segment_set_newsegment),
15051         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15052         (gst_segment_clip):
15053         * gst/gstsegment.h:
15054         Make binding friendly.
15055
15056 2005-11-21  Andy Wingo  <wingo@pobox.com>
15057
15058         * gst/gsttagsetter.h: 
15059         * gst/gsttaglist.h: 
15060         * gst/gststructure.h: 
15061         * gst/gstcaps.h: 
15062         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
15063         #319940.
15064
15065         * gst/gsterror.c (_gst_core_errors_init):
15066         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
15067         category.
15068
15069         * gst/Makefile.am (gst_headers): Add glib-compat.h.
15070         (noinst_HEADERS): noinst the -private.
15071
15072 2005-11-21  Michael Smith <msmith@fluendo.com>
15073
15074         * gst/gstplugin.h:
15075         * gst/gstregistry.h:
15076           Remove unimplemented declarations for which we can see no sensible
15077           use.
15078
15079 2005-11-21  Andy Wingo  <wingo@pobox.com>
15080
15081         * gst/gst.h: Include glib-compat.h.
15082
15083         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15084
15085         * gst/glib-compat.c: Include the public and the private header.
15086
15087         * gst/glib-compat-private.h: Copied here from glib-compat.h.
15088
15089         * gst/gstvalue.c: 
15090         * gst/gstpad.c: 
15091         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15092
15093         * check/gst/gstevent.c (create_custom_events): Check that
15094         FLUSH_STOP is serialized.
15095
15096         * check/elements/identity.c (event_func): 
15097         * check/elements/fakesrc.c (event_func): No stream lock, the core
15098         takes it.
15099
15100         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15101         stream lock taking, yay.
15102
15103         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15104         ensure that core takes the stream lock.
15105
15106         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15107         lock name change.
15108
15109         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15110         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15111         it already. For the flush start we do take it though so we get the
15112         right preroll state change messages.
15113
15114         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15115         the stream lock here, the core does it for us.
15116
15117         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15118         GST_STREAM_GET_LOCK.
15119         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
15120         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
15121         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15122         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15123         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
15124         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15125
15126         * gst/gstpad.c: Update for stream lock name change.
15127
15128         * gst/base/gstbasesink.c: Update for preroll lock name change.
15129
15130 2005-11-21  Wim Taymans  <wim@fluendo.com>
15131
15132         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15133         (gst_clock_get_master):
15134         * gst/gstclock.h:
15135         * gst/gstsystemclock.c: (gst_system_clock_init):
15136         Convert Clock flags to object flags.
15137         Added methods to manage master/slave clocks.
15138
15139 2005-11-21  Wim Taymans  <wim@fluendo.com>
15140
15141         * check/gst/gstsegment.c: (GST_START_TEST):
15142         * docs/design/part-TODO.txt:
15143         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15144         (gst_base_sink_event), (gst_base_sink_do_sync),
15145         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15146         (gst_base_sink_query), (gst_base_sink_change_state):
15147         * gst/base/gstbasesink.h:
15148         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15149         (gst_base_src_default_newsegment),
15150         (gst_base_src_configure_segment), (gst_base_src_do_seek),
15151         (gst_base_src_get_range), (gst_base_src_loop),
15152         (gst_base_src_change_state):
15153         * gst/base/gstbasesrc.h:
15154         * gst/base/gstbasetransform.c:
15155         (gst_base_transform_prepare_output_buf),
15156         (gst_base_transform_event), (gst_base_transform_change_state):
15157         * gst/base/gstbasetransform.h:
15158         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15159         (gst_collect_pads_event):
15160         * gst/base/gstcollectpads.h:
15161         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15162         (gst_fake_src_create):
15163         * gst/elements/gstfakesrc.h:
15164         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15165         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15166         (gst_segment_set_last_stop), (gst_segment_set_seek),
15167         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15168         (gst_segment_to_running_time), (gst_segment_clip):
15169         * gst/gstsegment.h:
15170         More segment updates, replace code in plugins with segment
15171         helper functions.
15172
15173 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15174
15175         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15176         Don't ignore sscanf results
15177
15178 2005-11-21  Andy Wingo  <wingo@pobox.com>
15179
15180         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15181
15182         * *.h:
15183         * *.c: Ran scripts/update-macros. Oh yes.
15184
15185         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15186         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15187         GST_GET_LOCK, etc.
15188
15189         * scripts/update-macros: New script. Run it on your files to
15190         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15191         well.
15192
15193 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15194
15195         * docs/gst/Makefile.am:
15196         * docs/gst/gstreamer-docs.sgml:
15197         * docs/gst/gstreamer-sections.txt:
15198         * docs/gst/gstreamer.types:
15199         * gst/gstinfo.h:
15200           more docs fixes, add new api to the docs
15201
15202 2005-11-21  Andy Wingo  <wingo@pobox.com>
15203
15204         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15205         state_broadcast call.
15206
15207         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15208
15209 2005-11-21  Julien MOUTTE  <julien@moutte.net>
15210
15211         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15212         function calls for arrays.
15213
15214 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15215
15216         * docs/random/ensonic/media-device-daemon.txt:
15217           wild idea, can this be done?
15218         * docs/gst/gstreamer-sections.txt:
15219         * gst/gsterror.h:
15220         * gst/gstfilter.c:
15221         * gst/gstfilter.h:
15222         * gst/gstplugin.h:
15223         * gst/gstpluginfeature.c:
15224         * gst/gsttrace.c:
15225         * gst/gstvalue.c:
15226         * gst/gstvalue.h:
15227           doc fixes and additions
15228
15229 2005-11-21  Andy Wingo  <wingo@pobox.com>
15230
15231         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
15232         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
15233         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
15234         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15235         private to the basesrc implementation.
15236
15237         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15238         behalf of event function if necessary. It should no longer be
15239         necessary to take the stream lock in pad's event functions. Fixes
15240         #320299.
15241
15242 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15243         * docs/gst/gstreamer-sections.txt:
15244         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15245         (gst_structure_fixate_field_nearest_double),
15246         (gst_structure_fixate_field_boolean):
15247         * gst/gststructure.h:
15248         * win32/common/libgstreamer.def:
15249         * win32/gstreamer.def:
15250
15251         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15252         (#322027)
15253
15254 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15255
15256         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15257         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15258         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15259         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15260         (gst_fdsrc_uri_handler_init):
15261         * gst/elements/gstfdsrc.h:
15262           Port fd:// URI handler from 0.8 to fdsrc
15263
15264 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15265
15266         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15267         (gst_value_serialize_fourcc):
15268         * gst/gstvalue.h:
15269           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15270           consistent with our other format defines (#320324).
15271
15272 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15273
15274         * gst/gstvalue.c: (gst_value_is_fixed):
15275           Revert previous commit. Value lists are by definition
15276           not fixed, as they are a list of possible values.
15277
15278 2005-11-21  Andy Wingo  <wingo@pobox.com>
15279
15280         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15281         during the stable series if we need it. Fixes #319178.
15282
15283         * gst/gstevent.c (gst_event_new_filler): Removed.
15284
15285         * check/gst/gstevent.c: Update comment about filler events.
15286
15287 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15288
15289         * gst/gstvalue.c: (gst_value_is_fixed):
15290           Should handle both value arrays and value lists.
15291
15292 2005-11-21  Andy Wingo  <wingo@pobox.com>
15293
15294         patch by: Alessandro Dessina <alessandro nnva org>
15295
15296         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15297         functions to access arrays. Fixes #321962.
15298
15299 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15300
15301         * docs/gst/gstreamer.types:
15302           gst_collectpads_get_type => gst_collect_pads_get_type.
15303           
15304         * gst/base/gstbasetransform.c:
15305           Remove unused SIGNAL_HANDOFF enum.
15306
15307 2005-11-21  Andy Wingo  <wingo@pobox.com>
15308
15309         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15310         the event type (upstream, downstream, serialized). Renamed
15311         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15312         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15313         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15314
15315         * gst/gstevent.c: Update for new CUSTOM event names.
15316
15317         * check/gst/gstevent.c: Update check for new CUSTOM event names.
15318
15319         * gst/gstevent.h:
15320         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15321         bug #319392.
15322
15323 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15324
15325         * docs/gst/gstreamer-sections.txt:
15326         * win32/common/libgstbase.def:
15327         * win32/libgstbase.def:
15328         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15329         (gst_collect_pads_class_init), (gst_collect_pads_init),
15330         (gst_collect_pads_finalize), (gst_collect_pads_new),
15331         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15332         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15333         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15334         (gst_collect_pads_start), (gst_collect_pads_stop),
15335         (gst_collect_pads_peek), (gst_collect_pads_pop),
15336         (gst_collect_pads_available), (gst_collect_pads_read),
15337         (gst_collect_pads_flush), (gst_collect_pads_event),
15338         (gst_collect_pads_chain):
15339         * gst/base/gstcollectpads.h:
15340           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15341           unimplemented functions as unimplemented. Add padding to
15342           GstCollectData. (#320766, #320423)
15343
15344 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15345
15346         * gst/gstmessage.c:
15347           Improve docs for DURATION message (usage of duration parameter)
15348           (#320113)
15349
15350 2005-11-20  Wim Taymans  <wim@fluendo.com>
15351
15352         * check/Makefile.am:
15353         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15354         (main):
15355         * gst/Makefile.am:
15356         * gst/gst.h:
15357         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15358         (gst_segment_set_seek), (gst_segment_set_newsegment),
15359         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15360         (gst_segment_clip):
15361         * gst/gstsegment.h:
15362         Added segment helper structure and methods. Not fully implemented
15363         yet.
15364         Added segment check.
15365
15366 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
15367
15368         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15369           Add a deserialisation test for fractions
15370         * examples/metadata/read-metadata.c: (message_loop),
15371         (make_pipeline), (main):
15372           Fix up metadata reading sample.
15373         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15374           Debug format fix
15375         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15376           Don't try and fixate empty caps
15377         * gst/gst_private.h:
15378           Wrap in G_BEGIN_DECLS/G_END_DECLS
15379         * gst/gstvalue.c: (gst_value_collect_fraction),
15380         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15381         (gst_value_transform_string_fraction),
15382         (gst_value_compare_fraction):
15383           Add some extra guards to ensure that we don't end up 
15384           with an invalid denominator of 0 in a gstfraction and
15385           that fractions always get reduced.
15386
15387 2005-11-20  Wim Taymans  <wim@fluendo.com>
15388
15389         * docs/gst/gstreamer-sections.txt:
15390         * gst/gstbuffer.h:
15391         * gst/gstelement.c:
15392         * gst/gstformat.c:
15393         * gst/gstformat.h:
15394         * gst/gstindex.h:
15395         * gst/gstquery.c:
15396         * gst/gstquery.h:
15397         * gst/gstvalue.c:
15398         Doc fixes.
15399
15400 2005-11-20  Wim Taymans  <wim@fluendo.com>
15401
15402         * docs/design/part-TODO.txt:
15403         * gst/gstcaps.h:
15404         Make a proper enum of the flag.
15405
15406 2005-11-19  Wim Taymans  <wim@fluendo.com>
15407
15408         * docs/design/part-TODO.txt:
15409         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15410         (gst_format_to_quark), (gst_format_register):
15411         * gst/gstformat.h:
15412         * gst/gstquery.c: (_gst_query_initialize),
15413         (gst_query_type_get_name), (gst_query_type_to_quark),
15414         (gst_query_type_register):
15415         * gst/gstquery.h:
15416         Add type to quark and type to string conversions.
15417
15418 2005-11-19  Andy Wingo  <wingo@pobox.com>
15419
15420         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15421         #320097.
15422
15423 2005-11-19  Wim Taymans  <wim@fluendo.com>
15424
15425         * docs/design/part-TODO.txt:
15426         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15427         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15428         (gst_bin_handle_message_func):
15429         * gst/gstbin.h:
15430         Make message handling overridable.
15431
15432 2005-11-19  Andy Wingo  <wingo@pobox.com>
15433
15434         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15435
15436         * gst/gstclock.h:
15437         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15438         be a GstClockTime.
15439         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15440         is a GstClockTime. Fixes #321710.
15441
15442         * gst/gstclock.h (GstClock): Remove offset property. Add
15443         internal_calibration and external_calibration. Fix padding. Pad
15444         also by GstClockTime so we don't run into problems.
15445
15446         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15447         (gst_clock_get_rate_offset): Remove.
15448         (gst_clock_set_time_adjust): Remove. Fixes #321712.
15449
15450         * gst/gstutils.h:
15451         * gst/gstutils.c (g_static_rec_cond_wait)
15452         (g_static_rec_cond_timed_wait): Removed, no longer needed.
15453
15454         * gst/gstbin.c: Remove terrible continue_state prototype.
15455
15456         * gst/gstelement.h (gst_element_continue_state): Make public.
15457
15458         * gst/gstelement.h:
15459         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15460         by continue_state. Fixes #319389.
15461
15462         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15463         Really fixes #168438. However I don't see anywhere where the
15464         filter function is called... stupid GStreamer...
15465         
15466         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15467         don't have a dispose function, so it won't get called when the
15468         object is unreffed, but oh well!
15469
15470         * gst/gstindex.c (gst_index_set_filter_full): New API function,
15471         allows a destroy function to be set so user_data can be freed.
15472         Fixes #168438.
15473         (gst_index_set_filter): Call gst_index_set_filter_full.
15474
15475         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15476
15477         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15478         string should produce an error, given the lack of a way to
15479         represent NULL strings. Fixes #165650.
15480         
15481         * gst/gstvalue.h: 
15482         * gst/gstvalue.c (gst_value_array_append_value) 
15483         (gst_value_array_prepend_value, gst_value_array_get_size) 
15484         (gst_value_array_get_value): New API, copied from
15485         gst_value_list_*, only operates on arrays.
15486         (gst_value_list_append_value, gst_value_list_prepend_value) 
15487         (gst_value_list_concat, gst_value_list_get_size) 
15488         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15489
15490         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15491         init_list, because it works on both.
15492         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15493         (gst_value_copy_list_or_array): Renamed from copy_list.
15494         (gst_value_free_list_or_array): Renamed from free_list.
15495         (gst_value_collect_list_or_array): Renamed from collect_list.
15496         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15497         (gst_value_list_or_array_peek_pointer): Renamed from
15498         list_peek_pointer.
15499         (_gst_value_array_value_table, _gst_value_list_value_table):
15500         Update value table functions.
15501         (gst_value_compare_list_or_array): Renamed from compare_list.
15502
15503         * gsttaglist.h: Whoops, foreach function returns void. Also fix
15504         some constness.
15505
15506         * gst/gsttaglist.c:
15507         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15508         GstTagList*. Fixes #143472.
15509
15510         * gst/gststructure.h: Clarify what the foreach/map functions can
15511         or can't do to their arguments.
15512
15513 2005-11-18  Wim Taymans  <wim@fluendo.com>
15514
15515         * gst/gstclock.c: (gst_clock_set_calibration),
15516         (gst_clock_get_calibration):
15517         Doc and API fixes.
15518         Calibration can be set with internal time equal to current
15519         internal time too.
15520
15521 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15522
15523         * gst/gsterror.c:
15524         * gst/gsterror.h:
15525           document
15526
15527 2005-11-18  Andy Wingo  <wingo@pobox.com>
15528
15529         * configure.ac: 
15530         * pkgconfig/gstreamer-net.pc.in:
15531         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15532         * pkgconfig/Makefile.am: Add net pkgconfig files.
15533
15534 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
15535
15536         * gst/gstcaps.c:
15537         * gst/gstghostpad.c:
15538         * gst/gsttrace.c:
15539         * gst/gstvalue.c:
15540         * gst/gstvalue.h:
15541           docs fixes
15542
15543 2005-11-18  Andy Wingo  <wingo@pobox.com>
15544
15545         * gst/net/gstnetclientclock.c: Turn off debugging.
15546
15547         * check/net/gstnetclientclock.c (test_functioning): Assert that the
15548         times connverge somewhat. Can't make a real test.
15549
15550         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15551         integer arithmetic. Return the minimum of the domain, which can be
15552         set as "internal" for gst_clock_set_calibration.
15553         (gst_net_client_clock_observe_times): Call _set_calibration.
15554         (gst_net_client_clock_new): Call _set_calibration instead of
15555         rate_offset.
15556
15557         * check/net/gstnetclientclock.c (test_functioning): Use the right
15558         adjustment api.
15559
15560         * gst/gstclock.h:
15561         * gst/gstclock.c (gst_clock_get_calibration) 
15562         (gst_clock_set_calibration): New functions, obsolete the ones I
15563         added yesterday. Doh. Precision issues mean we have to extrapolate
15564         from a point in the more recent past than 1970.
15565         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15566         obsolete.
15567         (gst_clock_adjust_unlocked): Use the right calibration data.
15568
15569 2005-11-18  Edward Hervey  <edward@fluendo.com>
15570
15571         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
15572         Also reset the ->current_* values in READY->PAUSED
15573
15574 2005-11-18  Andy Wingo  <wingo@pobox.com>
15575
15576         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15577         Whoops, check the right fd. Also add some debugging.
15578         (gst_net_client_clock_observe_times): Adjust for int64 offset.
15579         (do_linear_regression): Add a crapload of debugging. Subtract off
15580         the minimum values from the input series to discard unneeded bits.
15581         Use only int arithmetic. There is still double arithmetic when
15582         calculating the intercept that needs fixing. Return boolean to
15583         indicate success; FALSE would mean the domain or range is too
15584         great. Still needs fixes.
15585
15586 2005-11-18  Wim Taymans  <wim@fluendo.com>
15587
15588         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15589         For the current position in stream time, we need to subtract
15590         accumulated time.
15591         
15592         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15593         Release lock before calling the callback function of async
15594         entries.
15595
15596 2005-11-18  Andy Wingo  <wingo@pobox.com>
15597
15598         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15599         Port goes all the way to MAXUINT16.
15600
15601         * gst/net/gstnettimeprovider.c: Make the port range the same as
15602         for the kernel: 0 assigns, otherwise ports are less than
15603         MAXUINT16.
15604
15605         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15606         port change.
15607
15608         * check/net/gstnetclientclock.c (test_functioning): Add the start
15609         of another test. 
15610
15611 2005-11-18  Wim Taymans  <wim@fluendo.com>
15612
15613         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15614         (gst_bin_remove_func), (bin_bus_handler):
15615         * gst/gstbin.h:
15616         Removing a clock provider from a bin, triggers a clock lost message
15617         so that a new clock will be selected.
15618         Adding a clock to a bin triggers a clock provider message.
15619         Make sure we reselect a clock when we received a clock lost message.
15620         Keep a reference to the element that provided the clock.
15621
15622 2005-11-18  Andy Wingo  <wingo@pobox.com>
15623
15624         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15625         the clock initially so it produces values around the base time.
15626         (gst_net_client_clock_class_init): Typo fix.
15627         (gst_net_client_clock_thread): Add note on when the socket gets
15628         closed.
15629
15630 2005-11-17  Wim Taymans  <wim@fluendo.com>
15631
15632         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15633         Free remote and local time arrays.
15634
15635 2005-11-17  Wim Taymans  <wim@fluendo.com>
15636
15637         * gst/net/gstnetclientclock.c: (do_linear_regression),
15638         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15639         Fix compilation, uninitialized vars and a forgotten continue.
15640
15641 2005-11-17  Andy Wingo  <wingo@pobox.com>
15642
15643         * check/Makefile.am (check_PROGRAMS): 
15644         * check/net/gstnetclientclock.c: Add a most minimal test for the
15645         net client clock. More to come later.
15646
15647         * gst/net/gstnet.h: 
15648         * gst/net/Makefile.am: Add netclientclock.
15649
15650         * gst/net/gstnetclientclock.h:
15651         * gst/net/gstnetclientclock.c: New files, implement an untested
15652         GstClock that takes its time from a network time provider.
15653         Implements the algorithm in network-clock.scm.
15654
15655         * tests/network-clock.scm (*window-size*): Rename from
15656         *queue-length*.
15657         * tests/network-clock.scm (network-time): 
15658         * tests/network-clock-utils.scm (q-push): Update callers.
15659
15660 2005-11-17  Wim Taymans  <wim@fluendo.com>
15661
15662         * gst/gstbin.c: (gst_bin_provide_clock_func),
15663         (gst_bin_sort_iterator_new):
15664         And unref the child too..
15665
15666 2005-11-17  Wim Taymans  <wim@fluendo.com>
15667
15668         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15669         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15670         Refactor the sort iterator so it can be used while holding the
15671         LOCK too.
15672         Make clock selection select a clock closest to the source.
15673
15674 2005-11-17  Michael Smith <msmith@fluendo.com>
15675
15676         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15677         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15678         * gst/gstclock.h:
15679           Anonymous structs are a gcc (and some other compilers) extension, so
15680           don't use them. Since this is only for ABI-compatibility, and our
15681           API/ABI freeze is over in a few days, this whole thing will only
15682           last a few days, so don't bother trying to think up a meaningful
15683           name for the struct.
15684
15685 2005-11-17  Andy Wingo  <wingo@pobox.com>
15686
15687         * gst/gstclock.h (GstClock): Add rate and offset properties,
15688         preserving ABI stability. Add rate/offset accessors. Will file bug
15689         for the freeze break.
15690
15691         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15692         and offset, trying to keep precision and avoiding
15693         underflow/overflow.
15694         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15695         functions. Make gst_clock_set_time_adjust obsolete.
15696         (gst_clock_set_time_adjust): Note that this function is obsolete.
15697         Will file bug soon.
15698
15699         * gst/base/gstbasetransform.h: Make the ABI-stability hack
15700         greppable by using GST_PADDING-1+1.
15701
15702 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
15703
15704         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15705
15706         * gst/gstmessage.c: (gst_message_parse_clock_lost):
15707           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15708
15709         * gst/gstpadtemplate.h:
15710         * gst/gstpluginfeature.h:
15711           Don't use c++ style comments in headers (#321638).
15712
15713 2005-11-16  Andy Wingo  <wingo@pobox.com>
15714
15715         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15716         buffer.
15717
15718         * check/net/gstnettimeprovider.c: Check to see that the time
15719         provider actually provides times. Works, yo!
15720
15721 2005-11-16  Wim Taymans  <wim@fluendo.com>
15722
15723         * check/Makefile.am:
15724         Enable more tests.
15725
15726         * check/elements/fakesrc.c: (GST_START_TEST):
15727         Set element to NULL before disposing it.
15728
15729 2005-11-16  Andy Wingo  <wingo@pobox.com>
15730
15731         * gst/net/Makefile.am:
15732         * gst/net/gstnet.h:
15733         * gst/net/gstnettimeprovider.c: 
15734         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15735         provider, include it from gstnet.h, and add it to the build.
15736
15737         * gst/net/gstnettimepacket.h: 
15738         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15739         sending and receiving.
15740
15741 2005-11-16  Wim Taymans  <wim@fluendo.com>
15742
15743         * check/Makefile.am:
15744         Enable valgrind check.
15745
15746         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15747         (gst_fake_src_alloc_buffer):
15748         Fix memleak.
15749
15750 2005-11-16  Wim Taymans  <wim@fluendo.com>
15751
15752         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15753         Call parent finalize too.
15754
15755 2005-11-16  Wim Taymans  <wim@fluendo.com>
15756
15757         * check/Makefile.am:
15758         Enable valgrind check that should work fine now.
15759
15760         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15761         * gst/gstqueue.c: (gst_queue_init):
15762         Fix memleaks in pad allocation.
15763
15764 2005-11-16  Andy Wingo  <wingo@pobox.com>
15765
15766         * gst/net/Makefile.am:
15767         * gst/net/gstnet.h: New part of core to hold network elements and
15768         objects. Put in core because it exposes API that applications want
15769         to use. The library is named libgstnet-tempname right now because
15770         of the existing libgstnet in gst-plugins-base. Solution is
15771         probably to rename the one in plugins-base; will file a bug for
15772         the freeze break.
15773
15774         * gst/net/gstnettimeprovider.c: 
15775         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15776         get_time call over the network.
15777
15778         * configure.ac: 
15779         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15780
15781         * check/Makefile.am:
15782         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15783         get additions shortly.
15784
15785 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15786
15787         * gst/gstpad.c: (gst_pad_new_from_static_template):
15788         * gst/gstpad.h:
15789           add gst_pad_new_from_static_template functions
15790         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15791         (gst_check_setup_sink_pad):
15792         * gst/elements/gsttee.c: (gst_tee_init):
15793           and use them
15794
15795 2005-11-16  Wim Taymans  <wim@fluendo.com>
15796
15797         * gst/gstpad.c: (gst_pad_pause_task):
15798         Removed warning, it's not really an error either.
15799
15800 2005-11-16  Wim Taymans  <wim@fluendo.com>
15801
15802         * gst/base/gstbasetransform.c:
15803         (gst_base_transform_prepare_output_buf),
15804         (gst_base_transform_event):
15805         Check if the caps are NULL, this can happen if the element
15806         is shutting down and the pad caps are set to NULL.
15807
15808 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15809
15810         * gst/elements/gsttee.c: (gst_tee_init):
15811           fix pad template leak in tee
15812
15813 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15814
15815         * gst/glib-compat.c: (g_value_dup_gst_object):
15816         * gst/glib-compat.h:
15817         * gst/gstpad.c: (gst_pad_set_property):
15818           use gst_object_ref when setting the pad template; this will
15819           trigger the pad template leaks on GLib 2.6 and the slaves
15820
15821 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15822
15823         * gst/glib-compat.c: (gst_flags_get_first_value):
15824         * gst/glib-compat.h:
15825         * gst/gstregistryxml.c:
15826           remove functions copied from GLib 2.6
15827
15828 2005-11-16  Michael Smith <msmith@fluendo.com>
15829
15830         * gst/Makefile.am:
15831           Don't link against VALGRIND_LIBS. That was always the wrong thing to
15832           do, but only breaks with newer valgrind versions. We're not a
15833           valgrind tool, we have no link-time dependencies on libcoregrind.
15834
15835 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15836
15837         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15838           some debug changes
15839         * gst/gstmessage.h:
15840           typo fixes
15841
15842 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15843
15844         * gst/base/gstbasesrc.c: (gst_base_src_init):
15845         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15846         * gst/gstqueue.c: (gst_queue_init):
15847         * gst/gstregistryxml.c: (load_feature):
15848           Revert all these unrefs, they don't even pass make check !
15849
15850 2005-11-15  Johan Dahlin  <johan@gnome.org>
15851
15852         * gst/base/gstbasesrc.c: (gst_base_src_init):
15853         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15854         * gst/gstqueue.c: (gst_queue_init): 
15855         Free pad templates, fixes a couple of leaks.
15856
15857 2005-11-15  Daniel Fischer  <dan at f3c dot com>
15858
15859         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15860
15861         * gst/gstpad.c: (gst_pad_get_property):
15862           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15863           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15864           (#321452)
15865
15866 2005-11-15  Wim Taymans  <wim@fluendo.com>
15867
15868         * gst/gstevent.c:
15869         Small doc update.
15870
15871 2005-11-15  Andy Wingo  <wingo@pobox.com>
15872
15873         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15874
15875         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15876         using GST_CLOCK_TIME_NONE to disable base time management.
15877         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15878         time if it was NONE before.
15879         (gst_pipeline_change_state): Only munge the base time if
15880         stream_time != GST_CLOCK_TIME_NONE.
15881
15882         * check/gst/gstpipeline.c (test_base_time): Punt around the
15883         problem of the probe not being called, because that's not the
15884         issue I'm looking at. Add a check that setting stream_time to NONE
15885         disables base time management.
15886         
15887 2005-11-15  Wim Taymans  <wim@fluendo.com>
15888
15889         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15890         segment_stop == -1 at startup.
15891
15892         * gst/base/gstbasetransform.c: (gst_base_transform_event),
15893         (gst_base_transform_change_state):
15894         Init segment values at start.
15895
15896 2005-11-15  Wim Taymans  <wim@fluendo.com>
15897
15898         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15899         0 segment values are 0 in any format.
15900
15901         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15902         * gst/base/gstbasetransform.h:
15903         Parse newsegment correctly in basetransform
15904
15905         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15906         Sync to clock using updated segment values.
15907
15908 2005-11-15  Andy Wingo  <wingo@pobox.com>
15909
15910         * check/gst/gstpipeline.c (test_base_time): Add check that the
15911         base time and stream time are reset correctly.
15912
15913 2005-11-15  Wim Taymans  <wim@fluendo.com>
15914
15915         * docs/design/part-TODO.txt:
15916         Some more TODO items.
15917
15918 2005-11-15  Andy Wingo  <wingo@pobox.com>
15919
15920         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15921         error if the user selected "no clock" as the clocking method.
15922
15923         * check/gst/gstpipeline.c (test_base_time): New test for buffer
15924         timestamps with live capture.
15925
15926         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15927         is 0 but we are a live source, timestamp the buffers using the
15928         element's clock.
15929
15930 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
15931
15932         * docs/gst/gstreamer-sections.txt:
15933         * gst/gsterror.c:
15934         * gst/gstghostpad.c:
15935         * gst/gstobject.h:
15936         * gst/gstxml.c:
15937           more section docs
15938
15939 2005-11-14  Wim Taymans  <wim@fluendo.com>
15940
15941         * common/gst.supp:
15942           add suppressions from Wim's Debian machine
15943
15944 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15945
15946         * common/gst.supp:
15947           add suppressions from Andy's AMD64 Ubuntu machine
15948
15949 2005-11-14  Andy Wingo  <wingo@pobox.com>
15950
15951         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15952         STATE_LOCK not necessary. Fixes #311489.
15953
15954         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15955         #305291.
15956
15957         * gst/gstindex.c (gst_index_add_object): Note in the docs that
15958         this function is not implemented.
15959
15960 2005-11-14  Julien MOUTTE  <julien@moutte.net>
15961
15962         * gst/base/gstbasetransform.c:
15963         (gst_base_transform_prepare_output_buf):
15964         Ref the source pad caps while we need them.
15965         Fixes (#321386)
15966
15967 2005-11-11  Wim Taymans  <wim@fluendo.com>
15968
15969         * docs/gst/gstreamer-sections.txt:
15970         Added some docs for GstCollectData.
15971
15972         * gst/base/gstadapter.c:
15973         Some small code example fix.
15974
15975         * gst/base/gstcollectpads.c:
15976         * gst/base/gstcollectpads.h:
15977         Document some more.
15978
15979 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15980
15981         * configure.ac: back to HEAD
15982
15983 === release 0.9.5 ===
15984
15985 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
15986
15987         * configure.ac:
15988           releasing 0.9.5, "Bike Lunch Day"
15989
15990 2005-11-11  Wim Taymans  <wim@fluendo.com>
15991
15992         * gst/gstbuffer.c: (_gst_buffer_copy):
15993         Copy more flags.
15994
15995         * gst/gstcaps.c: (gst_caps_is_equal):
15996         Fix some docs.
15997         Make _is_equal fast in the trivial cases.
15998
15999         * gst/gstminiobject.c:
16000         * gst/gstminiobject.h:
16001         More docs. Spifify .h file.
16002
16003         * gst/gstutils.c:
16004         Small doc update.
16005
16006 2005-11-11  Wim Taymans  <wim@fluendo.com>
16007
16008         * gst/base/gstbasetransform.c:
16009         (gst_base_transform_prepare_output_buf),
16010         (gst_base_transform_handle_buffer):
16011         Small cleanups.
16012         If we're processing a buffer and need to allocate an output
16013         buffer, we cannot accept a format change. If we did get a 
16014         format change, we have to alloc a buffer ourselves of the 
16015         right size.
16016
16017 2005-11-11  Wim Taymans  <wim@fluendo.com>
16018
16019         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
16020         While checking the flag for reentrancy in the gstcaps function
16021         is nice to detect recursive invocations, it also makes it 
16022         impossible to call getcaps from multiple threads, which must be
16023         possible. So, checking for recursive calls has to go.
16024
16025 2005-11-11  Michael Smith <msmith@fluendo.com>
16026
16027         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16028           Don't sync on buffers that fall partially outside our current
16029           segment. Prevents an assertion failure/abort playing some files.
16030
16031 2005-11-10  Andy Wingo  <wingo@pobox.com>
16032
16033         * check/gst/gstbin.c (test_message_state_changed_children): Style
16034         fix..
16035
16036         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
16037         gst_bus_poll with the signal watch. Ensures that poll and a signal
16038         watch see the same messages.
16039
16040         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
16041         a poll and a watch at the same time get the same messages.
16042
16043 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16044
16045         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
16046         * gst/gstcaps.c: (gst_caps_intersect):
16047           Don't call gst_caps_do_simplify - it doesn't respect order of caps
16048           and it's not needed.
16049
16050 2005-11-10  Wim Taymans  <wim@fluendo.com>
16051
16052         * docs/design/part-TODO.txt:
16053         Updated todo.
16054
16055 2005-11-10  Wim Taymans  <wim@fluendo.com>
16056
16057         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16058         * gst/base/gstbasesrc.c: (gst_base_src_wait),
16059         (gst_base_src_do_sync), (gst_base_src_get_range):
16060         Implement clock sync in base class.
16061
16062 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16063
16064         patch by: Tim-Philipp Müller <tim at centricular dot net>
16065
16066         * gst/gststructure.c: (gst_structure_parse_field),
16067         (gst_structure_from_string):
16068           Forward-port a 0.8 patch to handle escaped spaces in structure string,
16069           so that gst_parse_launch() can deal with spaces in filtered link
16070           caps (fixes #164479)
16071         * check/gst/capslist.h:
16072         * check/gst/gststructure.c: (GST_START_TEST):
16073           add unit tests for this change
16074
16075 2005-11-10  Wim Taymans  <wim@fluendo.com>
16076
16077         * docs/gst/gstreamer-sections.txt:
16078         * gst/gstelement.c:
16079         * gst/gstelement.h:
16080         Fix docs, move some STATE macros to private.
16081
16082 2005-11-10  Wim Taymans  <wim@fluendo.com>
16083
16084         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16085         Added check for bug #317341
16086
16087         * gst/gstbuffer.c:
16088         * gst/gstbuffer.h:
16089         Some more spiffifying.
16090
16091         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16092         Call peer linkfunction if we are a source pad. Totally fixes
16093         #317341
16094
16095         * gst/gstpad.c:
16096         Update docs, source pads should call the peer linkfunction
16097         so they can atomically perform the pad link.
16098
16099 2005-11-09  Wim Taymans  <wim@fluendo.com>
16100
16101         * gst/gstbuffer.c:
16102         * gst/gstbuffer.h:
16103         Uber-spiffy-spiffify some more.
16104
16105 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
16106
16107         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16108         * gst/elements/gstfilesink.c: (gst_file_sink_init):
16109         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16110         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16111         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16112         * gst/gstpad.c: (gst_pad_init):
16113           Use GST_DEBUG_FUNCPTR() more extensively.
16114
16115 2005-11-09  Wim Taymans  <wim@fluendo.com>
16116
16117         * gst/gstobject.c: (gst_object_class_init):
16118         * gst/gstobject.h:
16119         Documentation fixes.
16120
16121 2005-11-09  Edward Hervey  <edward@fluendo.com>
16122
16123         * gst/gsttypefindfactory.c:
16124         Fix docs.
16125         
16126 2005-11-09  Edward Hervey  <edward@fluendo.com>
16127
16128         * gst/base/gsttypefindhelper.c:
16129         * gst/gsttypefind.c:
16130         * gst/gsttypefind.h:
16131         Fix docs.
16132
16133 2005-11-09  Wim Taymans  <wim@fluendo.com>
16134
16135         * gst/gstiterator.c:
16136         Fix revision data.
16137
16138         * gst/gsttask.c:
16139         * gst/gsttask.h:
16140         Fix docs.
16141
16142 2005-11-09  Wim Taymans  <wim@fluendo.com>
16143
16144         * gst/gstevent.h:
16145         * gst/gsturi.h:
16146         Fix docs.
16147
16148 2005-11-09  Wim Taymans  <wim@fluendo.com>
16149
16150         * docs/gst/gstreamer-sections.txt:
16151         Moved the message async delivery private lock and cond
16152         to the private section.
16153
16154         * gst/gstmessage.c:
16155         * gst/gstmessage.h:
16156         Fixed docs.
16157
16158 2005-11-09  Edward Hervey  <edward@fluendo.com>
16159
16160         * docs/gst/gstreamer-sections.txt:
16161         * gst/gsturi.c:
16162         * gst/gsturi.h:
16163         Document GstURIHandler
16164
16165 2005-11-09  Wim Taymans  <wim@fluendo.com>
16166
16167         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16168         (gst_iterator_find_custom):
16169         * gst/gstiterator.h:
16170         Fix iterator docs.
16171
16172 2005-11-09  Wim Taymans  <wim@fluendo.com>
16173
16174         * gst/gstbin.h:
16175         Document another field.
16176
16177         * gst/gststructure.c:
16178         * gst/gststructure.h:
16179         Document.
16180
16181 2005-11-09  Wim Taymans  <wim@fluendo.com>
16182
16183         * gst/gstbin.h:
16184         Documented structs.
16185
16186 2005-11-09  Wim Taymans  <wim@fluendo.com>
16187
16188         * docs/gst/gstreamer-sections.txt:
16189         Added some new macros.
16190
16191         * gst/gstclock.c:
16192         * gst/gstclock.h:
16193         * gst/gstobject.h:
16194         Docs updates.
16195
16196 2005-11-09  Wim Taymans  <wim@fluendo.com>
16197
16198         * docs/design/part-TODO.txt:
16199         Some more items for the TODO
16200
16201         * gst/gstcaps.c:
16202         * gst/gstcaps.h:
16203         Document GstCaps.
16204
16205 2005-11-09  Andy Wingo  <wingo@pobox.com>
16206
16207         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16208         to work on something else now tho...
16209
16210         * gst/base/gstadapter.c: More adapter docs.
16211
16212         * gst/elements/gstfilesink.c (gst_file_sink_start) 
16213         (gst_file_sink_stop): New functions, replace the state change
16214         handler.
16215         (gst_file_sink_class_init): Hook up the start and stop functions.
16216         (gst_file_sink_base_init): Don't set the state change handler any
16217         more. It was a bit ugly too, being set from here...
16218         (gst_file_sink_get_property, gst_file_sink_set_property):
16219         Cleanups...
16220         (gst_file_sink_set_location): More robust check that doesn't call
16221         GST_STATE. Ugggggg.
16222
16223 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
16224
16225         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16226           Hold STREAM_LOCK while pushing newsegment or tag events as well.
16227
16228 2005-11-08  Wim Taymans  <wim@fluendo.com>
16229
16230         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16231         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16232         (gst_base_sink_chain), (gst_base_sink_change_state):
16233         * gst/base/gstbasesink.h:
16234         * gst/base/gstbasesrc.h:
16235         * gst/gstelement.h:
16236         * gst/gstevent.h:
16237         Avoid excessive typechecking in macros.
16238
16239         * gst/gstminiobject.c: (gst_mini_object_get_type),
16240         (gst_mini_object_init), (gst_mini_object_new),
16241         (gst_mini_object_free):
16242         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16243         (gst_object_finalize):
16244         Remove cruft code, optimize alloc_trace.
16245
16246 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16247
16248         * docs/faq/gst-uninstalled:
16249           fix up PS1 for systems that try to reset it
16250
16251 2005-11-07  Wim Taymans  <wim@fluendo.com>
16252
16253         * gst/base/gstbasesrc.c: (gst_base_src_init),
16254         (gst_base_src_get_range):
16255         Set the segment_end to -1 initially. Fixed typefind.
16256
16257 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
16258
16259         * gst/base/gstadapter.c:
16260           Debug category should be 'adapter', not 'GstAdapter'.
16261           
16262         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16263         (gst_collectpads_class_init), (gst_collectpads_init),
16264         (gst_collectpads_peek), (gst_collectpads_pop),
16265         (gst_collectpads_event), (gst_collectpads_chain):
16266           Add debug category and some debugging output. Use boilerplate
16267           macros. Remove some extraneous words from docs.
16268
16269 2005-11-05  Andy Wingo  <wingo@pobox.com>
16270
16271         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16272         macro.
16273
16274 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16275
16276         * docs/gst/gstreamer-sections.txt:
16277         * gst/gstcaps.h:
16278         * gst/gstinfo.c:
16279         * gst/gstminiobject.h:
16280         * gst/gstobject.h:
16281         * gst/gstutils.h:
16282           more docs added
16283
16284 2005-11-04  Wim Taymans  <wim@fluendo.com>
16285
16286         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16287         Small update to stop at the configured segment_end
16288         position.
16289
16290 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16291
16292         * gst/gstregistry.c:
16293         * gst/gstregistry.h:
16294           added missing docs
16295
16296 2005-11-04  Edward Hervey  <edward@fluendo.com>
16297
16298         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16299         Check if we are doing a segment seek and have arrived at the
16300         end of that segment.
16301
16302 2005-11-04  Wim Taymans  <wim@fluendo.com>
16303
16304         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16305         Don't leak a mutex unlock in case of an error.
16306
16307         * gst/gstbus.h:
16308         Doc fixes.
16309
16310 2005-11-04  Wim Taymans  <wim@fluendo.com>
16311
16312         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16313         (gst_bus_post):
16314         Get the context to wake up only once.
16315
16316 2005-11-03  Wim Taymans  <wim@fluendo.com>
16317
16318         * check/states/sinks.c: (GST_START_TEST):
16319         Uncomment fixed check.
16320
16321         * docs/design/part-TODO.txt:
16322         Updated TODO.
16323
16324         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16325         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16326         (gst_base_sink_get_position):
16327         If we are going to PLAYING, post the right pending state
16328         when we post the intermediate paused message.
16329
16330         * gst/gstelement.c: (gst_element_continue_state),
16331         (gst_element_set_state_func), (gst_element_change_state):
16332         Don't post state changes that were between the same state
16333         and were not ASYNC.
16334
16335 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16336
16337         * docs/gst/gstreamer-sections.txt:
16338         * gst/gstcaps.h:
16339         * gst/gstinfo.c:
16340         * gst/gstminiobject.h:
16341         * gst/gstobject.h:
16342         * gst/gstutils.h:
16343           more docs and doc style fixes
16344
16345 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16346
16347         * docs/gst/gstreamer-sections.txt:
16348         * gst/gstelement.c:
16349         * gst/gstminiobject.c:
16350         doc fixes
16351
16352 2005-11-03  Andy Wingo  <wingo@pobox.com>
16353
16354         * check/states/sinks.c (test_livesrc_sink): Add checks that the
16355         state-changed messages actually have the right order and the right
16356         values.
16357
16358 2005-11-03  Wim Taymans  <wim@fluendo.com>
16359
16360         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16361         Added some more checks. Specifically the case where NO_PREROLL
16362         elements are in the pipeline.
16363
16364         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16365         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16366         (gst_base_sink_get_position):
16367         Post READY->PAUSED state change messages too.
16368         Fix bug where VOID was posted as pending state...
16369
16370         * gst/gstbin.c: (gst_bin_recalc_state):
16371         use _element_continue_state() to continue the state change.
16372
16373         * gst/gstelement.c: (gst_element_continue_state),
16374         (gst_element_commit_state), (gst_element_set_state_func),
16375         (gst_element_change_state), (gst_element_change_state_func):
16376         Lots of state change cleanups, assign the STATE_RETURN in
16377         a new continue_state() function that also propagates the
16378         last return value from a state change to the app.
16379         Update some debug statements with proper category.
16380
16381 2005-11-03  Wim Taymans  <wim@fluendo.com>
16382
16383         * docs/design/part-events.txt:
16384         * docs/design/part-gstpipeline.txt:
16385         * docs/design/part-messages.txt:
16386         * docs/design/part-overview.txt:
16387         * docs/design/part-seeking.txt:
16388         * docs/design/part-states.txt:
16389         * docs/design/part-trickmodes.txt:
16390         * docs/manual/advanced-position.xml:
16391         Small docs updates.
16392
16393         * gst/gstobject.h:
16394         People think !! is ugly, this looks better.
16395
16396         * gst/gstpad.c: (gst_pad_set_blocked_async):
16397         Remove !! since it's fixed elsewhere now.
16398
16399 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16400
16401         * gst/gstminiobject.h:
16402         * gst/gstobject.h:
16403           Add !! to _FLAG_IS_SET macros to make the result boolean.
16404
16405 2005-11-03  Edward Hervey  <edward@fluendo.com>
16406
16407         * gst/gstpad.c: (gst_pad_set_blocked_async):
16408         comparing a flag and a gboolean rarely returns coherent results...
16409         Added two characters (!!) to make that work correctly.
16410         
16411 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16412
16413         * gst/gstbus.c: (gst_bus_class_init):
16414           Fix some typos.
16415           
16416         * gst/gstqueue.c: (gst_queue_loop):
16417           Don't assume a miniobject that isn't a buffer is an
16418           event (it could be that there is a refcounting
16419           problem somewhere and the pointer is stale and
16420           refers to an already destroyed miniobject).
16421
16422 2005-11-03  Julien MOUTTE  <julien@moutte.net>
16423
16424         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16425
16426 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16427
16428         * docs/manual/advanced-position.xml:
16429           Update seek example and explanations to current 0.9 API.
16430
16431         * gst/elements/gsttypefindelement.c:
16432         (gst_type_find_element_activate):
16433           Remove FIXME comment now that the found caps
16434           are unreffed.
16435
16436 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16437
16438         * gst/gstregistryxml.c: (load_feature):
16439           Add another GST_STR_NULL instance
16440
16441 2005-11-02  Edward Hervey  <edward@fluendo.com>
16442
16443         * gst/gstpad.c: (handle_pad_block):
16444         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16445         
16446 2005-11-02  Wim Taymans  <wim@fluendo.com>
16447
16448         * gst/gstbin.c:
16449         Fix typo in docs.
16450
16451         * gst/gstelement.c: (gst_element_commit_state):
16452         Remove unused value.
16453
16454         * gst/gstiterator.c:
16455         Mention that the returned element is reffed in the docs.
16456
16457 2005-11-02  Wim Taymans  <wim@fluendo.com>
16458
16459         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16460         (gst_pad_push), (gst_pad_push_event):
16461         Unlock blocked pads when they are flushed.
16462
16463 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16464
16465         * docs/README:
16466         * docs/gst/gstreamer-sections.txt:
16467         * gst/gstbin.c:
16468           doc updates
16469         * gst/gstregistry.c: (gst_registry_scan_path_level):
16470           fix for a nasty little missed situation where an installed plug-in
16471           which was in the cache did not get overridden by an uninstalled one
16472           which was earlier in the plugin path because the newly created plugin
16473           for the uninstalled one (not in the registry) didn't get its
16474           ->registered set to TRUE
16475
16476 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16477
16478         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16479         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16480         (gst_collectpads_is_active), (gst_collectpads_collect),
16481         (gst_collectpads_collect_range), (gst_collectpads_start),
16482         (gst_collectpads_stop), (gst_collectpads_peek),
16483         (gst_collectpads_pop), (gst_collectpads_available),
16484         (gst_collectpads_read), (gst_collectpads_flush):
16485           Guard public API with assertions.
16486         
16487         * gst/gstpad.c:
16488           Fix docs for gst_pad_set_link_function().
16489
16490 2005-11-02  Johan Dahlin  <johan@gnome.org>
16491
16492         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
16493         Unref found_caps after we used it.
16494
16495 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16496
16497         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16498           Don't try to ref NULL.
16499
16500 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16501
16502         * win32/common/config.h.in:
16503           provide a GST_FUNCTION that just gives a string for now
16504
16505 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16506
16507         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16508         (gst_object_flags_get_type), (register_gst_bin_flags),
16509         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16510         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16511         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16512         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16513         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16514         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16515         (gst_clock_flags_get_type), (register_gst_state),
16516         (gst_state_get_type), (register_gst_state_change_return),
16517         (gst_state_change_return_get_type), (register_gst_state_change),
16518         (gst_state_change_get_type), (register_gst_element_flags),
16519         (gst_element_flags_get_type), (register_gst_core_error),
16520         (gst_core_error_get_type), (register_gst_library_error),
16521         (gst_library_error_get_type), (register_gst_resource_error),
16522         (gst_resource_error_get_type), (register_gst_stream_error),
16523         (gst_stream_error_get_type), (register_gst_event_type),
16524         (gst_event_type_get_type), (register_gst_seek_type),
16525         (gst_seek_type_get_type), (register_gst_seek_flags),
16526         (gst_seek_flags_get_type), (register_gst_format),
16527         (gst_format_get_type), (register_gst_index_certainty),
16528         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16529         (gst_index_entry_type_get_type),
16530         (register_gst_index_lookup_method),
16531         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16532         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16533         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16534         (gst_index_flags_get_type), (register_gst_debug_level),
16535         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16536         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16537         (gst_iterator_result_get_type), (register_gst_iterator_item),
16538         (gst_iterator_item_get_type), (register_gst_message_type),
16539         (gst_message_type_get_type), (register_gst_mini_object_flags),
16540         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16541         (gst_pad_link_return_get_type), (register_gst_flow_return),
16542         (gst_flow_return_get_type), (register_gst_activate_mode),
16543         (gst_activate_mode_get_type), (register_gst_pad_direction),
16544         (gst_pad_direction_get_type), (register_gst_pad_flags),
16545         (gst_pad_flags_get_type), (register_gst_pad_presence),
16546         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16547         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16548         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16549         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16550         (gst_plugin_flags_get_type), (register_gst_rank),
16551         (gst_rank_get_type), (register_gst_query_type),
16552         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16553         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16554         (gst_tag_flag_get_type), (register_gst_task_state),
16555         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16556         (gst_alloc_trace_flags_get_type),
16557         (register_gst_type_find_probability),
16558         (gst_type_find_probability_get_type), (register_gst_uri_type),
16559         (gst_uri_type_get_type), (register_gst_parse_error),
16560         (gst_parse_error_get_type):
16561         * win32/common/gstversion.h:
16562           update win32 copies
16563
16564 2005-11-01  Luca Ognibene  <luogni@tin.it>
16565
16566         * gst/gst.c:
16567           fix docs. popt is dead, long live GOption.
16568
16569 2005-10-31  Wim Taymans  <wim@fluendo.com>
16570
16571         * gst/gstbuffer.h:
16572         Small doc fix.
16573
16574 2005-10-31  Andy Wingo  <wingo@pobox.com>
16575
16576         * Boo!
16577
16578         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16579
16580         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16581         need to serialize property notifications on GLib 2.8. GLib 2.6 has
16582         the possibility of deadlocks here if code calling notify() or
16583         set() has a lock that can be taken in another notify handler (ABBA
16584         with class lock and e.g. python GIL state lock).
16585
16586 2005-10-28  Julien MOUTTE  <julien@moutte.net>
16587
16588         * gst/gstbus.c: Doc updates.
16589
16590 2005-10-28  Wim Taymans  <wim@fluendo.com>
16591
16592         * docs/design/part-TODO.txt:
16593         * gst/gstiterator.c:
16594         * gst/gstsystemclock.c:
16595         * gst/gstsystemclock.h:
16596         Doc updates.
16597
16598 2005-10-28  Edward Hervey  <edward@fluendo.com>
16599
16600         * docs/gst/gstreamer-docs.sgml:
16601         * docs/gst/gstreamer-sections.txt:
16602         the GstURIType documentation page is private, it only defines GstURIType
16603         which should be defined in the GstURIHandler page
16604         
16605 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16606
16607         * gst/gstbin.c: (gst_bin_class_init):
16608         * gst/gstbin.h:
16609         * gst/gstutils.c:
16610         Documentation updates.
16611
16612 2005-10-28  Wim Taymans  <wim@fluendo.com>
16613
16614         * docs/gst/gstreamer-sections.txt:
16615         * gst/gstclock.c:
16616         * gst/gstclock.h:
16617         Documented the clocks.
16618
16619 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
16620
16621         * docs/gst/gstreamer-sections.txt:
16622           move some macros to private sections
16623         * gst/gstminiobject.c:
16624         * gst/gstminiobject.h:
16625           add descriptions provided by ds and some more
16626         * gst/gstpad.h:
16627           mark macro as to be removed
16628
16629 2005-10-28  Wim Taymans  <wim@fluendo.com>
16630
16631         * docs/design/part-TODO.txt:
16632         Add an item to TODO.
16633
16634         * gst/gstiterator.c: (gst_iterator_fold),
16635         (gst_iterator_find_custom):
16636         * gst/gstiterator.h:
16637         Add iterator docs.
16638
16639 2005-10-28  Wim Taymans  <wim@fluendo.com>
16640
16641         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16642         (gst_base_transform_init):
16643         Don't leak class.
16644
16645         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16646         An EOS event marks the queue as completely filled.
16647
16648 2005-10-27  Wim Taymans  <wim@fluendo.com>
16649
16650         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16651         (gst_base_sink_do_sync), (gst_base_sink_get_position):
16652         Some more debugging.
16653
16654         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16655         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16656         (gst_base_transform_event), (gst_base_transform_getrange),
16657         (gst_base_transform_chain):
16658         * gst/base/gstbasetransform.h:
16659         Fix debugging,
16660         Protect transform and concurrent buffer alloc with a new lock.
16661         Try not to break ABI/API.
16662
16663 2005-10-27  Wim Taymans  <wim@fluendo.com>
16664
16665         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16666         (gst_base_src_init), (gst_base_src_query),
16667         (gst_base_src_default_newsegment),
16668         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16669         (gst_base_src_send_event), (gst_base_src_event_handler),
16670         (gst_base_src_pad_get_range), (gst_base_src_loop),
16671         (gst_base_src_unlock), (gst_base_src_default_negotiate),
16672         (gst_base_src_start), (gst_base_src_deactivate),
16673         (gst_base_src_activate_push), (gst_base_src_change_state):
16674         Move some stuff around and cleanup things.
16675
16676 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
16677
16678         * gst/base/gstbasesrc.c: (gst_base_src_query):
16679           Add missing break statements.
16680
16681 2005-10-27  Wim Taymans  <wim@fluendo.com>
16682
16683         * check/gst/gstbin.c: (GST_START_TEST):
16684         An extra refcount is taken in basesrc.
16685
16686         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16687         (gst_base_src_get_range), (gst_base_src_pad_get_range),
16688         (gst_base_src_loop):
16689         Small cleanups, check for flushing after being unlocked from the 
16690         LIVE_LOCK. take refcounts correctly (not yet everywhere).
16691         Don't send out EOS when going to READY.
16692
16693 2005-10-27  Wim Taymans  <wim@fluendo.com>
16694
16695         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16696         (gst_base_sink_get_position):
16697         Some more debug.
16698
16699         * gst/gstbin.c: (message_check), (bin_replace_message),
16700         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16701         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16702         (bin_query_duration_init), (bin_query_duration_fold),
16703         (bin_query_duration_done), (bin_query_generic_fold),
16704         (gst_bin_query):
16705         * tools/gst-launch.c: (main):
16706         Remove old option.
16707
16708 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
16709
16710         * examples/controller/audio-example.c: (main):
16711         * examples/queue/queue.c: (event_loop):
16712         * gst/base/gstbasetransform.h:
16713         * gst/gstelement.c: (gst_element_send_event):
16714         * gst/gstevent.h:
16715         * gst/gstpad.c: (gst_pad_send_event):
16716           fixing examples
16717           fixing docs typos
16718           changing log priority in error situations
16719
16720 2005-10-25  Wim Taymans  <wim@fluendo.com>
16721
16722         * gst/gstbin.c: (message_check), (bin_replace_message),
16723         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16724         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16725         (bin_query_duration_init), (bin_query_duration_fold),
16726         (bin_query_duration_done), (bin_query_generic_fold),
16727         (gst_bin_query):
16728         Some doc and debug updates.
16729         Cache previously requested query DURATION for speed. invalidate
16730         cached duration if element posts a DURATION message.
16731
16732 2005-10-25  Wim Taymans  <wim@fluendo.com>
16733
16734         * docs/design/part-TODO.txt:
16735         Update TODO.
16736
16737         * gst/gstbin.c: (message_check), (bin_replace_message),
16738         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16739         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16740         (bin_query_duration_init), (bin_query_duration_fold),
16741         (bin_query_duration_done), (bin_query_generic_fold),
16742         (gst_bin_query):
16743         Handle SEGMENT_START/DONE messages correctly.
16744         More evolved query algorithm that handles duration queries
16745         correctly.
16746
16747         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16748         (gst_element_get_state_func), (gst_element_abort_state),
16749         (gst_element_commit_state), (gst_element_lost_state):
16750         Some more debugging.
16751
16752         * gst/gstmessage.h:
16753         Added doc.
16754
16755 2005-10-25  Wim Taymans  <wim@fluendo.com>
16756
16757         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16758         Don't use invalid stream_time.
16759
16760         * gst/gstevent.c: (gst_event_new_newsegment):
16761         stream_time in newsegment cannot be undefined.
16762
16763 2005-10-24  Wim Taymans  <wim@fluendo.com>
16764
16765         * gst/gstbus.c:
16766         Doc fix.
16767
16768         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16769         (gst_queue_loop):
16770         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16771
16772 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
16773
16774         * docs/libs/tmpl/gstdparam.sgml:
16775         * docs/libs/tmpl/gstdplinint.sgml:
16776         * docs/libs/tmpl/gstdpman.sgml:
16777         * docs/libs/tmpl/gstdpsmooth.sgml:
16778         * docs/libs/tmpl/gstunitconvert.sgml:
16779           these are obsolete
16780
16781 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16782
16783         * configure.ac:
16784           back to HEAD
16785
16786 === release 0.9.4 ===
16787
16788 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16789
16790         * configure.ac:
16791           releasing 0.9.4, "Tyrannosaurus Rex"
16792
16793 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
16794
16795         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16796         (gst_file_sink_get_current_offset):
16797           Use fseeko() and ftello() if available. When falling back on
16798           lseek() to get the current offset, fflush() first to make sure
16799           everything is up-to-date and we get the right offset.
16800
16801 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16802
16803         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16804         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16805         * gst/gsterror.c: (_gst_stream_errors_init):
16806         * gst/gsterror.h:
16807         * gst/gstqueue.c: (gst_queue_loop):
16808         * po/POTFILES.in:
16809           remove prematurely added error category and clean up the instances
16810
16811 2005-10-21  Wim Taymans  <wim@fluendo.com>
16812
16813         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16814         (gst_base_sink_get_position), (gst_base_sink_query),
16815         (gst_base_sink_change_state):
16816         Simply set the right flag when going to playing, that's all
16817         we need to do instead of calling a function inside the object
16818         lock (that could take the lock as well and deadlock)
16819
16820 2005-10-21  Wim Taymans  <wim@fluendo.com>
16821
16822         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16823         (gst_base_src_loop):
16824         Don't warn, the peer element knows what to do best when
16825         the seek failed, it might try something else.
16826
16827 2005-10-21  Wim Taymans  <wim@fluendo.com>
16828
16829         * gst/base/gstbasesrc.c: (gst_base_src_init),
16830         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16831         Fix seeking.
16832
16833 2005-10-21  Wim Taymans  <wim@fluendo.com>
16834
16835         * docs/design/part-segments.txt:
16836         More docs.
16837
16838         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16839         Correctly set caps, even on the subbufer.
16840
16841 2005-10-21  Wim Taymans  <wim@fluendo.com>
16842
16843         * docs/gst/gstreamer-docs.sgml:
16844         * docs/gst/gstreamer-sections.txt:
16845         * gst/gstelement.h:
16846         * gst/gstevent.c:
16847         * gst/gstevent.h:
16848         * gst/gstmessage.h:
16849         * gst/gstpad.h:
16850         * gst/gstparse.h:
16851         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16852         * gst/gsttask.h:
16853         * gst/gstutils.c:
16854         * gst/gstutils.h:
16855         And 2% more doc coverage.
16856
16857 2005-10-21  Andy Wingo  <wingo@pobox.com>
16858
16859         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16860         position reporting.
16861
16862 2005-10-20  Wim Taymans  <wim@fluendo.com>
16863
16864         * gst/gsterror.c: (gst_error_get_message):
16865         * gst/gstparse.h:
16866         * gst/gstquery.h:
16867         * gst/gststructure.c:
16868         * gst/gsttrace.c:
16869         * gst/gstutils.c:
16870         More docs.
16871
16872 2005-10-20  Wim Taymans  <wim@fluendo.com>
16873
16874         * gst/gstbuffer.h:
16875         * gst/gstpad.c:
16876         * gst/gstparse.c:
16877         Another 1% more coverage.
16878
16879 2005-10-20  Wim Taymans  <wim@fluendo.com>
16880
16881         * docs/gst/gstreamer-sections.txt:
16882         * gst/gstelement.c: (gst_element_get_state_func),
16883         (gst_element_abort_state), (gst_element_commit_state),
16884         (gst_element_lost_state):
16885         * gst/gstevent.h:
16886         * gst/gstquery.c: (gst_query_set_position),
16887         (gst_query_parse_position), (gst_query_set_duration),
16888         (gst_query_parse_duration), (gst_query_new_convert):
16889         * gst/gstutils.c:
16890         Yay! 1% more docs coverage.
16891
16892 2005-10-20  Wim Taymans  <wim@fluendo.com>
16893
16894         * gst/gstpad.h:
16895         * gst/gstquery.c: (gst_query_set_position),
16896         (gst_query_parse_position), (gst_query_set_duration),
16897         (gst_query_parse_duration), (gst_query_new_convert):
16898         * gst/gstquery.h:
16899         * gst/gstutils.c: (gst_element_query_convert):
16900         * gst/gstutils.h:
16901         Docs and consistency fixes.
16902
16903 2005-10-20  Wim Taymans  <wim@fluendo.com>
16904
16905         * gst/gsttask.c:
16906         * gst/gsttask.h:
16907         More docs.
16908
16909 2005-10-20  Wim Taymans  <wim@fluendo.com>
16910
16911         * gst/gstbin.c: (message_check), (bin_replace_message),
16912         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16913         (update_degree), (gst_bin_sort_iterator_next),
16914         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16915         Reworked the message handling a bit, cache the messages instead of
16916         only the senders. alows us to do more in the future.
16917
16918 2005-10-20  Wim Taymans  <wim@fluendo.com>
16919
16920         * docs/design/part-TODO.txt:
16921         Update TODO
16922
16923         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16924         (gst_base_sink_query):
16925         Don't use clock time to report position when in EOS.
16926
16927 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
16928
16929         * tools/gst-inspect.c: (print_interfaces),
16930         (print_element_properties_info), (print_element_info):
16931           Fix interface output with gst-inspect -a; don't print
16932           newlines after double/float properties.
16933
16934 2005-10-20  Wim Taymans  <wim@fluendo.com>
16935
16936         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16937         (gst_base_sink_query):
16938         Speed up current position calculation.
16939
16940         * gst/base/gstbasesrc.c: (gst_base_src_query),
16941         (gst_base_src_default_newsegment):
16942         Correctly set stream position in newsegment.
16943
16944         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16945         (update_degree), (gst_bin_sort_iterator_next),
16946         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16947         * gst/gstmessage.c: (gst_message_new_custom):
16948         Clean up debugging info
16949
16950         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16951         (gst_queue_loop), (gst_queue_handle_src_query):
16952         Pause task faster.
16953
16954 2005-10-19  Wim Taymans  <wim@fluendo.com>
16955
16956         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16957         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16958         Fix query handling again.
16959
16960 2005-10-19  Wim Taymans  <wim@fluendo.com>
16961
16962         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16963         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16964         * gst/base/gstbasesrc.c: (gst_base_src_query):
16965         * gst/elements/gstfilesink.c: (gst_file_sink_query):
16966         * gst/elements/gsttypefindelement.c:
16967         (gst_type_find_handle_src_query), (find_element_get_length),
16968         (gst_type_find_element_activate):
16969         API change fix.
16970
16971         * gst/gstquery.c: (gst_query_new_position),
16972         (gst_query_set_position), (gst_query_parse_position),
16973         (gst_query_new_duration), (gst_query_set_duration),
16974         (gst_query_parse_duration), (gst_query_set_segment),
16975         (gst_query_parse_segment):
16976         * gst/gstquery.h:
16977         Bundling query position/duration is not a good idea since duration
16978         does not change much and we don't want to recalculate it for every
16979         position query, so they are separated again..
16980         Base value in segment query is not needed.
16981
16982         * gst/gstqueue.c: (gst_queue_handle_src_query):
16983         * gst/gstutils.c: (gst_element_query_position),
16984         (gst_element_query_duration), (gst_pad_query_position),
16985         (gst_pad_query_duration):
16986         * gst/gstutils.h:
16987         Updates for query API change.
16988         Added some docs here and there.
16989
16990 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16991
16992         * check/gst/gstbin.c: (GST_START_TEST):
16993         * check/gst/gstghostpad.c: (GST_START_TEST):
16994         * check/pipelines/cleanup.c: (GST_START_TEST):
16995           wait on thread to die so we can check refcount correctly
16996
16997 2005-10-18  Wim Taymans  <wim@fluendo.com>
16998
16999         * check/pipelines/stress.c: (GST_START_TEST):
17000         Make check a little more time consuming.
17001
17002 2005-10-18  Wim Taymans  <wim@fluendo.com>
17003
17004         * check/Makefile.am:
17005         * check/pipelines/stress.c: (GST_START_TEST),
17006         (simple_launch_lines_suite), (main):
17007         Small state change torture test.
17008
17009         * docs/design/part-states.txt:
17010         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17011         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
17012         (gst_base_sink_change_state):
17013         Never take state lock from streaming thread, clean up ugly
17014         hacks. Unfortunatly core does not yet support nice ways to
17015         async commit state.
17016         
17017         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
17018         (bin_bus_handler):
17019         Start state recalc if a STATE_DIRTY message is posted, but only
17020         on the toplevel bin.
17021
17022         * gst/gstelement.c: (gst_element_sync_state_with_parent),
17023         (gst_element_get_state_func), (gst_element_abort_state),
17024         (gst_element_commit_state), (gst_element_lost_state),
17025         (gst_element_set_state_func), (gst_element_change_state):
17026         * gst/gstelement.h:
17027         State variables are now protected with the LOCK, the state
17028         lock is only used to serialize _set_state().
17029
17030 2005-10-18  Wim Taymans  <wim@fluendo.com>
17031
17032         * check/gst/gstbin.c: (GST_START_TEST):
17033         * check/gst/gstmessage.c: (GST_START_TEST):
17034         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17035         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
17036         (bin_bus_handler):
17037         * gst/gstelement.c: (gst_element_abort_state),
17038         (gst_element_commit_state), (gst_element_lost_state):
17039         * gst/gstmessage.c: (gst_message_new_state_changed),
17040         (gst_message_new_state_dirty), (gst_message_new_segment_start),
17041         (gst_message_new_segment_done), (gst_message_new_duration),
17042         (gst_message_parse_state_changed),
17043         (gst_message_parse_segment_start),
17044         (gst_message_parse_segment_done), (gst_message_parse_duration):
17045         * gst/gstmessage.h:
17046         * tools/gst-launch.c: (event_loop):
17047         Seriously, this is better than a previous commit as we only need
17048         to notify the fact that an element changed state in a streaming
17049         thread, marking the state of the parents dirty, hence the 
17050         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
17051         message.
17052
17053 2005-10-18  Wim Taymans  <wim@fluendo.com>
17054
17055         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
17056         (gst_bin_recalc_func):
17057         * gst/gstelement.c: (gst_element_set_clock),
17058         (gst_element_abort_state), (gst_element_lost_state):
17059         Cleanups, prepare for state change fixes.
17060
17061 2005-10-18  Wim Taymans  <wim@fluendo.com>
17062
17063         * gst/gstbin.h:
17064         * gst/gstelement.c: (gst_element_class_init),
17065         (gst_element_set_state), (gst_element_set_state_func):
17066         * gst/gstelement.h:
17067         Pending ABI changes.
17068         GThreadPool in GstBinClass to monitor async state changes.
17069         state_cookie in GstElement to detect concurrent gst/set state.
17070         set_state is now virtual too in case a very complicated element
17071         has to be constructed.
17072
17073 2005-10-18  Wim Taymans  <wim@fluendo.com>
17074
17075         * check/gst/gstbin.c: (GST_START_TEST):
17076         * check/gst/gstmessage.c: (GST_START_TEST):
17077         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17078         * gst/gstbin.c: (bin_bus_handler):
17079         * gst/gstelement.c: (gst_element_commit_state),
17080         (gst_element_lost_state):
17081         * gst/gstmessage.c: (gst_message_new_state_changed),
17082         (gst_message_new_segment_start), (gst_message_new_segment_done),
17083         (gst_message_new_duration), (gst_message_parse_state_changed),
17084         (gst_message_parse_segment_start),
17085         (gst_message_parse_segment_done), (gst_message_parse_duration):
17086         * gst/gstmessage.h:
17087         * tools/gst-launch.c: (event_loop):
17088         Make messages future proof.
17089         state-change gets a flag if it was a message comming from the
17090         streaming thread.
17091         segment-start/stop can also be specified in other formats.
17092         A message to notify an app that a pipeline changed playback 
17093         duration.
17094         Also fix a GstMessage leak in -launch
17095
17096 2005-10-18  Andy Wingo  <wingo@pobox.com>
17097
17098         * gst/gstelement.c (gst_element_dispose): More helpful message.
17099
17100 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17101
17102         reviewed by: <delete if not using a buddy>
17103
17104         * common/gtk-doc.mak:
17105
17106 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17107
17108         * gst/gstregistry.c: (gst_registry_scan_path_level):
17109           unref a plug-in we get that was already initialized
17110
17111 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
17112
17113         * docs/gst/gstreamer-sections.txt:
17114         * docs/libs/gstreamer-libs-sections.txt:
17115         * gst/gstelement.h:
17116           add new api entries
17117           hide internal macro
17118
17119 2005-10-17  Andy Wingo  <wingo@pobox.com>
17120
17121         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17122         cleanup.
17123
17124         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17125
17126         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17127
17128         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17129         (gst_element_get_state_func): Better debug message.
17130         (gst_element_commit_state): s/INFO/DEBUG/.
17131         (gst_element_lost_state, gst_element_change_state): 
17132
17133         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17134         (gst_message_new_custom): s/INFO/LOG/.
17135
17136 2005-10-17  Michael Smith <msmith@fluendo.com>
17137
17138         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17139           Check if end time is valid using end time, not start time.
17140
17141 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
17142
17143         * check/gst-libs/controller.c: (GST_START_TEST),
17144         (gst_controller_suite):
17145         * libs/gst/controller/gstcontroller.c:
17146         (gst_controlled_property_set_interpolation_mode):
17147         * libs/gst/controller/gstcontroller.h:
17148         * libs/gst/controller/gstinterpolation.c:
17149         * testsuite/controller/.cvsignore:
17150         * testsuite/controller/Makefile.am:
17151         * testsuite/controller/interpolator.c:
17152           merge controller testsuites
17153           fix broken tests
17154           remove mem-chunk from docs
17155
17156 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17157
17158         * gst/gstmemchunk.c:
17159         * gst/gstmemchunk.h:
17160         * gst/gsttrashstack.c:
17161         * gst/gsttrashstack.h:
17162           out.  get out.  you're fired.  to the Attic !
17163
17164 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17165
17166         * gst/gstcaps.c: (gst_caps_intersect):
17167           fix signedness issues in a (hopefully) correct way
17168         * gst/gstelement.c: (gst_element_pads_activate):
17169           some debugging
17170         * gst/gstobject.c: (gst_object_set_parent):
17171           some debugging
17172
17173 2005-10-17  Julien MOUTTE  <julien@moutte.net>
17174
17175         * gst/gstvalue.h: Fix prototypes.
17176
17177 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17178
17179         * docs/gst/gstreamer-sections.txt:
17180         * gst/gst.c: (gst_version_string):
17181         * gst/gst.h:
17182         * gst/gstversion.h.in:
17183         * win32/common/libgstreamer.def:
17184           add gst_version_string ()
17185
17186 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17187
17188         * configure.ac:
17189           clean up further
17190         * gst/gst.c: (init_post):
17191         * win32/common/config.h.in:
17192           it's PLUGINDIR now
17193         * gst/gstcaps.c: (gst_caps_intersect):
17194           use gint64, the range could be bigger than a guint
17195
17196 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17197
17198         * gst/gstclock.h:
17199           document potential problem in 2038
17200
17201 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17202
17203         * gst/gstcaps.c: (gst_caps_intersect):
17204           Fix guint j diving under 0
17205
17206 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17207
17208         * configure.ac:
17209         * win32/common/config.h:
17210         * win32/common/config.h.in:
17211           check for process.h, declares getpid() on Windows
17212         * gst/gstinfo.c:
17213           include process.h if we have it
17214         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17215         * gst/gstmemchunk.h:
17216           fix signedness issues
17217         * win32/common/libgstreamer.def:
17218           fix get_type's
17219
17220 2005-10-16  Julien MOUTTE  <julien@moutte.net>
17221
17222         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17223         fix. Because of unsigned ints, caps intersection was going nuts and
17224         trying to access structures with G_MAXUINT index. That fixes
17225         videotestsrc ! ffmpegcolorspace ! fakesink
17226         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17227         consistency.
17228
17229 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17230
17231         * configure.ac:
17232           use the gettext macro
17233         * gst/elements/gstelements.c:
17234         * gst/gst.c:
17235         * gst/indexers/gstindexers.c:
17236           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17237         * win32/common/config.h:
17238           updated config.h
17239         * win32/common/config.h.in:
17240           add the template to generate config.h
17241         * win32/common/gstenumtypes.c:
17242         * win32/common/gstversion.h:
17243           updated copies
17244
17245 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17246
17247         * gst/gst.c: (gst_version):
17248         * gst/gstversion.h.in:
17249           add the nano
17250
17251 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17252
17253         * gst/gstevent.h:
17254           Oops, add missing closing bracket.
17255
17256 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17257
17258         * configure.ac:
17259           use common m4's for argument checking
17260
17261 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17262
17263         * docs/gst/gstreamer-sections.txt:
17264         * gst/gstevent.h:
17265           Add GST_EVENT_TYPE_NAME() macro.
17266
17267 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17268
17269         * gst/gstinfo.c:
17270         * gst/gstpluginfeature.c:
17271         * gst/gsttask.c:
17272           privatize more symbols
17273
17274 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17275
17276         * configure.ac:
17277           add srcdir, builddir includes to GST_ALL_CFLAGS, since
17278           everything that uses GStreamer API should have the includes
17279
17280 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17281
17282         * docs/gst/gstreamer-sections.txt:
17283         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17284         * gst/gstvalue.h:
17285           give each value a _get_type, removes the DATA exports
17286
17287 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17288
17289         * gst/gst.c:
17290         * gst/gst.h:
17291           remove _gst_registry_auto_load, not used anymore
17292         * gst/gstbin.c: (gst_bin_get_type):
17293         * gst/gstbin.h:
17294         * gst/gstelement.c: (gst_element_get_type):
17295         * gst/gstelement.h:
17296         * gst/gstobject.c: (gst_object_get_type):
17297         * gst/gstobject.h:
17298         * gst/gstpad.c: (gst_pad_get_type):
17299         * gst/gstpad.h:
17300           make _get_type functions similar, fixes data export from library
17301
17302 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17303
17304         * configure.ac:
17305           correctly make conditionals
17306         * gst/elements/Makefile.am:
17307         * gst/elements/gstelements.c:
17308           fix typo causing fdsrc not to build
17309
17310 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17311
17312         * testsuite/Makefile.am:
17313         * testsuite/bytestream/.cvsignore:
17314         * testsuite/bytestream/Makefile.am:
17315         * testsuite/bytestream/filepadsink.c:
17316         * testsuite/bytestream/gstbstest.c:
17317         * testsuite/bytestream/test1.c:
17318         * testsuite/bytestream/testfile1:
17319         * testsuite/caps/normalisation.c:
17320         * testsuite/caps/random.c: (main):
17321         * testsuite/cleanup/.cvsignore:
17322         * testsuite/cleanup/Makefile.am:
17323         * testsuite/cleanup/cleanup1.c:
17324         * testsuite/cleanup/cleanup2.c:
17325         * testsuite/cleanup/cleanup3.c:
17326         * testsuite/cleanup/cleanup4.c:
17327         * testsuite/cleanup/cleanup5.c:
17328         * testsuite/controller/interpolator.c:
17329         * testsuite/debug/printf_extension.c: (main):
17330         * testsuite/elements/tee.c:
17331         * testsuite/negotiation/.cvsignore:
17332         * testsuite/negotiation/Makefile.am:
17333         * testsuite/negotiation/pad_link.c:
17334         * testsuite/pad/Makefile.am:
17335         * testsuite/pad/chainnopull.c:
17336         * testsuite/pad/getnopush.c:
17337         * testsuite/pad/link.c:
17338         * testsuite/refcounting/sched.c: (create_pipeline):
17339         * testsuite/registry/Makefile.am:
17340         * testsuite/registry/gst-print-formats.c:
17341         * testsuite/schedulers/.cvsignore:
17342         * testsuite/schedulers/142183-2.c:
17343         * testsuite/schedulers/142183.c:
17344         * testsuite/schedulers/143777-2.c:
17345         * testsuite/schedulers/143777.c:
17346         * testsuite/schedulers/147713.c:
17347         * testsuite/schedulers/147819.c:
17348         * testsuite/schedulers/147894-2.c:
17349         * testsuite/schedulers/147894.c:
17350         * testsuite/schedulers/Makefile.am:
17351         * testsuite/schedulers/group_link.c:
17352         * testsuite/schedulers/queue_link.c:
17353         * testsuite/schedulers/relink.c:
17354         * testsuite/schedulers/unlink.c:
17355         * testsuite/schedulers/unref.c:
17356         * testsuite/schedulers/useless_iteration.c:
17357         * testsuite/states/bin.c:
17358           clean out/remove some stuff from the testsuite directories
17359
17360 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17361
17362         * configure.ac:
17363           check for some headers
17364         * gst/elements/Makefile.am:
17365         * gst/elements/gstelements.c:
17366           don't compile fdsrc without sys/socket.h
17367         * gst/indexers/Makefile.am:
17368         * gst/indexers/gstindexers.c: (plugin_init):
17369           don't compile fileindex without mmap
17370
17371 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17372
17373         * configure.ac:
17374           reorganize
17375           clean up
17376           document more
17377           remove cruft
17378         * check/Makefile.am:
17379         * docs/gst/Makefile.am:
17380         * examples/helloworld/Makefile.am:
17381         * gst/Makefile.am:
17382         * gst/base/Makefile.am:
17383         * gst/check/Makefile.am:
17384         * gst/elements/Makefile.am:
17385         * gst/indexers/Makefile.am:
17386         * gst/parse/Makefile.am:
17387         * libs/gst/controller/Makefile.am:
17388         * libs/gst/dataprotocol/Makefile.am:
17389         * examples/helloworld/helloworld.c: (event_loop):
17390           compile fixes, though it's not being compiled currently
17391
17392 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17393
17394         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17395           Add some simple tests for the new taglist date API.
17396
17397 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17398
17399         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17400         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17401           Beautify 'last-message' output: print 'none' for buffer timestamps
17402           and durations if none is set; improve alignment with next messages.
17403
17404 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17405
17406         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17407         * gst/gstpluginfeature.h:
17408         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17409         * gst/gstregistry.h:
17410         * docs/gst/gstreamer-sections.txt:
17411           Add new API to check plugin feature version requirements.
17412
17413         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17414           Some basic tests for the above.         
17415
17416 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17417
17418         * gst/gststructure.c: (gst_structure_to_string):
17419           guard against NULL printf - happens when for example
17420           a message structure with GstClock gets serialized
17421
17422 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17423
17424         * gst/base/gstcollectpads.c: (gst_collectpads_event):
17425           Fix presumable copy'n'pasto.
17426
17427 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17428
17429         * gst/elements/gstfakesrc.h:
17430         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17431         * gst/elements/gsttypefindelement.c:
17432           fix some signedness
17433         * gst/elements/gstfilesink.c: (gst_file_sink_render):
17434           I wonder if this could actually write +2GB files before
17435
17436 2005-10-13  Andy Wingo  <wingo@pobox.com>
17437
17438         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17439         Fix Timmeke Waymans bug.
17440         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17441         string of the proper length to gst_caps_from_string. There's a
17442         potential for, before this fix, that this could cause someone
17443         connecting over the network to cause a segfault if the payload is
17444         not NUL-terminated.
17445
17446 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17447
17448         * docs/design/draft-push-pull.txt:
17449         * docs/design/part-overview.txt:
17450         * docs/random/TODO-pre-0.9:
17451         * docs/random/old/ChangeLog.gstreamer:
17452         * gst/base/gstpushsrc.c:
17453         * gst/gstclock.c:
17454           fixed typos
17455
17456 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17457
17458         * gst/glib-compat.c: (gst_flags_get_first_value):
17459         * gst/glib-compat.h:
17460         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17461         (gst_value_compare_double), (gst_value_serialize_flags):
17462           GLib 2.6 g_flags_get_first_value has a bug that triggers an
17463           infinite loop
17464
17465 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17466
17467         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17468         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17469           fix up debugging
17470         * tools/gst-launch.c: (event_loop):
17471           print out clock nicely
17472
17473 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17474
17475         * docs/gst/gstreamer-sections.txt:
17476         * gst/gsttaglist.h:
17477         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17478         (gst_tag_list_get_date_index):
17479           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17480           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17481
17482 2005-10-13  Julien MOUTTE  <julien@moutte.net>
17483
17484         * gst/base/gstcollectpads.c: (gst_collectpads_event),
17485         (gst_collectpads_chain):
17486         * gst/base/gstcollectpads.h: Handle newsegment and store informations
17487         in CollectData.
17488
17489 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17490
17491         * docs/gst/gstreamer-sections.txt:
17492         * gst/gst.c:
17493         * gst/gsterror.h:
17494         * tools/gst-inspect.c: (main):
17495         * tools/gst-launch.c: (main):
17496         * tools/gst-run.c: (main):
17497         * tools/gst-xmlinspect.c: (main):
17498           fix GOption context leaks
17499           doc fixes
17500
17501 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17502
17503         * gst/gstbus.c:
17504           use HAVE_UNISTD_H
17505         * win32/common/config.h:
17506           update config
17507         * win32/vs6/grammar.dsp:
17508         * win32/vs6/libgstelements.dsp:
17509         * win32/vs6/libgstreamer.dsp:
17510           update vs6 files
17511
17512 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17513
17514         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17515         * gst/base/gstbasesrc.c: (gst_base_src_query):
17516           fix more guint64<->gdouble conversions
17517
17518 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17519
17520         * Makefile.am:
17521           add win32-update target
17522         * win32/common/gstconfig.h:
17523         * win32/common/gstenumtypes.c:
17524         * win32/common/gstenumtypes.h:
17525         * win32/common/gstversion.h:
17526           add files that visual studio can't generate
17527
17528 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17529
17530         * Makefile.am:
17531           add a win32-update target
17532         * configure.ac:
17533
17534 2005-10-12  Wim Taymans  <wim@fluendo.com>
17535
17536         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17537         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17538         * gst/gstelement.c: (gst_element_commit_state),
17539         (gst_element_set_state):
17540         Protect flags with proper lock.
17541         unref provided cached clock in dispose.
17542
17543 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17544
17545         * gst/gst.c:
17546         * gst/gstminiobject.h:
17547         * gst/gstpad.h:
17548         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17549           removed unused flags from miniobject
17550           doc fixes
17551
17552 2005-10-12  Wim Taymans  <wim@fluendo.com>
17553
17554         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17555         (gst_file_sink_event), (gst_file_sink_render):
17556         Flush before seeking.
17557
17558 2005-10-12  Andy Wingo  <wingo@pobox.com>
17559
17560         * gst/gst.c (gst_init_check): Ignore unknown options, as has
17561         always been the case.
17562
17563 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17564
17565         * check/gst/gstbin.c: (GST_START_TEST):
17566         * docs/gst/gstreamer-sections.txt:
17567         * gst/base/gstbasesink.c: (gst_base_sink_init):
17568         * gst/base/gstbasesrc.c: (gst_base_src_init),
17569         (gst_base_src_get_range), (gst_base_src_check_get_range),
17570         (gst_base_src_start), (gst_base_src_stop):
17571         * gst/base/gstbasesrc.h:
17572         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17573         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17574         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17575         (bin_bus_handler):
17576         * gst/gstbin.h:
17577         * gst/gstbuffer.h:
17578         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17579         * gst/gstbus.h:
17580         * gst/gstelement.c: (gst_element_is_locked_state),
17581         (gst_element_set_locked_state), (gst_element_commit_state),
17582         (gst_element_set_state):
17583         * gst/gstelement.h:
17584         * gst/gstindex.c: (gst_index_init):
17585         * gst/gstindex.h:
17586         * gst/gstminiobject.h:
17587         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17588         (gst_object_set_parent):
17589         * gst/gstobject.h:
17590         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17591         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17592         * gst/gstpad.h:
17593         * gst/gstpadtemplate.h:
17594         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17595         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17596         * gst/gstpipeline.h:
17597         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17598         (gst_file_index_commit):
17599         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17600         * testsuite/pad/link.c: (gst_test_src_init),
17601         (gst_test_filter_init), (gst_test_sink_init):
17602         * testsuite/states/locked.c: (main):
17603           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17604           moved bitshift from macro to enum definition
17605
17606 2005-10-12  Wim Taymans  <wim@fluendo.com>
17607
17608         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17609         * gst/elements/gstfilesink.c: (gst_file_sink_event),
17610         (gst_file_sink_render):
17611         Some more debugging info.
17612
17613 2005-10-12  Wim Taymans  <wim@fluendo.com>
17614
17615         * docs/design/part-states.txt:
17616         * tools/gst-launch.c: (main):
17617         Some doc updates.
17618         Revert non-intentional change.
17619
17620 2005-10-12  Wim Taymans  <wim@fluendo.com>
17621
17622         * check/gst/gstbin.c: (GST_START_TEST):
17623         * check/gst/gstelement.c: (GST_START_TEST):
17624         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17625         * check/gst/gstghostpad.c: (GST_START_TEST):
17626         * check/gst/gstpipeline.c: (GST_START_TEST):
17627         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17628         * check/states/sinks.c: (GST_START_TEST):
17629         * gst/elements/gsttypefindelement.c: (stop_typefinding):
17630         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17631         (gst_bin_remove_func), (gst_bin_get_state_func),
17632         (gst_bin_recalc_state), (gst_bin_change_state_func),
17633         (bin_bus_handler):
17634         * gst/gstelement.c: (gst_element_get_state_func),
17635         (gst_element_get_state), (gst_element_abort_state),
17636         (gst_element_commit_state), (gst_element_set_state),
17637         (gst_element_change_state), (gst_element_change_state_func):
17638         * gst/gstelement.h:
17639         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17640         (gst_pipeline_provide_clock_func):
17641         * gst/gstutils.c: (gst_element_link_pads_filtered):
17642         * tools/gst-launch.c: (main):
17643         * tools/gst-typefind.c: (main):
17644         Use GstClockTime in _get_state() instead of GTimeVal.
17645         Remove old code in gstutils.c
17646
17647 2005-10-12  Andy Wingo  <wingo@pobox.com>
17648
17649         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17650         removed.
17651
17652         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17653         there is no task. Shouldn't affect any code, as nothing in our
17654         plugins checks this return value.
17655         (gst_pad_stop_task): Also take the stream lock if the pad has no
17656         task. Docs updated.
17657
17658 2005-10-12  Wim Taymans  <wim@fluendo.com>
17659
17660         * gst/gstpad.c: (pre_activate), (post_activate),
17661         (gst_pad_activate_pull), (gst_pad_activate_push):
17662         Cleanup activation code. Reset old state if
17663         activation failed.
17664
17665 2005-10-12  Wim Taymans  <wim@fluendo.com>
17666
17667         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17668         (gst_base_sink_change_state):
17669         No need to prerol after receiving EOS.
17670
17671         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17672         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17673         * gst/elements/gstidentity.c: (gst_identity_event):
17674         Print events more verbosely.
17675
17676 2005-10-12  Wim Taymans  <wim@fluendo.com>
17677
17678         * check/Makefile.am:
17679         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17680         * check/states/sinks2.c:
17681         Moved sinks2 testcode in sinks check.
17682
17683         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17684         (gst_bin_remove_func), (gst_bin_recalc_state),
17685         (gst_bin_change_state_func), (bin_bus_handler):
17686         Fix potential race condition when _get_state() iterated over an
17687         ASYNC element right before it posted a state completion.
17688
17689         * gst/gstclock.h:
17690         Do proper cast here.
17691
17692         * gst/gstevent.c: (gst_event_new_newsegment),
17693         (gst_event_parse_newsegment):
17694         A playback rate of 0.0 is not allowed.
17695
17696 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17697
17698         * win32/common/config.h:
17699         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17700         (_trewinddir), (_ttelldir), (_tseekdir):
17701         * win32/common/dirent.h:
17702         * win32/common/gtchar.h:
17703         * win32/common/libgstbase.def:
17704         * win32/common/libgstreamer.def:
17705         * win32/vs6/grammar.dsp:
17706         * win32/vs6/gst_inspect.dsp:
17707         * win32/vs6/gst_launch.dsp:
17708         * win32/vs6/gstreamer.dsw:
17709         * win32/vs6/libgstbase.dsp:
17710         * win32/vs6/libgstelements.dsp:
17711         * win32/vs6/libgstreamer.dsp:
17712           Visual Studio 6 project files, and a new common directory.
17713           Phear.
17714
17715 2005-10-11  Wim Taymans  <wim@fluendo.com>
17716
17717         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17718         (gst_base_sink_do_sync), (gst_base_sink_query),
17719         (gst_base_sink_change_state):
17720         * gst/base/gstbasesink.h:
17721         Correctly parse newsegment info.
17722
17723 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17724
17725         * gst/gst.c: (init_post):
17726           split plugin paths correctly
17727
17728 2005-10-11  Wim Taymans  <wim@fluendo.com>
17729
17730         * check/gst/gstevent.c: (GST_START_TEST):
17731         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17732         (gst_base_sink_change_state):
17733         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17734         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17735         * gst/elements/gstfilesink.c: (gst_file_sink_event):
17736         * gst/gstevent.c: (gst_event_new_newsegment),
17737         (gst_event_parse_newsegment):
17738         * gst/gstevent.h:
17739         Added extra flag to newsegment for future API freeze.
17740         Updated check and base elements.
17741
17742 2005-10-11  Julien MOUTTE  <julien@moutte.net>
17743
17744         * gst/base/gstcollectpads.c: (gst_collectpads_init),
17745         (gst_collectpads_add_pad), (gst_collectpads_pop),
17746         (gst_collectpads_event), (gst_collectpads_chain):
17747         * gst/base/gstcollectpads.h: Handle EOS correctly.
17748
17749 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17750
17751         * tools/gst-launch.c: (main):
17752           more null protecting
17753
17754 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17755
17756         * gst/gst-i18n-lib.h:
17757           check for ENABLE_NLS, not GETTEXT_PACKAGE
17758         * gst/gstregistry.c: (gst_registry_add_plugin),
17759         (gst_registry_scan_path_level),
17760         (_gst_registry_remove_cache_plugins):
17761           protect possibly NULL strings
17762         * gst/parse/types.h:
17763           config.h already included before
17764         * tools/gst-inspect.c: (main):
17765           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17766           check for ENABLE_NLS, not GETTEXT_PACKAGE
17767         * tools/gst-launch.c: (main):
17768           check for ENABLE_NLS, not GETTEXT_PACKAGE
17769
17770 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17771
17772         * configure.ac:
17773           if we don't have glib, fail before testing 2.8
17774         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17775           fix a leak, should fix plugins-base testsuite
17776
17777 2005-10-11  Andy Wingo  <wingo@pobox.com>
17778
17779         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17780         take the mode we're going to as an arg. Go head and set the mode
17781         and flushing flags now, so that if the activate function starts a
17782         thread all the flags will be in the right state.
17783         (post_activate): Renamed also. Just handle making sure streaming
17784         finishes for the deactivation case, and setting the deactivated
17785         mode.
17786         (gst_pad_set_active): Complain loudly if deactivation fails.
17787         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17788         (gst_pad_activate_push): Adapt to pre/post_activate changes,
17789         remove the terrible hack.
17790
17791 2005-10-11  Wim Taymans  <wim@fluendo.com>
17792
17793         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17794         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17795         (gst_bin_recalc_state), (gst_bin_change_state_func),
17796         (gst_bin_dispose), (bin_bus_handler):
17797         * gst/gstbin.h:
17798         Prepare to make current EOS message queue more generic.
17799         Fix some typos.
17800
17801         * gst/gstevent.c: (gst_event_new_newsegment),
17802         (gst_event_parse_newsegment):
17803         * gst/gstevent.h:
17804         Rename base to stream_time.
17805
17806         * gst/gstmessage.h:
17807         Fix typo in docs.
17808
17809 2005-10-11  Wim Taymans  <wim@fluendo.com>
17810
17811         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17812         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17813         (gst_bin_change_state_func), (bin_bus_handler):
17814         * gst/gstbin.h:
17815         Work on proper clock selection.
17816
17817 2005-10-11  Edward Hervey  <edward@fluendo.com>
17818
17819         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
17820         * libs/gst/controller/gstcontroller.h:
17821         Added GList* version of _remove_properties() in order to be able to wrap
17822         it in bindings.
17823
17824 2005-10-11  Wim Taymans  <wim@fluendo.com>
17825
17826         * docs/design/part-states.txt:
17827         Some more docs.
17828
17829         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17830         (gst_bin_change_state_func), (bin_bus_handler):
17831         Doc updates. Don't distribute the same clock over and over again.
17832
17833         * gst/gstclock.c:
17834         * gst/gstclock.h:
17835         Doc updates.
17836
17837         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17838         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17839         (gst_pad_send_event):
17840         * gst/gstpad.h:
17841         Make probe emission threadsafe again.
17842         Register quarks and move _get_name() from utils.
17843         Doc updates.
17844
17845         * gst/gstpipeline.c: (gst_pipeline_class_init),
17846         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17847         Only redistribute the clock of it changed.
17848
17849         * gst/gstsystemclock.h:
17850         Doc updates. 
17851
17852         * gst/gstutils.c:
17853         * gst/gstutils.h:
17854         Moved the _flow_get_name() to GstPad.
17855
17856 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17857
17858         * check/gst-libs/gdp.c: (GST_START_TEST):
17859         * check/gst/gstcaps.c: (GST_START_TEST):
17860         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17861         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17862         (gst_dp_packet_from_caps):
17863           fix more valgrind warnings before turning up the heat
17864
17865 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17866
17867         * gst/parse/grammar.y:
17868           some cleanup before the hacking
17869
17870 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17871
17872         * gst/base/gstbasesrc.c: (gst_base_src_query):
17873           use conversions
17874         * gst/gstutils.c: (gst_guint64_to_gdouble),
17875         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17876         * gst/gstutils.h:
17877           externalize, basesrc uses it
17878           obviously the implementation needs testing
17879
17880 2005-10-10  Wim Taymans  <wim@fluendo.com>
17881
17882         * tests/sched/Makefile.am:
17883         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17884         (make_pipeline3), (make_pipeline4), (print_elem), (main):
17885
17886 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17887
17888         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17889           apparently converting from guint64 to double is not implemented
17890           on MSVC
17891
17892 2005-10-10  Wim Taymans  <wim@fluendo.com>
17893
17894         * check/Makefile.am:
17895         * check/generic/states.c: (GST_START_TEST):
17896         * check/gst/gstbin.c: (GST_START_TEST):
17897         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17898         * check/states/sinks.c: (GST_START_TEST):
17899         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17900         (main):
17901         Check fixes, use API as stated in design docs, remove hacks.
17902
17903         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17904         (gst_base_sink_change_state):
17905         Catch stopping our task while we're shutting down.
17906
17907         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17908         (gst_bin_remove_func), (gst_bin_get_state_func),
17909         (gst_bin_recalc_state), (gst_bin_change_state_func),
17910         (bin_bus_handler):
17911         * gst/gstbin.h:
17912         * gst/gstelement.c: (gst_element_init),
17913         (gst_element_get_state_func), (gst_element_abort_state),
17914         (gst_element_commit_state), (gst_element_lost_state),
17915         (gst_element_set_state), (gst_element_change_state),
17916         (gst_element_change_state_func):
17917         * gst/gstelement.h:
17918         New state change algorithm (see #318116)
17919
17920         * gst/gstpipeline.c: (gst_pipeline_class_init),
17921         (gst_pipeline_init), (gst_pipeline_set_property),
17922         (gst_pipeline_get_property), (do_pipeline_seek),
17923         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17924         * gst/gstpipeline.h:
17925         Remove crude state change hacks.
17926
17927         * gst/gstutils.h:
17928         Remove crude hacks.
17929
17930         * tools/gst-launch.c: (main):
17931         Fixes for state change. Needs some more work to fully use the
17932         new stuff.
17933
17934 2005-10-10  Andy Wingo  <wingo@pobox.com>
17935
17936         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17937
17938         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17939         this flag, but it's not even in GLib 2.6. Odd. Hack around the
17940         issue.
17941
17942 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17943
17944         * gst/gstiterator.c: (gst_iterator_new):
17945           Fix my previous commit: GTypes passed to gst_iterator_new()
17946           can be fundamental types.
17947
17948 2005-10-10  Wim Taymans  <wim@fluendo.com>
17949
17950         * gst/gstelement.c: (gst_element_iterate_pad_list),
17951         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17952         (gst_element_iterate_sink_pads):
17953         Use src/sink pads lists for the respective iterators instead
17954         of filtering.
17955
17956 2005-10-10  Andy Wingo  <wingo@pobox.com>
17957
17958         Merged in popt removal + GOption addition patch from Ronald, bug
17959         #169772.
17960
17961         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17962         GstElement macros around, remove popt-related symbols, add goption
17963         stuff.
17964
17965         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17966         
17967         * docs/gst/Makefile.am:
17968         * docs/libs/Makefile.am: No POPT_CFLAGS.
17969         
17970         * examples/manual/Makefile.am:
17971         * docs/manual/basics-init.xml: Doc updates with an example.
17972         
17973         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17974         (gst_init), (parse_one_option), (parse_goption_arg):
17975         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17976         bit of hand merging and debugging to get the GOption stuff working
17977         tho.
17978         
17979         * tests/Makefile.am:
17980         * tools/Makefile.am:
17981         * tools/gst-inspect.c: (main):
17982         * tools/gst-launch.c: (main):
17983         * tools/gst-run.c: (main):
17984         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17985
17986 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17987
17988         * gst/gstiterator.c: (gst_iterator_new):
17989           Add assertions to make sure passed GType is likely to really
17990           be a GType (as the compiler won't catch it if the size and
17991           GType arguments get mixed up, see #318447).
17992
17993 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
17994
17995         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17996
17997         * gst/gstbin.c: (gst_bin_iterate_sorted):
17998           Pass GType and size arguments to gst_iterator_new() in the right
17999           order (maybe we should make _new() take the GType as first argument
18000           just like _new_list()?) (#318447).
18001           
18002
18003 2005-10-10  Wim Taymans  <wim@fluendo.com>
18004
18005         * gst/gstelement.c: (gst_element_finalize):
18006         And free the GStaticRecMutex too
18007
18008 2005-10-10  Andy Wingo  <wingo@pobox.com>
18009
18010         * gst/gstelement.c (gst_element_init, gst_element_finalize):
18011         Allocate and free the mutex properly.
18012
18013         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
18014         New macros.
18015         (GstElement): The state_lock is now recursive. Rebuild your
18016         plugins, suckers. Old macros adapted.
18017
18018         * docs/gst/gstreamer-sections.txt: Doc updates.
18019
18020         * gst/gstutils.h:
18021         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
18022         (g_static_rec_cond_wait): Ported from state changes patch, while
18023         we wait on bug #317802 to be solved in a well-distributed GLib.
18024
18025         * gst/gstelement.c (gst_element_change_state_func): Renamed from
18026         gst_element_change_state, variable name changes.
18027         (gst_element_change_state): Split out of gst_element_set_state in
18028         preparation for the state change merge. Doesn't pay attention to
18029         the 'transition' argument.
18030         (gst_element_set_state): Updates, hopefully purely cosmetic.
18031         (gst_element_sync_state_with_parent): MT-safety. Ported from the
18032         state change patch.
18033         (gst_element_get_state_func): Renamed from get_state, cosmetic
18034         changes.
18035
18036 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18037
18038         * gst/elements/gstelements.c:
18039         * win32/GStreamer.vcproj:
18040         * win32/config.h:
18041         * win32/dirent.c: (_tseekdir):
18042         * win32/gst-inspect.vcproj:
18043         * win32/gst-launch.vcproj:
18044         * win32/gstconfig.h:
18045         * win32/gstelements.vcproj:
18046         * win32/gstenumtypes.c: (gst_object_flags_get_type):
18047         * win32/gstreamer.def:
18048         * win32/msvc71.sln:
18049           updates for the win32 build (patch from Sebastien Moutte)
18050
18051 2005-10-10  Andy Wingo  <wingo@pobox.com>
18052
18053         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
18054         gst_bin_get_state, cleaned up (but no logic changes).
18055         (bin_element_is_sink): Comment updates.
18056         (sink_iterator_filter): Remove needless cast.
18057         (gst_bin_iterate_sinks): Doc update.
18058         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
18059         cleaned up (but no logic changes).
18060
18061         * check/states/sinks.c (test_src_sink): Cleanups from the state
18062         change patch.
18063         (test_livesrc_sink): Sync on the state.
18064
18065         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
18066         the state change patch.
18067
18068         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
18069         change patch.
18070
18071         * check/gst/gstbin.c: Merge in some style fixes and additional
18072         checks from Wim's state change patch.
18073
18074 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18075
18076         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18077         (gst_type_find_helper):
18078           Check whether we have the requested data already in our list of
18079           cached buffers before pulling a new buffer; also make the buffer
18080           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18081
18082 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18083
18084         * gst/gstcaps.c:
18085         * gst/gstevent.c:
18086           doc updates
18087         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18088           don't use long long, it's not portable.  Replacing with
18089           gint64 seems to work; let's hope no skeletons fall out of the closet.
18090
18091 2005-10-10  Andy Wingo  <wingo@pobox.com>
18092
18093         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18094
18095 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
18096
18097         * docs/gst/gstreamer-sections.txt:
18098         * gst/gstevent.c:
18099         * gst/gstevent.h:
18100         * gst/gstinfo.c:
18101         * gst/gstinfo.h:
18102         * gst/gstmessage.c: (gst_message_parse_state_changed):
18103         * gst/gstpad.c:
18104         * gst/gstpad.h:
18105           more docs, fix compilation
18106
18107 2005-10-09  Philippe Khalaf <burger@speedy.org>
18108         * gst/gstmessage.c:
18109           Fixed a few forgotten variables on previous commit
18110
18111 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
18112
18113         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18114           Fix evil typefind crasher: getrange() might return a short
18115           buffer at the end of a file, but gst_type_find_peek() must
18116           either return the full data as requested or NULL, but
18117           never a short buffer.
18118
18119 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18120
18121         * gst/gstmessage.c: (gst_message_new_state_changed),
18122         (gst_message_parse_state_changed):
18123         * gst/gstmessage.h:
18124           don't use "new", it's a C++ keyword
18125
18126 2005-10-08  Wim Taymans  <wim@fluendo.com>
18127
18128         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18129         * gst/gstelement.c: (gst_element_post_message):
18130         * gst/gstpipeline.c: (gst_pipeline_change_state):
18131         Small docs and debug updates.
18132
18133 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18134
18135         * docs/gst/gstreamer-sections.txt:
18136         * gst/gstelementfactory.c:
18137         * gst/gstevent.c:
18138         * gst/gsttaglist.c:
18139           more docs
18140
18141 2005-10-08  Wim Taymans  <wim@fluendo.com>
18142
18143         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18144         (gst_bin_dispose), (bin_bus_handler):
18145         Fix typos, add comments.
18146         Clear EOS list when going to PAUSED from any direction and do it
18147         in a threadsafe way.
18148         Get base time in a threadsafe way too.
18149         Fix confusing debug in the change_state function.
18150         Various other small cleanups.
18151         
18152         * gst/gstelement.c: (gst_element_post_message):
18153         Fix very verbose bus posting code.
18154
18155         * gst/gstpipeline.c: (gst_pipeline_class_init),
18156         (gst_pipeline_set_property), (gst_pipeline_get_property),
18157         (gst_pipeline_change_state):
18158         Small ARG_ -> PROP_ cleanup
18159
18160 2005-10-08  Wim Taymans  <wim@fluendo.com>
18161
18162         * gst/gstbin.c: (is_eos), (bin_bus_handler):
18163         Do a less CPU demanding EOS check because we can.
18164
18165 2005-10-08  Wim Taymans  <wim@fluendo.com>
18166
18167         * libs/gst/dataprotocol/dataprotocol.c:
18168         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18169         (gst_dp_packet_from_event):
18170         * libs/gst/dataprotocol/dataprotocol.h:
18171         * libs/gst/dataprotocol/dp-private.h:
18172         It's about time we bump the version number.
18173         Since event types don't fit in the guint8 anymore describing
18174         the payload type, make payload type 16 bits wide.
18175
18176 2005-10-08  Wim Taymans  <wim@fluendo.com>
18177
18178         * docs/design/part-TODO.txt:
18179         * docs/design/part-clocks.txt:
18180         * docs/design/part-events.txt:
18181         * docs/design/part-gstbin.txt:
18182         * docs/design/part-gstelement.txt:
18183         * docs/design/part-gstpipeline.txt:
18184         * docs/design/part-live-source.txt:
18185         * docs/design/part-messages.txt:
18186         * docs/design/part-overview.txt:
18187         * docs/design/part-states.txt:
18188         Many doc updates.
18189
18190 2005-10-08  Wim Taymans  <wim@fluendo.com>
18191
18192         * gst/gstevent.c:
18193         * gst/gstevent.h:
18194         Fix event quark registration.
18195         Add some space between events so we can insert them in the
18196         right groups.
18197
18198 2005-10-08  Wim Taymans  <wim@fluendo.com>
18199
18200         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18201         (gst_base_sink_handle_buffer):
18202         Better log message.
18203
18204         * gst/gstbus.h:
18205         * gst/gstelement.h:
18206         More docs.
18207
18208         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18209         (gst_queue_set_property), (gst_queue_get_property):
18210         * gst/gstqueue.h:
18211         Remove old unused properties.
18212
18213 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18214         * docs/gst/gstreamer-sections.txt:
18215         * gst/gstmessage.c:
18216         * gst/gstmessage.h:
18217         * gst/gstminiobject.c:
18218         * gst/gstminiobject.h:
18219         * gst/gstobject.h:
18220         * gst/gstpad.h:
18221         * gst/gstutils.h:
18222           lots of new docs and doc fixes
18223
18224 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18225
18226         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18227         * gst/gstplugin.h:
18228         * gst/gstregistry.c: (gst_registry_lookup_locked),
18229         (gst_registry_scan_path_level):
18230         * gst/gstregistryxml.c: (load_plugin):
18231           Only ever load one plugin for a given plugin basename.
18232           This ensures correct overriding of GST_PLUGIN_PATH over
18233           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18234           system installed plugins.
18235
18236 2005-10-08  Wim Taymans  <wim@fluendo.com>
18237
18238         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18239         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18240         Prepare for doing QOS.
18241
18242 2005-10-08  Wim Taymans  <wim@fluendo.com>
18243
18244         * check/gst/gstbin.c: (GST_START_TEST):
18245         * check/pipelines/cleanup.c: (GST_START_TEST):
18246         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18247         Allow new clock message too.
18248
18249 2005-10-08  Wim Taymans  <wim@fluendo.com>
18250
18251         * gst/gstmessage.c: (gst_message_new_error),
18252         (gst_message_new_warning), (gst_message_new_tag),
18253         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18254         (gst_message_new_clock_lost), (gst_message_new_new_clock),
18255         (gst_message_new_segment_start), (gst_message_new_segment_done),
18256         (gst_message_parse_state_changed),
18257         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18258         (gst_message_parse_new_clock):
18259         * gst/gstmessage.h:
18260         Also carry the clock in question.
18261
18262 2005-10-08  Wim Taymans  <wim@fluendo.com>
18263
18264         * gst/gstmessage.c: (gst_message_new_custom),
18265         (gst_message_new_eos), (gst_message_new_error),
18266         (gst_message_new_warning), (gst_message_new_tag),
18267         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18268         (gst_message_new_new_clock), (gst_message_new_segment_start),
18269         (gst_message_new_segment_done), (gst_message_parse_state_changed),
18270         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18271         * gst/gstmessage.h:
18272         Clean up.
18273         Added clock related messages.
18274
18275         * gst/gstpipeline.c: (gst_pipeline_change_state):
18276         Post message when the clock changed.
18277
18278         * tools/gst-launch.c: (event_loop):
18279         Print new clock.
18280
18281 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
18282
18283         * tools/gst-inspect.c: (print_element_properties_info):
18284           Can't pass NULL strings to g_print() on windows.
18285
18286 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18287
18288         * docs/Makefile.am:
18289         * docs/gst/Makefile.am:
18290         * docs/gst/gstreamer-docs.sgml:
18291         * docs/gst/running.xml:
18292         * docs/version.entities.in:
18293           add a chapter on running GStreamer.
18294           document GST_DEBUG and GST_PLUGIN* env vars
18295
18296 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18297
18298         * Makefile.am:
18299           remove include dir
18300         * configure.ac:
18301           remove PLUGINS_BUILDDIR stuff
18302         * gst/gst.c: (init_post):
18303           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18304         * idiottest.mak:
18305           remove, it was condescending and not needed
18306
18307 2005-10-08  Wim Taymans  <wim@fluendo.com>
18308
18309         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18310         (gst_base_sink_handle_object), (gst_base_sink_event),
18311         (gst_base_sink_wait), (gst_base_sink_handle_event),
18312         (gst_base_sink_change_state):
18313         * gst/base/gstbasesink.h:
18314         Repost EOS message while going to PLAYING if still EOS.
18315         Make sure that when receiving a FLUSH_START we don't attempt
18316         to sync on the clock anymore.
18317
18318 2005-10-08  Wim Taymans  <wim@fluendo.com>
18319
18320         * tools/gst-launch.c: (event_loop):
18321         Better message printout.
18322
18323 2005-10-08  Wim Taymans  <wim@fluendo.com>
18324
18325         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18326         (gst_bin_child_proxy_get_children_count):
18327         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18328         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18329         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18330         (gst_child_proxy_set_valist):
18331         * gst/parse/grammar.y:
18332         Make ChildProxy threadsafe and fix mem leaks.
18333
18334 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18335
18336         * gst/gst.c: (init_post):
18337           debug the GST_PLUGIN_ env vars
18338
18339 2005-10-08  Wim Taymans  <wim@fluendo.com>
18340
18341         * check/gst/gstbin.c: (GST_START_TEST):
18342         * check/gst/gstmessage.c: (GST_START_TEST):
18343         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18344         * gst/gstelement.c: (gst_element_commit_state),
18345         (gst_element_lost_state):
18346         * gst/gstmessage.c: (gst_message_new_state_changed),
18347         (gst_message_parse_state_changed):
18348         * gst/gstmessage.h:
18349         * tools/gst-launch.c: (event_loop):
18350         Added extra field to STATE_CHANGE message with the pending
18351         state, which will be different from the new state soon.
18352
18353 2005-10-08  Wim Taymans  <wim@fluendo.com>
18354
18355         * gst/gstbus.c: (gst_bus_pop):
18356         * gst/gstclock.c:
18357         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18358         Small cleanups and doc updates.
18359
18360 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18361
18362         * gst/gst.c: (init_pre):
18363         * gst/gstbin.c: (gst_bin_add_func):
18364           log distributing clocks and base time
18365         * gst/gstregistry.c: (gst_registry_add_plugin),
18366         (gst_registry_scan_path_level), (gst_registry_scan_path):
18367           clean up the debugging output a little
18368         * gst/gstutils.c: (gst_element_state_get_name):
18369           warn about a memleak (I've actually seen this be used, though
18370           it was probably a bug)
18371
18372 2005-10-07  Wim Taymans  <wim@fluendo.com>
18373
18374         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18375         (gst_base_src_init), (gst_base_src_default_newsegment),
18376         (gst_base_src_newsegment), (gst_base_src_do_seek),
18377         (gst_base_src_loop), (gst_base_src_start):
18378         * gst/base/gstbasesrc.h:
18379         Make the newsegment event customizable by subclasses.
18380
18381 2005-10-07  Wim Taymans  <wim@fluendo.com>
18382
18383         * gst/gstevent.c: (gst_event_new_buffersize),
18384         (gst_event_parse_buffersize):
18385         * gst/gstevent.h:
18386         New event for future idea.
18387
18388 2005-10-07  Andy Wingo  <wingo@pobox.com>
18389
18390         * gst/gstelement.c (gst_element_post_message): Doc update.
18391
18392         * docs/gst/gstreamer-sections.txt: Update.
18393
18394         * gst/gstmessage.c (gst_message_new_application): Made into a
18395         function like honest API calls.
18396         (gst_message_new_element): New message type.
18397
18398         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18399
18400         * check/elements/fakesrc.c (test_no_preroll): New check, checks
18401         that setting a live fakesrc to PAUSED returns NO_PREROLL both
18402         times.
18403
18404         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18405         NO_PREROLL from gst_element_change_state to fall through.
18406
18407 2005-10-07  Wim Taymans  <wim@fluendo.com>
18408
18409         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18410         (gst_ghost_pad_do_activate_push):
18411         Activating a ghostpad with no internal pad in push mode
18412         is ok.
18413
18414 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18415
18416         * gst/gstobject.h:
18417           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18418           Fixes compilation on Windows.
18419
18420 2005-10-07  Michael Smith <msmith@fluendo.com>
18421
18422         * tools/gst-inspect.c:
18423           Print out feature and plugin count at the end when printing out
18424           all features.
18425
18426 2005-10-04  Michael Smith <msmith@fluendo.com>
18427
18428         * gst/gsterror.c: (_gst_stream_errors_init):
18429           Add another error string used in a few existing plugins.
18430
18431         * gst/gstplugin.c:
18432         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18433         * tools/gst-inspect.c: (print_element_info):
18434           When a feature disappears from a plugin (and the feature exists in
18435           the cached registry file), things went horribly wrong. This isn't a
18436           complete fix, we should actually be removing the 'missing' features
18437           from the features list when we load the actual plugin. That's not
18438           yet implemented. 
18439
18440 2005-10-04  Johan Dahlin  <johan@gnome.org>
18441
18442         * check/gst/gstiterator.c: (GST_START_TEST):
18443         * gst/gstbin.c: (gst_bin_iterate_elements),
18444         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18445         * gst/gstelement.c: (gst_element_iterate_pads):
18446         * gst/gstformat.c: (gst_format_iterate_definitions):
18447         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18448         (gst_iterator_new_list), (gst_iterator_filter):
18449         * gst/gstiterator.h:
18450         * gst/gstquery.c: (gst_query_type_iterate_definitions):
18451         Add a GType to GstIterator, update callsites and tests.
18452
18453 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18454
18455         * gst/gstpad.c: (gst_pad_event_default_dispatch):
18456           give events a chance to be handled by event probes when the pad
18457           is not linked
18458
18459 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18460
18461         * gst/gstevent.c: (gst_event_type_get_name),
18462         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18463         * gst/gstevent.h:
18464           add string representations for event types
18465
18466 2005-10-06  Wim Taymans  <wim@fluendo.com>
18467
18468         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18469         Don't use NULL pointers.
18470
18471 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18472
18473         * gst/gst_private.h:
18474         * gst/gstbus.c:
18475         * gst/gstelement.c:
18476         * gst/gstinfo.c:
18477         * gst/gstpluginfeature.c:
18478           widen the debug category in output to fit the biggest one we have
18479           add a bus category and use it
18480           play with the colors
18481           fix up some categories
18482
18483 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18484
18485         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18486           add push activation of sink ghost pads.
18487           Andye, please verify
18488
18489 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18490
18491         * gst/gstutils.c: (gst_element_link_pads):
18492           fix a bug in the case where neither element has a pad
18493         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18494           add a test for that case
18495
18496 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18497
18498         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18499           emit have-data before checking for peers.  This allows
18500           for probe handlers to connect elements.  This helps autopluggers.
18501         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18502         (gst_pad_suite):
18503           add six checks, linked/unlinked with no/true/false probe
18504
18505 2005-10-04  Wim Taymans  <wim@fluendo.com>
18506
18507         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18508         (gst_fake_sink_event), (gst_fake_sink_preroll),
18509         (gst_fake_sink_render), (gst_fake_sink_change_state):
18510         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18511         (gst_fake_src_get_property), (gst_fake_src_create),
18512         (gst_fake_src_stop):
18513         * gst/elements/gstidentity.c: (gst_identity_stop):
18514         Protect last_message with lock.
18515
18516 2005-10-04  Edward Hervey  <edward@fluendo.com>
18517
18518         * gst/gstformat.h: 
18519         Added precision in the comments for GST_FORMAT_DEFAULT
18520
18521 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
18522
18523         * tools/gst-launch.c: (main):
18524           Don't try to run erroneous pipelines.
18525
18526 2005-10-04  Julien MOUTTE  <julien@moutte.net>
18527
18528         * gst/gstbus.c: We don't need this header.
18529
18530 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18531
18532         * configure.ac:
18533           back to development
18534
18535 === release 0.9.3 ===
18536
18537 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18538
18539         * README:
18540         * configure.ac:
18541           Releasing 0.9.3, "Unregistered"
18542
18543 2005-10-03  Andy Wingo  <wingo@pobox.com>
18544
18545         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18546         whereby calling a pad's activatepush() function can start a thread
18547         that starts to push or pull before the pad gets the FLUSHING flag
18548         unset. Hack around it by holding the stream lock until the flag is
18549         set. Need to replace this with a proper solution. Together with
18550         the ghost pad fixes, this fixes mp3 playing/tagreading.
18551
18552         * docs/design/part-gstghostpad.txt: Add a note about activation of
18553         proxy pads outside of ghost pads.
18554
18555         * gst/gstghostpad.c: Implement the ghost pad activation design.
18556
18557 2005-10-02  Andy Wingo  <wingo@pobox.com>
18558
18559         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18560         It is volatile, after all.
18561
18562         * docs/design/part-gstghostpad.txt: Flesh out activation with
18563         ghost pads.
18564
18565         * gst/base/gstbasesrc.c (gst_base_src_init): Use
18566         GST_DEBUG_FUNCPTR.
18567
18568 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
18569
18570         * configure.ac:
18571           Fix (unused) AM_CONDITIONAL tests.
18572
18573 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
18574
18575         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18576
18577         * gst/gstutils.c: (gst_pad_query_convert):
18578           Add assertion that makes sure src_val is >=0, just like
18579           gst_query_new_convert() has. (#315895)
18580
18581 2005-09-30  Edward Hervey  <edward@fluendo.com>
18582
18583         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18584         Let's not iterate pads we're not interested in, it avoids getting 
18585         sky-high refcounts on sinkpad.
18586
18587 2005-09-30  Wim Taymans  <wim@fluendo.com>
18588
18589         * gst/gstelement.c: (gst_element_set_state),
18590         (gst_element_change_state):
18591         Small tweak, element in ASYNC remains ASYNC.
18592
18593 2005-09-30  Wim Taymans  <wim@fluendo.com>
18594
18595         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18596         Only error is an error.
18597
18598         * gst/gstbin.c: (gst_bin_change_state):
18599         Better debugging.
18600
18601         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18602         Also call pad_block in pad alloc.
18603
18604         * gst/gstutils.c: (gst_flow_get_name):
18605         Better debugging.
18606
18607 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18608
18609         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18610         (gst_base_src_get_range):
18611           Fix documentation typos. Add some more debug info.
18612
18613 2005-09-29  David Schleef  <ds@schleef.org>
18614
18615         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18616           more end-user friendly.
18617         * tools/gst-inspect.c: (main): Check if command-line argument is
18618           a file and attempt to load that file as a plugin.
18619
18620 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18621
18622         * check/gst/gstbin.c:
18623         * check/states/sinks.c:
18624           fix tests for the new warning
18625         * check/gst/gstpipeline.c:
18626           add a test for pipeline and bus interaction
18627         * gst/gstelement.c:
18628           elements should be NULL if they get disposed; add a warning if not
18629
18630 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18631
18632         * gst/gstobject.c:
18633           for 2.6 refcounting, make debug log more correct by printing
18634           the actual refcounts at the time of swap (Wim)
18635
18636 2005-09-29  Andy Wingo  <wingo@pobox.com>
18637
18638         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18639         removes signal watches previously added via
18640         gst_bus_add_signal_watch.
18641         (gst_bus_add_signal_watch): Don't return the source id, just store
18642         it on the bus if there wasn't an id already.
18643
18644         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18645         add_signal_watch and remove_signal_watch.
18646
18647 2005-09-29  Edward Hervey  <edward@fluendo.com>
18648
18649         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
18650         Better if we actually iterate the list :)
18651
18652 2005-09-29  Wim Taymans  <wim@fluendo.com>
18653
18654         * check/gst/gstbin.c: (GST_START_TEST):
18655         Change for new bus API.
18656
18657         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18658         (send_messages), (GST_START_TEST), (gstbus_suite):
18659         Change for new bus signal API.
18660
18661         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18662         (gst_bus_source_prepare), (gst_bus_source_check),
18663         (gst_bus_create_watch), (gst_bus_add_watch_full),
18664         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18665         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18666         * gst/gstbus.h:
18667         Remove support for multiple GSources operating on different
18668         message types as it is too complex and unneeded when using
18669         signals.
18670         Added support for receiving signals from the bus.
18671
18672 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18673
18674         * docs/libs/tmpl/gstdataprotocol.sgml:
18675         * docs/manual/advanced-dataaccess.xml:
18676         * gst/elements/gstcapsfilter.c:
18677         * gst/gstutils.c:
18678           rename filter-caps to caps property
18679
18680 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18681
18682         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18683           More robust fraction string parsing.
18684
18685         * docs/pwg/appendix-porting.xml:
18686           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18687
18688 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18689
18690         * gst/gstcaps.c: (gst_caps_do_simplify):
18691           Thou shalt not free a structure and then continue using it
18692           in the next loop iteration.
18693
18694         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18695         (gst_caps_suite):
18696           Add test case for caps simplification.
18697
18698 2005-09-29  Wim Taymans  <wim@fluendo.com>
18699
18700         * check/gst/gstbin.c: (GST_START_TEST):
18701         Oops.
18702
18703 2005-09-29  Wim Taymans  <wim@fluendo.com>
18704
18705         * check/gst/gstbin.c: (GST_START_TEST):
18706         Add bus to bin.
18707
18708         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18709         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18710         (find_element), (gst_bin_sort_iterator_next),
18711         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18712         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18713         (gst_bin_change_state), (gst_bin_dispose):
18714         A bin does not have a bus, it gets the bus from the parent.
18715
18716         * gst/gstelement.c: (gst_element_requires_clock),
18717         (gst_element_provides_clock), (gst_element_is_indexable),
18718         (gst_element_is_locked_state), (gst_element_change_state),
18719         (gst_element_set_bus_func):
18720         Small cleanups.
18721
18722         * gst/gstpipeline.c: (gst_pipeline_class_init),
18723         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18724         The pipeline provides a bus.
18725
18726 2005-09-28  Johan Dahlin  <johan@gnome.org>
18727
18728         * gst/gstmessage.c (gst_message_parse_state_changed): Use
18729         gst_structure_get_enum instead of gst_structure_get_int
18730
18731         * gst/gststructure.c (gst_structure_get_enum): Impl.
18732
18733         * gst/gststructure.h (gst_structure_get_enum): Add
18734
18735         * docs/gst/gstreamer-sections.txt: Ditto
18736
18737         * gst/gstmessage.c (gst_message_new_state_changed): Use
18738         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18739         which does introspection.
18740         Reviewed by Christian Schaller
18741
18742 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18743
18744         * gst/gstinfo.c: (gst_debug_log_default):
18745           don't do dummy g_strdup()s
18746         * libs/gst/controller/gstcontroller.c:
18747         (on_object_controlled_property_changed),
18748         (gst_controlled_property_new), (gst_controller_new_valist),
18749         (gst_controller_new_list),
18750         (gst_controller_remove_properties_valist), (gst_controller_set),
18751         (gst_controller_get), (gst_controller_sync_values),
18752         (gst_controller_get_value_array), (_gst_controller_class_init),
18753         (gst_controller_get_type):
18754         * libs/gst/controller/gstcontroller.h:
18755         * libs/gst/controller/gstinterpolation.c:
18756         (gst_controlled_property_find_timed_value_node):
18757           convert // to /**/ comments
18758
18759 2005-09-28  Wim Taymans  <wim@fluendo.com>
18760
18761         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18762         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18763         (gst_bus_sync_signal_handler):
18764         * gst/gstbus.h:
18765         Added async-message and sync-message signals to the bus.
18766         Added helper BusFunc to emit signals for all posted messages.
18767
18768         * gst/gstmessage.c: (gst_message_type_get_name),
18769         (gst_message_type_to_quark), (gst_message_get_type):
18770         * gst/gstmessage.h:
18771         Register quarks for message names.
18772
18773 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18774
18775         * docs/libs/gstreamer-libs-sections.txt:
18776         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18777         (gst_controller_new_list):
18778         * libs/gst/controller/gstcontroller.h:
18779           added another constructor for language bindings
18780
18781 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18782
18783         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18784           add another check
18785         * gst/gstbus.c:
18786           add some doc
18787         * gst/gstinfo.c: (_gst_debug_init):
18788           slightly more readable color for refcount debugging
18789
18790 2005-09-28  Wim Taymans  <wim@fluendo.com>
18791
18792         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
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         Small doc fixes. get_clock -> provide_clock.
18799
18800         * gst/gstelement.c: (gst_element_class_init),
18801         (gst_element_provides_clock), (gst_element_provide_clock),
18802         (gst_element_get_clock), (gst_element_commit_state),
18803         (gst_element_lost_state):
18804         * gst/gstelement.h:
18805         Make get/set_clock() symetric. Add provide_clock vmethod since
18806         that is actually what this function does.
18807
18808         * gst/gstpipeline.c: (gst_pipeline_class_init),
18809         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18810         (gst_pipeline_get_clock):
18811         get_clock -> provide_clock.
18812
18813 2005-09-28  Andy Wingo  <wingo@pobox.com>
18814
18815         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18816         lieu of real docs...
18817
18818         * gst/elements/gstfdsrc.c: Cleaned up a bit.
18819
18820 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
18821
18822         * gst/elements/gstcapsfilter.c:
18823         * gst/elements/gstfakesink.c:
18824         * gst/elements/gstfakesrc.c:
18825         * gst/elements/gstfdsink.c:
18826         * gst/elements/gstfdsrc.c:
18827         * gst/elements/gstfilesink.c:
18828         * gst/elements/gstfilesrc.c:
18829         * gst/elements/gstidentity.c:
18830         * gst/elements/gsttee.c:
18831         * gst/elements/gsttypefindelement.c:
18832           Make element details static.
18833
18834 2005-09-28  Wim Taymans  <wim@fluendo.com>
18835
18836         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18837         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18838         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18839         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18840         (gst_bin_change_state), (gst_bin_dispose):
18841         Some documentation updates.
18842         Clean up dispose handlers.
18843
18844         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18845         * gst/gstpad.c: (gst_pad_dispose):
18846         Clean up dispose handler.
18847
18848         * gst/gstpipeline.c: (gst_pipeline_change_state):
18849         Removed spurious UNLOCK.
18850
18851 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
18852
18853         * docs/gst/gstreamer-sections.txt:
18854         * gst/base/gstbasesrc.h:
18855         * gst/gstelement.h:
18856         * gst/gstevent.h:
18857         * gst/gstobject.h:
18858         * gst/gstpad.h:
18859         * gst/gstpipeline.c:
18860         * gst/gstpipeline.h:
18861         * gst/gstutils.h:
18862         * gst/gstxml.h:
18863           added two new functions to the docs
18864                 documents all undocumented GstXXXFlags
18865                 completed some incomplete docs 
18866
18867 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18868
18869         * gst/gstbin.c: (gst_bin_dispose):
18870         * gst/gstelement.c: (gst_element_dispose):
18871           remove now useless and leaky resurrection code in dispose
18872         * gst/base/gstbasesrc.c: (gst_base_src_init):
18873         * gst/gstelementfactory.c: (gst_element_factory_create):
18874         * gst/gstobject.c: (gst_object_set_parent):
18875           add some debugging
18876
18877 2005-09-27  Wim Taymans  <wim@fluendo.com>
18878
18879         * docs/design/part-TODO.txt:
18880         Update TODO.
18881
18882         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18883         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18884         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18885         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18886         (gst_bin_change_state):
18887         * gst/gstelement.h:
18888         Remove element variable, we keep element info in the iterator now.
18889
18890 2005-09-27  Andy Wingo  <wingo@pobox.com>
18891
18892         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18893         values.
18894
18895 2005-09-27  Wim Taymans  <wim@fluendo.com>
18896
18897         * check/gst/gstbin.c: (GST_START_TEST):
18898         Enable check that works now.
18899
18900         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18901         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18902         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18903         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18904         (gst_bin_change_state):
18905         * gst/gstbin.h:
18906         Redid the state change algorithm using a topological sort algo.
18907         Handles all cases correctly.
18908         Exposed iterator for state change order.
18909
18910         * gst/gstelement.h:
18911         Temp storage for state changes. Need to get rid of this soon.
18912
18913 2005-09-27  Wim Taymans  <wim@fluendo.com>
18914
18915         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18916         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18917         (link_fold_func), (gst_pad_proxy_setcaps):
18918         Leak fixes, the fold functions need to unref the passed object and
18919         _get_parent_*() returns ref to parent.
18920
18921 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18922
18923         * check/gst/gstbuffer.c: (test_make_writable):
18924           Plug leak in test case and fix 'make check-valgrind'
18925
18926 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18927
18928         * gst/gstbuffer.c: (gst_subbuffer_init):
18929           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18930           works correctly in all circumstances (we could have just copied
18931           the parent buffer's readonly flag, but conceptually it seems
18932           cleaner to mark all subbuffers as read-only). (based on patch
18933           by Alessandro Decina, #314710).
18934         
18935         * check/gst/gstbuffer.c: (create_read_only_buffer),
18936         (test_make_writable), (test_subbuffer_make_writable),
18937         (gst_test_suite):
18938           Add some tests for gst_buffer_make_writable().
18939
18940 2005-09-27  Wim Taymans  <wim@fluendo.com>
18941
18942         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18943         use gst_object_has_ancestor().
18944
18945         * gst/gstobject.c: (gst_object_has_ancestor):
18946         * gst/gstobject.h:
18947         gst_object_has_ancestor() copied from gstbin.c as it is a
18948         useful function.
18949
18950         * tests/instantiate/create.c: (create_all_elements):
18951         * tests/lat.c: (handoff_src), (handoff_sink):
18952         * tests/sched/runxml.c: (main):
18953         * tests/seeking/seeking1.c: (main):
18954         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18955         (main):
18956         Fix compilation of some tests.
18957
18958 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18959
18960         * gst/gsterror.h:
18961           Remove comment. GST_TYPE_G_ERROR is here to stay,
18962           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18963           (#316961, #300610).
18964
18965 2005-09-26  Wim Taymans  <wim@fluendo.com>
18966
18967         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18968         Added check that shows error in state change order.
18969
18970 2005-09-26  Wim Taymans  <wim@fluendo.com>
18971
18972         * gst/gstbin.c: (gst_bin_change_state):
18973         Make state change function use 3 queues again, we were
18974         adding elements in the wrong order.
18975
18976         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18977         Some debug info,
18978
18979         * gst/gstpad.c: (gst_pad_dispose):
18980         Added some debug info first.
18981
18982 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
18983
18984         * docs/design/draft-push-pull.txt:
18985         * docs/design/part-events.txt:
18986         * docs/design/part-overview.txt:
18987         * docs/design/part-scheduling.txt:
18988           Replace all _pull_region() with _pull_range()
18989           
18990 2005-09-26  Andy Wingo  <wingo@pobox.com>
18991
18992         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18993
18994         * check/gst-libs/controller.c: Update for controller api change.
18995
18996         * configure.ac: 
18997         * tests/Makefile.am:
18998         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18999         over by GLib bug 118439.
19000         
19001         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
19002         routines to a function.
19003
19004         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
19005
19006         * libs/gst/controller/gsthelper.c:
19007         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
19008         (gst_object_sync_values): Renamed from sink_values. Ugh.
19009
19010         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
19011
19012         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
19013         Renamed from controller_key, as it is exported.
19014
19015         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
19016
19017 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
19018
19019         * gst/Makefile.am:
19020         * gst/gst.h:
19021         * gst/gstpad.h:
19022         * gst/gstpadtemplate.h:
19023         * gst/gstquery.c:
19024         * gst/gstquery.h:
19025         * gst/gstqueryutils.c:
19026         * gst/gstqueryutils.h:
19027           remove queryutils headers after moving the two used functions
19028           to gstquery.  also fixes build problem for gstsiddec
19029
19030 2005-09-26  Michael Smith <msmith@fluendo.com>
19031
19032         * tools/gst-launch.1.in:
19033         Correct documentation in manpage of debug syntax
19034
19035 2005-09-26  Wim Taymans  <wim@fluendo.com>
19036
19037         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19038         (gst_base_src_is_seekable), (gst_base_src_change_state):
19039         Some more debugging info.
19040
19041 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19042
19043         * docs/gst/gstreamer-sections.txt:
19044         * gst/base/gstbasetransform.h:
19045         * gst/gstindex.h:
19046           added more docs
19047
19048 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19049
19050         * docs/gst/.cvsignore:
19051         * docs/gst/tmpl/.cvsignore:
19052         * docs/gst/tmpl/gstpipeline.sgml:
19053         * docs/gst/tmpl/gstplugin.sgml:
19054         * gst/gstpipeline.c:
19055         * gst/gstplugin.c:
19056         * gst/gstplugin.h:
19057           inlined the last two docs files
19058           removed the tmpl directory from cvs (no more conflicts here!)
19059
19060 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19061
19062         * docs/gst/gstreamer-sections.txt:
19063         * docs/gst/tmpl/.cvsignore:
19064         * docs/gst/tmpl/gstpad.sgml:
19065         * docs/gst/tmpl/gstpadtemplate.sgml:
19066         * gst/Makefile.am:
19067         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
19068         (gst_pad_finalize), (gst_pad_set_pad_template):
19069         * gst/gstpad.h:
19070         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
19071         (gst_pad_template_class_init), (gst_pad_template_init),
19072         (gst_pad_template_dispose), (name_is_valid),
19073         (gst_static_pad_template_get), (gst_pad_template_new),
19074         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19075         (gst_pad_template_pad_created):
19076         * gst/gstpadtemplate.h:
19077           inlined two more docs
19078           factored gstpadtemplate out of gstpad
19079
19080 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
19081
19082         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19083         (test_children_state_change_order_semi_sink):
19084           Fix test case: we can't rely on a fixed state change order when
19085           going from READY => PAUSED because the sink might commit its 
19086           new state first when the first buffer created by the source 
19087           reaches the sink before the source has finished its change state.
19088           (Test case still fails at times, see #316856, comment 5 onwards)
19089
19090 2005-09-24  Wim Taymans  <wim@fluendo.com>
19091
19092         * docs/design/part-events.txt:
19093         * docs/design/part-gstbus.txt:
19094         * docs/design/part-gstpipeline.txt:
19095         * docs/design/part-messages.txt:
19096         * docs/design/part-overview.txt:
19097         * docs/design/part-segments.txt:
19098         * gst/gstbin.c:
19099         * gst/gstbuffer.c:
19100         * gst/gstclock.c:
19101         * gst/gstelement.c:
19102         * gst/gstevent.c:
19103         * gst/gstfilter.c:
19104         * gst/gstiterator.c:
19105         Various documentation updates.
19106
19107 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19108
19109         * gst/gstclock.h:
19110           Well, that's embarassing.  Luckily we weren't using
19111           GST_CLOCK_DIFF anywhere.
19112
19113 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19114
19115         * common/gtk-doc.mak:
19116           don't fail on building XML, FC4 slave shows a bunch of doc
19117           missing bits that I don't get
19118         * gst/gstpad.c:
19119         * gst/gstpipeline.c:
19120         * gst/gststructure.c:
19121           some doc updates
19122
19123 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19124
19125         * docs/design/part-gstbin.txt:
19126         * docs/design/part-gstbus.txt:
19127         * gst/gstbus.c:
19128           Add blurb about how the bus goes into flushing mode and
19129           drops all messages when its bin goes from READY into NULL 
19130           state.
19131
19132 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19133
19134         * docs/gst/gstreamer-sections.txt:
19135         * gst/gststructure.c: (gst_structure_get_clock_time):
19136         * gst/gststructure.h:
19137           add a method to get a GstClockTime out of a structure
19138
19139 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19140
19141         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19142         (test_children_state_change_order_semi_sink), (gst_bin_suite):
19143           Added test to check state change order in bins (can still be made
19144           to fail here under heavy disk load; bails out with 'Push on pad
19145           fakesink:sink0, but it was not activated in push mode').
19146
19147         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19148           Fix state change order when there is only a semi sink (#316856)
19149
19150         * gst/gstbus.c: (gst_bus_class_init):
19151           Use _class_peek_parent(), not _class_ref(); fix docs to say
19152           'default main context' instead of 'mainloop' where that is
19153           what's meant.
19154
19155         * gst/gstelement.c: (gst_element_commit_state),
19156         (gst_element_set_state):
19157           Fix typos in debug messages
19158
19159 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19160
19161         * docs/README:
19162         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19163         * gst/gstpluginfeature.c:
19164         * gst/gstutils.c:
19165           various doc updates
19166         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19167           change an assert into an error until it gets fixed properly
19168
19169 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
19170
19171         * docs/gst/gstreamer-sections.txt:
19172         * docs/gst/tmpl/.cvsignore:
19173         * docs/gst/tmpl/gstelement.sgml:
19174         * docs/gst/tmpl/gstinfo.sgml:
19175         * docs/gst/tmpl/gstobject.sgml:
19176         * gst/gstelement.c:
19177         * gst/gstelement.h:
19178         * gst/gstinfo.c:
19179         * gst/gstinfo.h:
19180         * gst/gstobject.c: (gst_object_class_init):
19181         * gst/gstobject.h:
19182           inlined 3 more biiiig doc files and added some missing docs on the fly
19183
19184 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19185
19186         * check/gst/.cvsignore:
19187         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19188         * gst/gstregistryxml.c: (load_plugin),
19189         (gst_registry_xml_save_plugin):
19190           put back source in registry.  add checks for find_plugin.
19191         * testsuite/states/bin.c: (assert_state), (empty_bin),
19192         (test_adding_one_element), (main):
19193         * testsuite/states/locked.c: (main):
19194           some compile/run fixes
19195
19196 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19197
19198         * check/gst/gstvalue.c: (GST_START_TEST):
19199           fix leaks in the test itself
19200
19201 2005-09-22  Wim Taymans  <wim@fluendo.com>
19202
19203         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19204         (gst_base_sink_send_event), (gst_base_sink_peer_query),
19205         (gst_base_sink_query):
19206         Prepare for more accurate position reporting and query
19207         handling.
19208
19209         * gst/gstelement.c: (gst_element_send_event),
19210         (gst_element_set_state):
19211         Add some comment.
19212
19213 2005-09-22  Wim Taymans  <wim@fluendo.com>
19214
19215         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19216         (gst_query_parse_segment):
19217         * gst/gstquery.h:
19218         More documentation.
19219         Add segment query for future use.
19220
19221 2005-09-22  Wim Taymans  <wim@fluendo.com>
19222
19223         * gst/gstbin.c: (gst_bin_add_func):
19224         Some more debug info.
19225
19226         * gst/gstelement.c: (gst_element_send_event):
19227         Simplify send_event
19228
19229         * gst/gstelement.h:
19230         Don't know how flags got broken.
19231
19232         * gst/gstquery.h:
19233         Added new query.
19234
19235 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19236
19237         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19238           Add simplistic test suite for GST_TYPE_DATE serialisation and
19239           deserialisation.
19240
19241 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19242
19243         * docs/gst/gstreamer-sections.txt:
19244         * gst/gststructure.c: (gst_structure_set_valist),
19245         (gst_structure_get_date):
19246         * gst/gststructure.h:
19247         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19248         (gst_date_copy), (gst_value_compare_date),
19249         (gst_value_serialize_date), (gst_value_deserialize_date),
19250         (gst_value_transform_date_string),
19251         (gst_value_transform_string_date), (_gst_value_initialize):
19252         * gst/gstvalue.h:
19253           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19254           bunch of utility functions along with a hack that checks that
19255           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19256           is required. Part of the grand scheme in #170777.
19257
19258 2005-09-22  Andy Wingo  <wingo@pobox.com>
19259
19260         * gst/gstconfig.h.in: Psych out gtk-doc.
19261
19262         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19263
19264         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19265
19266         * tools/gst-inspect.c (print_element_list): Plug some
19267         inconsequential leaks.
19268
19269         * gst/gstregistry.c (gst_registry_get_default): Doc.
19270
19271         * check/gst/gstplugin.c: 
19272         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19273         * gst/gstelementfactory.c (gst_element_factory_create): 
19274         * gst/gstindexfactory.c (gst_index_factory_create): Update for
19275         refcount changes.
19276
19277         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19278         (gst_plugin_feature_load): Doc, don't eat refs.
19279
19280         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19281         (gst_plugin_list_free): Doc.
19282         (gst_plugin_load_file): Doc updates.
19283
19284         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19285         accessors returning refcounted objects, return a ref.
19286
19287         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19288         accessor for caps. IDEMPOTENCE. Oh yes.
19289
19290 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
19291
19292         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19293
19294         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19295         (_gst_debug_register_funcptr):
19296           Add mutex to serialise access to the hash table with
19297           the function pointer => function name string mapping;
19298           make that hash table static scope (#316809).
19299
19300         * gst/registries/.cvsignore:
19301           Remove left-over file.
19302
19303 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19304
19305         * docs/pwg/appendix-porting.xml:
19306           And something about newsegment events and caps-on-buffers to
19307           the porting guide (feel free to improve).
19308
19309 2005-09-21  Andy Wingo  <wingo@pobox.com>
19310
19311         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19312         data and event probes on the same pad.
19313         (test_buffer_probe_once): Test that removing probes from within
19314         the probe functions works.
19315
19316 2005-09-21  Andy Wingo  <wingo@pobox.com>
19317
19318         * check/gst/gstutils.c: New file.
19319         (test_buffer_probe_n_times): A simple buffer probe test. More to
19320         come, foolios.
19321
19322         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19323         have-data::buffer, not have-data.
19324         (gst_pad_add_event_probe): Likewise for have-data::event.
19325         (gst_pad_add_data_probe): More docs. The part about 'resolving the
19326         peer' isn't quite right yet though.
19327         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
19328         (gst_pad_remove_data_probe): Change to take the guint handler_id
19329         as their arg, not the function+data, which is more glib-like.
19330
19331         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19332         the signal emission to indicate if the data is a buffer or an
19333         event.
19334         (gst_pad_get_type): Initialize buffer and event quarks.
19335         (gst_pad_class_init): have-data is now a detailed signal, yes it
19336         is.
19337
19338 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19339
19340         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19341         * gst/gstutils.c: (gst_util_set_value_from_string),
19342         (gst_util_set_object_arg):
19343           Don't put functional code in g_return_if_fail() or
19344           g_return_val_if_fail() statements, otherwise things will 
19345           break when G_DISABLE_CHECKS is defined during compilation.
19346
19347 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19348
19349         * docs/gst/tmpl/.cvsignore:
19350         * docs/gst/tmpl/gstvalue.sgml:
19351         * gst/gstvalue.c:
19352         * gst/gstvalue.h:
19353           inlied another one and added  some obvious docs
19354
19355 2005-09-21  Wim Taymans  <wim@fluendo.com>
19356
19357         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19358         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19359         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19360         (gst_fdsrc_get_property), (gst_fdsrc_create):
19361         * gst/elements/gstfdsrc.h:
19362         Properly implement fdsrc. Removed signal and timeout,
19363         better implemented somewhere else.
19364
19365 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19366
19367         * docs/gst/tmpl/.cvsignore:
19368         * docs/gst/tmpl/gstimplementsinterface.sgml:
19369         * gst/gstinterface.c:
19370           inlined more docs
19371
19372 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19373
19374         * docs/gst/gstreamer-sections.txt:
19375         * docs/gst/tmpl/.cvsignore:
19376         * docs/gst/tmpl/gstenumtypes.sgml:
19377           remove obsolete doc file
19378
19379 2005-09-21  David Schleef  <ds@schleef.org>
19380
19381         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19382         little beer, fix a little leak.
19383
19384 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19385
19386         * docs/gst/gstreamer-docs.sgml:
19387         * docs/gst/gstreamer-sections.txt:
19388         * docs/gst/tmpl/.cvsignore:
19389         * gst/Makefile.am:
19390         * gst/gst.h:
19391         * gst/gstbin.c:
19392         * gst/gstelement.h:
19393         * gst/gstindex.c: (gst_index_class_init):
19394         * gst/gstindex.h:
19395         * gst/gstindexfactory.c: (gst_index_factory_get_type),
19396         (gst_index_factory_class_init), (gst_index_factory_init),
19397         (gst_index_factory_finalize), (gst_index_factory_new),
19398         (gst_index_factory_destroy), (gst_index_factory_find),
19399         (gst_index_factory_create), (gst_index_factory_make):
19400         * gst/gstindexfactory.h:
19401         * gst/gstpluginfeature.c:
19402         * gst/gstpluginfeature.h:
19403         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19404           more docs inlined, splitted gstindex.{c,h}
19405
19406 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19407
19408         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19409           fix a leak
19410
19411 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19412
19413         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19414           Set sync to FALSE by default.
19415
19416 2005-09-20  Wim Taymans  <wim@fluendo.com>
19417
19418         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19419         (gst_base_sink_init):
19420         Make sync property settable from subclass.
19421
19422         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19423         (gst_fake_sink_change_state):
19424         Set sync to FALSE by default.
19425
19426 2005-09-20  Wim Taymans  <wim@fluendo.com>
19427
19428         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19429         * tools/gst-launch.c: (main):
19430         The timeout handler should have lower priority than the source
19431         so we don't timeout before popping a message with 0 timeout.
19432         Dump error messages after failed state change.
19433
19434 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19435
19436         * tools/gst-inspect.c: (print_element_properties_info):
19437           Fix two typos.
19438
19439 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19440
19441         * check/gst/gstevent.c:
19442         * gst/elements/gstfakesink.c:
19443         * gst/elements/gstfakesink.h:
19444           remove the sync property from fakesink.
19445           has the side effect of setting sync TRUE
19446           for fakesink, which is a change.  Anyone who knows how
19447           to fix this nicely in a GObject-y way, feel free.
19448
19449 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19450
19451         * docs/gst/gstreamer-docs.sgml:
19452           remove probe refsection
19453
19454 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19455
19456         * check/Makefile.am:
19457           disable valgrinding the controller test again
19458         * docs/gst/gstreamer-sections.txt:
19459           update for api-changes
19460
19461 2005-09-20  Wim Taymans  <wim@fluendo.com>
19462
19463         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19464         (gst_base_sink_set_property), (gst_base_sink_get_property),
19465         (gst_base_sink_do_sync):
19466         * gst/base/gstbasesink.h:
19467         Added sync property to basesink to disable clock sync.
19468
19469 2005-09-20  Andy Wingo  <wingo@pobox.com>
19470
19471         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19472         eating the caller's refcount.
19473
19474         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
19475         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19476         refcount.
19477
19478         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19479         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19480         of GLib 2.8 public, so we can know which refcount to check in
19481         tests.
19482
19483         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19484         (gst_object_init): Only set the gst refcount if we're going ahead
19485         with the refcount hack.
19486
19487 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19488
19489         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19490         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19491           more leaks plumbed, added more debug-logging
19492         * gst/gstmacros.h:
19493           whitespace fix
19494
19495 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19496
19497         * gst/gstmessage.c:
19498           remove include of gstmemchunk.h
19499
19500 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19501
19502         * gst/gstclock.c: (_gst_clock_id_free):
19503           Commit from the Political Party For More Atomic CVS Commits,
19504           so that people don't waste too much of their day fishing
19505           out obvious leaks out of massive commits.
19506           Oh, and fix a pretty damn obvious leak in the memchunk
19507           removal code.
19508
19509 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19510
19511         * check/Makefile.am:
19512         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19513           plug mem-leak, re-add to valgrindable tests
19514
19515 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19516
19517         * gst/gstplugin.h:
19518           unbreak the build for those who have chronic arthritis
19519           and typing "make check" is just too taxing on the hands
19520
19521 2005-09-20  Andy Wingo  <wingo@pobox.com>
19522
19523         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19524         really want it out, you should fix plugins at the same time.
19525
19526 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
19527
19528         * configure.ac:
19529         * docs/gst/gstreamer-sections.txt:
19530         * gst/gstobject.c:
19531           added missing symbols to api docs
19532           disable ref-count hack if we have glib >= 2.8
19533
19534 2005-09-19  David Schleef  <ds@schleef.org>
19535
19536         * docs/gst/Makefile.am: Ignore a few more internal headers
19537         * docs/gst/gstreamer-docs.sgml: Remove old sections
19538         * docs/gst/gstreamer-sections.txt: Remove old sections
19539         * docs/gst/tmpl/gstobject.sgml: update
19540         * docs/gst/tmpl/gstplugin.sgml: update
19541         * docs/gst/tmpl/gstpluginfeature.sgml: update
19542         * docs/random/ds/0.9-suggested-changes: update.
19543         * gst/Makefile.am: remove memchunk and trashstack, since they're
19544           not used.
19545         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19546         * gst/gst.h: don't include some headers
19547         * gst/gstchildproxy.c: add gstmarshal.h
19548         * gst/gstclock.c: Don't use memchunks
19549         * gst/gstminiobject.c: Add some docs
19550         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19551         * gst/gstobject.h: same
19552         * gst/gstplugin.c: include gstmacros.h
19553         * gst/gstplugin.h: don't include gstmacros.h, since it's private
19554         * gst/gstquery.c: don't use memchunks
19555         * gst/gstregistry.c: rename gst_registry_deinit()
19556         * gst/gstregistry.h: same
19557
19558 2005-09-19  David Schleef  <ds@schleef.org>
19559
19560         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19561         * docs/libs/gstreamer-libs-sections.txt:
19562         * docs/libs/tmpl/gstgetbits.sgml:
19563         * docs/libs/tmpl/gstputbits.sgml:
19564
19565 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
19566
19567         * win32/gstenumtypes.c:
19568         * win32/gstenumtypes.h:
19569           Update.
19570
19571 2005-09-19  Wim Taymans  <wim@fluendo.com>
19572
19573         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19574         Automatically PAUSE and RESUME a pipeline when a flushing seek
19575         is performed.
19576
19577 2005-09-19  Andy Wingo  <wingo@pobox.com>
19578
19579         * gst/gstregistry.h: Spacing fixen.
19580
19581 2005-09-19  Wim Taymans  <wim@fluendo.com>
19582
19583         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19584         Handle state change failure more correctly.
19585
19586 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19587
19588         * check/Makefile.am:
19589         * check/pipelines/cleanup.c: (run_pipeline):
19590         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19591         (GST_START_TEST):
19592           enable cleanup again after fixing the leak
19593         * docs/README:
19594           some more info on docs
19595
19596 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19597
19598         * check/Makefile.am:
19599           re-enable tests now that leaks are plugged
19600         * check/gst/gst.c:
19601         * check/gst/gstbin.c:
19602         * check/gst/gstpipeline.c:
19603           add some more tests while fixing leaks
19604         * common/check.mak:
19605           make sure binaries are uptodate when valgrinding/gdbing
19606         * gst/gst.c:
19607         * gst/gstelementfactory.c:
19608           remove a ref too many, and add a FIXME for when we get
19609           round to disposing of classes
19610         * gst/gstplugin.c:
19611           fix the refcounting when loading a plugin from a file and
19612           the code pretends that the pointer is the same even though
19613           of course it can change
19614         * gst/gstpluginfeature.c:
19615           unref plugins marked cached (a bit confusing as a name)
19616           as the docs state should be done
19617           various doc additions to explain refcounting
19618         * gst/gstregistry.c:
19619         * gst/gstregistryxml.c:
19620           debugging
19621
19622 2005-09-19  Wim Taymans  <wim@fluendo.com>
19623
19624         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19625         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19626         (send_messages), (GST_START_TEST), (gstbus_suite):
19627         * check/gst/gstpipeline.c: (GST_START_TEST):
19628         * check/pipelines/cleanup.c: (run_pipeline):
19629         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19630         (GST_START_TEST):
19631         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19632         (gst_bus_source_check), (gst_bus_source_dispatch),
19633         (gst_bus_create_watch), (gst_bus_add_watch_full),
19634         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19635         * gst/gstbus.h:
19636         * tools/gst-launch.c: (event_loop):
19637         * tools/gst-md5sum.c: (event_loop):
19638         GstBusHandler -> GstBusFunc, return value has the same meaning as
19639         any other GSource (FALSE == remove source).
19640         _add_watch() and _add_watch_full() now take a MessageType mask to
19641         only handle specific types of messages.
19642         _poll() returns the GstMessage instead of the message type to avoid
19643         race conditions.
19644         _have_pending() takes a MessageType mask now too.
19645         Added testsuite for multiple bus watches.
19646         Fix testsuites and applications for new bus API.
19647
19648 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19649
19650         * check/Makefile.am:
19651           mark a bunch of the tests as to fix until we fix them
19652
19653 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19654
19655         * common/check.mak:
19656           use GST_PLUGIN settings for valgrind tests as well, so we're
19657           valgrinding the correct thing
19658         * gst/gst.c: (init_post):
19659           plug another leak
19660
19661 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19662
19663         * gst/gst.c: (init_post), (gst_deinit):
19664         * gst/gstelementfactory.c: (gst_element_factory_class_init),
19665         (gst_element_factory_finalize), (gst_element_factory_cleanup):
19666         * gst/gstindex.c: (gst_index_factory_class_init),
19667         (gst_index_factory_finalize):
19668         * gst/gstobject.c: (gst_object_dispose):
19669         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19670         (gst_plugin_load_file), (gst_plugin_desc_free):
19671         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19672         (gst_plugin_feature_finalize):
19673         * gst/gstregistry.c: (gst_registry_class_init),
19674         (gst_registry_init), (gst_registry_finalize),
19675         (gst_registry_get_default), (gst_registry_deinit):
19676         * gst/gstregistry.h:
19677         * gst/gstregistryxml.c: (load_feature), (load_plugin):
19678           various cleanups and memleak plugging.  make valgrind is happy now.
19679
19680 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19681
19682         * common/check.mak:
19683           add a check-valgrind target
19684
19685 2005-09-18  David Schleef  <ds@schleef.org>
19686
19687         * tools/gst-inspect.c: Revert the GOption code.
19688
19689 2005-09-17  David Schleef  <ds@schleef.org>
19690
19691         * check/Makefile.am: Fix environment variables.
19692         * check/gst/gstplugin.c: Fix for API changes.
19693         * tools/gst-inspect.c: Fix for API changes.
19694         * tools/gst-xmlinspect.c: Fix for API changes.
19695         * gst/gstelementfactory.c:
19696         * gst/gstplugin.c:
19697         * gst/gstplugin.h:
19698         * gst/gstpluginfeature.c:
19699         * gst/gstpluginfeature.h:
19700         * gst/gstregistry.c:
19701         * gst/gstregistry.h:
19702         * gst/gstregistryxml.c:
19703         * gst/gsttypefind.c:
19704         * gst/gsttypefindfactory.c:
19705         * gst/indexers/gstfileindex.c:
19706         * gst/indexers/gstmemindex.c:
19707         * gst/schedulers/Makefile.am:
19708           Change registry to keep track of both plugins and features,
19709           removing the feature tracking from plugins themselves.
19710
19711 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19712
19713         * check/Makefile.am:
19714         * tools/gst-register.1.in:
19715           remove gst-register
19716
19717 2005-09-15  David Schleef  <ds@schleef.org>
19718
19719         * check/gst/gstplugin.c:
19720         * gst/gstelementfactory.c:
19721         * gst/gstplugin.c:
19722         * gst/gstpluginfeature.c:
19723         * gst/gstregistry.c:
19724           Getting tired of debugging.  Disabled all the unreffing of
19725           plugins and features, which fixes the segfaults, but of
19726           course leaks like crazy.  At least playbin works.
19727
19728 2005-09-15  David Schleef  <ds@schleef.org>
19729
19730         * check/gst/gstplugin.c: (register_check_elements),
19731         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19732         More testing
19733         * gst/elements/gsttypefindelement.c: Fix refcounting.
19734         * gst/gsttypefind.c:
19735         * gst/gsttypefindfactory.c:
19736         * gst/gsttypefindfactory.h:
19737
19738 2005-09-15  David Schleef  <ds@schleef.org>
19739
19740         * gst/gstindex.c: get refcounting correct.
19741         * gst/gstregistry.c: Handle the case where a feature/plugin is
19742           not found.
19743
19744 2005-09-15  David Schleef  <ds@schleef.org>
19745
19746         * check/Makefile.am:
19747         * check/gst/gstplugin.c: Add test
19748         * gst/gstplugin.c: Fix problems noticed by testsuite
19749         * gst/gstplugin.h:
19750         * gst/gstregistry.c: 
19751         * gst/gstregistry.h:
19752
19753 2005-09-15  David Schleef  <ds@schleef.org>
19754
19755         * gst/gstplugin.c: Implement semi-decent recounting and locking
19756           in plugins and plugin features.
19757         * gst/gstplugin.h:
19758         * gst/gstpluginfeature.c:
19759         * gst/gstpluginfeature.h:
19760         * gst/gstregistry.c:
19761
19762 2005-09-15  Michael Smith <msmith@fluendo.com>
19763
19764         * gst/gstregistry.c: (gst_registry_get_feature_list):
19765           Implement this. Makes oggdemux work; decodebin still broken.
19766
19767 2005-09-14  David Schleef  <ds@schleef.org>
19768
19769         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19770           #316076)
19771         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19772         * gst/check/Makefile.am:
19773         * libs/gst/controller/Makefile.am:
19774         * libs/gst/dataprotocol/Makefile.am:
19775
19776 2005-09-14  David Schleef  <ds@schleef.org>
19777
19778         * configure.ac: Remove getbits library.  Nothing uses it, and
19779           it should be in something like liboil if someone did want
19780           to use it.
19781         * libs/gst/Makefile.am:
19782         * libs/gst/getbits/Makefile.am:
19783         * libs/gst/getbits/gbtest.c:
19784         * libs/gst/getbits/getbits.c:
19785         * libs/gst/getbits/getbits.h:
19786         * libs/gst/getbits/gstgetbits_generic.c:
19787         * libs/gst/getbits/gstgetbits_i386.s:
19788         * libs/gst/getbits/gstgetbits_inl.h:
19789
19790 2005-09-14  David Schleef  <ds@schleef.org>
19791
19792         * gst/Makefile.am: Dist glib-compat.h
19793
19794 2005-09-14  David Schleef  <ds@schleef.org>
19795
19796         * configure.ac: Remove gst/registries, since it's no longer used.
19797         * gst/registries/Makefile.am:
19798         * gst/registries/gstlibxmlregistry.c:
19799         * gst/registries/gstlibxmlregistry.h:
19800         * gst/registries/gstxmlregistry.c:
19801         * gst/registries/gstxmlregistry.h:
19802         * gst/registries/registrytest.c:
19803
19804 2005-09-14  David Schleef  <ds@schleef.org>
19805
19806         * gst/glib-compat.h:
19807         * gst/gstregistryxml.c:
19808           Convergence is near.  Seriously.
19809
19810 2005-09-14  David Schleef  <ds@schleef.org>
19811
19812         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19813         * gst/glib-compat.h:
19814           Attempt #4 to appease the buildbots.
19815
19816 2005-09-14  David Schleef  <ds@schleef.org>
19817
19818         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19819           Attempt #3.
19820
19821 2005-09-14  David Schleef  <ds@schleef.org>
19822
19823         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19824         Attempt #2.
19825
19826 2005-09-14  David Schleef  <ds@schleef.org>
19827
19828         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19829           the new functions.
19830
19831 2005-09-14  David Schleef  <ds@schleef.org>
19832
19833         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19834         * gst/glib-compat.h: Add some functions that are in newer versions
19835           of glib than we care to require.
19836         * gst/gstregistryxml.c: Use them.
19837
19838 2005-09-14  David Schleef  <ds@schleef.org>
19839
19840         * po/POTFILES.in: remove gst-register.c
19841
19842 2005-09-14  David Schleef  <ds@schleef.org>
19843
19844         * docs/gst/gstreamer-docs.sgml:
19845         * docs/gst/gstreamer-sections.txt:
19846         * docs/gst/gstreamer.types:
19847         * docs/gst/tmpl/gstelement.sgml:
19848         * docs/gst/tmpl/gstplugin.sgml:
19849         * docs/gst/tmpl/gstpluginfeature.sgml:
19850           Documentation updates for registry changes.
19851
19852 2005-09-14  David Schleef  <ds@schleef.org>
19853
19854         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19855           because we don't require glib-2.8.
19856
19857 2005-09-14  David Schleef  <ds@schleef.org>
19858
19859         * gst/gstregistryxml.c: Added.  Essentially moved out of the
19860           registries directory.
19861
19862 2005-09-14  David Schleef  <ds@schleef.org>
19863
19864         * check/Makefile.am:
19865         * check/generic/states.c:
19866         * gst/Makefile.am:
19867         * gst/gst.c:
19868         * gst/gst.h:
19869         * gst/gst_private.h:
19870         * gst/gstelementfactory.c:
19871         * gst/gstindex.c:
19872         * gst/gstinfo.c:
19873         * gst/gstplugin.c:
19874         * gst/gstplugin.h:
19875         * gst/gstpluginfeature.c:
19876         * gst/gstpluginfeature.h:
19877         * gst/gstregistry.c:
19878         * gst/gstregistry.h:
19879         * gst/gstregistrypool.c: remove
19880         * gst/gstregistrypool.h: remove
19881         * gst/gsttypefind.c:
19882         * gst/gsttypefindfactory.c:
19883         * gst/gsturi.c:
19884         * tools/Makefile.am:
19885         * tools/gst-compprep.c:
19886         * tools/gst-inspect.c:
19887         * tools/gst-register.c: remove
19888         * tools/gst-xmlinspect.c:
19889           Registry rewrite.  Changes registry from being a file created
19890           by a tool into a simple cache file created automatically by 
19891           libgstreamer.  Removed gst-register (because it's no longer
19892           needed).  Remove registry pools, because we only have one
19893           registry implementation (XML).  Fix up other subsystems as
19894           necessary.
19895
19896 2005-09-13  Michael Smith <msmith@fluendo.com>
19897
19898         * gst/gstconfig.h.in:
19899           Don't Use windows linking attributes for MinGW. Fixes #316157
19900
19901 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19902
19903         * gst/gstutils.c: (set_state_async_thread_func),
19904         (gst_element_set_state_async):
19905           Apparently people think it's better if this function doesn't
19906           try to set the state to whatever state was asked for on the first
19907           call to this function for any object.  Seriously.
19908
19909 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19910
19911         * check/gst/gstpipeline.c: (GST_START_TEST):
19912         * docs/gst/gstreamer-sections.txt:
19913         * gst/gstutils.c: (set_state_async_thread_func),
19914         (gst_element_set_state_async):
19915         * gst/gstutils.h:
19916           add a "gst_element_set_state_async" method that
19917           sets the state and starts a thread to make sure the state
19918           change completes as best as it can
19919
19920 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19921
19922         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19923           codify design+behaviour in testsuite after discussion
19924
19925 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19926
19927         * docs/gst/tmpl/gstelement.sgml:
19928         * docs/manual/appendix-quotes.xml:
19929           add a quote
19930         * gst/gstelement.c: (gst_element_set_state):
19931           add some debug
19932
19933 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
19934
19935         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19936         (gst_base_transform_prepare_output_buf),
19937         (gst_base_transform_handle_buffer):
19938         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19939         (gst_capsfilter_prepare_buf):
19940           Remove the requirement for sub-classes to call the parent
19941           implementation of prepare_output_buffer with a wrapper function.
19942           
19943         * gst/gsttaglist.h:
19944         * gst/gsttagsetter.h:
19945           Fix #define wrapper
19946
19947 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
19948
19949         * docs/gst/gstreamer-sections.txt:
19950           more doc cleanups
19951
19952 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19953
19954         * docs/gst/gstreamer-sections.txt:
19955         * docs/gst/tmpl/gstelement.sgml:
19956         * docs/gst/tmpl/gstplugin.sgml:
19957         * gst/gstminiobject.c:
19958         * gst/gstvalue.h:
19959           docs now stop throwing warnings
19960
19961 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19962
19963         * docs/gst/gstreamer-sections.txt:
19964         * docs/gst/gstreamer.types:
19965         * docs/gst/tmpl/gstpad.sgml:
19966         * docs/gst/tmpl/gsttypes.sgml:
19967         * gst/base/gstadapter.h:
19968         * gst/base/gstbasesink.h:
19969         * gst/base/gstbasesrc.h:
19970         * gst/gstbin.h:
19971         * gst/gstbuffer.h:
19972         * gst/gstbus.h:
19973         * gst/gstcaps.h:
19974         * gst/gstclock.h:
19975         * gst/gstelement.h:
19976         * gst/gstevent.h:
19977         * gst/gstmessage.h:
19978         * gst/gstpad.h:
19979         * gst/gststructure.c:
19980         * gst/registries/gstlibxmlregistry.h:
19981           various documentation fixes
19982
19983 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19984
19985         * docs/gst/gstreamer-sections.txt:
19986         * docs/gst/tmpl/gstvalue.sgml:
19987           rearrange gstvalue section
19988         * gst/gstutils.c: (gst_element_state_get_name):
19989           NONE -> VOID
19990         * gst/gstvalue.c: (_gst_value_initialize):
19991         * gst/gstvalue.h:
19992           doc updates
19993
19994 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
19995
19996         * check/gst-libs/controller.c:
19997           Header include fix.
19998         * gst/base/gstbasetransform.c:
19999         (gst_base_transform_default_prepare_buf),
20000         (gst_base_transform_handle_buffer):
20001         * gst/base/gstbasetransform.h:
20002           Some more basetransform changes and fixes to enable sub-classes
20003           that modify buffer metadata only.
20004         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20005         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
20006         (gst_capsfilter_prepare_buf):
20007           If the output pad has fixed allowed caps and input buffers 
20008           don't have any, set the fixed caps on outgoing buffers.
20009
20010 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
20011         * check/elements/identity.c: (GST_START_TEST):
20012           Make the error a little clearer when the test fails because
20013           identity made a copy of the buffer.
20014         * docs/gst/gstreamer-sections.txt:
20015           New symbols in gstbasetransform.h
20016         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20017         (gst_base_transform_init), (gst_base_transform_transform_size),
20018         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20019         (gst_base_transform_default_prepare_buf),
20020         (gst_base_transform_get_unit_size),
20021         (gst_base_transform_buffer_alloc),
20022         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
20023         (gst_base_transform_change_state),
20024         (gst_base_transform_set_passthrough),
20025         (gst_base_transform_set_in_place),
20026         (gst_base_transform_is_in_place):
20027         * gst/base/gstbasetransform.h:
20028           Change BaseTransform to separate in_place operate from same_caps
20029           output. in_place implies that the element can perform the transform
20030           on incoming buffers in-place, even if the caps on the output are
20031           different.
20032           Sub-class elements can now implement special buffer allocation
20033           methods for outgoing buffers if they wish to.
20034           Big documentation addition.
20035         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
20036         * gst/elements/gstelements.c:
20037           Changes for basetransform modifications.
20038         * gst/elements/Makefile.am:
20039         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
20040           Compile fix. Extra debug output.
20041
20042 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20043
20044         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
20045         (gst_pad_suite):
20046           add tests for valid pad naming
20047         * gst/check/gstcheck.c: (gst_check_log_message_func),
20048         (gst_check_log_critical_func):
20049           add ASSERT_WARNING
20050           remove printing of code, it is fragile when the code contains
20051           % and the line number is enough info
20052         * gst/check/gstcheck.h:
20053         * gst/gstpad.c: (gst_pad_template_new):
20054           fix memleaks
20055
20056 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20057
20058         * configure.ac:
20059           say what CHECK flags we use
20060         * docs/libs/gstreamer-libs.types:
20061         * libs/gst/controller/Makefile.am:
20062         * libs/gst/controller/gst-controller.c:
20063         * libs/gst/controller/gst-controller.h:
20064         * libs/gst/controller/gst-helper.c:
20065         * libs/gst/controller/gst-interpolation.c:
20066         * libs/gst/controller/gstcontroller.c:
20067         * libs/gst/controller/gsthelper.c:
20068         * libs/gst/controller/gstinterpolation.c:
20069         * tools/gst-inspect.c: (print_plugin_info):
20070           we don't use dashes in header names
20071
20072 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20073
20074         * check/Makefile.am:
20075         * check/gst/.cvsignore:
20076         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20077         (gst_pipeline_suite), (main):
20078           adding a test for pipelines and state changes
20079         * gst/gstutils.c: (get_state_func):
20080           add some debugging
20081         * gstreamer.spec.in:
20082           fix up spec file
20083
20084 2005-09-08  Michael Smith <msmith@fluendo.com>
20085
20086         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20087         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20088         (gst_file_src_is_seekable), (gst_file_src_get_size),
20089         (gst_file_src_start):
20090         * gst/elements/gstfilesrc.h:
20091           Various fixes for unseekable, unmmapable, and non-normal files, so
20092           that fallback to read() rather than mmap() works.
20093         * gst/gstevent.c: (gst_event_new_newsegment):
20094           Allow newsegment events with segment_start == segment_end, as will
20095           correctly happen if you use filesrc on a zero-size file, for
20096           example.
20097
20098 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20099
20100         * gst/gstplugin.c: (gst_plugin_load_file):
20101           Call g_module_close when we don't load the module
20102
20103         * gst/registries/gstlibxmlregistry.c:
20104         (gst_xml_registry_get_property):
20105           Port leak fix from 0.8
20106
20107 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20108
20109         * docs/gst/gstreamer-docs.sgml:
20110         * docs/gst/tmpl/.cvsignore:
20111         * docs/gst/tmpl/gsttrace.sgml:
20112         * docs/gst/tmpl/gsttrashstack.sgml:
20113         * gst/Makefile.am:
20114         * gst/gst.h:
20115         * gst/gstelement.h:
20116         * gst/gstevent.h:
20117         * gst/gstmessage.c:
20118         * gst/gstmessage.h:
20119         * gst/gsttag.c:
20120         * gst/gsttag.h:
20121         * gst/gsttaginterface.c:
20122         * gst/gsttaginterface.h:
20123         * gst/gsttaglist.c:
20124         * gst/gsttaglist.h:
20125         * gst/gsttagsetter.c:
20126         * gst/gsttagsetter.h:
20127         * gst/gsttrace.c:
20128         * gst/gsttrace.h:
20129         * gst/gsttrashstack.c:
20130           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20131           inlined docs for gsttrace, gsttrashstack
20132
20133 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20134
20135         * gst/Makefile.am:
20136         * gst/elements/gstbufferstore.h:
20137         * gst/elements/gsttypefindelement.c:
20138         * gst/elements/gsttypefindelement.h:
20139         * gst/gst.h:
20140         * gst/gsttypefind.c:
20141         * gst/gsttypefind.h:
20142         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20143         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20144         (gst_type_find_factory_dispose),
20145         (gst_type_find_factory_unload_thyself),
20146         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20147         (gst_type_find_factory_get_caps),
20148         (gst_type_find_factory_get_extensions),
20149         (gst_type_find_factory_call_function):
20150         * gst/gsttypefindfactory.h:
20151         * gst/registries/gstlibxmlregistry.c:
20152         * gst/registries/gstxmlregistry.c:
20153           splitted gsttypefind into gsttypefind, gsttypefindfactory
20154
20155 2005-09-07  Andy Wingo  <wingo@pobox.com>
20156
20157         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20158         condition whereby the pad's task function is entered before the
20159         pad_mode variable was set.
20160
20161 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20162
20163         * gst/gstpad.c: (gst_pad_alloc_buffer):
20164           Catch misbehaving pad_alloc functions that don't
20165           set up caps and do it for them.
20166
20167 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20168
20169         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20170           test for pipe!=NULL
20171         * docs/gst/tmpl/.cvsignore:
20172         * docs/gst/tmpl/gstmemchunk.sgml:
20173         * docs/gst/tmpl/gstparse.sgml:
20174         * docs/gst/tmpl/gsttaglist.sgml:
20175         * docs/gst/tmpl/gsttagsetter.sgml:
20176         * docs/gst/tmpl/gsttypefind.sgml:
20177         * docs/gst/tmpl/gsttypefindfactory.sgml:
20178         * gst/gstmemchunk.c:
20179         * gst/gstparse.c:
20180         * gst/gsttag.c:
20181         * gst/gsttaginterface.c:
20182         * gst/gsttypefind.c:
20183         * gst/gsttypefind.h:
20184           inlined more docs
20185
20186 === release 0.9.2 ===
20187
20188 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20189
20190         * NEWS:
20191         * RELEASE:
20192         * configure.ac:
20193           releasing 0.9.2, "South"
20194
20195 2005-09-05  Andy Wingo  <wingo@pobox.com>
20196
20197         * gst/registries/gstxmlregistry.h:
20198         * gst/registries/gstxmlregistry.c: Um... resurrect...
20199         
20200         * gst/registries/gstxmlregistry.h:
20201         * gst/registries/gstxmlregistry.c: and update to newer API.
20202         Incidentally they should be a bit faster now that they don't have
20203         to parse the caps.
20204         
20205 2005-09-05  Andy Wingo  <wingo@pobox.com>
20206
20207         * gst/registries/gstxmlregistry.h:
20208         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20209         replaced by the libxml registry a while back
20210
20211 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20212
20213         * docs/gst/tmpl/gstplugin.sgml:
20214         * gst/elements/gstelements.c:
20215         * gst/gst.c:
20216         * gst/gstplugin.c: (gst_plugin_register_func),
20217         (gst_plugin_desc_copy), (gst_plugin_desc_free),
20218         (gst_plugin_get_source):
20219         * gst/gstplugin.h:
20220         * gst/registries/gstlibxmlregistry.c: (load_plugin),
20221         (gst_xml_registry_save_plugin):
20222         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20223         (gst_xml_registry_save_plugin):
20224         * tools/gst-inspect.c: (print_plugin_info):
20225           add a "source" plugin description field, to represent the source
20226           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
20227           will set it to PACKAGE, which is automake's idea of the name of
20228           the source project.
20229
20230 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20231
20232         * Makefile.am:
20233         * autogen.sh:
20234         * configure.ac:
20235         * docs/Makefile.am:
20236         * docs/faq/Makefile.am:
20237         * docs/gst/tmpl/gstelement.sgml:
20238         * docs/gst/tmpl/gsttypes.sgml:
20239         * docs/htmlinstall.mak:
20240         * docs/manual/Makefile.am:
20241         * docs/pwg/Makefile.am:
20242           reorganize doc build a little
20243           split out docbook and gtk-doc stuff
20244           have two separate --enable's and enable them through autogen
20245           but disable by default in configure (to be similar to other
20246           projects)
20247         * gstreamer.spec.in:
20248           clean up docs install
20249         * po/af.po:
20250         * po/az.po:
20251         * po/ca.po:
20252         * po/cs.po:
20253         * po/de.po:
20254         * po/en_GB.po:
20255         * po/fr.po:
20256         * po/it.po:
20257         * po/nb.po:
20258         * po/nl.po:
20259         * po/ru.po:
20260         * po/sq.po:
20261         * po/sr.po:
20262         * po/sv.po:
20263         * po/tr.po:
20264         * po/uk.po:
20265         * po/vi.po:
20266           translation updates
20267
20268 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
20269
20270         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20271           Add comment.
20272           
20273         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20274         (gst_fake_sink_change_state):
20275           Make state change function thread-safe.
20276           
20277         * gst/gstpad.c: (gst_pad_alloc_buffer):
20278           Set offset on generic buffer allocated by fallback.
20279
20280 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
20281
20282         * docs/gst/gstreamer-sections.txt:
20283         * docs/gst/tmpl/gstelement.sgml:
20284         * gst/gstpad.c:
20285         * libs/gst/controller/gst-controller.c:
20286         (gst_controlled_property_set_interpolation_mode),
20287         (gst_controlled_property_new),
20288         (gst_controller_find_controlled_property):
20289          run the wingo-magic script against the docs
20290
20291 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20292
20293         * docs/gst/gstreamer-docs.sgml:
20294         * docs/gst/gstreamer-sections.txt:
20295         * docs/gst/tmpl/.cvsignore:
20296         * docs/gst/tmpl/gstelementdetails.sgml:
20297         * docs/gst/tmpl/gstelementfactory.sgml:
20298         * gst/gst.c:
20299         * gst/gstbus.c:
20300         * gst/gstelementfactory.c:
20301         * gst/gstelementfactory.h:
20302           merged elementdetails docs into elementfactory docs
20303           inlined both
20304
20305 2005-09-02  Andy Wingo  <wingo@pobox.com>
20306
20307         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20308         consider this enum an enum and not a flags.
20309
20310 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20311
20312         * docs/gst/gstreamer-docs.sgml:
20313         * docs/gst/tmpl/.cvsignore:
20314         * docs/gst/tmpl/gstghostpad.sgml:
20315         * docs/gst/tmpl/gstiterator.sgml:
20316         * docs/gst/tmpl/gstmacros.sgml:
20317         * docs/gst/tmpl/gstrealpad.sgml:
20318         * docs/gst/tmpl/gstregistry.sgml:
20319         * docs/gst/tmpl/gstregistrypool.sgml:
20320         * docs/gst/tmpl/gststructure.sgml:
20321         * docs/gst/tmpl/gstsystemclock.sgml:
20322         * docs/gst/tmpl/gsttrace.sgml:
20323         * gst/gstghostpad.c:
20324         * gst/gstmacros.h:
20325         * gst/gstmemchunk.c:
20326         * gst/gstmemchunk.h:
20327         * gst/gstqueue.c:
20328         * gst/gstregistry.c:
20329         * gst/gstregistrypool.c:
20330         * gst/gststructure.c:
20331         * gst/gstsystemclock.c:
20332           more docs inlined
20333
20334 2005-09-02  Andy Wingo  <wingo@pobox.com>
20335
20336         * gst/gstelement.h (GstState): Renamed from GstElementState,
20337         changed to be a normal enum instead of flags.
20338         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20339         munged to be GST_STATE_CHANGE_*.
20340         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20341         work with the new state representation.
20342         (GstStateChange): New enumeration of possible state transitions.
20343         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20344         (GstElementClass::change_state): Pass the GstStateChange along as
20345         an argument. Helps language bindings, so they don't have to use
20346         tricky lock-needing macros like GST_STATE_CHANGE ().
20347
20348         * scripts/update-states (file): New script. Run it on a file to
20349         update it for state naming and API changes. Updates files in
20350         place.
20351
20352         * All files updated for the new API.
20353
20354 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20355
20356         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20357         * gst/gstutils.c: (gst_util_set_value_from_string),
20358         (gst_util_set_object_arg):
20359           fix a bunch of unchecked return values
20360         * tools/gst-complete.c: (main):
20361         * gstreamer.spec.in:
20362           clean up a little
20363
20364 2005-09-01  Wim Taymans  <wim@fluendo.com>
20365
20366         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20367         (gst_base_sink_event), (gst_base_sink_do_sync),
20368         (gst_base_sink_handle_event):
20369         * gst/base/gstbasesink.h:
20370         Handle newsegments more correctly.
20371
20372         * gst/gstbus.c:
20373         Fix docs.
20374
20375         * gst/gstevent.c: (gst_event_new_newsegment):
20376         A newsegment cannot have a start_time of -1
20377
20378 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
20379
20380         * win32/gstenumtypes.c:
20381         * win32/gstenumtypes.h:
20382           Update
20383
20384 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20385
20386         * libs/gst/controller/gst-controller.c:
20387         (gst_controlled_property_set_interpolation_mode),
20388         (gst_controlled_property_new):
20389          fixed boolean again
20390
20391 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
20392
20393         * docs/faq/gst-uninstalled:
20394           add -good
20395         * gst/gstevent.c:
20396         * gst/gstevent.h:
20397           remove wrong docs
20398         * gst/gstutils.c: (gst_element_link_filtered):
20399         * gst/gstutils.h:
20400           add gst_element_link_filtered
20401
20402 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20403
20404         * docs/gst/gstreamer-docs.sgml:
20405         * docs/gst/gstreamer-sections.txt:
20406         * docs/gst/tmpl/.cvsignore:
20407         * docs/gst/tmpl/gsterror.sgml:
20408         * docs/gst/tmpl/gstfilter.sgml:
20409         * docs/gst/tmpl/gsturihandler.sgml:
20410         * docs/gst/tmpl/gsturitype.sgml:
20411         * docs/gst/tmpl/gstutils.sgml:
20412         * docs/gst/tmpl/gstxml.sgml:
20413         * gst/gsterror.c:
20414         * gst/gsterror.h:
20415         * gst/gstfilter.c:
20416         * gst/gsturi.c:
20417         * gst/gsturitype.c:
20418         * gst/gstutils.c:
20419         * gst/gstxml.c:
20420           inlined more docs, fixed double id-ref
20421
20422 2005-08-31  Wim Taymans  <wim@fluendo.com>
20423
20424         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20425         (gst_base_transform_handle_buffer):
20426         Passthrough elements don't need the caps as they don't care.
20427
20428 2005-08-31  Wim Taymans  <wim@fluendo.com>
20429
20430         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20431         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20432         Don't leak refcounts on buffers.
20433
20434 2005-08-31  Wim Taymans  <wim@fluendo.com>
20435
20436         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20437         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20438         (gst_base_transform_chain), (gst_base_transform_change_state):
20439         * gst/base/gstbasetransform.h:
20440         Handle the case where we are not negotiated more gracefully.
20441
20442 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
20443
20444         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20445         (gst_file_src_map_region):
20446           Set READONLY flag on mmap'ed buffers, otherwise
20447           gst_buffer_make_writable() won't work properly (#314708).
20448
20449 2005-08-31  Wim Taymans  <wim@fluendo.com>
20450
20451         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20452         passthrough elements can even do inplace on non writable
20453         buffers (as they don't touch them).
20454
20455 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20456
20457         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20458         (gst_test_mono_source_set_property),
20459         (gst_test_mono_source_class_init), (GST_START_TEST),
20460         (gst_controller_suite):
20461           more tests (hehe I have the most)
20462         * gst/gstbus.c:
20463           describe popping messages whenusing mulltiple sources
20464         * libs/gst/controller/gst-controller.c:
20465         (gst_controlled_property_set_interpolation_mode),
20466         (gst_controlled_property_new):
20467         * libs/gst/controller/gst-controller.h:
20468         * libs/gst/controller/gst-interpolation.c:
20469           implement boolean properties
20470
20471 2005-08-31  Wim Taymans  <wim@fluendo.com>
20472
20473         * gst/gstminiobject.c: (gst_mini_object_ref):
20474         Cannot assert that the refcount has to be positive
20475         since a disposed object can be resurrected.
20476
20477 2005-08-31  Wim Taymans  <wim@fluendo.com>
20478
20479         * gst/gstpad.c: (gst_pad_init):
20480         Revert change, need to first fix badly behaving 
20481         apps.
20482
20483 2005-08-30  Wim Taymans  <wim@fluendo.com>
20484
20485         * check/elements/fakesrc.c: (setup_fakesrc):
20486         * check/elements/identity.c: (setup_identity):
20487         Activate pads before using them.
20488
20489 2005-08-30  Wim Taymans  <wim@fluendo.com>
20490
20491         * gst/base/gstadapter.c: (gst_adapter_flush):
20492         Flushing out 0 bytes is ok for this function.
20493
20494         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20495         no newsegment gives a warning and sets the start/stop to 
20496         invalid.
20497
20498         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20499         (gst_base_transform_set_passthrough):
20500         Some debug info.
20501
20502         * gst/gstminiobject.c: (gst_mini_object_ref):
20503         Check refcount here too.
20504
20505         * gst/gstpad.c: (gst_pad_init):
20506         Pads are initially flushing and refusing data.
20507
20508         * gst/gstutils.c: (gst_element_link_pads_filtered):
20509         When adding a capsfilter element make sure it has the
20510         same state as the parent bin.
20511
20512 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20513
20514         * docs/gst/tmpl/.cvsignore:
20515         * docs/gst/tmpl/gstformat.sgml:
20516         * docs/gst/tmpl/gstversion.sgml:
20517         * gst/gstbus.h:
20518         * gst/gstformat.c:
20519         * gst/gstformat.h:
20520         * gst/gstversion.h.in:
20521           more docs and two more inlined
20522
20523 2005-08-30  Wim Taymans  <wim@fluendo.com>
20524
20525         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20526         Don't sync to clock.
20527
20528 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20529
20530         * docs/gst/gstreamer-sections.txt:
20531           ultral33t func10ns deserve to appear in the docs actually
20532         * docs/gst/tmpl/.cvsignore:
20533         * docs/gst/tmpl/gstcompat.sgml:
20534         * docs/gst/tmpl/gstconfig.sgml:
20535         * gst/check/gstcheck.c:
20536         * gst/gstcompat.h:
20537         * gst/gstconfig.h.in:
20538           inlined more docs
20539
20540 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20541
20542         * docs/gst/tmpl/.cvsignore:
20543         * docs/gst/tmpl/gstquery.sgml:
20544         * docs/gst/tmpl/gstutils.sgml:
20545         * gst/gstquery.c:
20546         * gst/gstquery.h:
20547           inlined and extended docs
20548
20549 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20550
20551         * check/gst-libs/controller.c: (GST_START_TEST),
20552         (gst_controller_suite):
20553           more tests
20554         * docs/gst/tmpl/gstutils.sgml:
20555         * docs/libs/gstreamer-libs-sections.txt:
20556         * docs/libs/tmpl/gstdataprotocol.sgml:
20557           include path fixes
20558         * examples/controller/audio-example.c: (main):
20559           controller example works now
20560         * gst/gstclock.h:
20561           doc fixes
20562         * tools/gst-inspect.c: (print_element_properties_info):
20563           show param spec flags
20564
20565 2005-08-29  Andy Wingo  <wingo@pobox.com>
20566
20567         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20568
20569 2005-08-28  Andy Wingo  <wingo@pobox.com>
20570
20571         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20572         as having two arguments instead of just one. Allows superclasses
20573         to access information on subclasses -- see the terrible for() loop
20574         in gtype.c:g_type_create_instance for the reason why. All callers
20575         changed.
20576
20577 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20578
20579         * docs/design/part-messages.txt:
20580           update info
20581         * docs/gst/tmpl/.cvsignore:
20582         * docs/gst/tmpl/gstcaps.sgml:
20583         * docs/gst/tmpl/gstclock.sgml:
20584         * gst/gstbus.c:
20585         * gst/gstcaps.c:
20586         * gst/gstcaps.h:
20587         * gst/gstclock.c:
20588         * gst/gstclock.h:
20589         * gst/gstmessage.c:
20590           added descriptions for bus and message
20591           inline caps and clock docs
20592
20593 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20594
20595         * gst/gstmessage.c:
20596         * gst/gstmessage.h:
20597           doc fixes
20598
20599 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20600
20601         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20602           fix div-by-zero
20603
20604 2005-08-26  Andy Wingo  <wingo@pobox.com>
20605
20606         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20607         element_set_state's return val.
20608         (test_2_elements): Add test that's been disabled for months.
20609
20610         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20611         can-activate-pull properties.
20612
20613         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20614         can-activate-pull properties. Implement is_seekable so fakesrc can
20615         operate in pull mode.
20616
20617         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20618         properties.
20619         (gst_base_sink_activate, gst_base_sink_activate_pull)
20620         (gst_base_sink_activate_push): Make activation mode choosing work.
20621         Cleanups.
20622         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20623         is right. Make pull mode work. Post an eos before pausing in pull
20624         mode.
20625         (gst_base_sink_change_state): Pay attention to the core's
20626         change_state() return val.
20627         
20628         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20629         has-getrange properties. Cleanups.
20630         
20631         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20632         has_getrange and replace with can_activate_pull and
20633         can_activate_push.
20634
20635         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20636         locking comments. Remove has_loop, has_chain and replace with
20637         can_activate_pull and can_activate_push.
20638
20639 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
20640
20641         * configure.ac:
20642         * examples/Makefile.am:
20643         * examples/metadata/Makefile.am:
20644         * examples/metadata/read-metadata.c: (message_loop),
20645         (have_pad_handler), (make_pipeline), (print_tag), (main):
20646           Add metadata reading example that loops over a list of filenames,
20647           dumping any tags found.
20648
20649         * gst/gstbus.c: (gst_bus_dispose):
20650         * gst/gstelement.c: (gst_element_dispose):
20651           Release a few potentially-held references in dispose.
20652
20653 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20654
20655         * docs/gst/tmpl/gstminiobject.sgml:
20656           do *not* add tmpl/*.sgml files to CVS!
20657
20658 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20659
20660         * libs/gst/bytestream/.cvsignore:
20661         * libs/gst/bytestream/Makefile.am:
20662         * libs/gst/bytestream/adapter.c:
20663         * libs/gst/bytestream/adapter.h:
20664         * libs/gst/bytestream/bytestream.c:
20665         * libs/gst/bytestream/bytestream.h:
20666         * libs/gst/bytestream/filepad.c:
20667         * libs/gst/bytestream/filepad.h:
20668           removing obsolete files
20669
20670 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20671
20672         * docs/gst/gstreamer-docs.sgml:
20673         * docs/libs/gstreamer-libs-docs.sgml:
20674           disabed additional index entries again, as this makes docs-gen just
20675           slow and they aren't useful yet
20676         * docs/libs/gstreamer-libs-sections.txt:
20677           little -section.txt cleanup for libs
20678
20679 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20680
20681         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20682         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20683           fix up some debugging
20684         (gst_base_transform_get_unit_size),
20685         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20686         (gst_base_transform_handle_buffer):
20687         * gst/base/gstbasetransform.h:
20688           handle and store timed NEWSEGMENT events so that subclasses that
20689           calculate time by counting samples have a segment_start time they
20690           need to add to their timestamps - see audioresample
20691
20692 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20693
20694         * gst/gstbin.h:
20695           removed ';' from the end of macro defs
20696         * docs/gst/gstreamer-docs.sgml:
20697         * docs/gst/gstreamer-sections.txt:
20698         * docs/gst/tmpl/.cvsignore:
20699         * gst/gstbus.h:
20700         * gst/gstelement.c: (gst_element_class_init),
20701         (gst_element_set_state), (activate_pads),
20702         (gst_element_save_thyself):
20703         * gst/gstevent.c: (gst_event_new_newsegment):
20704         * gst/gstevent.h:
20705         * gst/gstiterator.c:
20706         * gst/gstiterator.h:
20707         * gst/gstpad.c:
20708         * gst/gstprobe.h:
20709         * gst/gstutils.c: (gst_pad_query_convert):
20710         * gst/gstutils.h:
20711           fixed parameter name mismatches between source, header and docs
20712           added some more docs, resolved the last batch of unused elements in
20713           docs (now someone needs to doc them)
20714
20715 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20716
20717         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20718         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20719           don't walk through the plugins backwards.  Where is all this
20720           reversed logic coming from ?
20721
20722 2005-08-25  Wim Taymans  <wim@fluendo.com>
20723
20724         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20725         (gst_base_transform_transform_size),
20726         (gst_base_transform_configure_caps),
20727         (gst_base_transform_get_unit_size),
20728         (gst_base_transform_buffer_alloc),
20729         (gst_base_transform_change_state):
20730         * gst/base/gstbasetransform.h:
20731         Cache caps unit_size.
20732         Make sure we cannot negotiate up and downstream at the
20733         same time.
20734
20735 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20736
20737         * gst/gst.c: (init_pre), (init_post):
20738           register the installed plugin path after the env var
20739         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20740         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20741           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20742           directories, so the tests can prefer uninstalled over installed
20743
20744 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20745
20746         * gst/base/gstbasetransform.h:
20747           comment
20748         * gst/gstpad.c:
20749           add to docs
20750
20751 2005-08-25  Wim Taymans  <wim@fluendo.com>
20752
20753         * gst/gstbin.c: (bin_bus_handler):
20754         Be a bit more conservative about the posted message.
20755         
20756         * gst/gstbus.c: (gst_bus_post):
20757         Some cleanups, warn wrong return values.
20758
20759 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
20760
20761         * check/gst/gstbin.c: (GST_START_TEST):
20762         * gst/gstbin.c: (bin_bus_handler):
20763         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20764         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20765         (gst_message_new_warning), (gst_message_new_tag),
20766         (gst_message_new_state_changed), (gst_message_new_segment_start),
20767         (gst_message_new_segment_done), (gst_message_new_custom):
20768         * gst/gstmessage.h:
20769         * tools/gst-launch.c: (event_loop):
20770         * tools/gst-md5sum.c: (event_loop):
20771           Revert unpopular change for GST_MESSAGE_SRC to GObject.
20772
20773 2005-08-25  Wim Taymans  <wim@fluendo.com>
20774
20775         * check/generic/states.c: (GST_START_TEST):
20776         Cleanup can be done at the end.
20777
20778         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20779         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20780         (gst_task_get_state), (gst_task_start), (gst_task_pause):
20781         Oh boy.. Thanks for finding this, Thomas. 
20782
20783 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20784
20785         * docs/gst/gstreamer.types:
20786           added missing types
20787
20788 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20789
20790         * docs/gst/gstreamer-docs.sgml:
20791         * docs/gst/gstreamer-sections.txt:
20792         * docs/gst/tmpl/.cvsignore:
20793         * gst/gstbin.c:
20794         * gst/gstiterator.c:
20795         * gst/gstutils.c:
20796         * gst/registries/gstxmlregistry.h:
20797           added missing classes and symbols (123 more to go)
20798           removed removed symbols from section file
20799           fixed many doc-comments
20800
20801 2005-08-24  Wim Taymans  <wim@fluendo.com>
20802
20803         * check/generic/states.c: (GST_START_TEST):
20804         Make sure all tasks are stopped.
20805
20806         * check/gst/gstbin.c: (GST_START_TEST):
20807         Unref after usage for proper valgrinding.
20808
20809         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20810         Really wait for the task to stop before destroying the
20811         mutex.
20812
20813         * gst/gstqueue.c: (gst_queue_sink_activate_push),
20814         (gst_queue_src_activate_push):
20815         Small cleanups. Don't stop the task when we did not start
20816         it.
20817
20818         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20819         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20820         (gst_task_get_state), (gst_task_start), (gst_task_pause),
20821         (gst_task_join):
20822         * gst/gsttask.h:
20823         Protect the stream lock with the object lock.
20824         Disallow setting the stream lock when running.
20825         Add cleanup_all to wait for the threadpool to finish.
20826         Remove code to autoallocate a mutex if none was provided.
20827         Add _join() to wait for a task to stop.
20828         Protect the thread pool with a global lock.
20829
20830 2005-08-24  Wim Taymans  <wim@fluendo.com>
20831
20832         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20833         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20834         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20835         * gst/base/gstbasesink.h:
20836         Handle newsegment events correctly.
20837         Drop buffers out of the segment range.
20838
20839 2005-08-22  Andy Wingo  <wingo@pobox.com>
20840
20841         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20842         macro, implements an interface and gstimplementsinterface for a
20843         new type.
20844
20845 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20846
20847         * check/Makefile.am:
20848         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20849           add a test that does a bunch of state changes on elements
20850           needs some fixing for valgrind
20851         * check/states/sinks.c: (gst_object_suite):
20852           whitespace
20853         * gst/gstcaps.h:
20854           add prototype for gst_caps_is_equal_fixed
20855         * gst/gstplugin.c:
20856         * gst/gstregistrypool.c:
20857           doc fixes
20858
20859 2005-08-24  Andy Wingo  <wingo@pobox.com>
20860
20861         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20862         convert a negative value. Doesn't make much sense. Mostly this is
20863         here to force callers to ensure -1 maps to -1.
20864
20865 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20866
20867         * docs/pwg/advanced-types.xml:
20868           Well done to Michael for catching my deliberate introduction
20869           of this spelling mistake. 
20870         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20871         * gst/gstelement.h:
20872           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20873           unlink pads before removing the element from the bin.
20874
20875 2005-08-24  Andy Wingo  <wingo@pobox.com>
20876
20877         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20878         the same thing as GST_DEBUG=*:4.
20879         (parse_debug_level, parse_debug_category): New helper parsers.
20880
20881 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20882
20883         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20884         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20885         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20886         (gst_base_transform_buffer_alloc),
20887         (gst_base_transform_handle_buffer):
20888           use gboolean return values and pointers to size so we can use the
20889           full GST_BUFFER_SIZE range (guint) for buffer sizes
20890           use GstPadDirection for transform_caps
20891         * gst/base/gstbasetransform.h:
20892           rename get_size to get_unit_size since that's what it is
20893         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20894           use GstPadDirection for transform_caps
20895         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20896         * gst/gstutils.h:
20897           cleanup and debugging
20898
20899 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20900
20901         * gst/gstelement.c: (gst_element_class_init),
20902         (gst_element_set_state), (activate_pads),
20903         (gst_element_save_thyself):
20904         * tools/gst-compprep.c: (main):
20905         * tools/gst-inspect.c: (print_element_properties_info):
20906         * tools/gst-xmlinspect.c: (print_element_properties):
20907           Fixed long standing mem-leak
20908
20909 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20910
20911         * check/gst/gstbin.c: (GST_START_TEST):
20912         * gst/gstbin.c: (bin_bus_handler):
20913         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20914         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20915         (gst_message_new_warning), (gst_message_new_tag),
20916         (gst_message_new_state_changed), (gst_message_new_segment_start),
20917         (gst_message_new_segment_done), (gst_message_new_custom):
20918         * gst/gstmessage.h:
20919         * tools/gst-launch.c: (event_loop):
20920         * tools/gst-md5sum.c: (event_loop):
20921           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20922           that applications can sensibly post custom messages with references
20923           to their own objects.
20924
20925 2005-08-24  Andy Wingo  <wingo@pobox.com>
20926
20927         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20928         already.
20929
20930 2005-08-24  Wim Taymans  <wim@fluendo.com>
20931
20932         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20933         (gst_base_transform_transform_caps),
20934         (gst_base_transform_transform_size),
20935         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20936         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20937         (gst_base_transform_handle_buffer):
20938         * gst/base/gstbasetransform.h:
20939         Many fixes and new features added by Thomas. Can now also do
20940         transforms with variable sizes and a custom fixate_caps function.
20941
20942 2005-08-24  Wim Taymans  <wim@fluendo.com>
20943
20944         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20945         Some debugging.
20946
20947         * gst/gstclock.h:
20948         Cast to ClockTime before formatting to time.
20949
20950         * gst/gstutils.h:
20951         Cleanups.
20952
20953 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20954
20955         * check/gst-libs/controller.c: (GST_START_TEST),
20956         (gst_controller_suite):
20957         * docs/gst/tmpl/gstcaps.sgml:
20958         * docs/gst/tmpl/gstghostpad.sgml:
20959         * docs/gst/tmpl/gstquery.sgml:
20960         * docs/gst/tmpl/gstutils.sgml:
20961         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20962         (gst_object_sink_values), (gst_object_get_value_arrays),
20963         (gst_object_get_value_array):
20964           gracefully handle helper method calls to objects that are not beeing
20965           controlled, added test case for that          
20966
20967 2005-08-23  Wim Taymans  <wim@fluendo.com>
20968
20969         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20970         (gst_event_new_newsegment), (gst_event_parse_newsegment),
20971         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20972         (gst_event_parse_qos), (gst_event_new_seek),
20973         (gst_event_parse_seek):
20974         * gst/gstevent.h:
20975         Some more debugging output and doc cleanups.
20976
20977         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20978         Fix possible deadlock.
20979
20980 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20981
20982         * docs/gst/gstreamer-docs.sgml:
20983         * docs/gst/gstreamer-sections.txt:
20984         * docs/gst/gstreamer.types:
20985         * docs/gst/tmpl/.cvsignore:
20986         * gst/gstbin.h:
20987         * gst/gstbus.c:
20988         * gst/gstelement.c:
20989         * gst/gstevent.h:
20990           added 100 symbols from gstreamer-unused.txt to the right sections
20991           fixed more broken comments
20992           added GstBus to docs
20993
20994 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20995
20996         * docs/gst/gstreamer-sections.txt:
20997         * docs/gst/tmpl/.cvsignore:
20998         * docs/gst/tmpl/gstbin.sgml:
20999         * docs/gst/tmpl/gstbuffer.sgml:
21000         * gst/base/gstbasesrc.c:
21001         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
21002         * gst/gstbuffer.c:
21003         * gst/gstbuffer.h:
21004         * tools/gst-launch.1.in:
21005           inlined more doc comments, added missing comments and fixed comments
21006           fixed typos
21007
21008 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21009
21010         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21011           some debugging
21012         * gst/gstcaps.h:
21013           whitespace fixes
21014         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
21015           more debugging
21016         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
21017         * gst/gststructure.h:
21018           add a fixate function for booleans; add a FIXME that these func
21019           names should probably be gst_structure_fixate_*
21020
21021 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21022
21023         * docs/gst/gstreamer-docs.sgml:
21024         * docs/gst/gstreamer-sections.txt:
21025         * gst/Makefile.am:
21026         * gst/gstbin.c: (gst_bin_get_type),
21027         (gst_bin_child_proxy_get_child_by_index),
21028         (gst_bin_child_proxy_get_children_count),
21029         (gst_bin_child_proxy_init):
21030         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21031         (gst_child_proxy_get_child_by_index),
21032         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
21033         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
21034         (gst_child_proxy_get), (gst_child_proxy_set_property),
21035         (gst_child_proxy_set_valist), (gst_child_proxy_set),
21036         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
21037         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
21038         * gst/gstchildproxy.h:
21039         * gst/parse/grammar.y:
21040         * tools/gst-inspect.c: (print_interfaces),
21041         (print_element_properties_info), (print_element_info):
21042           ported gstchildproxy over from 0.8
21043           ported gst-inspect fixes and enhancements over from 0.8
21044
21045 2005-08-22  Wim Taymans  <wim@fluendo.com>
21046
21047         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21048         (gst_base_transform_handle_buffer):
21049         Also call the transform function if we have ANY caps.
21050
21051         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
21052         Fix debug info.
21053
21054 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21055
21056         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
21057           Don't pretend to handle seek events if the source is not seekable
21058
21059 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21060
21061         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21062           Remove extra parameter to debug output
21063
21064         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21065         (gst_base_src_do_seek), (gst_base_src_activate_push):
21066           Fix seek event handling.
21067
21068         * gst/gstpipeline.c: (gst_pipeline_change_state):
21069         * gst/gstqueue.c: (gst_queue_handle_sink_event),
21070         (gst_queue_src_activate_push):
21071           Don't start the src pad task on FLUSH_STOP if the pad
21072           isn't linked.
21073           Debug changes.
21074
21075 2005-08-22  Wim Taymans  <wim@fluendo.com>
21076
21077         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21078         Added check for gst_static_caps_get() refcounting.
21079
21080 2005-08-22  Wim Taymans  <wim@fluendo.com>
21081
21082         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21083         Make _static_caps_get() refcounting sane.
21084         
21085         * gst/gstelement.c: (gst_element_set_state):
21086         Add g_return_val_if_fail() to protect against segfaults.
21087
21088 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
21089
21090         * docs/gst/tmpl/gstevent.sgml:
21091         * gst/gstevent.c:
21092         * gst/gstevent.h:
21093           inlined remaining docs, added missing doc comments
21094
21095 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21096
21097         * check/gst/gstbin.c: (GST_START_TEST):
21098           since we don't know when preroll is done, use refcount range
21099           check for the sink
21100         * gst/check/gstcheck.h:
21101           add macro for checking refcount range
21102
21103 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21104
21105         * check/Makefile.am:
21106           clean up environment for when registry gets built versus
21107           when actual tests are run; valgrind seems to not report
21108           leaks if GST_PLUGIN_PATH is set to some specific values
21109         * check/gst/gstbin.c: (GST_START_TEST):
21110           add more refcounting checks; maybe this exposes a
21111           preroll lock bug ?
21112         * common/check.mak:
21113         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21114         * gst/check/gstcheck.h:
21115         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21116         (gst_bin_change_state):
21117         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21118           add/fix debugging/whitespace
21119
21120 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21121
21122         * check/gst/gstevent.c: (event_probe), (test_event),
21123         (GST_START_TEST):
21124          Er, don't call gst_bin_watch_for_state_change you idiot.
21125
21126 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21127
21128         * check/Makefile.am:
21129           Use CHECK_CFLAGS and CHECK_LIBS
21130         * check/gst/gstevent.c: (event_probe), (test_event),
21131         (GST_START_TEST):
21132           Don't leak events.
21133         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21134         (gst_base_src_start), (gst_base_src_stop),
21135         (gst_base_src_activate_push), (gst_base_src_activate_pull),
21136         (gst_base_src_change_state):
21137           Sprinkle gst_base_src_stop liberally around error paths to fix
21138           problems reusing a source after failed state changes.
21139         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21140         (helper_find_suggest), (gst_type_find_helper):
21141           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21142         * gst/gstevent.h:
21143         * docs/gst/tmpl/gstevent.sgml:
21144           Migrate part of the docs from the SGML file. Wait for ensonic to
21145           tell me how I did it wrong ;)
21146         * tools/gst-typefind.c: (main):
21147           Extra robustness to state changes between files.
21148
21149 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21150
21151         * check/Makefile.am:
21152           don't valgrind the controller test - it's leaking - Stefan, HELP
21153         * gst/check/gstcheck.c: (gst_check_message_error),
21154         (gst_check_chain_func), (gst_check_setup_element),
21155         (gst_check_teardown_element), (gst_check_setup_src_pad),
21156         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21157         (gst_check_teardown_sink_pad):
21158         * gst/check/gstcheck.h:
21159           add a bunch of methods to set up elements, and src and sink pads
21160         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21161         * check/elements/identity.c: (setup_identity), (cleanup_identity),
21162         (GST_START_TEST):
21163           use them
21164         * gst/gstmessage.c:
21165         * gst/gsttag.h:
21166           whitespace/doc fixes
21167
21168 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21169
21170         * gst/gstelement.h:
21171           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21172           be handled by the application and not always printed as well
21173
21174 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21175
21176         * check/Makefile.am:
21177           set GST_TOOLS_DIR
21178         * gst/check/gstcheck.c: (gst_check_message_error):
21179         * gst/check/gstcheck.h:
21180           add a fail_unless_equals_int
21181           add fail_unless for error messages
21182
21183 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21184
21185         * check/Makefile.am:
21186         * check/gst.supp:
21187         * common/Makefile.am:
21188         * common/check.mak:
21189         * common/gst.supp:
21190           factor out some of the common stuff so we can use it
21191
21192 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21193
21194         * check/Makefile.am:
21195         * check/gst/gstiterator.c: (GST_START_TEST):
21196         * check/gst/gstsystemclock.c: (GST_START_TEST),
21197         (gst_systemclock_suite):
21198         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21199         * gst/gstclock.c:
21200           valgrind more tests
21201
21202 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21203
21204         * check/elements/.cvsignore:
21205         * check/elements/gstfakesrc.c:
21206           rename to name of element
21207         * check/elements/identity.c: (chain_func), (event_func),
21208         (setup_identity), (cleanup_identity), (GST_START_TEST),
21209         (identity_suite), (main):
21210           add a test for identity
21211         * check/Makefile.am:
21212         * pkgconfig/Makefile.am:
21213         * pkgconfig/gstreamer-check.pc.in:
21214         * pkgconfig/gstreamer-check-uninstalled.pc.in:
21215         * gst/check:
21216         * gst/Makefile.am:
21217         * configure.ac:
21218           move the check stuff to a library that gets installed
21219         * check/gst-libs/controller.c: (GST_START_TEST):
21220         * check/gst-libs/gdp.c:
21221         * check/gst/gst.c: (GST_START_TEST):
21222         * check/gst/gstbin.c:
21223         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21224         * check/gst/gstbus.c:
21225         * check/gst/gstcaps.c: (GST_START_TEST):
21226         * check/gst/gstelement.c:
21227         * check/gst/gstghostpad.c:
21228         * check/gst/gstiterator.c:
21229         * check/gst/gstmessage.c:
21230         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21231         * check/gst/gstobject.c:
21232         * check/gst/gstpad.c: (GST_START_TEST):
21233         * check/gst/gststructure.c: (GST_START_TEST):
21234         * check/gst/gstsystemclock.c: (GST_START_TEST),
21235         (gst_systemclock_suite):
21236         * check/gst/gsttag.c: (gst_tag_suite):
21237         * check/gst/gstvalue.c:
21238         * check/pipelines/cleanup.c:
21239         * check/pipelines/simple_launch_lines.c:
21240         * check/states/sinks.c:
21241           change include statement
21242
21243         * docs/gst/gstreamer-sections.txt:
21244         * docs/gst/tmpl/gstpad.sgml:
21245           document more pad stuff
21246         * gst/gstminiobject.c: (gst_mini_object_ref),
21247         (gst_mini_object_unref):
21248           debug refcounting
21249
21250 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
21251
21252         * docs/gst/tmpl/gst.sgml:
21253         * gst/gst.c:
21254           eliminate another tmpl file, fix spelling in the long-description
21255
21256 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21257
21258         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21259         (test_event), (timediff), (gstevents_suite):
21260           Should fix build on 64-bit arch's
21261
21262 2005-08-18  Andy Wingo  <wingo@pobox.com>
21263
21264         Make sure that when a pipeline goes to PLAYING, that data has
21265         actually hit the sink.
21266
21267         * check/states/sinks.c (test_sink): A sink that doesn't get any
21268         data shouldn't return SUCCESS for going to either PLAYING or
21269         PAUSED. Test also the return values on the way back down.
21270
21271         * gst/gstelement.c (gst_element_set_state): When changing the
21272         state of an element currently changing state asynchronously, go to
21273         lost-state after commiting the pending state. Makes future calls
21274         to get_state continue to return ASYNC.
21275
21276         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21277         ASYNC when going to PLAYING if we still don't have preroll, as can
21278         happen with live sources.
21279
21280 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21281
21282         * docs/pwg/advanced-types.xml:
21283           Hack long paragraph into 2 chunks as a workaround for buggy
21284           jadetex version in sid and breezy that loops infinitely and
21285           eats all RAM.
21286
21287 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21288
21289         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21290         (test_event), (timediff), (gstevents_suite):
21291           Provide more error margin in clock measurements to allow for 
21292           g_get_current_time inaccuracies.
21293
21294 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21295
21296         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21297         (test_event), (timediff), (gstevents_suite):
21298            Fix error message output so I might be able to tell why the
21299            test works here but fails on the build farm.
21300
21301 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21302
21303         * check/Makefile.am:
21304         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21305         (test_event), (timediff), (gstevents_suite), (main):
21306           I wrote a test!
21307
21308         * docs/design/part-seeking.txt:
21309           Spelling correction
21310
21311         * docs/gst/tmpl/gstevent.sgml:
21312         * docs/gst/tmpl/gstfakesrc.sgml:
21313           Docs updates.
21314
21315         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21316           Treat a buffer-without-newsegment the same as a receiving 
21317           a newsegment not in time format, and disable syncing to the clock
21318           with a warning.
21319
21320         * gst/gstbus.c: (gst_bus_set_sync_handler):
21321           Assert if anyone tries to replace the existing sync_handler for bus, 
21322           as only the owner should be setting it.
21323
21324         * gst/gstevent.h:
21325           Have a fixed set of custom event enums with events identified by
21326           their structure name (as in 0.8), rather than a free-for-all
21327           allowing collisions between enum values from different plugins.
21328
21329         * gst/gstpad.c: (gst_pad_class_init):
21330           Docs change.
21331           
21332         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21333           Handle out-of-band downstream events from the sending thread.
21334
21335 2005-08-17  Andy Wingo  <wingo@pobox.com>
21336
21337         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21338         play-timeout==0 to mean no timeout at all. In that case, don't
21339         bother with a get_state or a warning, just return directly, even
21340         if it's ASYNC.
21341
21342         * gst/base/gstbasetransform.c: Debug changes.
21343
21344         * gst/gstutils.h:
21345         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21346         ensure bins post state change messages. A bit of a hack but I can't
21347         think of a way to avoid it.
21348
21349         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21350
21351 2005-08-16  Andy Wingo  <wingo@pobox.com>
21352
21353         * gst/base/gstadapter.h:
21354         * gst/base/gstadapter.c (gst_adapter_take): New function, like
21355         peek() but you own the data. Not terribly efficient atm.
21356
21357 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21358
21359         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21360         (gst_element_found_tags):
21361         * gst/gstutils.h:
21362           Add two utility functions for tag handling.
21363
21364 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21365
21366         * docs/manual/advanced-dataaccess.xml:
21367         * docs/manual/basics-helloworld.xml:
21368           Fix docs to use _bin_add() before _link(), which fixes the examples
21369           with recent core versions (reported by Madhan Raj M
21370           <raj_madan@rediffmail.com>, #313199).
21371
21372 2005-08-16  Wim Taymans  <wim@fluendo.com>
21373
21374         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21375         Added subtract checks.
21376
21377         * docs/design/part-events.txt:
21378         Some more docs about newsegment
21379
21380         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21381         Fix FIXME
21382
21383         * gst/gstcaps.c: (gst_caps_to_string):
21384         Add comments, cleanups.
21385         
21386         * gst/gstelement.c: (gst_element_save_thyself):
21387         cleanups
21388         
21389         * gst/gstvalue.c: (gst_value_collect_int_range),
21390         (gst_string_unwrap), (gst_value_union_int_int_range),
21391         (gst_value_union_int_range_int_range),
21392         (gst_value_intersect_int_int_range),
21393         (gst_value_intersect_int_range_int_range),
21394         (gst_value_intersect_double_double_range),
21395         (gst_value_intersect_double_range_double_range),
21396         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21397         (gst_value_subtract_int_range_int),
21398         (gst_value_subtract_double_range_double),
21399         (gst_value_subtract_double_range_double_range),
21400         (gst_value_subtract_from_list), (gst_value_subtract_list),
21401         (gst_value_can_compare), (gst_value_compare_fraction):
21402         Cleanups, add comments, remove unneeded asserts.
21403
21404 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21405
21406         * tools/gst-launch.c: (event_loop):
21407           don't convert NULL structures to strings
21408
21409 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
21410
21411         * docs/gst/gstreamer-sections.txt:
21412           made some defines private
21413         * docs/gst/tmpl/gstconfig.sgml:
21414         * docs/gst/tmpl/gstqueue.sgml:
21415         * docs/gst/tmpl/gsttaglist.sgml:
21416         * docs/gst/tmpl/gsttypes.sgml:
21417         * docs/gst/tmpl/gstutils.sgml:
21418         * docs/pwg/appendix-porting.xml:
21419         * gst/base/gstbasesink.h:
21420         * gst/base/gstbasesrc.c:
21421         * gst/base/gstbasesrc.h:
21422         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21423         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21424         * gst/gstelement.c: (gst_element_class_init):
21425         * gst/gstpad.c: (gst_pad_class_init):
21426         * gst/gstqueue.c: (gst_queue_class_init):
21427         * gst/gstxml.c: (gst_xml_class_init):
21428           documented all undocumented signal inline
21429         * libs/gst/controller/gst-controller.h:
21430           added padding
21431
21432 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21433
21434         * docs/pwg/appendix-porting.xml:
21435           Document _set_link_function -> _set_setcaps_function.
21436
21437 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21438
21439         * check/Makefile.am:
21440           add a .check target for running the check
21441         * check/gst-libs/controller.c: (GST_START_TEST):
21442           cosmetic fixups
21443         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21444           complete checks for gstbuffer; would be nice if I could get the
21445           gcov stuff to work so I can see if I actually completed gstbuffer.c
21446         * check/gstcheck.h:
21447           add ASSERT_BUFFER_REFCOUNT
21448
21449 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
21450
21451         * docs/gst/gstreamer-sections.txt:
21452         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21453         * gst/gsttag.h:
21454           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21455           spew out a warning if a tag that is already registered
21456           is re-registered, unless it is re-registered with a 
21457           different type (#308438).
21458
21459 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
21460
21461         * docs/pwg/appendix-porting.xml:
21462         * docs/pwg/building-state.xml:
21463           Add some paragraphs about state changes in 0.9 to the PWG
21464           and the porting guide, in particular about the new meaning
21465           of GST_STATE_PAUSED and how to write state change functions
21466           with concurrent access by multiple threads in mind.
21467
21468 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21469
21470         * docs/gst/gstreamer-docs.sgml:
21471         * docs/libs/gstreamer-libs-docs.sgml:
21472           added deprecation and since indexes
21473         * libs/gst/controller/gst-controller.c:
21474         * libs/gst/controller/gst-helper.c:
21475           added since tags
21476
21477
21478 2005-08-11  Wim Taymans  <wim@fluendo.com>
21479
21480         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21481         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21482         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21483         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21484         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21485         (gst_ghost_pad_set_target):
21486         Actually implement (re)setting the target on a ghostpad
21487         as described in the docs.
21488
21489 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21490
21491         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21492           Check whether GST_DEBUG_NO_COLOR environment variable is
21493           set and disable coloured debug output if that is the case.
21494
21495 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21496
21497         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21498         (gst_type_find_helper):
21499           The memory returned by gst_type_find_peek() needs to
21500           stay valid until the end of a typefind function, and
21501           typefind functions may keep results from different 
21502           offsets around, so we can't just unref the buffer from
21503           the previous _peek(), but have to save all buffers 
21504           returned by _peek() until typefinding is done and only
21505           free them then.
21506
21507 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
21508
21509         * docs/gst/gstreamer-sections.txt:
21510         * gst/gstutils.h:
21511           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21512
21513 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21514
21515         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21516           Fix a pretty good memleak.
21517
21518 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21519
21520         * gst/gstiterator.h:
21521           Fix wrong include and 'make distcheck'.
21522
21523 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21524
21525         * gst/gstbin.c: (bin_bus_handler):
21526           Use gst_element_post_message() instead.
21527
21528 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21529
21530         * gst/base/gstadapter.h:
21531         * gst/base/gstbasesink.h:
21532         * gst/base/gstbasesrc.h:
21533         * gst/base/gstbasetransform.h:
21534         * gst/base/gstcollectpads.h:
21535         * gst/base/gstpushsrc.h:
21536         * gst/gstiterator.h:
21537           Add padding to our base elements' class and instance structs and
21538           to GstIterator (you will need to rebuild all plugins and apps!)
21539
21540 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21541
21542         * gst/gstbin.c: (bin_bus_handler):
21543           Make default message forwarding from child->bus to bin->bus
21544           threadsafe and make it not emit warnings if the parent has no bus.
21545
21546 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21547
21548         * gst/gstelement.c: (activate_pads):
21549           On paused->ready, set pad->caps to NULL, as is the documented
21550           behaviour in this state change. Fixes playback of series of
21551           media files when visualization is enabled in Totem.
21552
21553 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21554
21555         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21556           Allow NULL as filter-caps (which means "any").
21557
21558 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21559
21560         * docs/libs/gstreamer-libs-sections.txt:
21561         * libs/gst/controller/gst-controller.c:
21562         * libs/gst/controller/gst-controller.h:
21563         * libs/gst/controller/gst-helper.c:
21564           adding more entries to the docs and fix small doc-bugs
21565
21566 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21567
21568         * docs/gst/gstreamer-docs.sgml:
21569         * docs/gst/gstreamer-sections.txt:
21570         * docs/gst/gstreamer.types:
21571         * docs/gst/tmpl/gstbasesink.sgml:
21572         * docs/gst/tmpl/gstbasesrc.sgml:
21573         * docs/gst/tmpl/gstbasetransform.sgml:
21574         * docs/gst/tmpl/gstfakesrc.sgml:
21575         * gst/base/gstcollectpads.c:
21576         * gst/base/gstcollectpads.h:
21577         * libs/gst/controller/gst-controller.c:
21578         * libs/gst/controller/gst-controller.h:
21579         * libs/gst/controller/gst-helper.c:
21580         * libs/gst/controller/gst-interpolation.c:
21581         * libs/gst/controller/lib.c:
21582           added long/short desc for controller docs
21583           added collectpads base class docs
21584           added correct includes to base-class docs
21585
21586 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21587
21588         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21589         (gst_test_mono_source_set_property),
21590         (gst_test_mono_source_class_init), (GST_START_TEST),
21591         (gst_controller_suite):
21592         * docs/gst/gstreamer-docs.sgml:
21593         * docs/gst/gstreamer-sections.txt:
21594         * docs/gst/gstreamer.types:
21595         * docs/libs/gstreamer-libs-docs.sgml:
21596         * docs/libs/gstreamer-libs-sections.txt:
21597         * gst/base/gstadapter.c:
21598         * libs/gst/controller/gst-controller.c:
21599         (gst_controlled_property_new), (gst_controlled_property_free),
21600         (gst_controller_new_valist),
21601         (gst_controller_remove_properties_valist),
21602         (gst_controller_sink_values), (_gst_controller_finalize):
21603         * libs/gst/controller/gst-controller.h:
21604         * libs/gst/controller/gst-helper.c:
21605         (gst_object_control_properties), (gst_object_uncontrol_properties),
21606         (gst_object_get_controller), (gst_object_set_controller),
21607         (gst_object_sink_values), (gst_object_get_value_arrays),
21608         (gst_object_get_value_array):
21609           more tests (and fixes) for the controller
21610           more docs for the controller
21611           integrated companies docs for the adapter 
21612
21613 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21614
21615         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21616         (GST_START_TEST), (fakesrc_suite):
21617           add tests for sizetype
21618
21619 2005-08-04  Andy Wingo  <wingo@pobox.com>
21620
21621         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21622         fixes buffer_alloc proxying among other things.
21623
21624         * gst/base/gstbasetransform.c:
21625         * gst/base/gstbasetransform.h:
21626         Revert patch to gstbasetransform from 7-28 removing
21627         delay_configure.
21628
21629         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21630         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21631         Semantics changed, should return not the size of the output buffer
21632         but the byte size of a buffer with a given caps.
21633
21634         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21635         debug object.
21636         (gst_base_transform_configure_caps): Don't set out_size here: (in,
21637         out) are not the pad caps until setcaps finishes.
21638         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21639         not-in-place case as well. Deal with changing from in-place to
21640         not-in-place within calling pad_alloc_buffer. Still a bit
21641         concerned about the overhead here...
21642
21643 2005-08-03  Andy Wingo  <wingo@pobox.com>
21644
21645         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21646         fixating is an error.
21647
21648 2005-08-04  Edward Hervey  <edward@fluendo.com>
21649
21650         * gst/base/gstadapter.h: 
21651         Added gst_adapter_get_type() to the header
21652
21653 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21654
21655         * check/Makefile.am:
21656         * check/gst-libs/controller.c:
21657         * libs/gst/controller/gst-controller.c:
21658         (gst_controller_new_valist):
21659           added check test suite for the controller
21660         * gst/base/gstpushsrc.c:
21661           fixed a doc typo
21662
21663 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21664
21665         * docs/gst/Makefile.am:
21666         * docs/gst/gstreamer-docs.sgml:
21667         * docs/gst/gstreamer-sections.txt:
21668         * docs/gst/gstreamer.types:
21669         * docs/gst/tmpl/gstfakesrc.sgml:
21670         * gst/base/README:
21671         * gst/base/gstbasesink.c:
21672         * gst/base/gstbasesink.h:
21673         * gst/base/gstbasesrc.c:
21674         * gst/base/gstbasesrc.h:
21675         * gst/base/gstbasetransform.c:
21676         * gst/base/gstpushsrc.c:
21677         * gst/base/gstpushsrc.h:
21678           add short/long description docs to base classes
21679           add pushsrc to the docs
21680           remove consolidated doc fragments
21681
21682 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21683
21684         * configure.ac:
21685         * docs/libs/Makefile.am:
21686         * docs/libs/gstreamer-libs-docs.sgml:
21687         * docs/libs/gstreamer-libs-sections.txt:
21688         * docs/libs/gstreamer-libs.types:
21689         * examples/Makefile.am:
21690         * examples/controller/.cvsignore:
21691         * examples/controller/Makefile.am:
21692         * examples/controller/audio-example.c: (main):
21693         * libs/gst/Makefile.am:
21694         * libs/gst/controller/.cvsignore:
21695         * libs/gst/controller/Makefile.am:
21696         * libs/gst/controller/gst-controller.c:
21697         (on_object_controlled_property_changed), (gst_timed_value_compare),
21698         (gst_timed_value_find),
21699         (gst_controlled_property_set_interpolation_mode),
21700         (gst_controlled_property_new), (gst_controlled_property_free),
21701         (gst_controller_find_controlled_property),
21702         (gst_controller_new_valist), (gst_controller_new),
21703         (gst_controller_remove_properties_valist),
21704         (gst_controller_remove_properties), (gst_controller_set),
21705         (gst_controller_set_from_list), (gst_controller_unset),
21706         (gst_controller_get), (gst_controller_get_all),
21707         (gst_controller_sink_values), (gst_controller_get_value_arrays),
21708         (gst_controller_get_value_array),
21709         (gst_controller_set_interpolation_mode),
21710         (_gst_controller_finalize), (_gst_controller_init),
21711         (_gst_controller_class_init), (gst_controller_get_type):
21712         * libs/gst/controller/gst-controller.h:
21713         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21714         (g_object_uncontrol_properties), (g_object_get_controller),
21715         (g_object_set_controller), (g_object_sink_values),
21716         (g_object_get_value_arrays), (g_object_get_value_array):
21717         * libs/gst/controller/gst-interpolation.c:
21718         (gst_controlled_property_find_timed_value_node),
21719         (interpolate_none_get), (interpolate_trigger_get),
21720         (interpolate_trigger_get_value_array):
21721         * libs/gst/controller/lib.c: (gst_controller_init):
21722         * pkgconfig/Makefile.am:
21723         * pkgconfig/gstreamer-control-uninstalled.pc.in:
21724         * pkgconfig/gstreamer-control.pc.in:
21725         * testsuite/Makefile.am:
21726         * testsuite/controller/.cvsignore:
21727         * testsuite/controller/Makefile.am:
21728         * testsuite/controller/interpolator.c: (main):
21729           added controller code
21730           removed dparam pc files
21731
21732 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21733         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21734         (gst_collectpads_stop):
21735           Broadcast the condition when shutting down, to make sure we wake all
21736           threads up. Shut down pads on finalize, for safety.
21737
21738 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21739         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21740         (gst_base_transform_handle_buffer),
21741         (gst_base_transform_change_state):
21742           Handle PAUSED->READY->PAUSED transition after negotiation
21743           occurred already.
21744         * gst/gstmessage.c: (gst_message_init):
21745           Extra piece of debug for new messages.
21746
21747 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
21748
21749         * configure.ac:
21750         * docs/gst/tmpl/gstbasesrc.sgml:
21751         * docs/gst/tmpl/gstelement.sgml:
21752         * docs/gst/tmpl/gstevent.sgml:
21753         * docs/gst/tmpl/gstfakesrc.sgml:
21754         * docs/gst/tmpl/gstformat.sgml:
21755         * docs/gst/tmpl/gstghostpad.sgml:
21756         * docs/gst/tmpl/gstpad.sgml:
21757         * docs/gst/tmpl/gstquery.sgml:
21758         * docs/gst/tmpl/gststructure.sgml:
21759         * docs/gst/tmpl/gsttaglist.sgml:
21760         * docs/gst/tmpl/gstvalue.sgml:
21761         * docs/libs/gstreamer-libs-docs.sgml:
21762         * docs/libs/gstreamer-libs-sections.txt:
21763         * docs/libs/gstreamer-libs.types:
21764         * libs/gst/Makefile.am:
21765         * libs/gst/control/.cvsignore:
21766         * libs/gst/control/Makefile.am:
21767         * libs/gst/control/control.c:
21768         * libs/gst/control/control.h:
21769         * libs/gst/control/dparam.c:
21770         * libs/gst/control/dparam.h:
21771         * libs/gst/control/dparam_smooth.c:
21772         * libs/gst/control/dparam_smooth.h:
21773         * libs/gst/control/dparamcommon.h:
21774         * libs/gst/control/dparammanager.c:
21775         * libs/gst/control/dparammanager.h:
21776         * libs/gst/control/dplinearinterp.c:
21777         * libs/gst/control/dplinearinterp.h:
21778         * libs/gst/control/unitconvert.c:
21779         * libs/gst/control/unitconvert.h:
21780         * testsuite/Makefile.am:
21781         * testsuite/dynparams/.cvsignore:
21782         * testsuite/dynparams/Makefile.am:
21783         * testsuite/dynparams/dparamstest.c:
21784         * tools/Makefile.am:
21785         * tools/gst-inspect.c: (print_element_info), (main):
21786         * tools/gst-xmlinspect.c: (print_element_info), (main):
21787           deactivate and remove dparams (libgstcontrol)
21788
21789 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21790
21791         * gst/elements/gsttypefindelement.c:
21792         (gst_type_find_element_have_type), (gst_type_find_element_init),
21793         (stop_typefinding), (gst_type_find_element_handle_event),
21794         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21795         * gst/elements/gsttypefindelement.h:
21796           Set caps on all outgoing buffers, not just the first one.
21797
21798 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21799
21800         * gst/elements/gsttypefindelement.c:
21801         (gst_type_find_element_have_type),
21802         (gst_type_find_element_check_set_buffer_caps),
21803         (gst_type_find_element_init), (stop_typefinding),
21804         (gst_type_find_element_handle_event),
21805         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21806         * gst/elements/gsttypefindelement.h:
21807           Set caps on first outgoing buffer when we've found the type.
21808
21809 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21810
21811         * docs/gst/gstreamer-docs.sgml:
21812         * docs/gst/gstreamer-sections.txt:
21813         * docs/gst/tmpl/gstscheduler.sgml:
21814         * docs/gst/tmpl/gstschedulerfactory.sgml:
21815           Remove some old cruft from docs.
21816
21817 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
21818
21819         * gst/gstpad.h:
21820           Fix inline docs for GstPadLinkReturn.
21821           
21822         * gst/gststructure.c: (gst_structure_has_name):
21823         * gst/gststructure.h:
21824         * docs/gst/gstreamer-sections.txt:
21825           New API: gst_structure_has_name().
21826
21827 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
21828
21829         * configure.ac:
21830           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21831           and _LARGEFILE_SOURCE in config.h as required. Do not 
21832           export those flags in our .pc files any longer (#142209).
21833
21834           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21835
21836         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21837         (gst_file_sink_do_seek), (gst_file_sink_event),
21838         (gst_file_sink_get_current_offset), (gst_file_sink_render):
21839           Redo seek/tell calls with large file support in mind; add some
21840           debugging messages; add log message that tells us when large
21841           file support is unavailable or not enabled for some reason.
21842
21843         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21844           Add log message that tells us when large file support 
21845           is unavailable or not enabled for some reason.
21846
21847 2005-07-29  Wim Taymans  <wim@fluendo.com>
21848
21849         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21850         Added test for removing an element with ghostpad from a bin.
21851         Fixed test as current implementation does the right thing.
21852
21853         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21854         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21855         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21856         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21857         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21858         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21859         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21860         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21861         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21862         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21863         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21864         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21865         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21866         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21867         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21868         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21869         * gst/gstghostpad.h:
21870         Clean up ghostpads, remove properties for internal stuff.
21871         Make threadsafe.
21872         Fix refcounting.
21873         Prepare for switching targets, not all use cases work yet.
21874
21875 2005-07-29  Wim Taymans  <wim@fluendo.com>
21876
21877         * docs/design/part-gstghostpad.txt:
21878         Small update.
21879
21880         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21881         (gst_bin_remove_func):
21882         Unlinking pads while holding the bin LOCK is not a good
21883         idea.
21884
21885         * gst/gstpad.c: (gst_pad_class_init),
21886         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21887         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21888         No prob setting template after creating the pad.
21889
21890 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
21891
21892         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21893         (gst_bus_peek), (gst_bus_source_dispatch),
21894         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21895         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21896           gst_bus_poll may be called from other threads. Handle
21897           this nicely by not making poll_data disappear off the
21898           stack once gst_bus_poll returns.
21899           gst_bus_peek now increments the refcount on the returned
21900           message.
21901
21902 2005-07-29  Wim Taymans  <wim@fluendo.com>
21903
21904         * docs/design/part-gstghostpad.txt:
21905         Overview of current GhostPad datastructures and use
21906         cases for changing the target.
21907
21908 2005-07-28  Wim Taymans  <wim@fluendo.com>
21909
21910         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21911         Added checks for hierarchy consistency whan adding linked
21912         elements to bins.
21913
21914         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21915         Added check to test element scheduling without bin/pipeline.
21916
21917         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21918         First add elements to bin, then link.
21919         
21920         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21921         (gst_bin_remove_func):
21922         Unlink pads from elements added/removed from bin to maintain
21923         hierarchy consistency.
21924
21925 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21926
21927         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21928         (gst_base_transform_handle_buffer):
21929         * gst/base/gstbasetransform.h:
21930           Remove broken delay_configure (fixes renegotiation of software
21931           scaling pipelines); remove some leftover printf()s.
21932
21933 2005-07-28  Wim Taymans  <wim@fluendo.com>
21934
21935         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21936         Added some more tests for wrong hierarchy
21937
21938         * docs/design/part-overview.txt:
21939         Some updates.
21940
21941         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21942         Cleanups.
21943
21944         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21945         (gst_element_dispose):
21946         Some more cleanups.
21947
21948         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21949         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21950         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21951         (gst_pad_set_caps), (gst_pad_send_event):
21952         Check for correct hierarchy when linking pads. Moving to
21953         strict requirement for ghostpads when linking elements in
21954         different bins.
21955
21956         * gst/gstpad.h:
21957         Clean ups. Added WRONG_HIERARCHY return value.
21958
21959 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21960
21961         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21962           Better debug if no transform is possible.
21963
21964 2005-07-27  Wim Taymans  <wim@fluendo.com>
21965
21966         * docs/random/wtay/network-transp:
21967         Some old doc I had.
21968
21969 2005-07-27  Wim Taymans  <wim@fluendo.com>
21970
21971         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21972         (gst_dp_event_from_packet):
21973         Fix serialization of seek events.
21974
21975 2005-07-27  Wim Taymans  <wim@fluendo.com>
21976
21977         * check/gst-libs/gdp.c: (GST_START_TEST):
21978         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21979         Fix compilation and fix event serialization.
21980
21981 2005-07-27  Wim Taymans  <wim@fluendo.com>
21982
21983         * CHANGES-0.9:
21984         * docs/design/part-TODO.txt:
21985         * docs/design/part-events.txt:
21986         Some docs updates
21987
21988         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21989         (gst_base_sink_event), (gst_base_sink_do_sync),
21990         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21991         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21992         (gst_base_src_do_seek), (gst_base_src_event_handler),
21993         (gst_base_src_loop):
21994         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21995         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21996         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21997         (gst_base_transform_event), (gst_base_transform_handle_buffer),
21998         (gst_base_transform_set_passthrough),
21999         (gst_base_transform_is_passthrough):
22000         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22001         * gst/elements/gstfilesink.c: (gst_file_sink_event):
22002         Event updates.
22003
22004         * gst/gstbuffer.h:
22005         Use faster casts.
22006
22007         * gst/gstelement.c: (gst_element_seek):
22008         * gst/gstelement.h:
22009         Update gst_element_seek.
22010
22011         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
22012         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
22013         (gst_event_new_flush_start), (gst_event_new_flush_stop),
22014         (gst_event_new_eos), (gst_event_new_newsegment),
22015         (gst_event_parse_newsegment), (gst_event_new_tag),
22016         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
22017         (gst_event_parse_qos), (gst_event_new_seek),
22018         (gst_event_parse_seek), (gst_event_new_navigation):
22019         * gst/gstevent.h:
22020         Make GstEvent use GstStructure. Add parsing code, make sure the
22021         API is sufficiently generic.
22022         Mark possible directions of events and serialization.
22023
22024         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
22025         (_gst_message_copy), (gst_message_new_segment_start),
22026         (gst_message_new_segment_done), (gst_message_new_custom),
22027         (gst_message_parse_segment_start),
22028         (gst_message_parse_segment_done):
22029         Small cleanups.
22030
22031         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22032         (gst_pad_set_caps), (gst_pad_send_event):
22033         Update for new events. 
22034         Catch events sent in wrong directions.
22035
22036         * gst/gstqueue.c: (gst_queue_link_src),
22037         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22038         (gst_queue_handle_src_query):
22039         Event updates.
22040
22041         * gst/gsttag.c:
22042         * gst/gsttag.h:
22043         Remove event code from this file.
22044
22045         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22046         (gst_dp_event_from_packet):
22047         Event updates.
22048
22049 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22050
22051         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
22052         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22053         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
22054           Make debugging actually useful.
22055
22056 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22057
22058         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
22059         (gst_pad_fixate_caps):
22060           Implement default fixation once again, so that gst_pad_fixate()
22061           actually does anything at all. This probably needs to be some
22062           sort of a last resort, and use profile-based fixation first, but
22063           since that doesn't exist yet, this is the best we have. Fixes
22064           visualization in Totem.
22065
22066 2005-07-22  Wim Taymans  <wim@fluendo.com>
22067
22068         * docs/design/part-events.txt:
22069         Small update.
22070
22071         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22072         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
22073         (gst_base_sink_activate_pull):
22074         Some more comments.
22075
22076         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22077         (gst_fake_src_create):
22078         Fix handoff marshall.
22079
22080         * gst/elements/gstidentity.c: (gst_identity_class_init),
22081         (gst_identity_transform_ip):
22082         We're a real inplace element.
22083
22084         * gst/gstbus.c: (gst_bus_post):
22085         Added some comments.
22086
22087         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22088         * tests/muxing/case1.c: (main):
22089         * tests/sched/dynamic-pipeline.c: (main):
22090         * tests/sched/interrupt1.c: (main):
22091         * tests/sched/interrupt2.c: (main):
22092         * tests/sched/interrupt3.c: (main):
22093         * tests/sched/runxml.c: (main):
22094         * tests/sched/sched-stress.c: (main):
22095         * tests/seeking/seeking1.c: (event_received), (main):
22096         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22097         (main):
22098         * tests/threadstate/threadstate3.c: (main):
22099         * tests/threadstate/threadstate4.c: (main):
22100         * tests/threadstate/threadstate5.c: (main):
22101         Fix the tests.
22102
22103 2005-07-21  Wim Taymans  <wim@fluendo.com>
22104
22105         * docs/design/part-seeking.txt:
22106         Some small additions.
22107
22108         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22109         (gst_base_sink_get_times), (gst_base_sink_do_sync),
22110         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22111         * gst/base/gstbasesink.h:
22112         discont values are gint64, handle the math correctly.
22113
22114         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22115         Make the basesrc report error if the source pad is not linked.
22116
22117         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22118         (gst_queue_loop), (gst_queue_handle_src_query),
22119         (gst_queue_src_activate_push):
22120         Make queue collect data even if the srcpad is not linked.
22121         Start pushing out data as soon as it is linked.
22122
22123         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22124         * gst/gstutils.h:
22125         Added gst_flow_get_name() to ease error reporting.
22126
22127 2005-07-20  Wim Taymans  <wim@fluendo.com>
22128
22129         * gst/gstmessage.c: (gst_message_new_segment_start),
22130         (gst_message_new_segment_done), (gst_message_parse_segment_start),
22131         (gst_message_parse_segment_done):
22132         * gst/gstmessage.h:
22133         Added a bunch of messages for advanced seeking.
22134
22135         * gst/parse/grammar.y:
22136         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22137         (gst_dpman_state_changed):
22138         Fix some new-pad -> pad-added signals
22139
22140 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22141
22142         * docs/manual/appendix-porting.xml:
22143         * docs/pwg/appendix-porting.xml:
22144           Document new-pad/state-change signal renames and the FixedList
22145           type rename.
22146
22147 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22148
22149         * docs/manual/advanced-autoplugging.xml:
22150         * docs/manual/basics-helloworld.xml:
22151         * docs/manual/basics-pads.xml:
22152         * docs/random/ds/0.9-suggested-changes:
22153         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22154         * gst/gstelement.h:
22155         * gst/gstevent.h:
22156         * gst/gstformat.h:
22157         * gst/gstquery.h:
22158         * gst/gststructure.c: (gst_structure_value_get_generic_type),
22159         (gst_structure_parse_array), (gst_structure_parse_value):
22160         * gst/gstvalue.c: (gst_type_is_fixed),
22161         (gst_value_list_prepend_value), (gst_value_list_append_value),
22162         (gst_value_list_get_size), (gst_value_list_get_value),
22163         (gst_value_transform_array_string), (gst_value_serialize_array),
22164         (gst_value_deserialize_array), (gst_value_intersect_array),
22165         (gst_value_is_fixed), (_gst_value_initialize):
22166         * gst/gstvalue.h:
22167           GstElement::new-pad -> pad-added, GstElement::state-change ->
22168           state-changed, GstValueFixedList -> GstValueArray, add format and
22169           flags as their own arguments in gst_element_seek() (should improve
22170           "bindeability"), remove function generators since they don't work
22171           under a whole bunch of compilers (they were deprecated already
22172           anyway).
22173
22174 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22175
22176         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22177         (_gst_debug_register_funcptr):
22178         * gst/gstinfo.h:
22179           Fix illegal cast on some platforms (#309253).
22180
22181 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22182
22183         * gst/gstmessage.c: (gst_message_new_custom):
22184         * gst/gstmessage.h:
22185           Add _new_custom, make _new_application a macro to _new_custom.
22186
22187 2005-07-20  Wim Taymans  <wim@fluendo.com>
22188
22189         * gst/base/gstbasesrc.c: (gst_base_src_init),
22190         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22191         * gst/base/gstbasesrc.h:
22192         Add a gboolean to decide when to push out a discont.
22193
22194         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22195         (gst_queue_loop), (gst_queue_handle_src_query),
22196         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22197         (gst_queue_set_property), (gst_queue_get_property):
22198         Some cleanups.
22199
22200         * tests/threadstate/threadstate1.c: (main):
22201         Make a thread test compile and run... very silly..
22202
22203
22204 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22205
22206         * docs/manual/appendix-porting.xml:
22207           Mention removal of libgstgconf-0.9.la and existence of gconf
22208           elements.
22209
22210 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22211
22212         * docs/pwg/advanced-clock.xml:
22213         * docs/pwg/appendix-porting.xml:
22214         * docs/pwg/intro-preface.xml:
22215         * docs/pwg/other-base.xml:
22216         * docs/pwg/other-manager.xml:
22217         * docs/pwg/other-nton.xml:
22218         * docs/pwg/other-ntoone.xml:
22219         * docs/pwg/other-oneton.xml:
22220         * docs/pwg/pwg.xml:
22221           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22222           demuxer), remove n-to-n (was never written), fix some code examples
22223           and links and update the porting section to include all this.
22224
22225 2005-07-19  Wim Taymans  <wim@fluendo.com>
22226
22227         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22228         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22229         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22230         (gst_queue_src_activate_push), (gst_queue_change_state),
22231         (gst_queue_get_property):
22232         * gst/gstqueue.h:
22233         Propagate GstFlowReturn more intelligently upstream and output
22234         an ERROR/EOS when streaming stopped due to fatal error.
22235
22236 2005-07-19  Wim Taymans  <wim@fluendo.com>
22237
22238         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22239         Don't block forever for the state change to complete, the
22240         pipeline already did with a sensible timeout.
22241
22242 2005-07-19  Wim Taymans  <wim@fluendo.com>
22243
22244         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22245         Make sure we never call the create function is we
22246         got deactivated.
22247
22248 2005-07-19  Andy Wingo  <wingo@pobox.com>
22249
22250         * gst/parse/parse.l: Attempt to solve bug #172815.
22251
22252 2005-07-19  Wim Taymans  <wim@fluendo.com>
22253
22254         * docs/design/part-clocks.txt:
22255         * docs/design/part-events.txt:
22256         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22257         Small docs updates.
22258         Only update the seeking values when we are not
22259         busy streaming.
22260
22261 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22262
22263         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22264           Oops, ignore the result of gst_pad_push_event here.
22265
22266 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22267
22268         * gst/base/gstbasesrc.c: (gst_base_src_loop),
22269         (gst_base_src_activate_push):
22270           Send discont event from the loop function, as pads
22271           aren't activated yet in the activate_push handler.
22272
22273         * gst/gstbin.c: (bin_bus_handler):
22274           Don't leak element name.
22275
22276 2005-07-18  Andy Wingo  <wingo@pobox.com>
22277
22278         * configure.ac: Use AS_LIBTOOL_TAGS.
22279
22280 2005-07-18  Wim Taymans  <wim@fluendo.com>
22281
22282         * docs/gst/gstreamer.types:
22283         Remove deleted types.
22284
22285 2005-07-18  Wim Taymans  <wim@fluendo.com>
22286
22287         * check/elements/gstfakesrc.c: (GST_START_TEST):
22288         * configure.ac:
22289         * gst/Makefile.am:
22290         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22291         (init_popt_callback):
22292         * gst/gst.h:
22293         * gst/gst_private.h:
22294         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22295         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22296         * gst/gstbin.h:
22297         * gst/gstbus.h:
22298         * gst/gstconfig.h.in:
22299         * gst/gstelement.c: (gst_element_class_init),
22300         (gst_element_set_base_time), (gst_element_get_base_time),
22301         (iterator_fold_with_resync), (gst_element_change_state),
22302         (gst_element_dispose), (gst_element_get_bus):
22303         * gst/gstelement.h:
22304         * gst/gstelementfactory.h:
22305         * gst/gsterror.c: (_gst_core_errors_init):
22306         * gst/gsterror.h:
22307         * gst/gstevent.h:
22308         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22309         * gst/gstindex.c:
22310         * gst/gstinfo.c: (_gst_debug_init):
22311         * gst/gstmessage.c: (_gst_message_copy):
22312         * gst/gstmessage.h:
22313         * gst/gstminiobject.h:
22314         * gst/gstobject.c:
22315         * gst/gstobject.h:
22316         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22317         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22318         * gst/gstpad.h:
22319         * gst/gstparse.h:
22320         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22321         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22322         (gst_pipeline_get_last_stream_time):
22323         * gst/gstpipeline.h:
22324         * gst/gstpluginfeature.h:
22325         * gst/gstquery.h:
22326         * gst/gstscheduler.c:
22327         * gst/gstscheduler.h:
22328         * gst/gststructure.h:
22329         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22330         (gst_task_finalize), (gst_task_func), (gst_task_create),
22331         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22332         (gst_task_stop), (gst_task_pause):
22333         * gst/gsttask.h:
22334         * gst/gsttypefind.h:
22335         * gst/gsttypes.h:
22336         * gst/registries/gstlibxmlregistry.c: (load_feature),
22337         (gst_xml_registry_load), (gst_xml_registry_save_feature):
22338         * gst/registries/gstxmlregistry.c:
22339         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22340         * gst/schedulers/threadscheduler.c:
22341         * libs/gst/control/dparammanager.h:
22342         * tools/gst-inspect.c: (print_element_list),
22343         (print_plugin_features), (print_element_features):
22344         * tools/gst-xmlinspect.c: (print_element_list),
22345         (print_plugin_info), (main):
22346         Removed plugable schedulers.
22347         Removed Scheduler/Manager from elements.
22348         Removed gsttypes.h, rearranged includes.
22349         Removed dependency pad<->element, element<>pipeline, and
22350         various others,  fix includes.
22351         implement gst_pad_get_parent() with gst_object_get_parent()
22352         Make GstTask sefcontained.
22353         Fix _get_state() on GstBin, it did not return ASYNC with a 0
22354         timeout.
22355         Fix endless loop in iterator_fold_with_resync.
22356
22357
22358 2005-07-18  Wim Taymans  <wim@fluendo.com>
22359
22360         * gst/Makefile.am:
22361         * gst/gstarch.h:
22362         Remove old file.
22363
22364 2005-07-18  Wim Taymans  <wim@fluendo.com>
22365
22366         * gst/Makefile.am:
22367         No more cothreads.h
22368
22369 2005-07-18  Wim Taymans  <wim@fluendo.com>
22370
22371         * gst/cothreads.c:
22372         * gst/cothreads.h:
22373         Let's remove these.
22374
22375 2005-07-18  Wim Taymans  <wim@fluendo.com>
22376
22377         * docs/design/part-dynamic.txt:
22378         * docs/design/part-events.txt:
22379         * docs/design/part-seeking.txt:
22380         Some more docs in the works.
22381
22382         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22383         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22384         (gst_base_transform_setcaps), (gst_base_transform_get_size),
22385         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22386         (gst_base_transform_handle_buffer),
22387         (gst_base_transform_sink_activate_push),
22388         (gst_base_transform_src_activate_pull),
22389         (gst_base_transform_set_passthrough),
22390         (gst_base_transform_is_passthrough):
22391         Refcounting fixes.
22392
22393         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22394         Cleanups.
22395
22396         * gst/gstevent.c: (gst_event_finalize):
22397         Set SRC to NULL.
22398
22399         * gst/gstutils.c: (gst_element_unlink),
22400         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22401         (gst_pad_proxy_setcaps):
22402         * gst/gstutils.h:
22403         Add _get_parent_element() to get a pads parent as an element.
22404
22405 2005-07-18  Wim Taymans  <wim@fluendo.com>
22406
22407         * check/gst/gstbin.c: (GST_START_TEST):
22408         Remove bogus test.
22409
22410 2005-07-18  Wim Taymans  <wim@fluendo.com>
22411
22412         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22413         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22414         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22415         (gst_base_sink_event), (gst_base_sink_do_sync),
22416         (gst_base_sink_chain), (gst_base_sink_loop),
22417         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22418         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22419         Refcounting fixes.
22420         Fix logic for returning ASYNC when not prerolled.
22421
22422 2005-07-18  Wim Taymans  <wim@fluendo.com>
22423
22424         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22425         Fix nasty refcount bug.
22426
22427 2005-07-16 Philippe Khalaf <burger@speedy.org>
22428
22429         * gst/elements/gstfdsrc.c:
22430         * gst/elements/gstfdsrc.h:
22431         * gst/elements/gstelements.c:
22432         * gst/elements/Makefile.am:
22433         Ported fdsrc to 0.9.
22434
22435 2005-07-16  Wim Taymans  <wim@fluendo.com>
22436
22437         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22438         (gst_base_sink_do_sync):
22439         Fix compile error.
22440
22441 2005-07-16  Wim Taymans  <wim@fluendo.com>
22442
22443         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22444         (gst_base_sink_event), (gst_base_sink_get_times),
22445         (gst_base_sink_do_sync), (gst_base_sink_change_state):
22446         * gst/base/gstbasesink.h:
22447         Store and use discont values when syncing buffers as described
22448         in design docs.
22449         
22450         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22451         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22452         (gst_base_src_activate_push):
22453         Push discont event when starting.
22454
22455         * gst/elements/gstidentity.c: (gst_identity_transform):
22456         Small cleanups.
22457
22458         * gst/gstbin.c: (gst_bin_change_state):
22459         Small cleanups in base_time  distribution.
22460
22461         * gst/gstelement.c: (gst_element_set_base_time),
22462         (gst_element_get_base_time), (gst_element_change_state):
22463         * gst/gstelement.h:
22464         Added methods for the base_time of the element.
22465         Some MT fixes.
22466
22467         * gst/gstpipeline.c: (gst_pipeline_send_event),
22468         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22469         (gst_pipeline_get_last_stream_time):
22470         * gst/gstpipeline.h:
22471         MT fixes.
22472         Handle seeking as described in design doc, remove stream_time
22473         hack.
22474         Cleanups clock and stream_time selection code. Added accessors
22475         for the stream_time.
22476         
22477
22478 2005-07-16  Andy Wingo  <wingo@pobox.com>
22479
22480         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22481         (#305291).
22482
22483 2005-07-16  Wim Taymans  <wim@fluendo.com>
22484
22485         * check/gst/gstbin.c: (GST_START_TEST):
22486         Make elements silent as the deep_notify refs the
22487         parent, which might make the test fail.
22488
22489         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22490         Don't hold the lock for too long.
22491
22492 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
22493
22494         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22495           Don't unref the caps we passed to gst_caps_make_writable() after
22496           passing them. gst_caps_make_writable() will do that for us.
22497
22498 2005-07-15  Andy Wingo  <wingo@pobox.com>
22499
22500         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22501         (#157311).
22502
22503         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22504         own marshalling function for the handoff signal. Properly type the
22505         buffer as a buffer. Fixes some warnings. Should do a more general
22506         solution.
22507         (gst_identity_class_init): Plug into the right marshaller.
22508
22509 2005-07-15  Wim Taymans  <wim@fluendo.com>
22510
22511         * docs/design/part-TODO.txt:
22512         * docs/design/part-clocks.txt:
22513         * docs/design/part-element-sink.txt:
22514         * docs/design/part-events.txt:
22515         * docs/design/part-gstpipeline.txt:
22516         Updated docs, mostly DISCONT related.
22517
22518 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
22519
22520         * docs/pwg/building-pads.xml:
22521           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22522
22523 2005-07-15  Andy Wingo  <wingo@pobox.com>
22524
22525         * tools/gst-typefind.c: Update, add copyright block.
22526
22527         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22528         Normalize and truncate caps before fixation.
22529
22530         * gst/gstcaps.h:
22531         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22532         discards all but the first structure from its argument.
22533
22534 2005-07-15  Wim Taymans  <wim@fluendo.com>
22535
22536         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22537         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22538         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22539         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22540         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22541         (gst_base_transform_chain), (gst_base_transform_change_state),
22542         (gst_base_transform_set_passthrough),
22543         (gst_base_transform_is_passthrough):
22544         * gst/base/gstbasetransform.h:
22545         Make passthrough work using the bufferpools.
22546         Changed API a bit, subclasses have to write into a buffer
22547         provided by the base class.
22548         More debug info in nego functions.
22549         
22550         * gst/elements/gstidentity.c: (gst_identity_init),
22551         (gst_identity_transform):
22552         Port to new base class.
22553
22554 2005-07-15  Wim Taymans  <wim@fluendo.com>
22555
22556         * gst/gstmessage.c: (gst_message_new_state_changed):
22557         * tools/gst-launch.c: (event_loop), (main):
22558         Totally dump messages in -launch with the -m option.
22559         Fix message name for State messages,
22560
22561 2005-07-14  Wim Taymans  <wim@fluendo.com>
22562
22563         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22564         Post error messages on errors.
22565
22566 2005-07-14  Wim Taymans  <wim@fluendo.com>
22567
22568         * gst/gstcaps.c: (gst_caps_do_simplify):
22569         Remove debug info.
22570
22571         * gst/gsterror.h:
22572         Define error for stream stopped.
22573
22574         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22575         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22576         Do proper return values.
22577
22578         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22579         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22580         (gst_pad_get_range):
22581         Better return values.
22582
22583         * gst/gstpad.h:
22584         Reorganise return values, add macro to check for fatal errors.
22585
22586         * gst/gstqueue.c: (gst_queue_chain):
22587         Return proper GstFlowReturn values,
22588
22589 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
22590
22591         * docs/gst/gstreamer-sections.txt:
22592         * docs/gst/gstreamer.types:
22593         * docs/gst/tmpl/gst.sgml:
22594         * docs/gst/tmpl/gstbasesink.sgml:
22595         * docs/gst/tmpl/gstbasesrc.sgml:
22596         * docs/gst/tmpl/gstbasetransform.sgml:
22597         * docs/gst/tmpl/gstbin.sgml:
22598         * docs/gst/tmpl/gstbuffer.sgml:
22599         * docs/gst/tmpl/gstcaps.sgml:
22600         * docs/gst/tmpl/gstclock.sgml:
22601         * docs/gst/tmpl/gstcompat.sgml:
22602         * docs/gst/tmpl/gstconfig.sgml:
22603         * docs/gst/tmpl/gstelement.sgml:
22604         * docs/gst/tmpl/gstelementdetails.sgml:
22605         * docs/gst/tmpl/gstelementfactory.sgml:
22606         * docs/gst/tmpl/gstenumtypes.sgml:
22607         * docs/gst/tmpl/gsterror.sgml:
22608         * docs/gst/tmpl/gstevent.sgml:
22609         * docs/gst/tmpl/gstfakesink.sgml:
22610         * docs/gst/tmpl/gstfakesrc.sgml:
22611         * docs/gst/tmpl/gstfilesink.sgml:
22612         * docs/gst/tmpl/gstfilesrc.sgml:
22613         * docs/gst/tmpl/gstfilter.sgml:
22614         * docs/gst/tmpl/gstformat.sgml:
22615         * docs/gst/tmpl/gstghostpad.sgml:
22616         * docs/gst/tmpl/gstimplementsinterface.sgml:
22617         * docs/gst/tmpl/gstindex.sgml:
22618         * docs/gst/tmpl/gstindexfactory.sgml:
22619         * docs/gst/tmpl/gstinfo.sgml:
22620         * docs/gst/tmpl/gstiterator.sgml:
22621         * docs/gst/tmpl/gstmacros.sgml:
22622         * docs/gst/tmpl/gstmemchunk.sgml:
22623         * docs/gst/tmpl/gstminiobject.sgml:
22624         * docs/gst/tmpl/gstobject.sgml:
22625         * docs/gst/tmpl/gstpad.sgml:
22626         * docs/gst/tmpl/gstpadtemplate.sgml:
22627         * docs/gst/tmpl/gstparse.sgml:
22628         * docs/gst/tmpl/gstpipeline.sgml:
22629         * docs/gst/tmpl/gstplugin.sgml:
22630         * docs/gst/tmpl/gstpluginfeature.sgml:
22631         * docs/gst/tmpl/gstquery.sgml:
22632         * docs/gst/tmpl/gstqueue.sgml:
22633         * docs/gst/tmpl/gstregistry.sgml:
22634         * docs/gst/tmpl/gstregistrypool.sgml:
22635         * docs/gst/tmpl/gstscheduler.sgml:
22636         * docs/gst/tmpl/gstschedulerfactory.sgml:
22637         * docs/gst/tmpl/gststructure.sgml:
22638         * docs/gst/tmpl/gstsystemclock.sgml:
22639         * docs/gst/tmpl/gsttaglist.sgml:
22640         * docs/gst/tmpl/gsttagsetter.sgml:
22641         * docs/gst/tmpl/gsttrace.sgml:
22642         * docs/gst/tmpl/gsttrashstack.sgml:
22643         * docs/gst/tmpl/gsttypefind.sgml:
22644         * docs/gst/tmpl/gsttypefindfactory.sgml:
22645         * docs/gst/tmpl/gsttypes.sgml:
22646         * docs/gst/tmpl/gsturihandler.sgml:
22647         * docs/gst/tmpl/gsturitype.sgml:
22648         * docs/gst/tmpl/gstutils.sgml:
22649         * docs/gst/tmpl/gstvalue.sgml:
22650         * docs/gst/tmpl/gstversion.sgml:
22651         * docs/gst/tmpl/gstxml.sgml:
22652         * docs/libs/tmpl/gstcontrol.sgml:
22653         * docs/libs/tmpl/gstdataprotocol.sgml:
22654         * docs/libs/tmpl/gstdparam.sgml:
22655         * docs/libs/tmpl/gstdplinint.sgml:
22656         * docs/libs/tmpl/gstdpman.sgml:
22657         * docs/libs/tmpl/gstdpsmooth.sgml:
22658         * docs/libs/tmpl/gstgetbits.sgml:
22659         * docs/libs/tmpl/gstunitconvert.sgml:
22660         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22661         (gst_push_src_base_init), (gst_push_src_class_init),
22662         (gst_push_src_init), (gst_push_src_create):
22663         * gst/base/gstpushsrc.h:
22664         * gst/elements/gstelements.c:
22665         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22666         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22667         (gst_fake_sink_init), (gst_fake_sink_set_property),
22668         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22669         (gst_fake_sink_event), (gst_fake_sink_preroll),
22670         (gst_fake_sink_render), (gst_fake_sink_change_state):
22671         * gst/elements/gstfakesink.h:
22672         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22673         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22674         (gst_fake_src_base_init), (gst_fake_src_class_init),
22675         (gst_fake_src_init), (gst_fake_src_event_handler),
22676         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22677         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22678         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22679         (gst_fake_src_create_buffer), (gst_fake_src_create),
22680         (gst_fake_src_start), (gst_fake_src_stop):
22681         * gst/elements/gstfakesrc.h:
22682         * gst/elements/gstfilesink.c: (_do_init),
22683         (gst_file_sink_base_init), (gst_file_sink_class_init),
22684         (gst_file_sink_init), (gst_file_sink_dispose),
22685         (gst_file_sink_set_location), (gst_file_sink_set_property),
22686         (gst_file_sink_get_property), (gst_file_sink_open_file),
22687         (gst_file_sink_close_file), (gst_file_sink_query),
22688         (gst_file_sink_event), (gst_file_sink_render),
22689         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22690         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22691         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22692         * gst/elements/gstfilesink.h:
22693         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22694         (gst_file_src_class_init), (gst_file_src_init),
22695         (gst_file_src_finalize), (gst_file_src_set_location),
22696         (gst_file_src_set_property), (gst_file_src_get_property),
22697         (gst_file_src_map_region), (gst_file_src_map_small_region),
22698         (gst_file_src_create_mmap), (gst_file_src_create_read),
22699         (gst_file_src_create), (gst_file_src_is_seekable),
22700         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22701         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22702         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22703         (gst_file_src_uri_handler_init):
22704         * gst/elements/gstfilesrc.h:
22705           more autistic cleanliness in functions/names/defines
22706
22707 2005-07-13  Andy Wingo  <wingo@pobox.com>
22708
22709         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22710         source couldn't negotiate.
22711
22712         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22713         connections again.
22714
22715         * gst/gstutils.h:
22716         * gst/gstutils.c (gst_element_link_pads_filtered): New old
22717         function. I am channeling Hades. Put your boots on suckers!!!
22718
22719 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22720
22721         * testsuite/caps/Makefile.am:
22722         * testsuite/caps/value_compare.c:
22723         * testsuite/caps/value_intersect.c:
22724         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22725           move two testsuite apps over to the check dir
22726
22727 2005-07-12  Wim Taymans  <wim@fluendo.com>
22728
22729         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22730         Added more debug info in the negotiate process.
22731
22732         * gst/gstmessage.h:
22733         Prepare for segment playback.
22734
22735         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22736         Better debugging.
22737
22738         * gst/gstutils.c:
22739         Some more docs.
22740
22741         * tools/gst-launch.c: (main):
22742         NULL pipeline on errors.
22743
22744 2005-07-12  Andy Wingo  <wingo@pobox.com>
22745
22746         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22747         not it comes from a malloc region. Make sure our copy gets freed.
22748
22749 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22750
22751         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22752         * check/gst/gstmessage.c: (GST_START_TEST):
22753         * check/gst/gststructure.c: (GST_START_TEST),
22754         (gst_structure_suite), (main):
22755           more testing
22756         * gst/gstelement.c: (gst_element_message_full):
22757           clean up GError and debug string now that they get copied
22758         * gst/gstmessage.c: (gst_message_new_error),
22759         (gst_message_new_warning), (gst_message_parse_error),
22760         (gst_message_parse_warning):
22761           use GST_TYPE_G_ERROR for structure_new, and take copies of
22762           arguments, so that we don't mess up refcounting
22763
22764 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22765
22766         * check/Makefile.am:
22767           add per-test valgrind targets
22768         * check/gst-libs/gdp.c: (GST_START_TEST),
22769         (gst_data_protocol_suite), (main):
22770           clean up
22771
22772 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22773
22774         * check/Makefile.am:
22775           instate more valgrindable tests
22776         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22777         (GST_START_TEST), (fakesrc_suite):
22778         * check/gst/gstpad.c: (GST_START_TEST):
22779         * check/gst/gststructure.c: (GST_START_TEST):
22780           fix test leaks
22781         * docs/gst/tmpl/gstminiobject.sgml:
22782         * gst/gstpad.c: (gst_pad_finalize):
22783           fix the static mutex leak
22784
22785 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22786
22787         * check/Makefile.am:
22788           add two more tests for valgrinding
22789         * check/gst/gstvalue.c: (GST_START_TEST):
22790           test refcount of deserialized buffer, found a leak
22791         * docs/gst/gstreamer-docs.sgml:
22792         * docs/gst/gstreamer-sections.txt:
22793         * docs/gst/gstreamer.types:
22794         * docs/gst/tmpl/gstminiobject.sgml:
22795           add miniobject to docs
22796         * gst/gstminiobject.c:
22797           add some docs
22798         * gst/gstvalue.c: (gst_value_deserialize_buffer),
22799         (gst_string_unwrap):
22800           fix a hard-to-find invalid write for one of the tests
22801           fix a leak for deserialized buffers
22802
22803 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22804
22805         * docs/pwg/advanced-events.xml:
22806         * docs/pwg/advanced-request.xml:
22807         * docs/pwg/advanced-scheduling.xml:
22808         * docs/pwg/appendix-porting.xml:
22809         * docs/pwg/building-boiler.xml:
22810         * docs/pwg/intro-preface.xml:
22811         * docs/pwg/other-ntoone.xml:
22812           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22813           of example code and explanation for pad activation, loop() and
22814           getrange() functions and a bit more. Remove old comments pointing
22815           to loop-functions.
22816         * examples/pwg/Makefile.am:
22817           Add loop/getrange examples.
22818
22819 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22820
22821         * configure.ac:
22822           check for valgrind binary + some fixes
22823         * check/gst.supp:
22824           valgrind suppressions for the tests
22825         * check/Makefile.am:
22826           add a valgrind: target that valgrinds the unit tests
22827         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22828         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22829         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22830         * check/gst/gstghostpad.c:
22831           added some cleanup
22832         * check/gst/gstdata.c:
22833           removed
22834         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22835         (thread_unref), (gst_mini_object_suite), (main):
22836           added
22837         * gst/gst.c: (gst_deinit):
22838         * gst/gst.h:
22839           add a method to clean up.
22840         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22841         (gst_system_clock_obtain):
22842           allow for disposing the system clock.
22843         * tools/gst-launch.c: (main):
22844           deinit
22845
22846 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22847
22848         * docs/gst/tmpl/gstbasesrc.sgml:
22849         * docs/gst/tmpl/gstfakesrc.sgml:
22850         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22851         (gst_base_src_init), (gst_base_src_set_property),
22852         (gst_base_src_get_property), (gst_base_src_get_range),
22853         (gst_base_src_start):
22854         * gst/base/gstbasesrc.h:
22855           add num-buffers property
22856         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22857         (gst_fakesrc_init), (gst_fakesrc_set_property),
22858         (gst_fakesrc_get_property), (gst_fakesrc_create),
22859         (gst_fakesrc_start):
22860           remove num-buffers property
22861
22862 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22863
22864         * docs/gst/gstreamer-sections.txt:
22865         * docs/gst/tmpl/gstbasesink.sgml:
22866         * docs/gst/tmpl/gstbasesrc.sgml:
22867         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22868         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22869         (gst_base_sink_finalize), (gst_base_sink_set_clock),
22870         (gst_base_sink_set_property), (gst_base_sink_get_property),
22871         (gst_base_sink_handle_object), (gst_base_sink_event),
22872         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22873         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22874         (gst_base_sink_loop), (gst_base_sink_deactivate),
22875         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22876         (gst_base_sink_change_state):
22877         * gst/base/gstbasesink.h:
22878         * gst/base/gstbasesrc.h:
22879         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22880         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22881         (gst_filesink_init):
22882           more macro splitting
22883
22884 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22885
22886         * gst/gstelement.c: (gst_element_get_bus):
22887           add debug
22888         * tools/gst-launch.c: (check_intr), (event_loop):
22889           fix bus leaks
22890
22891 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22892
22893         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22894           fix a caps leak
22895
22896 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22897
22898         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22899         (gst_base_src_finalize):
22900           add finalize method and clean up properly
22901         * gst/gstpipeline.c: (gst_pipeline_dispose):
22902           add debug
22903
22904 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22905
22906         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22907         (gst_bin_suite):
22908           add more things to check
22909         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22910         * gst/gstelement.c:
22911           more debug
22912
22913 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22914
22915         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22916         (GST_START_TEST), (fakesrc_suite):
22917         * check/gst-libs/gdp.c: (GST_START_TEST):
22918         * check/gst/gst.c: (GST_START_TEST):
22919         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22920         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22921         * check/gst/gstbus.c: (GST_START_TEST):
22922         * check/gst/gstcaps.c: (GST_START_TEST):
22923         * check/gst/gstdata.c: (GST_START_TEST):
22924         * check/gst/gstelement.c: (GST_START_TEST):
22925         * check/gst/gstghostpad.c: (GST_START_TEST):
22926         * check/gst/gstiterator.c: (GST_START_TEST):
22927         * check/gst/gstmessage.c: (GST_START_TEST):
22928         * check/gst/gstobject.c: (GST_START_TEST):
22929         * check/gst/gstpad.c: (GST_START_TEST):
22930         * check/gst/gststructure.c: (GST_START_TEST):
22931         * check/gst/gstsystemclock.c: (GST_START_TEST),
22932         (gst_systemclock_suite):
22933         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22934         * check/gst/gstvalue.c: (GST_START_TEST):
22935         * check/pipelines/cleanup.c: (GST_START_TEST):
22936         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22937         * check/states/sinks.c: (GST_START_TEST):
22938         * check/gstcheck.c: (gst_check_init):
22939         * check/gstcheck.h:
22940           add debugging category
22941           use GST_START_TEST now, so we add a debug line
22942
22943 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22944
22945         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22946           add test for state change message on a bin
22947         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22948           add another test
22949         * gst/gstbin.c: (gst_bin_init):
22950         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22951         * gst/gstelement.c: (gst_element_post_message),
22952         (gst_element_set_state):
22953         * gst/gstelementfactory.c: (gst_element_factory_create):
22954         * gst/gstmessage.c: (gst_message_new):
22955         * gst/gstscheduler.c:
22956           various debugging additions and cleanups
22957
22958 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22959
22960         * check/Makefile.am:
22961         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22962         (main):
22963           adding tests for elements
22964         * gst/gstelement.c: (gst_element_dispose):
22965
22966 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22967
22968         * gst/registries/gstlibxmlregistry.c: (load_feature):
22969           plug more leaks.  A simple gst_init() now is leakfree, yay.
22970
22971 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22972
22973         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22974         (gst_xml_registry_load):
22975           plug another memleak
22976
22977 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22978
22979         * configure.ac:
22980           use GST_SET_ERROR_CFLAGS
22981         * docs/faq/cvs.xml:
22982           change to ERROR_CFLAGS
22983
22984 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22985
22986         * configure.ac:
22987           make GST_ERROR_CFLAGS overridable and re-enable Werror
22988         * docs/faq/cvs.xml:
22989           add a note about error CFLAGS
22990         * docs/gst/tmpl/gstfakesrc.sgml:
22991         * gst/elements/gstfakesrc.c:
22992           comment out some unused code
22993         * gst/gst.c: (split_and_iterate):
22994         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22995         (load_feature):
22996           plug some memleaks
22997
22998 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22999
23000         * common/Makefile.am:
23001         * common/gtk-doc.mak:
23002         * docs/gst/Makefile.am:
23003           factor out gtk-doc.mak
23004
23005 2005-07-07  Wim Taymans  <wim@fluendo.com>
23006
23007         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
23008         (gst_thread_scheduler_dispose):
23009         Unlock the STREAM_LOCK completely.
23010
23011 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23012
23013         * check/Makefile.am:
23014         * check/elements/.cvsignore:
23015         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23016         (START_TEST), (fakesrc_suite), (main):
23017         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23018         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23019         (gst_fakesrc_create), (gst_fakesrc_start):
23020         * gst/elements/gstfakesrc.h:
23021           adding a first element test
23022
23023 2005-07-07  Andy Wingo  <wingo@pobox.com>
23024
23025         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
23026         debug message.
23027
23028 2005-07-07  Wim Taymans  <wim@fluendo.com>
23029
23030         * gst/gstquery.c:
23031         * gst/gstquery.h:
23032         Remove old types
23033
23034 2005-07-07  Wim Taymans  <wim@fluendo.com>
23035
23036         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23037         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
23038         Allow subclasses to implement their own negotiation.
23039
23040 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23041
23042         * docs/design/part-gstbin.txt:
23043         * docs/design/part-gstpipeline.txt:
23044           Update design notes to reflect the movement of
23045           responsibility for bus handling from GstPipeline to
23046           GstBin
23047
23048 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23049
23050         * configure.ac:
23051           Remove unnecessary queue2/3/4 examples.
23052
23053 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23054
23055         * examples/Makefile.am:
23056         * examples/helloworld/helloworld.c: (event_loop), (main):
23057         * examples/queue/queue.c: (event_loop), (main):
23058         * examples/queue2/queue2.c: (main):
23059           Update a couple of the examples to work again.
23060
23061         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23062         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
23063          Spelling corrections and extra debug.
23064         
23065         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
23066         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
23067         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
23068         * gst/gstbin.h:
23069         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23070         (gst_pipeline_change_state):
23071         * gst/gstpipeline.h:
23072           Move the bus handler for children to the GstBin, and create a
23073           separate bus for receiving messages from children to the one the
23074           bus sends 'upwards' on.
23075
23076 2005-07-06  Wim Taymans  <wim@fluendo.com>
23077
23078         * gst/base/README:
23079         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23080         (gst_base_sink_handle_object), (gst_base_sink_loop),
23081         (gst_base_sink_change_state):
23082         * gst/base/gstbasesink.h:
23083         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23084         (gst_base_src_init), (gst_base_src_setcaps),
23085         (gst_base_src_getcaps), (gst_base_src_loop),
23086         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23087         (gst_base_src_start), (gst_base_src_change_state):
23088         * gst/base/gstbasesrc.h:
23089         Make basesrc negotiate.
23090         Handle the case where preroll fails in basesink.
23091         Update README.
23092
23093 2005-07-06  Wim Taymans  <wim@fluendo.com>
23094
23095         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23096         Implement the fixate function.
23097         Clean up acceptcaps.
23098
23099 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23100
23101         * docs/pwg/building-filterfactory.xml:
23102         * docs/pwg/pwg.xml:
23103           Remove never-written filter-factory chapter; I'll add the various
23104           base classes to part 4 ("other element types") later on.
23105
23106 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23107
23108         * docs/pwg/advanced-negotiation.xml:
23109         * docs/pwg/building-boiler.xml:
23110         * docs/pwg/building-pads.xml:
23111         * docs/pwg/pwg.xml:
23112         * examples/pwg/Makefile.am:
23113           Add a chapter on caps negotiation, simplify the original code
23114           samples a bit w.r.t. caps negotiation, add link to the advanced
23115           section. Add a bunch of examples showing different use cases of
23116           different types of caps negotiation. Upstream renegotiation isn't
23117           fully documented yet since nobody knows how that works.
23118
23119 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23120
23121         * check/gst/gstpad.c:
23122         * check/gstcheck.c:
23123         * gst/gstpad.c: (gst_pad_get_internal_links_default):
23124           if pad has no parent, return NULL as list of internal links
23125
23126 2005-07-05  Andy Wingo  <wingo@pobox.com>
23127
23128         * gst/elements/gstfilesrc.c:
23129         * gst/elements/gstfakesrc.c: 
23130         * gst/base/gstpushsrc.c:
23131         * gst/base/gstbasesrc.h: 
23132         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23133         
23134 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
23135
23136         * Makefile.am:
23137           better report generation target (lcov needs a patch)
23138
23139 2005-07-05  Andy Wingo  <wingo@pobox.com>
23140
23141         * gst/elements, testsuite: Null if we got it...
23142
23143 2005-07-05  Wim Taymans  <wim@fluendo.com>
23144
23145         * configure.ac:
23146         * libs/gst/dataprotocol/Makefile.am:
23147         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23148         * libs/gst/dataprotocol/dataprotocol.h:
23149         * pkgconfig/Makefile.am:
23150         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23151         * pkgconfig/gstreamer-dataprotocol.pc.in:
23152         Ported dataprotol to 0.9. 
23153         Added pkgconfig files.
23154
23155 2005-07-05  Andy Wingo  <wingo@pobox.com>
23156
23157         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23158         Default to returning TRUE for the case when tranform_caps returns
23159         a fixed caps, like for identity or volume.
23160
23161         * check/gst/gstbus.c (pound_bus_with_messages): 
23162         * check/gst/gstmessage.c (START_TEST): 
23163         * check/pipelines/simple_launch_lines.c (got_handoff): Application
23164         message API change.
23165
23166         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23167         logic weaks here: always run transform_caps, trying passthrough
23168         operation only if the original caps intersects with the transform.
23169
23170         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23171         source and sink caps.
23172
23173         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23174         Intersect the peer caps with the pad template before going into
23175         transform_caps.
23176         (gst_base_transform_transform_caps): More debugging.
23177
23178         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23179         src argument.
23180
23181 2005-07-04  Edward Hervey  <edward@fluendo.com>
23182
23183         * gst/gstutils.c:
23184         * gst/gstutils.h:
23185         (gst_pad_add_*_probe): now returns the signal id for better wrapping
23186         in bindings.
23187
23188 2005-07-04  Andy Wingo  <wingo@pobox.com>
23189
23190         * check/gst/gstpad.c: Only set explicit caps on pads.
23191
23192 2005-07-01  Andy Wingo  <wingo@pobox.com>
23193
23194         * tests/network-clock.scm: Commentary update.
23195
23196         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23197         Didn't really make sense, not implementable with basetransform,
23198         etc.
23199         (gst_identity_transform): Unref inbuf via make_writable. Feeble
23200         attempt at implementing the sync property, needs an unlock method.
23201
23202         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23203         New func, by default returns the same caps (the identity
23204         transformation).
23205         (gst_base_transform_getcaps): Uses transform_caps to return
23206         something sensible.
23207         (gst_base_transform_setcaps): Complicated logic to get caps on
23208         both pads, even if they are different, and to call set_caps once
23209         for every time both pads get their caps set.
23210         (gst_base_transform_handle_buffer): Give the ref to the transform
23211         function. Allows in-place modification of the buffer.
23212
23213         * gst/base/gstbasetransform.h (transform_caps): New class method.
23214         Given caps on one side, what can I do on the other.
23215         (set_caps): Take two caps, one for each side of the element.
23216
23217         * gst/gstpad.h:
23218         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23219         caps in place. This is safe because we can check the mutability of
23220         the caps, and a good idea because fixate functions are just called
23221         as a matter of last resort. (Not actually implemented.)
23222         (gst_pad_set_caps): If the caps we're setting is actually the same
23223         as the existing pad caps, just update the pointer without calling
23224         setcaps. Assert that caps is either NULL or fixed, as per the
23225         docs.
23226
23227         * gst/gstghostpad.c: Update for fixate changes.
23228
23229 2005-07-02  Andy Wingo  <wingo@pobox.com>
23230
23231         * gst/gstcaps.c:
23232         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23233         two refcounts makes it immutable, which is enough. Doc more.
23234
23235 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
23236
23237         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23238           Put the mini_object into GValue as a mini_object,
23239           not a gpointer, since that's how we declared
23240           the signal.
23241
23242 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23243
23244         * examples/pwg/Makefile.am:
23245           Fix buildbot again.
23246
23247 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23248
23249         * docs/pwg/building-testapp.xml:
23250           Add extra check.
23251         * examples/pwg/Makefile.am:
23252           Fix buildbot.
23253
23254 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23255
23256         * configure.ac:
23257         * examples/Makefile.am:
23258         * examples/pwg/Makefile.am:
23259         * examples/pwg/extract.pl:
23260           Enable building the PWG examples.
23261         * docs/pwg/advanced-interfaces.xml:
23262           Add URI interface stub.
23263         * docs/pwg/advanced-types.xml:
23264         * docs/pwg/other-autoplugger.xml:
23265         * docs/pwg/appendix-porting.xml:
23266         * docs/pwg/pwg.xml:
23267           Add porting guide (mostly stubs), remove autoplugging (see ADM).
23268         * docs/pwg/building-boiler.xml:
23269         * docs/pwg/building-chainfn.xml:
23270         * docs/pwg/building-pads.xml:
23271         * docs/pwg/building-props.xml:
23272         * docs/pwg/building-state.xml:
23273         * docs/pwg/building-testapp.xml:
23274           Update the building-*.xml parts for 0.9 changes. All examples
23275           code blocks compile in examples/pwg/*.
23276
23277 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23278
23279         * docs/manual/advanced-autoplugging.xml:
23280         * docs/manual/appendix-checklist.xml:
23281         * docs/manual/appendix-integration.xml:
23282         * docs/manual/highlevel-components.xml:
23283           Fix playbin/decodebin examples, update docs a bit, mention bus
23284           instead of signals in various places, mention kmplayer and
23285           kaffeine since they have a working GStreamer backend in the KDE
23286           section.
23287
23288 2005-06-30  Wim Taymans  <wim@fluendo.com>
23289
23290         * CHANGES-0.9:
23291         * docs/design/draft-ghostpads.txt:
23292         * docs/design/draft-push-pull.txt:
23293         * docs/design/draft-query.txt:
23294         * docs/design/part-TODO.txt:
23295         * docs/design/part-query.txt:
23296         Added CHANGES-0.9 doc, updated status of other docs.
23297         
23298         * gst/gstquery.h:
23299         Remove "hmm" macro
23300
23301 2005-06-30  Wim Taymans  <wim@fluendo.com>
23302
23303         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23304         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23305         (gst_base_sink_change_state):
23306         * gst/base/gstbasesink.h:
23307         Some tweaks, only EOS and a buffer complete a preroll.
23308
23309 2005-06-30  Andy Wingo  <wingo@pobox.com>
23310
23311         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23312         activate_push down to the internal pad as well.
23313
23314 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
23315
23316         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23317
23318         * gst/gsttaginterface.c:
23319           Some documentation fixes (#307394 and #307397).
23320
23321 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
23322
23323         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23324
23325         * gst/gstvalue.c: (gst_value_intersect_list):
23326           Fix memleak (#309125).
23327
23328 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23329
23330         * docs/manual/advanced-dataaccess.xml:
23331           Fix fakesrc example to compile; doesn't work, bug somewhere...?
23332         * docs/manual/basics-pads.xml:
23333           Add reference for filtered caps to above chapter.
23334
23335 2005-06-30  Wim Taymans  <wim@fluendo.com>
23336
23337         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23338         (gst_bin_change_state):
23339         Probes are gone.
23340         Lame attempt at making the state change function a bit
23341         more readable.
23342
23343 2005-06-30  Wim Taymans  <wim@fluendo.com>
23344
23345         * docs/design/part-clocks.txt:
23346         * docs/design/part-element-sink.txt:
23347         * docs/design/part-events.txt:
23348         * docs/design/part-preroll.txt:
23349         * docs/design/part-states.txt:
23350         Some more tweeks and additions to the docs.
23351
23352 2005-06-30  Wim Taymans  <wim@fluendo.com>
23353
23354         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23355         (default_have_data), (gst_pad_class_init), (gst_pad_init),
23356         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23357         (gst_pad_check_pull_range), (gst_pad_get_range),
23358         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23359         * gst/gstpad.h:
23360         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23361         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23362         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23363         (gst_pad_remove_buffer_probe):
23364         Removed atomic operations, use existing LOCK.
23365         Move exception handling out of main code path.
23366
23367 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23368
23369         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23370         (silly_return_true_function), (gst_pad_class_init),
23371         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23372         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23373         (gst_pad_send_event):
23374           Fix accumulator, add default value by using _emitv() instead
23375           of _emit() for signal emission.
23376
23377 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23378
23379         * docs/manual/advanced-dataaccess.xml:
23380         * examples/manual/Makefile.am:
23381           Add probe example.
23382         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23383           Make work (??).
23384
23385 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
23386
23387         * gst/elements/gstfilesink.c: (gst_filesink_render):
23388           Simplify code so that we don't have to handle short
23389           writes and return GST_FLOW_ERROR if an error occured.
23390
23391 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23392
23393         * docs/gst/gstreamer-docs.sgml:
23394           Remove probes more.
23395
23396 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23397
23398         * docs/gst/gstreamer-sections.txt:
23399         * docs/gst/tmpl/gstpad.sgml:
23400         * docs/gst/tmpl/gstprobe.sgml:
23401         * gst/Makefile.am:
23402         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23403         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23404         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23405         (gst_pad_push_event), (gst_pad_send_event):
23406         * gst/gstpad.h:
23407         * gst/gstutils.c: (gst_pad_add_data_probe),
23408         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23409         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23410         (gst_pad_remove_buffer_probe):
23411         * gst/gstutils.h:
23412           Remove old probes, add new g-signal-based probes and some utility
23413           functions.
23414
23415 2005-06-29  Edward Hervey  <edward@fluendo.com>
23416
23417         * gst/gstelementfactory.c:
23418         * gst/gstutils.h:
23419         * gst/gstutils.c:
23420         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23421         the definition to the header file.
23422
23423 2005-06-29  Andy Wingo  <wingo@pobox.com>
23424
23425         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23426         plugins from the source directory.
23427
23428 2005-06-29  Wim Taymans  <wim@fluendo.com>
23429
23430         * docs/gst/tmpl/gstbuffer.sgml:
23431         * docs/gst/tmpl/gstclock.sgml:
23432         Some fixings for blantently wrong text.
23433
23434 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23435
23436         * check/Makefile.am:
23437         * gst/gst.c: (add_path_func), (init_pre):
23438         * gst/gstregistry.c: (gst_registry_add_path):
23439           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23440           only scan the GST_PLUGIN_PATH locations, and not add
23441           system locations
23442
23443 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23444
23445         * docs/gst/gstreamer-sections.txt:
23446         * docs/gst/tmpl/gstbasesrc.sgml:
23447         * gst/gstelement.c:
23448         * gst/gstelement.h:
23449         * gst/gstevent.c:
23450         * gst/gstutils.c:
23451           doc fixes
23452
23453 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23454
23455         * docs/manual/advanced-autoplugging.xml:
23456           Fix autoplugging example.
23457
23458 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23459
23460         * docs/manual/advanced-autoplugging.xml:
23461         * docs/manual/mime-world.fig:
23462           Try to get autoplugging working, fix type detection. Fix text
23463           in hello-world image.
23464
23465 2005-06-29  Wim Taymans  <wim@fluendo.com>
23466
23467         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23468         (gst_base_sink_change_state):
23469         Small debug line.
23470
23471         * gst/gstclock.h:
23472         map SIGNAL and BROADCAST to the right function.
23473
23474         * gst/gstobject.h:
23475         Remove redundant braces.
23476
23477         * gst/gstpad.c: (gst_pad_set_caps):
23478         Don't call setcaps function when reseting caps to NULL.
23479
23480         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23481         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23482         (gst_system_clock_id_unschedule):
23483         Use BROADCAST as this is what we do.
23484
23485 2005-06-29  Wim Taymans  <wim@fluendo.com>
23486
23487         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23488         We are actually prerolling before commiting the state
23489         change. 
23490
23491 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23492
23493         * docs/manual/advanced-clocks.xml:
23494         * docs/manual/advanced-interfaces.xml:
23495         * docs/manual/advanced-metadata.xml:
23496         * docs/manual/advanced-position.xml:
23497         * docs/manual/advanced-schedulers.xml:
23498         * docs/manual/advanced-threads.xml:
23499         * docs/manual/appendix-porting.xml:
23500         * docs/manual/basics-bins.xml:
23501         * docs/manual/basics-bus.xml:
23502         * docs/manual/basics-elements.xml:
23503         * docs/manual/basics-helloworld.xml:
23504         * docs/manual/basics-pads.xml:
23505         * docs/manual/highlevel-components.xml:
23506         * docs/manual/manual.xml:
23507         * docs/manual/thread.fig:
23508           Update (until threads/scheduling) Application Development Manual;
23509           remove GstThread, add GstBus, add simple porting checklist, add
23510           documentation for tag writing, clocks, make all examples until this
23511           part compile and run.
23512         * examples/manual/Makefile.am:
23513           Update from changes to Application Development Manual; add bus
23514           example, remove thread example.
23515
23516 2005-06-28  Wim Taymans  <wim@fluendo.com>
23517
23518         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23519         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23520         (gst_bus_source_dispatch):
23521         Add debugging messages.
23522         Make internal methods static.
23523         Handle the case where the bus is flushed in the handler.
23524         
23525         * gst/gstelement.c: (gst_element_get_bus):
23526         Fix refcount in _get_bus();
23527
23528         * gst/gstpipeline.c: (gst_pipeline_change_state),
23529         (gst_pipeline_get_clock_func):
23530         Clock refcounting fixes.
23531         Handle the case where preroll timed out more gracefully.
23532         
23533         * gst/gstsystemclock.c: (gst_system_clock_dispose):
23534         Clean up the internal thread in dispose. This is needed
23535         for subclasses that actually get disposed.
23536         
23537         * gst/schedulers/threadscheduler.c:
23538         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23539         (gst_thread_scheduler_dispose):
23540         Free thread pool in dispose.
23541
23542 2005-06-28  Andy Wingo  <wingo@pobox.com>
23543
23544         * tests/network-clock-utils.scm (debug, print-event): New utils.
23545
23546         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23547         (*packet-loss*): Unified loss probability.
23548         (network-time): Report out-of-band events.
23549
23550         * tests/plot-data: Add support for out-of-band events. Hack it
23551         into this script instead of passing it down the pipe; should fix
23552         this later.
23553
23554 2005-06-28  Wim Taymans  <wim@fluendo.com>
23555
23556         * docs/gst/gstreamer.types:
23557         * docs/gst/tmpl/gstbasesrc.sgml:
23558         * docs/gst/tmpl/gstpad.sgml:
23559         Docs fixes.
23560
23561 2005-06-28  Wim Taymans  <wim@fluendo.com>
23562
23563         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23564         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23565         (gst_proxy_pad_do_fixatecaps):
23566         Correctly proxy the check_pull_range function.
23567
23568 2005-06-28  Andy Wingo  <wingo@pobox.com>
23569
23570         * tests/network-clock.scm: Removed need for slib.
23571         
23572 2005-06-28  Wim Taymans  <wim@fluendo.com>
23573
23574         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23575         (gst_basesink_preroll_queue_flush):
23576         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23577         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23578         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23579         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23580         (gst_proxy_pad_set_property):
23581         * gst/gstpad.c:
23582         * gst/gstpad.h:
23583         * gst/gstqueue.c: (gst_queue_init):
23584         The deprecated pad loop function is removed now.
23585
23586 2005-06-28  Andy Wingo  <wingo@pobox.com>
23587
23588         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23589         New parameters, simulate network packet loss.
23590
23591         * tests/network-clock-utils.scm: Initialize the RNG.
23592
23593 2005-06-28  Wim Taymans  <wim@fluendo.com>
23594
23595         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23596         (gst_basesink_event), (gst_basesink_deactivate):
23597         Flushing the preroll queue always needs to unlock the waiters.
23598
23599 2005-06-28  Edward Hervey  <edward@fluendo.com>
23600
23601         * gst/gstpipeline.c: (gst_pipeline_send_event): 
23602         Wheen a seek was successful on a pipeline, set the stream_time to the
23603         seek offset in order to have a synchronized stream_time.
23604
23605 2005-06-28  Wim Taymans  <wim@fluendo.com>
23606
23607         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23608         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23609         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23610         (gst_proxy_pad_do_fixatecaps):
23611         Call wrapper function instead of just calling the function
23612         pointers. This takes care of any locking and whatmore.
23613
23614 2005-06-28  Wim Taymans  <wim@fluendo.com>
23615
23616         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23617         (gst_pad_pull_range):
23618         * gst/gstpad.h:
23619         CONNECTED -> LINKED.
23620
23621 2005-06-28  Andy Wingo  <wingo@pobox.com>
23622
23623         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23624         source-munging commit!!!
23625
23626         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
23627         (gst_object_sink): Take gpointer arguments, not GstObject --
23628         avoids casts. Like GLib.
23629
23630         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23631         activate.
23632
23633 2005-06-27  Andy Wingo  <wingo@pobox.com>
23634
23635         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23636         remaining buffer.
23637
23638         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23639         returns a sorted copy of the trace list.
23640         (gst_alloc_trace_print_live): New API, only prints traces with
23641         live objects. Sort the list.
23642         (gst_alloc_trace_print_all): Sort the list.
23643         (gst_alloc_trace_print): Align columns.
23644
23645         * gst/elements/gstttypefindelement.c:
23646         * gst/elements/gsttee.c:
23647         * gst/base/gstbasesrc.c:
23648         * gst/base/gstbasesink.c:
23649         * gst/base/gstbasetransform.c:
23650         * gst/gstqueue.c: Adapt for pad activation changes.
23651
23652         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23653         sched.
23654         (gst_pipeline_dispose): Drop ref on sched.
23655
23656         * gst/gstpad.c (gst_pad_init): Set the default activate func.
23657         (gst_pad_activate_default): Push mode by default.
23658         (pre_activate_switch, post_activate_switch): New stubs, things to
23659         do before and after switching activation modes on pads.
23660         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23661         the pad's activate function to choose which mode to activate.
23662         Shortcut on deactivation and call the right function directly.
23663         (gst_pad_activate_pull): New API, (de)activates a pad in pull
23664         mode.
23665         (gst_pad_activate_push): New API, same for push mode.
23666         (gst_pad_set_activate_function) 
23667         (gst_pad_set_activatepull_function) 
23668         (gst_pad_set_activatepush_function): Setters for new API.
23669
23670         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23671         Trace all miniobjects.
23672         (gst_mini_object_make_writable): Unref the arg if we copy, like
23673         gst_caps_make_writable.
23674
23675         * gst/gstmessage.c (_gst_message_initialize): No trace init.
23676
23677         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
23678         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23679         Adapt for new pad API.
23680
23681         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23682
23683         * gst/gstelement.h:
23684         * gst/gstelement.c (gst_element_iterate_src_pads) 
23685         (gst_element_iterate_sink_pads): New API functions.
23686         
23687         * gst/gstelement.c (iterator_fold_with_resync): New utility,
23688         should fold into gstiterator.c in some form.
23689         (gst_element_pads_activate): Simplified via use of fold and
23690         delegation of decisions to gstpad->activate.
23691
23692         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23693         help in debugging.
23694
23695         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23696         class once in init, like gstmessage. Didn't run into this issue
23697         but it seems correct. Don't initialize a trace, gstminiobject does
23698         that.
23699
23700         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23701         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23702         to the bus.
23703         (assert_live_count): New util function, uses alloc traces to check
23704         cleanup.
23705
23706         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23707         To be modified when unlink drops the internal pad.
23708
23709 2005-06-27  Wim Taymans  <wim@fluendo.com>
23710
23711         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23712         (gst_bin_change_state):
23713         Cleanup the get_state() function a little, make sure it
23714         iterates the same set of elements.
23715         Added stub iterate_state_order().
23716
23717 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
23718
23719         * docs/gst/gstreamer-docs.sgml:
23720         * docs/gst/gstreamer-sections.txt:
23721         * docs/gst/gstreamer.types:
23722         * docs/gst/tmpl/gstbasesink.sgml:
23723         * docs/gst/tmpl/gstbasesrc.sgml:
23724         * docs/gst/tmpl/gstbasetransform.sgml:
23725         * docs/gst/tmpl/gstelement.sgml:
23726         * docs/gst/tmpl/gstiterator.sgml:
23727         * gst/base/gstbasesrc.c:
23728         * gst/base/gstbasesrc.h:
23729         * gst/base/gstbasetransform.h:
23730         * gst/gstelement.c:
23731         * gst/gstiterator.h:
23732           adding basetransform and iterator docs
23733
23734 2005-06-27  Andy Wingo  <wingo@pobox.com>
23735
23736         * docs/design/part-activation.txt: Notes on how activation should
23737         work -- not quite implemented yet.
23738
23739 2005-06-25  Wim Taymans  <wim@fluendo.com>
23740
23741         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23742         At least get the chain function correct, needs more
23743         fixing.
23744
23745 2005-06-25  Wim Taymans  <wim@fluendo.com>
23746
23747         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23748         (gst_basesink_handle_object), (gst_basesink_event),
23749         (gst_basesink_do_sync), (gst_basesink_handle_event),
23750         (gst_basesink_change_state):
23751         * gst/gsttask.h:
23752         Right, two problems here: ghostpads don't take locks and
23753         glib _rec_mutex_lock_full() with depth==0 still locks.
23754         Catch illegal locking and g_warn them.
23755
23756 2005-06-25  Wim Taymans  <wim@fluendo.com>
23757
23758         * check/states/sinks.c: (START_TEST), (gst_object_suite):
23759         Have to check for completion now...
23760
23761 2005-06-25  Wim Taymans  <wim@fluendo.com>
23762
23763         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23764         (gst_basesink_handle_object), (gst_basesink_event),
23765         (gst_basesink_do_sync), (gst_basesink_handle_event),
23766         (gst_basesink_change_state):
23767         * gst/gstpad.h:
23768         Unlock STREAM_LOCK whatever the recursion was.
23769
23770 2005-06-25  Wim Taymans  <wim@fluendo.com>
23771
23772         * gst/base/gstbasesink.c: (gst_basesink_set_property),
23773         (gst_basesink_preroll_queue_empty),
23774         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23775         (gst_basesink_event), (gst_basesink_do_sync),
23776         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23777         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23778         (gst_basesink_change_state):
23779         Reworked the base sink, handle event and buffer serialisation
23780         correctly and removed possible deadlock.
23781         Handle EOS correctly.
23782
23783 2005-06-25  Wim Taymans  <wim@fluendo.com>
23784
23785         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23786         (gst_pipeline_change_state):
23787         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23788         Allow elements to post EOS in the state change function.
23789         Fix up -launch, make it exit the poll loop when the
23790         pipeline actually changed state.
23791         Fix up warning parsing in -launch.
23792
23793 2005-06-25  Wim Taymans  <wim@fluendo.com>
23794
23795         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23796         (gst_tee_sink_activate):
23797         Core takes STREAM_LOCK for us now.
23798
23799 2005-06-25  Wim Taymans  <wim@fluendo.com>
23800
23801         * gst/gstelement.c: (gst_element_get_state_func),
23802         (gst_element_set_state):
23803         * gst/gstelement.h:
23804         * gst/gstmessage.c: (gst_message_parse_error),
23805         (gst_message_parse_warning):
23806         Keep track of current target state while performing a state
23807         change so that subclasses can do something interesting.
23808         Fix parsing of warning/error messages when GError is NULL.
23809
23810 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23811
23812         * docs/gst/Makefile.am:
23813         * docs/gst/gstreamer-docs.sgml:
23814         * docs/gst/gstreamer-sections.txt:
23815         * docs/gst/gstreamer.types:
23816         * docs/gst/tmpl/gstbasesink.sgml:
23817         * docs/gst/tmpl/gstbasesrc.sgml:
23818         * docs/gst/tmpl/gstbin.sgml:
23819         * docs/gst/tmpl/gstcompat.sgml:
23820         * docs/gst/tmpl/gstfakesink.sgml:
23821         * docs/gst/tmpl/gstfakesrc.sgml:
23822         * docs/gst/tmpl/gstfilesink.sgml:
23823         * docs/gst/tmpl/gstfilesrc.sgml:
23824         * docs/gst/tmpl/gstindex.sgml:
23825         * docs/manual/appendix-quotes.xml:
23826         * gst/base/gstbasesrc.h:
23827         * gst/elements/gstfakesrc.h:
23828         * gst/gstmessage.h:
23829           start pulling in base classes and elements in our docs
23830
23831 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
23832
23833         * docs/gst/Makefile.am:
23834         * docs/libs/Makefile.am:
23835           fixed make distcheck with gtk-doc 1.3
23836
23837 2005-06-23  Wim Taymans  <wim@fluendo.com>
23838
23839         * gst/gstelement.c: (gst_element_get_state_func),
23840         (gst_element_set_state), (gst_element_change_state):
23841         When the state did not change, also report NO_PREROLL
23842         when it matters.
23843
23844 2005-06-23  Wim Taymans  <wim@fluendo.com>
23845
23846         * gst/gstpad.c: (gst_pad_event_default):
23847         * gst/gstqueue.c: (gst_queue_loop):
23848         No unsafe task pausing please.
23849
23850 2005-06-23  Wim Taymans  <wim@fluendo.com>
23851
23852         * gst/schedulers/threadscheduler.c:
23853         (gst_thread_scheduler_task_start),
23854         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23855         Ref the task before pushing it on the threadpool. This
23856         makes sure that we have a ref when the threadfunction is
23857         actually called.
23858
23859 2005-06-23  Andy Wingo  <wingo@pobox.com>
23860
23861         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23862         offset is greater than the file's size.
23863
23864         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
23865         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23866         * gst/gstobject.c (gst_object_class_init): Make the class lock
23867         recursive. Wim won't let me drop deep_notify. Decodebin works
23868         again, whoopdy doo.
23869
23870         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23871         internal pad, and hacks accordingly. Doesn't do it on the target
23872         pad because we change its caps. Probably catches all cases of
23873         interest tho.
23874         (gst_ghost_pad_set_property): Connect to notify::caps as
23875         appropritate.
23876
23877         * tests/network-clock.scm (plot-simulation): Pipe data to the
23878         elite python skript.
23879
23880         * tests/network-clock-utils.scm (define-parameter): New macro,
23881         defines a parameter that can be set via the command line.
23882         (set-parameter!, parse-parameter-arguments): Command line args
23883         parser.
23884
23885         * tests/plot-data: Simple matplotlib-based plotter, takes input on
23886         stdin.
23887
23888 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
23889
23890         * gst/elements/gsttypefindelement.c:
23891         (gst_type_find_element_handle_event):
23892           Don't restart typefinding on a discont.
23893         * gst/gstelement.c: (gst_element_set_state):
23894           Debug spelling fix.
23895         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23896           Allow changing mode of an active pad.
23897           Debug output fixes.
23898         * gst/registries/gstlibxmlregistry.c: (load_feature):
23899           Don't cast a static pad template to a normal pad template.
23900
23901 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23902
23903         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23904         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23905           remove gst_strtoll completely, since it didn't actually do
23906           anything more than what g_ascii_strtoull already does.
23907           check for range errors when deserializing
23908           do a cast for the unsigned cases; but further fixing needs
23909           a decision on what the interpretation of "(int)" and
23910           deserialization should be for values that fall outside the
23911           type's boundaries (ie, refuse, or interpret as casting)
23912
23913 2005-06-23  Wim Taymans  <wim@fluendo.com>
23914
23915         * check/Makefile.am:
23916         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23917         * docs/design/part-live-source.txt:
23918         * docs/design/part-states.txt:
23919         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23920         (gst_basesrc_set_live), (gst_basesrc_is_live),
23921         (gst_basesrc_get_range), (gst_basesrc_activate),
23922         (gst_basesrc_change_state):
23923         * gst/base/gstbasesrc.h:
23924         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23925         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23926         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23927         * gst/gstelement.c: (gst_element_get_state_func),
23928         (gst_element_set_state):
23929         * gst/gstelement.h:
23930         * gst/gsttypes.h:
23931         * tools/gst-launch.c: (event_loop), (main):
23932         Added support for live sources and other elements that
23933         cannot do preroll.
23934         Updated design docs, added live-source design doc.
23935         Implemented live source functionality in basesrc
23936         Fix error condition in _bin_get_state()
23937         Implement live source handling in -launch.
23938         Added check for live sources.
23939         Fixed case in GstBin where elements were changed state
23940         multiple times.
23941
23942
23943 2005-06-23  Andy Wingo  <wingo@pobox.com>
23944
23945         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23946         borken refcounting.
23947
23948         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23949         gst_caps_replace takes care of this for us.
23950
23951         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23952         gst_pad_set_caps on the target, not just its setcaps() function.
23953
23954         * tests/network-clock.scm: 
23955         * tests/network-clock-utils.scm: A network clock simulator.
23956         Something of an algorithmic testbed before doing something in C.
23957
23958 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23959
23960         * check/Makefile.am:
23961         * check/gst/capslist.h:
23962           copy over from 0.8, and add two with bitmasks specified with
23963           (int) 0xFF...
23964         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23965           add test to parse everything from capslist.h
23966         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23967         (main):
23968           add test for structure deserialization
23969         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23970           add tests for deserialization of strings to int types
23971         * gst/gststructure.c: (gst_structure_nth_field_name):
23972         * gst/gststructure.h:
23973           add a way to get the name of a field referenced by index
23974         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23975           instead of checking if the resulting long long lies between
23976           min and max, we check if the long long would fit into
23977           a number of bytes for the final type.
23978           This fixes cases where a string represents 2^32 - 1, which
23979           when cast to int would be the (valid) -1, but is bigger than
23980           G_MAXINT
23981
23982 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23983
23984         * gst/parse/grammar.y:
23985           add a log line for type deserialization
23986
23987 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23988
23989         * check/gst/gstvalue.c: (START_TEST):
23990         * gst/gstvalue.c: (gst_value_deserialize):
23991           return long long, not int, so gint64 deserialization actually
23992           works.  Is there any flag that makes the compiler check this ?
23993           Fixes #308559
23994
23995 2005-06-22  Wim Taymans  <wim@fluendo.com>
23996
23997         * gst/gstbuffer.h:
23998         Added convenience macros for setting buffers in GValue.
23999
24000 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24001
24002         * check/gst/.cvsignore:
24003         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24004           add a test deserializing int64, and comment part out because
24005           it fails, yay !
24006
24007 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24008
24009         * check/Makefile.am:
24010         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
24011         * testsuite/Makefile.am:
24012         * testsuite/caps/Makefile.am:
24013         * testsuite/caps/value_serialize.c:
24014         * testsuite/test_gst_init.c:
24015           move a value_serialize test over
24016
24017 2005-06-20  Wim Taymans  <wim@fluendo.com>
24018
24019         * gst/gstpad.c:
24020         Small doc updates.
24021         
24022         * gst/gstvalue.c: (gst_value_compare_buffer),
24023         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
24024         (gst_value_compare_flags), (gst_value_serialize_flags),
24025         (gst_value_deserialize_flags), (_gst_value_initialize):
24026         Fix serialisation of buffers, they are not boxed types anymore
24027
24028 2005-06-20  Wim Taymans  <wim@fluendo.com>
24029
24030         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24031         Testcase to show error in buffer-on-caps serialisation.
24032
24033 2005-06-20  Andy Wingo  <wingo@pobox.com>
24034
24035         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
24036         will be adding to later.
24037
24038         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
24039         if its socks fill with rocks.
24040         (gst_system_clock_obtain): Set the name on object construction.
24041         Avoid double-checked locking.
24042
24043 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
24044
24045         * gst/gsturi.c: (gst_element_make_from_uri):
24046           Fix potential endless loop.
24047
24048 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24049
24050         * check/Makefile.am:
24051           add gsttag
24052         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
24053         (main):
24054           move over from testsuite dir and clean up
24055         * configure.ac:
24056         * gst/gsttag.c:
24057         * testsuite/Makefile.am:
24058         * testsuite/tags/.cvsignore:
24059         * testsuite/tags/Makefile.am:
24060         * testsuite/tags/merge.c:
24061           remove testsuite/tags
24062
24063 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24064
24065         * docs/gst/gstreamer-sections.txt:
24066         * docs/gst/tmpl/gstenumtypes.sgml:
24067         * win32/gstenumtypes.c:
24068           clean up documentation build a little
24069
24070 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24071
24072         * check/gstcheck.h:
24073           add macros for checking refcounts on objects and caps
24074         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24075           add some more unit tests
24076         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24077         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24078           fix leaked refcounts (I hope :)) so unittest works
24079         * gst/gstpad.h:
24080           whitespace removal
24081
24082 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24083
24084         * configure.ac: back to HEAD
24085
24086 === release 0.9.1 ===
24087
24088 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24089
24090         * NEWS:
24091         * RELEASE:
24092           updated
24093
24094 2005-06-17  Andy Wingo  <wingo@pobox.com>
24095
24096         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24097         assert; it's always possible that the pad gets deactivated in
24098         between the checks in gstpad.c and the implementation. Rely on
24099         finish_preroll() to return a FLUSHING or similar instead of on the
24100         assert.
24101         
24102         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24103         clock and post an EOS message if we come out of finish_preroll in
24104         the playing state.
24105
24106 2005-06-16  David Schleef  <ds@schleef.org>
24107
24108         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24109         (gst_capsfilter_set_property): Allow NULL as possible value
24110         for filter_caps property, indicating GST_CAPS_ANY.
24111
24112 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24113
24114         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24115           fix debug output
24116         * gst/schedulers/Makefile.am:
24117           use libgst prefix
24118         * gstreamer.spec.in:
24119           fix spec for it
24120
24121 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24122
24123         * gstreamer.spec.in:
24124           clean up
24125
24126 2005-06-08  Andy Wingo  <wingo@pobox.com>
24127
24128         * gst/gstutils.c: RPAD fixes all around.
24129         (gst_element_link_pads): Refcounting fixes.
24130
24131         * tools/gst-inspect.c:
24132         * tools/gst-xmlinspect.c:
24133         * parse/grammar.y:
24134         * gst/base/gsttypefindhelper.c:
24135         * gst/base/gstbasesink.c:
24136         * gst/gstqueue.c: RPAD fixes.
24137
24138         * gst/gstghostpad.h:
24139         * gst/gstghostpad.c: New ghost pad implementation as full proxy
24140         pads. The tricky thing is they provide both source and sink
24141         interfaces, since they proxy the internal pad for the external
24142         pad, and vice versa. Implement with lower-level ProxyPad objects,
24143         with the interior proxy pad as a child of the exterior ghost pad.
24144         Should write a doc on this.
24145         
24146         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24147         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24148         gst_object API.
24149         
24150         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24151         pads are real pads. No ghost pads in this file. Not documenting
24152         the myriad s/RPAD/PAD/ and REALIZE fixes.
24153         (gst_pad_class_init): Add properties for "direction" and
24154         "template". Both are construct-only, so they can't change during
24155         the life of the pad. Fixes properly deriving from GstPad.
24156         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24157         derived objects, just set properties when creating the objects via
24158         g_object_new.
24159         (gst_pad_get_parent): Implement as a function, return NULL if the
24160         parent is not an element.
24161         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24162         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24163         
24164         * gst/gstobject.c (gst_object_class_init): Make name a construct
24165         property. Don't set it in the object init.
24166
24167         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24168         with UNKNOWN direction.
24169         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24170         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24171         (gst_element_remove_pad): Remove ghost-pad special cases.
24172         (gst_element_pads_activate): Remove rpad cruft.
24173
24174         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24175         catch the pad's-parent-not-an-element case.
24176
24177         * gst/gst.h: Include gstghostpad.h.
24178
24179         * gst/gst.c (init_post): No more real, ghost pads.
24180
24181         * gst/Makefile.am: Add gstghostpad.[ch].
24182
24183         * check/Makefile.am:
24184         * check/gst/gstbin.c:
24185         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24186         into a bin creates ghost pads, and that the refcounts are right.
24187         Partly moved from gstbin.c.
24188
24189 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24190
24191         * check/gst-libs/.cvsignore:
24192         * check/gst/.cvsignore:
24193         * check/pipelines/.cvsignore:
24194           ignore more
24195         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24196         (START_TEST), (cleanup_suite), (main):
24197           add some tests related to cleanup after running pipelines
24198
24199 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24200
24201         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24202           add a testsuite for GstBuffer
24203
24204 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24205
24206         * gst/gstminiobject.h:
24207           add defines for accessing the refcount
24208
24209 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
24210
24211         * Makefile.am: added support for html unit test coverage reports
24212
24213 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
24214
24215         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24216           Free existing caps if the capsfilter changes. Add a FIXME about
24217           setting those caps on the pads.
24218
24219         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24220           Before adding a ghost pad to a parent bin, check that there isn't
24221           already one for the element on the bin. Prevents infinite recursion
24222           when using decodebin in parse pipelines. Andy says he'll rewrite the
24223           way this works anyway, so ignore the hack.
24224
24225 2005-06-02  Andy Wingo  <wingo@pobox.com>
24226
24227         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24228         file size, pass it on to the type find helper.
24229
24230         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24231         segment_start and segment_end properly according to the seek
24232         method. Segment_end is still a bit flaky because offset can be
24233         negative for CUR and END cases, but it takes -1 as an "unset"
24234         value.
24235
24236 2005-06-02  Wim Taymans  <wim@fluendo.com>
24237
24238         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24239         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24240         (gst_basesink_activate):
24241         * gst/base/gstbasesink.h:
24242         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24243         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24244         (gst_pad_query), (gst_pad_start_task):
24245         * gst/gstpad.h:
24246         * gst/gstqueue.c: (gst_queue_bufferalloc),
24247         (gst_queue_handle_sink_event), (gst_queue_chain):
24248         Bufferalloc: return GstFlowReturn to more accuratly report
24249         why allocation failed.
24250
24251 2005-06-02  Wim Taymans  <wim@fluendo.com>
24252
24253         * gst/gstpipeline.c: (gst_pipeline_send_event):
24254         Take snapshot of state without blocking.
24255
24256 2005-06-02  Wim Taymans  <wim@fluendo.com>
24257
24258         * docs/design/part-TODO.txt:
24259         * docs/design/part-caps.txt:
24260         * docs/design/part-clocks.txt:
24261         * docs/design/part-negotiation.txt:
24262         * docs/design/part-preroll.txt:
24263         Small doc updates 
24264
24265 2005-05-30  Wim Taymans  <wim@fluendo.com>
24266
24267         * gst/elements/gstidentity.c: (gst_identity_event),
24268         (gst_identity_transform), (gst_identity_get_property):
24269         Protect last_message property as it is accessed from
24270         multiple threads.
24271
24272 2005-05-30  Wim Taymans  <wim@fluendo.com>
24273
24274         * gst/gstelement.c: (gst_element_init),
24275         (gst_element_pads_activate), (gst_element_change_state):
24276         Slicker pad activation code.
24277
24278 2005-05-30  Wim Taymans  <wim@fluendo.com>
24279
24280         * gst/Makefile.am:
24281         * gst/gstelement.h:
24282         * gst/gstelementfactory.h:
24283         * gst/gsttypes.h:
24284         Move elementfactory methods to separate .h file.
24285
24286 2005-05-30  Wim Taymans  <wim@fluendo.com>
24287
24288         * docs/design/part-overview.txt:
24289         * gst/gstsystemclock.h:
24290         Small typo fixes, doc updates.
24291
24292 2005-05-30  Wim Taymans  <wim@fluendo.com>
24293
24294         * gst/gst.c: (gst_init_get_popt_table), (init_post),
24295         (init_popt_callback):
24296         Remove cpu-opt flag.
24297
24298 2005-05-30  Wim Taymans  <wim@fluendo.com>
24299
24300         * gst/gstbuffer.c: (gst_subbuffer_finalize),
24301         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24302         * gst/gstbuffer.h:
24303         Avoid typechecking in places where not needed.
24304         Added accessor for malloc_data.
24305
24306 2005-05-30  Wim Taymans  <wim@fluendo.com>
24307
24308         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24309         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24310         (gst_pad_configure_sink), (gst_pad_configure_src),
24311         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24312         (gst_pad_start_task):
24313         Propagate errors from _set_caps() in configure_src/sink
24314         functions instead of returning TRUE.
24315         FLUSH events can travel up and downstream
24316
24317
24318 2005-05-30  Wim Taymans  <wim@fluendo.com>
24319
24320         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24321         (gst_basesink_activate):
24322         Handle EOS in preroll.
24323
24324 2005-05-30  Wim Taymans  <wim@fluendo.com>
24325
24326         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24327         (gst_queue_loop), (gst_queue_handle_src_event):
24328         Remove old pieces of code
24329         Flushing the queue in an upstream event is a very bad idea.
24330
24331 2005-05-26  Andy Wingo  <wingo@pobox.com>
24332
24333         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24334         gst_value_set_mini_object so as to add a ref on the object (which
24335         will be removed when the value is unset).
24336
24337         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24338         arg type in ::handoff.
24339
24340         * gst/gstelement.c (gst_element_change_state): Also deactivate
24341         pads in READY->NULL, just in case the element didn't make it to
24342         PAUSED. Wingo tested, Wim approved.
24343
24344 2005-05-26  Wim Taymans  <wim@fluendo.com>
24345
24346         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24347         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24348         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24349         A flushing pad cannot be used to alloc_buffer from.
24350
24351 2005-05-26  Wim Taymans  <wim@fluendo.com>
24352
24353         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24354         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24355         (gst_bus_source_dispatch), (gst_bus_source_finalize),
24356         (gst_bus_create_watch), (gst_bus_add_watch_full):
24357         * gst/gstbus.h:
24358         Implement a real GSource and use g_main_context_wakeup() to
24359         signal new messages instead of the socketpair.
24360
24361 2005-05-25  Wim Taymans  <wim@fluendo.com>
24362
24363         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24364         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24365         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24366         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24367         (gst_pad_send_event), (gst_pad_start_task):
24368         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24369         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24370         (gst_queue_sink_activate), (gst_queue_src_activate),
24371         (gst_queue_change_state):
24372         * gst/gstqueue.h:
24373         Fix state changes for non sinks. We now change sinks, then elements
24374         with unconnected srcpads, then the rest.
24375         More efficient queue unlocking in flush and state changes.
24376         Set the pad activate mode even if it does not have an activate
24377         function.
24378
24379 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24380
24381         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24382           Don't go in pull mode for non-seekable sources.
24383         * gst/elements/gsttypefindelement.h:
24384         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24385         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24386         (free_entry), (stop_typefinding),
24387         (gst_type_find_element_handle_event), (find_peek),
24388         (gst_type_find_element_chain), (do_pull_typefind),
24389         (gst_type_find_element_change_state):
24390           Allow typefinding (w/o seeking) in push-mode, simplified version
24391           of what was in 0.8.
24392         * gst/gstutils.c: (gst_buffer_join):
24393         * gst/gstutils.h:
24394           gst_buffer_join() from 0.8.
24395
24396 2005-05-25  Wim Taymans  <wim@fluendo.com>
24397
24398         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24399         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24400         (gst_pad_send_event), (gst_pad_start_task):
24401         Disable attempt at mode switching until it is figured out.
24402
24403 2005-05-25  Wim Taymans  <wim@fluendo.com>
24404
24405         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24406         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24407         (gst_basesink_finish_preroll), (gst_basesink_chain),
24408         (gst_basesink_loop), (gst_basesink_activate),
24409         (gst_basesink_change_state):
24410         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24411         (gst_basesrc_get_range), (gst_basesrc_loop),
24412         (gst_basesrc_activate):
24413         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24414         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24415         (gst_real_pad_init), (gst_real_pad_set_property),
24416         (gst_real_pad_get_property), (gst_pad_set_active),
24417         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24418         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24419         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24420         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24421         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24422         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24423         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24424         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24425         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24426         (gst_pad_stop_task):
24427         * gst/gstpad.h:
24428         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24429         (gst_queue_loop), (gst_queue_src_activate):
24430         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24431         (gst_task_get_state):
24432         * gst/gsttask.h:
24433         * gst/schedulers/threadscheduler.c:
24434         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24435         Implement gst_pad_pause/start/stop_task(), take STREAM lock
24436         in task function.
24437         Remove ACTIVE pad flag, use FLUSHING everywhere
24438         Added _pad_chain(), _pad_get_range() to call chain/getrange 
24439         functions.
24440         Add locks around IS_FLUSHING when reading.
24441         Take STREAM lock in chain(), get_range() functions so plugins
24442         don't need to take it anymore.
24443         
24444
24445
24446 2005-05-25  Wim Taymans  <wim@fluendo.com>
24447
24448         * tools/gst-launch.c: (event_loop):
24449         Unref message after using its contents instead of
24450         before.
24451
24452 2005-05-24  Wim Taymans  <wim@fluendo.com>
24453
24454         * docs/design/draft-ghostpads.txt:
24455         * docs/design/draft-push-pull.txt:
24456         * docs/design/draft-query.txt:
24457         * docs/design/part-overview.txt:
24458         Docs updates, added general overview doc.
24459
24460 2005-05-21  David Schleef  <ds@schleef.org>
24461
24462         * docs/gst/tmpl/old/GstBin.sgml:
24463         * docs/gst/tmpl/old/GstBuffer.sgml:
24464         * docs/gst/tmpl/old/GstCaps.sgml:
24465         * docs/gst/tmpl/old/GstClock.sgml:
24466         * docs/gst/tmpl/old/GstCompat.sgml:
24467         * docs/gst/tmpl/old/GstData.sgml:
24468         * docs/gst/tmpl/old/GstElement.sgml:
24469         * docs/gst/tmpl/old/GstEvent.sgml:
24470         * docs/gst/tmpl/old/GstIndex.sgml:
24471         * docs/gst/tmpl/old/GstStructure.sgml:
24472         * docs/gst/tmpl/old/GstTag.sgml:
24473         * docs/gst/tmpl/old/cothreads.sgml:
24474         * docs/gst/tmpl/old/cothreads_compat.sgml:
24475         * docs/gst/tmpl/old/gettext.sgml:
24476         * docs/gst/tmpl/old/gobject2gtk.sgml:
24477         * docs/gst/tmpl/old/grammar.tab.sgml:
24478         * docs/gst/tmpl/old/gst-i18n-app.sgml:
24479         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24480         * docs/gst/tmpl/old/gst_private.sgml:
24481         * docs/gst/tmpl/old/gstaggregator.sgml:
24482         * docs/gst/tmpl/old/gstarch.sgml:
24483         * docs/gst/tmpl/old/gstatomic_impl.sgml:
24484         * docs/gst/tmpl/old/gstbufferstore.sgml:
24485         * docs/gst/tmpl/old/gstdata_private.sgml:
24486         * docs/gst/tmpl/old/gstdisksink.sgml:
24487         * docs/gst/tmpl/old/gstdisksrc.sgml:
24488         * docs/gst/tmpl/old/gstelementfactory.sgml:
24489         * docs/gst/tmpl/old/gstextratypes.sgml:
24490         * docs/gst/tmpl/old/gstfakesink.sgml:
24491         * docs/gst/tmpl/old/gstfakesrc.sgml:
24492         * docs/gst/tmpl/old/gstfdsink.sgml:
24493         * docs/gst/tmpl/old/gstfdsrc.sgml:
24494         * docs/gst/tmpl/old/gstfilesink.sgml:
24495         * docs/gst/tmpl/old/gstfilesrc.sgml:
24496         * docs/gst/tmpl/old/gsthttpsrc.sgml:
24497         * docs/gst/tmpl/old/gstidentity.sgml:
24498         * docs/gst/tmpl/old/gstindexfactory.sgml:
24499         * docs/gst/tmpl/old/gstmarshal.sgml:
24500         * docs/gst/tmpl/old/gstmd5sink.sgml:
24501         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24502         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24503         * docs/gst/tmpl/old/gstpadtemplate.sgml:
24504         * docs/gst/tmpl/old/gstpipefilter.sgml:
24505         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24506         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24507         * docs/gst/tmpl/old/gstshaper.sgml:
24508         * docs/gst/tmpl/old/gstspider.sgml:
24509         * docs/gst/tmpl/old/gstspideridentity.sgml:
24510         * docs/gst/tmpl/old/gststatistics.sgml:
24511         * docs/gst/tmpl/old/gsttee.sgml:
24512         * docs/gst/tmpl/old/gsttimecache.sgml:
24513         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24514         * docs/gst/tmpl/old/gstxmlregistry.sgml:
24515         * docs/gst/tmpl/old/gthread-cothreads.sgml:
24516         * docs/gst/tmpl/old/types.sgml:
24517           I didn't intend to add these or check them in.
24518
24519 2005-05-19  David Schleef  <ds@schleef.org>
24520
24521         * configure.ac: Use -no-common everywhere.  In a sane world, it
24522           would be the default in libtool, because without it, you can't
24523           build DLLs on Windows.
24524         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24525         * docs/gst/gstreamer-sections.txt:
24526         * docs/gst/tmpl/gstcpu.sgml:
24527         * docs/gst/tmpl/gstdata.sgml:
24528         * docs/gst/tmpl/gstthread.sgml:
24529
24530 2005-05-19  David Schleef  <ds@schleef.org>
24531
24532         * gst/gstminiobject.c: (gst_value_set_mini_object),
24533         (gst_value_take_mini_object), (gst_value_get_mini_object):
24534         * gst/gstminiobject.h: Add GValue set/get functions.
24535
24536 2005-05-19  Wim Taymans  <wim@fluendo.com>
24537
24538         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24539         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24540         (gst_subbuffer_init), (gst_buffer_is_span_fast):
24541         * gst/gstbuffer.h:
24542         * gst/gstbus.c: (gst_bus_post):
24543         * gst/gstelement.c: (gst_element_get_random_pad):
24544         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24545         Make subbufer unref the parent in finalize.
24546         some more debugging info.
24547
24548
24549 2005-05-19  Wim Taymans  <wim@fluendo.com>
24550
24551         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24552         (gst_basesink_init), (gst_basesink_finalize),
24553         (gst_basesink_activate), (gst_basesink_change_state):
24554         Don't free preroll queue too early.
24555
24556 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24557
24558         * gst/Makefile.am:
24559         * gst/ROADMAP:
24560           Hi, I'm outdated. Please shoot me.
24561
24562 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24563
24564         * gst/gstpipeline.c: (gst_pipeline_send_event):
24565           Do not access variables after they have been deleted.
24566
24567 2005-05-19  Wim Taymans  <wim@fluendo.com>
24568
24569         * tools/gst-inspect.c: (print_plugin_features):
24570         A plugin feature does unfortunatly not use the
24571         object name yet...
24572
24573 2005-05-18  Wim Taymans  <wim@fluendo.com>
24574
24575         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24576         Port _span() functions to new subbuffers.
24577
24578 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24579
24580         * gst/gstbin.c: (gst_bin_add_func):
24581           Fix clock settery in bins when adding kids after the clock has
24582           been selected.
24583
24584 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24585
24586         * gst/elements/gstidentity.c: (gst_identity_class_init):
24587           Workaround until signals support GstMiniObject.
24588
24589 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
24590
24591         * gst/gstbuffer.c:
24592         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24593
24594 2005-05-18  Wim Taymans  <wim@fluendo.com>
24595
24596         * gst/base/Makefile.am:
24597         * gst/base/gstadapter.c: (gst_adapter_base_init),
24598         (gst_adapter_class_init), (gst_adapter_init),
24599         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24600         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24601         (gst_adapter_flush), (gst_adapter_available),
24602         (gst_adapter_available_fast):
24603         * gst/base/gstadapter.h:
24604         Ported and added adapter to the base classes.
24605
24606 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24607
24608         * gst/gst.c:
24609         * gst/gstmessage.c:
24610           Make sure the class is reffed/unreffed once before threads can be
24611           used.  Fixes #304551.
24612
24613 2005-05-17  Wim Taymans  <wim@fluendo.com>
24614
24615         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24616         (gst_basesink_chain_unlocked), (gst_basesink_activate):
24617         * gst/gstminiobject.c: (gst_mini_object_get_type),
24618         (gst_mini_object_free):
24619         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24620         (gst_pad_push), (gst_pad_push_event):
24621         * gst/gstqueue.c: (gst_queue_change_state):
24622         Don't queue buffers in basesink when we are flushing.
24623         Unref buffer when flushing in basesink.
24624         Flush queue when going to READY
24625         Unref buffer when _push() returns an error.
24626         Don't free MiniObject instance when refcount is incremented
24627         in _finalize() so that we can recover objects.
24628
24629 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24630
24631         * docs/manual/advanced-schedulers.xml:
24632         * docs/manual/appendix-checklist.xml:
24633         * docs/pwg/advanced-clock.xml:
24634         * docs/pwg/advanced-interfaces.xml:
24635         * docs/pwg/advanced-request.xml:
24636         * docs/pwg/advanced-types.xml:
24637         * docs/pwg/intro-preface.xml:
24638         * examples/plugins/example.c: (gst_example_get_type),
24639         (gst_example_class_init), (gst_example_chain),
24640         (gst_example_set_property), (gst_example_get_property),
24641         (gst_example_change_state), (plugin_init):
24642         * examples/plugins/example.h:
24643           small doc fixes
24644
24645 2005-05-17  Wim Taymans  <wim@fluendo.com>
24646
24647         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24648         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24649         * gst/gstqueue.c: (gst_queue_change_state):
24650         Clear queue when going to READY.
24651         Remove IN_SETCAPS flag too.
24652
24653 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
24654
24655         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24656           Remove implicit cast from gboolean to GstElementStateReturn;
24657           make sure we still return failure in paused => ready case if
24658           the parent class fails to change state and our own stop 
24659           vfunc succeeds.
24660
24661 2005-05-17  Wim Taymans  <wim@fluendo.com>
24662
24663         * tools/gst-launch.c: (event_loop):
24664         Message was unreffed too soon.
24665
24666 2005-05-16  Andy Wingo  <wingo@pobox.com>
24667
24668         * gst/gstbin.c (sink_iterator_filter): Err... um...
24669
24670         * check/gst/gstbin.c (test_ghost_pads): New test for the
24671         ghosting-if-elements-not-in-same-bin behavior.
24672
24673 2005-05-16  David Schleef  <ds@schleef.org>
24674
24675         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24676         accessing refcount directly.
24677
24678 2005-05-15  David Schleef  <ds@schleef.org>
24679
24680         * check/Makefile.am: remove GstData checks
24681         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24682         * gst/Makefile.am: add miniobject, remove data
24683         * gst/gst.h: add miniobject, remove data
24684         * gst/gstdata.c: remove
24685         * gst/gstdata.h: remove
24686         * gst/gstdata_private.h: remove
24687         * gst/gsttypes.h: remove GstEvent and GstMessage
24688         * gst/gstelement.c: (gst_element_post_message): fix for API changes
24689         * gst/gstmarshal.list: change BOXED -> OBJECT
24690
24691         Implement GstMiniObject.
24692         * gst/gstminiobject.c:
24693         * gst/gstminiobject.h:
24694
24695         Modify to be subclasses of GstMiniObject.
24696         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24697         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24698         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24699         (gst_subbuffer_get_type), (gst_subbuffer_init),
24700         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24701         (gst_buffer_span):
24702         * gst/gstbuffer.h:
24703         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24704         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24705         (_gst_event_copy), (gst_event_new):
24706         * gst/gstevent.h:
24707         * gst/gstmessage.c: (_gst_message_initialize),
24708         (gst_message_get_type), (gst_message_class_init),
24709         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24710         (gst_message_new), (gst_message_new_error),
24711         (gst_message_new_warning), (gst_message_new_tag),
24712         (gst_message_new_state_changed), (gst_message_new_application):
24713         * gst/gstmessage.h:
24714         * gst/gstprobe.c: (gst_probe_perform),
24715         (gst_probe_dispatcher_dispatch):
24716         * gst/gstprobe.h:
24717         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24718         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24719         (_gst_query_copy), (gst_query_new):
24720
24721         Update elements for GstData -> GstMiniObject changes
24722         * gst/gstquery.h:
24723         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24724         (gst_queue_chain), (gst_queue_loop):
24725         * gst/elements/gstbufferstore.c:
24726         (gst_buffer_store_add_buffer_func),
24727         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24728         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24729         (gst_fakesink_render):
24730         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24731         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24732         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24733         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24734         (gst_filesrc_create_read):
24735         * gst/elements/gstidentity.c: (gst_identity_class_init):
24736         * gst/elements/gsttypefindelement.c:
24737         (gst_type_find_element_src_event), (free_entry_buffers),
24738         (gst_type_find_element_handle_event):
24739         * libs/gst/dataprotocol/dataprotocol.c:
24740         (gst_dp_header_from_buffer):
24741         * libs/gst/dataprotocol/dataprotocol.h:
24742         * libs/gst/dataprotocol/dp-private.h:
24743
24744 2005-05-15  David Schleef  <ds@schleef.org>
24745
24746         * gst/elements/gstelements.c: Don't include headers that were
24747         just removed.
24748
24749 2005-05-15  David Schleef  <ds@schleef.org>
24750
24751         * gst/elements/Makefile.am: Remove some elements that don't
24752         need to be in the core (or even exist at all).
24753         * gst/elements/gstaggregator.c:
24754         * gst/elements/gstaggregator.h:
24755         * gst/elements/gstmd5sink.c:
24756         * gst/elements/gstmd5sink.h:
24757         * gst/elements/gstmultifilesrc.c:
24758         * gst/elements/gstmultifilesrc.h:
24759         * gst/elements/gstpipefilter.c:
24760         * gst/elements/gstpipefilter.h:
24761         * gst/elements/gstshaper.c:
24762         * gst/elements/gstshaper.h:
24763         * gst/elements/gststatistics.c:
24764         * gst/elements/gststatistics.h:
24765         * po/POTFILES.in: Remove above files.
24766
24767 2005-05-14  Andy Wingo  <wingo@pobox.com>
24768
24769         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24770         so as to get the refs right.
24771         (sink_iterator_filter): New function, wraps bin_element_is_sink,
24772         unreffing objects that don't pass the filter.
24773
24774         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24775         gst_element_set_bus.
24776         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24777         normal cases, this will destroy the bus.
24778
24779         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24780         object.
24781
24782         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24783         has no sinks.
24784
24785 2005-05-13  Andy Wingo  <wingo@pobox.com>
24786
24787         * gst/gstutils.c (gst_element_link_pads): Instead of calling
24788         gst_pad_link, call pad_link_maybe_ghosting,
24789         (pad_link_maybe_ghosting): Links pads, making sure that the
24790         elements being linked are in the same bin.
24791         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24792         Helpers for pad_link_maybe_ghosting.
24793
24794 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24795
24796         * configure.ac:
24797           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24798
24799 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24800
24801         * docs/design/part-element-source.txt:
24802           Mention GstPushSrc
24803
24804 2005-05-12  Wim Taymans  <wim@fluendo.com>
24805
24806         * gst/base/gstbasesink.c: (gst_basesink_init),
24807         (gst_basesink_activate):
24808         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24809         (gst_basesrc_is_seekable):
24810         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24811         (bin_element_is_sink), (gst_bin_change_state):
24812         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24813         * gst/gstelement.h:
24814         Identify sinks by their flag to avoid overly complicated
24815         checks (fow now).
24816         Do state changes even for elements not reachable from the
24817         sinks.
24818         BaseSink is a sink now :)
24819         Some more debugging info in the basesrc.
24820
24821
24822 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24823
24824         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24825           Implement _query on a bin, similar to _send_event.
24826
24827 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
24828
24829         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24830           Discont event offset format should be GST_FORMAT_BYTES,
24831           not GST_FORMAT_TIME.
24832
24833 2005-05-12  Wim Taymans  <wim@fluendo.com>
24834
24835         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24836         Same fix as Ronald's but without the signal. 
24837
24838 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24839
24840         * gst/gstutils.c: (gst_element_query_position):
24841           No, an element is not a pad.
24842
24843 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24844
24845         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24846         (gst_bin_get_state):
24847           If a child is removed from a bin while we remove the child from
24848           the bin and while we're retrieving its state, signal this to the
24849           get_state function so we abort the wait (instead of waiting for
24850           a timeout) and can immediately re-iterate over all other elements.
24851
24852 2005-05-12  Wim Taymans  <wim@fluendo.com>
24853
24854         * gst/base/Makefile.am:
24855         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24856         (gst_basesrc_start):
24857         * gst/base/gstbasesrc.h:
24858         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24859         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24860         (gst_pushsrc_init), (gst_pushsrc_create):
24861         * gst/base/gstpushsrc.h:
24862         Added is_seekable to BaseSrc
24863         Added simple PushSrc.
24864
24865 2005-05-11  Wim Taymans  <wim@fluendo.com>
24866
24867         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24868         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24869         (gst_element_link_pads), (gst_element_query_position),
24870         (gst_element_query_convert), (intersect_caps_func),
24871         (gst_pad_query_position), (gst_pad_query_convert):
24872         Fix refcounting in utils function.
24873         No point in trying to activate a pad when it's added, it could
24874         be added from the state change function and then we deadlock, the
24875         element has to decide what to do.
24876
24877 2005-05-10  Andy Wingo  <wingo@pobox.com>
24878
24879         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24880         *all* the arguments.
24881
24882         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24883         stream lock if it's a FLUSH_DONE; normal flushes don't get the
24884         lock (according to the docs -- if this is wrong change the docs).
24885
24886         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24887         flush messages in the NULL state.
24888
24889         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24890         message immediately and return.
24891         (gst_bus_set_flushing): New function. If a bus is flushing, it
24892         flushes out any queued messages and immediately unrefs new
24893         messages. This is so when an element goes to NULL, all of the
24894         unhandled messages coming from it can be freed, and their
24895         references to the element dropped. In other words: message source
24896         ref considered harmful :P
24897
24898         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24899         we're finished with it.
24900
24901         * gst/gstmessage.c (gst_message_new_state_changed): 
24902
24903 2005-05-10  Wim Taymans  <wim@fluendo.com>
24904
24905         * gst/gstvalue.c: (gst_value_compare_flags),
24906         (gst_value_serialize_flags), (gst_value_deserialize_flags),
24907         (_gst_value_initialize):
24908         Added flags serialize/deserialize/compare code.
24909
24910 2005-05-09  Andy Wingo  <wingo@pobox.com>
24911
24912         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24913         Intersect the peer's caps with our caps.
24914
24915 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24916
24917         * gst/base/gsttypefindhelper.c: (helper_find_peek):
24918         * gst/elements/gsttypefindelement.c: (find_peek):
24919           Handle negative offsets better. Fixes decodebin.
24920
24921 2005-05-09  Wim Taymans  <wim@fluendo.com>
24922
24923         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24924         (gst_base_transform_event):
24925         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24926         Implement accept_caps.
24927         Fix silly lock/unlock mismatch in base class.
24928
24929 2005-05-09  Wim Taymans  <wim@fluendo.com>
24930
24931         * docs/design/draft-push-pull.txt:
24932         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24933         * gst/elements/gstfilesink.c: (gst_filesink_init),
24934         (gst_filesink_query):
24935         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24936         (gst_type_find_handle_src_query), (find_element_get_length):
24937         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24938         * gst/gstelement.h:
24939         * gst/gstmessage.c:
24940         * gst/gstmessage.h:
24941         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24942         (gst_real_pad_get_caps_unlocked),
24943         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24944         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24945         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24946         (gst_real_pad_dispose), (gst_real_pad_finalize),
24947         (gst_pad_load_and_link), (gst_pad_save_thyself),
24948         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24949         (gst_pad_check_pull_range), (gst_pad_pull_range),
24950         (gst_pad_template_get_type), (gst_pad_template_class_init),
24951         (gst_pad_template_init), (gst_pad_template_dispose),
24952         (name_is_valid), (gst_static_pad_template_get),
24953         (gst_pad_template_new), (gst_static_pad_template_get_caps),
24954         (gst_pad_template_get_caps), (gst_pad_set_element_private),
24955         (gst_pad_get_element_private), (gst_pad_start_task),
24956         (gst_pad_pause_task), (gst_pad_stop_task),
24957         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24958         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24959         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24960         (gst_ghost_pad_new):
24961         * gst/gstpad.h:
24962         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24963         (gst_query_new_position), (gst_query_set_position),
24964         (gst_query_parse_position), (gst_query_new_convert),
24965         (gst_query_set_convert), (gst_query_parse_convert):
24966         * gst/gstquery.h:
24967         * gst/gstqueryutils.c:
24968         * gst/gstqueryutils.h:
24969         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24970         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24971         (gst_queue_handle_src_query):
24972         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24973         (gst_element_query_position), (gst_element_query_convert),
24974         (intersect_caps_func), (gst_pad_query_position),
24975         (gst_pad_query_convert):
24976         * gst/gstutils.h:
24977         * tools/gst-inspect.c: (print_pad_info):
24978         * tools/gst-xmlinspect.c: (print_element_info):
24979         Remove old query functions. Ported old code.
24980         Added position/convert helper functions to gstutils.
24981         Reordered gstpad.c code, grouping relevant things.
24982         Remove gst_message_new(), always need to speficy a specific
24983         message.
24984
24985
24986 2005-05-09  Andy Wingo  <wingo@pobox.com>
24987
24988         * gst/gstiterator.h: Add some includes.
24989
24990         * gst/gstqueryutils.h: Include more headers.
24991
24992         * gst/gstpad.h:
24993         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24994         some uses of gst_pad_query.
24995
24996         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24997         NULL out parameters.
24998         (gst_query_new_position): New proc, allocates a new position
24999         query.
25000
25001         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
25002         gstqueryutils.c to the build.
25003
25004         * gst/gststructure.c (gst_structure_set_valist): Implement with
25005         the generic G_VALUE_COLLECT.
25006         
25007 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
25008
25009         * gst/Makefile.am: (gst_headers):
25010         Added gstqueryutils.h to the list of headers to install, that was
25011         a 'nachty' move wingo :)
25012
25013 2005-05-06  Andy Wingo  <wingo@pobox.com>
25014
25015         * gst/gstquery.h
25016         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
25017         GstData, init a memchunk.
25018         (standard_definitions): Add a few query types, deprecate a few.
25019         (gst_query_get_type): New proc.
25020         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
25021         implementation.
25022         (gst_query_new_application, gst_query_get_structure): New public
25023         procs.
25024
25025         * docs/design/draft-query.txt: Removed LINKS from the query types,
25026         because all the rest can be dispatched to other pads -- seemed
25027         ugly to have a query that couldn't be dispatched. internal_links
25028         is fine as a pad method.
25029
25030         * gst/gstpad.h: Add query2 as a pad method, add the new functions
25031         in gstpad.c, but maintain binary compatibility for the moment.
25032         Will fix before 0.9 is out.
25033
25034         * gst/gstqueryutils.c: 
25035         * gst/gstqueryutils.h: New files, implement 3 methods for each
25036         query type: parse_query, parse_response, and set. Probably need an
25037         allocator as well.
25038
25039         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
25040
25041         * gst/elements/gstfilesink.c (gst_filesink_query2):
25042         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
25043         query_types, and formats methods.
25044
25045         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
25046         (gst_pad_set_query2_function): New functions.
25047         (gst_real_pad_init): Set query2_default as the default query2
25048         function. Basically just dispatches to internally linked pads.
25049
25050         Needs review!
25051         
25052         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
25053         without using the atomic operations. Only one thread can possibly
25054         be accessing the data at this point. Changed so as to avoid
25055         gst_atomic operations.
25056
25057 2005-05-06  Wim Taymans  <wim@fluendo.com>
25058
25059         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
25060         Also set caps if we use the fallback buffer alloc.
25061
25062 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
25063
25064         * docs/gst/Makefile.am:
25065         * docs/gst/gstreamer-docs.sgml:
25066         * docs/gst/gstreamer-sections.txt:
25067         * docs/gst/tmpl/gstatomic.sgml:
25068         * docs/gst/tmpl/gstmemchunk.sgml:
25069         * testsuite/elements/struct_i386.h:
25070         * win32/GStreamer.vcproj:
25071         * win32/Makefile:
25072           Purge GstAtomic stuff from docs and win32 makefiles as well
25073
25074 2005-05-06  Wim Taymans  <wim@fluendo.com>
25075
25076         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25077         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25078         * gst/gstpad.c: (gst_pad_peer_get_caps):
25079         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25080         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25081         (gst_queue_src_activate), (gst_queue_change_state):
25082         * gst/gstqueue.h:
25083         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25084         (intersect_caps_func):
25085         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25086         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25087         Some fixes for the peer_get_caps() change.
25088
25089 2005-05-06  Wim Taymans  <wim@fluendo.com>
25090
25091         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25092         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25093         (gst_basesink_activate):
25094         Actually do something with error codes returned from the push
25095         functions.
25096
25097 2005-05-06  Wim Taymans  <wim@fluendo.com>
25098
25099         * docs/design/part-element-sink.txt:
25100         * docs/design/part-element-source.txt:
25101         * gst/base/gstbasesink.c: (gst_basesink_class_init),
25102         (gst_basesink_event), (gst_basesink_activate):
25103         * gst/base/gstbasesink.h:
25104         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25105         (gst_basesrc_activate):
25106         * gst/base/gstbasesrc.h:
25107         * gst/gstelement.c: (gst_element_pads_activate):
25108         Some more documentation.
25109         Fixed scheduling decision in _pads_activate().
25110
25111 2005-05-05  Andy Wingo  <wingo@pobox.com>
25112
25113         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25114         the test suite.
25115
25116 2005-05-05  Wim Taymans  <wim@fluendo.com>
25117
25118         * gst/base/Makefile.am:
25119         * gst/base/gstbasesink.h:
25120         * gst/base/gstbasesrc.c: (gst_basesrc_init),
25121         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25122         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25123         (gst_collectpads_class_init), (gst_collectpads_init),
25124         (gst_collectpads_finalize), (gst_collectpads_new),
25125         (gst_collectpads_set_function), (gst_collectpads_add_pad),
25126         (find_pad), (gst_collectpads_remove_pad),
25127         (gst_collectpads_is_active), (gst_collectpads_collect),
25128         (gst_collectpads_collect_range), (gst_collectpads_start),
25129         (gst_collectpads_stop), (gst_collectpads_peek),
25130         (gst_collectpads_pop), (gst_collectpads_available),
25131         (gst_collectpads_read), (gst_collectpads_flush),
25132         (gst_collectpads_chain):
25133         * gst/base/gstcollectpads.h:
25134         * gst/elements/Makefile.am:
25135         * gst/elements/gstelements.c:
25136         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25137         (gst_fakesink_get_times), (gst_fakesink_event),
25138         (gst_fakesink_preroll), (gst_fakesink_render):
25139         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25140         (gst_filesink_init), (gst_filesink_set_location),
25141         (gst_filesink_open_file), (gst_filesink_close_file),
25142         (gst_filesink_pad_query), (gst_filesink_event),
25143         (gst_filesink_render), (gst_filesink_change_state):
25144         * gst/elements/gstfilesink.h:
25145         Added object to help in making collect pad based elements.
25146         Ported filesink.
25147         Make event function in sink baseclass return gboolean.
25148
25149 2005-05-05  Wim Taymans  <wim@fluendo.com>
25150
25151         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25152         (gst_bin_get_by_name):
25153         * gst/gstbuffer.h:
25154         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25155         (gst_clock_finalize):
25156         * gst/gstdata.c: (gst_data_replace):
25157         * gst/gstdata.h:
25158         * gst/gstelement.c: (gst_element_request_pad),
25159         (gst_element_pads_activate):
25160         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25161         (gst_object_unref):
25162         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25163         (gst_pad_set_checkgetrange_function),
25164         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25165         (gst_pad_check_pull_range), (gst_pad_pull_range),
25166         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25167         (gst_pad_pause_task), (gst_pad_stop_task):
25168         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25169         (gst_element_request_pad), (gst_pad_proxy_getcaps):
25170         Fix name lookup in GstBin.
25171         Added _data_replace() function and _buffer_replace()
25172         Use finalize method to clean up clock.
25173         Fix refcounting on request pads.
25174         Fix pad schedule mode error.
25175         Some more object refcounting debug info,
25176
25177
25178 2005-05-04  Andy Wingo <wingo@pobox.com>
25179
25180         * check/Makefile.am:
25181         * docs/gst/tmpl/gstatomic.sgml:
25182         * docs/gst/tmpl/gstplugin.sgml:
25183         * gst/base/gstbasesink.c: (gst_basesink_activate):
25184         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25185         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25186         (gst_basesrc_query), (gst_basesrc_set_property),
25187         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25188         (gst_basesrc_activate):
25189         * gst/base/gstbasesrc.h:
25190         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25191         (gst_base_transform_src_activate):
25192         * gst/elements/gstelements.c:
25193         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25194         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25195         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25196         * gst/elements/gsttypefindelement.c: (find_element_get_length),
25197         (gst_type_find_element_checkgetrange),
25198         (gst_type_find_element_activate):
25199         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25200         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25201         (gst_caps_load_thyself):
25202         * gst/gstelement.c: (gst_element_pads_activate),
25203         (gst_element_save_thyself), (gst_element_restore_thyself):
25204         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25205         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25206         * gst/gstpad.h:
25207         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25208         (gst_xml_parse_file), (gst_xml_parse_memory),
25209         (gst_xml_get_element), (gst_xml_make_element):
25210         * gst/indexers/gstfileindex.c: (gst_file_index_load),
25211         (_file_index_id_save_xml), (gst_file_index_commit):
25212         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25213         (read_enum), (load_pad_template), (load_feature), (load_plugin),
25214         (load_paths):
25215         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25216         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25217         * tools/gst-complete.c: (main):
25218         * tools/gst-compprep.c: (main):
25219         * tools/gst-inspect.c: (print_element_properties_info):
25220         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25221         * tools/gst-xmlinspect.c: (print_element_properties):
25222         GCC 4 fixen.
25223         
25224 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25225
25226         * gst/gstplugin.c: (gst_plugin_check_module),
25227         (gst_plugin_check_file), (gst_plugin_load_file):
25228             apply patch from #172526 to make register work on MacOSX
25229
25230 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25231
25232         * docs/gst/tmpl/gstconfig.sgml:
25233         * gst/gstconfig.h.in:
25234           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
25235         * testsuite/debug/printf_extension.c: (main):
25236           Do not use GST_PTR_FORMAT on pointers to types with
25237           sizeof < sizeof(gpointer).  Fixes test on 64-bit
25238         * testsuite/elements/property.h:
25239           use correct printf format
25240
25241 2005-05-02  Wim Taymans  <wim@fluendo.com>
25242
25243         * docs/design/draft-push-pull.txt:
25244         * docs/design/draft-query.txt:
25245         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25246         (gst_basesrc_start):
25247         Added draft for new query API.
25248         Added draft for better selecting scheduling methods.
25249         Make basesrc ignore length if the subclass does not support
25250         it.
25251
25252 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25253
25254         * gst/Makefile.am:
25255           possible fixes for automake-1.5 - _LIBADD is reserved
25256
25257 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25258
25259         * docs/faq/Makefile.am:
25260         * docs/manual/Makefile.am:
25261         * docs/manuals.mak:
25262         * docs/pwg/Makefile.am:
25263         * gst/Makefile.am:
25264           possible fixes for automake-1.5
25265
25266 2005-04-28  Wim Taymans  <wim@fluendo.com>
25267
25268         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25269         (gst_basesink_pad_getcaps), (gst_basesink_init),
25270         (gst_basesink_do_sync):
25271         * gst/gstclock.c: (gst_clock_entry_new):
25272         * gst/gstevent.c: (gst_event_discont_get_value):
25273         * gst/gstpipeline.c: (pipeline_bus_handler),
25274         (gst_pipeline_change_state):
25275         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25276         Better debugging of clocking info.
25277         Allow NULL values when getting discont values.
25278
25279 2005-04-27  Wim Taymans  <wim@fluendo.com>
25280
25281         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25282         * check/gst/gstpad.c: (gst_pad_suite):
25283         Increase timeout for checks.
25284
25285 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25286
25287         * check/Makefile.am:
25288           fix the broken rule for cleanup.  Apparently this rule is
25289           only needed on FC2, so maybe this warrants further autotool
25290           inspection.
25291
25292 2005-04-26  Wim Taymans  <wim@fluendo.com>
25293
25294         * gst/gsttrashstack.h:
25295         Ooohh. a nasty one! After having a failed pop() from the stack,
25296         it's possible that the stack is empty. In that case, don't
25297         follow the NULL pointer.
25298
25299 2005-04-25  Wim Taymans  <wim@fluendo.com>
25300
25301         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25302         (gst_pad_set_checkgetrange_function),
25303         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25304         (gst_pad_check_pull_range), (gst_pad_pull_range),
25305         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25306         (gst_pad_pause_task), (gst_pad_stop_task):
25307         * gst/gstplugin.c: (gst_plugin_load):
25308         * gst/gstplugin.h:
25309         Remove gst_library_load as it does more harm than good with
25310         the new g_module flags.
25311         Revert bogus caps template check in pad linking, pad caps
25312         are important when linking not the template, which is more
25313         general than the current caps.
25314
25315 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25316
25317         * gst/autoplug/.cvsignore:
25318         * gst/autoplug/Makefile.am:
25319         * gst/autoplug/gstsearchfuncs.c:
25320         * gst/autoplug/gstsearchfuncs.h:
25321         * gst/autoplug/gstspider.c:
25322         * gst/autoplug/gstspider.h:
25323         * gst/autoplug/gstspideridentity.c:
25324         * gst/autoplug/gstspideridentity.h:
25325         * gst/autoplug/spidertest.c:
25326           Die, spider, die.
25327
25328 2005-04-25  Wim Taymans  <wim@fluendo.com>
25329
25330         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25331         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25332         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25333         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25334         * gst/gstpad.h:
25335         Added stubs for unimplemented functions. 
25336
25337 2005-04-24  David Schleef  <ds@schleef.org>
25338
25339         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
25340         please fix.
25341
25342 2005-04-24  David Schleef  <ds@schleef.org>
25343
25344         Convert everything from GstAtomicInt to g_atomic_int_*, and
25345         remove gstatomic.
25346         * gst/Makefile.am:
25347         * gst/gstatomic.c:
25348         * gst/gstatomic.h:
25349         * gst/gstatomic_impl.h:
25350         * gst/gstbuffer.c:
25351         * gst/gstcaps.c:
25352         * gst/gstcaps.h:
25353         * gst/gstclock.c:
25354         * gst/gstclock.h:
25355         * gst/gstdata.c:
25356         * gst/gstdata.h:
25357         * gst/gstdata_private.h:
25358         * gst/gstevent.c:
25359         * gst/gstinfo.c:
25360         * gst/gstinfo.h:
25361         * gst/gstmessage.c:
25362         * gst/gstobject.c:
25363         * gst/gstobject.h:
25364         * gst/gststructure.c:
25365         * gst/gststructure.h:
25366         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25367         * gst/gstutils.h:
25368
25369 2005-04-24  David Schleef  <ds@schleef.org>
25370
25371         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25372         make the regressions tests work.  Remove some code that is no
25373         longer true.
25374         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25375         Disable warning for pads without templates.
25376
25377 2005-04-24  David Schleef  <ds@schleef.org>
25378
25379         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
25380         functions that handle filtered links.
25381         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25382         removed functions.
25383         * gst/gstutils.c: Fix/remove utility functions that handle
25384         filtered caps.
25385         * gst/gstutils.h:
25386         * gst/gstvalue.c: Add serialization/deserialization of caps
25387         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
25388         requires fixing so that the filter caps notation creates
25389         a capsfilter element and sets the filter_caps property.  I
25390         think everyone probably wants to keep the shorthand notation.
25391         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25392         * docs/gst/tmpl/gstpad.sgml:
25393
25394         * gst/elements/gstelements.c: Register capsfilter element.
25395         * gst/Makefile.am: fix spacing
25396         * docs/random/ds/0.9-suggested-changes: random
25397
25398 2005-04-23  David Schleef  <ds@schleef.org>
25399
25400         * gst/elements/Makefile.am:
25401         * gst/elements/gstcapsfilter.c: New element that acts like an
25402         identity, but filters caps.  Will eventually replace filtered
25403         caps in pad linking.
25404         * gst/gstutils.c: (gst_element_create_all_pads): New function
25405         to create all the ALWAYS pads that are registered with an
25406         element class.  This functionality should eventually be
25407         merged in with GstElement initialization.
25408         * gst/gstutils.h:
25409         * testsuite/trigger/README: part of trigger test code that should
25410         have been checked in a long time ago.
25411
25412 2005-04-23  David Schleef  <ds@schleef.org>
25413
25414         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
25415         needed with new versions of libtool (nobody will confirm this),
25416         and hard to carry around.
25417         * gst/autoplug/Makefile.am:
25418         * gst/base/Makefile.am:
25419         * gst/elements/Makefile.am:
25420         * gst/indexers/Makefile.am:
25421         * gst/schedulers/Makefile.am:
25422         * libs/gst/bytestream/Makefile.am:
25423         * libs/gst/control/Makefile.am:
25424         * libs/gst/dataprotocol/Makefile.am:
25425         * libs/gst/getbits/Makefile.am:
25426
25427 2005-04-21  Wim Taymans  <wim@fluendo.com>
25428
25429         * docs/design/draft-push-pull.txt:
25430         * docs/design/part-MT-refcounting.txt:
25431         * docs/design/part-TODO.txt:
25432         * docs/design/part-caps.txt:
25433         * docs/design/part-events.txt:
25434         * docs/design/part-gstbus.txt:
25435         * docs/design/part-gstpipeline.txt:
25436         * docs/design/part-messages.txt:
25437         * docs/design/part-push-pull.txt:
25438         * docs/design/part-query.txt:
25439         Some more docs.
25440
25441 2005-04-21  Wim Taymans  <wim@fluendo.com>
25442
25443         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25444         (gst_message_new), (gst_message_new_error),
25445         (gst_message_new_warning), (gst_message_new_tag),
25446         (gst_message_new_state_changed), (gst_message_new_application),
25447         (gst_message_get_structure):
25448         * gst/gstmessage.h:
25449         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25450         (gst_structure_copy_conditional):
25451         Use parent refcount in GstMessage to ensure GstStructure
25452         consistency.
25453         Cleaned up headers a bit.
25454         
25455
25456 2005-04-20  Wim Taymans  <wim@fluendo.com>
25457
25458         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25459         (gst_basesink_pad_getcaps), (gst_basesink_init),
25460         (gst_basesink_chain_unlocked):
25461         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25462         (gst_type_find_helper):
25463         * gst/elements/gsttypefindelement.c:
25464         (gst_type_find_element_have_type), (gst_type_find_element_init),
25465         (stop_typefinding), (gst_type_find_element_handle_event),
25466         (find_suggest), (gst_type_find_element_chain),
25467         (gst_type_find_element_checkgetrange),
25468         (gst_type_find_element_getrange), (do_typefind),
25469         (gst_type_find_element_activate):
25470         * gst/gstbuffer.c: (_gst_buffer_sub_free),
25471         (gst_buffer_default_free), (gst_buffer_default_copy),
25472         (gst_buffer_set_caps):
25473         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25474         (gst_caps_replace):
25475         * gst/gstmessage.c: (gst_message_new),
25476         (gst_message_new_state_changed):
25477         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25478         (gst_pad_set_checkgetrange_function),
25479         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25480         (gst_pad_set_caps), (gst_pad_check_pull_range),
25481         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25482         * gst/gstpad.h:
25483         * gst/gsttypefind.c: (gst_type_find_register):
25484         Make gst_caps_replace() work like other _replace() functions.
25485         Use _caps_replace() where possible.
25486         Make sure _message_new() initialises its field.
25487         Add gst_static_pad_template_get_caps()
25488
25489
25490 2005-04-18  Andy Wingo  <wingo@pobox.com>
25491
25492         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25493         on the peer, not the pad. I think that was a typo. Pass an extra
25494         arg to see if random access is possible. Activate the pads as
25495         PULL_RANGE if possible.
25496
25497         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25498
25499         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
25500         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25501         to PROP_....
25502
25503 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25504
25505         * docs/faq/using.xml:
25506           Add note on gstreamer-properties (#154996).
25507
25508 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25509
25510         * docs/random/bbb/optional-properties:
25511           Some analysis on optional properties.
25512
25513 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25514
25515         * docs/gst/tmpl/gstelementfactory.sgml:
25516         * gst/gstelement.h:
25517         * gst/gstelementfactory.c: (gst_element_factory_init),
25518         (gst_element_factory_cleanup), (gst_element_register),
25519         (__gst_element_factory_add_static_pad_template),
25520         (gst_element_factory_get_static_pad_templates),
25521         (gst_element_factory_can_src_caps),
25522         (gst_element_factory_can_sink_caps):
25523         * gst/registries/Makefile.am:
25524         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25525         (gst_xml_registry_class_init), (gst_xml_registry_init),
25526         (gst_xml_registry_new), (gst_xml_registry_set_property),
25527         (gst_xml_registry_get_property), (get_time), (make_dir),
25528         (gst_xml_registry_get_perms_func),
25529         (plugin_times_older_than_recurse), (plugin_times_older_than),
25530         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25531         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25532         (add_to_char_array), (read_string), (read_uint), (read_enum),
25533         (load_pad_template), (load_feature), (load_plugin), (load_paths),
25534         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25535         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25536         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25537         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25538         (gst_xml_registry_rebuild):
25539         * gst/registries/gstlibxmlregistry.h:
25540         * tools/gst-compprep.c: (main):
25541         * tools/gst-inspect.c: (print_pad_templates_info):
25542         * tools/gst-xmlinspect.c: (print_element_info):
25543           Use libxml2 for registry parsing, use staticpadtemplates in
25544           elementfactories. Makes gst_init() +/- 10x faster.
25545
25546 2005-04-12  Wim Taymans  <wim@fluendo.com>
25547
25548         * gst/base/Makefile.am:
25549         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25550         (gst_basesink_pad_getcaps), (gst_basesink_init),
25551         (gst_basesink_event), (gst_basesink_change_state):
25552         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25553         (gst_basesrc_init), (gst_basesrc_query),
25554         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25555         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25556         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25557         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25558         (gst_basesrc_stop), (gst_basesrc_activate),
25559         (gst_basesrc_change_state):
25560         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25561         (helper_find_suggest), (gst_type_find_helper):
25562         * gst/base/gsttypefindhelper.h:
25563         * gst/elements/Makefile.am:
25564         * gst/elements/gstelements.c:
25565         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25566         (gst_fakesink_get_times), (gst_fakesink_event),
25567         (gst_fakesink_preroll), (gst_fakesink_render):
25568         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25569         (gst_fakesrc_init), (gst_fakesrc_event_handler),
25570         (gst_fakesrc_get_property), (gst_fakesrc_create),
25571         (gst_fakesrc_start), (gst_fakesrc_stop):
25572         * gst/elements/gstfakesrc.h:
25573         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25574         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25575         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25576         (gst_filesrc_create_read), (gst_filesrc_create),
25577         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25578         (gst_filesrc_start):
25579         * gst/elements/gsttypefindelement.c:
25580         (gst_type_find_element_have_type), (gst_type_find_element_init),
25581         (start_typefinding), (stop_typefinding), (push_buffer_store),
25582         (gst_type_find_element_handle_event),
25583         (gst_type_find_element_chain),
25584         (gst_type_find_element_checkgetrange),
25585         (gst_type_find_element_getrange), (do_typefind),
25586         (gst_type_find_element_activate),
25587         (gst_type_find_element_change_state):
25588         * gst/elements/gsttypefindelement.h:
25589         * gst/gstpipeline.c: (pipeline_bus_handler):
25590         Added typefind helper.
25591         Small preroll fix in the base sink.
25592         Disable typefind code in basesrc.
25593         Crude port of typefindelement.
25594         Fakesrc cleanups.
25595
25596
25597 2005-04-11  Wim Taymans  <wim@fluendo.com>
25598
25599         * check/gst/gstbus.c: (gstbus_suite):
25600         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25601         * check/gstcheck.h:
25602           Fix up the timeout so that the test does not fail.
25603
25604 2005-04-06  Wim Taymans  <wim@fluendo.com>
25605
25606         * gst/base/README:
25607         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25608         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25609         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25610         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25611         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25612         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25613         (gst_basesrc_stop), (gst_basesrc_activate),
25614         (gst_basesrc_change_state), (basesrc_find_peek),
25615         (basesrc_find_suggest), (gst_basesrc_type_find):
25616         * gst/base/gstbasesrc.h:
25617         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25618         (gst_filesrc_class_init), (gst_filesrc_init),
25619         (gst_filesrc_finalize), (gst_filesrc_set_location),
25620         (gst_filesrc_set_property), (gst_filesrc_get_property),
25621         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25622         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25623         (gst_filesrc_create_read), (gst_filesrc_create),
25624         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25625         * gst/elements/gstfilesrc.h:
25626         * gst/gstelement.c: (gst_element_get_state_func),
25627         (gst_element_lost_state), (gst_element_pads_activate):
25628         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25629         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25630         (gst_pad_pull_range):
25631         * gst/gstpad.h:
25632         More work on the generic source base class, implement seeking,
25633         query.
25634         Make filesrc extend the base source class.
25635         Added gst_pad_set_checkgetrange_function to GstPad.
25636
25637 2005-04-06  Andy Wingo  <wingo@pobox.com>
25638
25639         * pkgconfig/gstreamer-base.pc.in:
25640         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25641
25642         * pkgconfig/Makefile.am:
25643         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25644
25645 2005-04-04  Wim Taymans  <wim@fluendo.com>
25646
25647         * gst/base/Makefile.am:
25648         * gst/base/README:
25649         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25650         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25651         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25652         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25653         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25654         (gst_basesrc_base_init), (gst_basesrc_class_init),
25655         (gst_basesrc_init), (gst_basesrc_get_formats),
25656         (gst_basesrc_get_query_types), (gst_basesrc_query),
25657         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25658         (gst_basesrc_set_property), (gst_basesrc_get_property),
25659         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25660         (gst_basesrc_loop), (gst_basesrc_activate),
25661         (gst_basesrc_change_state):
25662         * gst/base/gstbasesrc.h:
25663         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25664         (gst_fakesrc_class_init), (gst_fakesrc_init),
25665         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25666         (gst_fakesrc_get_property), (gst_fakesrc_create):
25667         * gst/elements/gstfakesrc.h:
25668         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25669         (gst_filesrc_open_file), (gst_filesrc_loop),
25670         (gst_filesrc_activate), (filesrc_find_peek),
25671         (gst_filesrc_type_find):
25672         Made base source class, make fakesrc extend it.
25673         Add comments to basesink class.
25674         Some filesrc cleanup.
25675
25676 2005-03-31  David Schleef  <ds@schleef.org>
25677
25678         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25679         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25680         expected to link against libgstreamer.
25681         * gst/base/Makefile.am: link against libgstreamer
25682         * gst/elements/Makefile.am: same
25683
25684 2005-03-31  Andy Wingo  <wingo@pobox.com>
25685
25686         * tests/instantiate/Makefile.am:
25687         * tests/instantiate/caps.c: Add test to test speed of caps copy
25688         and free.
25689
25690         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25691         GMemChunk to be fair.
25692
25693         * gst/gsttrashstack.h: Remove warning about using the fallback
25694         trash stack implementation, it's still faster than malloc.
25695
25696 2005-03-30  Andy Wingo  <wingo@pobox.com>
25697
25698         * tests/complexity.c: Add a copyright.
25699
25700 2005-03-31  Wim Taymans  <wim@fluendo.com>
25701
25702         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25703         (gst_base_transform_class_init), (gst_base_transform_init),
25704         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25705         (gst_base_transform_get_property),
25706         (gst_base_transform_sink_activate),
25707         (gst_base_transform_src_activate),
25708         (gst_base_transform_change_state):
25709         * gst/base/gstbasetransform.h:
25710         * gst/elements/gstidentity.c: (gst_identity_class_init),
25711         (gst_identity_event), (gst_identity_check_perfect),
25712         (gst_identity_transform), (gst_identity_start),
25713         (gst_identity_stop):
25714         Added start/stop methods to transform base class so subclasses 
25715         don't need to deal with state changes even.
25716
25717 2005-03-31  Wim Taymans  <wim@fluendo.com>
25718
25719         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25720         (gst_event_new_discontinuous), (gst_event_discont_get_value):
25721         * gst/gstevent.h:
25722         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25723         (gst_pad_pull_range):
25724         Added rate to the discont event to prepare for variable speed
25725         and reverse playback.
25726
25727 2005-03-29  David Schleef  <ds@schleef.org>
25728
25729         * configure.ac:
25730         * testsuite/trigger/Makefile.am:
25731         * testsuite/trigger/trigger.c: A little example program to show
25732         how trigger-based elements can work.
25733
25734 2005-03-29  Wim Taymans  <wim@fluendo.com>
25735
25736         * gst/base/Makefile.am:
25737         * gst/base/README:
25738         * gst/base/gstbasesink.c: (gst_basesink_get_type),
25739         (gst_basesink_base_init), (gst_basesink_class_init),
25740         (gst_basesink_pad_getcaps), (gst_basesink_init),
25741         (gst_basesink_activate), (gst_basesink_change_state):
25742         * gst/base/gstbasesink.h:
25743         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25744         (gst_base_transform_base_init), (gst_base_transform_finalize),
25745         (gst_base_transform_class_init), (gst_base_transform_init),
25746         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25747         (gst_base_transform_event), (gst_base_transform_getrange),
25748         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25749         (gst_base_transform_set_property),
25750         (gst_base_transform_get_property),
25751         (gst_base_transform_sink_activate),
25752         (gst_base_transform_src_activate),
25753         (gst_base_transform_change_state):
25754         * gst/base/gstbasetransform.h:
25755         * gst/elements/gstidentity.c: (gst_identity_finalize),
25756         (gst_identity_class_init), (gst_identity_init),
25757         (gst_identity_event), (gst_identity_check_perfect),
25758         (gst_identity_transform), (gst_identity_set_property),
25759         (gst_identity_get_property), (gst_identity_change_state):
25760         * gst/elements/gstidentity.h:
25761         * gst/gstelement.c: (gst_element_get_state_func),
25762         (gst_element_lost_state), (gst_element_pads_activate):
25763         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25764         (gst_pad_check_pull_range), (gst_pad_pull_range):
25765         * gst/gstpad.h:
25766         Simplify pad activation.
25767         Added function to check if pull_range can be performed.
25768         Error out when pulling inactive or flushing pads.
25769         Removed const from refcounted types as it does not make sense.
25770         Simplify pad templates in basesink
25771         Added base class for simple 1-to-1 transforms.
25772         Make identity subclass the base transform.
25773
25774 2005-03-29  Andy Wingo  <wingo@pobox.com>
25775
25776         * docs/libs/gstreamer-libs-overrides.txt: 
25777         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25778         really don't understand what's going on, but like whatever. I want
25779         green buildbot!
25780
25781         * docs/gst/Makefile.am:
25782         * docs/libs/Makefile.am: Dist the overrides files.
25783
25784         * check/Makefile.am (clean-local): Remove .libs directories.
25785
25786         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25787         elements to EXTRA_DIST, so po/ files are happy.
25788
25789         * po/POTFILES.in: Er, remove it here.
25790
25791         * po/POTFILES: Remove gstspider.c.
25792
25793         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25794
25795         * docs/libs/gstreamer-libs-docs.sgml: 
25796         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25797         bytestream.
25798
25799         * tests/complexity.c (main): Set the length of the preroll queue
25800         on the sinks to prevent a lockup.
25801
25802         * libs/gst/dataprotocol/Makefile.am: 
25803         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25804         the same as the one in check/gst-libs/gdp.c.
25805
25806         * po/, docs/gst/: Commit automatic changes to docs and po files.
25807
25808         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25809         the versioned libgstbase.
25810
25811         * check/Makefile.am: Depend on an unversioned gst-register, seems
25812         to make autoconf happier.
25813
25814         * gst/base/Makefile.am: Make libgstbase a versioned lib.
25815
25816 2005-03-28  Wim Taymans  <wim@fluendo.com>
25817
25818         * configure.ac:
25819         * docs/design/part-gstelement.txt:
25820         * docs/design/part-negotiation.txt:
25821         * docs/design/part-preroll.txt:
25822         * docs/design/part-scheduling.txt:
25823         * docs/design/part-states.txt:
25824         * gst/Makefile.am:
25825         * gst/base/Makefile.am:
25826         * gst/base/README:
25827         * gst/base/gstbasesink.c: (gst_basesink_get_template),
25828         (gst_basesink_base_init), (gst_basesink_class_init),
25829         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25830         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25831         (gst_basesink_set_pad_functions),
25832         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25833         (gst_basesink_set_property), (gst_basesink_get_property),
25834         (gst_base_sink_get_template), (gst_base_sink_get_caps),
25835         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25836         (gst_basesink_preroll_queue_push),
25837         (gst_basesink_preroll_queue_empty),
25838         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25839         (gst_basesink_event), (gst_basesink_get_times),
25840         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25841         (gst_basesink_chain_unlocked), (gst_basesink_chain),
25842         (gst_basesink_loop), (gst_basesink_activate),
25843         (gst_basesink_change_state):
25844         * gst/base/gstbasesink.h:
25845         * gst/elements/Makefile.am:
25846         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25847         (gst_fakesink_class_init), (gst_fakesink_init),
25848         (gst_fakesink_set_property), (gst_fakesink_get_property),
25849         (gst_fakesink_get_times), (gst_fakesink_event),
25850         (gst_fakesink_preroll), (gst_fakesink_render),
25851         (gst_fakesink_change_state):
25852         * gst/elements/gstfakesink.h:
25853         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25854         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25855         * gst/gstelement.c: (gst_element_add_pad),
25856         (gst_element_get_state_func), (gst_element_abort_state),
25857         (gst_element_commit_state), (gst_element_lost_state),
25858         (gst_element_set_state), (gst_element_pads_activate):
25859         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25860         * gst/gstpipeline.c: (gst_pipeline_send_event),
25861         (gst_pipeline_change_state):
25862         Added state change code.
25863         Added/updated docs.
25864         Added sink base class, make fakesink extend the base class.
25865         Small cleanups in GstPipeline.
25866
25867 2005-03-26  David Schleef  <ds@schleef.org>
25868
25869         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
25870         is broken and should be implemented in a different library.
25871         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25872         * gst/gst.h: remove gstcpu.h
25873         * gst/gstcpu.c: remove
25874         * gst/gstcpu.h: remove
25875         * gst/Makefile.am.future: Remove this file.  It's ancient.
25876
25877 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25878
25879         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25880         (gst_bin_send_event):
25881           Add default event/set_manager handlers. The set_manager handler
25882           takes care that the manager is distributed over kids that were
25883           already in the bin before the manager was set. The event handler
25884           is a utility virtual function that sends the event over all sinks,
25885           so that gst_element_send_event (bin, event); has the expected
25886           behaviour.
25887         * gst/gstpad.c: (gst_pad_event_default):
25888           Re-install default event handling for discontinuities, so that
25889           seeking works without requiring hacks in applications or extra
25890           code in sinks.
25891         * gst/gstpipeline.c: (gst_pipeline_class_init),
25892         (gst_pipeline_send_event):
25893           Half hack, half utility: set a pipeline to PAUSED for seek events,
25894           since that is the only way we can guarantee a/v sync. Means that
25895           you can do gst_element_seek (pipeline, method, pos); on a pipeline
25896           and it "just works".
25897
25898 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25899
25900         * gst/gstpipeline.c: (gst_pipeline_use_clock):
25901           Lock/unlock mismatch.
25902
25903 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25904
25905         * docs/faq/gst-uninstalled:
25906           add gst-plugins-base
25907         * docs/gst/Makefile.am:
25908           don't error out until docs are fixed
25909         * docs/gst/gstreamer.types:
25910           remove thread
25911
25912 2005-03-22  Wim Taymans  <wim@fluendo.com>
25913
25914         * check/Makefile.am:
25915         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25916         * gst/gststructure.c: (gst_structure_set_valist),
25917         (gst_structure_copy_conditional):
25918         Activated more tests.
25919         Added message test.
25920         Added G_TYPE_POINTER to GstStructure.
25921         
25922
25923 2005-03-22  Wim Taymans  <wim@fluendo.com>
25924
25925         * docs/design/part-TODO.txt:
25926         * docs/design/part-events.txt:
25927         * docs/design/part-gstbin.txt:
25928         * docs/design/part-gstbus.txt:
25929         * docs/design/part-gstpipeline.txt:
25930         * docs/design/part-messages.txt:
25931         * gst/gstbus.c:
25932         * gst/gstmessage.c:
25933         Docs updates
25934
25935 2005-03-21  Wim Taymans  <wim@fluendo.com>
25936
25937         * gst/gstbus.c: (gst_bus_post):
25938         Fix copy-and-paste error.
25939
25940 2005-03-21  Wim Taymans  <wim@fluendo.com>
25941
25942         * check/Makefile.am:
25943         * gst/Makefile.am:
25944         * gst/elements/Makefile.am:
25945         * gst/elements/gstelements.c:
25946         * gst/elements/gstfakesink.c: (gst_fakesink_init),
25947         (gst_fakesink_event), (gst_fakesink_chain):
25948         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25949         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25950         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25951         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25952         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25953         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25954         (gst_fakesrc_loop), (gst_fakesrc_activate),
25955         (gst_fakesrc_change_state):
25956         * gst/elements/gstfakesrc.h:
25957         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25958         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25959         (gst_filesrc_open_file), (gst_filesrc_loop),
25960         (gst_filesrc_activate), (gst_filesrc_change_state),
25961         (filesrc_find_peek), (filesrc_find_suggest),
25962         (gst_filesrc_type_find):
25963         * gst/elements/gstidentity.c: (gst_identity_finalize),
25964         (gst_identity_class_init), (gst_identity_init),
25965         (gst_identity_proxy_getcaps), (identity_queue_push),
25966         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25967         (gst_identity_getrange), (gst_identity_chain),
25968         (gst_identity_sink_loop), (gst_identity_src_loop),
25969         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25970         (gst_identity_set_property), (gst_identity_get_property),
25971         (gst_identity_change_state):
25972         * gst/elements/gstidentity.h:
25973         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25974         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25975         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25976         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25977         (gst_tee_sink_activate):
25978         * gst/elements/gsttee.h:
25979         * gst/gst.c: (gst_register_core_elements), (init_post):
25980         * gst/gst.h:
25981         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25982         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25983         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25984         (gst_bin_change_state):
25985         * gst/gstbin.h:
25986         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25987         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25988         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25989         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25990         (gst_bus_set_sync_handler), (gst_bus_create_watch),
25991         (bus_watch_callback), (bus_watch_destroy),
25992         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25993         (poll_timeout), (gst_bus_poll):
25994         * gst/gstbus.h:
25995         * gst/gstcaps.h:
25996         * gst/gstdata.h:
25997         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25998         (gst_element_post_message), (gst_element_message_full),
25999         (gst_element_get_state_func), (gst_element_get_state),
26000         (gst_element_abort_state), (gst_element_commit_state),
26001         (gst_element_lost_state), (gst_element_set_state),
26002         (gst_element_pads_activate), (gst_element_change_state),
26003         (gst_element_dispose), (gst_element_set_manager_func),
26004         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
26005         (gst_element_set_manager), (gst_element_get_manager),
26006         (gst_element_set_bus), (gst_element_get_bus),
26007         (gst_element_set_scheduler), (gst_element_get_scheduler):
26008         * gst/gstelement.h:
26009         * gst/gstevent.c: (gst_event_new_segment_seek),
26010         (gst_event_new_flush):
26011         * gst/gstevent.h:
26012         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
26013         (_gst_message_free), (gst_message_get_type), (gst_message_new),
26014         (gst_message_new_eos), (gst_message_new_error),
26015         (gst_message_new_warning), (gst_message_new_tag),
26016         (gst_message_new_state_changed), (gst_message_new_application),
26017         (gst_message_get_structure), (gst_message_parse_tag),
26018         (gst_message_parse_state_changed), (gst_message_parse_error),
26019         (gst_message_parse_warning):
26020         * gst/gstmessage.h:
26021         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
26022         (gst_real_pad_set_property), (gst_pad_set_active),
26023         (gst_pad_is_active), (gst_pad_set_blocked_async),
26024         (gst_pad_set_blocked), (gst_pad_is_blocked),
26025         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
26026         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
26027         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
26028         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
26029         (gst_pad_link_filtered), (gst_pad_relink_filtered),
26030         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
26031         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
26032         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
26033         (gst_pad_set_caps), (gst_pad_configure_sink),
26034         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
26035         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
26036         (gst_real_pad_dispose), (gst_real_pad_finalize),
26037         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
26038         (gst_pad_event_default_dispatch), (gst_pad_event_default),
26039         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
26040         * gst/gstpad.h:
26041         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
26042         (pipeline_bus_handler), (gst_pipeline_change_state),
26043         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
26044         * gst/gstpipeline.h:
26045         * gst/gstprobe.h:
26046         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
26047         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
26048         (gst_queue_link_src), (gst_queue_bufferalloc),
26049         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
26050         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
26051         (gst_queue_loop), (gst_queue_handle_src_event),
26052         (gst_queue_handle_src_query), (gst_queue_src_activate),
26053         (gst_queue_change_state):
26054         * gst/gstqueue.h:
26055         * gst/gstscheduler.c: (gst_scheduler_init),
26056         (gst_scheduler_dispose), (gst_scheduler_create_task),
26057         (gst_scheduler_factory_create):
26058         * gst/gstscheduler.h:
26059         * gst/gststructure.c: (gst_structure_get_type),
26060         (gst_structure_copy_conditional):
26061         * gst/gststructure.h:
26062         * gst/gsttaginterface.h:
26063         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26064         (gst_task_init), (gst_task_dispose), (gst_task_create),
26065         (gst_task_get_state), (gst_task_start), (gst_task_stop),
26066         (gst_task_pause):
26067         * gst/gsttask.h:
26068         * gst/gstthread.c:
26069         * gst/gstthread.h:
26070         * gst/gsttypes.h:
26071         * gst/schedulers/Makefile.am:
26072         * gst/schedulers/cothreads_compat.h:
26073         * gst/schedulers/entryscheduler.c:
26074         * gst/schedulers/faircothreads.c:
26075         * gst/schedulers/faircothreads.h:
26076         * gst/schedulers/fairscheduler.c:
26077         * gst/schedulers/gstbasicscheduler.c:
26078         * gst/schedulers/gstoptimalscheduler.c:
26079         * gst/schedulers/gthread-cothreads.h:
26080         * gst/schedulers/threadscheduler.c:
26081         (gst_thread_scheduler_task_get_type),
26082         (gst_thread_scheduler_task_class_init),
26083         (gst_thread_scheduler_task_init),
26084         (gst_thread_scheduler_task_start),
26085         (gst_thread_scheduler_task_stop),
26086         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26087         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26088         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26089         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26090         (plugin_init):
26091         * libs/gst/Makefile.am:
26092         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26093         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26094         (gst_file_pad_parent_set):
26095         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26096         (gst_dp_event_from_packet):
26097         * tests/complexity.c: (main):
26098         * tests/mass_elements.c: (main):
26099         * testsuite/states/locked.c: (message_received), (main):
26100         * testsuite/states/parent.c: (main):
26101         * tools/gst-inspect.c: (print_element_flag_info),
26102         (print_implementation_info), (print_pad_info):
26103         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26104         (main):
26105         * tools/gst-md5sum.c: (event_loop), (main):
26106         * tools/gst-typefind.c: (main):
26107         * tools/gst-xmlinspect.c: (print_element_info):
26108         Next big merge.
26109         Added GstBus for mainloop integration.
26110         Added GstMessage for sending notifications on the bus.
26111         Added GstTask as an abstraction for pipeline entry points.
26112         Removed GstThread.
26113         Removed Schedulers.
26114         Simplified GstQueue for multithreaded core.
26115         Made _link threadsafe, removed old capsnego.
26116         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26117         Added pad blocking functions.
26118         Reworked scheduling functions in GstPad to prepare for
26119         scheduling updates soon.
26120         Moved events out of data stream.
26121         Simplified GstEvent types.
26122         Added return values to push/pull.
26123         Removed clocking from GstElement.
26124         Added prototypes for state change function for next merge.
26125         Removed iterate from bins and state change management.
26126         Fixed some elements, disabled others for now.
26127         Fixed -inspect and -launch.
26128         Added check for GstBus.
26129
26130 2005-03-10  Wim Taymans  <wim@fluendo.com>
26131
26132         * docs/design/part-MT-refcounting.txt:
26133         * docs/design/part-clocks.txt:
26134         * docs/design/part-gstelement.txt:
26135         * docs/design/part-gstobject.txt:
26136         * docs/design/part-standards.txt:
26137         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26138         (gst_bin_remove_func), (gst_bin_remove):
26139         * gst/gstbin.h:
26140         * gst/gstbuffer.c:
26141         * gst/gstcaps.h:
26142         * testsuite/clock/clock1.c: (main):
26143         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26144         (main):
26145         * testsuite/dlopen/loadgst.c: (do_test):
26146         * testsuite/refcounting/bin.c: (add_remove_test1),
26147         (add_remove_test2), (main):
26148         * testsuite/refcounting/element.c: (main):
26149         * testsuite/refcounting/element_pad.c: (main):
26150         * testsuite/refcounting/pad.c: (main):
26151         * tools/gst-launch.c: (sigint_handler_sighandler):
26152         * tools/gst-typefind.c: (main):
26153         Doc updates.
26154         Added doc about clock.
26155         removed gst_bin_iterate_recurse_up(), marked methods
26156         for removal.
26157         Fix more testsuites.
26158
26159 2005-03-09  Wim Taymans  <wim@fluendo.com>
26160
26161         * gst/gstpad.c: (gst_pad_get_direction),
26162         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26163         (gst_pad_collect_valist):
26164         * testsuite/bins/interface.c: (main):
26165         * testsuite/caps/audioscale.c: (test_caps):
26166         * testsuite/caps/caps.c: (test1), (test2), (test3):
26167         * testsuite/caps/deserialize.c: (main):
26168         * testsuite/caps/enumcaps.c: (main):
26169         * testsuite/caps/filtercaps.c: (main):
26170         * testsuite/caps/intersect2.c: (main):
26171         * testsuite/caps/random.c: (main):
26172         * testsuite/caps/renegotiate.c: (my_fixate), (main):
26173         * testsuite/caps/sets.c: (check_caps):
26174         * testsuite/caps/simplify.c: (check_caps), (main):
26175         * testsuite/caps/subtract.c: (check_caps):
26176         Fix _pad_get_direction wrt ghostpads.
26177         Fix caps testsuite.
26178
26179 2005-03-09  Wim Taymans  <wim@fluendo.com>
26180
26181         * check/Makefile.am:
26182         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26183         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26184         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26185         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26186         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26187         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26188         (gst_bin_remove), (gst_bin_iterate_recurse_up),
26189         (bin_element_is_sink), (gst_bin_iterate_sinks),
26190         (gst_bin_iterate_all_by_interface):
26191         * gst/gstbin.h:
26192         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26193         (gst_element_change_state), (gst_element_dispose),
26194         (gst_element_finalize), (gst_element_set_loop_function):
26195         * gst/gstelement.h:
26196         * gst/gstiterator.c: (find_custom_fold_func):
26197         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26198         (gst_pad_collectv), (gst_pad_collect_valist),
26199         (gst_pad_template_new):
26200         * gst/gstpipeline.c: (gst_pipeline_class_init),
26201         (gst_pipeline_dispose), (gst_pipeline_set_property),
26202         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26203         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26204         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26205         * gst/gstutils.h:
26206         * gst/schedulers/entryscheduler.c:
26207         * gst/schedulers/gstbasicscheduler.c:
26208         (gst_basic_scheduler_cothreaded_chain),
26209         (gst_basic_scheduler_chain_add_element):
26210         * testsuite/bins/interface.c: (main):
26211         Added GstBin test.
26212         Added GstSystemClock test.
26213         Implemented clock distribution code in GstBin.
26214         Implemented iterate sinks method for future use.
26215         Rearranged gstelement.h
26216         Fix GstIterator comparison bug.
26217         Moved some code to GstPipeline, mostly clocking related.
26218
26219 2005-03-09  Wim Taymans  <wim@fluendo.com>
26220
26221         * configure.ac:
26222         * gst/gst_private.h:
26223         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26224         (gst_bin_remove_func), (gst_bin_remove),
26225         (gst_bin_get_by_name_recurse_up):
26226         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26227         (gst_clock_id_compare_func), (gst_clock_id_wait),
26228         (gst_clock_id_wait_async), (gst_clock_init),
26229         (gst_clock_adjust_unlocked), (gst_clock_get_time):
26230         * gst/gstelement.h:
26231         * gst/gstinfo.c: (_gst_debug_init):
26232         * gst/gstobject.h:
26233         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26234         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26235         * gst/gstpad.h:
26236         Bump version number, we're now 0.9.0
26237         Add future debugging category.
26238         Fix NULL _unref() in _get_by_name_recurse_up
26239         Rearrange gstpad.h.
26240         Update some docs.
26241
26242 2005-03-08  Wim Taymans  <wim@fluendo.com>
26243
26244         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26245         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26246         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26247         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26248         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26249         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26250         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26251         * gst/elements/gstidentity.c: (gst_identity_class_init):
26252         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26253         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26254         * gst/elements/gstshaper.c: (gst_shaper_class_init):
26255         * gst/elements/gststatistics.c: (gst_statistics_class_init):
26256         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26257         (gst_tee_link):
26258         * gst/gstelement.c: (gst_element_class_init),
26259         (gst_element_base_class_init), (gst_element_init),
26260         (gst_element_get_random_pad), (gst_element_wait_state_change),
26261         (gst_element_change_state), (gst_element_dispose),
26262         (gst_element_finalize), (gst_element_set_loop_function):
26263         * gst/gstelement.h:
26264         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26265         * gst/gstthread.c: (gst_thread_class_init),
26266         (gst_thread_release_children_locks), (gst_thread_change_state):
26267         * gst/schedulers/gstbasicscheduler.c:
26268         (gst_basic_scheduler_loopfunc_wrapper),
26269         (gst_basic_scheduler_chain_wrapper),
26270         (gst_basic_scheduler_src_wrapper),
26271         (gst_basic_scheduler_remove_element):
26272         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26273         Remove threadsafe properties. Fix elements because GObject
26274         complains when installing a property before declaring a
26275         set/get_property handler.
26276         Rearrange gstelement.h file, use STATE macros for state locks.
26277         Free mutexes in the finalize method instead of dispose.
26278
26279 2005-03-08  Wim Taymans  <wim@fluendo.com>
26280
26281         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26282         * gst/gstthread.c: (gst_thread_release_children_locks):
26283         Added parentage check.
26284         Fix build og GstThread again.
26285
26286 2005-03-08  Wim Taymans  <wim@fluendo.com>
26287
26288         * docs/design/part-MT-refcounting.txt:
26289         * docs/design/part-conventions.txt:
26290         * docs/design/part-gstobject.txt:
26291         * docs/design/part-relations.txt:
26292         * docs/design/part-standards.txt:
26293         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26294         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26295         (gst_bin_get_by_name), (gst_bin_get_by_interface),
26296         (gst_bin_iterate_all_by_interface):
26297         * gst/gstbuffer.h:
26298         * gst/gstclock.h:
26299         * gst/gstelement.c: (gst_element_class_init),
26300         (gst_element_change_state), (gst_element_set_loop_function):
26301         * gst/gstelement.h:
26302         * gst/gstiterator.c:
26303         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26304         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26305         (gst_object_dispatch_properties_changed), (gst_object_set_name),
26306         (gst_object_set_parent), (gst_object_unparent),
26307         (gst_object_check_uniqueness):
26308         * gst/gstobject.h:
26309         Docs updates, clean up some headers.
26310
26311 2005-03-07  Wim Taymans  <wim@fluendo.com>
26312
26313         * check/.cvsignore:
26314         * check/Makefile.am:
26315         * check/gst-libs/.cvsignore:
26316         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26317         * check/gst/.cvsignore:
26318         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26319         (START_TEST), (gstbus_suite), (main):
26320         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26321         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26322         (gst_data_suite), (main):
26323         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26324         (add_fold_func), (gstiterator_suite), (main):
26325         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26326         (thread_name_object), (thread_name_object_default),
26327         (gst_object_name_compare), (gst_object_suite), (main):
26328         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26329         (gst_pad_suite), (main):
26330         * check/gstcheck.c: (gst_check_log_message_func),
26331         (gst_check_log_critical_func), (gst_check_init):
26332         * check/gstcheck.h:
26333         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26334         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26335         Added checks.
26336
26337 2005-03-07  Wim Taymans  <wim@fluendo.com>
26338
26339         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26340         (gst_list_iterator_next), (gst_list_iterator_resync),
26341         (gst_list_iterator_free), (gst_iterator_new_list),
26342         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26343         (gst_iterator_free), (gst_iterator_push), (filter_next),
26344         (filter_resync), (filter_uninit), (filter_free),
26345         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26346         (gst_iterator_foreach), (find_custom_fold_func),
26347         (gst_iterator_find_custom):
26348         * gst/gstiterator.h:
26349         Added missing files.
26350
26351 2005-03-07  Wim Taymans  <wim@fluendo.com>
26352
26353         * Makefile.am:
26354         * configure.ac:
26355         * docs/design/part-MT-refcounting.txt:
26356         * docs/design/part-conventions.txt:
26357         * docs/design/part-gstobject.txt:
26358         * docs/design/part-relations.txt:
26359         * examples/mixer/mixer.c: (main):
26360         * examples/thread/thread.c: (eos), (main):
26361         * gst/Makefile.am:
26362         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26363         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26364         (gst_spider_plug_from_srcpad):
26365         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26366         (gst_spider_identity_change_state),
26367         (gst_spider_identity_sink_loop_type_finding):
26368         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26369         * gst/elements/gstidentity.c: (gst_identity_init):
26370         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26371         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26372         * gst/elements/gsttypefindelement.c: (free_entry):
26373         * gst/gst.c:
26374         * gst/gst.h:
26375         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26376         (gst_bin_set_clock_func), (gst_bin_auto_clock),
26377         (gst_bin_set_index), (gst_bin_set_element_sched),
26378         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26379         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26380         (gst_bin_iterate_elements), (iterate_child_recurse),
26381         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26382         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26383         (compare_interface), (gst_bin_get_by_interface),
26384         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26385         * gst/gstbin.h:
26386         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26387         (gst_buffer_default_free), (gst_buffer_default_copy),
26388         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26389         (gst_buffer_create_sub):
26390         * gst/gstbuffer.h:
26391         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26392         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26393         (gst_caps_unref), (gst_static_caps_get),
26394         (gst_caps_remove_and_get_structure), (gst_caps_append),
26395         (gst_caps_append_structure), (gst_caps_remove_structure),
26396         (gst_caps_copy_nth), (gst_caps_set_simple),
26397         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26398         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26399         (gst_caps_structure_intersect_field), (gst_caps_intersect),
26400         (gst_caps_structure_subtract_field), (gst_caps_subtract),
26401         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26402         (gst_caps_structure_figure_out_union),
26403         (gst_caps_switch_structures), (gst_caps_do_simplify),
26404         (gst_caps_replace), (gst_caps_from_string),
26405         (gst_caps_copy_conditional):
26406         * gst/gstcaps.h:
26407         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26408         (_gst_clock_id_free), (gst_clock_id_unref),
26409         (gst_clock_id_compare_func), (gst_clock_id_wait),
26410         (gst_clock_id_wait_async), (gst_clock_class_init),
26411         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26412         (gst_clock_get_time), (gst_clock_set_time_adjust),
26413         (gst_clock_set_property), (gst_clock_get_property):
26414         * gst/gstclock.h:
26415         * gst/gstcompat.h:
26416         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26417         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26418         * gst/gstdata.h:
26419         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26420         (gst_element_requires_clock), (gst_element_provides_clock),
26421         (gst_element_set_clock), (gst_element_clock_wait),
26422         (gst_element_wait), (gst_element_set_time_delay),
26423         (gst_element_is_indexable), (gst_element_add_pad),
26424         (gst_element_add_ghost_pad), (gst_element_remove_pad),
26425         (pad_compare_name), (gst_element_get_static_pad),
26426         (gst_element_request_pad), (gst_element_get_request_pad),
26427         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26428         (gst_element_class_get_pad_template_list),
26429         (gst_element_class_get_pad_template), (gst_element_error_func),
26430         (gst_element_get_random_pad), (gst_element_get_event_masks),
26431         (gst_element_send_event), (gst_element_seek),
26432         (gst_element_get_query_types), (gst_element_query),
26433         (gst_element_get_formats), (gst_element_convert),
26434         (gst_element_is_locked_state), (gst_element_set_locked_state),
26435         (gst_element_sync_state_with_parent), (gst_element_change_state),
26436         (gst_element_finalize), (gst_element_yield),
26437         (gst_element_interrupt), (gst_element_set_scheduler),
26438         (gst_element_get_scheduler), (gst_element_set_loop_function):
26439         * gst/gstelement.h:
26440         * gst/gstevent.h:
26441         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26442         (gst_format_get_by_nick), (gst_format_get_details),
26443         (gst_format_iterate_definitions):
26444         * gst/gstformat.h:
26445         * gst/gstindex.c: (gst_index_gtype_resolver):
26446         * gst/gstinfo.c:
26447         * gst/gstinfo.h:
26448         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26449         (gst_mem_chunk_free):
26450         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26451         (gst_object_ref), (gst_object_unref), (gst_object_sink),
26452         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26453         (gst_object_dispatch_properties_changed),
26454         (gst_object_set_name_default), (gst_object_set_name),
26455         (gst_object_get_name), (gst_object_set_name_prefix),
26456         (gst_object_get_name_prefix), (gst_object_set_parent),
26457         (gst_object_get_parent), (gst_object_unparent),
26458         (gst_object_check_uniqueness), (gst_object_save_thyself),
26459         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26460         (gst_object_set_property), (gst_object_get_property),
26461         (gst_object_get_path_string):
26462         * gst/gstobject.h:
26463         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26464         (gst_real_pad_init), (gst_real_pad_get_property),
26465         (gst_pad_custom_new), (gst_pad_get_direction),
26466         (gst_pad_set_active), (gst_pad_is_active),
26467         (gst_pad_set_event_function), (gst_pad_is_linked),
26468         (gst_pad_link_free), (gst_pad_link_intersect),
26469         (gst_pad_link_fixate), (gst_pad_set_caps),
26470         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26471         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26472         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26473         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26474         (gst_pad_get_caps), (gst_pad_peer_get_caps),
26475         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26476         (gst_pad_realize), (gst_pad_get_allowed_caps),
26477         (gst_real_pad_dispose), (gst_real_pad_finalize),
26478         (gst_pad_collectv), (gst_pad_collect_valist),
26479         (gst_pad_template_dispose), (gst_pad_template_new),
26480         (gst_pad_get_internal_links):
26481         * gst/gstpad.h:
26482         * gst/gstpipeline.c: (gst_pipeline_dispose),
26483         (gst_pipeline_change_state):
26484         * gst/gstpipeline.h:
26485         * gst/gstplugin.c:
26486         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26487         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26488         * gst/gstpluginfeature.h:
26489         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26490         * gst/gstquery.c: (_gst_query_type_initialize),
26491         (gst_query_type_register), (gst_query_type_get_by_nick),
26492         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26493         * gst/gstquery.h:
26494         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26495         * gst/gstscheduler.c: (gst_scheduler_add_element),
26496         (gst_scheduler_factory_create):
26497         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26498         (gst_structure_free), (gst_structure_set_name),
26499         (gst_structure_id_set_value), (gst_structure_set_value),
26500         (gst_structure_set_valist), (gst_structure_remove_field),
26501         (gst_structure_remove_fields),
26502         (gst_structure_remove_fields_valist),
26503         (gst_structure_remove_all_fields), (gst_structure_foreach),
26504         (gst_structure_map_in_place),
26505         (gst_caps_structure_fixate_field_nearest_int),
26506         (gst_caps_structure_fixate_field_nearest_double):
26507         * gst/gststructure.h:
26508         * gst/gstsystemclock.c: (gst_system_clock_class_init),
26509         (gst_system_clock_init), (gst_system_clock_dispose),
26510         (gst_system_clock_async_thread),
26511         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26512         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26513         * gst/gstsystemclock.h:
26514         * gst/gsttag.c: (gst_tag_list_add_value_internal),
26515         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26516         * gst/gsttaginterface.c:
26517         * gst/gstthread.c: (gst_thread_dispose),
26518         (gst_thread_release_children_locks), (gst_thread_change_state),
26519         (gst_thread_main_loop):
26520         * gst/gsttrashstack.h:
26521         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26522         * gst/gsttypes.h:
26523         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26524         (gst_element_request_pad), (gst_element_get_pad_from_template),
26525         (gst_element_request_compatible_pad),
26526         (gst_element_get_compatible_pad_filtered),
26527         (gst_element_get_compatible_pad), (gst_element_state_get_name),
26528         (gst_element_link_pads_filtered), (gst_element_link_filtered),
26529         (gst_element_link_many), (gst_element_link),
26530         (gst_element_link_pads), (gst_element_unlink_pads),
26531         (gst_element_unlink_many), (gst_element_unlink),
26532         (gst_pad_can_link_filtered), (gst_pad_can_link),
26533         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26534         (gst_object_default_error), (gst_bin_add_many),
26535         (gst_bin_remove_many), (gst_element_populate_std_props),
26536         (gst_element_class_install_std_props), (gst_buffer_merge),
26537         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26538         (link_fold_func), (gst_pad_proxy_setcaps):
26539         * gst/gstutils.h:
26540         * gst/gstvalue.c: (gst_value_deserialize_string):
26541         * gst/parse/grammar.y:
26542         * gst/schedulers/gstbasicscheduler.c:
26543         (gst_basic_scheduler_cothreaded_chain),
26544         (gst_basic_scheduler_chain_recursive_add),
26545         (gst_basic_scheduler_pad_link):
26546         * gst/schedulers/gstoptimalscheduler.c:
26547         (get_group_schedule_function),
26548         (gst_opt_scheduler_state_transition),
26549         (gst_opt_scheduler_add_element), (element_get_reachables_func):
26550         * libs/gst/bytestream/bytestream.c:
26551         * libs/gst/dataprotocol/dataprotocol.c:
26552         (gst_dp_header_from_buffer):
26553         * po/nb.po:
26554         * po/ru.po:
26555         * tests/threadstate/threadstate2.c: (eos):
26556         * tools/gst-compprep.c: (main):
26557         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26558         (print_pad_info), (print_children_info):
26559         * tools/gst-launch.c: (idle_func), (main):
26560         * tools/gst-md5sum.c: (idle_func), (main):
26561         * tools/gst-xmlinspect.c: (print_element_info):
26562         First THREADED backport attempt, focusing on adding locks and
26563         making sure the API is threadsafe. Needs more work. More docs
26564         follow this week.
26565
26566 2005-02-24  Andy Wingo  <wingo@pobox.com>
26567
26568         * tests/bench-complexity.scm:
26569         * tests/complexity.gnuplot: New files, good for running complexity
26570         benchmarks.
26571
26572         * tests/Makefile.am:
26573         * tests/complexity.c: New test, sets up N elements, at each level
26574         teeing into M streams per element. Eeeenteresting.
26575
26576         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26577         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26578         running bench-mass_elements.scm.
26579
26580         * tests/bench-mass_elements.scm: New script, runs mass_elements
26581         for various numbers of identities, outputting the results to a
26582         file. Requires guile 1.6. Just for testing.
26583
26584 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26585
26586         * gst/schedulers/fairscheduler.c:
26587           compile with debug disabled
26588
26589 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26590
26591         * configure.ac:
26592           hunting season on 0.9 is now OPEN