API: Add gst_base_transform_set_gap_aware() to control whether the element correctly...
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
2
3         * docs/libs/gstreamer-libs-sections.txt:
4         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5           (gst_base_transform_prepare_output_buffer),
6           (gst_base_transform_set_gap_aware):
7         * libs/gst/base/gstbasetransform.h:
8           API: Add gst_base_transform_set_gap_aware() to control whether
9           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
10           get buffers with this flag at all. Fixes #503231.
11
12 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
13
14         * libs/gst/base/gstbasesink.c:
15         * libs/gst/base/gstbasesrc.c:
16         * libs/gst/base/gstbasetransform.c:
17           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
18           thread. Correct log message in gstbasesrc.c.
19
20 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
21
22         * gst/gstutils.c: (element_find_unconnected_pad):
23           Fix possible compiler warning (#503417).
24
25 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
26
27         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
28           Don't use GST_CAT_EVENT here for logging, it makes no sense.
29
30 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
31
32         * tools/gst-inspect.c: (print_element_properties_info):
33           Add support for GstFraction properties.
34
35 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
36
37         * Makefile.am:
38           Add check-exports target and run it as part of 'make check'
39           (see #499140 and #493983).
40
41         * gst/gst_private.h:
42         * gst/gstelementfactory.h:
43         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
44         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
45           (_priv_gst_in_valgrind):
46         * gst/gstinfo.h: (GstLogFunction):
47         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
48           (gst_type_find_register):
49         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
50           (gst_type_find_factory_get_type):
51         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
52           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
53           (gst_controller_new_valist), (gst_controller_new_list),
54           (_gst_controller_dispose), (_gst_controller_class_init):
55         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
56         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
57           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
58           (gst_object_get_controller), (gst_object_set_controller),
59           (gst_object_suggest_next_sync), (gst_object_sync_values),
60           (gst_object_set_control_source), (gst_object_get_control_source),
61           (gst_object_get_value_arrays), (gst_object_get_value_array),
62           (gst_object_get_control_rate), (gst_object_set_control_rate):
63         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
64         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
65           Make some functions that should be static static; rename some
66           private symbols so that they don't get exported; add some FIXME
67           comments so we can move accidentally exported functions into
68           our private section in 0.11.
69
70         * win32/common/libgstreamer.def:
71           Add gst_utils_get_timestamp().
72
73 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
74
75         * gst/gstvalue.c:
76         * gst/gstvalue.h:
77           Add more missing "Since:" tags to docs.
78
79 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
80
81         * gst/gstutils.c:
82           Add mising "Since:" to docs.
83
84 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
85
86         * gst/gstplugin.c:
87           Include "glib-compat-private.h" to fix the build on system with
88           glib < 2.10. Fixes #503131.
89
90 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
91
92         * gst/gstutils.c:
93         * gst/gstutils.h:
94           Actually its not PURE as it gets the time from elsewhere.
95
96 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
97
98         * docs/gst/gstreamer-sections.txt:
99         * gst/gstclock.h:
100         * gst/gstdebugutils.c:
101         * gst/gstinfo.c:
102         * gst/gstutils.c:
103         * gst/gstutils.h:
104         * libs/gst/base/gstbasesink.c:
105         * tools/gst-launch.c:
106           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
107           uses as we don't have HAVE_POSIX_TIMERS in public headers.
108           Thanks Tim for spotting.
109
110 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
111
112         * configure.ac:
113           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
114
115 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
116
117         * gst/gststructure.c: (gst_structure_validate_name),
118           (gst_structure_new_valist), (gst_structure_parse_value),
119           (gst_structure_from_string):
120           Don't crash in _from_string() if the structure name is not valid
121           (fixes #501560).  Allow structure names to start with a number
122           again (this apparently broke the ubuntu codec installer).
123
124         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
125           (GST_START_TEST):
126           Add unit test for the crash; update unit tests for new behaviour.
127
128 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
129
130         * gst/gstutils.c:
131         Clarify gst_element_get_compatible_pad() documentation.
132         Fixes #500919.
133
134 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
135
136         * tests/check/Makefile.am:
137           Don't forget to dist {gst,libs}/struct_hppa.h.
138
139 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
140
141         * libs/gst/base/gstbasesink.c:
142           Use new API to get elapsed time.
143
144 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
145
146         * gst/gstdebugutils.c:
147         * gst/gstinfo.c:
148           Fix wrong order of args in GST_CLOCK_DIFF() usage.
149
150         * tools/gst-launch.c:
151           Use new API to get elapsed time.
152
153 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
154
155         * docs/gst/gstreamer-sections.txt:
156         * gst/gstclock.h:
157         * gst/gstdebugutils.c:
158         * gst/gstinfo.c:
159           Rename new API + ChangeLog surgery to remove old name from last entry..
160           API: GST_GET_TIMESTAMP
161
162 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
163
164         * docs/gst/gstreamer-sections.txt:
165         * gst/gstclock.h:
166         * gst/gstdebugutils.c:
167         * gst/gstinfo.c:
168           Now hide the different clock stuff behind a macro.
169
170 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
171
172         * configure.ac:
173         * gst/gstdebugutils.c:
174         * gst/gstinfo.c:
175           Apply the posix-timer check from #361155. Conditionally use the posix
176           timer for logging. This gives better timestamp precission, less
177           overhead and no ntp jitter.
178
179 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
180
181         * gst/gstminiobject.c: (gst_mini_object_get_type),
182         (gst_mini_object_class_init), (gst_mini_object_copy_default),
183         (gst_mini_object_finalize), (gst_mini_object_copy),
184         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
185         (gst_mini_object_replace), (param_mini_object_validate),
186         (gst_param_spec_mini_object_get_type):
187         Some cleanup and checking against invalid function parameters.
188
189 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
190
191         * docs/gst/gstreamer-sections.txt:
192         * gst/gstclock.h:
193         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
194         (gst_systemclock_suite):
195         Start merging in the easy bits of #361155, the monotonic clock patch.
196         This one adds a few handy macros with docs and a testsuite.
197
198 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
199
200         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
201         Be a bit smarter when seeking, like, don't try to do a seek when it's
202         not needed. This avoids errors when the file is not seekable.
203         Fixes #499771.
204
205 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
206
207         * docs/gst/gstreamer-docs.sgml:
208         * docs/gst/gstreamer-sections.txt:
209         * docs/gst/gstreamer.types.in:
210         * gst/Makefile.am:
211         * gst/gst.h:
212         * gst/gstpreset.c:
213         * gst/gstpreset.h:
214         * plugins/elements/gstqueue.c:
215           Due to popular request remove preset interface again. :-(.
216
217 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
218
219         * tools/gst-inspect.c:
220           Print 'default value' for enums and flags too.
221
222 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
223
224         * docs/random/ensonic/profiling.txt:
225           More ideas.
226
227         * gst/gstbin.c:
228           Fix typo and give better log output.
229
230         * gst/gstdebugutils.c:
231         * gst/gstdebugutils.h:
232           More ideas, make graphs a bit smaller and fix param name in macro.
233
234 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
235
236         * gst/gstpreset.c:
237           Try harder to use the return value from fgets().
238
239 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
240
241         * gst/gstpreset.c:
242           For theses two fgets we handle the error below.
243
244 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
245
246         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
247         Only send upstream events upstream. Fixes #498746.
248
249 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
250
251         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
252
253         * plugins/elements/gstidentity.c: (gst_identity_class_init),
254         (gst_identity_init), (gst_identity_transform_ip),
255         (gst_identity_set_property), (gst_identity_get_property):
256         * plugins/elements/gstidentity.h:
257         Add property to disable handoff signal emission. Fixes #498694.
258         API: GstIdentity::signal-handoffs
259
260 2007-11-21  Julien Moutte  <julien@fluendo.com>
261
262         * docs/faq/gst-uninstalled: Yet another missing library for the
263         uninstalled script (fft)
264
265 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
266
267         * docs/faq/developing.xml:
268         Add a question about how to submit new translations.
269
270         * docs/random/release:
271         Update the contact email address for the Translation Project
272
273         * plugins/elements/gstfdsrc.c:
274         The parent_class for fdsrc is pushsrc, not GstElement.
275
276 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
277
278         * gst/gstpreset.c:
279           Plug a leak and fix saving.
280
281 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
282
283         * docs/gst/gstreamer-sections.txt:
284         Add new gst_preset__get_property_names() function to the docs
285         to fix the build.
286
287 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
288
289         * gst/gstpreset.c:
290         * gst/gstpreset.h:
291           Change _get_preset_names API to return a strv with copies. Add
292           _get_property_names to allow implementations to filter and provide
293           good default implementation.
294
295 2007-11-20  Julien MOUTTE  <julien@moutte.net>
296
297         * docs/faq/gst-uninstalled: Add another library to the uninstalled
298         script (sdp).
299
300 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
301
302         * gst/gstpreset.c:
303           More cleanups, docs, and TODOs from comments that now slowly come in.
304
305 2007-11-19  Julien MOUTTE  <julien@moutte.net>
306
307         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
308         search path.
309
310 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
311
312         * gst/gstpreset.c:
313           Fix bogus warning and make the property type specific code more
314           similar.
315
316 2007-11-19  Julien MOUTTE  <julien@moutte.net>
317
318         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
319         it build on OS X.
320
321 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
322
323         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
324         (gst_bin_add_func), (gst_bin_remove_func),
325         (gst_bin_change_state_func), (gst_bin_continue_func):
326         Change email, cleanups add some more debug and comments.
327         Also set bus and clock on new elements when the pipeline was in error.
328
329 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
330
331         * gst/gstbin.c:
332         * gst/gstdebugutils.c:
333           Fix build with --disable-gst-debug. Fixes #497859.
334           Spotted by Sameer Naik.
335
336 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
337
338         * gst/gstevent.c:
339           Little documentation improvment.
340
341         * gst/gstpreset.c:
342           More TODO cleanups. Remove c++ comments.
343
344         * libs/gst/controller/gstcontroller.c:
345           Add TODO and use quark from static string.
346
347         * tests/check/gst/gstmessage.c:
348         * tests/check/gst/gststructure.c:
349           Use quark from static string.
350
351 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
352
353         * gst/gstpreset.c:
354           Add some comments and TODOs.
355
356         * gst/gstpreset.h:
357           Add padding for future changes.
358
359         * plugins/elements/gstqueue.c:
360           Implement the iface.    
361
362 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
363
364         * docs/gst/gstreamer-docs.sgml:
365         * docs/gst/gstreamer-sections.txt:
366         * docs/gst/gstreamer.types.in:
367         * gst/Makefile.am:
368         * gst/gst.h:
369         * gst/gstpreset.c:
370         * gst/gstpreset.h:
371           Add the preset interface (Fixes #396779). Do some doc cleanups along.
372
373 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
374
375         * configure.ac:
376
377         Back to CVS
378
379 === release 0.10.15 ===
380
381 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
382
383         * configure.ac:
384           releasing 0.10.15, "October"
385
386 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
387
388         * win32/vs6/libgstreamer.dsp:
389         Convert line endings back to DOS.
390
391 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
392
393         * docs/design/draft-tagreading.txt:
394         * docs/random/ensonic/profiling.txt:
395         Update fast tagreading draft and performance profiling ideas.
396
397 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
398
399         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
400         Don't hold the object lock when unreffing a buffer because it could
401         cause a deadlock when the finalize function wants to grab the object
402         lock too. Fixes #495133.
403
404 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
405
406         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
407         (gst_segment_to_stream_time), (gst_segment_to_running_time):
408         Also accumulate time correctly when doing reverse playback. Fixes
409         #488201,
410         When converting to running and stream time, use default values for
411         start/stop/time/accum when comparing different formats. Fixes #494245.
412
413         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
414         Do running/stream time in TIME format.
415
416         * tests/check/gst/gstsegment.c: (GST_START_TEST),
417         (gst_segment_suite):
418         2 new unit tests for segment accumulation.
419
420 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
421
422         * gst/gst.c: (init_pre):
423         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
424           (_gst_debug_bin_to_dot_file):
425           Move getenv() back into gst_init, so everyone can live happily
426           ever after. Make sure the symbol isn't exported though.
427
428 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
429
430         Patch by: Sebastien Moutte  <sebastien moutte net>
431
432         * win32/common/gstenumtypes.c:
433         * win32/common/gstenumtypes.h:
434           Update enum types.
435
436         * win32/vs6/libgstreamer.dsp:
437           Update vs6 project files (#494343).
438
439 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
440
441         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
442         (gst_base_src_perform_seek), (gst_base_src_default_event),
443         (gst_base_src_set_flushing), (gst_base_src_activate_push),
444         (gst_base_src_activate_pull):
445         Unify flushing code, remove some old unlock code that is no longer used.
446         Take the streaming lock when seeking to avoid races. Fixes #492729.
447         Added some more comments.
448
449 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
450
451         * gst/gst.c: (_gst_disable_segtrap):
452           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
453           we can use gst_segtrap_is_enabled() there now that we have that API.
454           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
455           to do the getenv here (and export the variable).
456
457         * gst/gstdebugutils.c: (debug_dump_element),
458           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
459           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
460
461         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
462           (gst_debug_log_default):
463           Rename _gst_info_start_time to priv_gst_info_start_time so it
464           doesn't get exported (was never in any header).
465
466         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
467           (gst_plugin_loading_mutex):
468           Make static mutex gst_plugin_loading_mutex really static (was never
469           in any header), and use gst_segtrap_is_enabled() instead of
470           _gst_disable_segtrap.
471
472         * gst/gsttrace.c: (_gst_trace_default):
473           Make local _gst_trace_default static (was never in any header).
474
475 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
476
477         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
478
479         * win32/common/libgstbase.def:
480         * win32/common/libgstcontroller.def:
481         * win32/common/libgstdataprotocol.def:
482         * win32/common/libgstnet.def:
483         * win32/common/libgstreamer.def:
484           Add more missing symbols, remove some duplicates, and sort
485           as the 'sort' command sorts it (partially fixes #493983).
486
487 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
488
489         * gst/gstelement.c: (gst_element_set_state_func):
490         Only change the state cookie if a different state was set on the
491         element. See #492729.
492
493 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
494
495         * gst/gstvalue.c:
496           Remove unused and uninitialised type variables that were still
497           exported for some reason (they were never in any header files
498           though).
499
500 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
501
502         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
503         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
504         (gst_base_sink_event), (gst_base_sink_get_position_last),
505         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
506         (gst_base_sink_change_state):
507         Don't try to report a 0 position when we don't know, return -1 and FALSE
508         instead. This mostly happens when we are prerolling.
509         Make sure we can report the right position before we post the ASYNC_DONE
510         message so that a message handler can query position without races.
511
512         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
513         (async_done_handoff), (async_done_func), (send_buffer),
514         (async_done_eos_func), (gst_sinks_suite):
515         Add two tests for the above.
516
517 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
518
519         * MAINTAINERS:
520         Update with new email address.
521
522         * docs/design/part-TODO.txt:
523         Add some more info about future pad-block and negotiation changes.
524
525         * docs/design/part-buffering.txt:
526         Add some ideas about buffering reporting.
527
528 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
529
530         * tests/check/gst/gstobject.c:
531         Disable silly racy test that always fails on this combination of CPU
532         and kernel.
533
534 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
535
536         Patch by: Murray Cumming  <murrayc@murrayc.com>
537
538         * gst/gstobject.c:
539           Corrected the registration of the parent-set and parent-unset
540           signals: The parameter is a GstObject, not a GObject (#493134).
541
542 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
543
544         * gst/gst_private.h:
545         * gst/gstbuffer.h:
546         * gst/gstevent.h:
547         * gst/gstformat.h:
548         * gst/gstmessage.h:
549         * gst/gstplugin.h:
550         * gst/gstquery.h:
551         * gst/gsttaglist.h:
552         * gst/gstvalue.h:
553           Move declaration of private _gst_foo_initialize() functions into
554           our private header file where they should have been all along.
555
556 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
557
558         * docs/plugins/gstreamer-plugins-sections.txt:
559         * gst/gstdebugutils.h:
560         * gst/gstxml.h:
561         * plugins/elements/gstqueue.c:
562           gtk-doc fixes; trailing-comma-in-enum fix.
563
564 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
565
566         * gst/gst.c: (gst_deinit):
567           Clean up on deinit (not the external ones though, doesn't seem to be
568           needed for some reason).
569
570 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
571
572         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
573           Remove __declspec(dllimport) for MSVC that was copied over into core
574           from a plugin, obviously without ever having been tested (note the
575           single underscore in _declspec in the initial commit), and that doesn't
576           really make sense.  See #492077.
577
578 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
579
580         * gst/gst.c: (init_post):
581         * gst/gstevent.c: (_gst_event_initialize):
582         * gst/gstquery.c: (_gst_query_initialize):
583         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
584           g_type_class_ref() other types as well, see #349410 and #64764.
585
586         * gst/gstbuffer.c: (_gst_buffer_initialize):
587         * gst/gstmessage.c: (_gst_message_initialize):
588           Simplify existing g_type_class_ref().
589
590 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
591
592         * gst/gstformat.c: (_gst_format_initialize):
593           g_type_class_ref() our GstFormat type to make sure we avoid the
594           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
595           bug #64764. Should fix intermittent tee unit test failures (#474823).
596
597 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
598
599         * tests/check/elements/tee.c: (test_num_buffers):
600           Simplify, simplify, simplify - or not.  Rewrite unit test
601           not to use gst_parse_launch(); allow N sub-streams. Increasing
602           the number of sub-streams seems to reproduce #474823 more easily.
603
604 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
605
606         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
607
608         * gst/gsttrace.c:
609         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
610         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
611         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
612           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
613           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
614           so use _pipe() directly (#492077).
615
616         * win32/common/dirent.c: (_treaddir):
617           Add a couple of casts to make it build without warnings with MSVC.
618
619         * win32/common/libgstreamer.def:
620           Add some more symbols that need to be exported.
621
622 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
623
624         * tests/examples/metadata/read-metadata.c: (message_loop):
625           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
626           arriving in a second or third tag message are added to
627           the tag list as well.
628
629 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
630
631         * libs/gst/base/gstbasesrc.c:
632           Its "Since:" and not "@Since:". And remove an superflous cast.
633
634 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
635
636         * docs/libs/gstreamer-libs-sections.txt:
637         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
638         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
639         (gst_base_sink_get_property), (gst_base_sink_render_object),
640         (gst_base_sink_preroll_object),
641         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
642         (gst_base_sink_change_state):
643         * libs/gst/base/gstbasesink.h:
644         Add a new last-buffer property that contains the last buffer used in
645         basesink for preroll or rendering. useful for making snapshots.
646         API: gst_base_sink_get_last_buffer()
647         API: GstBaseSink::last-buffer
648
649 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
650
651         * docs/gst/running.xml:
652         * gst/gst.c:
653         * gst/gstdebugutils.c:
654         * gst/gstdebugutils.h:
655         * tools/gst-launch.c:
656           Improve bin graph dumping, by using the envvar to specify a path.
657           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
658
659 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
660
661         * plugins/elements/gsttypefindelement.c:
662           (gst_type_find_element_handle_event),
663           (gst_type_find_element_activate):
664           Post special error message if we can't determine the type of a stream
665           because it's empty.
666
667 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
668
669         * docs/gst/running.xml:
670         * gst/gstdebugutils.c:
671           Document new env-var. Add one log-line after dumpng a graph.
672
673 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
674
675         * configure.ac:
676           Ugly hack to put the (recently removed and non-portable, apparently)
677           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
678           GNU ld, because without that 'make check' fails miserably on my debian
679           stable box.  Someone with more knowledge of linker intricacies and
680           portability issues than me fix this properly please.
681
682 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
683
684         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
685         Reset last seen position after flushing so that we don't report the old
686         position anymore.
687
688 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
689
690         * gst/gstelementfactory.c: (gst_element_register):
691         * gst/gsturi.h:
692         Patch from Alessandro Decina adding get_type_full and
693         get_protocols_full private vfuncs to the URIHandler interface
694         to allow bindings to support creating URI handlers. 
695         Partially fixes: #339279
696         API: GstURIHandlerInterface::get_type_full
697         API: GstURIHandlerInterface::get_protocols_full
698
699 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
700
701         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
702         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
703         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
704         Make it so that pads are considered linked until a buffer is pushed
705         and discovered otherwise. This avoids problems with decodebin2 hanging
706         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
707         case.
708
709         Make sure we lock the multiqueue when updating the max-size properties.
710         
711         Fix a crash on Solaris in a debug statement in get_request_pad that
712         passes a NULL string to GST_DEBUG. 
713
714         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
715         (run_output_order_test):
716         Fix the test to allow the first buffer on not-linked pads to come out
717         of sequence while multiqueue discovers that they are not-linked.
718
719 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
720
721         * configure.ac:
722         * libs/gst/check/Makefile.am:
723         Use a custom export symbol regex for libgstcheck, as it needs
724         to export symbols that don't match the standard GStreamer gst_*
725         pattern, and  --export-dynamic is not portable (only works on 
726         GNU ld)
727
728         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
729         (gst_check_setup_sink_pad):
730         Make sure to pass a message parameter to the fail_* macros.
731
732         * tests/check/gst/gstinfo.c: (GST_START_TEST):
733         Fix some compiler warnings.
734
735 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
736
737         * tests/check/gst/gststructure.c: (test_to_string):
738           Disable test that checks that white spaces are not allowed
739           in structure names or field names, since we need to
740           support that for now for backwards compatibility reasons.
741
742 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
743
744         * docs/gst/gstreamer-sections.txt:
745         * gst/gsttaglist.c:
746         * gst/gsttaglist.h:
747           API: add GST_TAG_ARTIST_SORTNAME
748           API: add GST_TAG_ALBUM_SORTNAME
749           API: add GST_TAG_TITLE_SORTNAME
750           Add tag variants for sorting (#414539).
751
752 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
753
754         * gst/gststructure.c:
755           Also allow white space for names so we don't break
756           backwards compatibility.
757
758 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
759
760         * docs/design/part-TODO.txt:
761         * docs/design/part-segments.txt:
762         * docs/design/part-streams.txt:
763         Small updates.
764
765 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
766
767         * docs/gst/gstreamer-sections.txt:
768          Fixed documentation from my previous commit (added new API add
769          gst_value_set_structure(), add gst_value_get_structure() and
770          GST_VALUE_HOLDS_STRUCTURE).
771
772 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
773
774         * gst/gstdebugutils.c:
775           Reflow code to fix uninitialized variable warning.
776
777 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
778
779         * gst/gstcaps.c: (gst_caps_to_string),
780         (gst_caps_from_string_inplace):
781         * gst/gststructure.c: (gst_structure_get_abbrs),
782         (gst_structure_to_string), (gst_structure_from_string):
783         * gst/gstvalue.c: (gst_value_set_structure),
784         (gst_value_get_structure), (gst_value_serialize_structure),
785         (gst_value_deserialize_structure), (_gst_value_initialize):
786         * gst/gstvalue.h:
787         * tests/check/gst/gststructure.c: (GST_START_TEST),
788         (gst_structure_suite):
789         * tests/check/gst/gstvalue.c: (GST_START_TEST):
790          Added GstStructure to gst_value_table and its related functions.
791          Changed gst_structure_to_string to print ';' in the end.
792          Changed gst_caps_to_string to not print ';' beteween its
793          fields (structures) anymore and remove the lastes ';' from latest
794          structure. Now it is possible to have nested structures.
795          In addition, backward compatibilty is assured by accepting '\0' as
796          end delimiter. Fixes: #487969.
797          API: add gst_value_set_structure()
798          API: add gst_value_get_structure()
799          API: add GST_VALUE_HOLDS_STRUCTURE
800
801 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
802
803         * gst/gstbus.c:
804           When no GSource callback has been set up, tell developer
805           to use a function that actually exists.
806
807 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
808
809         * docs/gst/gstreamer-sections.txt:
810         * gst/Makefile.am:
811         * gst/gst.c:
812         * gst/gst.h:
813         * gst/gstdebugutils.c:
814         * gst/gstdebugutils.h:
815         * gst/gstinfo.c:
816         * gst/gstinfo.h:
817         * tools/gst-launch.c:
818           Allow dumping pipelines as dot graphs. Fixes #456573.
819
820 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
821
822         * gst/gststructure.c:
823           Allow '+' as well, it can be part of media or mime types
824           such as image/svg+xml.
825
826 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
827
828         * docs/gst/gstreamer-sections.txt:
829         * gst/gstbus.c:
830         * gst/gstbus.h:
831           API: add gst_bus_pop_filtered
832           API: add gst_bus_timed_pop_filtered
833           Two new functions for waiting for specific message types on the
834           bus for a specified amount of time without iterating any main
835           loops or main contexts.
836
837         * tests/check/gst/gstbus.c:
838           Some tests for the new functions.
839
840 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
841
842         * docs/libs/gstreamer-libs-sections.txt:
843           Make gtk-doc ignore stuff it should ignore.
844
845 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
846
847         * libs/gst/check/gstcheck.c:
848         * libs/gst/check/gstcheck.h:
849           Allow runtime selection of unit tests to run via the GST_CHECKS
850           environment variable (test case function names, comma-separated).
851
852 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
853
854         * gst/gststructure.c:
855         * tests/check/gst/gststructure.c:
856           Revert serialisation change and constrain structure-names after
857           consensus on irc. Update api documentation to reflect the change.
858
859 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
860
861         * gst/gststructure.c:
862           Improve serialization and fix tests.
863
864         * tests/check/gst/gststructure.c:
865           Add another test that covers why I actually did the previous structure
866           change.
867
868 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
869
870         * tools/gst-inspect.c: (print_element_info):
871         Don't crash when inspecting an element.
872
873 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
874
875         * tests/check/gst/gststructure.c:
876           Add unit test for escaping of structure name when serialising
877           and deserialising to/from strings.
878
879 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
880
881         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
882         (gst_single_queue_new):
883         * plugins/elements/gstqueue.c: (gst_queue_init),
884         (gst_queue_push_one):
885         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
886         upstream is tricked into thinking it can suggest a format downstream
887         while downstream does not support that format. The real problem is that
888         core calls acceptcaps when pushing a buffer with new caps, for which we
889         do a little workaround by setting the caps on the srcpad ourselves
890         before pushing the buffer (until this is figured out). Fixes #486758.
891
892 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
893
894         * gst/gststructure.c:
895         * gst/gstvalue.c:
896           Add some more comments and debug output. Quote structure name to fix
897           deserialisation of some strings.
898
899 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
900
901         * gst/gstbuffer.h:
902           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
903           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
904
905 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
906
907         * tools/gst-inspect.c:
908           Save approx. 400 1 byte allocs when printing. Use API to acces element
909           details.
910
911         * tools/gst-run.c:
912           Avoid a strdup.
913
914         * tools/gst-xmlinspect.c:
915           Use API to acces element details.
916
917 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
918
919         * gst/gstinfo.c:
920           Fix some spelling errors.
921
922 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
923
924         * gst/gstbin.c: (bin_handle_async_done):
925         Correctly set the next state if all of our async children commited their
926         state. This makes sure we can actually cancel the state change in
927         progress. Fixes a regression in Rhythmbox when seeking.
928
929 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
930
931         * gst/gstbin.c:
932           Don't shadow local variable.
933
934         * gst/gstinfo.c:
935           Don't shadow global function name.
936
937 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
938
939         * gst/gstelementfactory.c:
940         * gst/gstpluginfeature.c:
941         * gst/gstpluginfeature.h:
942         * gst/gstregistrybinary.c:
943         * gst/gstregistryxml.c:
944         * gst/gsttypefind.c:
945           Use already-interned string for the private GstPluginFeature
946           plugin_name field.
947
948 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
949
950         * docs/libs/gstreamer-libs-sections.txt:
951           Add new API to docs; fixes the build.
952
953 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
954         
955         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
956
957         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
958         (gst_base_sink_event):
959         * libs/gst/base/gstbasesink.h:
960         Add function to wait for EOS, subclasses can use this to correctly wait
961         for devices to drain before performing the EOS logic. Fixes #485343.
962         API: gst_base_sink_wait_eos()
963
964 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
965
966         * gst/gstplugin.h:
967           Cast description string constants in GST_PLUGIN_DEFINE macros
968           to a (gchar*) to make C++ code using these macros compile
969           without warning with g++-4.2 (see #462737).  Even if slightly
970           ugly, this seems preferable to putting the description strings
971           into the GLib quark table or making the structure member a
972           const gchar * and doing casts in core code that allocs and
973           frees these strings, or requiring a cast in the C++ code.
974
975 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
976
977         * gst/gstinfo.h:
978           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
979           to print the entire class/function signature into the log
980           file for C++ code.  This only affects C++ code, for C code
981           everything remains the same.
982
983 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
984
985         * gst/gstbin.c: (remove_from_queue):
986         Work around a problem with pipelines containing (semi)loops until a
987         proper, more complicated solution is ready. See #475455.
988
989 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
990
991         * gst/gstplugin.c:
992         * gst/gstplugin.h:
993         * gst/gstregistrybinary.c:
994         * gst/gstregistryxml.c:
995           Put more strings into the GLib quark table. No need to keep
996           a hundred-something copies of identical version strings,
997           license strings, package name strings and package origin
998           strings around. 
999
1000 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
1001
1002         * docs/manual/advanced-dataaccess.xml:
1003           Don't imply that it's okay to unconditionally change
1004           buffer data or buffer metadata in a pad probe callback,
1005           and a bunch of other comments. Fixes #430031.
1006
1007 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1008
1009         * win32/common/gstenumtypes.c:
1010         * win32/common/gstenumtypes.h:
1011         * win32/common/gstversion.h:
1012           Update generated files.
1013
1014 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1015
1016         * docs/manual/advanced-autoplugging.xml:
1017           Prefix section with broken code with a warning (see #342432).
1018
1019 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1020
1021         * docs/manual/appendix-integration.xml:
1022         * docs/manual/basics-init.xml:
1023           Call g_thread_init() before g_option_context_new() to
1024           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
1025
1026 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1027
1028         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1029         (gst_base_sink_queue_object_unlocked),
1030         (gst_base_sink_queue_object), (gst_base_sink_event),
1031         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
1032         When we received EOS and are waiting for when to post the EOS message,
1033         our state is prerolled and we should not return ASYNC.
1034         Reorganize some code paths to implement this behavior.
1035
1036         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1037         (gst_sinks_suite):
1038         Add unit test to verify above EOS fix.
1039
1040 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1041
1042         * plugins/elements/gsttypefindelement.c:
1043         (gst_type_find_element_have_type), (gst_type_find_element_init),
1044         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
1045         Move detecting the input caps of the sinkpad to the setcaps function.
1046         This allows us to update the output caps when we receive new input caps
1047         instead of always using the first detected caps.
1048
1049 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1050
1051         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1052         (gst_base_sink_get_position):
1053         Don't try to preroll non-async elements after a flush.
1054         Subtract latency form clock times when reporting position.
1055
1056 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1057
1058         * gst/gstpad.c: (gst_pad_pause_task):
1059         * gst/gstutils.c:
1060         Small comment and documentation update.
1061
1062 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1063
1064         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1065         (gst_base_src_set_live), (gst_base_src_is_live),
1066         (gst_base_src_query_latency), (gst_base_src_perform_seek),
1067         (gst_base_src_default_event), (gst_base_src_wait),
1068         (gst_base_src_do_sync), (gst_base_src_get_range),
1069         (gst_base_src_pad_get_range), (gst_base_src_loop),
1070         (gst_base_src_unlock), (gst_base_src_unlock_stop),
1071         (gst_base_src_set_flushing), (gst_base_src_set_playing),
1072         (gst_base_src_activate_push), (gst_base_src_activate_pull),
1073         (gst_base_src_change_state):
1074         Rework the locking of basesrc in a similar fashion to basesink. We
1075         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
1076         us to handle live sources and semi live ones much better.
1077         Simplify flushing.
1078         Fix unlocking when seeking, shutting down and pausing in live sources.
1079
1080 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1081
1082         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
1083         Fix compilation again.
1084
1085 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1086
1087         * gst/gstelement.c:
1088           Use meaningful categories for the logs to clean the default one.
1089
1090 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1091
1092         * tests/check/pipelines/cleanup.c:
1093           Print message name and not just number.
1094
1095 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1096
1097         * docs/design/draft-tagreading.txt:
1098           Add some more thoughts.
1099
1100 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1101
1102         * tests/check/pipelines/simple-launch-lines.c:
1103           Print message name and not just number.
1104
1105 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1106
1107         * libs/gst/base/gsttypefindhelper.c:
1108           Speedup typefinding. This is work in progress (see #459862).
1109
1110 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1111
1112         * gst/gstplugin.c:
1113           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1114           Spotted by Josep Torra Valles <josep@fluendo.com>.
1115
1116 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
1117
1118         * gst/gstclock.h:
1119           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1120           field has moved to GstObject.
1121
1122 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
1123
1124         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1125         (gst_base_src_get_range), (gst_base_src_change_state):
1126         Call unlock for live sources so that they can't get stuck in _create and
1127         produce a buffer before they are set back to PLAYING.
1128
1129 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
1130
1131         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1132         (gst_queue_locked_dequeue):
1133         Comment the segment-related code... in the PROPER function.
1134         See #482147 and my commit from yesterday.
1135
1136 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
1137
1138         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1139         Also initialize the counter that calculates the first timestamp on a
1140         buffer correctly for non-live sources.
1141
1142 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
1143
1144         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1145         Disable code that's breaking the current-time-level reporting.
1146         See #482147
1147
1148 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
1149
1150         * docs/gst/gstreamer-sections.txt:
1151         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1152         as they shouldn't show up. Fixes the docs build.
1153
1154 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
1155         
1156         * gst/gstinfo.h:
1157         Add an explicit variable importation needed on VS6 (only for MSC_VER)
1158         Define M_PI which is used in files which are including gstinfo.h. 
1159         VS6 includes doesn't define it.
1160         * win32/common/libgstbase.def:
1161         * win32/common/libgstcontroller.def:
1162         * win32/common/libgstreamer.def:
1163         Add new exported functions and variables.
1164         * win32/vs6/libgstcontroller.dsp:
1165         * win32/vs6/libgstreamer.dsp:
1166         Update the list of files to build.
1167         
1168 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1169
1170         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1171
1172         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1173         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1174         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1175         Improve debugging. Fixes #480858.
1176
1177 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1178
1179         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1180
1181         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1182         First patch of code cleanups, use the macros and right arguments in the
1183         macros to signal and lock the queue. See #480858.
1184
1185 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
1186
1187         * gst/gstbus.c: (poll_func):
1188         Improve debugging when dealing with _poll().
1189
1190 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
1191
1192         * gst/gstregistryxml.c:
1193           Fix memory leak I introduced a few days ago.
1194
1195 2007-09-26  Michael Smith <msmith@fluendo.com>
1196
1197         * gst/gstbuffer.c: (gst_buffer_finalize):
1198           Make it once again possible to free GstBuffers in the default
1199           build.
1200           The poisoning scribbles on parts of the miniobject we need in
1201           order to free it.
1202           Fixes #480341
1203
1204 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
1205
1206         * docs/gst/gstreamer-sections.txt:
1207         * gst/gsttaglist.c:
1208         * gst/gsttaglist.h:
1209         API: add GST_TAG_COMPOSER, fixes #459809.
1210
1211 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
1212
1213         * gst/gstplugin.c:
1214         * gst/gstplugin.h:
1215         Add the 3-clause BSD license and the MIT/X11 license to the license
1216         list. Fixes #479784.
1217
1218 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
1219
1220         * docs/faq/getting.xml:
1221           Add Q+A about different GStreamer versions (#364056).
1222
1223 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1224
1225         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1226         (gst_base_sink_event), (gst_base_sink_change_state):
1227         Return correct gboolean from query function.
1228
1229 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1230
1231         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1232         (gst_base_sink_event), (gst_base_sink_query),
1233         (gst_base_sink_change_state):
1234         Simplify latency query.
1235         When not synchronizing, we can report latency without querying the peer
1236         element.
1237
1238 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1239
1240         * gst/gstobject.h:
1241         * gst/gstvalue.c:
1242         Fix small typos in the docs.
1243
1244 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1245
1246         * docs/design/draft-latency.txt:
1247         * docs/design/draft-push-pull.txt:
1248         * docs/design/draft-tagreading.txt:
1249         * docs/design/part-MT-refcounting.txt:
1250         * docs/design/part-activation.txt:
1251         * docs/design/part-block.txt:
1252         * docs/design/part-element-source.txt:
1253         * docs/design/part-events.txt:
1254         * docs/design/part-gstbin.txt:
1255         * docs/design/part-gstelement.txt:
1256         * docs/design/part-gstobject.txt:
1257         * docs/design/part-gstpipeline.txt:
1258         * docs/design/part-messages.txt:
1259         * docs/design/part-preroll.txt:
1260         * docs/design/part-push-pull.txt:
1261         * docs/design/part-qos.txt:
1262         * docs/design/part-query.txt:
1263         * docs/design/part-scheduling.txt:
1264         * docs/design/part-seeking.txt:
1265         * docs/design/part-segments.txt:
1266         * docs/design/part-states.txt:
1267         Documentation updates and typo fixes.
1268
1269 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
1270
1271         * plugins/elements/gstfakesink.c:
1272           Add some debug text to error message to indicate that
1273           we errored out on request.
1274
1275         * tools/gst-launch.c:
1276           When the state change to PLAYING fails, check for an
1277           error message on the bus and print it.
1278
1279 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1280
1281         translated by: Jorge González González <aloriel@gmail.com>
1282
1283         * po/LINGUAS:
1284         * po/es.po:
1285           Added Spanish translation.
1286
1287 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
1288
1289         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1290         Fix printf arguments.
1291
1292 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1293
1294         * tests/check/generic/states.c:
1295           Improved state change unit test.
1296
1297 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1298
1299         * gst/gstbin.h:
1300           Move priv to the right place.
1301
1302         * gst/gstsystemclock.c:
1303           Add FIXME: and improve log.
1304
1305         * tests/check/Makefile.am:
1306         * tests/examples/manual/Makefile.am:
1307           Work with all types of registries.
1308
1309 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
1310
1311         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1312         Don't unref the event after pushing it. Fixes #478401.
1313
1314 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1315
1316         * .cvsignore:
1317         * tests/examples/manual/.cvsignore:
1318           Ignore registries in any format.
1319
1320 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
1321
1322         * gst/glib-compat-private.h:
1323           Add compatibility macro for g_intern_string() for
1324           GLib-2.8 (any reason we can't just bump the
1325           requirement to at least 2.10?)
1326
1327         * gst/gstpadtemplate.h:
1328         * gst/gstelementfactory.c:
1329         * gst/gstregistryxml.c:
1330         * gst/gstregistrybinary.c:
1331           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1332           up the internal code accordingly.  This shouldn't be a problem, since
1333           there is no reason external code could ever assume the string in such
1334           a structure is dynamically allocated unless it did that itself;  the
1335           use of g_strdup() is private to element factories.  The new code also
1336           saves some memory by putting pad template name strings into the GLib
1337           quark table instead of allocating them dynamically.
1338           Declaring this field constant fixes warnings with g++-4.2 when using
1339           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1340
1341 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1342
1343         * gst/gstelementfactory.c:
1344           Release static caps. Fixes #475723.
1345
1346 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
1347
1348         * gst/gstinfo.c:
1349         * gst/gstinfo.h:
1350           Make some internal API take const gchar * instead of just
1351           gchar * to avoid compiler warnings with g++-4.2.2 when
1352           passing string constants (partially fixes #478092).
1353
1354 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1355
1356         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1357         A latency query fails when one of the sinks fail.
1358
1359         * gst/gstelement.c: (gst_element_set_base_time):
1360         Improve debugging.
1361
1362 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1363
1364         * gst/gstbin.c: (gst_bin_continue_func):
1365         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1366         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1367         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1368
1369         Fix minor compilation warnings shown with Forte.
1370
1371 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1372
1373         * plugins/elements/gstqueue.c: (apply_buffer),
1374         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1375         Measure queue level based on the diff between head and tail timestamps
1376         even when pushing the first buffer.
1377
1378 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1379
1380         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1381         (gst_base_sink_event), (gst_base_sink_change_state):
1382         Sinks that don't preroll can always be queried for the latency.
1383         Don't post ASYNC start when we are not async.
1384
1385 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1386
1387         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1388         (gst_queue_handle_sink_event), (gst_queue_chain),
1389         (gst_queue_push_one), (gst_queue_handle_src_query),
1390         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1391         * plugins/elements/gstqueue.h:
1392         When downstream returns UNEXPECTED from pushing a buffer, don't try to
1393         push more buffers but allow pushing of EOS and NEWSEGMENT.
1394         Add some more debug info here and there. Fixes #476514.
1395
1396 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1397
1398         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1399         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1400         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1401         (gst_base_sink_set_flushing), (gst_base_sink_query),
1402         (gst_base_sink_change_state):
1403         Latency query is allowed after we are prerolled. Introduce a new flag
1404         for this and stop abusing other variables.
1405
1406 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1407
1408         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1409         Push OOB events downstream when we get them in send_event. This allows
1410         the application to insert events in the pipeline.
1411         Add some more comments.
1412
1413 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1414
1415         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1416         (do_bin_latency), (gst_bin_change_state_func):
1417         * gst/gstpipeline.c: (gst_pipeline_change_state):
1418         Move latency query from GstPipeline to GstBin so that we can also
1419         use it when async-handling is enabled on bins.
1420
1421 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1422
1423         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1424         (gst_base_src_do_sync), (gst_base_src_change_state):
1425         Update docs.
1426         Clean up the timestamping and syncing code for pseudo live sources.
1427
1428 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
1429
1430         Patch by: Steve Fink  <sphink gmail com>
1431
1432         * docs/manual/appendix-checklist.xml:
1433           Mention less -R switch in the section about debug output (#474055).
1434
1435 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1436
1437         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1438         Queue can latency to the pipeline up to the configured max size in time.
1439         Report this fact in the latency query.
1440
1441 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1442
1443         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1444
1445         * libs/gst/controller/gstinterpolation.c:
1446         * libs/gst/controller/gstlfocontrolsource.c:
1447         Use gst_guint64_to_gdouble() when converting from a uint64 or
1448         GstClockTime to double to fix the build on win32. Fixes #474371.
1449
1450 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1451
1452         * gst/gstbuffer.c: (gst_buffer_finalize):
1453         Implement poisoning for GstBuffer if --enable-poisoning is specified.
1454         When finalizing a buffer the complete struct is filled with 0xff,
1455         thus making a use of the buffer after the final unref impossible.
1456
1457 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1458
1459         * tests/check/libs/controller.c: (GST_START_TEST):
1460         Use fail_unless_equals_int(a, b) instead of
1461         fail_unless_equals (a == b) to get better output on failures.
1462
1463 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1464
1465         * tests/check/gst/gsturi.c:
1466           Also check for the other file URI variant on win32.
1467
1468 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1469
1470         * gst/gsturi.c: (gst_uri_get_location):
1471           If there's no hostname, we want to return 'c:/foo/bar.txt'
1472           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1473
1474         * tests/check/gst/gsturi.c:
1475           Unit test for the above and a few more things.
1476
1477 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1478
1479         * docs/design/part-live-source.txt:
1480         Add docs on how live sources should timestamp.
1481
1482         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1483         Add some more debug info.
1484         For subclasses that are live and like to sync, add aditional startup
1485         latency to sync time and timestamps so that we timstamp according to the
1486         design doc.
1487
1488 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1489
1490         * gst/gstbuffer.c:
1491           Also do a g_type_class_ref() for the subbuffer type in
1492           the init function.
1493
1494 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1495
1496         * docs/gst/gstreamer-sections.txt:
1497         * gst/gstpad.c: (gst_pad_peer_query):
1498         * gst/gstpad.h:
1499         Add function to perform a query on the peer of a pad.
1500         API: gst_pad_peer_query()
1501
1502 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1503
1504         * tests/check/gst/gstsystemclock.c:
1505           Cleanup the test a little (use gst-logging and not g_message). Improve
1506           test to check if a wait reached the target.
1507
1508 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1509
1510         * docs/libs/gstreamer-libs-sections.txt:
1511           Add new API to docs and fix the build.
1512
1513 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
1514
1515         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1516         (gst_base_src_init), (gst_base_src_set_do_timestamp),
1517         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1518         (gst_base_src_get_property), (gst_base_src_do_sync):
1519         * libs/gst/base/gstbasesrc.h:
1520         Add property to make the basesrc timestamp buffers based on the current
1521         running time.
1522         API: GstBaseSrc::do-timestamp
1523         API: gst_base_src_set_do_timestamp()
1524         API: gst_base_src_get_do_timestamp()
1525
1526 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
1527
1528         * docs/random/release:
1529           Really make sure translations are up-to-date before
1530           a release (#465010).
1531
1532 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
1533
1534         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1535         Always destroy the timer, also in error cases.
1536
1537 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1538
1539         * docs/manual/highlevel-xml.xml:
1540         Fix XML example code. Fixes #472714.
1541
1542 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1543
1544         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1545         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1546         (gst_base_sink_query):
1547         Protect eos and have_preroll with the OBJECT lock so we don't need to
1548         take the PREROLL lock when querying the latency. Fixes #473846.
1549
1550 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
1551
1552         * gst/gstelement.c:
1553           Give some log-messages a category.
1554
1555 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
1556
1557         * gst/gststructure.c:
1558         (gst_structure_fixate_field_nearest_fraction):
1559         Fix fraction list fixation code. Take the fraction with the smallest
1560         difference with the target instead of the first one in the list.
1561
1562         * tests/check/gst/gststructure.c: (GST_START_TEST),
1563         (gst_structure_suite):
1564         Added test to verify correct fraction list fixation behaviour.
1565
1566 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
1567
1568         * win32/common/libgstreamer.def:
1569           Export gst_bus_add_signal_watch too.
1570
1571 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
1572
1573         * docs/libs/gstreamer-libs-sections.txt:
1574         Add new methods to docs.
1575
1576         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1577         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1578         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1579         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1580         * libs/gst/base/gstbasesink.h:
1581         Add ts-offset property to fine-tune the synchronisation.
1582         API: GstBaseSink::ts-offset property
1583         API: gst_base_sink_set_ts_offset()
1584         API: gst_base_sink_get_ts_offset()
1585
1586 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
1587
1588         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1589         (gst_base_sink_init), (gst_base_sink_set_sync),
1590         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1591         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1592         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1593         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1594         (gst_base_sink_get_property), (gst_base_sink_change_state):
1595         * libs/gst/base/gstbasesink.h:
1596         Add async property to instruct the sink never to inform the parent about
1597         ASYNC state changes, update docs.
1598         Check argument with g_return_* for the public functions.
1599         API: GstBaseSink::async property
1600         API: gst_base_sink_set_async_enabled()
1601         API: gst_base_sink_is_async_enabled()
1602
1603 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
1604
1605         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1606         Improve debugging.
1607
1608         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1609         (gst_base_src_default_query), (gst_base_src_wait),
1610         (gst_base_src_do_sync), (gst_base_src_change_state):
1611         Rearrange some code so that we can add support for measuring the 
1612         startup latency.
1613
1614 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
1615
1616         * docs/random/ensonic/dynlink.txt:
1617           More thoughs on this.
1618
1619         * plugins/elements/gstcapsfilter.c:
1620           Add bugzilla ticket number to FIXME comment.
1621
1622 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
1623
1624         * docs/design/part-TODO.txt:
1625         * docs/design/part-block.txt:
1626         Update some docs.
1627
1628 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1629
1630         * gst/Makefile.am:
1631           Revert patch which uses $(gst_headers) instead of $^ because it
1632           breaks make dist.
1633
1634 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1635
1636         * tests/check/gst/gstbin.c: (GST_START_TEST):
1637           Fix leaks in the new unit test.
1638
1639 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
1640
1641         * gst/gst.c:
1642           Don't use GST_INFO before the debug system is actually initialised
1643           (shouldn't do any harm, but won't print anything either, so we can
1644           just as well remove it).
1645
1646         * gst/gstinfo.h:
1647           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1648           compilers that don't support variadic macros (such as MSVC), should
1649           check for debug_level <= __gst_debug_min as well, since that's the
1650           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1651           inline helper functions. Should improve performance a bit, but also
1652           makes sure uses of GST_INFO et.al are ignored if the debugging
1653           system isn't initialised yet (instead of printing an assertion
1654           failure).
1655
1656 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
1657
1658         patch by: David Nečas <yeti@physics.muni.cz>
1659
1660         * gst/Makefile.am:
1661           Replace some non portable makefile constructs.
1662
1663 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
1664
1665         * common/gtk-doc-plugins.mak:
1666           Grrrrr. Don't remove the types file on make clean.
1667
1668 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
1669
1670         * tools/gst-launch.1.in:
1671         Add colorspace to example pipeline. Fixes #458274.
1672
1673 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
1674
1675         * docs/random/release:
1676           The release manager should run 'make download-po' before making a
1677           release to make sure translations are up-to-date.
1678
1679         * po/LINGUAS:
1680         * po/be.po:
1681         * po/pl.po:
1682         * po/rw.po:
1683           Add some new translations.
1684
1685 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
1686
1687         * tools/gst-launch.c: (event_loop), (main):
1688         Don´t try to do any state management when a live pipeline posts
1689         buffering messages.
1690         Also make the buffering string translatable.
1691
1692 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1693
1694         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1695         (bin_handle_async_start), (gst_bin_handle_message_func):
1696         Improve debugging.
1697         When adding elements, insert messages into the bus of the newly added
1698         element and make sure the element is the source of the message. This
1699         allows the parent bin to intercept the message and do the
1700         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1701         messages to the app (which is not allowed).
1702         Update some docs.
1703
1704         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1705         Fix testsuite so that is does not work around messages that should not
1706         have been posted in the first place.
1707
1708 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1709
1710         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1711         (update_degree), (gst_bin_sort_iterator_next):
1712         Fix annoying bug in the sorted iterator where a sink that is not really
1713         a sink (when it has downstream links) screwed up the iterator.
1714
1715         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1716         Unit test to verify the fix.
1717
1718 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1719
1720         * gst/gstmessage.h:
1721         Add some more docs for the messages.
1722
1723         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1724         (gst_base_sink_query):
1725         Add some more debugging.
1726
1727         * tools/gst-launch.c: (event_loop):
1728         When interrupting, don't try to set pipeline to PAUSED twice.
1729
1730 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1731
1732         
1733         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1734         (bin_handle_async_start), (gst_bin_handle_message_func):
1735         Move ASYNC_START message posting to where it belongs, similar to
1736         async_done. 
1737         Don't post ASYNC_START when we are in error. 
1738         Post ASYNC_START when we added an async element to a bin.
1739
1740 2007-08-14  Julien MOUTTE  <julien@moutte.net>
1741
1742         * gst/gstindex.c: (gst_index_add_association): Fix index entry
1743         generation from vargs. Fixes #466595.
1744
1745 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1746
1747         * gst/gstbin.c: (gst_bin_element_set_state):
1748         Always change the state of a NO_PREROLL element even if it has ASYNC
1749         elements inside (in case of a bin).
1750
1751         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1752         Unit test for this case.
1753
1754 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
1755
1756         * libs/gst/check/gstbufferstraw.c:
1757         * libs/gst/check/gstcheck.h:
1758         * libs/gst/controller/gstcontroller.c:
1759         * libs/gst/controller/gstcontrolsource.h:
1760         * libs/gst/controller/gstlfocontrolsource.h:
1761         * plugins/elements/gstcapsfilter.h:
1762         * plugins/elements/gstfdsink.h:
1763         * plugins/elements/gstfdsrc.h:
1764           Add more missing docs.
1765
1766 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1767
1768         * gst/gststructure.c:
1769         Add Since tag to docs.
1770
1771 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1772
1773         * docs/gst/gstreamer-sections.txt:
1774         * gst/gststructure.c: (gst_structure_get_uint):
1775         * gst/gststructure.h:
1776         Add function to get uint from a structure.
1777         API: gst_structure_get_uint()
1778
1779 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1780
1781         * gst/gstcaps.c: (gst_caps_set_simple_valist),
1782         (gst_caps_intersect):
1783         Fix proper check for simple caps.
1784
1785 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
1786
1787         * docs/gst/Makefile.am:
1788         * docs/libs/Makefile.am:
1789           Remove cruft and do some cleanups.
1790
1791         * docs/gst/gstreamer-docs.sgml:
1792         * docs/libs/gstreamer-libs-docs.sgml:
1793           Prepare for comming gtkdoc features (rebase against online docs).
1794
1795 2007-08-10  Michael Smith <msmith@fluendo.com>
1796
1797         * docs/gst/gstreamer-sections.txt:
1798           Add gst_registry_add_path to docs.
1799
1800 2007-08-10  Michael Smith <msmith@fluendo.com>
1801
1802         * gst/gstregistry.h:
1803           Add gst_registry_add_path, which was missing from this header.
1804
1805 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
1806
1807         * libs/gst/controller/gstlfocontrolsource.c:
1808           Printf format fix.
1809
1810 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1811
1812         * libs/gst/base/gstbasesink.c:
1813           Don't send an async_start message during downwards state change if 
1814           target state is less than READY
1815
1816 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1817
1818         translated by: Gabor Kelemen <kelemeng@gnome.hu>
1819
1820         * po/LINGUAS:
1821         * po/hu.po:
1822           Added Hungarian translation.
1823
1824 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1825
1826         * po/fi.po:
1827         * po/it.po:
1828         * po/nl.po:
1829         * po/sv.po:
1830         * po/uk.po:
1831           Updated translations.
1832
1833 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1834
1835         * libs/gst/controller/Makefile.am:
1836         Dist gstlfocontrolsourceprivate.h
1837
1838 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1839
1840         * docs/libs/gstreamer-libs.types:
1841         Don't register the enum type gst_lfo_waveform_get_type() in the
1842         .types file - only GObject derived types belong.
1843
1844 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1845
1846         Patch by: <arenevier at fdn dot fr>
1847
1848         * gst/gstbuffer.h:
1849         Remove comma from last element in enum to avoid compile errors when
1850         using -pendantic. Fixes #464366.
1851
1852 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1853
1854         * docs/design/part-TODO.txt:
1855         Add some more TODO items
1856
1857         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1858         Improve debugging.
1859
1860         * gst/gstcaps.c: (gst_caps_intersect):
1861         Optimize trivial intersection case between identical caps pointers.
1862
1863         * gst/gstelement.c: (gst_element_continue_state),
1864         (gst_element_set_state_func):
1865         * gst/gstpad.c:
1866         Fix spelling and grammar mistakes.
1867
1868 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
1869
1870         * po/POTFILES.in:
1871         * po/POTFILES.skip:
1872           Update POTFILES. Fixes #461599.
1873
1874 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1875
1876         * gst/gst.c:
1877         Fix confusing typo in debug output.
1878
1879 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1880
1881         reviewed by: Stefan Kost <ensonic@users.sf.net>
1882
1883         * libs/gst/controller/Makefile.am:
1884         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1885         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1886         (gst_lfo_control_source_new),
1887         (gst_lfo_control_source_set_waveform),
1888         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1889         (gst_lfo_control_source_finalize),
1890         (gst_lfo_control_source_dispose),
1891         (gst_lfo_control_source_set_property),
1892         (gst_lfo_control_source_get_property),
1893         (gst_lfo_control_source_class_init):
1894         * libs/gst/controller/gstlfocontrolsource.h:
1895         * libs/gst/controller/gstlfocontrolsourceprivate.h:
1896         API: Add GstLFOControlSource, a control source that gives values
1897         for specific timestamps based on several periodic waveforms.
1898         Fixes #459717.
1899
1900         * tests/check/libs/controller.c: (GST_START_TEST),
1901         (gst_controller_suite):
1902         * docs/libs/gstreamer-libs-docs.sgml:
1903         * docs/libs/gstreamer-libs-sections.txt:
1904         * docs/libs/gstreamer-libs.types:
1905         Add documentation and unit tests for GstLFOControlSource.
1906
1907 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
1908
1909         * configure.ac:
1910         Back to CVS
1911
1912 === release 0.10.14 ===
1913
1914 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
1915
1916         * configure.ac:
1917           releasing 0.10.14, "Breathing Vacuum"
1918
1919 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
1920
1921         * gst/gstelement.c: (gst_element_class_set_details_simple):
1922         * gst/gstelement.h:
1923           Make strings passed to gst_element_class_set_details_simple()
1924           constant, as they should be (#462752).
1925
1926 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
1927
1928         * gst/gstbin.c: (gst_bin_change_state_func),
1929         (bin_handle_async_done), (gst_bin_handle_message_func):
1930         Don't forget about the fact that some element went ASYNC even after a
1931         resync. This makes us post the ASYNC_DONE message correctly.
1932         Fixes #462558.
1933
1934 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1935
1936         * gst/gstregistry.c: (gst_registry_add_feature):
1937         When replacing an existing feature in the registry, make sure to
1938         continue holding a reference until we've replaced the name string
1939         within our feature hash table. Make sure to use g_hash_table_replace
1940         instead of g_hash_table_insert to ensure the new name string is used
1941         as a key instead of the old one that we're about to free.
1942         Fixes: #462085
1943
1944 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1945
1946         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1947         (gst_plugin_feature_set_name):
1948         Revert patch from #459466 until after the release and we can work
1949         out exactly what the problem is (if any).
1950
1951 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1952
1953         * docs/gst/gstreamer-sections.txt:
1954         * gst/gsttaglist.c:
1955         * gst/gsttaglist.h:
1956           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1957
1958 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1959
1960         * docs/libs/Makefile.am:
1961         Include our build-prefix libs and includes before the generic ones to
1962         avoid linking against the installed libs when we want the build-tree
1963         ones.
1964
1965 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1966
1967         Patch by: Steve Fink  <sphink gmail com>
1968
1969         * docs/pwg/building-testapp.xml:
1970           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1971           if people try to build or install the example from the plugin
1972           template against a GStreamer from package using the configure
1973           defaults.
1974
1975 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1976
1977         Patch by: Steve Fink  <sphink gmail com>
1978
1979         * tools/gst-inspect.1.in:
1980           Document --print-all and --print-plugin-auto-install-info command
1981           line options in man page.
1982
1983 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1984
1985         * docs/gst/gstreamer-sections.txt:
1986         Add docs for new api function.
1987
1988 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1989
1990         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1991         * gst/gstelementfactory.h:
1992         API: gst_element_factory_has_interface()
1993         Added method to check if an element factory implements a named
1994         interface.
1995
1996 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
1997
1998         * configure.ac:
1999         * docs/gst/gstreamer.types.in:
2000           Another conditional doc check.
2001
2002         * gst/gstmessage.c:
2003         * gst/gstparamspecs.h:
2004         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2005         * gst/gstvalue.c:
2006         * gst/gstxml.h:
2007           API-doc fixes.
2008
2009 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2010
2011         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
2012         (gst_registry_binary_load_feature),
2013         (gst_registry_binary_load_plugin),
2014         (gst_registry_binary_read_cache):
2015           Print error just once and with additional info.
2016
2017 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2018
2019         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2020         (helper_find_suggest), (helper_find_get_length),
2021         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
2022         (gst_type_find_helper_for_buffer):
2023           Cleanup the typefindhelper code and add private doc comments.
2024
2025 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
2026
2027         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2028         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
2029         Fix capsfilter for cases where the caps set on capsfilter will provide
2030         additional information.
2031         Fixes #449197
2032
2033 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2034
2035         * gst/gsttypefindfactory.c:
2036           Fix docs that recommened wrong function to use.
2037
2038 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2039
2040         * tools/gst-inspect.c: (print_plugin_features):
2041           Also give media-type for typefinders in element output.
2042
2043 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2044
2045         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
2046         (gst_registry_remove_features_for_plugin_unlocked),
2047         (gst_registry_add_feature), (gst_registry_remove_feature),
2048         (gst_registry_lookup_feature_locked):
2049         * gst/gstregistry.h:
2050           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
2051           Fixes #459501.
2052
2053 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2054
2055         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2056         (gst_plugin_feature_set_name):
2057           Avoid double memory usage for pluginfeature names. Fixes #459466.
2058
2059 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
2060
2061         * gst/gstpad.h:
2062           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
2063           driving the pipeline may need to explicitly check for NOT_LINKED as
2064           well, since IS_FATAL doesn't cover that.
2065
2066 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
2067
2068         * docs/pwg/advanced-types.xml:
2069           Fix typo and duplicate entry in video formats list.
2070
2071 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
2072
2073         * libs/gst/controller/gstinterpolation.c:
2074         Also round to the nearest int when using cubic interpolation.
2075
2076 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
2077
2078         * libs/gst/controller/gstinterpolation.c:
2079         When linearly interpolating integer types, round to the nearest int
2080         by adding 0.5. Don't do it for float/double types.
2081         Fixes the failing controller test on my machine, which is somehow
2082         rounding differently than on the buildbots.
2083
2084 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2085
2086         * tools/gst-plot-timeline.py:
2087           Better log parsing (categories can have -). Adjust text vs. lines, so
2088           that they span the same y-range.        
2089
2090 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2091
2092         * docs/random/ensonic/audiobaseclasses.txt:
2093         * docs/random/ensonic/dynlink.txt:
2094         * docs/random/ensonic/profiling.txt:
2095           Save my thoughts.
2096
2097         * docs/random/moving-plugins:
2098           Add note to use g_assert type macros.
2099
2100 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2101
2102         * configure.ac:
2103         * libs/gst/check/Makefile.am:
2104           Add libm check as we use in for plugins.
2105
2106 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
2107
2108         * gst/gstbin.c: (gst_bin_continue_func):
2109         Check that the state_cookie hasn't changed since the continue_func
2110         was scheduled. Avoids problems where the state changes back to
2111         something it shouldn't be because it was changed in the meantime.
2112
2113 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
2114
2115         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2116         (gst_registry_binary_save_string),
2117         (gst_registry_binary_save_pad_template),
2118         (gst_registry_binary_save_feature),
2119         (gst_registry_binary_save_plugin),
2120         (gst_registry_binary_load_feature),
2121         (gst_registry_binary_load_plugin),
2122         (gst_registry_binary_read_cache):
2123           Fix memory leak. Be less verbose in the log.
2124
2125 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2126
2127         * tests/check/elements/.cvsignore:
2128         Add file to cvsignore as commanded.
2129
2130 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2131
2132         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2133         (mq_dummypad_event), (run_output_order_test):
2134         Use a GStaticMutex to protect all cases where libcheck
2135         fail_if/fail_unless macros might be called from multiple threads
2136         simultaneously to avoid errors like:
2137           "check_pack.c:107: :-1081725400:Bad message type arg"
2138
2139 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2140
2141         * tests/check/pipelines/stress.c: (GST_START_TEST):
2142         Make sure we set the pipeline back to the NULL state before
2143         dropping our final reference.
2144
2145 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2146
2147         * tests/check/elements/tee.c: (GST_START_TEST):
2148         Make the tee stress-test a little less stressful so it doesn't just
2149         time out on slow-machines, and remove a small race when it's starting 
2150         up by adding a get_state() call.
2151
2152 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
2153
2154         * gst/gst.c:
2155           Avoid reading registry twice on startup. Fixes #457322.
2156
2157 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2158
2159         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2160         * pkgconfig/gstreamer-check.pc.in:
2161         Substitute the CFLAGS for libcheck into our .pc file too so that
2162         dependent modules will pick it up properly if libcheck is installed
2163         into some other prefix.
2164
2165 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2166
2167         * configure.ac:
2168         Revert the pkg-config check for libcheck, since it pulls in the
2169         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2170         a proper solution, either from the check project, or something else.
2171
2172 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
2173
2174         * configure.ac:
2175           Use pkg-config to locate check.
2176
2177 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
2178
2179         * gst/gsttaglist.c:
2180           Fix doc syntax.
2181
2182         * gst/gstutils.c:
2183         * gst/gstutils.h:
2184           Add deprecation guards.
2185
2186         * libs/gst/base/gstcollectpads.h:
2187           Don't document object (this is implicitly private).
2188
2189 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
2190
2191         * gst/gststructure.c: (gst_structure_parse_value):
2192           When deserialising foo=bar without a type cast, check if it's a
2193           boolean before falling back to a string type, otherwise things like
2194           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2195           because the filtercaps end up having a signed=(string)true field,
2196           which causes problems later when intersection caps.
2197
2198         * tests/check/gst/gststructure.c: (GST_START_TEST):
2199           Add a unit test for this.
2200
2201 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
2202
2203         Reviewed by: Stefan Kost <ensonic@users.sf.net>
2204
2205         * libs/gst/controller/Makefile.am:
2206         * libs/gst/controller/gstcontroller.c:
2207         (gst_controlled_property_add_interpolation_control_source),
2208         (gst_controlled_property_new), (gst_controlled_property_free),
2209         (gst_controller_find_controlled_property),
2210         (gst_controller_new_valist), (gst_controller_new_list),
2211         (gst_controller_new), (gst_controller_remove_properties_valist),
2212         (gst_controller_remove_properties_list),
2213         (gst_controller_remove_properties),
2214         (gst_controller_set_property_disabled),
2215         (gst_controller_set_disabled), (gst_controller_set_control_source),
2216         (gst_controller_get_control_source), (gst_controller_get),
2217         (gst_controller_sync_values), (gst_controller_get_value_array),
2218         (_gst_controller_dispose), (gst_controller_get_type),
2219         (gst_controlled_property_set_interpolation_mode),
2220         (gst_controller_set), (gst_controller_set_from_list),
2221         (gst_controller_unset), (gst_controller_unset_all),
2222         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2223         * libs/gst/controller/gstcontroller.h:
2224         * libs/gst/controller/gstcontrollerprivate.h:
2225         * libs/gst/controller/gstcontrolsource.c:
2226         (gst_control_source_class_init), (gst_control_source_init),
2227         (gst_control_source_get_value),
2228         (gst_control_source_get_value_array), (gst_control_source_bind):
2229         * libs/gst/controller/gstcontrolsource.h:
2230         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2231         (gst_object_get_control_source):
2232         * libs/gst/controller/gstinterpolation.c:
2233         (gst_interpolation_control_source_find_control_point_node),
2234         (gst_interpolation_control_source_get_first_value),
2235         (_interpolate_none_get), (interpolate_none_get),
2236         (interpolate_none_get_boolean_value_array),
2237         (interpolate_none_get_enum_value_array),
2238         (interpolate_none_get_string_value_array),
2239         (_interpolate_trigger_get), (interpolate_trigger_get),
2240         (interpolate_trigger_get_boolean_value_array),
2241         (interpolate_trigger_get_enum_value_array),
2242         (interpolate_trigger_get_string_value_array):
2243         * libs/gst/controller/gstinterpolationcontrolsource.c:
2244         (gst_control_point_free), (gst_interpolation_control_source_reset),
2245         (gst_interpolation_control_source_new),
2246         (gst_interpolation_control_source_set_interpolation_mode),
2247         (gst_interpolation_control_source_bind),
2248         (gst_control_point_compare), (gst_control_point_find),
2249         (gst_interpolation_control_source_set_internal),
2250         (gst_interpolation_control_source_set),
2251         (gst_interpolation_control_source_set_from_list),
2252         (gst_interpolation_control_source_unset),
2253         (gst_interpolation_control_source_unset_all),
2254         (gst_interpolation_control_source_get_all),
2255         (gst_interpolation_control_source_get_count),
2256         (gst_interpolation_control_source_init),
2257         (gst_interpolation_control_source_finalize),
2258         (gst_interpolation_control_source_dispose),
2259         (gst_interpolation_control_source_class_init):
2260         * libs/gst/controller/gstinterpolationcontrolsource.h:
2261         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2262         API: Refactor GstController into the core controller which can take
2263         a GstControlSource for providing actual values for timestamps.
2264         Implement a interpolation control source and use this for backward
2265         compatibility, deprecate a bunch of functions that are now handled
2266         by GstControlSource or GstInterpolationControlSource.
2267         Make it possible to disable the controller completely or only for
2268         specific properties. Fixes #450711.
2269         * docs/libs/gstreamer-libs-docs.sgml:
2270         * docs/libs/gstreamer-libs-sections.txt:
2271         * docs/libs/gstreamer-libs.types:
2272         Add new functions and classes to the docs.
2273         * tests/check/libs/controller.c: (GST_START_TEST),
2274         (gst_controller_suite):
2275         * tests/examples/controller/audio-example.c: (main):
2276         Port unit test and example to the new API and add some new
2277         unit tests.
2278
2279 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
2280
2281         Patch by: Mark Nauwelaerts <manauw at skynet be>
2282
2283         * plugins/elements/gstmultiqueue.c:
2284         (gst_multi_queue_get_internal_links), (apply_buffer),
2285         (single_queue_overrun_cb), (gst_single_queue_new):
2286         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2287         the pipeline layout can be tracked correctly. Fixes #453732.
2288
2289 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
2290
2291         * docs/gst/Makefile.am:
2292         * docs/libs/Makefile.am:
2293         * docs/plugins/Makefile.am:
2294           Simplify --extra-dir as gtkdoc scans recursively.
2295
2296 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2297
2298         * tools/gst-launch.c: (main):
2299         When we got an error, there is no point in waiting for preroll when
2300         shutting down.
2301
2302 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2303
2304         * plugins/elements/gsttee.c: (gst_tee_base_init),
2305         (gst_tee_request_new_pad), (gst_tee_release_pad),
2306         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2307         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2308         (gst_tee_chain):
2309         Be a lot smarter when deciding what srcpad to use for proxying
2310         the buffer_alloc. Also handle pad added/removed when doing so.
2311         Fixes #357959.
2312         Keep track of what pads we already pushed on in case we have pads
2313         added/removed while pushing. Fixes #374639 
2314
2315         * tests/check/Makefile.am:
2316         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2317         (tee_suite):
2318         Added unit test for pad resync.
2319
2320 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2321
2322         * po/nl.po:
2323         * po/sv.po:
2324           Updated translations.
2325
2326 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2327
2328         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2329
2330         * po/LINGUAS:
2331         * po/fi.po:
2332           Added new Finnish translation.
2333
2334 2007-06-28  Wim Taymans  <wim@fluendo.com>
2335
2336         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2337         (single_queue_overrun_cb):
2338         When figuring out when a queue is filled, use our internal time estimate
2339         based on segments, just like check_full does.
2340
2341 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2342
2343         * gst/gstminiobject.c: (gst_mini_object_get_type):
2344           Remove 3 do-nothing methods.
2345
2346 2007-06-27  Wim Taymans  <wim@fluendo.com>
2347
2348         Patch by: Tim Angus <tim at ngus dot net>
2349
2350         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2351         (gst_capsfilter_set_property):
2352         Take a reference instead of a copy when setting "caps".
2353         Fix documentation to clarify this behaviour. Fixes #449414.
2354
2355 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2356
2357         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2358         * gst/gstplugin.c: (gst_plugin_init):
2359         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2360         * gst/gstquery.c: (gst_query_get_type):
2361         * gst/gstregistry.c: (gst_registry_init):
2362         * gst/gsturi.c: (gst_uri_handler_base_init):
2363           Remove empty instance_init() functions to save relocs and lessen the
2364           noise. Remove some of the function prototypes that are doubled by
2365           G_DEFINE_TYPE.
2366           
2367 2007-06-27  Wim Taymans  <wim@fluendo.com>
2368
2369         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2370
2371         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2372         Add peer and direction in the XML serialisation of ghostpads.
2373         Fixes #449226.
2374
2375 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2376
2377         * configure.ac:
2378           Preserve useful information, thanks Tim.
2379
2380 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
2381
2382         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2383         (gst_single_queue_flush), (apply_segment), (apply_buffer),
2384         (gst_single_queue_push_one), (gst_multi_queue_loop),
2385         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2386         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2387         (compute_high_id), (gst_single_queue_new):
2388         * plugins/elements/gstmultiqueue.h:
2389         Take the multiqueue lock when updating the fill level so we don't get
2390         confused. 
2391
2392         After applying a buffer or event on the src pad segment, make sure to
2393         call gst_data_queue_limits_changed() to get the data queue to unblock
2394         and check the filled state again.
2395         
2396         Rework the not-linked pad handling so the logic is that not-linked 
2397         pads can push as fast as they like, but only so they never get 
2398         ahead of any linked pads.
2399
2400         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2401         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2402         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2403
2404         Add a test to check that not-linked pads always stay behind
2405         linked pads.
2406
2407         Fixes: #430682
2408
2409 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
2410
2411         * docs/random/release:
2412           Some updates to the release procedure.
2413
2414 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2415
2416         * gst/gstelementfactory.c: (__gst_element_details_clear):
2417           Microoptimization that saves stunning 80 bytes.
2418
2419 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
2420
2421         * docs/plugins/gstreamer-plugins.args:
2422         * docs/plugins/inspect/plugin-coreelements.xml:
2423         * docs/plugins/inspect/plugin-coreindexers.xml:
2424           Update docs with caps info.
2425
2426 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2427
2428         * po/it.po:
2429           Updated Italian translation.
2430
2431 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2432
2433         * ChangeLog:
2434         * po/vi.po:
2435           Update Vietnamese translations.
2436
2437 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2438
2439         * libs/gst/base/gstbasesink.c:
2440           Remove unused signal enum.
2441
2442 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2443
2444         * docs/gst/gstreamer-sections.txt:
2445         * gst/gstelement.c:
2446         * gst/gstutils.c: (gst_type_register_static_full):
2447         Beef up and include the docs for gst_type_register_static_full and
2448         gst_element_class_set_details_simple and add the API keyword
2449         in the ChangeLog.
2450
2451 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2452
2453         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2454         (update_time_level), (gst_single_queue_push_one),
2455         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2456         (single_queue_overrun_cb), (single_queue_underrun_cb),
2457         (single_queue_check_full):
2458         Fix setting max-* properties after adding queues.
2459         Use IS_FILLED for checking visible items.
2460         Signal overrun if multiple queues overrun.
2461         Add extra debug output.
2462         Patch by: Wim Taymans <wim@fluendo.com>
2463
2464 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
2465
2466         * gst/gstelement.c: (gst_element_class_set_details_simple):
2467         * gst/gstelement.h:
2468         * gst/gstutils.c: (gst_type_register_static_full):
2469         * gst/gstutils.h:
2470         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2471         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2472         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2473         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2474         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2475         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2476         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2477         * plugins/elements/gstidentity.c: (gst_identity_base_init):
2478         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2479         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2480         (apply_buffer), (gst_queue_chain):
2481         * plugins/elements/gsttee.c: (gst_tee_base_init):
2482         * plugins/elements/gsttypefindelement.c:
2483         (gst_type_find_element_base_init),
2484         (gst_type_find_element_class_init):
2485           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2486           API: add gst_type_register_static_full
2487           API: add gst_element_class_set_details_simple
2488
2489 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2490
2491         * docs/pwg/advanced-types.xml:
2492           Fix typo in iana.org URI.
2493
2494 2007-06-19  Andy Wingo  <wingo@pobox.com>
2495
2496         * tests/check/pipelines/simple-launch-lines.c
2497         (test_state_change_returns): Enable pull-mode tests now that
2498         basesink has been fixed.
2499
2500         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2501         Changed from gst_base_sink_is_prerolled, reversing the sense of
2502         the return value. Returns FALSE also if the sink is in pull mode,
2503         in which case it needs no preroll.
2504         (gst_base_sink_query, gst_base_sink_change_state): Update for
2505         needs_preroll change.
2506         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2507         chaining up, in which we return SUCCESS directly if we activated
2508         in pull mode instead of ASYNC. Involves countering an async_start
2509         message sent before chaining up; not sure if this is correct, in
2510         an ideal world we only send async-start when activating in push
2511         mode.
2512
2513         * tests/check/pipelines/simple-launch-lines.c
2514         (test_state_change_returns): New test, partially disabled until
2515         basesink is fixed.
2516
2517 2007-06-19  Wim Taymans  <wim@fluendo.com>
2518
2519         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2520         (gst_multi_queue_sink_event):
2521         Fix event leak.
2522
2523 2007-06-19  Wim Taymans  <wim@fluendo.com>
2524
2525         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2526         (gst_bin_change_state_func), (bin_push_state_continue),
2527         (bin_handle_async_start), (bin_handle_async_done),
2528         (gst_bin_handle_message_func):
2529         Move the common code for posting state-change messages into
2530         one function.
2531         Broadcast the state signal after we posted the messages.
2532         Mark the bin as busy when it's doing a state-change.
2533         Make sure async-start/done messages don't interfere with the bin's
2534         state when it's busy.
2535         After the state change, let the bin check which elements completed the
2536         state change while it was busy so that it can update its state.
2537
2538 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
2539
2540         * docs/random/release:
2541         Add a note about updating the doap file to the release checklist
2542
2543 2007-06-18  Wim Taymans  <wim@fluendo.com>
2544
2545         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2546         (gst_single_queue_push_one), (gst_multi_queue_chain),
2547         (gst_multi_queue_sink_event):
2548         Make sure we don't reference the buffer/event after we have given away
2549         ownership in the queue.
2550
2551 2007-06-18  Wim Taymans  <wim@fluendo.com>
2552
2553         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2554         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2555         Update queue state _after_ adding the item in the queue because else we
2556         could end up being full without the element added yet.
2557
2558 2007-06-18  Wim Taymans  <wim@fluendo.com>
2559
2560         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2561         (gst_bin_remove_func), (gst_bin_get_state_func),
2562         (gst_bin_element_set_state), (gst_bin_continue_func),
2563         (bin_push_state_continue), (bin_handle_async_start),
2564         (bin_handle_async_done), (gst_bin_handle_message_func):
2565         * gst/gstbin.h:
2566         Immediatly commit the toplevel bin state when receiving an async-done
2567         message. This enables us to avoid spawning a thread to commit the state
2568         in some common cases and it also avoids some races.
2569         Avoid spawning a state thread when adding/removing async elements to a
2570         toplevel bin. Instead we immediatly update the bin state.
2571         Get rid of iterating all the children when getting the state in the bin
2572         because it is now always up-to-date.
2573         Fix bug where locked elements would always return _SUCCESS even it they
2574         returned NO_PREROLL before being locked.
2575         Fix the order of the state_change, async-start/done messages that was
2576         sometimes incorrect.
2577         Mark the state_dirty field as deprecated, we don't need it anymore as we
2578         are always up-to-date.
2579
2580         * gst/gstelement.c: (gst_element_get_state_func),
2581         (gst_element_continue_state):
2582         Small debug inprovements.
2583         Return the previous element state return when nothing is pending instead
2584         of blindly returning SUCCESS.
2585
2586         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2587         (gst_sinks_suite):
2588         Add a whole bunch of new testcases.
2589
2590 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2591
2592         * po/uk.po:
2593         * po/vi.po:
2594           Update translations.
2595
2596 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
2597
2598         * gst/gstpad.c:
2599         Fix typo in the docs.
2600
2601 2007-06-15  Wim Taymans  <wim@fluendo.com>
2602
2603         * docs/libs/gstreamer-libs-sections.txt:
2604         Add docs for new methods.
2605
2606 2007-06-15  Wim Taymans  <wim@fluendo.com>
2607
2608         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2609         (gst_multi_queue_item_new):
2610         Don't use GSlice because we don't depend on >= 2.10 yet.
2611
2612 2007-06-15  Wim Taymans  <wim@fluendo.com>
2613
2614         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2615         (update_time_level), (apply_segment), (apply_buffer),
2616         (gst_single_queue_push_one), (gst_multi_queue_item_new),
2617         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2618         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2619         (single_queue_underrun_cb), (single_queue_check_full):
2620         Remove debug printf.
2621
2622 2007-06-15  Wim Taymans  <wim@fluendo.com>
2623
2624         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2625         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2626         (gst_data_queue_set_flushing), (gst_data_queue_push),
2627         (gst_data_queue_pop), (gst_data_queue_drop_head),
2628         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2629         * libs/gst/base/gstdataqueue.h:
2630         Various cleanups.
2631         Added methods to get the current levels and to inform the queue that the
2632         'full' limits changed.
2633
2634         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2635         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2636         (gst_single_queue_flush), (update_time_level), (apply_segment),
2637         (apply_buffer), (gst_single_queue_push_one),
2638         (gst_multi_queue_item_steal_object),
2639         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2640         (gst_multi_queue_loop), (gst_multi_queue_chain),
2641         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2642         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2643         (gst_multi_queue_src_query), (single_queue_overrun_cb),
2644         (single_queue_underrun_cb), (single_queue_check_full),
2645         (gst_single_queue_new):
2646         Keep track of time in the queue by measuring the difference between
2647         running_time on input and output. This gives more accurate results and
2648         can compensate for segments correctly.
2649         Make a queue by default only 5 buffers deep. We will now increase the
2650         buffer size depending on the filledness of the other queues.
2651         Factor out commong flush code.
2652         Make sure we don't add additional refcounts to buffers when we can avoid
2653         it.
2654         Propagate GstFlowReturn differently.
2655         Use GSlice for intermediate GstMultiQueueItems.
2656         Keep track of EOS.
2657         Resize queues on over and underruns based on filled level of other
2658         queues.
2659         When checking if the queue is filled, prefer to measure in time if we
2660         can and fall back to bytes when no time is known.
2661
2662         * plugins/elements/gstqueue.c:
2663         Fix return value.
2664
2665 2007-06-15  Wim Taymans  <wim@fluendo.com>
2666
2667         * libs/gst/base/gstbasetransform.c:
2668         (gst_base_transform_sink_event):
2669         Work around the brokenness of the event vmethod in basetransform. Prefer
2670         to return TRUE when the subclass returned FALSE (meaning don't forward
2671         the event). 
2672
2673         * libs/gst/base/gstbasetransform.h:
2674         Clarify the docs.
2675
2676 2007-06-15  Wim Taymans  <wim@fluendo.com>
2677
2678         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2679         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2680         (gst_base_src_default_query), (gst_base_src_get_range),
2681         (gst_base_src_start):
2682         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2683         Improve debugging.
2684
2685 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2686
2687         * docs/pwg/advanced-types.xml:
2688           Added more formats to caps table.
2689
2690 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2691
2692         * tools/gst-launch.c: (main):
2693           Remove crufy code. GOption does not need this workaround.
2694
2695 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2696
2697         * libs/gst/controller/gstcontroller.c:
2698         (gst_controlled_property_set_interpolation_mode):
2699           Fix wrong getter for enums in controller.
2700
2701 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2702
2703         * libs/gst/check/gstcheck.c: (gst_check_init):
2704           Intercept criticals and warnings in the Gst-Phonon log domain, so
2705           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2706           well.
2707         
2708 2007-06-14  Edward Hervey  <edward@fluendo.com>
2709
2710         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2711         Since this file doesn't include "gst.h" it will not go through the
2712         macros that disable GST_LOG if debugging was disabled.
2713
2714 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2715
2716         * libs/gst/check/Makefile.am:
2717         * libs/gst/check/gstcheck.h:
2718         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2719         * pkgconfig/gstreamer-check.pc.in:
2720           Ugly 'fix' for the controller unit test on the p5 bot: in
2721           fail_unless_equals_float() check whether the values are 'almost
2722           equal' by allowing a small absolute error, which should be good
2723           enough for our use cases (normal numbers and values close to 0).
2724           Proper fixage left to floating point arithmetic aficionados.
2725
2726 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2727
2728         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2729         (gst_base_sink_render_object), (gst_base_sink_get_position):
2730           Add two breaks thats where missing.
2731
2732 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2733
2734         * docs/libs/gstreamer-libs-sections.txt:
2735         * libs/gst/check/gstcheck.h:
2736           API: add fail_unless_equals_float() and assert_equals_float().
2737           Add documentation for some of the macros.
2738
2739         * tests/check/libs/controller.c: (GST_START_TEST):
2740           Use newly-added asserts.
2741
2742 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2743
2744         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2745           Show the caps change in the log to help spotting the case of not
2746           exactly matching caps.
2747
2748 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2749
2750         * docs/pwg/building-boiler.xml:
2751           Fix typos, spotted by Thijs Vermeir (#447190).
2752
2753 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2754
2755         * docs/plugins/tmpl/.cvsignore:
2756         Ignore file to keep the buildbots happy
2757
2758 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2759
2760         * docs/plugins/Makefile.am:
2761         * docs/plugins/gstreamer-plugins-docs.sgml:
2762         * docs/plugins/gstreamer-plugins-sections.txt:
2763         Pull fdsink into the docs too.
2764
2765 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
2766
2767         * libs/gst/controller/gstinterpolation.c:
2768         Actually use the new functions with min/max checks for the trigger and
2769         none interpolation modes for get() and get_value_array() instead of
2770         just the latter.
2771
2772 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
2773
2774         * libs/gst/controller/gstcontroller.c:
2775         (gst_controlled_property_free):
2776         Unset the minimum and maximum GValues when freeing the corresponding
2777         GstControllerProperty struct.
2778
2779 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
2780
2781         * libs/gst/controller/gstcontroller.c:
2782         (gst_controlled_property_new):
2783         * libs/gst/controller/gstcontrollerprivate.h:
2784         * libs/gst/controller/gstinterpolation.c:
2785         (gst_controlled_property_find_control_point_node),
2786         (interpolate_none_get), (interpolate_none_get_enum_value_array),
2787         (interpolate_none_get_string_value_array),
2788         (interpolate_trigger_get),
2789         (interpolate_trigger_get_enum_value_array),
2790         (interpolate_trigger_get_string_value_array):
2791         Protect against values larger or smaller than the minimum or maximum
2792         allowed value for the property when using values that can be compared.
2793
2794         Optimize trigger interpolator a bit by taking the last requested value
2795         into account instead of always looping through the complete list.
2796
2797         Fix coding style a bit, everywhere else we use "return foo" instead
2798         of "return (foo)".
2799         
2800         * tests/check/libs/controller.c: (GST_START_TEST),
2801         (gst_controller_suite):
2802         Add unit test for the protection against too large or too small
2803         values.
2804
2805 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
2806
2807         * docs/random/slomo/controller.txt:
2808         Add some thoughts about the future of the controller.
2809
2810 2007-06-08  Wim Taymans  <wim@fluendo.com>
2811
2812         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2813         Don't overflow in retimestamping code.
2814
2815 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
2816
2817         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2818         Use gst_util_guint64_to_gdouble for conversions.
2819         * win32/common/libgstreamer.def:
2820         Add new exported functions.
2821
2822 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
2823
2824         * gst/gstutils.c:
2825           Small docs addition.
2826
2827 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2828
2829         * README:
2830           Remove that test line again.
2831
2832 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2833
2834         * README:
2835           Test commit mail sending.
2836
2837 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2838
2839         * configure.ac:
2840           Fix typo and test commit mail sending.
2841
2842 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2843
2844         * tests/examples/controller/audio-example.c:
2845           Improve comment and test commit mail sending.
2846
2847 2007-06-07  Wim Taymans  <wim@fluendo.com>
2848
2849         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2850         (gst_bin_remove_func), (gst_bin_element_set_state),
2851         (bin_handle_async_start), (bin_handle_async_done),
2852         (gst_bin_handle_message_func):
2853         Add helper function to find messages.
2854         Generate the async-done messages together with the state change
2855         messages.
2856         Small cleanups in handling toplevel bins.
2857
2858 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2859
2860         * libs/gst/base/gstdataqueue.c:
2861         * libs/gst/base/gstdataqueue.h:
2862         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2863         (gst_multi_queue_item_new), (gst_multi_queue_chain),
2864         (gst_multi_queue_sink_event):
2865         * tests/check/elements/multiqueue.c: (multiqueue_suite):
2866           Fix multiqueue leaking buffers and events when downstream or the
2867           queue are flushing. Make refcounting assumptions explicit and
2868           document them (shouldn't break existing code that uses it other than
2869           maybe leak miniobjects, but that already happens anyway). Add unit
2870           test for the most common flushing case. Fixes #423700.
2871           
2872 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2873
2874         * libs/gst/controller/gstcontroller.c:
2875         Clarify docs: The get_all, get_value_array(s) functions
2876         don't modify the GObject properties.
2877
2878 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2879
2880         * libs/gst/controller/gstcontroller.c:
2881         (gst_controlled_property_set_interpolation_mode),
2882         (gst_controlled_property_prepend_default),
2883         (gst_controlled_property_new), (gst_controller_set_unlocked),
2884         (gst_controller_set), (gst_controller_set_from_list),
2885         (gst_controller_unset), (gst_controller_unset_all):
2886         * libs/gst/controller/gstcontrollerprivate.h:
2887         * libs/gst/controller/gstinterpolation.c:
2888         Factor out the 'set' logic into gst_controller_set_unlocked for the
2889         gst_controller_set and gst_controller_set_from_list functions.
2890
2891         To make life of the interpolators easier always add a control point
2892         at timestamp zero with the default value.
2893
2894         In the linear interpolator make things more obvious by better variable
2895         naming (slope).
2896
2897         Implement cubic interpolation mode (by using a natural cubic spline)
2898         and map the quadratic interpolation mode to this too (as quadratic
2899         doesn't make much sense, see discussion on the list).
2900
2901         * tests/check/libs/controller.c: (GST_START_TEST),
2902         (gst_controller_suite):
2903         Add unit test for the cubic interpolation mode and check everywhere
2904         if the interpolation mode could be set as expected.
2905
2906 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2907
2908         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2909           Don't use GLib-2.10 functions, we still depend on
2910           GLib-how-old-is-it-again-2.8.
2911
2912 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2913
2914         * docs/gst/gstreamer-sections.txt:
2915         * gst/Makefile.am:
2916         * gst/gst.c:
2917         * gst/gst.h:
2918         * gst/gstparamspecs.c: (_gst_param_fraction_init),
2919         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2920         (_gst_param_fraction_values_cmp),
2921         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2922         * gst/gstparamspecs.h:
2923         * gst/gstvalue.c:
2924         * tests/check/Makefile.am:
2925         * tests/check/gst/.cvsignore:
2926         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2927         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2928         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2929         (GST_START_TEST), (gst_param_spec_suite):
2930           API: add GstParamSpecFraction, so elements can have fraction
2931           properties without lots of painful string parsing (#444648).
2932
2933 2007-06-05  Wim Taymans  <wim@fluendo.com>
2934
2935         * gst/gstobject.c: (gst_object_class_init):
2936         Fix signal signature.
2937
2938         * gst/gstsegment.c:
2939         Add small clarification in the api docs.
2940
2941         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2942         States are protected with object lock.
2943
2944 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2945
2946         * AUTHORS:
2947         I should probably be listed as an author by now.
2948
2949         * docs/random/release:
2950         Update the release doc
2951
2952 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
2953
2954         * gst/gstvalue.c:
2955           Make docs for gst_value_compare() mention return enums that
2956           actually exist.
2957
2958 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2959
2960         * configure.ac:
2961           Back to CVS
2962
2963 === release 0.10.13 ===
2964
2965 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
2966
2967         * configure.ac:
2968           releasing 0.10.13, "With or without you"
2969
2970 2007-05-25  Wim Taymans  <wim@fluendo.com>
2971
2972         * gst/gstbin.c: (bin_handle_async_done):
2973         Make sure that the child bin stops after completing the async state
2974         change so that the parent can continue the state change to PLAYING.
2975         Fixes #441159.
2976
2977 2007-05-25  Wim Taymans  <wim@fluendo.com>
2978
2979         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2980         (unref_data), (gst_collect_pads_remove_pad),
2981         (gst_collect_pads_check_pads):
2982         Use additional refcounting to avoid crashes when dynamically adding and
2983         removing pads. Fixes #420206.
2984
2985 2007-05-24  Wim Taymans  <wim@fluendo.com>
2986
2987         * tools/gst-launch.c: (event_loop):
2988         When buffering goes from a two digit to a single digit number, make sure
2989         to remove the old second digit by writing a blank over it.
2990
2991 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2992
2993         * libs/gst/base/gstdataqueue.c:
2994           Eliminate tabs and trailing comma in enum list; fix some typos.
2995
2996 2007-05-24  Wim Taymans  <wim@fluendo.com>
2997
2998         * tests/check/gst/gstbin.c: (GST_START_TEST):
2999         Allow refcount of 3 and 4 because some state thread might still be busy
3000         with it.
3001
3002 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
3003
3004         * plugins/elements/Makefile.am:
3005         * plugins/elements/gstmultiqueue.h:
3006         * plugins/elements/gstqueue.h:
3007           These are not installed headers, no need for padding.
3008
3009 2007-05-24  Wim Taymans  <wim@fluendo.com>
3010
3011         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3012         (gst_bin_continue_func):
3013         Enable latency for next release.
3014         Restore STATE_LOCK around recalc_state that was left out during the
3015         rewrite and could result in racy behaviour when _get_state and
3016         recalc_state are run concurrently. See #440463.
3017
3018 2007-05-23  Wim Taymans  <wim@fluendo.com>
3019
3020         * tests/check/gst/gstsystemclock.c: (store_callback),
3021         (GST_START_TEST):
3022         Improve test_async_order to also work when both timers are already
3023         expired when we get scheduled to check it.
3024
3025 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3026
3027         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
3028         (gst_bin_set_property), (gst_bin_get_property),
3029         (gst_bin_remove_func), (gst_bin_handle_message_func):
3030         * gst/gstbin.h:
3031           'private' is a c++ keyword, let's not use that in header files,
3032           otherwise c++ compilers will throw a tantrum.
3033
3034 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3035
3036         * plugins/elements/gstelements.c:
3037         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
3038         (gst_file_sink_get_current_offset):
3039         * plugins/indexers/gstindexers.c: (plugin_init):
3040           Use #ifdef for HAVE_XYZ for consistency.
3041
3042         * tests/check/Makefile.am:
3043         * tests/check/elements/.cvsignore:
3044         * tests/check/elements/filesink.c: (setup_filesink),
3045         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
3046           Add some unit tests for filesink.
3047
3048 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3049
3050         Patch by: Mark Nauwelaerts <manauw at skynet be>
3051
3052         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3053         (gst_file_sink_query), (gst_file_sink_do_seek),
3054         (gst_file_sink_get_current_offset), (gst_file_sink_render):
3055         * plugins/elements/gstfilesink.h:
3056           Fix position reporting; rename data_written member to current_pos to
3057           reflect its real meaning (fixes #412648).
3058
3059 2007-05-22  Edward Hervey  <edward@fluendo.com>
3060
3061         * docs/gst/gstreamer-sections.txt:
3062         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3063         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
3064         (gst_bin_remove_func), (gst_bin_handle_message_func):
3065         * gst/gstbin.h:
3066         Add a property for bins that handle the state change of their childs.
3067         Fixes #435880
3068
3069 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
3070
3071         * libs/gst/controller/gstinterpolation.c:
3072         Use an array of the correct type when using _get_value_array with
3073         linear interpolation.
3074
3075 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
3076
3077         * gst/gstelement.c (gst_element_requires_clock,
3078           gst_element_provides_clock, gst_element_request_pad,
3079           gst_element_class_set_details, gst_element_class_set_details_simple,
3080           gst_element_default_send_event, gst_element_abort_state,
3081           gst_element_continue_state, gst_element_set_state,
3082           gst_element_set_state_func, iterator_activate_fold_with_resync):
3083         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
3084           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
3085           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
3086           gst_pad_get_range, gst_pad_pull_range):
3087         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
3088           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
3089           GstPadActivateModeFunction, GstPadChainFunction,
3090           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
3091           GstPadFixateCapsFunction, GstPadTemplate):
3092         * gst/gstpipeline.c (gst_pipeline_change_state,
3093           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
3094           gst_pipeline_set_clock, gst_pipeline_auto_clock,
3095           gst_pipeline_get_delay):
3096           Whitespace and docs fixes.
3097
3098 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3099
3100         * libs/gst/controller/gstinterpolation.c:
3101         (interpolate_trigger_get_enum_value_array),
3102         (interpolate_trigger_get_string_value_array):
3103         Add support for retrieving value arrays when using the trigger
3104         interpolation mode. 
3105
3106 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3107
3108         * libs/gst/controller/gstcontroller.c:
3109         (gst_controller_get_value_array):
3110         * libs/gst/controller/gstcontroller.h:
3111         Clarify the docs of gst_controller_get_value_array(): The array where
3112         the values should be written to must be allocated as there seems to be
3113         no way to get the size of a random GType. This doesn't change any
3114         behaviour. Also fix some typos all over the place and remove an unused,
3115         commented function that is not necessary as g_object_set() could be
3116         used instead.
3117         * tests/check/libs/controller.c: (GST_START_TEST),
3118         (gst_controller_suite):
3119         Add unit test for gst_controller_get_value_array().
3120
3121 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
3122
3123         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3124
3125         Disable part of the gst_buffer_try_new_and_alloc test, because
3126         it can happily succeed on 64-bit systems where there's more address
3127         space available.
3128
3129 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3130
3131         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3132         Add unit test for the improved caps checking from bug #421543.
3133
3134 2007-05-21  Wim Taymans  <wim@fluendo.com>
3135
3136         * docs/design/part-synchronisation.txt:
3137         Small addition.
3138
3139         * gst/gstbin.c: (gst_bin_query):
3140         * plugins/elements/gstqueue.c: (apply_segment):
3141         Improve debugging.
3142
3143         * gst/gstmessage.h:
3144         Improve docs.
3145
3146 2007-05-21  Wim Taymans  <wim@fluendo.com>
3147
3148         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3149         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3150         (gst_pad_configure_src):
3151         Added simple version of improved caps checking. It was previously
3152         assumed that a setcaps function would check the validity of the caps but
3153         people prefer us to check caps against the template automatically. 
3154         Fixes #421543.
3155
3156 2007-05-21  Wim Taymans  <wim@fluendo.com>
3157
3158         * libs/gst/base/gstbasetransform.h:
3159         Fix macro for locking/unlocking the transform lock.
3160
3161 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3162
3163         * docs/plugins/tmpl/.cvsignore:
3164           Ignore more.
3165
3166 2007-05-18  Edward Hervey  <edward@fluendo.com>
3167
3168         * plugins/elements/gstqueue.c: (gst_queue_loop):
3169         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3170         for the subtle art of warning a potentially blocking thread that it
3171         should check the source pad return value, and relay the information
3172         upstream.
3173
3174 2007-05-18  Edward Hervey  <edward@fluendo.com>
3175
3176         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3177         Release the queue lock !
3178
3179 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3180
3181         * docs/libs/gstreamer-libs-sections.txt:
3182         Add the two new controller functions to the appropiate places.
3183
3184 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3185
3186         reviewed by: Stefan Kost <ensonic@users.sf.net>
3187
3188         * libs/gst/controller/gstcontroller.c:
3189         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3190         (_gst_controller_get_property), (_gst_controller_set_property),
3191         (_gst_controller_init), (_gst_controller_class_init):
3192         * libs/gst/controller/gstcontroller.h:
3193         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3194         (gst_object_get_control_rate), (gst_object_set_control_rate):
3195         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3196         Add API that provides sync suggestion timestamps for elements that
3197         call gst_object_sync_values() from which those elements can subdivide
3198         their processing loop to get the best results for the controlled
3199         properties. For now it just suggests last_sync + control_rate as
3200         new timestamp but this will be improved in the future.
3201
3202         While doing that change the control-rate property to a GstClockTime
3203         from guint and change it's meaning from samples to nanoseconds as
3204         the GstController doesn't know anything about sampling rate. Strictly
3205         speaking this breaks ABI but as the control-rate property didn't do
3206         anything in the past and as such couldn't be used this should be no
3207         problem.        
3208
3209 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3210
3211         reviewed by: Stefan Kost <ensonic@users.sf.net>
3212
3213         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3214         (gst_controller_unset_all):
3215         * libs/gst/controller/gstcontrollerprivate.h:
3216         * libs/gst/controller/gstinterpolation.c:
3217         (gst_controlled_property_find_control_point_node):
3218         Save last synced value from the list to continue searching from there
3219         in future syncs. This speeds everything up a bit.
3220         
3221 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3222
3223         reviewed by: Stefan Kost <ensonic@users.sf.net>
3224
3225         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3226         (gst_control_point_find), (gst_controlled_property_new),
3227         (gst_control_point_free), (gst_controlled_property_free),
3228         (gst_controller_set), (gst_controller_set_from_list),
3229         (gst_controller_unset), (gst_controller_unset_all),
3230         (gst_controller_sync_values):
3231         * libs/gst/controller/gstcontroller.h:
3232         * libs/gst/controller/gstcontrollerprivate.h:
3233         * libs/gst/controller/gstinterpolation.c:
3234         (gst_controlled_property_find_control_point_node),
3235         (interpolate_none_get), (interpolate_trigger_get):
3236         Add a new private GstControlPoint struct which "inherits" from
3237         GstTimedValue to allow different interpolators to store internal
3238         values next to each control point. From the outside everything is
3239         still a GstControlPoint so we don't loose binary compatibility.
3240         Also fixup all the GValue handling to not leak GValues or list nodes.
3241         * tests/check/libs/controller.c: (GST_START_TEST):
3242         Free the list nodes and GValues in the controller_misc test.
3243
3244 2007-05-17  Edward Hervey  <edward@fluendo.com>
3245
3246         * gst/gstsegment.c:
3247         Small doc fix.
3248
3249 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3250
3251         * gst/gstplugin.c: (gst_plugin_load_file):
3252           If we fail to load a plugin because of unresolved symbols or missing
3253           libraries and spew a warning to stderr, we may just as well mention
3254           which plugin it was that failed to load.
3255
3256 2007-05-13  David Schleef  <ds@schleef.org>
3257
3258         * docs/Makefile.am: the gtk-doc makefile snippet correctly
3259           handles the case when ENABLE_GTK_DOC is false, and installs
3260           the prebuilt documentation.  So gtk-doc subdirs are 
3261           unconditionally enabled.  Fixes: #349099.
3262
3263 2007-05-13  David Schleef  <ds@schleef.org>
3264
3265         * gst/gstutils.h: Reword some documentation.
3266
3267 2007-05-12  David Schleef  <ds@schleef.org>
3268
3269         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3270           do anything with the passed "module" parameter, so remove it.
3271           Allows removal of additional vestigal code.
3272
3273 2007-05-12  David Schleef  <ds@schleef.org>
3274
3275         * gst/gstplugin.c:
3276           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3277           Switch to using g_stat() because it's more portable.
3278
3279 2007-05-12  David Schleef  <ds@schleef.org>
3280
3281         * gst/gst.c:
3282           Add GST_DISABLE_OPTION_PARSING, in order to disable option
3283           parsing for embedded systems.
3284         * gst/gstelementfactory.c:
3285           Allow gst_element_register() to be called with plugin==NULL.
3286           Did nobody notice that static elements were broken?
3287
3288 2007-05-12  Wim Taymans  <wim@fluendo.com>
3289
3290         * tools/gst-launch.c: (event_loop):
3291         Give more interesting info when buffering starts and stops.
3292         Fix case where buffering starts but we fail to update the buffering flag
3293         because the target state is not PLAYING.
3294
3295 2007-05-12  Wim Taymans  <wim@fluendo.com>
3296
3297         * plugins/elements/gstqueue.c: (gst_queue_init),
3298         (gst_queue_finalize), (update_time_level), (apply_segment),
3299         (apply_buffer), (gst_queue_locked_flush),
3300         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3301         (gst_queue_handle_sink_event), (gst_queue_chain),
3302         (gst_queue_push_one), (gst_queue_loop):
3303         * plugins/elements/gstqueue.h:
3304         Refactor an cleanup queue a bit.
3305         Do better time level calculations that also work when the srcpad is not
3306         yet running.
3307         Remove some unneeded debug lines.
3308
3309         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3310         Added testcase for time level measurement.
3311         Try to make some stuff more racefree.
3312
3313 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3314
3315         * gst/gsturi.c: (gst_element_make_from_uri):
3316           Don't leak plugin feature.
3317
3318         * tests/check/Makefile.am:
3319         * tests/check/gst/.cvsignore:
3320         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3321           Add brain-dead unit test.
3322
3323 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3324
3325         Patch by: Jeroen Wouters <woutersj at gmail com>
3326
3327         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3328           Treat protocol strings in a case-insensitive way (#437563).
3329
3330 2007-05-11  Michael Smith <msmith@fluendo.com>
3331
3332         * gst/gstplugin.c: (gst_plugin_load_file):
3333         * gst/gstregistry.c: (gst_registry_scan_path_level):
3334           Don't print a g_warning for any failure to load a shared object.
3335           Instead, push this down into gstplugin.c, and warn _only_ if we
3336           failed to open the module (i.e. failure to link).
3337           Avoids warnings on normal, working, non-plugin .so files.
3338
3339 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
3340
3341         * gst/gstplugin.c (gst_plugin_load_file):
3342         * gst/gstregistry.c (GST_CAT_DEFAULT,
3343           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3344           Print a g_warning if there was an error when loading a plugins during
3345           registry scan. The shuld help beginners starting with gst-plugin
3346           template.
3347
3348 2007-05-10  Wim Taymans  <wim@fluendo.com>
3349
3350         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3351         (update_time_level), (gst_queue_locked_flush),
3352         (gst_queue_handle_sink_event), (gst_queue_chain),
3353         (gst_queue_push_one), (gst_queue_loop):
3354         * plugins/elements/gstqueue.h:
3355         Be smarter when calculating the current amount of data in the queue by
3356         measuring the difference between start and end timestamps (in running
3357         time) inside the queue. Fixes #432876.
3358         API: GstQueue::pushing to notify elements that we are pushing data again
3359         since the running signal is rather broken for this purpose.
3360
3361 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
3362
3363         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3364           gst_queue_base_init, gst_queue_init):
3365           use GST_BOILERPLATE
3366
3367 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
3368
3369         * win32/common/libgstreamer.def:
3370         Add new exported functions.
3371         * win32/vs6/grammar.dsp:
3372         Use grammar pre-generated files.
3373
3374 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3375
3376         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
3377
3378         * gst/Makefile.am:
3379         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3380         * gst/gstparse.h:
3381         * gst/gstutils.c: (gst_parse_bin_from_description):
3382         * gst/gstutils.h:
3383           Maintain API and ABI when --disable-parse is used. Now that
3384           we have an appropriate error code, we can just return NULL and the
3385           appropriate error when gst_parse_launch() is used despite it having
3386           been disabled (#342564).
3387
3388         * tests/check/Makefile.am:
3389         * tests/check/pipelines/.cvsignore:
3390         * tests/check/pipelines/parse-disabled.c:
3391           Make sure these functions exist and return NULL plus a GError when
3392           --disable-parse is used.
3393
3394 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3395
3396         * tests/benchmarks/complexity.c: (main):
3397         * tests/benchmarks/mass-elements.c: (main):
3398           Set a good example and don't leak messages.
3399
3400 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
3401
3402         * docs/gst/Makefile.am:
3403         * docs/libs/Makefile.am:
3404           Correct fixxrefs options.
3405
3406         * docs/plugins/Makefile.am:
3407         * docs/plugins/gstreamer-plugins-docs.sgml:
3408         * docs/plugins/gstreamer-plugins-sections.txt:
3409         * plugins/elements/Makefile.am:
3410         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3411         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3412           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3413           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3414           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3415           _GstCapsFilterClass, trans_class):
3416         * plugins/elements/gstelements.c (name, rank, type, _elements):
3417         * plugins/elements/gstidentity.c
3418           (gst_identity_check_imperfect_timestamp,
3419           gst_identity_check_imperfect_offset):
3420           Document capsfilter and add doc-blurb to identity.
3421
3422 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3423
3424         * libs/gst/controller/gstcontroller.c:
3425         (gst_controlled_property_set_interpolation_mode):
3426         * libs/gst/controller/gstinterpolation.c:
3427           Don't crash if someone tries to set an interpolation mode that
3428           is invalid or that isn't supported yet. Fixes #422295.
3429
3430         * tests/check/libs/controller.c: (GST_START_TEST),
3431         (gst_controller_suite):
3432           Add a test case for the above.
3433
3434 2007-05-03  Edward Hervey  <edward@fluendo.com>
3435
3436         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3437         Properly set the last_stop position on GstSegment. This will only happen
3438         if there is a buffer to push out.
3439
3440 2007-05-03  Wim Taymans  <wim@fluendo.com>
3441
3442         * libs/gst/base/gstbasetransform.c:
3443         (gst_base_transform_buffer_alloc):
3444         always_in_place does not mean that the sink and source caps are the
3445         same! Make sure we don't blindly proxy the buffer_alloc in this case.
3446
3447 2007-05-03  Wim Taymans  <wim@fluendo.com>
3448
3449         * docs/libs/gstreamer-libs-sections.txt:
3450         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3451         (gst_base_src_default_query), (gst_base_src_get_range):
3452         * libs/gst/base/gstbasesrc.h:
3453         API: gst_base_src_query_latency(). Added method so that subclasses can
3454         easily get the latency values of the base source class.
3455
3456 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
3457
3458         * tools/gst-inspect.c (print_implementation_info):
3459         Remove 0.8 cruft.
3460
3461 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
3462
3463         * tools/Makefile.am:
3464         * tools/gst-launch.1.in:
3465           Don't create a customised man page based on the host architecture,
3466           describe the default registry path generically. That way the man
3467           page is the same for all architectures and packagers have one
3468           multilib issue less to deal with. Fixes #434926.
3469
3470 2007-05-02  Wim Taymans  <wim@fluendo.com>
3471
3472         * gst/gstpad.c:
3473         Fix documentation as spotted by rg on IRC. 
3474
3475 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
3476
3477         * gst/gstutils.c:
3478           Improve docs for gst_element_{link,unlink}.
3479
3480 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
3481
3482         * docs/design/part-events.txt:
3483         * docs/design/part-overview.txt:
3484         * gst/gstevent.c:
3485         * gst/gsturi.c:
3486         * gst/gsturi.h:
3487         * libs/gst/base/gstbasesink.c:
3488           Typo fixes; minor docs addition.
3489
3490 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3491
3492         * docs/gst/gstreamer-sections.txt:
3493         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3494         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3495         * gst/gsturi.h:
3496         API: Add gst_uri_protocol_is_supported(), which checks if a sink
3497         or src that supports a given URI protocol exists.
3498
3499 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3500
3501         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3502         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3503         Set the location to NULL if "file://" is set as URI. Otherwise
3504         some random previous URI would still be set if "file://" is
3505         set on an already used filesink/filesrc.
3506
3507 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3508
3509         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3510         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3511         Special case the "file://" URI as as this is used by some
3512         applications to test with gst_element_make_from_uri if there's
3513         an element that supports the URI protocol.
3514         Also move the g_path_is_absolute() check for the location part
3515         of the URI to also check this for "file://localhost/bla" URIs.
3516
3517 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
3518
3519         * docs/gst/gstreamer-sections.txt:
3520         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3521         * gst/gstbuffer.h:
3522         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3523         (gst_buffer_suite):
3524           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3525
3526 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
3527
3528         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3529         (gst_registry_binary_load_pad_template),
3530         (gst_registry_binary_load_plugin),
3531         (gst_registry_binary_read_cache):
3532         * gst/gstregistrybinary.h:
3533           Implement no-mmap alternative for registry reading. Do code cleanups.
3534           Add more comments about avoiding strdups for all text data. Comments
3535           welcome.
3536
3537 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3538
3539         * gst/gstregistrybinary.h (GstBinaryPluginElement,
3540           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3541           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3542           Comment structs and reformat to fix the build (that stuff should go
3543           into a priv. header).
3544
3545 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3546
3547         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3548         (gst_registry_binary_load_feature):
3549         * gst/gstregistrybinary.h:
3550           Refactor so that we can implement multiple features. Add support for
3551           TypeFindFactory features.
3552
3553 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
3554
3555         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3556
3557         * configure.ac:
3558           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3559
3560 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
3561
3562         * gst/gstbin.c: (gst_bin_element_set_state),
3563         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3564         (bin_handle_async_done), (gst_bin_handle_message_func):
3565           Fix build with --gst-disable-gst-debug
3566
3567 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3568
3569         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3570           Make sure streaming has finished before calling the ::stop() vfunc,
3571           since that vfunc might clear state which is being used in the
3572           streaming thread. This fixes a race that caused crashes in
3573           audioresample when shutting down a pipeline (#420106).
3574
3575 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3576
3577         * docs/gst/gstreamer-sections.txt:
3578           That was one byte missing.
3579
3580 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3581
3582         * configure.ac:
3583         * docs/gst/gstreamer-sections.txt:
3584         * gst/Makefile.am:
3585         * gst/gstconfig.h.in:
3586         * gst/gstobject.c: (gst_object_class_init),
3587         (gst_signal_object_class_init):
3588         * gst/gstobject.h:
3589           2nd attempt to have a xml-less build as a joined effort of #413123
3590           and #421480.
3591
3592 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3593
3594         * docs/design/draft-tagreading.txt:
3595           Added open issues/thoughts to draft.
3596
3597 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3598
3599         * gst/parse/grammar.tab.pre.c:
3600         * gst/parse/grammar.tab.pre.h:
3601         * gst/parse/lex._gst_parse_yy.pre.c:
3602         Update the prebuild parser sources.
3603
3604 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3605
3606         * gst/parse/Makefile.am:
3607         And now fix the building of the flex sources. Now everything should
3608         work as expected.
3609
3610 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3611
3612         * gst/parse/Makefile.am:
3613         Now hopefully fix the build failures by setting proper rule
3614         dependencies and moving instead of copying.
3615
3616 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3617
3618         * tests/benchmarks/complexity.gnuplot:
3619         * tests/benchmarks/complexity.scm:
3620         * tests/benchmarks/mass-elements.gnuplot:
3621         * tests/benchmarks/mass-elements.scm:
3622           Total licensification.
3623
3624 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3625
3626         * gst/parse/Makefile.am:
3627           Fix the build by correcting the rule that gave wrong files to flex.
3628
3629 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3630
3631         * tests/benchmarks/complexity.c:
3632         * tests/benchmarks/mass-elements.c:
3633           Change licence to LGPL as granted by Benjamin and Andy.
3634
3635 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3636
3637         * gst/parse/Makefile.am:
3638         Add correct grammar.tab.h dependency if compiling without new enough
3639         flex. Fixes #431150.
3640
3641 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3642
3643         * gst/parse/Makefile.am:
3644         Fix typo and use outdated sources if the flex/bison sources are newer
3645         than the pregenerated ones but flex is too old. Print a warning in
3646         that case. This should fix the build on the build bot.
3647
3648 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3649
3650         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3651         * gst/parse/Makefile.am:
3652         * gst/parse/grammar.y:
3653         * gst/parse/parse.l:
3654         Make the parser reentrant and recursively callable. This requires flex
3655         >= 2.5.31, for older versions pregenerated sources are used as we
3656         can't bump the build dependency. Finally fixes #349180.
3657
3658         * gst/gstparse.c: (gst_parse_launch):
3659         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3660         now anyway.
3661
3662         * docs/gst/Makefile.am:
3663         * docs/gst/Makefile.am:
3664         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3665         (__gst_parse_strfree), (__gst_parse_link_new),
3666         (__gst_parse_link_free), (__gst_parse_chain_new),
3667         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3668         (gst_parse_element_set), (gst_parse_free_link),
3669         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3670         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3671         (_gst_parse_launch):
3672         * gst/parse/grammar.tab.pre.h:
3673         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3674         (yy_get_previous_state), (yy_try_NUL_trans), (input),
3675         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3676         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3677         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3678         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3679         (_gst_parse_yypop_buffer_state),
3680         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3681         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3682         (yy_fatal_error), (_gst_parse_yyget_extra),
3683         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3684         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3685         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3686         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3687         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3688         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3689         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3690         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3691         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3692         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3693         (_gst_parse_yyfree):
3694         If the installed flex version is too old use pre-generated parser
3695         sources. These pre-generated parser sources are always updated when
3696         the actual flex/bison sources change but require everybody who wants
3697         to change something in the parser to have flex >= 2.5.31 installed.
3698
3699 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
3700
3701         * common/m4/gst-gettext.m4:
3702         * gst/gst-i18n-lib.h:
3703           Make --disable-nls to work
3704
3705 2007-04-17  Wim Taymans  <wim@fluendo.com>
3706
3707         * gst/gstconfig.h.in:
3708         Revert previous change that broke the build.
3709
3710 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
3711
3712         * configure.ac:
3713         * gst/Makefile.am:
3714         * gst/gstconfig.h.in:
3715           Drop libxml2 dependency when building with 
3716           --enable-binary-registry --disable-loadsave
3717
3718 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
3719
3720         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3721         (gst_registry_binary_read_cache):
3722         * gst/gstregistrybinary.h:
3723           Remove unnecessary <sys/mman.h> include which broke the win32 build
3724           with MingW; move includes from header file to .c file, even if the
3725           header file isn't installed; use g_strerror() where UTF-8 strings
3726           are expected, such as in GST_DEBUG messages.
3727
3728 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3729
3730         * docs/libs/gstreamer-libs-sections.txt:
3731         Remove bogus addition for API I didn't end up keeping.
3732
3733         * libs/gst/base/gstbasesrc.h:
3734         Mention Since: 0.10.13 in the documentation.
3735
3736         Add the API keyword to the previous ChangeLog entry.
3737
3738 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3739
3740         * docs/libs/gstreamer-libs-sections.txt:
3741         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3742         (gst_base_src_default_prepare_seek_segment),
3743         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3744         * libs/gst/base/gstbasesrc.h:
3745         Allow basesrc derived classes to execute seeks in other formats
3746         by providing a prepare_seek_segment vmethod. Sub-classes can choose
3747         to prepare the GstSegment in any format that their perform_seek method
3748         will be able to understand. The default implementation provides the
3749         old behaviour of attempting to convert the seek offsets to the 
3750         configured native format.
3751
3752         API: basesrc::prepare_seek_segment vmethod.
3753
3754 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3755
3756         * gst/gstelement.c: (gst_element_get_state_func):
3757         Don't output the same debug statement twice.
3758
3759         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3760         (gst_adapter_peek), (gst_adapter_take_buffer):
3761         Optimise the case where we have buffers at the head of the queue that
3762         can be joined quickly (because they're contiguous sub-buffers) by
3763         merging them together rather than copying data out into new memory.
3764
3765         * gst/parse/grammar.y:
3766         * tests/check/pipelines/parse-launch.c:
3767         Fix a leak in an error path for parse_launch, and add a check 
3768         for it to the testsuite.
3769
3770 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3771
3772         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3773           Don't deadlock when releasing a pad - gst_pad_set_active may try
3774           and take the multiqueue lock too.
3775
3776 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3777
3778         * gst/gsterror.c: (_gst_core_errors_init):
3779         * gst/gsterror.h:
3780           API: add GST_CORE_ERROR_DISABLED (#392804).
3781
3782 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3783
3784         * docs/faq/gst-uninstalled:
3785           don't get empty paths on the PATH variables
3786         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3787           Don't format for the uncommon terminal width of 84 characters.
3788
3789 2007-04-06  Wim Taymans  <wim@fluendo.com>
3790
3791         * gst/gstpipeline.c: (reset_stream_time),
3792         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3793         Only try to select a different pipeline clock when we went back to
3794         PAUSED and not when we merely got flushed.
3795
3796 2007-04-05  Michael Smith  <msmith@fluendo.com>
3797
3798         * tools/gst-launch.1.in:
3799           fractions are better supported in gstreamer than ractions, so
3800           suggest using those.
3801
3802 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3803
3804         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3805
3806         * po/LINGUAS:
3807         * po/da.po:
3808           Added Danish translation.
3809
3810 2007-04-05  Wim Taymans  <wim@fluendo.com>
3811
3812         * libs/gst/base/gstbasesink.c:
3813         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3814         Fix leak caused when refusing newsegment after EOS.
3815
3816         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3817         (gst_fake_sink_init), (gst_fake_sink_set_property),
3818         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3819         (gst_fake_sink_render), (gst_fake_sink_change_state):
3820         * plugins/elements/gstfakesink.h:
3821         Add num-buffers property to make the element generate EOS after a
3822         configurable amount of buffers.
3823         API: fakesink::num-buffers property.
3824
3825         * tests/check/elements/fakesink.c: (GST_START_TEST),
3826         (fakesink_suite):
3827         Fix GstBus leak in test.
3828         Test for fakesink num-buffers.
3829
3830 2007-04-05  Wim Taymans  <wim@fluendo.com>
3831
3832         * libs/gst/base/gstbasesink.c:
3833         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3834         (gst_base_sink_change_state):
3835         Don't accept anything after an EOS, return UNEXPECTED instead.
3836
3837         * tests/check/elements/fakesink.c: (GST_START_TEST),
3838         (fakesink_suite):
3839         Unit test for new EOS behaviour.
3840
3841 2007-04-05  Wim Taymans  <wim@fluendo.com>
3842
3843         * gst/gstelement.c: (gst_element_get_request_pad):
3844         Make padtemplates also work when they don't contain %s or %d.
3845
3846 2007-04-05  Wim Taymans  <wim@fluendo.com>
3847
3848         * docs/gst/gstreamer-sections.txt:
3849         * gst/gstclock.c: (gst_clock_adjust_unlocked),
3850         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3851         * gst/gstclock.h:
3852         Improve _adjust_unlocked() so that it overflows less.
3853         Add gst_clock_unadjust_unlocked to convert from external time to
3854         internal time based on calibration.
3855         Add some more debug.
3856         API: GstClock::gst_clock_unadjust_unlocked()
3857
3858 2007-04-03  Wim Taymans  <wim@fluendo.com>
3859
3860         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3861
3862         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3863         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3864         when releasing sink pad. Fixes #425400.
3865
3866 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
3867
3868         * docs/random/ensonic/dynlink.txt:
3869           More work on proposal for new core api.
3870
3871         * docs/libs/gstreamer-libs-sections.txt:
3872         * libs/gst/base/gstbasetransform.h:
3873           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3874           
3875         * libs/gst/controller/gstcontroller.c:
3876         (on_object_controlled_property_changed),
3877         (gst_controller_sync_values),
3878         (gst_controller_set_interpolation_mode):
3879         * libs/gst/controller/gstcontroller.h:
3880           Less verbose logging add docs for unimplemented parts and correctly
3881           return when using unavailable parts.
3882
3883 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3884
3885         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3886         Move all the debug to the CLOCK category, and associate it with
3887         the clock object.
3888
3889 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3890
3891         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3892         Make take_buffer a bit quicker by removing redundant checks
3893         caused by calling gst_adapter_take.
3894
3895 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3896
3897         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3898           Don't leak GCond.
3899
3900         * tests/check/Makefile.am:
3901         * tests/check/elements/.cvsignore:
3902         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3903         (GST_START_TEST), (multiqueue_suite):
3904           Add some dead simple unit tests for the 'multiqueue' element
3905           (some bits don't work yet and are disabled for now).
3906
3907 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3908
3909         * gst/gstelement.c: (gst_element_get_request_pad),
3910         (gst_element_class_get_request_pad_template):
3911           Make gst_element_get_request_pad() create request pads only for
3912           request pad templates and not for, say, sometimes pad templates.
3913
3914 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
3915
3916         * docs/design/draft-klass.txt:
3917           Add example that needs more thinking.
3918         
3919         * docs/design/draft-missing-plugins.txt:
3920           More thoughts about wrapper plugins.
3921         
3922         * docs/random/ensonic/embedded.txt:
3923         * docs/random/ensonic/profiling.txt:
3924           More design work.
3925
3926 2007-03-25  Wim Taymans  <wim@fluendo.com>
3927
3928         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3929         (gst_base_src_loop):
3930         Only push the segment events in the PLAYING state for live sources.
3931
3932 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
3933
3934         * gst/gstpipeline.c: (gst_pipeline_change_state):
3935         Modify the clock distribution path in PAUSED->PLAYING so that we 
3936         never attempt to choose a new clock unless we're actually leaving
3937         the PAUSED state for the first time. This prevents choosing a
3938         different clock when the state_change gets called for a 2nd time due
3939         to some element doing an async state change.
3940
3941 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3942
3943         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3944         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3945         (gst_pad_chain_unchecked), (gst_pad_push):
3946         Revert last commit. This needs some more thoughts.
3947
3948 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3949
3950         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3951         (gst_pad_chain_unchecked), (gst_pad_push):
3952         Check in set_caps if the caps are compatible with the pad and remove
3953         two functions that are redundant now. Fixes #421543.
3954
3955 2007-03-22  Wim Taymans  <wim@fluendo.com>
3956
3957         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3958         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3959         Unref some more to make valgrind happy.
3960
3961 2007-03-22  Wim Taymans  <wim@fluendo.com>
3962
3963         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3964         (gst_system_clock_id_wait_jitter),
3965         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3966         Fix anoying regression that survived a few releases. When adding an
3967         async entry while blocking on a sync entry, the sync entry will unblock
3968         but still be busy, so it should continue to wait instead of returning
3969         _BUSY to the app.
3970         Add some comments here and there.
3971
3972         * tests/check/gst/gstsystemclock.c: (mixed_thread),
3973         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3974         Add testcase for this.
3975
3976 2007-03-22  Wim Taymans  <wim@fluendo.com>
3977
3978         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3979         Handle errors from the clock sync better, only UNSCHEDULED indicates a
3980         WRONG_STATE and can silently pause the task. All other cases should
3981         error out.
3982
3983 2007-03-22  Wim Taymans  <wim@fluendo.com>
3984
3985         Patch by: Ville Syrjala <syrjala at sci dot fi>
3986
3987         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3988         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
3989         Improve debugging.
3990
3991 2007-03-21  Michael Smith  <msmith@fluendo.com>
3992
3993         * docs/pwg/advanced-types.xml:
3994           Fix some errors in the typefinding docs pointed out on irc.
3995
3996 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
3997
3998         * libs/gst/base/gstbasesrc.c:
3999         Clarify FIXME comment in the face of having added unlock_stop()
4000
4001 2007-03-21  Wim Taymans  <wim@fluendo.com>
4002
4003         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
4004         Prepare for release where we warn against possible app breakage in the
4005         case of live pipelines along with an env var to enable/disable live
4006         preroll mode (GST_COMPAT=[no-]live-preroll).
4007
4008 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4009
4010         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
4011         So we should use correct constants for checking for None offset.
4012
4013 2007-03-20  Wim Taymans  <wim@fluendo.com>
4014
4015         * docs/design/part-block.txt:
4016         Mention the fact that the newly switched element should be set to at
4017         least PAUSED.
4018
4019 2007-03-20  Wim Taymans  <wim@fluendo.com>
4020
4021         * gst/gst.c:
4022         Fix compilation with registry disabled as spotted by Saur.
4023
4024 2007-03-20  Wim Taymans  <wim@fluendo.com>
4025
4026         Patch by: Olivier Crete <tester at tester dot ca>
4027
4028         * gst/gstelement.c: (gst_element_sync_state_with_parent):
4029         Look at the pending state too when syncing the element state to the
4030         parent. Fixes #420133.
4031
4032 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
4033
4034         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
4035         (gst_base_sink_change_state):
4036         * libs/gst/base/gstbasesink.h:
4037         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4038         (gst_base_src_default_event), (gst_base_src_unlock_stop),
4039         (gst_base_src_deactivate):
4040         * libs/gst/base/gstbasesrc.h:
4041         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
4042         for sub-classes to correctly clear any state they set trying to
4043         unlock, such as clearing out unlock commands from a command fd.
4044         API: basesrc::unlock_stop
4045         API: basesink::unlock_stop
4046
4047         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
4048         (gst_fd_sink_render), (gst_fd_sink_unlock),
4049         (gst_fd_sink_unlock_stop):
4050         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
4051         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
4052         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
4053
4054         Implement unlock_stop in fdsrc and fdsink.
4055         Implement seeking in fdsrc when a seekable fd is passed, as in
4056         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
4057
4058 2007-03-19  Wim Taymans  <wim@fluendo.com>
4059
4060         Patch by: Evan Nemerson <evan at coeus dash group dot com>
4061
4062         * gst/gstelement.c: (gst_element_class_init):
4063         Fix pad-added and pad-removed signal signatures so that the pad type is
4064         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
4065
4066 2007-03-19  Wim Taymans  <wim@fluendo.com>
4067
4068         * docs/gst/gstreamer-sections.txt:
4069         Add new element field and method.
4070
4071         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4072         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
4073         (gst_bin_recalc_state), (gst_bin_get_state_func),
4074         (gst_bin_element_set_state), (gst_bin_change_state_func),
4075         (gst_bin_continue_func), (bin_bus_handler),
4076         (bin_push_state_continue), (bin_handle_async_start),
4077         (bin_handle_async_done), (gst_bin_handle_message_func):
4078         Make async state changes a bit smarter by using new ASYNC_START and
4079         ASYNC_DONE messages. This reduces the number of times we run the state
4080         recalculation thread.
4081         Don't change state of element with a pending ASYNC_START message.
4082         Deprecate STATE_DIRTY messages.
4083         
4084         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
4085         (gst_element_get_state_func), (gst_element_continue_state),
4086         (gst_element_lost_state), (gst_element_set_state_func),
4087         (gst_element_change_state):
4088         * gst/gstelement.h:
4089         Keep the state that was last set by the app in a new element field.
4090         Don't allow state changes when handling an element event.
4091         Post ASYNC_START and ASYNC_DONE messages.
4092         Change lost_state so that we go to PAUSED and wait for the parent to set
4093         us to PLAYING again (so latency calculation can be performed)
4094         Export gst_element_change_state() method so that subclasses can use it.
4095         API: gst_element_change_state()
4096         API: GST_STATE_TARGET
4097
4098         * gst/gstpipeline.c: (gst_pipeline_class_init),
4099         (reset_stream_time), (gst_pipeline_change_state),
4100         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
4101         Using the new ASYNC_START message we can reset the base_time when
4102         needed. This can then be used to implement base_time redistribution in
4103         flushing seeks so that we can remove the explicit seek handling.
4104         Perform latency query and configuration when going to PLAYING.
4105
4106         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4107         (gst_base_sink_query), (gst_base_sink_change_state):
4108         Post new ASYNC_START/ASYNC_DONE messages.
4109
4110         * tests/check/generic/sinks.c: (GST_START_TEST):
4111         Fix test because the bin will not set the async element to PLAYING right
4112         away.
4113
4114         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4115         Make the message check a little stronger.
4116         Handle ASYNC messages.
4117
4118         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4119         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4120         Expect ASYNC_DONE messages.
4121
4122 2007-03-19  Wim Taymans  <wim@fluendo.com>
4123
4124         * docs/gst/gstreamer-sections.txt:
4125         * gst/gstmessage.c: (gst_message_new_async_start),
4126         (gst_message_new_async_done), (gst_message_parse_info),
4127         (gst_message_parse_async_start):
4128         * gst/gstmessage.h:
4129         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4130         support.
4131
4132 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4133
4134         * tools/gst-inspect.c:
4135         (print_plugin_automatic_install_info_codecs):
4136           Now that we don't check for the 'Codec' keyword any longer in the
4137           klass, we shouldn't spew a warning if the klass isn't a decoder or
4138           encoder (since it might be a Source/Network, for example).
4139
4140 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4141
4142         * tools/gst-inspect.c:
4143         (print_plugin_automatic_install_info_codecs):
4144           Don't require decoder/demuxer/depayloader elements or
4145           encoder/muxer/paylader elements to have 'Codec' as part of their
4146           factory class string when introspecting a plugin's capabilities.
4147           draft-klass.txt mentions that it might be removed in future, and
4148           flump3dec doesn't have it as part of its class string, so chances
4149           are others might also not have it.
4150
4151 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4152
4153         * po/af.po:
4154         * po/az.po:
4155         * po/bg.po:
4156         * po/ca.po:
4157         * po/cs.po:
4158         * po/de.po:
4159         * po/en_GB.po:
4160         * po/fr.po:
4161         * po/it.po:
4162         * po/nb.po:
4163         * po/nl.po:
4164         * po/ru.po:
4165         * po/sq.po:
4166         * po/sr.po:
4167         * po/sv.po:
4168         * po/tr.po:
4169         * po/uk.po:
4170         * po/vi.po:
4171         * po/zh_CN.po:
4172         * po/zh_TW.po:
4173           Update translations from translation project
4174
4175 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
4176
4177         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4178         (gst_child_proxy_set_property):
4179           Invert precondition check to be alike the ones in the mimiced gobject
4180           api.
4181
4182 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
4183
4184         * docs/design/draft-tagreading.txt:
4185         * docs/random/ensonic/audiobaseclasses.txt:
4186           Do some Architect work.
4187
4188         * gst/gstobject.c: (gst_object_set_name):
4189           Add a WARNING.
4190
4191         * gst/gstpad.c:
4192           Add docs that point from gst_pad_get_range to gst_pad_pull_range
4193
4194 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
4195
4196         * gst/gstsystemclock.c: (gst_system_clock_init),
4197         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4198         Defer starting the async system clock thread until the first async
4199         wait is scheduled. Fixes #414986.
4200
4201 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4202
4203         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4204         (gst_single_queue_free):
4205           Fix small leak (free GstSingleQueue structure too, not only contents).
4206
4207 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
4208
4209         * gst/gstbin.c:(gst_bin_add):
4210         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4211         * win32/common/libgstbase.def:
4212         * win32/common/libgstreamer.def:
4213         Add new exported functions.
4214
4215 2007-03-09  Wim Taymans  <wim@fluendo.com>
4216
4217         * docs/plugins/gstreamer-plugins-sections.txt:
4218         Fix GstTee docs.
4219
4220 2007-03-09  Wim Taymans  <wim@fluendo.com>
4221
4222         * docs/gst/gstreamer-sections.txt:
4223         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4224         * gst/gstbuffer.h:
4225         Add metadata copy functions. Fixes #393099.
4226         API: gst_buffer_copy_metadata()
4227
4228         * gst/gstutils.c: (gst_buffer_stamp):
4229         * libs/gst/base/gstbasetransform.c:
4230         (gst_base_transform_prepare_output_buffer):
4231         Use new metadata copy functions.
4232
4233 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4234
4235         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4236         (gst_identity_init), (gst_identity_check_perfect),
4237         (gst_identity_check_imperfect_timestamp),
4238         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4239         (gst_identity_set_property), (gst_identity_get_property):
4240         * plugins/elements/gstidentity.h:
4241         Separate out check-imperfect-timestamp and check-imperfect-offset.
4242         Put back check-perfect as it was to keep compatibility.
4243
4244 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
4245
4246         * gst/gstelement.c: (gst_element_dispose):
4247         There's no need to warn if VOID_PENDING is not NONE here, as
4248         long as the state is NULL it's ok, and that's checked immediately
4249         above.
4250
4251 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4252
4253         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4254         Fix check for perfect stream to ignore buffers with -1 
4255         offsets/offset ends when checking data contiguity.
4256
4257 2007-03-08  Wim Taymans  <wim@fluendo.com>
4258
4259         * tools/gst-launch.c: (event_loop):
4260         Print INFO messages.
4261
4262 2007-03-08  Wim Taymans  <wim@fluendo.com>
4263
4264         * libs/gst/base/gstbasetransform.c:
4265         (gst_base_transform_sink_eventfunc),
4266         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4267         (gst_base_transform_activate):
4268         * libs/gst/base/gstbasetransform.h:
4269         Add support for dropping buffers with custom GstFlowReturn.
4270         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4271         buffers or dropped buffers.
4272
4273         * docs/libs/gstreamer-libs-sections.txt:
4274         docs for new custom return code.
4275
4276         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4277         Use drop support in base class to implement drop-probability.
4278
4279 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4280
4281         * gst/gst.c: (load_plugin_func):
4282         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4283         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4284         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4285           Remove newlines at end of debug log strings.
4286
4287 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4288
4289         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4290         Only post bus message at max, once per buffer received.
4291
4292 2007-03-07  Wim Taymans  <wim@fluendo.com>
4293
4294         * docs/design/Makefile.am:
4295         * docs/design/part-synchronisation.txt:
4296         Add doc about synchronisation
4297
4298         * docs/design/draft-latency.txt:
4299         * docs/design/part-TODO.txt:
4300         * docs/design/part-clocks.txt:
4301         * docs/design/part-events.txt:
4302         * docs/design/part-gstbus.txt:
4303         * docs/design/part-gstpipeline.txt:
4304         * docs/design/part-live-source.txt:
4305         * docs/design/part-messages.txt:
4306         * docs/design/part-overview.txt:
4307         * docs/design/part-streams.txt:
4308         * docs/design/part-trickmodes.txt:
4309         Documentation updates.
4310
4311 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4312
4313         * gstreamer.doap:
4314         Update the doap file.
4315
4316 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4317
4318         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4319         Rename non-perfect to imperfect for Mike and for the sanctity of the
4320         language.
4321         Also make sure bus message gets emitted for data-incontiguities.
4322
4323 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4324
4325         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4326         (gst_identity_start):
4327         * plugins/elements/gstidentity.h:
4328         Emit bus message if check-perfect is true and we encounter a
4329         non-perfect stream between 2 consecutive buffers.
4330         Fixes #415394.
4331
4332 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4333
4334         * configure.ac:
4335         Back to CVS
4336
4337 === release 0.10.12 ===
4338
4339 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
4340
4341         * configure.ac:
4342           releasing 0.10.12, "Inevitable Demise"
4343
4344 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
4345
4346         * configure.ac:
4347          Version 0.10.11.2 (0.10.12 pre-release)
4348          Bump libtool versioning.
4349
4350 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
4351
4352         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4353           Log flow-names and not numbers.
4354
4355 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4356
4357         * configure.ac:
4358           Convert to new AG_GST style.
4359
4360 2007-02-28  Wim Taymans  <wim@fluendo.com>
4361
4362         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4363         Don't unref query twice.
4364
4365 2007-02-28  Wim Taymans  <wim@fluendo.com>
4366
4367         * gst/gstvalue.c: (gst_value_transform_object_string),
4368         (_gst_value_initialize):
4369         Implement GstObject -> string transform so we print object names
4370         when serializing GValues containing GstObjects.
4371
4372 2007-02-28  Wim Taymans  <wim@fluendo.com>
4373
4374         * docs/gst/gstreamer-sections.txt:
4375         Add new stuff to docs.
4376
4377 2007-02-28  Wim Taymans  <wim@fluendo.com>
4378
4379         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4380         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4381         (gst_base_sink_change_state):
4382         Improve latency query code.
4383         Don't leak latency events.
4384
4385         * tests/check/gst/gstbin.c: (GST_START_TEST):
4386         Improve debugging.
4387
4388 2007-02-28  Wim Taymans  <wim@fluendo.com>
4389
4390         * gst/gstelement.c: (gst_element_message_full),
4391         (gst_element_get_state_func):
4392         * gst/gstelement.h:
4393         Improve docs a little. Added Since: for new macro.
4394
4395         * gst/gstobject.c: (gst_object_sink):
4396         * gst/gstpipeline.c: (gst_pipeline_change_state),
4397         (gst_pipeline_set_new_stream_time):
4398         * gst/gstpipeline.h:
4399         Improve debugging and docs.
4400
4401         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4402         Improve debugging.
4403
4404 2007-02-28  Wim Taymans  <wim@fluendo.com>
4405
4406         * gst/gstelement.c: (gst_element_message_full),
4407         (gst_element_set_locked_state), (gst_element_get_state_func),
4408         (gst_element_change_state):
4409         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4410         Documentation updates.
4411         Small code cleanups.
4412
4413         * gst/gstmessage.c: (gst_message_new_info),
4414         (gst_message_parse_info):
4415         * gst/gstmessage.h:
4416         API: gst_message_new_info()
4417         API: gst_message_parse_info()
4418         Add INFO message create and parse code.
4419
4420 2007-02-28  Wim Taymans  <wim@fluendo.com>
4421
4422         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4423         (bin_query_latency_done):
4424         Also report the live parameter of a latency query.
4425
4426 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4427
4428         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4429           Copy the current generic/states example from -base and adapt so
4430           we can use the exact same code everywhere.
4431           Check a STATES_IGNORE_ELEMENTS env var which can be used
4432           to ignore certain element factories for this test, which is
4433           what is being done in -base
4434         * tests/check/Makefile.am:
4435           Mention this environment variable.
4436
4437 2007-02-27  Wim Taymans  <wim@fluendo.com>
4438
4439         * docs/gst/gstreamer-sections.txt:
4440         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4441         (gst_bus_timed_pop), (gst_bus_pop):
4442         * gst/gstbus.h:
4443         API: gst_bus_timed_pop()
4444         Implement gst_bus_timed_pop() to do a blocking timed wait for a
4445         message to arrive on the bus.
4446
4447         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4448         (gst_bus_suite):
4449         Two unit tests for new _timed_pop() function.
4450
4451 2007-02-23  Wim Taymans  <wim@fluendo.com>
4452
4453         * gst/gstpipeline.c: (gst_pipeline_change_state),
4454         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4455         Don't ref a NULL clock in _provide_clock_func().
4456         Don't allow an INVALID delay.
4457         Don't try to calculate base_time with an invalid start_time.
4458         Also distribute and notify a NULL clock when it was selected.
4459
4460         * tools/gst-launch.c: (event_loop):
4461         Don't crash when a NULL clock was selected in the pipeline.
4462
4463 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4464
4465         * docs/design/Makefile.am:
4466         * docs/design/draft-missing-plugins.txt:
4467         * docs/random/draft-missing-plugins.txt:
4468           Some small updates: update plugin system identifier prefix
4469           ('gstreamer.net' to 'gstreamer'), mention our new install
4470           API in libgstbaseutils rather than libgimme-codec, add
4471           reference to the online docs.
4472
4473 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4474
4475         * win32/common/config.h:
4476           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
4477           use moap cl ci to only check in what is mentioned in the ChangeLog.
4478
4479 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4480
4481         * docs/gst/gstreamer-sections.txt:
4482         * gst/gstelement.h:
4483           Fix up documentation to link to the correct GstGError section.
4484           Add GST_ELEMENT_INFO macro since someone else added a Info message.
4485
4486 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4487
4488         * tools/gst-launch.c: (event_loop):
4489           Make sure that we actually show the important message part of a
4490           warning message.
4491           No need to check if the gerror is not NULL to free; first of all
4492           g_free accepts NULL; and second the default error handler would
4493           segfault if gerror was NULL.
4494
4495 2007-02-21  Wim Taymans  <wim@fluendo.com>
4496
4497         * docs/gst/gstreamer-sections.txt:
4498         Removed docs as well.
4499
4500 2007-02-21  Wim Taymans  <wim@fluendo.com>
4501
4502         * gst/gstmessage.c: (gst_message_parse_duration):
4503         * gst/gstmessage.h:
4504         Remove new messages for release.
4505
4506 2007-02-20  Wim Taymans  <wim@fluendo.com>
4507
4508         * docs/design/part-gstghostpad.txt:
4509         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4510         (gst_ghost_pad_new_full):
4511         Make the ghostpad a parent of the internal pad again for better backward
4512         compatibility. Don't write code that relies on this however.
4513
4514         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4515         (gst_pad_link_check_hierarchy):
4516         Require that parents should be GstElements in the hierarchy check.
4517
4518 2007-02-20  Wim Taymans  <wim@fluendo.com>
4519
4520         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4521         (gst_bin_change_state_func), (bin_query_min_max_init),
4522         (bin_query_latency_fold), (bin_query_latency_done),
4523         (gst_bin_query):
4524         Improve debug info.
4525         Implement latency query.
4526
4527 2007-02-20  Wim Taymans  <wim@fluendo.com>
4528
4529         * docs/design/part-gstghostpad.txt:
4530         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4531         (gst_ghost_pad_internal_do_activate_push),
4532         (gst_ghost_pad_internal_do_activate_pull),
4533         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4534         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4535         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4536         Do not set the internal pad as a parent anymore so we can avoid
4537         hierarchy linking errors when the ghostpad has no parent yet. This also
4538         fixes failed activation because of unlinked internal pads, which in
4539         turn fixes the impossible case where you have to activate a pad before
4540         you can add it to a running element.
4541         Also fix the docs.
4542
4543         * gst/gstpad.c: (pre_activate), (post_activate),
4544         (gst_pad_set_active), (gst_pad_activate_pull),
4545         (gst_pad_activate_push), (gst_pad_check_pull_range):
4546         Add some more debug info.
4547         Mark activation mode in pre_activate so that we don't try to activate in
4548         endless loops. Fixes #385084.
4549
4550 2007-02-19  Wim Taymans  <wim@fluendo.com>
4551
4552         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4553         (gst_base_transform_check_get_range):
4554         Implement a checkgetrange function instead of relying on the default
4555         core behaviour that assumes we can operate in pull mode if we have a
4556         getrange function. First step at fixing #385084.
4557
4558 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
4559
4560         * gst/gstchildproxy.h:
4561         * libs/gst/base/gstbasesink.h:
4562         * libs/gst/base/gstbasesrc.h:
4563         * libs/gst/base/gstbasetransform.h:
4564         More docs coverage and some ChangeLog surgery (add missing names)
4565
4566 2007-02-15  Wim Taymans  <wim@fluendo.com>
4567
4568         * docs/design/part-TODO.txt:
4569         * docs/design/part-activation.txt:
4570         * docs/design/part-block.txt:
4571         * docs/design/part-buffering.txt:
4572         * docs/design/part-clocks.txt:
4573         * docs/design/part-element-source.txt:
4574         * docs/design/part-events.txt:
4575         * docs/design/part-gstbin.txt:
4576         * docs/design/part-gstbus.txt:
4577         * docs/design/part-gstpipeline.txt:
4578         * docs/design/part-live-source.txt:
4579         * docs/design/part-messages.txt:
4580         * docs/design/part-overview.txt:
4581         * docs/design/part-qos.txt:
4582         * docs/design/part-query.txt:
4583         * docs/design/part-states.txt:
4584         * docs/design/part-trickmodes.txt:
4585         Some doc updates. Start renaming from stream_time to running_time where
4586         it was used wrongly.
4587
4588 2007-02-15  Wim Taymans  <wim@fluendo.com>
4589
4590         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4591         Answer LATENCY query.
4592
4593 2007-02-15  Wim Taymans  <wim@fluendo.com>
4594
4595         * tests/check/gst/gstevent.c: (event_probe), (test_event),
4596         (GST_START_TEST):
4597         Improve debugging.
4598
4599 2007-02-15  Wim Taymans  <wim@fluendo.com>
4600
4601         * gst/gstpad.c: (gst_pad_get_internal_links_default),
4602         (gst_pad_dispatcher):
4603         Improve debugging of default pad dispatcher and query functions.
4604
4605 2007-02-15  Wim Taymans  <wim@fluendo.com>
4606
4607         * docs/gst/gstreamer-sections.txt:
4608         Remove old unused method.
4609
4610 2007-02-13  Wim Taymans  <wim@fluendo.com>
4611
4612         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4613         Fix check
4614
4615 2007-02-13  Wim Taymans  <wim@fluendo.com>
4616
4617         * docs/design/part-seeking.txt:
4618         Some small update.
4619
4620         * gst/gstsegment.c: (gst_segment_set_seek):
4621         Revert old bogus change that should make seeking work again.
4622
4623 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4624
4625         * docs/random/ensonic/dynlink.txt:
4626         * docs/random/ensonic/interfaces.txt:
4627         * docs/random/ensonic/receipies.txt:
4628           Possible dynamic reconnection api, plus some type fixes the other two
4629           docs.
4630
4631 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
4632
4633         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4634         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4635         Also check for an absolute path following file:// in the filesrc
4636         element. Remove redundant check and call g_path_is_absolute() on the
4637         unescaped location.
4638
4639 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4640
4641         * docs/design/draft-klass.txt:
4642           Add existing category analysis.
4643           
4644         * gst/gstcaps.c:
4645           Fix doc example, framerate is a fraction.
4646
4647 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4648
4649         * configure.ac:
4650         * docs/gst/Makefile.am:
4651         * docs/gst/gstreamer-sections.txt:
4652         * docs/libs/Makefile.am:
4653           Erm, forgot a bunch of --extra-dir.
4654
4655 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4656
4657         * configure.ac:
4658         * docs/gst/Makefile.am:
4659         * docs/libs/Makefile.am:
4660         * docs/plugins/Makefile.am:
4661           Add crossreferences to glib/gobject docs.
4662
4663 2007-02-12  Wim Taymans  <wim@fluendo.com>
4664
4665         * docs/design/draft-latency.txt:
4666         Small update.
4667
4668         * docs/libs/gstreamer-libs-sections.txt:
4669         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4670         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4671         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4672         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4673         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4674         (gst_base_sink_get_position), (gst_base_sink_query),
4675         (gst_base_sink_change_state):
4676         * libs/gst/base/gstbasesink.h:
4677         API: gst_base_sink_query_latency() to let subclasses query the upstream
4678         latency.
4679         API: gst_base_sink_get_latency() to let subclasses query the configured
4680         latency in the sink.
4681         Implement query and set latency.
4682         Update some docs.
4683         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4684         don't continue preroll when we are flushing. Fixes #405284.
4685
4686         * tests/check/pipelines/stress.c: (change_state_timeout),
4687         (quit_timeout), (GST_START_TEST), (stress_suite):
4688         Test for #405284.
4689
4690 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4691
4692         Patch by: René Stadler <mail at renestadler de>
4693
4694         * docs/gst/gstreamer-sections.txt:
4695         * gst/gsttaglist.c: (_gst_tag_initialize):
4696         * gst/gsttaglist.h:
4697           API: add GST_TAG_REFERENCE_LEVEL (#403597).
4698
4699 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
4700
4701         * docs/libs/Makefile.am:
4702           Fix path to core docs.
4703
4704         * gst/gstbin.c: (gst_bin_get_by_interface),
4705         (gst_bin_iterate_all_by_interface):
4706           Refix docs by also renaming 'interface' to 'iface' in implementation.
4707
4708         * docs/gst/gstreamer-sections.txt:
4709         * gst/gstcaps.c:
4710         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4711         * gst/gstchildproxy.h:
4712         * gst/gstelementfactory.c:
4713         * gst/gstpadtemplate.h:
4714         * libs/gst/controller/gstcontroller.c:
4715         (gst_controlled_property_new):
4716           Document more.
4717
4718 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
4719
4720         * gst/gstbin.h:(gst_bin_get_by_interface),
4721         (gst_bin_iterate_all_by_interface):
4722         Replace interface parameter name by iface as interface is 
4723         a reserved keyword in Visual Studio for C++ projects so it removes
4724         a build error for application developpers using VS.
4725         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4726         Fix a bug on Windows in uri format check. Now the prefix checked
4727         is file:// and next we check if the path after file:// is absolute.
4728         * win32/common/libgstbase.def:
4729         * win32/common/libgstdataprotocol.def:
4730         * win32/common/libgstgstreamer.def:
4731         Add new exported functions.
4732
4733 2007-02-09  Andy Wingo  <wingo@pobox.com>
4734
4735         * tests/check/pipelines/simple-launch-lines.c
4736         (simple_launch_lines_suite, test_tee): Disable tee test until I
4737         have time to fix it :-(
4738
4739         * tests/check/Makefile.am (noinst_HEADERS): 
4740         * tests/check/libs/libsabi.c: 
4741         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4742         * tests/check/gst/gstabi.c: 
4743         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4744
4745         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4746         tests for push and pull tee behavior.
4747
4748         * plugins/elements/gsttee.h: 
4749         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4750         mark as deprecated as well as unimplemented. It was a crack idea.
4751         Add support for tee operating in pull mode, off by default.
4752
4753         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4754         normal-case logs down to LOG, raise errors to WARNING.
4755         (gst_registry_xml_read_cache): Don't log before calling a function
4756         that logs.
4757
4758         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4759         exit (registry finalize).
4760         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4761         DEBUG log when we emit signals that people don't even have the
4762         chance to connect to.
4763         (gst_registry_scan_path_level): Less logging in the normal case.
4764
4765 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4766
4767         Patch by: Michal Benes <michal dot benes at itonis dot tv>
4768
4769         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4770         Correctly generate EOS for non-seekable files. We don't have a total
4771         length for them and would get an unexpected end of file if we only
4772         special-cased for regular files. (Fixes: #404569)
4773
4774 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4775
4776         * tests/check/elements/filesrc.c: (GST_START_TEST),
4777         (filesrc_suite):
4778         Add unit test for the GstURIHandler interface in filesrc. This also
4779         tests the newly added file://localhost/foo/bar support.
4780
4781 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4782
4783         * gst/gstelementfactory.h:
4784           The klass string is not a hierarchy. Add reference to the design doc
4785           for more information and common types.
4786
4787 2007-02-02  Wim Taymans  <wim@fluendo.com>
4788
4789         * gst/gstquery.c: (gst_query_new_latency):
4790         Remove old structure field.
4791
4792 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
4793
4794         * tools/gst-launch.1.in:
4795           Give example for network streaming (#351998)
4796
4797 2007-02-02  Wim Taymans  <wim@fluendo.com>
4798
4799         * docs/gst/gstreamer-sections.txt:
4800         Add docs for new methods.
4801
4802         * gst/gstevent.c: (gst_event_new_latency),
4803         (gst_event_parse_latency):
4804         * gst/gstevent.h:
4805         Add new LATENCY event to configure latency in a pipeline.
4806         API: gst_event_new_latency
4807         API: gst_event_parse_latency
4808
4809         * gst/gstmessage.c: (gst_message_new_buffering),
4810         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4811         (gst_message_new_latency), (gst_message_parse_buffering),
4812         (gst_message_parse_lost_preroll):
4813         * gst/gstmessage.h:
4814         Added messages used in draft-latency.
4815         API: gst_message_new_lost_preroll
4816         API: gst_message_parse_lost_preroll
4817         API: gst_message_new_prerolled
4818         API: gst_message_new_latency
4819
4820         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4821         (gst_query_parse_latency):
4822         * gst/gstquery.h:
4823         Implemented new latency query as in design doc.
4824         API: gst_query_new_latency
4825         API: gst_query_set_latency
4826         API: gst_query_parse_latency
4827
4828 2007-02-02  Wim Taymans  <wim@fluendo.com>
4829
4830         * docs/design/draft-latency.txt:
4831         Slight redesign to allow for dynamic latency adjustments.
4832
4833         * docs/design/part-negotiation.txt:
4834         Fix some typos.
4835
4836 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4837
4838         reviewed by: Wim Taymans <wim@fluendo.com>
4839
4840         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4841         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4842         Allow file://localhost/foo/bar URLs and correctly fail for every other
4843         hostname that one sets. This was gnomevfssrc is linked for those if
4844         installed as it can handle it (#403172)
4845
4846 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4847
4848         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4849
4850         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4851         (unref_data), (gst_collect_pads_add_pad_full):
4852         * libs/gst/base/gstcollectpads.h:
4853         Don't put the previously added destroy notify in the GstCollectData
4854         struct as all it's padding is already used and we don't want to break
4855         ABI. Instead put in the pad's GObject data for now. This should be
4856         cleaned up for 0.11 (#402393).
4857
4858 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4859
4860         reviewed by: Wim Taymans <wim@fluendo.com>
4861
4862         * docs/libs/gstreamer-libs-sections.txt:
4863         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4864         (unref_data), (gst_collect_pads_add_pad),
4865         (gst_collect_pads_add_pad_full):
4866         * libs/gst/base/gstcollectpads.h:
4867         API: Add function to specify a destroy notification for custom
4868         GstCollectData when adding new pads in GstCollectPads (#402393).
4869
4870 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
4871
4872         * po/sv.po:
4873           Update Swedish translation (#378255).
4874
4875 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4876
4877         * docs/design/draft-klass.txt:
4878           Fix the previous change, this is a list of categories and not a hierarchy.
4879
4880 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4881
4882         * docs/design/draft-klass.txt:
4883           Add info about how to get a list of used classes.
4884
4885 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
4886
4887         * plugins/elements/gsttypefindelement.c:
4888         (gst_type_find_element_chain_do_typefinding),
4889         (gst_type_find_element_change_state):
4890           Don't leak found caps in chain function (no idea why that never
4891           showed up as a leak anywhere).
4892
4893 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
4894
4895         * gst/gstplugin.h:
4896           Fix and expand GstPluginDesc API docs.
4897
4898 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4899
4900         * gst/gstcaps.c:
4901         * gst/gstelementfactory.c:
4902         * gst/gstpadtemplate.h:
4903           api doc fixes
4904
4905         * libs/gst/controller/gstcontroller.c:
4906         (gst_controlled_property_new):
4907         * tests/examples/controller/audio-example.c:
4908           comment fixes
4909
4910 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4911
4912         * configure.ac:
4913           comment about refining the xml deps
4914
4915         * docs/manuals.mak:
4916           comments about moving away from jade for docs
4917         
4918         * gst/gst.c:
4919           recommit the ifdefs to use the binary registry
4920         
4921         * gst/gstbin.c: (gst_bin_change_state_func):
4922           this break is obsolete
4923
4924         * gst/gstelementfactory.h:
4925           better GST_ELEMENT_DETAILS docs, add comment about translation
4926
4927         * gst/gstinfo.h:
4928           remove eol slash
4929
4930         * gst/gstobject.c: (gst_signal_object_get_type):
4931           add G_UNLIKELY as usual
4932
4933         * gst/gstpad.c: (gst_pad_event_default):
4934           add fall trhu comment
4935
4936         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4937         (gst_registry_binary_initialize_magic),
4938         (gst_registry_binary_save_string),
4939         (gst_registry_binary_save_pad_template),
4940         (gst_registry_binary_save_feature),
4941         (gst_registry_binary_save_plugin),
4942         (gst_registry_binary_write_cache),
4943         (gst_registry_binary_check_magic),
4944         (gst_registry_binary_load_pad_template),
4945         (gst_registry_binary_load_feature),
4946         (gst_registry_binary_load_plugin),
4947         (gst_registry_binary_read_cache):
4948           comment typo and formatting
4949
4950         * gst/gstutils.c: (gst_element_state_get_name),
4951         (gst_element_state_change_return_get_name):
4952           remove obsolete breaks
4953
4954         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4955           add FIXME 0.11 and remove cpp comment
4956
4957 2007-01-29  Edward Hervey  <edward@fluendo.com>
4958
4959         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4960         Fix print statement in an even more portable way.
4961
4962 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
4963
4964         * docs/gst/gstreamer-sections.txt:
4965         * gst/gstutils.h:
4966           API: add GST_ROUND_DOWN_* macros (#401781).
4967
4968 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
4969
4970         * docs/gst/gstreamer.types.in:
4971         * gst/gstregistry.c: (gst_registry_class_init):
4972           Document registry signals and make gtk-doc pick them up (#401381).
4973
4974 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4975
4976         * docs/pwg/building-testapp.xml:
4977           Add some audioconverts and audioresample to the pipeline, and some
4978           more comments and error handling.
4979
4980 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4981
4982         * docs/manual/manual.xml:
4983         * docs/pwg/pwg.xml:
4984           Fix typo (#400987).
4985
4986 2007-01-26  Wim Taymans  <wim@fluendo.com>
4987
4988         * gst/gstcaps.c: (gst_static_caps_get):
4989         Init caps flags too.
4990
4991 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
4992
4993         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4994
4995         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4996         If not using mmap'ed files try to seek to the end instead of the
4997         start to determine whether we can seek at all. This fixes the case
4998         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4999         seeks for everything afterwards fail. Fixes #400656
5000
5001 2007-01-25  Wim Taymans  <wim@fluendo.com>
5002
5003         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
5004         Add some refcount debugging.
5005         Make gst_static_caps_get threadsafe, which is needed when autoplugging
5006         in multiple streaming threads.
5007
5008 2007-01-25  Wim Taymans  <wim@fluendo.com>
5009
5010         Patch by: David Schleef <ds at schleef dot org>
5011
5012         * docs/libs/gstreamer-libs-sections.txt:
5013         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
5014         * libs/gst/base/gstadapter.h:
5015         API: gst_adapter_copy() that can reduce the amount of memcpy when
5016         getting data from the adapter. Fixes #388201.
5017
5018 2007-01-25  Edward Hervey  <edward@fluendo.com>
5019
5020         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5021         In print statements, "%x" is for guint. Fixes build on macosx.
5022
5023 2007-01-24  Edward Hervey  <edward@fluendo.com>
5024
5025         * plugins/elements/gstmultiqueue.c:
5026         (gst_multi_queue_loop):
5027         Small fix.
5028         (single_queue_overrun_cb), (single_queue_underrun_cb),
5029         (single_queue_check_full), (gst_single_queue_new):
5030         Implement single queue growth system.
5031         This uses the extra-size properties, and will grow single queues by
5032         that much if one goes full whereas there are others empty. This is
5033         called extra-mode in the code.
5034         When a single queue's levels go back below the initial max-size
5035         limits, it is no longer in extra-mode. This is to ensure we don't
5036         consume too much memory.
5037         Fixes #399875
5038
5039 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
5040
5041         * gst/gst.c: (gst_init_get_option_group):
5042           Make warning about late g_thread_init() calls a bit more explicit,
5043           so that it's more obvious to application developers what they need
5044           to do if a user files a bug against their application.
5045
5046 2007-01-22  Edward Hervey  <edward@fluendo.com>
5047
5048         * plugins/elements/gstmultiqueue.c:
5049         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
5050         Remove previous hack of unsetting the flushing flag for the source pad
5051         instead of activating it. Instead, fix the source pad activate function
5052         so that it no longer depends on having a parent set or not.
5053
5054 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
5055
5056         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
5057
5058         * docs/manual/basics-bus.xml:
5059           Fix example code, gst_element_unref() doesn't exist any longer.
5060
5061 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
5062
5063         Patch by: Mark Nauwelaerts <manauw at skynet be>
5064
5065         * gst/gstpad.c:
5066           Fix two docs typoes (#399094).
5067
5068 2007-01-19  Edward Hervey  <edward@fluendo.com>
5069
5070         * docs/faq/gst-uninstalled:
5071         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
5072         depending on libgstbaseutils can work in uninstalled environment.
5073
5074 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
5075
5076         * gst/gsttaglist.h:
5077         * gst/gsttagsetter.c:
5078         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
5079         statement for new tag.
5080
5081 2007-01-17  Edward Hervey  <edward@fluendo.com>
5082
5083         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
5084         When dynamically creating single queues, activate sinkpad before adding
5085         it.
5086         We should be doing the same thing for the source pad, but we can't
5087         since it would call a method which needs the parent to be set in order
5088         to work propertly. Instead of activating the source pad, we just unset
5089         the flushing flag, which is the minimal requirement for adding a pad
5090         to an element in a state greater than READY.
5091
5092 2007-01-17  Edward Hervey  <edward@fluendo.com>
5093
5094         * docs/faq/gst-uninstalled:
5095         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
5096         Mac OS X.
5097
5098 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5099
5100         * tests/check/gst/gstabi.c:
5101         * tests/check/gst/struct_hppa.h:
5102         * tests/check/libs/libsabi.c:
5103         * tests/check/libs/struct_hppa.h:
5104           Add ABI structs for HPPA (see #393796).
5105
5106 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
5107
5108         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5109           Actually write ABI structs to the file specified in the GST_ABI
5110           environment variable, as the message we print claims we would.
5111
5112 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5113
5114         * tests/check/gst/gsttask.c:
5115           Fix header comment.
5116
5117 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5118
5119         * gst/gsttaglist.c: (_gst_tag_initialize):
5120           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5121           previous two entries.
5122
5123 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5124
5125         * docs/gst/gstreamer-sections.txt:
5126         * gst/gsttaglist.c: (_gst_tag_initialize):
5127         * gst/gsttaglist.h:
5128           Add tag support for beat-per-minute.
5129
5130 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5131
5132         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5133         (gst_registry_binary_initialize_magic),
5134         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5135         (gst_registry_binary_save_pad_template),
5136         (gst_registry_binary_save_feature),
5137         (gst_registry_binary_save_plugin),
5138         (gst_registry_binary_write_cache),
5139         (gst_registry_binary_check_magic),
5140         (gst_registry_binary_load_pad_template),
5141         (gst_registry_binary_load_feature),
5142         (gst_registry_binary_load_plugin),
5143         (gst_registry_binary_read_cache):
5144         * gst/gstregistrybinary.h:
5145           Use glib types, cleanup comments, impement interfaces and uri-types.
5146
5147 2007-01-13  Andy Wingo  <wingo@pobox.com>
5148
5149         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5150         getrange() to return buffers with other caps, while we fix
5151         demuxers and typefind, or otherwise change part-negotiation.txt.
5152
5153 2007-01-12  Andy Wingo  <wingo@pobox.com>
5154
5155         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5156         Factor start/stop into this private function instead of partially
5157         in activate functions and partially in the change_state function.
5158         Fixes setup before the element has changed from READY->PAUSED, as
5159         is the case in pull-mode pipelines.
5160         (gst_base_transform_sink_activate_push)
5161         (gst_base_transform_src_activate_pull): Refactor to use
5162         gst_base_transform_activate().
5163         (gst_base_transform_change_state): Removed, not needed any more.
5164
5165         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5166         Truncate before fixating.
5167         
5168         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5169         Don't set_caps() if the result of fixating is ANY, as it's not
5170         supported, and not necessary in the case of a link with no
5171         template caps on either side. Fixes tests/check/libs/basesrc in
5172         some pull-mode tests.
5173
5174         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5175         (gst_base_transform_init, gst_base_transform_sink_activate_push)
5176         (gst_base_transform_src_activate_pull): 
5177         Track the activation mode.
5178         (gst_base_transform_setcaps): In pull mode, when activating the
5179         src pad, after activating the sink pad, activate the sink pad's
5180         peer, as discussed in part-negotiation.txt.
5181
5182         * libs/gst/base/gstbasesrc.h: 
5183         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5184         vmethod, as in basesink.
5185
5186         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5187
5188         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5189         mode, first proxy the setcaps to the peer pad.
5190         (gst_base_sink_pad_fixate): Add a fixate function that calls the
5191         new fixate vmethod.
5192         (gst_base_sink_default_activate_pull): Rename from
5193         gst_base_sink_activate_pull.
5194         (gst_base_sink_negotiate_pull): New function, performs negotiation
5195         in pull mode before calling ::activate_pull().
5196         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5197         vmethod instead of the default implementation. I have no idea how
5198         this worked before. Negotiate before calling activate_pull.
5199
5200         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5201         sink pads in pull mode. In addition to being correct, fixes
5202         filesrc ! decodebin ! identity ! fakesink.
5203         (gst_pad_get_range, gst_pad_pull_range): Don't call
5204         gst_pad_set_caps() if the caps changes; instead error out with
5205         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5206
5207 2007-01-12  Andy Wingo  <wingo@pobox.com>
5208
5209         * docs/design/part-negotiation.txt: Update with more policy.
5210
5211 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5212
5213         * libs/gst/check/gstbufferstraw.h:
5214         * libs/gst/check/gstcheck.h:
5215           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5216           belongs.
5217
5218 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5219
5220         * tests/check/Makefile.am:
5221         * tests/check/gst/.cvsignore:
5222         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5223         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5224         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5225         (GST_START_TEST), (gst_tag_setter_suite):
5226           Add minimal unit test for beforementioned GstTagSetter bug.
5227
5228 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5229
5230         Patch by: René Stadler <mail at renestadler dot de>
5231
5232         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5233           gst_tag_list_merge() returns a new list, so it's not the best idea
5234           to ingore its return value. Effectively meant that tags could only
5235           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5236           Also add function guard to require a non-NULL taglist as input (has
5237           always been so due to gst_tag_list_copy(), just making it explicit).
5238
5239 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5240
5241         * docs/random/draft-missing-plugins.txt:
5242           Some additions: mention new API that is supposed to be used at the
5243           various stages; short blob about new gst-inspect introspection
5244           option; mention potential future problem with plugins that have
5245           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5246
5247 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5248
5249         * tools/gst-inspect.c:
5250         (print_plugin_automatic_install_info_codecs),
5251         (print_plugin_automatic_install_info_protocols),
5252         (print_plugin_automatic_install_info), (main):
5253         Add --print-plugin-auto-install-info option to gst-inspect, so we can
5254         introspect plugin files and get machine-parsable output that corresponds
5255         to the last bit of the missing-plugin installer string (small gotcha:
5256         doesn't take into account ranks).
5257
5258 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
5259
5260         * configure.ac:
5261         * docs/gst/gstreamer-sections.txt:
5262         * gst/Makefile.am:
5263         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5264         (gst_registry_lookup_locked):
5265         * gst/gstregistry.h:
5266         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5267         (gst_registry_binary_initialize_magic),
5268         (gst_registry_binary_save_string),
5269         (gst_registry_binary_save_pad_template),
5270         (gst_registry_binary_save_feature),
5271         (gst_registry_binary_save_plugin),
5272         (gst_registry_binary_write_cache),
5273         (gst_registry_binary_check_magic),
5274         (gst_registry_binary_load_pad_template),
5275         (gst_registry_binary_load_feature),
5276         (gst_registry_binary_load_plugin),
5277         (gst_registry_binary_read_cache):
5278         * gst/gstregistrybinary.h:
5279         * gst/gstregistryxml.c: (load_feature),
5280         (gst_registry_xml_read_cache):
5281           commit binary registry (disabled by default, see #359653)
5282
5283 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5284
5285         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5286           Fix 'make check' too.
5287
5288 2007-01-10  Andy Wingo  <wingo@pobox.com>
5289
5290         * docs/design/part-negotiation.txt: Fix a typo, add a couple
5291         notes.
5292         
5293         * docs/design/part-negotiation.txt: Update with, um, one way that
5294         pull-mode negotiation might work?
5295
5296         * gst/gstpad.h: 
5297         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5298         that the pad must be a src pad; makes sense to call it the other
5299         way in pull mode, and the logic is symmetric anyway.
5300
5301 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5302
5303         * plugins/elements/gstfilesink.c:
5304           Include <stdio.h> for fseeko().
5305
5306 2007-01-10  Wim Taymans  <wim@fluendo.com>
5307
5308         * gst/gstevent.c:
5309         * gst/gstevent.h:
5310         Reserve LATENCY event.
5311
5312 2007-01-09  Wim Taymans  <wim@fluendo.com>
5313
5314         * docs/design/draft-latency.txt:
5315         Updates.
5316
5317 2007-01-09  Wim Taymans  <wim@fluendo.com>
5318
5319         * docs/design/draft-latency.txt:
5320         Updates.
5321
5322         * gst/gstelement.h:
5323         * gst/gststructure.c:
5324         * gst/gsttrace.c:
5325         Small typo fixes.
5326
5327 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5328
5329         * tests/check/.cvsignore:
5330           Ignore test-registry.xml as well.
5331
5332 2007-01-09  Wim Taymans  <wim@fluendo.com>
5333
5334         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5335         unref data at the end when we are done with the pad.
5336
5337 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5338
5339         * docs/gst/gstreamer-sections.txt:
5340         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5341         (init_post), (gst_deinit), (gst_update_registry):
5342         * gst/gst.h:
5343           API: add gst_update_registry() (#391296).
5344
5345         * tests/check/Makefile.am:
5346         * tests/check/gst/gstregistry.c:
5347         * tests/check/gst/.cvsignore:
5348           Simple unit test for the above.
5349
5350 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5351
5352         * gst/gstregistry.c: (gst_registry_scan_path_level):
5353           Plugin extension on HP-UX is .sl, add that to the list of approved
5354           plugin extensions (see #393796).
5355
5356         * tests/check/gst/gstpad.c: (GST_START_TEST):
5357           ulong => gulong. Fixes compilation with HP-UX compiler.
5358
5359         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5360           Fix compilation if valgrind headers are not available.
5361
5362 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
5363
5364         * win32/common/libgstreamer.def: 
5365           Add new exported function.
5366         * win32/vs6/libgstbase.dsp: 
5367           Add gstdataqueue.c to the build.
5368         * win32/vs6/libgstcoreelements.dsp:
5369           Add gstmultiqueue.c to the build.
5370         
5371 2007-01-06  Andy Wingo  <wingo@pobox.com>
5372
5373         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5374         activate_pull(), providing for a way to specialize the process of
5375         spawning a thread to pull on the sink pad. There is a default
5376         implementation.
5377
5378         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5379         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5380         (gst_base_sink_init): Renamed pad activation functions (inserting
5381         "_pad" in their names). Refactor to use the new activate_pull
5382         vmethod, as appropriate.
5383         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5384         default activate_pull function to start a task pulling from the
5385         sink pad, as before.
5386
5387         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5388         on the pads if necessary, as in push()/chain(). Update docs.
5389         Shouldn't affect existing pull() usage as it is currently only
5390         being used on buffers without caps.
5391
5392 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5393
5394         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5395         (init_pre):
5396           Call g_thread_init() first thing in gst_init() / gst_check_init().
5397           When initialisation is done via gst_init_get_option_group() and
5398           GOption parsing, issue a warning if the GLib thread system has not
5399           been initialised yet by the time gst_init_get_option_group() is
5400           called, as it's quite likely other GLib functions such as
5401           g_option_context_new() have been called already then, and
5402           g_thread_init() must be called before any other GLib function. The
5403           application in question must be fixed in that case, since memory
5404           corruption might happen otherwise.
5405           We issue the warning because even if the GLib folks decide to work
5406           around the problem on their end in future, this is still an issue
5407           with all GLib versions >= 2.10.0, so we should warn until we depend
5408           on a GLib version we know to be safe.
5409           Update documentation as well.
5410           Closes bug #391278.
5411
5412 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5413
5414         * tools/gst-inspect.c: (main):
5415         * tools/gst-launch.c: (main):
5416         * tools/gst-typefind.c: (main):
5417         * tools/gst-xmlinspect.c: (main):
5418           Call g_thread_init() really really early, before any other GLib
5419           function (see #342564 and recent discussion on gtk-devel-list).
5420
5421 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5422
5423         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
5424
5425         * gst/gst_private.h:
5426         * gst/gstconfig.h.in:
5427         * gst/gstinfo.h:
5428           On win32, all the __declspec stuff for symbol exporting is
5429           apparently only needed with MSVC, but doesn't work with MingW.
5430           Fixes compilation with MingW and #391909.
5431
5432 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5433
5434         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5435           Change some GST_ERROR_OBJECT that aren't really errors to
5436           GST_WARNING_OBJECT in order to reduce terminal spam.
5437
5438 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5439
5440         * tests/check/Makefile.am:
5441           disable test again, as there seem to be still race problems
5442
5443 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5444
5445         * tests/check/Makefile.am:
5446         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5447         (GST_START_TEST), (queue_suite):
5448           enable queue test again, add tests for the leaky behaviour
5449
5450 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
5451
5452         * configure.ac:
5453         * tests/examples/Makefile.am:
5454           Compile adapter test/example only if the required headers are
5455           available (fixes #391915).
5456
5457 2007-01-01  David Schleef  <ds@schleef.org>
5458
5459         * gst/gstplugin.c:
5460           Restore the previous signal handler for SIGSEGV instead of
5461           setting to default, since we may have stolen it away from
5462           someone.  (i.e., Mono)
5463
5464 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5465
5466         * docs/random/draft-missing-plugins.txt:
5467           Some small additions and clarifications.
5468
5469 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5470
5471         * gst/gstregistryxml.c: (gst_registry_save_escaped):
5472           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5473           since that can lead to random memory corruptions and crashes
5474           (may or may not be related to #383244, #386711, and #386711).
5475
5476 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5477
5478         * tests/check/.cvsignore:
5479         * tests/check/Makefile.am:
5480           sync .cvsignome and CLEANFILES
5481
5482 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5483
5484         * tests/check/Makefile.am:
5485           fix distcheck
5486
5487 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5488
5489         * docs/design/part-states.txt:
5490           two tiny additional comments
5491         
5492         * gst/gststructure.c:
5493           doc fixing
5494
5495         * tests/check/Makefile.am:
5496         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5497         (GST_START_TEST):
5498           disable test for now, unless it gets fixed
5499
5500 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5501
5502         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5503         (GST_START_TEST):
5504           fix race in underrun test
5505
5506 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5507
5508         * tests/check/elements/.cvsignore:
5509           ignore more
5510
5511         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5512         (GST_START_TEST):
5513           try to narrow test failure
5514
5515 2006-12-21  David Schleef  <ds@schleef.org>
5516
5517         * plugins/elements/gstfakesrc.c:
5518           Use g_random_int_range(), since it produces better random
5519           numbers in a range than almost-correct floating point code.
5520
5521 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5522
5523         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5524         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5525         (gst_check_teardown_sink_pad):
5526           do not automatically (de)activate pads
5527
5528         * tests/check/Makefile.am:
5529         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5530         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5531           add new, yet simple tests for queue
5532
5533         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5534         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5535         * tests/check/elements/filesrc.c: (cleanup_filesrc),
5536         (GST_START_TEST):
5537         * tests/check/elements/identity.c: (cleanup_identity):
5538           consistent pad (de)activation
5539
5540 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5541
5542         Patch by: Sebastian Dröge  <slomo ubuntu com>
5543
5544         * libs/gst/base/gstcollectpads.c:
5545           Fix two doc typos (#387866).
5546
5547 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5548
5549         * docs/manual/advanced-dparams.xml:
5550           Fix typo (g_object_control_properties() doesn't exist).
5551
5552 2006-12-19  Edward Hervey  <edward@fluendo.com>
5553
5554         * gst/gstsegment.c: (gst_segment_set_seek):
5555         Fine tune the cases where the segment start/stop values are really
5556         updated.
5557         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5558         Add tests for the return values of gst_segment_set_seek().
5559
5560 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5561
5562         * gst/gst.c:
5563           Docs typo fix.
5564
5565         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5566         (gst_queue_init):
5567           Fix incorrect documentation and flesh it out a bit more.
5568           Set default values for the max properties on the GParamSpec as well,
5569           so it shows up correctly in gst-inspect.
5570
5571 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
5572
5573         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5574           Correct docs of queue, add more detail and crosslink it more.
5575
5576 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5577
5578         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5579           Print additional debug info when the stream isn't perfectly
5580           timestamped; don't try to use invalid durations.
5581
5582 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5583
5584         * docs/design/Makefile.am:
5585           Dist new design docs.
5586
5587 2006-12-16  Wim Taymans  <wim@fluendo.com>
5588
5589         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5590
5591         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5592         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5593         (gst_collect_pads_stop), (gst_collect_pads_event),
5594         (gst_collect_pads_chain):
5595         * libs/gst/base/gstcollectpads.h:
5596         Add refcounting to the collectpads data so we can track when it's safe
5597         to free the data. Fixes #383382.
5598
5599 2006-12-15  Wim Taymans  <wim@fluendo.com>
5600
5601         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5602         (gst_collect_pads_remove_pad):
5603         Automatically activate/deactivate pads when they are added to a
5604         started/stoped collectpads.
5605
5606 2006-12-15  Wim Taymans  <wim@fluendo.com>
5607
5608         * gst/gstelement.c: (gst_element_add_pad):
5609         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5610         * gst/gstpad.c: (gst_pad_init):
5611         Set pads to FLUSHING when they are created. Check, warn and fix when a
5612         demuxer adds an inactive pad to itself when running. Fixes #339326.
5613
5614 2006-12-15  Wim Taymans  <wim@fluendo.com>
5615
5616         * gst/gstelement.c: (gst_element_class_init),
5617         (gst_element_default_send_event), (gst_element_send_event),
5618         (gst_element_default_query), (gst_element_query):
5619         Expose default element send_event and query handling as vmethods that
5620         subclasses can chain up to.
5621
5622 2006-12-15  Wim Taymans  <wim@fluendo.com>
5623
5624         * gst/gstelement.c: (gst_element_set_state_func):
5625         Small documentation fixes.
5626
5627 2006-12-15  Wim Taymans  <wim@fluendo.com>
5628
5629         * docs/design/draft-latency.txt:
5630         Checked in draft for handling latency in pipelines.
5631
5632 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5633
5634         * Makefile.am:
5635         * gstreamer.doap:
5636         * gstreamer.spec.in:
5637           adding .doap file
5638
5639 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
5640
5641         * gst/gst.c: (init_pre), (init_post):
5642           init_pre() and init_post() might be called via our GOptionGroup or
5643           from gst_init(), and we should skip both of them if we've already
5644           been initialised, otherwise we will init some things twice or add
5645           two default log functions.
5646
5647 2006-12-13  Edward Hervey  <edward@fluendo.com>
5648
5649         * docs/manual/basics-bus.xml:
5650         No, gst_main_loop does not exist. Its g_main_loop.
5651         Discovered by somebody who abused the copy-paste technique of coding :)
5652
5653 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5654
5655         * gst/gstghostpad.c:
5656           Log ghostpad debug stuff to the GST_PADS category as well rather
5657           than just to the default category.
5658
5659 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5660
5661         * configure.ac:
5662         * gst/gst.c: (init_pre):
5663           Add some basic system details such as OS and architecture
5664           to the debug output if possible, courtesy of uname().
5665
5666 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5667
5668         * docs/gst/running.xml:
5669           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5670           environment variables.
5671
5672 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5673
5674         * tests/check/gst/gstbin.c: (GST_START_TEST):
5675         It is acceptable to have a refcount of 2 or 3 at this point in the
5676         test, because the pipeline might be just posting its state_change
5677         message. The next line then waits for that message to appear using
5678         bus_poll, so that should be fine too.
5679
5680 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5681
5682         * gst/gst.c: (ensure_current_registry_forking):
5683         Ignore EINTR when reading from the child registry pipe.
5684         Explicitly ignore the return value from close, since it makes no
5685         difference.
5686
5687         * gst/gstminiobject.c: (gst_mini_object_ref),
5688         (gst_mini_object_unref):
5689         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5690
5691         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5692         When removing cached plugins, remove their features too, so they're
5693         not visible after they've disappeared.
5694
5695         * gst/gstutils.c: (prepare_link_maybe_ghosting):
5696         In the unlikely case that we are linking pads with no parents, don't
5697         crash trying to get the non-existent parent bin.
5698
5699         * gst/parse/grammar.y:
5700         Output debug in the PIPELINE category
5701
5702 2005-03-08  Wim Taymans  <wim@fluendo.com>
5703
5704         Patch by: René Stadler <mail at renestadler dot de>
5705
5706         * gst/gstclock.c: (gst_clock_new_periodic_id):
5707         Reject invalid clock times for interval of periodic ids.
5708         Fixes ##383506.
5709
5710 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5711
5712         * gst/gstelementfactory.c: (gst_element_factory_create):
5713         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5714         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5715         * tools/gst-inspect.c: (print_element_info):
5716         Fix refcounting of gst_plugin_feature_load to match the docs. 
5717         Fixes: #380129
5718
5719 2006-12-07  Wim Taymans  <wim@fluendo.com>
5720
5721         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5722         (gst_base_sink_get_position):
5723         Improve debugging of events.
5724
5725 2006-12-07  Wim Taymans  <wim@fluendo.com>
5726
5727         Patch by: René Stadler <mail at renestadler dot de>
5728
5729         * gst/gstclock.c: (gst_clock_id_wait):
5730         Make period ids add the interval to the origial requested time instead
5731         of the possibly updated time which can be wrong when there are multiple
5732         waiters for the same id. Fixes #382592.
5733
5734         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5735         (gst_system_clock_id_wait_jitter_unlocked),
5736         (gst_system_clock_id_wait_jitter):
5737         Fix restart in the async notify thread when an async entry is added to
5738         the front of the list. Fixes #381492. 
5739
5740         * tests/check/gst/gstsystemclock.c: (store_callback),
5741         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5742         Added test for multiple async waits.
5743         Added test for async wait order.
5744
5745 2006-12-07  Wim Taymans  <wim@fluendo.com>
5746
5747         * gst/gstbin.c: (gst_bin_query):
5748         Add some more docs about the POSITION query.
5749
5750 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5751
5752         * configure.ac:
5753         Bump version nano - back to CVS.
5754
5755 === release 0.10.11 ===
5756
5757 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
5758
5759         * configure.ac:
5760           releasing 0.10.11, "Love never runs on time"
5761
5762 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
5763
5764         * win32/common/libgstbase.def:
5765         * win32/common/libgstreamer.def:
5766         * win32/vs8/libgstbase.vcproj:
5767         * win32/vs8/libgstcoreelements.vcproj:
5768         * win32/vs8/libgstreamer.vcproj:
5769         Fix compilation on win32 under VS8
5770         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5771         Partially fixes #381175
5772
5773 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5774
5775         * gst/gstvalue.c: (gst_value_compare_fraction):
5776         If someone is foolish enough to compare 2 fractions with denominator =
5777         0, return UNORDERED rather than aborting.
5778
5779 2006-11-28  Edward Hervey  <edward@fluendo.com>
5780
5781         * libs/gst/base/Makefile.am:
5782         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5783         (gst_data_queue_base_init), (gst_data_queue_class_init),
5784         (gst_data_queue_init), (gst_data_queue_new),
5785         (gst_data_queue_cleanup), (gst_data_queue_finalize),
5786         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5787         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5788         (gst_data_queue_is_empty), (gst_data_queue_is_full),
5789         (gst_data_queue_set_flushing), (gst_data_queue_push),
5790         (gst_data_queue_pop), (gst_data_queue_drop_head),
5791         (gst_data_queue_set_property), (gst_data_queue_get_property):
5792         * libs/gst/base/gstdataqueue.h:
5793         New GstDataQueue object for threadsafe queueing. Most useful for
5794         elements that need some queueing functionnality.
5795         * docs/libs/gstreamer-libs-docs.sgml:
5796         * docs/libs/gstreamer-libs-sections.txt:
5797         Insert documentation for GstDataQueue
5798         * plugins/elements/Makefile.am:
5799         * plugins/elements/gstelements.c:
5800         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5801         (gst_multi_queue_class_init), (gst_multi_queue_init),
5802         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5803         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5804         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5805         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5806         (gst_multi_queue_loop), (gst_multi_queue_chain),
5807         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5808         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5809         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5810         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5811         (wake_up_next_non_linked), (compute_next_non_linked),
5812         (single_queue_overrun_cb), (single_queue_underrun_cb),
5813         (single_queue_check_full), (gst_single_queue_new):
5814         * plugins/elements/gstmultiqueue.h:
5815         New multiqueue element, using GstDataQueue. Used for queuing multiple
5816         streams.
5817         Closes #344639 and #347785
5818
5819 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
5820
5821         * docs/pwg/advanced-types.xml:
5822           add more missing type details
5823
5824         * tools/gst-run.c: (main):
5825           remove unused variable
5826
5827 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
5828
5829         * docs/libs/Makefile.am:
5830         * docs/libs/gstreamer-libs.types:
5831           add types of base classes to enable gobject specific stuff in the docs
5832
5833         * docs/random/ensonic/embedded.txt:
5834           more ideas about isolating platform specific things
5835
5836 2006-11-20  Wim Taymans  <wim@fluendo.com>
5837
5838         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5839
5840         * libs/gst/check/gstcheck.h:
5841         Fix compilation and running against 0.9.4. Fixes #377332.
5842
5843 2006-11-20  Wim Taymans  <wim@fluendo.com>
5844
5845         * gst/gstsegment.c: (gst_segment_set_seek),
5846         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5847         (gst_segment_to_running_time):
5848         Fix boundary checking in to_running_time() and to_stream_time().
5849         Fixes #377183.
5850
5851         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5852         stream and running time can now be calculated for the complete
5853         clipped segment.
5854
5855 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
5856
5857         * gst/gstpad.c: (gst_pad_push_event):
5858           Can't access event structure after giving away ownership of
5859           the event.
5860
5861 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
5862
5863         * docs/random/ensonic/embedded.txt:
5864         * docs/random/ensonic/profiling.txt:
5865         * docs/random/ensonic/receipies.txt:
5866           more thinking
5867
5868 2006-11-13  Wim Taymans  <wim@fluendo.com>
5869
5870         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5871
5872         * gst/gstpad.c:
5873         Fix documentation for gst_pad_dispatcher. Fixes #374475.
5874
5875 2006-11-13  Wim Taymans  <wim@fluendo.com>
5876
5877         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5878
5879         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5880         Store new length in segment duration so we don't keep on calling the
5881         potentially expensize get_size() call. Fixes #370865.
5882
5883 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
5884
5885         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
5886
5887         * win32/common/libgstreamer.def:
5888           Add two missing symbols (#366492).
5889
5890 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
5891
5892         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5893         (gst_adapter_take_buffer):
5894         Fix format string to use all its arguments.
5895         Remove useless >= check on a guint
5896
5897 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5898
5899         * tests/examples/adapter/.cvsignore:
5900         Ignore build file as commanded by the build-bot
5901
5902 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5903
5904         * tests/examples/adapter/Makefile.am:
5905         * tests/examples/adapter/adapter_test.c: (run_test_take),
5906         (run_test_take_buffer), (run_tests), (main):
5907
5908         Add new files from the previous commit
5909
5910 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5911
5912         * Makefile.am:
5913         * configure.ac:
5914         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5915         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5916         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5917         * libs/gst/base/gstadapter.h:
5918         * tests/check/libs/adapter.c: (create_and_fill_adapter),
5919         (GST_START_TEST), (gst_adapter_suite):
5920         * tests/examples/Makefile.am:
5921         Do some optimisation work in GstAdapter to avoid copies in more cases.
5922         It could still do slightly better by merging buffers when
5923         gst_buffer_is_span_fast is true, but is already faster. 
5924
5925         Also, avoid traversing a single-linked list to append each incoming 
5926         buffer inside the adapter.
5927
5928         Add simple test app that times the adapter behaviour in different
5929         situations, and extend the unit test to check that bytes enter and
5930         exit the adapter in their original order.
5931
5932 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
5933
5934         * docs/random/draft-missing-plugins.txt:
5935           Update: use element message instead of adding a new message
5936           type to the core; don't provide GStreamer API to initiate the
5937           plugin download, just provide API to compose the strings needed
5938           and let an external libgimmestuff handle the rest.
5939
5940 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
5941
5942         * tools/gst-inspect.c: (print_element_properties_info):
5943         Print a string instead of 'unknown type' for GValueArray properties
5944
5945 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
5946
5947         * docs/random/draft-missing-plugins.txt:
5948         More small fixes.
5949
5950 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5951
5952         * tests/examples/typefind/typefind.c: (type_found), (main):
5953           Make typefind element example work again (#371894); add a
5954           license header.
5955
5956 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5957
5958         * docs/random/draft-missing-plugins.txt:
5959           Commit initial draft about how to deal with missing plugins,
5960           needs work (API too).
5961
5962 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
5963
5964         * docs/pwg/advanced-types.xml:
5965           documents the new caps elements (see #363118)
5966
5967 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5968
5969         * gst/gstplugin.c: (gst_plugin_load_file):
5970         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5971         (gst_file_src_map_region), (gst_file_src_start):
5972         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5973         (gst_file_index_commit):
5974           Use g_strerror() instead of strerror() - we want UTF-8.
5975
5976 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5977
5978         Patch by: Peter Kjellerstedt <pkj at axis com>
5979
5980         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5981           Another printf fix (#371493).
5982
5983 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5984
5985         * tests/check/gst/gsttag.c:
5986           relicence (okay with author=company)
5987
5988 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5989
5990         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5991         (gst_pad_push_event):
5992           Enhance debug and improve docs
5993         
5994         * gst/gsturi.c:
5995           Fix docs
5996
5997 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5998
5999         * docs/random/ensonic/distributed.txt:
6000         * docs/random/ensonic/profiling.txt:
6001           more ideas
6002
6003 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6004
6005         * docs/gst/gstreamer-sections.txt:
6006           add new API and fix the build
6007           
6008         * gst/gstbin.c: (gst_bin_recalc_state):
6009         * gst/gstelement.c: (gst_element_message_full),
6010         (gst_element_get_state_func), (gst_element_set_state_func):
6011           use new API and improve logging
6012         
6013         * gst/gstutils.c: (gst_element_state_change_return_get_name):
6014         * gst/gstutils.h:
6015           API: add function to get StateChangereturn names to improve logs 
6016
6017 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6018
6019         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6020           I'm considering shooting the next person to put strerror stuff
6021           in the translateable part of the message.
6022
6023 2006-11-03  Wim Taymans  <wim@fluendo.com>
6024
6025         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6026         Get the type and printf conversion specifiers right.
6027
6028 2006-11-03  Wim Taymans  <wim@fluendo.com>
6029
6030         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6031
6032         * gst/gstpad.c: (gst_pad_init), (pre_activate),
6033         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
6034         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
6035         Some small cleanups. Improve debugging.
6036         * gst/gstpad.h:
6037         Signal all waiting threads with a broadcast instead of just one.
6038         Fixes #369942.
6039
6040 2006-11-03  Wim Taymans  <wim@fluendo.com>
6041
6042         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
6043         (gst_fd_src_create):
6044         Add some debugging. 
6045         Only update fd when it's different from the old.
6046
6047 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6048
6049         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
6050           Printf fixes for PPC/OSX, take two (#369366).
6051
6052 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6053
6054         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
6055
6056         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6057         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6058         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
6059           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
6060           don't cast to long long for portability reasons, but use
6061           GLib's types instead.
6062
6063 2006-10-30  Michael Smith  <msmith@fluendo.com>
6064
6065         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6066           Get the arguments to lseek() the right way around.
6067           Fixes 367677.
6068
6069 2006-10-30  Wim Taymans  <wim@fluendo.com>
6070
6071         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
6072
6073         * gst/gstinfo.h:
6074         _declspec should be __declspec (two underscores, not one). Fixes 366572.
6075
6076 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
6077
6078         Patch by: Kjartan Maraas  <kmaraas at gnome org>
6079
6080         * docs/design/part-MT-refcounting.txt:
6081         * docs/random/wtay/capsnego2-docs:
6082         * gst/gstclock.c:
6083         * gst/gstxml.c:
6084           Typo fixes (#366212).
6085
6086 2006-10-28  Wim Taymans  <wim@fluendo.com>
6087
6088         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6089
6090         * gst/gst.c:
6091         * win32/common/libgstbase.def:
6092         * win32/common/libgstreamer.def:
6093         * win32/vs8/libgstbase.vcproj:
6094         * win32/vs8/libgstcontroller.vcproj:
6095         Add needed entries in .def files.
6096         Use HAVE_UNISTD_H.
6097         Rearrange def files in vs8 solutions. Fixes #366286.
6098
6099 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
6100
6101         * win32/common/gstconfig.h:
6102           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
6103           hand-made win32 gstconfig.h. Fixes #366321.
6104
6105 2006-10-27  Wim Taymans  <wim@fluendo.com>
6106
6107         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
6108         (gst_ghost_pad_new_full):
6109         Make acceptcaps return TRUE when we don't have a target, just like
6110         setcaps does.
6111
6112 2006-10-27  Wim Taymans  <wim@fluendo.com>
6113
6114         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6115         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6116
6117 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6118
6119         * gst/gststructure.c: (gst_structure_id_set_value):
6120           If someone tries to set a non-UTF8 string field on a structure,
6121           don't just print a warning, but also ignore the request and do
6122           not change/add that field to the structure.
6123
6124         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6125           Test for the above.
6126
6127 2006-10-25  David Schleef  <ds@schleef.org>
6128
6129         * gst/gstinfo.c:
6130           g_hash_table_insert() needs a cast to a non-const pointer duh.
6131
6132 2006-10-25  David Schleef  <ds@schleef.org>
6133
6134         * gst/gstinfo.c:
6135         * gst/gstinfo.h:
6136           Change name parameter of _gst_debug_register_funcptr to const
6137           to reflect the constness of its use in the function as well
6138           as to quiet a gcc warning.
6139
6140 2006-10-25  Edward Hervey  <edward@fluendo.com>
6141
6142         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6143         Don't push the buffer if it's empty.
6144         Closes #363095
6145
6146 2006-10-24  Wim Taymans  <wim@fluendo.com>
6147
6148         * gst/gstevent.h:
6149         Add small comment.
6150
6151         * libs/gst/base/gstbasetransform.c:
6152         (gst_base_transform_sink_eventfunc):
6153         Debug segment values *after* updating them as this is more
6154         interesting.
6155
6156 2006-10-23  Wim Taymans  <wim@fluendo.com>
6157
6158         * docs/design/part-events.txt:
6159         Update some docs.
6160
6161         * docs/design/part-block.txt:
6162         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6163         (gst_pad_push_event):
6164         Revert BLOCKING patch, it tries to be smart without really having a
6165         clear idea what or how. So, now we discard all FLUSHING events again on
6166         a blocking pad. Should fix gnonlin again.
6167
6168 2006-10-23  Wim Taymans  <wim@fluendo.com>
6169
6170         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6171
6172         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6173         (gst_base_src_start), (gst_base_src_activate_push):
6174         Make sure size is always initialized. Fixes #364388.
6175
6176 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
6177
6178         * docs/random/ensonic/distributed.txt:
6179           add some ideas about doing distributed processing
6180
6181         * docs/random/ensonic/profiling.txt:
6182           get_rusage look promising
6183
6184 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6185
6186         * docs/manual/basics-helloworld.xml:
6187           Add a cast in example to fix compile warning
6188
6189 2006-10-18  Wim Taymans  <wim@fluendo.com>
6190
6191         * gst/gstsegment.c: (gst_segment_set_last_stop),
6192         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6193         Relax arg checking again, -1 is allowed.
6194
6195 2006-10-18  Wim Taymans  <wim@fluendo.com>
6196
6197         * gst/gstsegment.c: (gst_segment_set_last_stop),
6198         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6199         _set_last_stop() must be with a value != -1
6200         A _TYPE_SET to -1 means seek to 0.
6201         Calc last_stop correctly for negative rates.
6202         Make sure we work with positive durations when updating a segment.
6203
6204 2006-10-18  Wim Taymans  <wim@fluendo.com>
6205
6206         * docs/design/part-live-source.txt:
6207         * gst/gstclock.h:
6208         Small docs fixes.
6209
6210 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
6211
6212         * gst/gstbuffer.h:
6213           Add an explicit cast to GstBuffer** to keep old code that added an
6214           explicit cast to GstMiniObject** for gst_mini_object_replace()
6215           compiling without warning.
6216
6217 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6218
6219         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6220           check for validity of dates
6221
6222 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6223
6224         * docs/gst/gstreamer-sections.txt:
6225           Forgot this one, makes gtk-doc shut up.
6226
6227 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6228
6229         Patch by: Peter Kjellerstedt <pkj at axis com>
6230
6231         * gst/gstobject.h:
6232           Don't define xmlNodePtr to gpointer if the core was built with
6233           --disable-loadsave and --disable-registry, this will break
6234           applications that want to use libxml2 but are buildling against a
6235           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6236           instead so we don't have to mess with the libxml2 namespace
6237           (#361675).
6238
6239 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6240
6241         * gst/gstbuffer.h:
6242           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6243           type-punned pointer warnings.
6244
6245 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6246
6247         * gst/gstelement.h:
6248           Add casts to the correct return type to state <=> state transition
6249           macros.
6250
6251 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
6252
6253         * docs/design/part-live-source.txt:
6254           describe howto handle latency
6255         
6256         * docs/random/ensonic/profiling.txt:
6257           more ideas
6258
6259         * tools/gst-plot-timeline.py:
6260           fix log parsing for solaris, remove unused function
6261
6262 2006-10-16  Wim Taymans  <wim@fluendo.com>
6263
6264         * docs/design/part-trickmodes.txt:
6265         * gst/gstevent.c:
6266         Update some docs regarding reverse playback.
6267
6268 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6269
6270         Patch by: Marcus Granado  <mrc dot gran at gmail com>
6271
6272         * win32/vs8/grammar.vcproj:
6273           Error out with a warning if glib-genmarshal.exe is not in path,
6274           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6275
6276 2006-10-13  Wim Taymans  <wim@fluendo.com>
6277
6278         * gst/gstsegment.c: (gst_segment_set_seek):
6279         When seeking to stop -1, set last_stop (current position) to the
6280         duration of the segment.
6281
6282 2006-10-13  Wim Taymans  <wim@fluendo.com>
6283
6284         * gst/gstelement.h:
6285         Clarify _NO_PREROLL a bit more.
6286
6287         * gst/gstevent.c:
6288         Fix docs.
6289
6290         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6291         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6292         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6293         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6294         due to wrong locking order. Fixes #361769.
6295         Remove some redundant/misplaced checks in pad_block.
6296
6297         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6298         For negative rates, count backwards from the duration.
6299
6300 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6301
6302         * gst/gsterror.c: (_gst_library_errors_init):
6303           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6304           up with something better).
6305
6306 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6307
6308         * win32/vs6/libgstreamer.dsp:
6309         * win32/vs7/libgstreamer.vcproj:
6310         * win32/vs8/libgstreamer.vcproj:
6311           Don't reference glib-compat.c which is currently not used and not
6312           disted; add gstquark.c which was recently added. Fixes #361730.
6313
6314 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6315
6316         * win32/common/libgstbase.def:
6317         * win32/common/libgstcontroller.def:
6318         * win32/common/libgstreamer.def:
6319           Add gst_caps_merge() and a bunch of other recently-added functions.
6320           Fixes #361732.
6321
6322 2006-10-11  Wim Taymans  <wim@fluendo.com>
6323
6324         * docs/plugins/gstreamer-plugins.args:
6325         * docs/plugins/inspect/plugin-coreelements.xml:
6326         * docs/plugins/inspect/plugin-coreindexers.xml:
6327         Update element args.
6328
6329         * gst/gstsystemclock.c:
6330         Small comment update.
6331
6332         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6333         (gst_tee_request_new_pad), (gst_tee_release_pad),
6334         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6335         (gst_tee_sink_activate_pull):
6336         * plugins/elements/gsttee.h:
6337         Some tee loving:
6338         Add default property defines.
6339         Implement release pad function.
6340         Give properties better blubs etc.
6341         Activate pads before adding them to a running tee.
6342         Do simple buffer_alloc on the first requested pad.
6343         Post error when activation fails.
6344
6345 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6346
6347         * gst/gst.c: (ensure_current_registry_forking):
6348           Check return value of write() to make compiler happy.
6349
6350 2006-10-11  Wim Taymans  <wim@fluendo.com>
6351
6352         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6353
6354         * plugins/elements/gstqueue.c: (gst_queue_chain):
6355         Recheck queue filledness after signalling the overrun when we're about
6356         to leak downstream because we released the lock when emitting the signal
6357         and the queue could be empty again. Fixes #352345.
6358
6359 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6360
6361         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6362           Fix refcounting here too, just like we did for _new_valist() a few
6363           days ago (#357180) (thanks to René Stadler). Also remove all those
6364           'Since: 0.9' from the gtk-doc blobs.
6365
6366         * tests/check/libs/controller.c: (controller_refcount_new_list),
6367         (gst_controller_suite):
6368           Unit test for the above.
6369
6370 2006-10-10  Wim Taymans  <wim@fluendo.com>
6371
6372         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6373
6374         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6375         (gst_pad_save_thyself):
6376         Update some docs.
6377         Write pad direction in XML output. Fixes #345496.
6378
6379 2006-10-10  Wim Taymans  <wim@fluendo.com>
6380
6381         Patch by: René Stadler <mail at renestadler dot de>
6382
6383         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6384         (gst_controller_new_list), (_gst_controller_dispose),
6385         (_gst_controller_finalize), (_gst_controller_class_init):
6386         Take ref to controlled object so that it cannot disappear. 
6387         Fixes #357432.
6388
6389 2006-10-10  Wim Taymans  <wim@fluendo.com>
6390
6391         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6392         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6393         (gst_check_teardown_sink_pad):
6394         Activate/deactivate pads in setup/teardown respectively.
6395
6396 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6397
6398         Patch by: Josep Torre Valles <josep@fluendo.com>
6399
6400         * gst/Makefile.am:
6401         Cast values when making gstenumtypes.h.  This pacifies Forte
6402         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6403         in the enumeration.
6404
6405 2006-10-09  Wim Taymans  <wim@fluendo.com>
6406
6407         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6408         Rename some more @cur to @start to fix docs. 
6409
6410         * gst/gstsegment.c: (gst_segment_set_seek):
6411         Fix typo.
6412         time and start must always stay in sync as defined in design doc.
6413
6414         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6415         Rename param to fix docs.
6416
6417         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6418         Check that start and time are in sync.
6419
6420         * tests/check/pipelines/parse-launch.c:
6421         (gst_parse_test_element_change_state):
6422         Activate pad before adding to the element.
6423
6424 2006-10-09  Wim Taymans  <wim@fluendo.com>
6425
6426         * docs/design/part-qos.txt:
6427         Fix typo.
6428
6429         * gst/gstevent.c:
6430         * gst/gstevent.h:
6431         Update seek event docs regarding negative rates.
6432         Rename @cur to @start. 
6433
6434         * gst/gstsegment.c: (gst_segment_set_seek):
6435         * gst/gstsegment.h:
6436         Update set_seek docs regarding negative rates.
6437         Correctly update last_stop to @stop when dealing with negative
6438         rates.
6439         Rename @cur to @start. 
6440
6441         * tests/check/gst/gstpad.c: (GST_START_TEST):
6442         Activate pads before trying to use them.
6443
6444         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6445         (gst_segment_suite):
6446         Add simple check for segments and negative rates.
6447
6448 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6449
6450         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6451         * gst/gsttaglist.h:
6452         * docs/gst/gstreamer-sections.txt:
6453           API: add gst_tag_list_is_empty() (#360467).
6454
6455         * tests/check/gst/gsttag.c: (GST_START_TEST):
6456           And a test case.
6457
6458 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6459
6460         * gst/gstmessage.h:
6461         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6462         a value that doesn't fit on enumeration.
6463
6464 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6465
6466         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6467         Remove local debugging system and use Gstreamer's instead.
6468
6469 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6470
6471         Patch by: Josep Torre Valles <josep@fluendo.com>
6472
6473         * common/m4/gst-error.m4:
6474         Disable warning of statement not reached on Forte.
6475         * gst/gstmessage.h:
6476         Fix warning on Forte (value doesn't fit on enumeration).
6477         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6478         Fix warning on Forte (value doesn't fit on enumeration).
6479         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6480         DEBUG macro says it takes minimum of 2 args and so Forte
6481         complains about the use with just 1 arg.
6482         * plugins/elements/gstfdsink.c:
6483         * plugins/elements/gstfdsrc.c:
6484         * plugins/elements/gstfilesink.c:
6485         * plugins/elements/gstfilesrc.c:
6486         Use correct return type for the uri handler implementations.
6487
6488         All these fix warnings in Forte.  Fixes bug #360860.
6489
6490 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6491
6492         * gst/gstelement.h:
6493           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6494           format string, so don't use G_GNUC_PRINTF for those versions.
6495
6496 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6497
6498         * gst/gsttaglist.c: (gst_is_tag_list):
6499         * gst/gsttaglist.h:
6500           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6501
6502         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6503           Small test for the above.
6504
6505 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6506
6507         * gst/gsttaglist.h:
6508           Less tabs, more spaces.
6509
6510 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
6511
6512         * gst/gstinfo.h:
6513           Those two function declarations do actually belong there, revert
6514           commit from yesterday that turned them intro macros.
6515
6516 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6517
6518         Patch by: Josep Torre Valles <josep@fluendo.com>
6519
6520         * gst/gst.c: (gst_init_get_option_group):
6521         Fix empty declaration and type mismatch.
6522         * gst/gstbin.c: (gst_bin_change_state_func):
6523         Fix type mismatch.
6524         * gst/gstelement.c: (gst_element_continue_state),
6525         (gst_element_set_state_func), (gst_element_change_state),
6526         (gst_element_change_state_func):
6527         Fix type mismatches.
6528         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6529         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6530         Cast as appropriate.
6531         * gst/gstobject.c: (gst_class_signal_connect):
6532         Cast as appropriate.  The function pointer parameter really
6533         has the wrong type but would break API if we change it.
6534         * gst/gstquery.c:
6535         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6536         order of including string.h.
6537         * gst/gstutils.c: (gst_element_state_get_name):
6538         Remove unreachable line.
6539         * gst/gstxml.c: (gst_xml_parse_doc):
6540         Fix type mismatch.
6541         All these caught by Forte.
6542
6543 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6544
6545         Patch by: Josep Torre Valles <josep@fluendo.com>
6546
6547         * common/m4/gst-error.m4:
6548         Fixed bug #360151.
6549         We need to disable warnings on Forte for empty declarations
6550         due to gst-indent adding ;s to lines that just use macros
6551         where the macro actually doesn't need a ; at end to end
6552         statement.
6553
6554 2006-10-06  Wim Taymans  <wim@fluendo.com>
6555
6556         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6557         (gst_file_sink_close_file), (gst_file_sink_event),
6558         (gst_file_sink_render):
6559         Add some FIXME for the NEWSEGMENT handling.
6560
6561 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6562
6563         * gst/parse/grammar.y:
6564         Remove static function gst_parse_element_lock as all it does
6565         is return.  Looks like cruft from 0.8.
6566
6567 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6568
6569         Patch by: Josep Torre Valles <josep@fluendo.com>
6570
6571         * common/m4/gst-error.m4:
6572         * configure.ac:
6573         * libs/gst/net/Makefile.am:
6574         Fix a compilation issue with Forte on Solaris.  inet_aton is in
6575         libresolv.
6576
6577 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6578
6579         * gst/gstpad.c: (pre_activate):
6580         * gst/gstregistry.c: (gst_registry_scan_path_level):
6581         * gst/gstregistryxml.c: (load_plugin):
6582         * libs/gst/controller/gstcontroller.c:
6583         (gst_controlled_property_set_interpolation_mode):
6584         * libs/gst/dataprotocol/dataprotocol.c:
6585         (gst_dp_packet_from_event_1_0):
6586         * libs/gst/net/gstnetclientclock.c:
6587         (gst_net_client_clock_observe_times):
6588         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6589           Printf fixes.
6590
6591 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6592
6593         * configure.ac:
6594         * docs/gst/gstreamer-sections.txt:
6595         * gst/gstconfig.h.in:
6596         * gst/gstelement.h:
6597         * gst/gstinfo.h:
6598           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6599           whether we can use G_GNUC_PRINTF in other header files and at
6600           least check the printf format/arguments of debug messages and
6601           GST_ELEMENT_ERROR messages when the printf extension is not
6602           being used.
6603           Replace more tabs with spaces in gstinfo.h and remove two spurious
6604           function declarations in GST_DISABLE_DEBUG part with macros.
6605
6606 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6607
6608         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6609           More docs for the sync-message signal (mention that it is not
6610           emitted by default); log message structures of messages posted on
6611           the bus as well.
6612
6613 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
6614
6615         * gst/gst.c: (ensure_current_registry_forking):
6616         Use a pipe pair to receive status results from the forked child, and
6617         ignore the result from waitpid. Fixes #355499
6618
6619 2006-10-02  Wim Taymans  <wim@fluendo.com>
6620
6621         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6622         (gst_ghost_pad_suite):
6623         Fix leak in check.
6624
6625 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6626
6627         * gst/gstpad.c:
6628           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6629
6630 2006-10-02  Edward Hervey  <edward@fluendo.com>
6631
6632         * docs/design/part-block.txt:
6633         Further explain the use of flushing on blocked pads.
6634         * docs/gst/gstreamer-sections.txt:
6635         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6636         (gst_pad_push_event):
6637         * gst/gstpad.h:
6638         Added new GstPadFlag : GST_PAD_BLOCKING.
6639         Adds the notion of pads really blocking, which enables to properly
6640         handle FLUSH_START/FLUSH_STOP events on blocked pads.
6641         Fixes #358999
6642         API: gst_pad_is_blocking()
6643         API: GST_PAD_IS_BLOCKING() macro
6644         API: GST_PAD_BLOCKING GstPadFlag
6645         
6646 2006-10-02  Wim Taymans  <wim@fluendo.com>
6647
6648         Patch by: mrcgran <mrc.gran at gmail dot com>
6649
6650         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6651         Filter the proxied caps against the padtemplate if we have one.
6652
6653         * gst/gstquery.c: (gst_query_new_segment):
6654         Add include for gstinfo.h so that compilation with
6655         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6656
6657 2006-10-02  Wim Taymans  <wim@fluendo.com>
6658
6659         Patch by: Alessandro Decina  <alessandro at nnva org>
6660
6661         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6662         (gst_file_sink_set_location), (gst_file_sink_open_file),
6663         (gst_file_sink_close_file), (gst_file_sink_event),
6664         (gst_file_sink_render):
6665         Set file to NULL when closing filesink so that we can set a new filename
6666         in READY. Fixes #358613.
6667
6668 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6669
6670         Patch by: Alessandro Decina  <alessandro at nnva org>
6671
6672         * gst/gstevent.c: (_gst_event_copy):
6673           Fix gst_mini_object_make_writable() and gst_event_copy() for events
6674           with event structures by setting the parent refcount address of the
6675           copied structure to the address of the refcount member of the newly
6676           copied event rather than the address of the refcount member of the
6677           original event. Fixes #358737.
6678
6679         * tests/check/gst/gstevent.c: (GST_START_TEST):
6680           Unit test for the above.
6681
6682 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
6683
6684         * docs/design/Makefile.am:
6685           Dist some more files.
6686
6687 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6688
6689         * tests/check/libs/controller.c: (GST_START_TEST),
6690         (gst_controller_suite):
6691           Add test for the previous fix; add some more tests
6692           for correct refcounting behaviour; fix a few leaks
6693           in test cases; call gst_controller_init() at start
6694           of all tests.
6695
6696 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6697
6698         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6699         (gst_controller_set_from_list):
6700           Don't g_return_val_if_fail() on timed values with invalid timestamps
6701           inside a critical section without unlocking the mutex. Spotted by
6702           René Stadler. (#357617)
6703           Also, fix up refcounting properly: when returning an existing
6704           controller, we should increase the reference only once and not
6705           once per property and when trying to control a property again
6706           we should also increase the refcount.
6707
6708 2006-09-29  Wim Taymans  <wim@fluendo.com>
6709
6710         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6711         * libs/gst/net/gstnettimeprovider.c:
6712         (gst_net_time_provider_thread):
6713         Stop reading commands when EOF as well.
6714
6715         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6716         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6717         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6718         Unify description of the dump property.
6719
6720 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6721
6722         * tests/examples/manual/.cvsignore:
6723         OK, so it's actually cvsignore that needs changing. Stop laughing.
6724
6725 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6726
6727         * tests/examples/manual/Makefile.am:
6728         Gah, declare vars *before* using them
6729
6730 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6731
6732         * gst/gst.c: (init_pre), (scan_and_update_registry),
6733         (ensure_current_registry_nonforking),
6734         (ensure_current_registry_forking), (ensure_current_registry),
6735         (init_post), (gst_debug_help), (gst_deinit):
6736         * gst/gst_private.h:
6737         * gst/gstregistry.c: (gst_registry_finalize),
6738         (gst_registry_remove_features_for_plugin_unlocked),
6739         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6740         (gst_registry_scan_path),
6741         (_priv_gst_registry_remove_cache_plugins),
6742         (_priv_gst_registry_cleanup):
6743         * gst/gstregistry.h:
6744         Re-commit the registry changes, along with an extra fix:
6745           When a cached plugin is encountered at a different file path,
6746           update the stored path in the registry cache so that the parent
6747           process knows where it actually is now when it re-reads the registry
6748           cache. Fixes the thing that broke distcheck with the previous commit.
6749
6750         * tests/check/Makefile.am:
6751         Clean up files named 'core' too when running make clean.
6752
6753         * tests/examples/manual/Makefile.am:
6754         Set up a registry path for running these tests, and clean it properly
6755         for distcheck.
6756
6757 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6758
6759         * configure.ac:
6760         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6761         want gmodule-no-export-2.0.pc instead so that we don't drag in
6762         --export-dynamic on every project that links to GStreamer.
6763
6764         Also, make our export regex only match the start of symbols, rather 
6765         than any symbol that contains '_gst' somewhere.
6766
6767         * libs/gst/check/Makefile.am:
6768         The libgstcheck we build does however need export-dynamic, as it
6769         produces some symbols that don't match our _gst... style regex.
6770         Fixes: #318031
6771
6772 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6773
6774         * gst/gst.c: (init_pre), (scan_and_update_registry),
6775         (ensure_current_registry_nonforking),
6776         (ensure_current_registry_forking), (ensure_current_registry),
6777         (init_post), (gst_debug_help), (gst_deinit):
6778         * gst/gst_private.h:
6779         * gst/gstregistry.c: (gst_registry_finalize),
6780         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6781         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6782         (_gst_registry_cleanup):
6783         * gst/gstregistry.h:
6784           Revert previous change until I figure out why it breaks distcheck.
6785
6786 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6787
6788         * gst/gst.c: (init_pre), (scan_and_update_registry),
6789         (ensure_current_registry_nonforking),
6790         (ensure_current_registry_forking), (ensure_current_registry),
6791         (init_post), (gst_debug_help), (gst_deinit):
6792
6793           Make init_pre and init_post take the full complement of GOptionFunc
6794           args so they can return useful GErrors. Make the registry updating
6795           functions do so.
6796
6797           Call _priv_gst_registry_remove_cache_plugins after scanning files to
6798           ensure that the registry we're about to write out doesn't contain
6799           stale information about old-deleted plugin files.
6800
6801           Make _priv_gst_registry_remove_cache_plugins return a boolean so
6802           that deletion of plugin files is considered a registry change.
6803
6804         * gst/gst_private.h:
6805         * gst/gstregistry.c: (gst_registry_finalize),
6806         (gst_registry_remove_features_for_plugin_unlocked),
6807         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6808         (gst_registry_scan_path),
6809         (_priv_gst_registry_remove_cache_plugins),
6810         (_priv_gst_registry_cleanup):
6811         * gst/gstregistry.h:
6812         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6813         by adding _priv prefix, so that they won't appear in the global
6814         symbol table. They still do atm though because of #318031. Move the
6815         prototypes to gst_private.h
6816
6817         When removing a plugin, remove all features for that plugin too. 
6818         Fixes #340878.
6819
6820 2006-09-27  Wim Taymans  <wim@fluendo.com>
6821
6822         * docs/random/moving-plugins:
6823         Make it clear that the "compiled-in descriptions" really mean
6824         the element details.
6825
6826         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6827         (gst_base_sink_wait_preroll):
6828         Update docs.
6829
6830         * docs/libs/gstreamer-libs-sections.txt:
6831         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6832         (gst_base_src_get_range), (gst_base_src_activate_push):
6833         * libs/gst/base/gstbasesrc.h:
6834         Added function to block while waiting for PLAYING, this function
6835         is used by live sources that block on the clock.
6836         API: gst_base_src_wait_playing()
6837
6838 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6839
6840         Patch by: Peter Kjellerstedt <pkj at axis com>
6841
6842         * Makefile.am:
6843           gst-element-check.m4 is generated and should therefore be
6844           copied from the build dir rather than the source dir (#357593).
6845           'make distcheck' hasn't noticed this because we were disting
6846           the file as well, so stop doing that.
6847
6848 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6849
6850         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6851           Add some tests for gst_caps_intersect().
6852
6853         * tools/gst-launch.c: (event_loop):
6854           Print all buffering percentages we get, even the 100% one.
6855
6856 2006-09-26  Wim Taymans  <wim@fluendo.com>
6857
6858         * tools/gst-inspect.c: (print_element_properties_info),
6859         (print_signal_info):
6860         Fix printing of flags to match the look of enums.
6861
6862 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6863
6864         * gst/gstelementfactory.c:
6865           Fix typo in docs blurb.
6866
6867 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6868
6869         * gst/gsturi.c: (search_by_entry):
6870           Don't assert/crash here if a uri handler doesn't return any
6871           supported protocols. The list of protocols could be generated
6872           dynamically at runtime or at plugin registration, and an error
6873           in the underlying library shouldn't be fatal (#353301).
6874
6875 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6876
6877         * gst/gstinfo.c:
6878           Fix warning if HAVE_PRINTF_EXTENSION is undefined
6879           (spotted by Peter Kjellerstedt).
6880
6881 2006-09-23  Wim Taymans  <wim@fluendo.com>
6882
6883         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6884
6885         * libs/gst/base/gstbasesrc.c:
6886         (gst_base_src_default_check_get_range), (gst_base_src_start),
6887         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6888         (gst_base_src_change_state):
6889         Match _start/_stop calls in the activate functions. Remove redundant
6890         _stop call from the state change function. Fixes #356910.
6891         Turn failure DEBUG into ERROR. 
6892
6893 2006-09-22  Wim Taymans  <wim@fluendo.com>
6894
6895         * docs/design/part-buffering.txt:
6896         * gst/gstmessage.c: (gst_message_new_buffering),
6897         (gst_message_parse_buffering):
6898         Update docs about buffering.
6899
6900         * docs/design/part-trickmodes.txt:
6901         Fix typo.
6902
6903 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
6904
6905         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6906         (gst_controller_new_list):
6907           Ref instances when returning them again (fixes #357180)
6908
6909 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6910
6911         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6912           Don't forget to release proxy lock when there's an error.
6913
6914 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
6915
6916         * gst/gstcaps.h:
6917           Add extra initialisers for Caps things, to fix some plugin warnings
6918           when using -Wextra
6919
6920 2006-09-18  Wim Taymans  <wim@fluendo.com>
6921
6922         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6923           Also set template on the internal pad so that a getcaps from the 
6924           target pad returns the template caps.
6925
6926 2006-09-18  Wim Taymans  <wim@fluendo.com>
6927
6928         * gst/gstelement.c: (gst_element_post_message),
6929         (gst_element_dispose):
6930         Use _DEBUG_OBJECT some more.
6931
6932         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6933         Avoid typechecks.
6934
6935         * tools/gst-launch.c: (main):
6936         If the toplevel element is not a GstPipeline, it must be put in a
6937         pipeline so that a bus and clock is selected.
6938
6939 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6940
6941         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6942           JITTER, RATE, and LATENCY query should be handled by the
6943           default case and not by the CONVERT query code.
6944
6945 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6946
6947         * gst/gstformat.c: (gst_format_register):
6948           Fix locking order (must take lock before using n_values).
6949
6950         * gst/gstvalue.c: (gst_value_serialize_enum),
6951         (gst_value_deserialize_enum_iter_cmp),
6952         (gst_value_deserialize_enum):
6953           Fix serialisation/deserialisation of custom registered GstFormats.
6954
6955         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6956           Unit test for custom format serialisation/deserialisation.
6957
6958 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
6959
6960         * docs/pwg/building-boiler.xml:
6961         * plugins/elements/gstcapsfilter.c:
6962         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6963         section.
6964
6965 2006-09-16  Edward Hervey  <edward@fluendo.com>
6966
6967         * libs/gst/base/gstbasetransform.c:
6968         (gst_base_transform_buffer_alloc):
6969         Check if requested caps are the same as the sinks caps IF
6970         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6971         is FALSE.
6972         This fixes the renegotiation issues stated in #352827.
6973
6974 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6975
6976         * configure.ac:
6977         * docs/manual/advanced-autoplugging.xml:
6978         * tests/examples/Makefile.am:
6979         * tests/examples/manual/.cvsignore:
6980         * tests/examples/manual/Makefile.am:
6981         * tests/examples/manual/extract.pl:
6982           Extract the manual examples again like we used to do.
6983           Fix one of them.
6984
6985 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6986
6987         * win32/common/config.h:
6988           update for version
6989
6990 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
6991
6992         * gst/gsterror.c:
6993           Documents how to receive errors.
6994
6995 2006-09-15  Wim Taymans  <wim@fluendo.com>
6996
6997         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6998         (event_loop), (main):
6999         Added some comments here and there.
7000         Post an application message when an interrupt is caught instead of doing
7001         an uncontrolled state change.
7002         Clean up the event loop.
7003         Handle buffering messages, pause/resume the pipeline.
7004         Make shutdown because of an interrupt more reliable.
7005
7006 2006-09-15  Wim Taymans  <wim@fluendo.com>
7007
7008         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7009         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
7010         (gst_base_sink_preroll_object):
7011         Make sure that our internal state is correct when we commit our state
7012         asynchronously. This solves a race where a state change to PLAYING
7013         could cause the sink to remain blocked in preroll in some situations.
7014
7015 2006-09-15  Wim Taymans  <wim@fluendo.com>
7016
7017         * tools/gst-inspect.c: (print_element_properties_info),
7018         (print_signal_info):
7019         List flags as hex so it's easier to deal with.
7020
7021 2006-09-15  Wim Taymans  <wim@fluendo.com>
7022
7023         * docs/libs/gstreamer-libs-sections.txt:
7024         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
7025         (gst_base_sink_do_sync):
7026         * libs/gst/base/gstbasesink.h:
7027         Expose logic to wait for preroll so that subclasses such as audiosink
7028         can also use this method.
7029         API: gst_base_sink_wait_preroll()
7030
7031 2006-09-15  Wim Taymans  <wim@fluendo.com>
7032
7033         * gst/gstobject.c: (gst_object_set_parent):
7034         * gst/gstpipeline.c: (do_pipeline_seek):
7035         Small cleanups in docs and code.
7036
7037         * gst/gstsegment.c: (gst_segment_clip):
7038         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7039         if stop == start and start is in the segment, no clipping should be
7040         done. Also add a test for this.
7041
7042 2006-09-15  Wim Taymans  <wim@fluendo.com>
7043
7044         * docs/design/part-buffering.txt:
7045         * docs/gst/gstreamer-sections.txt:
7046         * gst/gstmessage.c: (gst_message_new_buffering),
7047         (gst_message_parse_buffering):
7048         * gst/gstmessage.h:
7049         Added methods to create and parse BUFFERING messages.
7050         Added preliminary docs about buffering.
7051         API: gst_message_new_buffering
7052         API: gst_message_parse_buffering
7053
7054 2006-09-06  Wim Taymans  <wim@fluendo.com>
7055
7056         * gst/gstbin.c:
7057         Update documentation.
7058
7059         * gst/gstelement.c: (gst_element_class_init),
7060         (gst_element_release_request_pad), (gst_element_set_clock),
7061         (gst_element_get_index), (gst_element_add_pad),
7062         (gst_element_remove_pad), (gst_element_get_random_pad),
7063         (gst_element_send_event), (gst_element_get_query_types),
7064         (gst_element_query), (gst_element_post_message),
7065         (gst_element_message_full), (gst_element_continue_state),
7066         (gst_element_lost_state), (gst_element_save_thyself),
7067         (gst_element_restore_thyself):
7068         Documentation updates.
7069         Rename last bit of the new-pad -> pad-added signal rename.
7070         Fix the case where an element query would only work if the source
7071         pad was linked.
7072         Avoid some useless type checking in message handling.
7073
7074         * gst/gstevent.c:
7075         * gst/gstevent.h:
7076         * gst/gstutils.c:
7077         Documentation updates.
7078
7079 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7080
7081         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7082           add an INFO line for when we actually update the fd
7083
7084 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7085
7086         * configure.ac:
7087           back to TRUNK
7088
7089 === release 0.10.10 ===
7090
7091 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
7092
7093         * configure.ac:
7094           releasing 0.10.10, "Pais"
7095
7096 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
7097
7098         * docs/manual/advanced-position.xml:
7099           Fix typo in sample code.
7100
7101 2006-09-05  Wim Taymans  <wim@fluendo.com>
7102
7103         * libs/gst/net/gstnetclientclock.c: (inet_aton),
7104         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7105         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
7106         * libs/gst/net/gstnetclientclock.h:
7107         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7108         * libs/gst/net/gstnettimepacket.h:
7109         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7110         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7111         (gst_net_time_provider_thread), (gst_net_time_provider_new):
7112         * libs/gst/net/gstnettimeprovider.h:
7113         Make stuff compile on windows. Fixes #345295.
7114
7115 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7116
7117         * gst/gst.c: (ensure_current_registry_forking):
7118           Print better details when child was terminated by signal.
7119
7120 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7121
7122         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7123           Print a warning rather than g_assert() if a plugin feature
7124           is a URI handler but returns no protocols (#353976).
7125
7126 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
7127
7128         * docs/random/moving-plugins:
7129         Fix two typos.         
7130
7131 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7132
7133         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7134           Fix locking order, handle NULL function values properly.
7135
7136         * gst/gstinfo.h:
7137           Fix docs.
7138
7139         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7140           Initialise variable before using it and fix debug statement to
7141           print the address of the function rather than the address of the
7142           variable on the stack holding the address of the function.
7143
7144 2006-09-01  Wim Taymans  <wim@fluendo.com>
7145
7146         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7147         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7148         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7149         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7150         (gst_ghost_pad_parent_unset),
7151         (gst_ghost_pad_internal_do_activate_push),
7152         (gst_ghost_pad_internal_do_activate_pull),
7153         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7154         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7155         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7156         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7157         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7158         (gst_ghost_pad_new_no_target_from_template),
7159         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7160         More cleanups.
7161         Avoid needless typechecking in macros.
7162         Since the internal pad is always present and never changes, there is
7163         no need to locking or ref when retrieving it.
7164         Improve debugging a bit.
7165         Handle link errors when setting the target. Fixes #341029.
7166
7167 2006-09-01  Wim Taymans  <wim@fluendo.com>
7168
7169         * docs/libs/gstreamer-libs-sections.txt:
7170         * docs/plugins/gstreamer-plugins-sections.txt:
7171         Fix docs some more.
7172
7173         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7174         (gst_collect_pads_event):
7175         * libs/gst/base/gstcollectpads.h:
7176         Documentation updates.
7177         Free queued buffer when removing a pad.
7178
7179 2006-08-31  Michael Smith  <msmith@fluendo.com>
7180
7181         * gst/gstutils.c: (gst_element_link_pads),
7182         (gst_element_link_pads_filtered):
7183           Ensure that we set a capsfilter to NULL if we failed to link it
7184           when doing filtered linking, to avoid criticals.
7185
7186           No need to check for unreffing srcpad, which is explicly NULLed
7187           above (a trivial code cleanup).
7188
7189 2006-08-31  Wim Taymans  <wim@fluendo.com>
7190
7191         * docs/design/part-gstghostpad.txt:
7192         Update ascii art in documentation.
7193
7194         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7195         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7196         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7197         (gst_ghost_pad_internal_do_activate_push),
7198         (gst_ghost_pad_internal_do_activate_pull),
7199         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7200         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7201         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7202         (gst_ghost_pad_set_target):
7203         Small cleanups and leak fixes.
7204         Remove some checks now that the internal pad is never NULL.
7205         Fix the case where linking pads without a target would create nasty
7206         criticals. Fixes #341029.
7207         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7208         value of _set_target().
7209
7210         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7211         (gst_ghost_pad_suite):
7212         Some more tests for creating and linking untargeted ghostpads.
7213
7214 2006-08-31  Edward Hervey  <edward@fluendo.com>
7215
7216         * docs/gst/gstreamer-sections.txt:
7217         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7218         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7219         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7220         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7221         (gst_ghost_pad_new_from_template),
7222         (gst_ghost_pad_new_no_target_from_template):
7223         * gst/gstghostpad.h:
7224         Refactored *_new() functions.
7225         Templates are now used as a g_object_new() parameter.
7226         Use template in _do_getcaps() if we don't have a target.
7227         Small documentation cleanups.
7228         Added two new constructors:
7229         gst_ghost_pad_new_from_template()
7230         gst_ghost_pad_new_no_target_from_template()
7231         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7232         (gst_ghost_pad_suite):
7233         Added tests for new ghostpad instanciation functions.
7234
7235         API additions: gst_ghost_pad_new_from_template,
7236         gst_ghost_pad_new_no_target_from_template
7237
7238 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
7239
7240         * docs/random/ensonic/profiling.txt:
7241           Ideas about qos profiling.
7242
7243 2006-08-29  Wim Taymans  <wim@fluendo.com>
7244
7245         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7246         Code cleanups.
7247         Fix memleak.
7248
7249 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
7250
7251         * gst/gstxml.c:
7252           Improve and detypofy docs.
7253
7254         * tests/check/Makefile.am:
7255         * tests/check/gst/.cvsignore:
7256         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7257           Add a basic test suite for GstXML.
7258
7259 2006-08-29  Wim Taymans  <wim@fluendo.com>
7260
7261         * gst/gstelement.c: (activate_pads), (clear_caps),
7262         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7263         Clear the pad caps when the element shut down all of the pads and
7264         is not streaming data that could modify the caps. 
7265         Fixes #352958.
7266
7267 2006-08-28  Michael Smith  <msmith@fluendo.com>
7268
7269         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7270           Revert previous change; I misunderstood single-segment mode.
7271
7272 2006-08-28  Michael Smith  <msmith@fluendo.com>
7273
7274         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7275           Unset DISCONT on buffers when using single-segment mode.
7276
7277 2006-08-28  Wim Taymans  <wim@fluendo.com>
7278
7279         * gst/gstcaps.c: (gst_caps_merge_structure):
7280         * gst/gstcaps.h:
7281         Fix docs and indentation again.
7282
7283         * tests/check/gst/gstquery.c: (GST_START_TEST):
7284         Fix leak in tests and add some more tests.
7285
7286 2006-08-28  Edward Hervey  <edward@fluendo.com>
7287
7288         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7289         Inform GstSegment of the last stop position in order for the current
7290         segment to have a proper duration if it doesn't have a specific stop
7291         position from which a duration could be calculated.
7292         This bug was noticeable when a non-flushing, non-update new segment was
7293         followed by another segment (all buffers from the new segment were being
7294         dropped).
7295
7296 2006-08-28  Wim Taymans  <wim@fluendo.com>
7297
7298         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7299         Small comment update.
7300
7301         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7302         (gst_identity_transform_ip):
7303         Drop-probability is broken, mention this in the code with a 
7304         FIXME and also in the property description.
7305         Make silent also be silent about the drop messages.
7306
7307 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
7308
7309         * docs/manual/appendix-win32.xml:
7310           Remove mention of popt, we don't depend on that any
7311           longer (#353136). Add some comments pointing out that
7312           this section is slightly outdated.
7313
7314 2006-08-28  Wim Taymans  <wim@fluendo.com>
7315
7316         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7317
7318         * gst/gstquery.c: (gst_query_new_segment):
7319         * tests/check/gst/gstquery.c: (GST_START_TEST):
7320         Initialize variables when creating a new segment query.
7321         Fixes #353121.
7322
7323 2006-08-28  Wim Taymans  <wim@fluendo.com>
7324
7325         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7326
7327         * gst/gstelement.c: (gst_element_get_bus):
7328         * tests/check/gst/gstelement.c: (GST_START_TEST):
7329         Check for NULL before _reffing the bus. Fixes #353122.
7330
7331 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
7332
7333         * docs/manual/basics-bus.xml:
7334           Docs update: fix wrong callback return value explanation; add
7335           some lines about the implicit relationship between main loop
7336           and main context; remove duplicate main loop variable declaration.
7337
7338 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
7339
7340         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7341           Don't leak caps in unit test; add a few more simple
7342           checks. 
7343
7344 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
7345
7346         * docs/gst/gstreamer-sections.txt:
7347         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7348         (gst_caps_structure_is_subset), (gst_caps_merge),
7349         (gst_caps_merge_structure):
7350         * gst/gstcaps.h:
7351         * libs/gst/base/gstbasetransform.c:
7352         (gst_base_transform_transform_caps):
7353         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7354           implement caps merging (fixes #352580)
7355
7356 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
7357
7358         * tools/Makefile.am:
7359         * tools/gst-plot-timeline.py:
7360           add debug-log plotting developer tool (#340674)
7361
7362 2006-08-23  Wim Taymans  <wim@fluendo.com>
7363
7364         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7365         (gst_pad_stop_task):
7366         Improve debugging for task functions.
7367
7368         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7369         (gst_task_start), (gst_task_pause), (gst_task_join):
7370         Make sure that the task function started and finished after a 
7371         join(). 
7372         Don't try to push the task function on the threadpool multiple
7373         times.
7374         Improve the g_warning message with some useful suggestions
7375         about how to fix the problem. 
7376
7377 2006-08-23  Wim Taymans  <wim@fluendo.com>
7378
7379         * gst/gstutils.c: (gst_pad_proxy_getcaps):
7380         Handle RESYNC correctly in _proxy_getcaps.
7381
7382 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
7383
7384         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7385         (gst_xml_parse_memory), (gst_xml_get_element):
7386           Chain up to parent class in dispose function and also
7387           unref the elements in the toplevel_elements GList.
7388           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7389           Always return a reference in gst_xml_get_element() rather
7390           than only sometimes.
7391
7392         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7393           Don't leak GstXml object.
7394
7395 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
7396
7397         * docs/gst/gstreamer-sections.txt:
7398         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7399         (gst_caps_merge):
7400         * gst/gstcaps.h:
7401         * libs/gst/base/gstbasetransform.c:
7402         (gst_base_transform_transform_caps):
7403           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7404           in a better way
7405
7406 2006-08-21  Edward Hervey  <edward@fluendo.com>
7407
7408         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7409         Implement GObject::dispose virtual method in GstXML so we can free the
7410         top_elements GList.
7411
7412 2006-08-21  Wim Taymans  <wim@fluendo.com>
7413
7414         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7415         (gst_buffer_create_sub):
7416         Copy duration/offset_end/caps when creating a subbuffer of the
7417         complete parent.
7418         Make the subbuffer read-only when we make the metadata writable for
7419         now. Fixes #351768.
7420
7421         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7422         Added check for metadata copy when creating subbuffers.
7423
7424 2006-08-21  Edward Hervey  <edward@fluendo.com>
7425
7426         * libs/gst/base/gstbasetransform.c:
7427         (gst_base_transform_buffer_alloc):
7428         Only call downstream buffer_alloc if transform element is passthrough
7429         or always_in_place. Closes #350449.
7430
7431 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7432
7433         * ChangeLog:
7434           ChangeLog surgery to add comments to previous changes
7435
7436 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7437
7438         * gst/gst.c:
7439           Add comments
7440
7441         * gst/gstpad.c: (gst_pad_set_active):
7442           Be more verbose in the log
7443
7444         * libs/gst/base/gstbasetransform.c:
7445         (gst_base_transform_transform_caps):
7446           Simplify caps to get rid of duplicates, fixes #345444
7447
7448 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7449
7450         * gst/gstvalue.c:
7451         * gst/gstvalue.h:
7452           Use these optimizations only internally.
7453
7454 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7455
7456         * gst/gstvalue.c: (gst_value_compare_list),
7457         (gst_value_compare_fraction_range),
7458         (gst_value_intersect_fraction_fraction_range),
7459         (gst_value_intersect_fraction_range_fraction_range),
7460         (gst_value_subtract_fraction_fraction_range),
7461         (gst_value_subtract_fraction_range_fraction_range),
7462         (gst_value_get_compare_func), (gst_value_compare),
7463         (gst_value_compare_with_func):
7464         * gst/gstvalue.h:
7465           Saves the expensive lookup of the compare function in many cases
7466          (#345444)
7467
7468 2006-08-18  Edward Hervey  <edward@fluendo.com>
7469
7470         * tests/check/gst/gstinfo.c: (gst_info_suite):
7471         Disable test that require gstdebug if it wasn't built in core.
7472
7473 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7474
7475         * docs/random/ensonic/logging.txt:
7476           update ideas
7477           
7478         * gst/gstinfo.c: (gst_debug_log_default):
7479           reorder fields, save some columns, add optional color codes for log
7480           levels
7481
7482 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7483
7484         * docs/random/ensonic/logging.txt:
7485           add ideas about making the logs a bit more useful
7486
7487 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7488
7489         * docs/pwg/advanced-events.xml:
7490         * docs/pwg/titlepage.xml:
7491           Update for 0.10 API (#340627). Add myself
7492           to authors list.
7493
7494 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7495
7496         * docs/libs/gstreamer-libs-docs.sgml:
7497         * docs/libs/gstreamer-libs-sections.txt:
7498         * libs/gst/check/gstbufferstraw.c:
7499           Make gstcheck stuff show up in docs (still needs to
7500           be documented properly though).
7501
7502 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7503
7504         * docs/gst/gstreamer-sections.txt:
7505         * gst/Makefile.am:
7506         * gst/gst.c: (init_post):
7507         * gst/gst_private.h:
7508         * gst/gstquark.c: (_priv_gst_quarks_initialize):
7509         * gst/gstquark.h:
7510         * gst/gstquery.c: (gst_query_new_position),
7511         (gst_query_set_position), (gst_query_parse_position),
7512         (gst_query_new_duration), (gst_query_set_duration),
7513         (gst_query_parse_duration), (gst_query_new_convert),
7514         (gst_query_set_convert), (gst_query_parse_convert),
7515         (gst_query_new_segment), (gst_query_set_segment),
7516         (gst_query_parse_segment), (gst_query_new_seeking),
7517         (gst_query_set_seeking), (gst_query_parse_seeking):
7518         Add internal helpers for pre-registering quarks from static strings
7519         and using the quark values directly instead of looking them up when
7520         creating and parsing queries. Can be used for event construction too.
7521         Closes #350432.
7522
7523 2006-08-16  Wim Taymans  <wim@fluendo.com>
7524
7525         * gst/gstbin.c:
7526         Fix bogus docs.
7527
7528 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7529
7530         * gst/gstutils.c: (gst_util_set_value_from_string):
7531           Fix memleak (#351502).
7532
7533         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7534           Add unit test for most of gst_util_set_value_from_string()
7535           (not that one would want to encourage use of this function).
7536
7537 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7538
7539         * libs/gst/check/gstcheck.h:
7540           Use const gchar * variables in fail_unless_equals_string
7541           macro to avoid compiler warnings (and don't use tabs for
7542           indenting).
7543
7544 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7545
7546         * tools/gst-launch.c: (print_tag):
7547           More space on the left for the tag names, to cater
7548           for the 'extended comment' tag (not touching the
7549           string for the first line since it's translated).
7550
7551 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7552
7553         * libs/gst/check/gstcheck.h:
7554           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7555           print something when they fail.
7556
7557 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7558
7559         * docs/gst/gstreamer-sections.txt:
7560         * gst/gsttaglist.c: (_gst_tag_initialize):
7561         * gst/gsttaglist.h:
7562           API: add GST_TAG_EXTENDED_COMMENT (#350935).
7563           Also change merge function for GST_TAG_COMMENT to
7564           use_first.
7565
7566 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7567
7568         * gst/gstinfo.c: (gst_debug_print_object):
7569           Make GST_PTR_FORMAT print messages as well.
7570
7571         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7572         (GST_START_TEST), (gst_info_suite):
7573           More tests.
7574
7575 2006-08-14  Edward Hervey  <edward@fluendo.com>
7576
7577         * gst/gstelementfactory.c: (gst_element_register):
7578         If the GstElementClass doesn't have a GstElementDetails with all fields
7579         filled up correctly (longname, description AND author), then error out
7580         nicely instead of crashing.
7581
7582 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7583
7584         * gst/gststructure.c:
7585           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7586
7587         * gst/gstvalue.h:
7588           Expand on the difference between arrays and lists as we use them.
7589           
7590 2006-08-14  Wim Taymans  <wim@fluendo.com>
7591
7592         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7593         If the parent state change function failed, don't assume we can safely
7594         stop the source, this will be done when the pads are deactivated.
7595
7596 2006-08-14  Wim Taymans  <wim@fluendo.com>
7597
7598         * gst/gstbuffer.c:
7599         * gst/gsttask.c: (gst_task_join):
7600         Small doc updates.
7601
7602         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7603         (gst_pad_stop_task):
7604         When pad (de)activation failed for some reason, restore the old
7605         activation mode and set the pad to flushing instead of assuming the
7606         pad is deactivated.
7607         If the _task_join() failed, reinstall the task on the pad so that it can
7608         be stopped later and return an error.
7609
7610 2006-08-11  Andy Wingo  <wingo@pobox.com>
7611
7612         * configure.ac:
7613         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7614         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7615         is only for users of API that don't want to see deprecated
7616         functions in the headers; people that want to compile out
7617         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7618         CFLAGS. Fixes the build of multifdsink, or will soon..
7619
7620 2006-08-11  Wim Taymans  <wim@fluendo.com>
7621
7622         * docs/gst/gstreamer-sections.txt:
7623         Add GstClockClass vmethod docs.
7624
7625         * gst/gstcaps.h:
7626         Mark #endif with comment for associated #if
7627
7628         * gst/gstclock.c: (gst_clock_id_wait):
7629         * gst/gstclock.h:
7630         Add vmethod wait_jitter to avoid an unneeded _get_time() for
7631         most clock implementations.
7632         Document vmethods.
7633         Flesh out docs about resolution methods.
7634         API: GstClockClass::wait_jitter
7635
7636         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7637         (gst_system_clock_async_thread),
7638         (gst_system_clock_id_wait_jitter_unlocked),
7639         (gst_system_clock_id_wait_jitter):
7640         Use base class wait_jitter variant for improved performance
7641         due to less clock polling.
7642
7643 2006-08-11  Edward Hervey  <edward@fluendo.com>
7644
7645         * gst/gst.c: (gst_init_check), (init_post):
7646         Set gst as being initialized before scanning/updating the registry,
7647         since there might be my python plugin loader that calls gst_init() and
7648         we don't want to loop back in.
7649         Closes #350879
7650
7651 2006-08-11  Wim Taymans  <wim@fluendo.com>
7652
7653         * docs/design/part-qos.txt:
7654         Bring docs in line with the code. Mostly the sign of the jitter was
7655         wrong in the docs. Fixes #349943.
7656
7657         * gst/gstclock.c:
7658         Fix the docs for the jitter.
7659
7660         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7661         (gst_event_parse_tag), (gst_event_new_buffer_size),
7662         (gst_event_parse_buffer_size), (gst_event_parse_qos),
7663         (gst_event_new_seek), (gst_event_parse_seek),
7664         (gst_event_new_navigation):
7665         Make sure the GstStructure has no parent when creating custom
7666         events.
7667         Add some more argument checking so that we avoid 0.0 rates.
7668         Flesh out the docs for the QoS event some more.
7669
7670 2006-08-11  Wim Taymans  <wim@fluendo.com>
7671
7672         * docs/gst/gstreamer-sections.txt:
7673         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7674         (ensure_current_registry_forking), (ensure_current_registry),
7675         (parse_one_option), (parse_goption_arg), (gst_deinit),
7676         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7677         * gst/gst.h:
7678         Doc updates.
7679         Added API and command line option to disable registry forking in
7680         addition to the environment variable.
7681         Constify some static arrays.
7682         Added some more debug.
7683         Don't deinit twice.
7684         API: gst_registry_fork_is_enabled()
7685         API: gst_registry_fork_set_enabled()
7686         API: --gst-disable-registry-fork command line option
7687         Fixes #348918.
7688
7689 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
7690
7691         * gst/gst.c: (gst_init):
7692           Fix typo in error message.
7693
7694 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7695
7696         * libs/gst/controller/gstcontroller.h:
7697           fix ABI size-correction
7698
7699         * tests/check/libs/gdp.c: (gst_dp_suite):
7700           make tests that use deprecated API conditional
7701
7702 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7703
7704         * docs/libs/gstreamer-libs-sections.txt:
7705         * libs/gst/controller/gstcontroller.c:
7706         (_gst_controller_get_property), (_gst_controller_set_property),
7707         (_gst_controller_init), (_gst_controller_class_init):
7708         * libs/gst/controller/gstcontroller.h:
7709         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7710         (gst_object_set_control_rate):
7711           API: add gst_object_{s,g}et_control_rate(), add private data section,
7712           fix docs
7713
7714         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7715         * libs/gst/dataprotocol/dataprotocol.h:
7716           add deprecation guards to make gtk-doc happy and allow disabling cruft
7717
7718 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7719
7720         * tests/check/Makefile.am:
7721         * tests/check/gst/.cvsignore:
7722           Let's enable the new unit test as well.
7723
7724 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7725
7726         * configure.ac:
7727         * docs/gst/gstreamer-sections.txt:
7728         * gst/gstconfig.h.in:
7729         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7730         (_gst_info_printf_extension_ptr),
7731         (_gst_info_printf_extension_segment):
7732           API: add GST_SEGMENT_FORMAT, which is a printf extension we
7733           register that lets us easily dump GstSegments into debug
7734           logs (#350419).
7735
7736         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7737         (info_segment_format_printf_extension), (gst_info_suite):
7738           Add simple unit test that logs a bunch of different segments (not
7739           valgrinded at the moment because of leaks in
7740           gst_debug_add_log_function).
7741
7742 2006-08-09  Edward Hervey  <edward@fluendo.com>
7743
7744         * libs/gst/base/gstbasetransform.c:
7745         (gst_base_transform_buffer_alloc):
7746         Even if we can't figure out the proper format to request downstream,
7747         call buffer_alloc() downstream with the input parameters without setting
7748         the caps on the srcpad. This will force negotiation in the chain
7749         function.
7750         Closes #350449
7751
7752 2006-08-08  Edward Hervey  <edward@fluendo.com>
7753
7754         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7755         Unlinking from a pad without a target is now a perfectly valid case
7756         which should NOT raise an assertion.
7757         This case would happen if a linked ghostpad its target set to NULL after
7758         it was previously linked.
7759
7760 2006-08-08  Edward Hervey  <edward@fluendo.com>
7761
7762         * tests/check/libs/gdp.c:
7763         Also comment out the test (see below).
7764
7765 2006-08-08  Edward Hervey  <edward@fluendo.com>
7766
7767         * tests/check/libs/gdp.c: (gst_dp_suite):
7768         Use the architecture information from config.h and not gcc macros
7769         in order to properly disable a test that fails on PPC64.
7770
7771 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
7772
7773         * gst/gstelement.c: (gst_element_remove_pad):
7774           Don't crash printing the warning if the pad has no parent.
7775
7776 2006-08-02  Wim Taymans  <wim@fluendo.com>
7777
7778         * libs/gst/dataprotocol/dataprotocol.c:
7779         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7780         (gst_dp_crc), (gst_dp_header_payload_length),
7781         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7782         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7783         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7784         (gst_dp_event_from_packet), (gst_dp_validate_header),
7785         (gst_dp_validate_payload):
7786         Make debug category static
7787         Constify the crc table.
7788         Do some more arg checking in public functions.
7789         Fix some docs and do some small cleanups.
7790
7791         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7792         Add some more checks to see if GDP deals with bogus input.
7793
7794 2006-07-31  Wim Taymans  <wim@fluendo.com>
7795
7796         * gst/gstvalue.c: (gst_value_compare_list):
7797         Fix GstValueList comparison code. Fixes #347293.
7798
7799         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7800         Check to test GstValueList comparison.
7801
7802 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7803
7804         * gst/gstelementfactory.c: (gst_element_factory_create):
7805         Remove unnecessary ref/unref pair
7806
7807         * gst/parse/grammar.y:
7808         Make sure to free the parse buffer on all code paths.
7809         Move a g_free up to the error handler where it's easier to see.
7810
7811         * tests/check/gst/gstevent.c: (test_event):
7812         Extending timeout for downstream travelling events to 10 seconds to
7813         hopefully avoid intermittent failure on the buildbots.
7814
7815         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7816         Don't manually set the state of the src element - it will happen as a
7817         natural consequence of the pipeline changing state, and that way it
7818         will do it in the right order too.
7819
7820 2006-07-31  Wim Taymans  <wim@fluendo.com>
7821
7822         * libs/gst/base/gstbasetransform.c:
7823         (gst_base_transform_buffer_alloc):
7824         Use OBJECT_LOCK and refcounting to get the pad caps in the
7825         buffer_alloc function because the caps could change while we are
7826         busy with them. Fixes #349105
7827
7828 2006-07-31  Wim Taymans  <wim@fluendo.com>
7829
7830         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7831         Protect _PAD_CAPS with OBJECT_LOCK.
7832
7833 2006-07-31  Wim Taymans  <wim@fluendo.com>
7834
7835         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7836         (gst_pad_get_property), (gst_pad_activate_pull),
7837         (gst_pad_activate_push), (gst_pad_set_blocked_async),
7838         (gst_pad_set_activate_function),
7839         (gst_pad_set_activatepull_function),
7840         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7841         (gst_pad_set_getrange_function),
7842         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7843         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7844         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7845         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7846         (gst_pad_set_acceptcaps_function),
7847         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7848         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7849         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7850         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7851         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7852         (gst_pad_configure_sink), (gst_pad_configure_src),
7853         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7854         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7855         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7856         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7857         (gst_pad_send_event):
7858         Use _DEBUG_OBJECT when it makes sense.
7859         Protect GST_PAD_CAPS with the OBJECT_LOCK.
7860         Small cleanups and code reflows.
7861         Avoid caps refcounting in _accept_caps.
7862         Refactor alloc_buffer so that the code performed on the peer is in a
7863         separate function. Also if the pad does not implement a buffer alloc
7864         function, we should still check if the pad is flushing before falling
7865         back to the default allocator.
7866
7867 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7868
7869         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7870         Make all uses of identity and fakesink have silent=true to avoid
7871         serialising every passing data structure, which is breaking tests
7872         on FC4 for some unknown reason.
7873
7874 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7875
7876         * gst/parse/Makefile.am:
7877         * gst/parse/grammar.y:
7878         * gst/parse/parse.l:
7879           Reverted previous patch as it required to bump the flex dependency to
7880           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7881
7882 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7883
7884         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7885
7886         * gst/parse/Makefile.am:
7887         * gst/parse/grammar.y:
7888         * gst/parse/parse.l:
7889           push & pop the state of the lexer for reentrant use case
7890           Fixes #349180
7891
7892 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
7893
7894         * libs/gst/base/gstbasesrc.h:
7895           Note in the docs that the ::newsegment vfunc is not actually used by
7896           GstBaseSrc.
7897
7898 2006-07-28  Wim Taymans  <wim@fluendo.com>
7899
7900         * libs/gst/base/gstcollectpads.c:
7901         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7902         (gst_collect_pads_clear), (gst_collect_pads_flush),
7903         (gst_collect_pads_event), (gst_collect_pads_chain):
7904         When flushing a pad, also clear the queued buffer so that we don't
7905         accidentally use it when we shouldn't.
7906         Fix leaks by inreffing incomming buffer.
7907         Flush out queued buffers in case of errors.
7908         Fixes #347452.
7909
7910 2006-07-28  Wim Taymans  <wim@fluendo.com>
7911
7912         * docs/random/phonon-gst:
7913         Random notes about a Phonon backend.
7914
7915 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7916
7917         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7918         Extra debug output
7919         * tests/check/libs/gdp.c: (gst_dp_suite):
7920         Take a whack at fixing the ppc compile using a different define to
7921         disable the broken test.
7922
7923         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7924         Remove excess g_print()
7925
7926 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7927
7928         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7929         Oops, meant to uncomment this line too to dampen the noise a bit.
7930
7931 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7932
7933         * gst/parse/grammar.y:
7934         * gst/parse/parse.l:
7935         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7936         (GST_START_TEST), (parse_suite):
7937         Fix some of the leaks exposed by extending the parse-launch testsuite,
7938         and move the 3 I can't figure out into a separate test that won't run
7939         the pipelines unless the appropriate line is uncommented.
7940
7941 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7942
7943         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7944           Requesting 0 bytes before the end of the file should result in
7945           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7946           unit test.
7947
7948 2006-07-27  Wim Taymans  <wim@fluendo.com>
7949
7950         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7951         Fix useless assert, a uint is always positive.
7952
7953         * gst/gststructure.c: (gst_structure_nth_field_name),
7954         (gst_structure_foreach), (gst_structure_map_in_place):
7955         Check input arguments for public functions to avoid obvious crashes.
7956
7957         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7958         * plugins/elements/gstfakesink.h:
7959         Do less useless typechecking.
7960
7961 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7962
7963         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7964           Do not use mmap() by default since there are a number of error
7965           conditions that we would like to handle in a non-fatal way that
7966           will result in a SIGBUS if we use mmap(). Examples: external
7967           devices (USB harddrive, portable music player) being unplugged
7968           while in use; file on mounted CD/DVD that can't be read because
7969           the medium is partly damaged. Fixes #348455 and #348475.
7970
7971 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7972
7973         * gst/gstquery.h:
7974         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7975         rates are a gdouble
7976
7977 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
7978
7979         * gst/gstregistry.c:
7980           Move big documentation comment into class section header, so that it
7981           appears in the API docs.
7982
7983 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7984
7985         * docs/gst/gstreamer-sections.txt:
7986         Oops. Commit the docs additions too for new API.
7987         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7988
7989 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7990
7991         * gst/gststructure.c: (gst_structure_id_set),
7992         (gst_structure_id_set_valist):
7993         * gst/gststructure.h:
7994         Add API for setting values into structures without performing
7995         a quark lookup, if the appropriate quark is already known.
7996
7997         API: gst_structure_id_set
7998         API: gst_structure_id_set_valist
7999
8000         * gst/parse/grammar.y:
8001         * gst/parse/parse.l:
8002         Remove some dead code shown by the coverage information.
8003         Don't throw a critical g_warning when encountering a syntax error,
8004         just warn and let the normal error path handle it.
8005
8006         * plugins/elements/gstelements.c:
8007         Bump the rank of filesink up to PRIMARY so that it is preferred over
8008         gnomevfssink for file:// sink uri's
8009
8010         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8011         (GST_START_TEST), (run_delayed_test),
8012         (gst_parse_test_element_base_init),
8013         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
8014         (gst_parse_test_element_change_state),
8015         (gst_register_parse_element), (parse_suite):
8016         Beef up the tests for parse syntax to check that more error cases
8017         fail as they are supposed to. Increases the test coverage a bit.
8018
8019 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
8020
8021         * docs/manual/basics-elements.xml:
8022           Fix gst_element_link() example.
8023
8024         * gst/gstutils.c:
8025           Mention in API docs that one should usually gst_bin_add()
8026           elements to a bin or pipeline before doing the linking.
8027           
8028 2006-07-26  Wim Taymans  <wim@fluendo.com>
8029
8030         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
8031         (gst_subbuffer_get_type), (gst_buffer_create_sub):
8032         Avoid function call for known types by keeping the buffer and
8033         subbuffer GType global.
8034
8035         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8036         Random silly optimisations in read() path.
8037
8038 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
8039
8040         * tools/gst-launch.c: (main):
8041           If the top-level of the parse is a normal bin, it doesn't do the
8042           right logic to run as a top-level element, so place it inside a
8043           pipeline.
8044
8045 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
8046
8047         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
8048           Remove superfluous g_object_notify() calls, GObject does
8049           that for us automatically.
8050
8051 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
8052
8053         * gst/gstinfo.h:
8054           on Win32, use dllspec to export the debug category symbols
8055
8056 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
8057
8058         * gst/gsttaglist.c: (_gst_tag_initialize):
8059           Allow more than one GST_TAG_IMAGE per taglist.
8060
8061 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8062
8063         * gst/gstminiobject.c:
8064           update docs
8065         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
8066         (gst_fd_src_create):
8067           log recurring events at LOG level
8068           add more debug for when the fd gets set
8069
8070 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
8071
8072         * gst/gstparse.c: (gst_parse_launch):
8073           Also remove reentrance checks if flex is MT safe (#348179)
8074          Fix my empty ChangeLog entry below
8075
8076 2006-07-21  Andy Wingo  <wingo@pobox.com>
8077
8078         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
8079
8080         * libs/gst/check/Makefile.am
8081         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
8082         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
8083         * libs/gst/check/gstbufferstraw.h:
8084         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
8085         functions, thus proving I am still a GStreamer haxor. OK I wrote
8086         them a long time ago, but anyways.
8087
8088 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
8089
8090         * configure.ac:
8091         * gst/gstparse.c: (gst_parse_launch):
8092           Check for flex version and omit mutex if we have a MT save flex
8093           (fixes #348179)
8094
8095 2006-07-21  Wim Taymans  <wim@fluendo.com>
8096
8097         * gst/gstparse.c: (gst_parse_launch):
8098         Protect recursive calls to _parse with a recursive mutex
8099         and busy flag.
8100
8101 2006-07-21  Wim Taymans  <wim@fluendo.com>
8102
8103         * tests/check/gst/gstpad.c: (GST_START_TEST):
8104         Fix leak in test.
8105
8106 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
8107
8108         * gst/gstparse.c: (gst_parse_launch):
8109           Do not hang on recursive usage of gst_parse_launch()
8110
8111 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8112
8113         * gst/gsttaglist.c:
8114           Add some more docs, comments and FIXME 0.11s here and there
8115           and also fix some typos.
8116
8117 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8118
8119         * gst/gstsegment.h:
8120           Convert tabs to spaces for better readability. 
8121
8122 2006-07-20  Edward Hervey  <edward@fluendo.com>
8123
8124         * tests/check/libs/gdp.c: (gst_dp_suite):
8125         the test_buffer test fails at line 140 on ppc64 at the following
8126         check:
8127         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8128                 GST_BUFFER_FLAG_IN_CAPS),
8129                 "GST_BUFFER_IN_CAPS flag should have been copied !");
8130         See bug #348114 for more details.
8131
8132 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
8133
8134         * docs/pwg/advanced-scheduling.xml:
8135         * gst/gstpad.c:
8136           Fix typos (#348000).
8137
8138 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
8139
8140         * docs/pwg/intro-basics.xml:
8141           Fix wrong links (#347927).
8142
8143 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
8144
8145         * gst/gstregistry.h:
8146         * gst/gstregistryxml.c: (load_feature),
8147         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8148         * win32/common/config.h:
8149           make --disable-index work (#342564)
8150
8151 2006-07-18  Wim Taymans  <wim@fluendo.com>
8152
8153         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8154
8155         * gst/Makefile.am:
8156         * gst/gsttrace.h:
8157         The attached patch adds two missing defines to gsttrace.h when tracing
8158         is disabled.  It also corrects one existing define.
8159         Fixes #347756.
8160
8161 2006-07-17  Wim Taymans  <wim@fluendo.com>
8162
8163         * docs/gst/gstreamer-sections.txt:
8164         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8165         * gst/gst.h:
8166         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8167         Add two functions to check and change the SIGSEGV behaviour
8168         when loading plugins.
8169         Don't mess with the SIGSEGV handler when we were told not to.
8170         Fixes #347794.
8171         API: gst_segtrap_is_enabled
8172         API: gst_segtrap_set_enabled
8173
8174 2006-07-14  Wim Taymans  <wim@fluendo.com>
8175
8176         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8177         * tests/check/elements/filesrc.c: (GST_START_TEST):
8178         Revert fix for regression in #347408 after release.
8179
8180 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
8181
8182         Patch by: Antoine Tremblay <hexa00 at gmail com>
8183
8184         * gst/gstutils.c: (gst_element_unlink):
8185           Free iterator when done (#347311).
8186
8187         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8188           And add a test case for this.
8189
8190 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
8191
8192         * configure.ac:
8193         Bump nano back to CVS
8194
8195 === release 0.10.9 ===
8196
8197 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
8198
8199         * configure.ac:
8200           releasing 0.10.9, "On the road again"
8201
8202 2006-07-13  Wim Taymans  <wim@fluendo.com>
8203
8204         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8205         * tests/check/elements/filesrc.c: (GST_START_TEST):
8206         Revert pull-0 fix for release. Disable check. Fixes #347408.
8207
8208 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8209
8210         * libs/gst/dataprotocol/dataprotocol.c:
8211         (gst_dp_event_from_packet_1_0):
8212           Fixes #347337: failure to deserialize event packets with
8213           empty payload (only event type)
8214
8215 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8216
8217         * gst/Makefile.am:
8218           do not install a .c file in the header directory
8219
8220 2006-07-13  Edward Hervey  <edward@fluendo.com>
8221
8222         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8223         GhostPad no longer implicitely use the padtemplates of the targets.
8224         Fixes #347384
8225
8226 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
8227
8228         * gst/gstvalue.c: (gst_value_compare_list),
8229         (gst_value_compare_array), (_gst_value_initialize):
8230         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8231         Make GstValueArray comparison be order dependent as designed.
8232         Add checks for value lists and value array comparisons.
8233         Fixes #347221
8234
8235 2006-07-11  Edward Hervey  <edward@fluendo.com>
8236
8237         * gst/gstbin.c: (activate_pads),
8238         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8239         (gst_bin_change_state_func):
8240         (de)activate src pads before calling state_change on the childs.
8241         This is to avoid the case where a src ghostpad is blocked (holding the
8242         stream lock), which would block the deactivation of the ghostpad's
8243         target pad.
8244         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8245         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8246         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8247         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8248         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8249         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8250         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8251         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8252         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8253         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8254         (gst_ghost_pad_class_init),
8255         (gst_ghost_pad_internal_do_activate_push),
8256         (gst_ghost_pad_internal_do_activate_pull),
8257         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8258         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8259         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8260         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8261         GhostPads now create their internal GstProxyPad at creation (and not
8262         when they're linked, as it was being done previously).
8263         The internal and target pads are linked straight away.
8264         The data will also travel through the other pad in order to make
8265         pad blocking and probes non-hackish (the probe/block now really happens
8266         on the GhostPad and not on the target).
8267         * gst/gstpad.c: (gst_pad_set_blocked_async),
8268         (gst_pad_link_prepare), (gst_pad_push_event):
8269         Remove previous ghostpad cruft.
8270         * gst/gstutils.c: (gst_pad_add_data_probe),
8271         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8272         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8273         (gst_pad_remove_buffer_probe):
8274         Remove previous ghost pad cruft.
8275         Added more detailed debug statements.
8276         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8277         Fix the testsuite for refcounting changes.
8278         The comments about who has references were correct, but the refcount
8279         being checked wasn't the same (!?!).
8280
8281         Fixes #341029
8282
8283 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8284
8285         * docs/gst/gstreamer-sections.txt:
8286         * gst/gstconfig.h.in:
8287         More docs for configuration options, add docs to gtk-doc.
8288
8289 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8290
8291         * gst/Makefile.am:
8292         * gst/gstconfig.h.in:
8293         * win32/common/config.h:
8294         Fix build when disabling tracing (fixes #344016). Also start to document
8295         the defines that disable the sub-systems.
8296
8297 2006-07-10  Edward Hervey  <edward@fluendo.com>
8298
8299         * gst/gst.c: (ensure_current_registry_forking):
8300         let's make valgrind happy...
8301
8302 2006-07-09  Wim Taymans  <wim@fluendo.com>
8303
8304         * gst/gstelement.c: (activate_pads),
8305         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8306         Better pad activation code: Reset the collect value too on resync.
8307         Add some comments.
8308
8309 2006-07-09  Wim Taymans  <wim@fluendo.com>
8310
8311         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8312         (gst_pad_activate_push):
8313         Use some more macros where it makes sense.
8314         Allow pad mode switching instead of asserting. When a pad
8315         is activated in one mode and we activate it in another, 
8316         deactivate it first before activating it in a different mode.
8317         Fixes #329198.
8318
8319 2006-07-08  Andy Wingo  <wingo@pobox.com>
8320
8321         * tools/gst-launch.c (main): Handle err == NULL.
8322
8323         * gst/gst.c (init_post, ensure_current_registry)
8324         (ensure_current_registry_forking)
8325         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8326         factoring out the registry scanning into separate functions. Don't
8327         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8328         Better environment var name/interface suggestions accepted.
8329
8330 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8331
8332         * gst/gstobject.c: (gst_object_set_name_default),
8333         (gst_object_set_name):
8334           Random micro-optimisation: don't use a hash table
8335           with strings as keys and the usual strdup/strcmp
8336           involved, but rather just use the GQuark of the
8337           type name as key, since it needs to be looked up
8338           anyway to get the type name string.
8339
8340         * tests/check/gst/gstobject.c: (GST_START_TEST):
8341           Fix various leaks.
8342
8343 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8344
8345         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8346         (gst_bin_iterate_all_by_interface):
8347           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8348           GTypes are gulongs and thus the top 4 bytes might be cut
8349           off on some platforms when doing GPOINTER_TO_INT, leading
8350           to invalid GTypes and bad things happening (see RH bug #179654).
8351           Also add a check to make sure the type passed in is really
8352           an interface type.
8353
8354 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8355
8356         * .cvsignore:
8357           Ignore more.
8358
8359 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8360
8361         * Makefile.am:
8362         * configure.ac:
8363         * gst-element-check.m4:
8364         * gst-element-check.m4.in:
8365           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8366           instead of the unversioned gst-inspect (#324176, #168659).
8367
8368 2006-07-06  Wim Taymans  <wim@fluendo.com>
8369
8370         * gst/gstmessage.h:
8371         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8372         warnings.
8373
8374 2006-07-06  Wim Taymans  <wim@fluendo.com>
8375
8376         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8377         (gst_base_src_wait), (gst_base_src_update_length),
8378         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8379         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8380         (gst_base_src_loop), (gst_base_src_start),
8381         (gst_base_src_activate_pull):
8382         Update docs.
8383         blocksize == 0 now means the default blocksize when working in push
8384         based mode.
8385         Remove some pointless asserts in _wait function.
8386         Fix offset/length calculations and EOS handling. We can now pull 0
8387         bytes as well, which is allowed.
8388         use _check_get_range() to decide if we can operate in _pull based
8389         mode.
8390         Fix refcounting leak when check_get_range function was not 
8391         implemented.
8392         API GstBaseSrc::blocksize range can be 0 too now (default)
8393
8394         * tests/check/elements/filesrc.c: (GST_START_TEST),
8395         (filesrc_suite):
8396         Added check to test _get_range() behaviour.
8397
8398 2006-07-06  Wim Taymans  <wim@fluendo.com>
8399
8400         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8401         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8402         (gst_pad_pull_range):
8403         * gst/gstpad.h:
8404         Lots of comments and docs added to the pad functions.
8405         Flesh out the expected behaviour of the get_range() functions.
8406
8407 2006-07-06  Wim Taymans  <wim@fluendo.com>
8408
8409         * gst/gstbus.h:
8410         * gst/gstclock.h:
8411         * gst/gstevent.h:
8412         * gst/gstiterator.h:
8413         * gst/gstpad.h:
8414         * gst/gstplugin.h:
8415         * gst/gsttask.h:
8416         Remove comma at end of enumerator list. 
8417
8418 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
8419
8420         * win32/common/libgstbase.def:
8421         * win32/common/libgstdataprotocol.def:
8422         * win32/common/libsgtreamer.def:
8423         Add new exported functions.
8424
8425 2006-07-05  Wim Taymans  <wim@fluendo.com>
8426
8427         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8428         Add some more docs here and there.
8429
8430 2006-07-05  Wim Taymans  <wim@fluendo.com>
8431
8432         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8433         (gst_base_sink_loop), (gst_base_sink_get_position):
8434         When operating in pull mode update the offset so that we
8435         read sequentially.
8436
8437 2006-07-05  Wim Taymans  <wim@fluendo.com>
8438
8439         * gst/gstregistryxml.c: (read_string):
8440         Avoid strdup. (will happen in libxml, but hey!)
8441
8442         * gst/gsturi.c:
8443         Add some more docs.
8444
8445 2006-07-05  Wim Taymans  <wim@fluendo.com>
8446
8447         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8448         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8449         (gst_buffer_suite):
8450         No point in checking if the size of the subbuffer > 0, the
8451         code handles it correclty as demonstrated by unit test.
8452         Also add a unit test for the zero sized _new_and_alloc and
8453         _copy. Fixes #346663.
8454
8455 2006-07-05  Wim Taymans  <wim@fluendo.com>
8456
8457         * libs/gst/base/gstbasetransform.c:
8458         (gst_base_transform_prepare_output_buffer),
8459         (gst_base_transform_buffer_alloc),
8460         (gst_base_transform_handle_buffer):
8461         Make sure the buffer we pass to transform_ip has a refcount of
8462         1 and thus is writable. Fixes #343196
8463
8464 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
8465
8466         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8467         (gst_file_src_init), (gst_file_src_set_property),
8468         (gst_file_src_get_property), (gst_file_src_map_region):
8469         * plugins/elements/gstfilesrc.h:
8470         Add "sequential" property, off by default, to use madvise and hint
8471         to the kernel that sequential access is desired.
8472         Touch all retrieved pages by default to ensure they are pulled
8473         into memory. (Closes #345720)
8474
8475 2006-07-03  Wim Taymans  <wim@fluendo.com>
8476
8477         * docs/design/part-block.txt:
8478         * docs/design/part-dynamic.txt:
8479         Small docs updates.
8480
8481 2006-07-03  Wim Taymans  <wim@fluendo.com>
8482
8483         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8484         (gst_caps_unref), (gst_static_caps_get),
8485         (gst_caps_append_structure):
8486         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8487         Use GSlice when the glib we build against is >= 2.10
8488
8489 2006-07-03  Wim Taymans  <wim@fluendo.com>
8490
8491         * gst/gstelement.c: (gst_element_pads_activate):
8492         Small cleanup in pad activation code.
8493
8494 2006-07-03  Wim Taymans  <wim@fluendo.com>
8495
8496         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8497
8498         * gst/gst-i18n-app.h:
8499         * gst/gst-i18n-lib.h:
8500         * tools/gst-inspect.c: (print_signal_info):
8501         The attached patch will make the inclusion of gettext.h unconditional in
8502         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8503         libintl.h in tools/gst-inspect.c.
8504         This allows use of --disable-nls again and fixes #344642.
8505
8506 2006-07-03  Edward Hervey  <edward@fluendo.com>
8507
8508         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8509         Implement pad blocking on events according to part-block.txt.
8510         More comments on behaviour.
8511         * tests/check/gst/gstevent.c: (test_event):
8512         Send event to peer pad of blocked pad (else it will block).
8513
8514 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8515
8516         * libs/gst/check/gstcheck.c: (gst_check_message_error),
8517         (gst_check_run_suite):
8518           if we get the wrong message, give us the types as string
8519         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8520           Fix a translatable
8521         * tests/check/elements/filesrc.c: (GST_START_TEST):
8522           add a test for trying to open a non-existing file
8523
8524 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8525
8526         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8527           add a test for adding self
8528
8529 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8530
8531         * libs/gst/check/gstcheck.h:
8532           add some assert_ as alias for fail_unless_*
8533         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8534           increase test coverage
8535
8536 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8537
8538         * Makefile.am:
8539           include lcov.mak for lcov coverage generation
8540         * tools/Makefile.am:
8541           add to CLEANFILES
8542
8543 2006-07-02  Edward Hervey  <edward@fluendo.com>
8544
8545         * tests/check/elements/.cvsignore:
8546         moaping
8547
8548 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8549
8550         * configure.ac:
8551           don't set CFLAGS and friends for gcov, done from GST_GCOV now
8552         * tests/check/Makefile.am:
8553           clean up gcov files
8554
8555 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8556
8557         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8558           remove gst_caps_simplify; it was not declared and not used
8559           and deprecated in 0.8
8560
8561 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8562
8563         * docs/faq/gst-uninstalled:
8564           don't put empty paths on PYTHONPATH
8565         * docs/gst/gstreamer-sections.txt:
8566           remove some symbols that are not there
8567
8568 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8569
8570         * gst/gstcaps.c: (gst_caps_compare_structures):
8571           whitespace fixes
8572         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8573         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8574           add more tests
8575
8576 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8577
8578         * libs/gst/dataprotocol/Makefile.am:
8579           build dataprotocol test by linking to the lib, instead of
8580           compiling the source, so we get coverage
8581         * tests/check/Makefile.am:
8582         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8583         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8584           add a test for filesrc
8585
8586 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8587
8588         * tests/check/gst/gststructure.c: (GST_START_TEST),
8589         (gst_structure_suite):
8590           Push coverage from 59.04% to 70.00%
8591
8592 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8593
8594         * tests/check/Makefile.am:
8595           gst-inspect every element; this makes sure that we also get
8596           coverage on element's get/set functions
8597
8598 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8599
8600         * configure.ac:
8601           set CFLAGS and friends to -O0 if gcov is being used
8602           add GCOV LIBS
8603         * gst/Makefile.am:
8604         * libs/gst/base/Makefile.am:
8605         * libs/gst/check/Makefile.am:
8606         * libs/gst/controller/Makefile.am:
8607         * libs/gst/dataprotocol/Makefile.am:
8608         * libs/gst/net/Makefile.am:
8609         * plugins/elements/Makefile.am:
8610         * plugins/indexers/Makefile.am:
8611           add makefile rules to generate gcov data and clean up
8612         * tests/check/Makefile.am:
8613           add a coverage target that generates an html overview
8614           of coverage data
8615
8616 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8617
8618         * tests/check/elements/fakesink.c:
8619         * tests/check/elements/fakesrc.c:
8620         * tests/check/elements/fdsrc.c:
8621         * tests/check/elements/identity.c:
8622         * tests/check/generic/sinks.c: (gst_sinks_suite):
8623         * tests/check/generic/states.c:
8624         * tests/check/gst/gst.c:
8625         * tests/check/gst/gstabi.c:
8626         * tests/check/gst/gstbin.c:
8627         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8628         * tests/check/gst/gstbus.c: (gst_bus_suite):
8629         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8630         * tests/check/gst/gstelement.c:
8631         * tests/check/gst/gstevent.c: (gst_event_suite):
8632         * tests/check/gst/gstghostpad.c:
8633         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8634         * tests/check/gst/gstmessage.c: (gst_message_suite):
8635         * tests/check/gst/gstminiobject.c:
8636         * tests/check/gst/gstobject.c:
8637         * tests/check/gst/gstpad.c:
8638         * tests/check/gst/gstpipeline.c:
8639         * tests/check/gst/gstplugin.c:
8640         * tests/check/gst/gstquery.c: (gst_query_suite):
8641         * tests/check/gst/gstsegment.c: (gst_segment_suite):
8642         * tests/check/gst/gststructure.c:
8643         * tests/check/gst/gstsystemclock.c:
8644         * tests/check/gst/gsttag.c:
8645         * tests/check/gst/gsttask.c: (gst_task_suite):
8646         * tests/check/gst/gstutils.c:
8647         * tests/check/gst/gstvalue.c:
8648         * tests/check/libs/adapter.c:
8649         * tests/check/libs/basesrc.c:
8650         * tests/check/libs/collectpads.c:
8651         * tests/check/libs/controller.c:
8652         * tests/check/libs/gdp.c: (gst_dp_suite):
8653         * tests/check/libs/gstnetclientclock.c:
8654         * tests/check/libs/gstnettimeprovider.c:
8655         * tests/check/libs/libsabi.c: (libsabi_suite):
8656         * tests/check/libs/typefindhelper.c:
8657         * tests/check/pipelines/cleanup.c:
8658         * tests/check/pipelines/parse-launch.c:
8659         * tests/check/pipelines/simple-launch-lines.c:
8660         * tests/check/pipelines/stress.c: (stress_suite):
8661           use the new macro
8662
8663 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8664
8665         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8666         * libs/gst/check/gstcheck.h:
8667           create a macro and function so that the simple unit test
8668           case can be just one macro to create main()
8669
8670 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
8671
8672         * gst/gstbin.c: (gst_bin_restore_thyself):
8673         * gst/gstxml.c: (gst_xml_make_element):
8674           Fix deserialisation from XML. Set parent manually
8675           instead of using gst_bin_add(), since gst_bin_add()
8676           will unlink all pads of the element being added.
8677           Fixes #341667.
8678
8679 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
8680
8681         Patch by: Peter Kjellerstedt <pkj at axis com>
8682
8683         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8684           Fix missing g_strdup() and double free when using the
8685           --gst-plugin-load command line option (#346097).
8686
8687 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8688
8689         * gst/gstinfo.c:
8690           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8691
8692         * libs/gst/net/gstnetclientclock.c:
8693         * libs/gst/net/gstnettimeprovider.c:
8694           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8695
8696 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8697
8698         * docs/manual/advanced-dataaccess.xml:
8699           Fix buffer probe example compilation in
8700           ADM (#345708).
8701         
8702 2006-06-22  Edward Hervey  <edward@fluendo.com>
8703
8704         * gst/gstelement.c: (gst_element_pads_activate):
8705         We need to deactivate src pads first and then sink pads.
8706         The reason is the src pads might be blocking while holding the streaming
8707         lock, so we need to deactivate them first so that deactivating the sink
8708         pads doesn't block (since it will require the streaming lock).
8709
8710 2006-06-22  Wim Taymans  <wim@fluendo.com>
8711
8712         * libs/gst/base/gstbasetransform.c:
8713         (gst_base_transform_buffer_alloc):
8714         Forgot to remove two unneeded unrefs.
8715         Simplify a check _is_equal allready checks the obvious case.
8716
8717 2006-06-22  Wim Taymans  <wim@fluendo.com>
8718
8719         * docs/design/part-block.txt:
8720         Some docs about what pad_block should do.
8721
8722 2006-06-22  Wim Taymans  <wim@fluendo.com>
8723
8724         * gst/gstcaps.c: (gst_caps_replace):
8725         Fix crasher when passed NULL. Doc clarification.
8726         Optimize for the trivial case.
8727
8728         * gst/gstpipeline.c: (gst_pipeline_change_state):
8729         Small cleanups.
8730
8731         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8732         Small documentation cleanup.
8733
8734         * libs/gst/base/gstbasetransform.c:
8735         (gst_base_transform_buffer_alloc):
8736         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8737         is what we need and it avoids a whole lot of redundant 
8738         refcount operations.
8739
8740 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
8741
8742         Patch by: Philip Jägenstedt  <philip at lysator liu se>
8743
8744         * docs/manual/advanced-dataaccess.xml:
8745           Fix 'Embedding static elements' section to use
8746           GST_PLUGIN_DEFINE_STATIC (#345607).
8747
8748 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8749
8750         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8751           Attempt to 'fix' spuriously failing test case: it seems like the
8752           timeout of half a second is simply too small when the system is under
8753           load otherwise, and the timeout doesn't really seem to serve any
8754           particular purpose here. Give the pipeline a few seconds to preroll
8755           first, and then give it another half a second to go from PAUSED to
8756           PLAYING and marshal the message into the main thread.
8757
8758 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8759
8760         * tools/gst-feedback-m.m:
8761           Don't only use unversioned tools, try versioned tools as well
8762           (#345086).
8763
8764 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8765
8766         * gst/gstbus.c: (gst_bus_class_init):
8767           Fix some typos, make docs more explicit.
8768
8769 2006-06-20  Wim Taymans  <wim@fluendo.com>
8770
8771         * tests/check/gst/gstghostpad.c: (block_callback),
8772         (GST_START_TEST), (gst_ghost_pad_suite):
8773         Added some more ghostpad tests, mainly blocking
8774         and probes.
8775
8776 2006-06-16  Wim Taymans  <wim@fluendo.com>
8777
8778         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8779         (gst_file_sink_close_file), (gst_file_sink_do_seek),
8780         (gst_file_sink_event), (gst_file_sink_render):
8781         * plugins/elements/gstfilesink.h:
8782         Check if we can seek in the file instead of assuming
8783         we always can. Post an error when we are asked to seek in a
8784         non-seekable file (like a fifo). Fixes #343312.
8785         Some cleanups.
8786
8787 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8788
8789         * tools/gst-launch.1.in:
8790           Un-garble (fourcc) bit in filtered caps section.
8791
8792 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8793
8794         * docs/manual/advanced-autoplugging.xml:
8795         * docs/manual/basics-helloworld.xml:
8796         * docs/manual/highlevel-components.xml:
8797           Don't leak bus reference in sample code.
8798
8799 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
8800
8801         * autogen.sh:
8802           Add default for new --enable-plugin-docs switch.
8803
8804         * configure.ac:
8805           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8806           Fixes #344039.
8807
8808         * docs/Makefile.am:
8809           Use new ENABLE_PLUGIN_DOCS conditional.
8810
8811 2006-06-14  Wim Taymans  <wim@fluendo.com>
8812
8813         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8814         Make it clear with a FIXME and a real define what the #if 0
8815         previously disabled.
8816
8817 2006-06-14  Wim Taymans  <wim@fluendo.com>
8818
8819         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8820         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8821         * libs/gst/base/gstbasetransform.c:
8822         (gst_base_transform_sink_eventfunc):
8823         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8824         Don't randomly and silently reset a segment when the format 
8825         changes as this is a bug somewhere upstream. Fixes #330379.
8826
8827 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8828
8829         Patch by: Wouter Paesen  <wouter at kangaroot net>
8830
8831         * libs/gst/controller/gstcontroller.c:
8832         (gst_controlled_property_new):
8833           Fix controlling of float properties (#344849).
8834
8835         * tests/check/libs/controller.c:
8836         (gst_test_mono_source_get_property),
8837         (gst_test_mono_source_set_property),
8838         (gst_test_mono_source_class_init), (GST_START_TEST):
8839           While we're at it, add some float stuff to unit test.
8840
8841 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8842
8843         * docs/README:
8844         * docs/images/gdp-header.svg:
8845           add a gdp image
8846         * docs/libs/Makefile.am:
8847         * docs/libs/gdp-header.png:
8848         * libs/gst/dataprotocol/dataprotocol.c:
8849           add it to the API docs
8850         * docs/manual/intro-motivation.xml:
8851           fix typo
8852
8853 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8854
8855         * gst/gst.c: (scan_and_update_registry), (init_post):
8856           If the fork()'ed child process can't write the updated registry cache
8857           file to disk for some reason, make it exit with a failure exit code,
8858           so that the parent can then re-scan the plugins itself and update the
8859           registry structures in memory and work with that (rather than failing
8860           when creating elements because seemingly no plugins are available).
8861           Refactor registry scanning code into separate function for this and
8862           also separate fork() and non-fork() code paths. Fixes #344748.
8863
8864 2006-06-13  Wim Taymans  <wim@fluendo.com>
8865
8866         * docs/manual/advanced-dataaccess.xml:
8867         Fix wrong PluginDesc. Fixes #344755.
8868
8869 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8870
8871         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8872           Fix silly bug that prevented us from creating
8873           ~/.gstreamer-0.10 and writing the registry in one
8874           go (the first call to g_mkstemp() would overwrite the
8875           placeholder in the template string, so the second call
8876           to g_mkstemp() after creating the missing directory
8877           would then error out with 'invalid argument').
8878
8879 2006-06-13  Edward Hervey  <edward@fluendo.com>
8880
8881         * gst/gst.c: (init_post):
8882         Free string.
8883
8884 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8885
8886         * gst/glib-compat-private.h:
8887         * gst/glib-compat.c:
8888         * gst/glib-compat.h:
8889         * gst/gstvalue.c: (gst_value_serialize_flags):
8890           remove GLib 2.6 compatibility code
8891
8892 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
8893
8894         * gst/parse/Makefile.am:
8895           Fix build with 'make -j N' even more (#340016).
8896
8897 2006-06-12  Wim Taymans  <wim@fluendo.com>
8898
8899         * docs/gst/gstreamer-sections.txt:
8900         Fix docs.
8901
8902 2006-06-12  Wim Taymans  <wim@fluendo.com>
8903
8904         * gst/gstsegment.c: (gst_segment_set_duration),
8905         (gst_segment_set_last_stop), (gst_segment_set_seek),
8906         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8907         (gst_segment_to_running_time), (gst_segment_clip):
8908         Use G_UNLIKELY to help the compiler a bit.
8909
8910 2006-06-12  Wim Taymans  <wim@fluendo.com>
8911
8912         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8913
8914         * gst/gstevent.c: (gst_event_get_type):
8915         * gst/gstmessage.c:
8916         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8917         (gst_pad_push):
8918         constify quark registration strings. Fixes #344115
8919         Avoid unneeded type checking is _pad_push() by internally
8920         calling gst_pad_chain_unchecked().
8921
8922 2006-06-12  Wim Taymans  <wim@fluendo.com>
8923
8924         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8925         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8926         (gst_subbuffer_finalize), (gst_buffer_create_sub),
8927         (gst_buffer_is_span_fast), (gst_buffer_span):
8928         Init _type for consistency.
8929         Use _FLAGS macro to avoid type check.
8930         Avoid unneeded type checks in subbufer code.
8931
8932 2006-06-12  Wim Taymans  <wim@fluendo.com>
8933
8934         * gst/gst.c: (gst_debug_help):
8935         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8936         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8937         (gst_plugin_feature_list_free):
8938         * gst/gstregistry.c: (gst_registry_add_plugin),
8939         (gst_registry_add_feature), (gst_registry_plugin_filter),
8940         (gst_registry_feature_filter), (gst_registry_find_plugin),
8941         (gst_registry_find_feature), (gst_registry_get_plugin_list),
8942         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8943         * gst/gstregistryxml.c: (load_feature),
8944         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8945         * gst/gstminiobject.c: (gst_mini_object_unref),
8946         (gst_mini_object_replace), (gst_value_mini_object_free),
8947         (gst_value_mini_object_copy):
8948         Use _CAST macros to avoid unneeded type checking.
8949         Added some more G_UNLIKELY.
8950
8951 2006-06-12  Wim Taymans  <wim@fluendo.com>
8952
8953         * gst/gstbuffer.h:
8954         Avoid unneeded type checking.
8955         API: GST_BUFFER_IS_DISCONT
8956
8957         * gst/gstminiobject.h:
8958         Avoid type check in flag accessor.
8959
8960         * gst/gstelementfactory.h:
8961         * gst/gstplugin.h:
8962         * gst/gstpluginfeature.h:
8963         Add _CAST macros.
8964         API: GST_ELEMENT_FACTORY_CAST
8965         API: GST_PLUGIN_CAST
8966         API: GST_PLUGIN_FEATURE_CAST
8967
8968 2006-06-12  Wim Taymans  <wim@fluendo.com>
8969
8970         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8971         (gst_object_unref):
8972         Add G_UNLIKELY in type registration.
8973         Avoid type check in _ref/_unref since that is also
8974         done in glib.
8975
8976 2006-06-12  Wim Taymans  <wim@fluendo.com>
8977
8978         * gst/gsterror.c: (gst_g_error_get_type):
8979         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8980         (gst_static_pad_template_get_type):
8981         * gst/gsttaglist.c: (gst_tag_list_get_type):
8982         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8983         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8984         * gst/gsturi.c: (gst_uri_handler_get_type):
8985         * gst/gstvalue.c: (gst_date_get_type):
8986         * gst/gstxml.c: (gst_xml_get_type):
8987         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8988         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8989         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8990         Add G_UNLIKELY in type registration.
8991
8992 2006-06-12  Wim Taymans  <wim@fluendo.com>
8993
8994         * tools/gst-inspect.c: (print_signal_info):
8995         Properly print enum values.
8996
8997 2006-06-12  Wim Taymans  <wim@fluendo.com>
8998
8999         * gst/gstinfo.c: (gst_debug_set_active),
9000         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
9001         * gst/gstinfo.h:
9002         Add some G_[UN]LIKELY.
9003         Maintain __gst_debug_min to avoid formatting the arguments of
9004         debug messages that will be dropped anyway to avoid a lot of 
9005         overhead from the debugging system.
9006
9007 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9008
9009         * po/POTFILES.in:
9010         * po/POTFILES.skip:
9011           add missing files containing translatable strings, tell intltool about
9012           one exception
9013
9014 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9015
9016         * tests/check/libs/.cvsignore:
9017         add test-binary to ignore list
9018
9019 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9020
9021         * docs/libs/gstreamer-libs-docs.sgml:
9022         reorder (put dp into a chapter) and indent
9023
9024 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9025
9026         * configure.ac:
9027           back to HEAD
9028
9029 === release 0.10.8 ===
9030
9031 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
9032
9033         * configure.ac:
9034           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
9035
9036 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9037
9038         * gst/gst.c: (init_post):
9039           move pid declaration to declaration block
9040
9041 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9042
9043         * gst/gst.c: (init_post):
9044           use _exit() instead of exit() in our forked child; this ensures
9045           that none of the registered exit handlers from whatever is using
9046           GStreamer get executed.  This fixes gnome-mixer-applet failing
9047           to load, because ORBit would shut down.
9048           Spotted by: Edward Hervey  <edward@fluendo.com>
9049           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
9050           Fixes #344474
9051
9052 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9053
9054         * configure.ac:
9055           back to TRUNK
9056
9057 === release 0.10.7 ===
9058
9059 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
9060
9061         * configure.ac:
9062           releasing 0.10.7, "Soepeke, ik zie ou"
9063
9064 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9065
9066         * configure.ac:
9067         * po/af.po:
9068         * po/az.po:
9069         * po/bg.po:
9070         * po/ca.po:
9071         * po/cs.po:
9072         * po/de.po:
9073         * po/en_GB.po:
9074         * po/fr.po:
9075         * po/it.po:
9076         * po/nb.po:
9077         * po/nl.po:
9078         * po/ru.po:
9079         * po/sq.po:
9080         * po/sr.po:
9081         * po/sv.po:
9082         * po/tr.po:
9083         * po/uk.po:
9084         * po/vi.po:
9085         * po/zh_CN.po:
9086         * po/zh_TW.po:
9087         * win32/common/config.h:
9088           0.10.6.2 prerelease
9089
9090 2006-06-07  Wim Taymans  <wim@fluendo.com>
9091
9092         * gst/gstindex.c: (gst_index_gtype_resolver):
9093         * tools/gst-xmlinspect.c: (print_plugin_info):
9094         Fix leak spotted by coverity checker. Fixes #343827
9095         Fix another other leak found by paolo borelli.
9096
9097 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9098
9099         * libs/gst/dataprotocol/dataprotocol.c:
9100         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9101         (gst_dp_version_get_type), (gst_dp_init),
9102         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
9103         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
9104         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
9105         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
9106         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
9107         (gst_dp_packetizer_free):
9108         * libs/gst/dataprotocol/dataprotocol.h:
9109           API: add a GstDPPacketizer object, and create/free functions
9110           API: add GstDPVersion enum
9111           Add 1.0 event function that uses the string serialization
9112           Serialize more useful buffer flags
9113           Fixes #343988
9114
9115 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9116
9117         * tests/check/Makefile.am:
9118         * tests/check/gst/gstabi.c:
9119         * tests/check/gst/struct_ppc64.h:
9120         * tests/check/libs/libsabi.c:
9121         * tests/check/libs/struct_ppc64.h:
9122           add ppc64 structure sizes
9123
9124 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9125
9126         * tests/check/Makefile.am:
9127         * tests/check/gst/gstabi.c:
9128         * tests/check/gst/struct_x86_64.h:
9129         * tests/check/libs/libsabi.c:
9130         * tests/check/libs/struct_x86_64.h:
9131           generate and add structure size lists for x86_64
9132
9133 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9134
9135         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9136         * libs/gst/check/gstcheck.h:
9137           factor out the method from tests that checks size of structures,
9138           and add code to generate the header containing these sizes
9139         * tests/check/gst/gstabi.c: (GST_START_TEST):
9140         * tests/check/gst/struct_i386.h:
9141         * tests/check/libs/libsabi.c: (GST_START_TEST):
9142         * tests/check/libs/struct_i386.h:
9143           use it
9144
9145 2006-06-06  Michael Smith  <msmith@fluendo.com>
9146
9147         * gst/gstsegment.h:
9148           Don't use c++-style comments, fixes #343929
9149
9150 2006-06-05  Edward Hervey  <edward@fluendo.com>
9151
9152         * gst/gst.c:
9153         plugin_paths is not used if we build without registry support.
9154
9155         * gst/gstsegment.c: (gst_segment_copy): 
9156         _copy() was always returning NULL...
9157
9158 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9159
9160         * libs/gst/dataprotocol/dataprotocol.c:
9161         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9162         (gst_dp_packet_from_event):
9163           factor out CRC code
9164
9165 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9166
9167         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9168           make sure we unset caps
9169
9170 2006-06-02  Michael Smith  <msmith@fluendo.com>
9171
9172         * libs/gst/check/gstcheck.c: (gst_check_init),
9173         (gst_check_chain_func):
9174         * libs/gst/check/gstcheck.h:
9175           Add a cond/mutex to the check support lib, signal this whenever we
9176           add to the buffers list. This will allow tests to not busy-wait on
9177           the buffer-list.
9178
9179 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9180
9181         * libs/gst/dataprotocol/dataprotocol.c:
9182         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9183         (gst_dp_packet_from_event):
9184           factor out some common header init code
9185
9186 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9187
9188         * docs/libs/gstreamer-libs-sections.txt:
9189         * docs/libs/tmpl/gstdataprotocol.sgml:
9190         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9191         * libs/gst/dataprotocol/dataprotocol.h:
9192           API: make gst_dp_crc() public
9193
9194 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9195
9196         * plugins/indexers/gstindexers.c: (plugin_init):
9197         conditionally register fileindexer (fixes #343598)
9198
9199 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9200
9201         * gst/gsttagsetter.h:
9202         Can't cast ifaces to a class
9203
9204         * libs/gst/net/gstnetclientclock.h:
9205         * libs/gst/net/gstnettimeprovider.h:
9206         * plugins/elements/gstfakesink.h:
9207         * plugins/elements/gstfakesrc.h:
9208         * plugins/elements/gstfdsink.h:
9209         * plugins/elements/gstfdsrc.h:
9210         * plugins/elements/gstfilesink.h:
9211         * plugins/elements/gstfilesrc.h:
9212         * plugins/elements/gstidentity.h:
9213         * plugins/elements/gstqueue.h:
9214         * plugins/elements/gsttee.h:
9215         * plugins/indexers/gstfileindex.c:
9216         * plugins/indexers/gstmemindex.c:
9217         * tests/old/examples/plugins/example.h:
9218         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9219
9220 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9221
9222         * libs/gst/dataprotocol/dataprotocol.c:
9223         (gst_dp_header_from_buffer):
9224           make sure we zero the whole ABI-compatible area
9225
9226 2006-06-01  Wim Taymans  <wim@fluendo.com>
9227
9228         Patch by: Alessandro Decina <alessandro at nnva dot org>
9229
9230         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9231         Make sure the EOS flag is cleared from pads after a flush
9232         or stop. Fixes #343538.
9233
9234         * tests/check/libs/collectpads.c: (GST_START_TEST),
9235         (gst_collect_pads_suite):
9236         Added test for collectpads reusage after EOS.
9237
9238 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
9239
9240         * gst/gst.c:
9241          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9242         * win32/common/libgstbase.def:
9243          export gst_collect_pads_set_flushing
9244         * win32/common/libgstreamer.def:
9245          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9246          gst_value_fraction_multiply
9247         * win32/vs6/gst_inspect.dsp:
9248          add a link to intl.lib
9249
9250 2006-05-30  Wim Taymans  <wim@fluendo.com>
9251
9252         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9253         (gst_collect_pads_chain):
9254         Handle the case where a pad is removed from the collection
9255         that could cause the other pads to become collectable.
9256
9257 2006-05-30  Wim Taymans  <wim@fluendo.com>
9258
9259         * gst/gstelement.c:
9260         Clarify the use of _release_request_pad() and
9261         _get_request_pad() a bit better.
9262
9263         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9264         (gst_adapter_take_buffer):
9265         Fix some doc and comment typos.
9266
9267 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9268
9269         * docs/gst/gstreamer-sections.txt:
9270         * docs/libs/gstreamer-libs-sections.txt:
9271           add declared symbols
9272
9273 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
9274
9275         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9276         Add debug that can be enabled using a #define at the top of the file,
9277         for dumping stats about how late/early we were when waking up from
9278         waiting on the clock.
9279
9280 2006-05-30  Wim Taymans  <wim@fluendo.com>
9281
9282         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9283         When rebuilding the pad list, don't leak the previous list.
9284
9285 2006-05-30  Wim Taymans  <wim@fluendo.com>
9286
9287         Patch by: Lutz Mueller <lutz at topfrose dot de>
9288
9289         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9290         (gst_base_src_get_query_types), (gst_base_src_update_length):
9291         Publish supported query types.
9292         Update last_stop field in get_range mode so the position
9293         query works. Fixes #342321.
9294
9295 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
9296
9297         * docs/gst/gstreamer-sections.txt:
9298         * gst/gsttaglist.c: (_gst_tag_initialize):
9299         * gst/gsttaglist.h:
9300           API: add GST_TAG_PREVIEW_IMAGE (#343341).
9301
9302 2006-05-30  Wim Taymans  <wim@fluendo.com>
9303
9304         Patch by: Alessandro Decina <alessandro at nnva dot org>
9305
9306         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9307         Unlock mutex when removing an unknown pad.
9308         Fixes #343334.
9309
9310         * tests/check/Makefile.am:
9311         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9312         (push_event), (setup), (teardown), (GST_START_TEST),
9313         (gst_collect_pads_suite), (main):
9314         Added collecpads check, disabled for now as check crashes for
9315         some reason.
9316
9317 2006-05-29  Wim Taymans  <wim@fluendo.com>
9318
9319         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9320         Don't leak pads lists.
9321
9322 2006-05-29  Wim Taymans  <wim@fluendo.com>
9323
9324         * docs/libs/gstreamer-libs-sections.txt:
9325         * libs/gst/base/gstcollectpads.c:
9326         (gst_collect_pads_set_flushing_unlocked),
9327         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9328         (gst_collect_pads_stop):
9329         * libs/gst/base/gstcollectpads.h:
9330         API: gst_collect_pads_set_flushing()
9331         Added api to set the pads to flushing, useful for seeking
9332         code in elements using collectpads.
9333         Clear segment when receiving a flush.
9334
9335 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
9336
9337         * gst/gst.c: (add_path_func), (init_post):
9338           Don't scan registry paths passed via --gst-plugin-path immediately
9339           (will crash, because absolutely nothing is set up and no types are
9340           registered etc.); do this later in init_post(). Fixes #343057.
9341
9342 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9343
9344         * gst/gst.c: (init_post):
9345           if we have fork, fork while reading/rebuilding the registry
9346           so the parent doesn't take the hit of having all plugins loaded
9347           in memory.  Fixes #342777.
9348         * configure.ac:
9349           Check if we have fork()
9350         * win32/common/config.h.in:
9351           no fork() on win32
9352
9353 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9354
9355         * plugins/elements/gstelements.c:
9356         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9357         (gst_file_src_init), (gst_file_src_set_property),
9358         (gst_file_src_get_property), (gst_file_src_start):
9359         * plugins/elements/gstfilesrc.h:
9360           API: GstFileSrc::use-mmap
9361
9362         Add a use-mmap property to enable easier testing of all code paths.
9363         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9364         in the absence of gnomevfssrc. (Closes #340501)
9365
9366 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9367
9368         * tools/gst-inspect.c:
9369         Add missing include, removes warning of ngettext not being defined on
9370         some arches.
9371
9372 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9373
9374         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9375         Handle NULL input and output pointers silently as a failed conversion,
9376         rather than g_warnings.
9377
9378 2006-05-25  Wim Taymans  <wim@fluendo.com>
9379
9380         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9381         Initialize variable before using. Fixes #342820.
9382
9383 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
9384
9385         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9386           Fix off-by-one bug that would only allow peeks of N-1 bytes
9387           from the start even if the buffer to typefind on contains
9388           in fact N bytes of data (makes vorbis typefinding from a
9389           vorbis identification header buffer work).
9390
9391         * tests/check/Makefile.am:
9392         * tests/check/libs/.cvsignore:
9393         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9394         (gst_typefindhelper_suite), (main), (foobar_typefind),
9395         (plugin_init):
9396           Add very basic unit test for gst_type_find_helper_for_buffer()
9397           that checks for the problem fixed above.
9398
9399 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9400
9401         * tools/gst-inspect.c: (print_interfaces),
9402         (print_element_properties_info), (print_element_list), (main):
9403           add more translatable strings
9404
9405 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
9406
9407         Patch by: Julien Moutte  <julien at moutte net>
9408
9409         * docs/gst/gstreamer-sections.txt:
9410           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9411           
9412         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9413         (gst_fake_sink_preroll):
9414         * plugins/elements/gstfakesink.h:
9415           API: Add new GstFakeSink::preroll-handoff signal (#337100).
9416
9417 2006-05-23  Wim Taymans  <wim@fluendo.com>
9418
9419         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9420         * gst/gstpad.h:
9421         Added _CUSTOM error and success GstFlowReturn that can be
9422         used be elements internally. 
9423         Added macro to check for SUCCESS flowreturns.
9424         API: GST_FLOW_CUSTOM_SUCCESS
9425         API: GST_FLOW_CUSTOM_ERROR
9426         API: GST_FLOW_IS_SUCCESS
9427
9428         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9429         Added check for GstFlowReturn sanity.
9430
9431 2006-05-23  Wim Taymans  <wim@fluendo.com>
9432
9433         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9434
9435         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9436         (gst_collect_pads_event):
9437         clear/reset segment info in FLUSH_STOP.
9438         Fixes #336929.
9439
9440 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
9441
9442         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9443         (gst_collect_pads_check_collected):
9444         Flush queued buffer on _stop(), fixes playing again (#342454)
9445
9446 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9447
9448         * tests/check/gst/gststructure.c: (GST_START_TEST),
9449         (gst_structure_suite):
9450           add a test for a complete structure
9451
9452 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9453
9454         * docs/faq/developing.xml:
9455         * docs/faq/faq.xml:
9456         * docs/faq/troubleshooting.xml:
9457         * docs/faq/using.xml:
9458           Some minor FAQ updates that won't change the fact that
9459           our FAQ is badly structured, full of information hardly
9460           anyone new to GStreamer needs to know and lacking lots
9461           of information people constantly ask for.
9462           
9463 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
9464
9465         * gst/gstpad.c: (gst_pad_set_caps):
9466           Short-circuit gst_pad_set_caps if setting the existing
9467           caps pointer again, and avoid printing debug and 
9468           reffing/unreffing the caps.
9469
9470         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9471           There's actually no need to set the caps before pushing -
9472           the acceptcaps method will handle it anyway.
9473
9474 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9475
9476         * docs/gst/gstreamer-sections.txt:
9477         * win32/common/libgstreamer.def:
9478         * gst/gstutils.c: (gst_element_seek_simple):
9479         * gst/gstutils.h:
9480           API: add gst_element_seek_simple() (#342238).
9481
9482 2006-05-18  Edward Hervey  <edward@fluendo.com>
9483
9484         * gst/gsttypefind.c: (gst_type_find_get_type):
9485         * gst/gsttypefind.h:
9486         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9487         registered for GstTypeFind pointers. This allows wrapping the structure
9488         in bindings (i.e. gst-python).
9489
9490 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9491
9492         * gst/gsttagsetter.c:
9493           Docs additions and fixes (see #339918).
9494
9495 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9496
9497         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9498         The caps intersection algorithm can produce multiple copies of the
9499         caps. Until that is fixed, we need to simplify the result to be
9500         sure whether the allowed caps are fixed or not.
9501
9502         * plugins/elements/gstqueue.c: (gst_queue_init),
9503         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9504         (gst_queue_push_one):
9505         Proxied buffer alloc should not set the caps on the source pad.
9506         When pushing buffers, we always accept the caps change that triggers.
9507         This prevents negotiation errors caused by caps changing mid-stream 
9508         and then being refused on our source pad (because upstream is now
9509         refusing those caps).
9510
9511 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9512
9513         * tests/examples/helloworld/helloworld.c: (main):
9514           Must plug audioconvert and audioresample between decoder
9515           and audio sink.
9516
9517 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
9518
9519         * gst/gstregistryxml.c: (read_string), (load_pad_template),
9520         (load_feature), (load_plugin):
9521         Allow empty strings for some of the plugin fields so we don't 
9522         drop valid plugin entries that were written out correctly
9523         (Fixes #341479)
9524
9525 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
9526         
9527         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9528           Use g_remove and g_rename instead of remove and rename that don't 
9529           handle utf8 characters. rename was failing for users who had specific
9530           characters in their name then the registry was built at each 
9531           gstreamer init.
9532         * win32/vs6/gst_inspect.dsp:
9533         * win32/vs6/gst_launch.dsp:
9534         * win32/vs6/libgstbase.dsp:
9535         * win32/vs6/libgstcoreelements.dsp:
9536         * win32/vs6/libgstreamer.dsp:
9537           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
9538           build of libgstreamer and clean unused libraries in projects link 
9539           settings.
9540
9541 2006-05-17  Edward Hervey  <edward@fluendo.com>
9542
9543         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9544         The queue is not responsible for pushing an EOS when receiving a fatal
9545         flow error. It's up to the real element driving the pipeline to do that.
9546
9547 2006-05-16  Edward Hervey  <edward@fluendo.com>
9548
9549         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9550         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9551         buffer returned a fatal error. It should just send an EOS and stop
9552         its task.
9553         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9554         when pushing buffers on the queue and will be able to handle the event.
9555
9556 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9557
9558         * docs/manual/basics-bins.xml:
9559         * docs/manual/basics-init.xml:
9560           Fix typos and minor errors in sample code (#341856).
9561
9562 2006-05-16  Wim Taymans  <wim@fluendo.com>
9563
9564         * docs/design/part-qos.txt:
9565         Fix indexes in formulas to make more sense.
9566
9567 2006-05-15  Wim Taymans  <wim@fluendo.com>
9568
9569         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9570         Don't report POSITION based on clock time if sync is
9571         disabled in a sink.
9572
9573 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
9574
9575         * gst/gstobject.h:
9576           Add cast to make compiler happy - refcount variable was a gint
9577           in GstObject but is a guint in GObject and g_atomic_int_get()
9578           wants a gint *.
9579
9580 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9581
9582         * gst/parse/Makefile.am:
9583           chain commands using &&, which also makes parallel make work
9584
9585 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
9586
9587         * docs/gst/gstreamer-sections.txt:
9588         * gst/gstevent.c:
9589         * gst/gstevent.h:
9590         * gst/gstmessage.h:
9591           Minor docs fixes.
9592
9593 === release 0.10.6 ===
9594
9595 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
9596
9597         * configure.ac:
9598           releasing 0.10.6, "Take the cannoli"
9599
9600 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9601
9602         * tools/gst-launch.c: (print_tag):
9603           Fix use of uninitialized variable in the hypothetical
9604           case that some broken plugin creates a GST_TAG_IMAGE
9605           tag containing a NULL buffer (#341667).
9606
9607 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9608
9609         * tools/gst-launch.c: (print_tag):
9610           Print something more intelligible for image tags when
9611           using the -t switch (#341556).
9612
9613 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9614
9615         * Makefile.am:
9616           updates for win32
9617         * configure.ac:
9618           define GST_MAJORMINOR so we have it available in win32/common/config.h
9619           Possibly remove it from our Makefile.am files later
9620         * win32/common/config.h:
9621         * win32/common/config.h.in:
9622           added GST_MAJORMINOR
9623         * win32/common/gstenumtypes.c: (register_gst_resource_error):
9624         * win32/common/gstversion.h:
9625           updated
9626
9627 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
9628
9629         * win32/MANIFEST:
9630           Update win32 files listing.
9631         * win32/common/gstversion.h:
9632           Add GST_MAJORMINOR definition.
9633         * win32/common/libgstreamer.def:
9634           Add new exported functions.
9635           
9636 2006-05-12  Michael Smith  <msmith@fluendo.com>
9637
9638         * gst/gstplugin.c: (gst_plugin_load_file):
9639           If an so file has no plugin entry point, unload the module.
9640
9641 2006-05-11  Wim Taymans  <wim@fluendo.com>
9642
9643         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9644         (gst_queue_set_property):
9645         Don't forget to signal the _chain or _loop function 
9646         when the queue size or thresholds change since that might
9647         cause them to make progres again.
9648
9649 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
9650
9651         * gst/gstclock.c: (gst_clock_class_init):
9652         * gst/gstindex.c: (gst_index_class_init):
9653         * gst/gstobject.c: (gst_object_class_init):
9654         * gst/gstpad.c: (gst_pad_class_init):
9655         * gst/gstpipeline.c: (gst_pipeline_class_init):
9656         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9657         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9658         * libs/gst/base/gstbasetransform.c:
9659         (gst_base_transform_class_init):
9660         * libs/gst/net/gstnetclientclock.c:
9661         (gst_net_client_clock_class_init):
9662         * libs/gst/net/gstnettimeprovider.c:
9663         (gst_net_time_provider_class_init):
9664         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9665         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9666         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9667         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9668         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9669         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9670         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9671         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9672         * plugins/elements/gsttee.c: (gst_tee_class_init):
9673         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9674         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9675           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9676
9677 2006-05-11  Wim Taymans  <wim@fluendo.com>
9678
9679         * gst/gstbuffer.c: (_gst_buffer_initialize):
9680         Register subbufer along with the buffer type so that
9681         it does not accidentally gets registered from N
9682         different streaming threads in a non threadsafe way.
9683
9684 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9685
9686         * gst/gstbuffer.h:
9687         * gst/gstevent.h:
9688         * gst/gstmessage.h:
9689           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9690           gst_event_ref() and gst_message_ref() functions again
9691           (ugly hack, please do fix if there's a better way besides
9692           overrides.txt, which doesn't seem to work).
9693
9694 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9695
9696         * libs/gst/check/gstcheck.h:
9697           add an assert for setting state to avoid lots of repetitive code
9698           in the future
9699
9700 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9701
9702         * gst/gstvalue.c: (gst_value_serialize_flags):
9703           fix a leak if no flags are set
9704         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9705           fix leak in tests
9706
9707 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9708
9709         * docs/manual/basics-pads.xml:
9710           Expand a bit on caps and filtered links and update
9711           examples that were still using the no longer existing
9712           gst_pad_link_filtered() (#338206).
9713
9714 2006-05-10  Wim Taymans  <wim@fluendo.com>
9715
9716         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9717         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9718         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9719         (gst_collect_pads_stop):
9720         * libs/gst/base/gstcollectpads.h:
9721         No need to call _stop in _finalize.
9722         Iterate the main pad list in _finalize.
9723         Added some more debug.
9724         Free lists and data in the right order.
9725         Also free data whem doing _remove_pad when stopped for
9726         backward compatibility protect ::started with PAD_LOCK as
9727         well.
9728
9729 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9730
9731         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9732         (gst_structure_parse_value):
9733           add some comments
9734           rename a method so that it actually says what it does better
9735
9736 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9737
9738         * gst/gstevent.c: (_gst_event_initialize):
9739         * gst/gstformat.c: (_gst_format_initialize):
9740           make sure some essential types used by events are registered
9741           as part of gst_init()
9742         * gst/gstvalue.c: (gst_value_serialize_flags):
9743           if no flags are set, serialize them to a value that represents NONE
9744           so that deserializing them works
9745         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9746           add tests for serialization and deserialization of flags
9747
9748 2006-05-10  Wim Taymans  <wim@fluendo.com>
9749
9750         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9751         (gst_collect_pads_collect_range), (gst_collect_pads_available),
9752         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9753         (gst_collect_pads_event), (gst_collect_pads_chain):
9754         Update docs.
9755         Better debug info.
9756         Catch and return errors from the collect function
9757         Refuse data on eos pads.
9758
9759 2006-05-10  Edward Hervey  <edward@fluendo.com>
9760
9761         * gst/gstinterface.h:
9762         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9763         GInterface type checking.
9764         They were previously using non-defined macros.
9765
9766 2006-05-09  Wim Taymans  <wim@fluendo.com>
9767
9768         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9769         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9770         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9771         (gst_collect_pads_start), (gst_collect_pads_stop),
9772         (gst_collect_pads_peek), (gst_collect_pads_pop),
9773         (gst_collect_pads_available), (gst_collect_pads_read),
9774         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9775         (gst_collect_pads_is_collected), (gst_collect_pads_event),
9776         (gst_collect_pads_chain):
9777         * libs/gst/base/gstcollectpads.h:
9778         Clean up the mess that is collectpads, add comments and
9779         FIXMEs where needed.
9780         Maintain a separate pad list so we can add pads while
9781         collecting the other ones. For this we need a new separate 
9782         lock (see comics).
9783         Fix memory leak in finalize.
9784         Refactor some weird code to set/unset pad flushing flags, mark
9785         with comments.
9786         Don't crash in _available, _read, _flush when we're EOS.
9787
9788         * tests/check/libs/.cvsignore:
9789         Ignore adapter check binary.
9790
9791 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9792
9793         * gst/gstindex.c: (gst_index_resolver_get_type):
9794         * plugins/elements/gstfakesink.c:
9795         (gst_fake_sink_state_error_get_type):
9796         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9797         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9798         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9799           Const-ify GEnumValue arrays.
9800
9801 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9802
9803         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9804           Add test case for flags + gst_buffer_make_metadata_writable().
9805
9806 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9807
9808         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9809           gst_buffer_make_metadata_writable() should maintain the
9810           buffer flags (those that make sense at least) (see #340859).
9811
9812 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9813
9814         * tools/gst-inspect.c:
9815         * tools/gst-launch.c:
9816         * tools/gst-typefind.c:
9817         * tools/gst-xmlinspect.c:
9818         * tools/tools.h:
9819           Fix up includes: need to include stdlib.h in tools.h for exit().
9820
9821 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9822
9823         * gst/gsttaglist.c: (_gst_tag_initialize):
9824         * gst/gsttaglist.h:
9825           API: add GST_TAG_IMAGE tag (#340721).
9826
9827 2006-05-08  Wim Taymans  <wim@fluendo.com>
9828
9829         * gst/gstquery.c:
9830         Added some docs for the segment query.
9831
9832 2006-05-08  Wim Taymans  <wim@fluendo.com>
9833
9834         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9835         (gst_base_src_loop), (gst_base_src_change_state):
9836         Always push non-flushing serialized events in the streaming 
9837         thread.
9838
9839 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9840
9841         * gst/gsterror.c: (_gst_stream_errors_init):
9842           Add a missing error string.
9843
9844 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
9845
9846         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9847         Add applied_rate to the debug
9848
9849         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9850         Copy applied_rate into the outgoing NEWSEGMENT event
9851
9852 2006-05-08  Wim Taymans  <wim@fluendo.com>
9853
9854         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9855
9856         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9857         (gst_base_sink_change_state):
9858         call ::unlock before taking the PREROLL_LOCK so we can safely
9859         handle elements that lock in ::render.
9860         Fixes #340174.
9861
9862 2006-05-08  Edward Hervey  <edward@fluendo.com>
9863
9864         * autogen.sh: (CONFIGURE_DEF_OPT): 
9865         Darwin's libtoolize is in fact called glibtoolize.
9866         Adding glibtoolize to the list of accepted names for libtoolize.
9867
9868 2006-05-08  Wim Taymans  <wim@fluendo.com>
9869
9870         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9871         Unify error handling, don't post an error message
9872         when a push() returns EOS but perform our normal EOS
9873         handling code. Fixes #340772.
9874
9875 2006-05-08  Wim Taymans  <wim@fluendo.com>
9876
9877         * docs/design/part-overview.txt:
9878         Make upsteam/downstream concepts more clear.
9879         Give an example of serialized/non-serialized events.
9880
9881         * docs/design/part-events.txt:
9882         * docs/design/part-streams.txt:
9883         Mention applied_rate.
9884
9885         * docs/design/part-trickmodes.txt:
9886         Mention applied rate, flesh out some more use cases.
9887
9888         * gst/gstevent.c: (gst_event_new_new_segment),
9889         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9890         (gst_event_parse_new_segment_full), (gst_event_new_tag),
9891         (gst_event_parse_tag), (gst_event_new_buffer_size),
9892         (gst_event_parse_buffer_size), (gst_event_new_qos),
9893         (gst_event_parse_qos), (gst_event_parse_seek),
9894         (gst_event_new_navigation):
9895         * gst/gstevent.h:
9896         Add applied_rate field to NEWSEGMENT event.
9897         API: gst_event_new_new_segment_full()
9898         API: gst_event_parse_new_segment_full()
9899
9900         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9901         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9902         (gst_segment_to_stream_time), (gst_segment_to_running_time):
9903         * gst/gstsegment.h:
9904         Add applied_rate to GstSegment structure.
9905         Make calculation of stream_time and running_time more correct
9906         wrt rate/applied_rate.
9907         Add some more docs.
9908         API: GstSegment::applied_rate field
9909         API: gst_segment_set_newsegment_full();
9910
9911         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9912         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9913         * libs/gst/base/gstbasetransform.c:
9914         (gst_base_transform_sink_eventfunc),
9915         (gst_base_transform_handle_buffer):
9916         Parse and use applied_rate in the GstSegment field.
9917
9918         * tests/check/gst/gstevent.c: (GST_START_TEST):
9919         Add check for applied_rate field.
9920
9921         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9922         (gstsegments_suite):
9923         Add more checks for various GstSegment operations.
9924
9925 2006-05-08  Wim Taymans  <wim@fluendo.com>
9926
9927         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9928         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9929         (gst_base_sink_get_position), (gst_base_sink_change_state):
9930         Store the sync time of the buffer end position separatly in a
9931         new variable eos_rtime so we can properly sync the EOS event.
9932         Fixes #340697.
9933         Fix the docs for gst_base_sink_set_qos_enabled().
9934         Don't set segment start to invalid value when we receive a 
9935         non TIME newsegment.
9936         get closer to handling position reporting for negative rates 
9937         correctly.
9938
9939 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9940
9941         * gst/gstcaps.c:
9942         Docs about how to print caps for debug purposes.
9943
9944         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9945         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9946
9947 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9948
9949         * gst/gstelement.c:
9950           use full enum names and preprend a '%' in docs strings to make recent 
9951           gtk-doc turn that into a link
9952
9953 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9954
9955         * docs/manual/basics-bins.xml:
9956         * docs/manual/basics-bus.xml:
9957         * docs/manual/basics-pads.xml:
9958           Some typo fixes, some additions, some clarifications. 
9959
9960 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9961
9962         * tools/gst-inspect.c: (main):
9963         * tools/gst-launch.c: (main):
9964         * tools/gst-run.c: (main):
9965         * tools/gst-typefind.c: (main):
9966         * tools/gst-xmlinspect.c: (main):
9967           Use the string passed to g_option_context_new() for
9968           what it's intended for - the program name is already
9969           printed elsewhere.
9970
9971 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9972
9973         * tools/Makefile.am:
9974         * tools/gst-inspect.c: (main):
9975         * tools/gst-launch.c: (main):
9976         * tools/gst-xmlinspect.c: (main):
9977         * tools/tools.h:
9978           Add back --version command line option (#340460).
9979
9980         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9981           Add --version option and use GOption for argument parsing; refactor a
9982           bit; accept directories as arguments and recurse into them; lastly,
9983           print a decent error message when things go wrong.
9984
9985 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9986
9987         * docs/manual/basics-bins.xml:
9988         Don't mention GstThread (#340611)
9989         * docs/manual/basics-elements.xml:
9990         Update link to GObject tutorial (#340607)
9991         
9992 2006-05-05  Wim Taymans  <wim@fluendo.com>
9993
9994         * gst/gstbuffer.h:
9995         * gst/gstminiobject.c:
9996         Add note about refcounting and miniobject/buffer writeability
9997         to docs. Fixes #340604
9998
9999         * gst/gstelementfactory.h:
10000         Added some explanation about @klass.
10001
10002 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10003
10004         * docs/manual/intro-motivation.xml:
10005         * docs/manual/manual.xml:
10006         Avoid CORBA & Bonobo references (#340598)
10007
10008 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10009
10010         * docs/manual/basics-bus.xml:
10011         * docs/manual/basics-pads.xml:
10012         Fix up some inaccuracies and omissions (#340609)
10013         
10014 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10015
10016         * gst/gstghostpad.c:
10017           Small typo in docs (#340625)
10018
10019 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10020
10021         * gst/parse/Makefile.am:
10022           Make 'make -j' proof (see #340698).
10023
10024 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10025
10026         * configure.ac:
10027           Require GLib-2.8 here as well.
10028
10029 2006-05-05  Wim Taymans  <wim@fluendo.com>
10030
10031         * gst/glib-compat.c:
10032         * gst/gst.c: (init_pre):
10033         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10034         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
10035         (gst_object_dispatch_properties_changed):
10036         * gst/gstobject.h:
10037         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10038         * gst/gststructure.c: (gst_structure_set_valist):
10039         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10040         Remove pre glib2.8 compatibility, fixes #340508
10041
10042 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
10043
10044         * gst/gsttaglist.h:
10045           Mention type of tags in doc blurbs.
10046
10047 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
10048
10049         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10050         (gst_pad_configure_src), (gst_pad_push):
10051         Restore acceptcaps checking behaviour now that good plugins have
10052         been released.
10053
10054 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
10055
10056         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
10057
10058         * gst/gst.c:
10059         * gst/gstbus.c:
10060         * gst/gstclock.c:
10061         * gst/gstevent.c:
10062         * gst/gstformat.c:
10063         * gst/gstmessage.c:
10064         * gst/gstparse.c:
10065         * gst/gstquery.c:
10066         * gst/gstutils.c:
10067         * gst/parse/Makefile.am:
10068         * libs/gst/base/gstadapter.c:
10069         * libs/gst/base/gstbasesrc.c:
10070         * libs/gst/base/gstpushsrc.c:
10071         * libs/gst/base/gsttypefindhelper.c:
10072         * plugins/elements/gstfakesrc.c:
10073         * plugins/elements/gstidentity.c:
10074           Make sure gstprivate.h and/or config.h are
10075           always included first, otherwise some of our
10076           defines (like _FILE_OFFSET_BITS) might be
10077           redefined in the system headers. Fixes build
10078           on opensolaris (#340016).
10079
10080 2006-05-04  Wim Taymans  <wim@fluendo.com>
10081
10082         * docs/libs/gstreamer-libs-sections.txt:
10083         API: addition: gst_adapter_take_buffer()
10084         
10085         * libs/gst/base/gstadapter.c: (gst_adapter_push),
10086         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
10087         (gst_adapter_available_fast):
10088         * libs/gst/base/gstadapter.h:
10089         Prepare for optimizing the hell out of this hugely inefficient
10090         piece of code. 
10091         Added gst_adapter_take_buffer() so we can at least start thinking
10092         about subbuffering and merging.
10093         Added some comments.
10094
10095         * tests/check/Makefile.am:
10096         * tests/check/libs/adapter.c: (GST_START_TEST),
10097         (gst_adapter_suite), (main):
10098         Added GstAdapter check.
10099
10100 2006-05-04  Wim Taymans  <wim@fluendo.com>
10101
10102         * docs/design/part-overview.txt:
10103         Fix some typos, add blurb about buffer flags.
10104
10105 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10106
10107         * docs/libs/gstreamer-libs-sections.txt:
10108           make sure GstBaseTransformClass shows up in the docs
10109         * libs/gst/base/gstbasetransform.c:
10110         * libs/gst/base/gstbasetransform.h:
10111           move docs so gtk-doc picks it up now
10112
10113 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10114
10115         * docs/libs/gstreamer-libs-sections.txt:
10116           add missing symbols to docs
10117
10118 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10119
10120         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10121           back out the newsegment handling change, see #340060 for ongoing
10122           discussion
10123
10124 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
10125
10126         * tools/gst-run.c: (get_candidates), (main):
10127           Fix wrong g_file_test() usage (see glib docs for why it doesn't
10128           work); fix typo in error message. Fixes #340079.
10129
10130 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10131
10132         * common/Makefile.am:
10133         * docs/Makefile.am:
10134         * docs/faq/Makefile.am:
10135         * docs/gst/Makefile.am:
10136         * docs/libs/Makefile.am:
10137         * docs/manual/Makefile.am:
10138         * docs/plugins/Makefile.am:
10139         * docs/pwg/Makefile.am:
10140         * docs/slides/Makefile.am:
10141         * docs/upload.mak:
10142         * common/upload.mak:
10143           move upload.mak to common
10144
10145 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10146
10147         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10148           add more asserts on refcounts
10149           do more cleanup at end of tests
10150           fix test leaks showing in FC5
10151
10152 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
10153
10154         * plugins/elements/gsttypefindelement.c:
10155         (gst_type_find_element_handle_event):
10156         reverted wrong change and reflowed code to avoid others falling into
10157         this trap
10158
10159 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10160
10161         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10162           fix changelog entry about last collectpads change,
10163           add notes about proper fix
10164
10165 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10166
10167         * gst/gst.c:
10168         * gst/gstregistry.c: (gst_registry_scan_path_level),
10169         (gst_registry_scan_path):
10170         * gst/gstregistry.h:
10171           only write out registry if it has changed, fixes #338339
10172
10173 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10174
10175         * gst/gstbin.c:
10176         * gst/gstpipeline.c:
10177         * plugins/elements/gstcapsfilter.c:
10178         * plugins/elements/gstfakesink.c:
10179         * plugins/elements/gstfakesrc.c:
10180         * plugins/elements/gstfdsink.c:
10181         * plugins/elements/gstfdsrc.c:
10182         * plugins/elements/gstfilesink.c:
10183         * plugins/elements/gstfilesrc.c:
10184         * plugins/elements/gstidentity.c:
10185         * plugins/elements/gstqueue.c:
10186         * plugins/elements/gsttee.c:
10187         * plugins/elements/gsttypefindelement.c:
10188         (gst_type_find_element_handle_event):
10189           make GstElementDetails const
10190
10191 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10192
10193         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10194         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10195         (gst_collect_pads_is_collected), (gst_collect_pads_event):
10196           more detailed debug and formatting cleanup,
10197           forward newsegments to src-pad (so that e.g. adder not eats them)
10198
10199 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10200
10201         * gst/gstutils.c: (gst_element_link_pads):
10202           cleanup double code
10203
10204 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10205
10206         * libs/gst/controller/gstcontroller.c:
10207         (gst_controller_sync_values):
10208           some little tuning
10209         * tests/check/libs/controller.c: (GST_START_TEST),
10210         (gst_controller_suite):
10211           a new test for live value handling
10212
10213 2006-04-28  Wim Taymans  <wim@fluendo.com>
10214
10215         * gst/gstutils.c: (push_and_ref):
10216         Added some more docs.
10217         Fix refcount issue whith gst_element_found_tags() helper 
10218         function. Fixes #338335
10219
10220         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10221         Added testsuite for gst_element_found_tags().
10222
10223 2006-04-28  Michael Smith  <msmith@fluendo.com>
10224
10225         * gst/gstvalue.c: (gst_value_serialize_flags):
10226           Avoid NULL dereference when trying to serialize flags containing
10227           invalid values.
10228
10229 2006-04-28  Michael Smith  <msmith@fluendo.com>
10230
10231         * plugins/elements/gsttypefindelement.c:
10232         (gst_type_find_element_handle_event):
10233           If we get EOS before any data is accumulated, don't use
10234           uninitialised local variables.
10235
10236 2006-04-28  Michael Smith  <msmith@fluendo.com>
10237
10238         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10239         (gst_dp_event_from_packet):
10240           Fixes in reading/writing events over GDP (not currently used?) - 
10241           dereferencing NULL events for unknown/invalid event types, memory
10242           leak, and change g_warning to GST_WARNING.
10243
10244 2006-04-28  Wim Taymans  <wim@fluendo.com>
10245
10246         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10247         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10248         (gst_base_sink_get_position), (gst_base_sink_change_state):
10249         When frame dropping is enabled, we should not ignore frames
10250         without a duration.
10251         Update some documentation.
10252
10253 2006-04-28  Wim Taymans  <wim@fluendo.com>
10254
10255         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10256         (gst_base_src_send_event), (gst_base_src_change_state):
10257         Documentation updates.
10258
10259 2006-04-28  Wim Taymans  <wim@fluendo.com>
10260
10261         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10262         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10263         handle EAGAIN, EINTR and short writes correctly. Also clean
10264         up some error cases, avoid a deadlock on bad file descriptors and
10265         use GST_DEBUG_OBJECT.
10266         Fixes #339843
10267
10268 2006-04-28  Wim Taymans  <wim@fluendo.com>
10269
10270         * gst/gstvalue.c: (gst_value_serialize_buffer),
10271         (gst_value_deserialize_buffer):
10272         Don't try to serialize a GValue with a NULL buffer. 
10273         Fixes #339821.
10274
10275         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10276         Added check for serialisation of NULL buffers.
10277
10278 2006-04-28  Wim Taymans  <wim@fluendo.com>
10279
10280         * gst/gstminiobject.c: (gst_value_take_mini_object):
10281         Taking a NULL miniobject is valid, fix the case where
10282         we try to unref the NULL miniobject.
10283
10284 2006-04-28  Wim Taymans  <wim@fluendo.com>
10285
10286         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10287
10288         * gst/gstbin.c: (gst_bin_handle_message_func):
10289         Update docs.
10290         Don't leak bin refcount when a state recalc is
10291         in progress and we delay another one #339808.
10292
10293 2006-04-28  Wim Taymans  <wim@fluendo.com>
10294
10295         * docs/design/part-TODO.txt:
10296         Mention QoS as an ongoing work item.
10297
10298         * docs/design/part-buffering.txt:
10299         New doc about buffering that needs to be fleshed out
10300         at some point.
10301
10302         * docs/design/part-qos.txt:
10303         More QoS policy for decoders/demuxers/transforms
10304
10305         * docs/design/part-trickmodes.txt:
10306         Small update.
10307
10308 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10309
10310         * configure.ac:
10311           back to HEAD
10312
10313 === release 0.10.5 ===
10314
10315 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
10316
10317         * configure.ac:
10318           releasing 0.10.5, "Fogo"
10319
10320 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10321
10322         patch by: Wim Taymans
10323
10324         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10325         (gst_pad_configure_src), (gst_pad_push):
10326         * gst/gstpipeline.c: (gst_pipeline_init):
10327           Fix internal data flow errors.  Fixes #338711.
10328
10329 2006-04-12  Wim Taymans  <wim@fluendo.com>
10330
10331         * tests/check/gst/gstelement.c: (GST_START_TEST):
10332         Don't leak the factory.
10333
10334 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10335
10336         * configure.ac:
10337         * win32/common/config.h:
10338           prerelease
10339
10340 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
10341
10342         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10343         (gst_controller_unset_all):
10344           Free allocated GstTimedValues when freeing list nodes.
10345           Should fix leaks 'make check-valgrind' complains about.
10346
10347         * win32/common/libgstcontroller.def:
10348           Add gst_controller_unset_all.
10349
10350 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
10351
10352         * docs/libs/gstreamer-libs-sections.txt:
10353         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10354         (gst_controller_unset_all):
10355         * libs/gst/controller/gstcontroller.h:
10356         API: Added new method gst_controller_unset_all()
10357         fixed gst_controller_unset()
10358         * tests/check/libs/controller.c: (GST_START_TEST),
10359         (gst_controller_suite):
10360         Added two testcases for new and fixed method
10361
10362 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
10363
10364         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10365           MSG_DONTWAIT is not defined on Cygwin, so work
10366           around that (fixes #317048).
10367           
10368 2006-04-11  Wim Taymans  <wim@fluendo.com>
10369
10370         * gst/gstelementfactory.c: (gst_element_register),
10371         (gst_element_factory_create), (gst_element_factory_make):
10372         Some cleanups.
10373         Fixed a FIXME.
10374         Updated docs (Fixes #131079)
10375
10376         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10377         Small cleanups.
10378
10379         * tests/check/gst/gstelement.c: (GST_START_TEST),
10380         (gst_element_suite):
10381         Added testcase for elementfactory class field.
10382
10383 2006-04-10  Wim Taymans  <wim@fluendo.com>
10384
10385         * gst/gstsegment.c:
10386         Added some more docs.
10387
10388         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10389         (gst_base_sink_reset_qos):
10390         Calculate more accurate rate values.
10391
10392 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
10393
10394         * gst/gst_private.h:
10395           add a new #ifdef to use __declspec(dllimport) only for
10396           other modules and not for gstreamer core
10397         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10398           use gst_guint64_to_gdouble for conversion
10399         * win32/common/libgstreamer.def:
10400           add new exported functions
10401         * win32/vs6/gst_inspect.dsp:
10402         * win32/vs6/gst_launch.dsp:
10403         * win32/vs6/libgstbase.dsp:
10404         * win32/vs6/libgstcontroller.dsp:
10405         * win32/vs6/libgstcoreelements.dsp:
10406         * win32/vs6/libgstdataprotocol.dsp:
10407         * win32/vs6/libgstnet.dsp:
10408           update project files
10409
10410 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10411
10412         * gst/gstbuffer.c: (gst_subbuffer_class_init):
10413         * gst/gstclock.c: (gst_clock_class_init):
10414         * gst/gstelement.c: (gst_element_class_init):
10415         * gst/gstindex.c: (gst_index_class_init):
10416         * gst/gstindexfactory.c: (gst_index_factory_class_init):
10417         * gst/gstobject.c: (gst_object_class_init),
10418         (gst_signal_object_class_init):
10419         * gst/gstpad.c: (gst_pad_class_init):
10420         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10421         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10422         * gst/gstregistry.c: (gst_registry_class_init):
10423         * gst/gstsystemclock.c: (gst_system_clock_class_init):
10424         * gst/gsttask.c: (gst_task_class_init):
10425         * gst/gstxml.c: (gst_xml_class_init):
10426         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10427         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10428         (gst_base_src_loop):
10429         * libs/gst/controller/gstcontroller.c:/
10430         (_gst_controller_class_init):
10431         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10432         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10433         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10434         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10435         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10436         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10437
10438 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
10439
10440         * gst/gstpad.c: (gst_pad_link):
10441           Must set peer pads before calling the link function, otherwise
10442           a task started from a link function might get a flow-not-linked
10443           result when trying to push because the other thread where the
10444           linking happens hasn't had a chance to set the peers yet. This
10445           might happen for example when a queue gets linked to a downstream
10446           element, as queue starts a streaming task when its source pad
10447           gets linked. Happens in real life when playing back flac/musepack
10448           files in playbin (#332390).
10449           
10450 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10451
10452         * gst/gstindex.h:
10453         * gst/gstxml.h:
10454         * libs/gst/base/gstadapter.h:
10455         * libs/gst/base/gstbasesink.h:
10456         * libs/gst/base/gstbasesrc.h:
10457         * libs/gst/base/gstbasetransform.h:
10458         * libs/gst/base/gstcollectpads.h:
10459         * libs/gst/base/gstpushsrc.h:
10460         Fix broken GObject macros
10461
10462 2006-04-07  Wim Taymans  <wim@fluendo.com>
10463
10464         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10465         Initialize start and stop times, thanks valgrind.
10466
10467 2006-04-07  Wim Taymans  <wim@fluendo.com>
10468
10469         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10470         Be a bit nicer to badly behaving upstream elements that expect
10471         us to deal with non TIME segments and timestamps (such as fakesrc
10472         in the testsuite).
10473
10474 2006-04-07  Wim Taymans  <wim@fluendo.com>
10475
10476         * gst/gstbus.c:
10477         Small documentation clarification about the signal watch.
10478
10479         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10480         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10481         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10482         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10483         (gst_base_sink_get_position_last),
10484         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10485         Convert and store timestamps in stream time and running time, the
10486         raw timestamps are not useful, also document this better.
10487         Use different window sizes for good and bad QoS observations so
10488         we react to badness a little quicker.
10489         Keep track of the amount of rendered and dropped buffers.
10490         Send QoS timestamps in running time.
10491
10492         * libs/gst/base/gstbasetransform.c:
10493         (gst_base_transform_sink_eventfunc),
10494         (gst_base_transform_handle_buffer):
10495         Compare QoS timestamps against running time.
10496
10497 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10498
10499         * gst/gstpad.c:
10500           Typo fixes in docs.
10501
10502 2006-04-06  Michael Smith  <msmith@fluendo.com>
10503
10504         * gst/gstpad.c: (gst_pad_set_property):
10505           Use g_value_get_object() instead of g_value_dup_gst_object(),
10506           to avoid double-reffing the pad template (which we then sink,
10507           so this worked previously if (and only if) the pad template
10508           was floating.
10509
10510         * gst/gstpadtemplate.c: (gst_pad_template_init),
10511         (gst_pad_template_pad_created):
10512           Never return floating references to pad templates, create
10513           them as initially-sunken.
10514
10515           Document an extra function (and make this stop sinking our
10516           pad template, since that is now guaranteed to do nothing,
10517           since we created it sunken).
10518
10519         * gst/gstghostpad.c:
10520           Fix docs typo.
10521
10522 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10523
10524         * gst/gstinfo.c: (__gst_in_valgrind):
10525           Add some newlines.
10526
10527         * plugins/elements/gsttypefindelement.c:
10528         (gst_type_find_element_chain):
10529           Don't leak buffer caps.
10530
10531 2006-04-06  Michael Smith  <msmith@fluendo.com>
10532
10533         * gst/parse/grammar.y:
10534           Fix a leak in parse-launch for any source-or-sink named element 
10535           references used.
10536
10537         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10538           Unref the pipeline if it exists after we've failed parsing.
10539
10540 2006-04-05  Michael Smith  <msmith@fluendo.com>
10541
10542         * gst/gstpipeline.c: (gst_pipeline_init):
10543           When we create a pipeline bus, initially create it in flushing mode.
10544           Fixes leaks in at least one test, and makes a new pipeline work the
10545           same as one that has gone to READY and then back to NULL.
10546
10547         * gst/gstelement.c:
10548           Typo fix in docs.
10549
10550 2006-04-05  Michael Smith  <msmith@fluendo.com>
10551
10552         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10553           Unref a pad we reffed.
10554         * tests/check/gst/gstutils.c: (GST_START_TEST):
10555           Unref bins
10556
10557 2006-04-05  Michael Smith  <msmith@fluendo.com>
10558
10559         * gst/gstquery.c: (gst_query_set_formats),
10560         (gst_query_set_formatsv):
10561           Fix leaking GValues in queries, as shown by valgrind/testsuite.
10562
10563 2006-04-05  Michael Smith  <msmith@fluendo.com>
10564
10565         * tests/check/generic/sinks.c: (GST_START_TEST):
10566           Fix a variety of memleaks in sinks check, which are only sometimes 
10567           shown by running the tests under valgrind (weird?).
10568
10569 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
10570
10571         * docs/version.entities.in:
10572           Fix the substituted entity name after thomas' changes on the
10573           weekend.
10574
10575 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10576
10577         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10578         VALGRIND_PRINTF
10579         
10580 2006-04-05  Andy Wingo  <wingo@pobox.com>
10581
10582         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10583
10584         * libs/gst/base/gstbasetransform.c
10585         (gst_base_transform_sink_eventfunc): When resetting our segment on
10586         FLUSH_STOP, also update the flag saying we haven't seen a
10587         newsegment.
10588
10589 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10590
10591         Patch by: Paolo Borelli  <pborelli at katamail dot com>
10592
10593         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10594         (gst_plugin_check_license):
10595           minor clean-ups: G_DEFINE_TYPE already takes care of the
10596           parent_class stuff, no need to do it twice. Mark array of
10597           license strings as constant. (#337103)
10598           
10599 2006-04-04  Michael Smith  <msmith@fluendo.com>
10600
10601         * tools/gst-inspect.c: (print_element_list):
10602           Free the right plugin list; fixes a memory leak.
10603
10604 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10605
10606         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
10607
10608         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10609           Don't error out on empty buffers (#336945).
10610           
10611 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
10612
10613         * docs/libs/gstreamer-libs-sections.txt:
10614         * gst/gsttaglist.c:
10615         * libs/gst/base/gstbasesink.c:
10616         * libs/gst/base/gstbasesink.h:
10617         * libs/gst/base/gstbasesrc.c:
10618         * libs/gst/base/gstbasesrc.h:
10619           Documentation updates. Make BaseSink and BaseSrc docs contain the
10620           class structure so that people can actually see the prototypes for
10621           virtual functions they're supposed to be overriding.
10622
10623 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10624
10625         * plugins/elements/gsttypefindelement.c:
10626         (gst_type_find_element_chain):
10627           More debug info; when skipping typefinding, send cached
10628           events in all cases.
10629
10630 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10631
10632         * configure.ac:
10633           use new AS_VERSION and AS_NANO macros
10634         * gst/gst-i18n-lib.h:
10635         * gst/gst.c:
10636         * gst/gsterror.c:
10637         * gst/gstversion.h.in:
10638         * win32/common/config.h:
10639         * win32/common/config.h.in:
10640           update accordingly
10641
10642 2006-03-31  Michael Smith  <msmith@fluendo.com>
10643
10644         * plugins/elements/gsttypefindelement.c:
10645         (gst_type_find_element_chain):
10646           Do not typefind content if the buffers already have caps.
10647           Neccesary for icydemux (#333657), and the right thing to do anyway.
10648
10649 2006-03-30  Wim Taymans  <wim@fluendo.com>
10650
10651         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10652         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10653         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10654         (gst_base_sink_record_qos_observation),
10655         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10656         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10657         (gst_base_sink_change_state):
10658         More QoS measurements as described in the design doc.
10659         Get rid of ringbuffer with observations, running average is
10660         more simple and equally good.
10661         Calculates valid proportion now.
10662         Added beginning of flood measurement.
10663
10664 2006-03-29  Wim Taymans  <wim@fluendo.com>
10665
10666         * docs/design/part-qos.txt:
10667         * gst/gstclock.c:
10668         Small documentation updates and additions.
10669
10670 2006-03-29  Wim Taymans  <wim@fluendo.com>
10671
10672         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10673         (gst_base_src_send_event), (gst_base_src_loop),
10674         (gst_base_src_change_state):
10675         Perform the EOS logic when we reach the segment stop position.
10676         Fix compilation on gcc4.1
10677
10678 2006-03-29  Wim Taymans  <wim@fluendo.com>
10679
10680         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10681
10682         * plugins/elements/gstqueue.c: (gst_queue_init),
10683         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10684         (gst_queue_set_property):
10685         * plugins/elements/gstqueue.h:
10686         In queue, when EOS is received, if minimum threshold > max_size -
10687         current_level, there is chance that queue blocks forever in conditional
10688         item del wait. This is because the queue is not emptied completely due
10689         to minimum threshold.  Here is another approach. Instead of setting
10690         cur_levels to max in EOS, just zero all minimum threshold levels. This
10691         should make sure that queue gives out all data. When going to READY
10692         (stop) state, just reset the original minimum threshold levels.
10693         Fixes #336336.
10694
10695 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
10696
10697         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10698         (gst_type_find_element_handle_event),
10699         (gst_type_find_element_send_cached_events),
10700         (gst_type_find_element_change_state):
10701         * plugins/elements/gsttypefindelement.h:
10702           When typefinding is done in push mode, we should cache
10703           events we receive during typefinding instead of just
10704           dropping them (e.g. newsegment, custom events from
10705           dvdreadsrc etc.) and then send them out once we've
10706           determined the type of the stream (and decodebin
10707           has had a chance to plug in a decoder/demuxer).
10708           
10709 2006-03-27  Wim Taymans  <wim@fluendo.com>
10710
10711         * docs/design/part-qos.txt:
10712         First QoS ideas.
10713
10714 2006-03-27  Wim Taymans  <wim@fluendo.com>
10715
10716         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10717
10718         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10719         (gst_base_src_send_event), (gst_base_src_change_state):
10720         Handle element seek correctly when we are streaming.
10721         Fixes #326998.
10722
10723 2006-03-24  Michael Smith  <msmith@fluendo.com>
10724
10725         * docs/faq/gst-uninstalled:
10726           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10727           allow you to correctly run intalled applications built against old 
10728           core, using plugins that require updated core (e.g. running
10729           installed totem against a full uninstalled gstreamer stack)
10730
10731 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10732
10733         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10734         more debug details
10735
10736 2006-03-24  Wim Taymans  <wim@fluendo.com>
10737
10738         * docs/gst/gstreamer-sections.txt:
10739         Rearrange the order of the methods so that related methods
10740         are grouped together in sections.
10741
10742 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10743
10744         * gst/gstelement.c:
10745           Little clarification in the docs
10746
10747 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10748
10749         * docs/README:
10750         formatting fix
10751         * plugins/elements/gstidentity.c:
10752         * plugins/elements/gstqueue.c:
10753         * plugins/elements/gsttee.c:
10754         * plugins/elements/gsttypefindelement.c:
10755         GST_ELEMENT_DETAILS formatting
10756
10757 2006-03-24  Wim Taymans  <wim@fluendo.com>
10758
10759         * libs/gst/base/gstbasesink.h:
10760         Only add fields, not insert or we break ABI.
10761
10762 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10763
10764         * win32/common/libgstbase.def:
10765         * win32/common/libgstreamer.def:
10766           Update, add recently added functions.
10767
10768 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10769
10770         * docs/gst/gstreamer-sections.txt:
10771         * gst/gstutils.c: (gst_pad_query_peer_position),
10772         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10773         * gst/gstutils.h:
10774           API: add some new utility functions:
10775            - gst_pad_query_peer_position()
10776            - gst_pad_query_peer_duration()
10777            - gst_pad_query_peer_convert()
10778           
10779 2006-03-23  Wim Taymans  <wim@fluendo.com>
10780
10781         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10782         (gst_base_sink_init), (gst_base_sink_finalize),
10783         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10784         (gst_base_sink_set_property), (gst_base_sink_get_property),
10785         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10786         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10787         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10788         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10789         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10790         (gst_base_sink_preroll_object), (gst_base_sink_event),
10791         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10792         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10793         (gst_base_sink_query), (gst_base_sink_change_state):
10794         Decouple max-lateness and the fact that QoS messages are generated
10795         with a new property (qos).
10796         added API: GstBaseSink::async_play()
10797         Add vmethod so subclasses can be notified of ASYNC playing
10798         state changes.
10799         Collect timestamp start and stop to report better current
10800         position in EOS/PLAYING/PAUSED/READY/NULL.
10801         Refactor QoS/frame dropping and other measurements.
10802         API: GstBaseSrc::qos
10803         Fixes #326311
10804
10805         * libs/gst/base/gstbasesink.h:
10806         Added Private struct.
10807         API: gst_base_sink_set_qos_enabled()
10808         API: gst_base_sink_is_qos_enabled()
10809
10810 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10811
10812         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10813           If compiling against GLib-2.8 or newer, try to read the
10814           registry file using GMappedFile first before falling back
10815           to fopen() + fread() (#332151).
10816
10817 2006-03-22  Wim Taymans  <wim@fluendo.com>
10818
10819         * gst/gstinfo.c: (gst_debug_set_active),
10820         (gst_debug_category_set_threshold):
10821         Disable debugging unless explicitly activated.
10822         Fixes #335480.
10823
10824 2006-03-22  Wim Taymans  <wim@fluendo.com>
10825
10826         * gst/gstelement.c: (gst_element_set_locked_state),
10827         (gst_element_dispose):
10828         Cleanup the error case.
10829
10830         * gst/gstobject.c: (gst_object_dispose):
10831         print a critical when some object was disposed with
10832         a parent, also revive the object since it might
10833         crash the parent.
10834
10835 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
10836
10837         * tools/gst-launch.1.in:
10838           Fix another typo.
10839
10840 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10841
10842         * configure.ac:
10843         * tests/check/Makefile.am:
10844           disable some tests when we don't have a registry
10845         * tests/check/gst/gstutils.c: (gst_utils_suite):
10846           don't build the part that needs parsing
10847
10848 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10849
10850         * gst/Makefile.am
10851         * tests/examples/Makefile.am:
10852           fix --disable-parse build
10853
10854 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10855
10856         * tools/gst-feedback.1.in:
10857           Fix typo: s/feeback/feedback/ (#133494).
10858
10859 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10860
10861         * tools/Makefile.am:
10862         * tools/gst-launch.1.in:
10863           Add FILES section and correct entry about GST_REGISTRY_PATH
10864           environment variable (#133495; #133494).
10865
10866 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10867
10868         * tools/Makefile.am:
10869         * tools/gst-md5sum.1.in:
10870         * tools/gst-md5sum.c:
10871           Remove gst-md5sum and man page (the md5sink element
10872           required was removed ages ago)
10873
10874 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10875
10876         * gst/gststructure.c: (gst_structure_id_set_value):
10877           Make sure that string fields in structures/taglists
10878           contain valid UTF-8 - we don't want to pass rubbish to
10879           applications because of a buggy plugin (cp. #334167).
10880
10881 2006-03-21  Edward Hervey  <edward@fluendo.com>
10882
10883         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10884         (gst_bin_handle_message_func):
10885         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10886         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10887         (gst_element_set_bus_func):
10888         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10889         * gst/gstminiobject.c: (gst_value_set_mini_object),
10890         (gst_value_take_mini_object):
10891         * gst/gstpad.c: (gst_pad_set_pad_template):
10892         * gst/gstpipeline.c: (gst_pipeline_dispose),
10893         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10894         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10895         (gst_collect_pads_chain):
10896         * libs/gst/net/gstnettimeprovider.c:
10897         (gst_net_time_provider_set_property):
10898         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10899         It's in fact all issues with gst_*object_replace().
10900
10901 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10902
10903         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
10904         
10905         * pkgconfig/gstreamer-check-uninstalled.pc.in:
10906         * pkgconfig/gstreamer-check.pc.in:
10907           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10908
10909 2006-03-21  Edward Hervey  <edward@fluendo.com>
10910
10911         * gst/gstbuffer.h:
10912         * gst/gstevent.h:
10913         * gst/gstmessage.h:
10914         gst_[buffer|event|message]_ref() macros are replaced by a static
10915         inline functions because gcc-4.1 will about if the return value
10916         isn't used.
10917         * tests/check/gst/gstevent.c: (event_probe):
10918         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10919
10920 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
10921
10922         * gst/gstutils.h:
10923         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10924         the type' case. (Closes: #335195 for now). In the future, when we
10925         depend on GLib 2.10, we could also intern the type name using
10926         g_intern_static_string()
10927
10928 2006-03-20  Wim Taymans  <wim@fluendo.com>
10929
10930         * gst/gstbin.c: (gst_bin_handle_message_func),
10931         (bin_query_max_init), (bin_query_position_fold),
10932         (bin_query_position_done), (gst_bin_query):
10933         Position query should also take max of all streams.
10934
10935 2006-03-20  Wim Taymans  <wim@fluendo.com>
10936
10937         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10938         (gst_fake_src_finalize):
10939         Fix leaks in fakesrc.
10940
10941         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10942         Fix leaks in the testcase.
10943
10944 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
10945
10946         * gst/gst_private.h:
10947           add win32 specific import decoration(__declspec(dllimport)) 
10948           for all extern GstDebugCategory * variables
10949         * win32/common/libgstbase.def:
10950         * win32/common/libgstcontroller.def:
10951         * win32/common/libgstreamer.def:
10952           Add some exports, remove empty lines
10953         * win32/common/libgstdataprotocol.def:
10954         * win32/common/libgstdataprotocol.dsp:
10955         * win32/common/libgstnet.def:
10956         * win32/common/libgstnet.dsp:
10957           new project files and exportation files added
10958         
10959 2006-03-19  Wim Taymans  <wim@fluendo.com>
10960
10961         * tests/check/libs/basesrc.c: (eos_event_counter):
10962         Use proper return value for probe.
10963
10964 2006-03-17  Wim Taymans  <wim@fluendo.com>
10965
10966         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10967         (gst_pad_push):
10968         Don't leak buffers, caps and pads on negotiation errors.
10969
10970 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
10971
10972         * docs/faq/cvs.xml:
10973         * docs/faq/dependencies.xml:
10974         * docs/faq/developing.xml:
10975         * docs/faq/faq.xml:
10976         * docs/faq/general.xml:
10977         * docs/faq/getting.xml:
10978         * docs/faq/legal.xml:
10979         * docs/faq/troubleshooting.xml:
10980         * docs/faq/using.xml:
10981         Faq review and update.
10982
10983 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
10984
10985         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10986         (gst_pad_push):
10987         Don't pound the cpu to pieces by checking get_caps when accept_caps
10988         is called with the same caps as the pad already has.
10989         Use GST_DEBUG_OBJECT when outputting caps change information.
10990
10991 2006-03-15  Wim Taymans  <wim@fluendo.com>
10992
10993         * gst/gstclock.c: (gst_clock_class_init):
10994         Fix docs.
10995
10996 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
10997
10998         * gst/gstbuffer.h:
10999         Documentation fix.
11000
11001         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
11002         (gst_pad_accept_caps), (gst_pad_configure_sink),
11003         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
11004         Make the default acceptcaps behaviour be to check the requested 
11005         caps against the gst_pad_get_caps output. 
11006
11007         Ensure that gst_pad_accept_caps is used to check caps when a pad
11008         doesn't have a setcaps function, so that pads automatically refuse 
11009         caps that they don't allow in their pad template. (Fixes #332986)
11010
11011         When a buffer with attached caps is pushed, ensure that the source 
11012         pad receives those caps even if the element didn't call
11013         gst_pad_set_caps first.
11014
11015 2006-03-15  Wim Taymans  <wim@fluendo.com>
11016
11017         * libs/gst/base/gstadapter.c:
11018         Add some docs.
11019
11020 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
11021
11022         * win32/common/libgstbase.def:
11023         * win32/common/libgstcontroller.def:
11024         * win32/common/libgstreamer.def:
11025           Add a whole bunch of missing functions (#334434).
11026
11027 2006-03-14  Wim Taymans  <wim@fluendo.com>
11028
11029         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11030         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11031         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
11032         Better debug info when we receive a segment event.
11033         Reorganize a bit so we can pass the get_times() results around.
11034         Use the segment format when calculating the running time.
11035         Don't do QoS is sync is disabled or we have no clock or the
11036         element does not want us to sync to the clock.
11037         Don't drop buffers if QoS is disabled for now.
11038
11039 2006-03-14  Wim Taymans  <wim@fluendo.com>
11040
11041         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
11042         Marked the stats property as unimplemented so people don't get
11043         wild ideas.
11044         Add debug message when regression goes wrong.
11045         Added some more docs.
11046
11047 2006-03-14  Wim Taymans  <wim@fluendo.com>
11048
11049         * gst/gstsegment.c: (gst_segment_to_stream_time):
11050         Return correct return type in case of errors.
11051
11052 2006-03-14  Wim Taymans  <wim@fluendo.com>
11053
11054         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
11055           Don't segfault on invalid formats.
11056
11057 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
11058
11059         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11060           Can't use gst_segment_to_running_time() when the segment
11061           is not in GST_TIME_FORMAT (like with filesink, for example).
11062           Stops flac encoding pipelines from spewing critical warnings
11063           at EOS (#331248).
11064           
11065 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
11066
11067         * gst/gstpipeline.c: (gst_pipeline_class_init):
11068           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
11069
11070         * plugins/elements/gsttypefindelement.c:
11071         (gst_type_find_element_handle_event):
11072           Don't try to typefind empty streams.
11073
11074 2006-03-14  Wim Taymans  <wim@fluendo.com>
11075
11076         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11077         (gst_base_sink_do_qos):
11078         Separate QoS calculation.
11079         Only drop buffers when lateness is bigger than the 
11080         duration of the buffer.
11081
11082 2006-03-13  Wim Taymans  <wim@fluendo.com>
11083
11084         * gst/gstpipeline.c: (gst_pipeline_set_property),
11085         (gst_pipeline_get_property), (do_pipeline_seek),
11086         (gst_pipeline_change_state), (gst_pipeline_set_delay),
11087         (gst_pipeline_get_delay):
11088         Don't deadlock when reading properties.
11089
11090 2006-03-13  Wim Taymans  <wim@fluendo.com>
11091
11092         * libs/gst/base/gstbasetransform.c:
11093         (gst_base_transform_class_init), (gst_base_transform_init),
11094         (gst_base_transform_sink_event),
11095         (gst_base_transform_sink_eventfunc),
11096         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
11097         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11098         (gst_base_transform_set_property),
11099         (gst_base_transform_get_property),
11100         (gst_base_transform_change_state), (gst_base_transform_update_qos),
11101         (gst_base_transform_set_qos_enabled),
11102         (gst_base_transform_is_qos_enabled):
11103         * libs/gst/base/gstbasetransform.h:
11104         Make basetransform virtual method for src events too.
11105         Handle QOS in basetransform.
11106         API: gst_base_transform_update_qos()
11107         API: gst_base_transform_set_qos_enabled()
11108         API: gst_base_transform_is_qos_enabled()
11109
11110 2006-03-13  Wim Taymans  <wim@fluendo.com>
11111
11112         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11113         (gst_base_sink_do_sync):
11114         Small cleanups.
11115         Use QOS debug category.
11116
11117 2006-03-13  Wim Taymans  <wim@fluendo.com>
11118
11119         * plugins/elements/gstqueue.c:
11120         Very small doc update.
11121
11122 2006-03-13  Wim Taymans  <wim@fluendo.com>
11123
11124         * gst/gst_private.h:
11125         * gst/gstinfo.c: (_gst_debug_init):
11126         Added QOS debug category
11127
11128 2006-03-13  Wim Taymans  <wim@fluendo.com>
11129
11130         * docs/gst/gstreamer-sections.txt:
11131         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11132         * gst/gstbin.h:
11133         * gst/gstbus.c: (gst_bus_class_init):
11134         * gst/gstbus.h:
11135         * gst/gstclock.c:
11136         * gst/gstelement.c: (gst_element_set_locked_state):
11137         * gst/gstsegment.c:
11138         Documentation updates.
11139
11140         * gst/gstpipeline.c: (gst_pipeline_get_type),
11141         (gst_pipeline_class_init), (gst_pipeline_init),
11142         (gst_pipeline_dispose), (gst_pipeline_set_property),
11143         (gst_pipeline_get_property), (do_pipeline_seek),
11144         (gst_pipeline_send_event), (gst_pipeline_change_state),
11145         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11146         (gst_pipeline_get_delay):
11147         * gst/gstpipeline.h:
11148         Added methods for setting the delay.
11149         API: gst_pipeline_set_delay()
11150         API: gst_pipeline_get_delay()
11151         Add pipeline debug category
11152         Various cleanups.
11153         Updated docs.
11154         Don't reset stream time when seek failed.
11155
11156 2006-03-13  Wim Taymans  <wim@fluendo.com>
11157
11158         * docs/design/draft-klass.txt:
11159         * docs/design/part-clocks.txt:
11160         * docs/design/part-events.txt:
11161         * docs/design/part-gstbin.txt:
11162         * docs/design/part-gstpipeline.txt:
11163         * docs/design/part-messages.txt:
11164         * docs/design/part-negotiation.txt:
11165         * docs/design/part-overview.txt:
11166         * docs/design/part-preroll.txt:
11167         * docs/design/part-seeking.txt:
11168         * docs/design/part-states.txt:
11169         * docs/design/part-streams.txt:
11170         Documentation updates.
11171
11172 2006-03-12  Julien MOUTTE  <julien@moutte.net>
11173
11174         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11175         us to leak strings...
11176
11177 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11178
11179         * libs/gst/net/gstnettimeprovider.c:
11180           fix docs
11181         * win32/common/config.h:
11182           update
11183
11184 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
11185
11186         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11187
11188         * configure.ac:
11189           Don't check for libgnomeui (leftover from old examples
11190           that aren't built or disted any longer) (#334303).
11191           
11192 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
11193
11194         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11195         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11196           Emit RESOURCE_NO_SPACE_LEFT error here as well when
11197           there's no space left on the device.
11198
11199 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
11200
11201         * gst/gstclock.h:
11202           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11203           to cast the input to GstClockTime before comparing with
11204           another GstClockTime value.
11205
11206 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11207
11208         * configure.ac:
11209           back to trunk
11210
11211 === release 0.10.4 ===
11212
11213 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
11214
11215         * configure.ac:
11216           releasing 0.10.4, "Light"
11217
11218 2006-03-10  Michael Smith  <msmith@fluendo.com>
11219
11220         * libs/gst/dataprotocol/dataprotocol.c:
11221           Fix docs for dataprocotol to not get the return types completely
11222           wrong for a few functions.
11223
11224 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11225
11226         * docs/gst/gstreamer-sections.txt:
11227         * gst/gstpipeline.c: (gst_pipeline_class_init),
11228         (gst_pipeline_init), (gst_pipeline_set_property),
11229         (gst_pipeline_get_property), (gst_pipeline_change_state),
11230         (gst_pipeline_set_auto_flush_bus),
11231         (gst_pipeline_get_auto_flush_bus):
11232         * gst/gstpipeline.h:
11233           Add new API: gst_pipeline_set_auto_flush_bus() and
11234           gst_pipeline_get_auto_flush_bus() to disable automatic
11235           flushing of the pipeline's GstBus when going from READY
11236           to NULL state (#332045).
11237
11238 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11239
11240         * docs/gst/gstreamer-sections.txt:
11241         * gst/gsturi.c: (gst_uri_has_protocol):
11242         * gst/gsturi.h:
11243            Add new API: gst_uri_has_protocol() (#333779).
11244
11245 2006-03-09  Wim Taymans  <wim@fluendo.com>
11246
11247         * gst/gstclock.c: (gst_clock_entry_new),
11248         (gst_clock_id_compare_func), (gst_clock_id_wait),
11249         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11250         (gst_clock_init), (gst_clock_get_internal_time),
11251         (gst_clock_set_master), (do_linear_regression),
11252         (gst_clock_add_observation), (gst_clock_set_property):
11253         * gst/gstclock.h:
11254         Review docs.
11255         Small cleanups.
11256         Fix a possible segfault when the window-size is made smaller.
11257         Calculate jitter before performing the clock wait. Ideally
11258         the clock implementation should calculate jitter but we need
11259         API breakage for that.
11260
11261         * gst/gstsystemclock.c: (gst_system_clock_init):
11262         Docs review.
11263         
11264         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11265         Remove leftover else
11266
11267         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11268         (gst_systemclock_suite):
11269         Added check to test GST_CLOCK_DIFF.
11270
11271 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11272
11273         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11274         (gst_type_find_helper_get_range):
11275           If we are provided with the size, we should implement
11276           GstTypeFind::get_length, so that typefind functions who
11277           want to can actually peek at the middle of a file.
11278
11279 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
11280
11281         * docs/manual/advanced-dataaccess.xml:
11282           Add some very very basic error checking.
11283
11284         * docs/pwg/appendix-checklist.xml:
11285           Some updates to the list of things to check when writing an element.
11286
11287 2006-03-08  Wim Taymans  <wim@fluendo.com>
11288
11289         * docs/design/part-element-transform.txt:
11290         Added some docs about the design of tranform elements.
11291
11292         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11293         (gst_base_src_loop), (gst_base_src_change_state):
11294         Mark buffers with the DISCONT flag.
11295
11296 2006-03-08  Michael Smith  <msmith@fluendo.com>
11297
11298         * gst/gstregistry.h:
11299         * gst/gstregistryxml.c: (gst_registry_save),
11300         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11301         (gst_registry_xml_save_pad_template),
11302         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11303         (gst_registry_xml_write_cache):
11304           Rewrite registry-saving to avoid race conditions and check for
11305           failed writes.
11306
11307 2006-03-08  Wim Taymans  <wim@fluendo.com>
11308
11309         * libs/gst/base/gstbasetransform.c:
11310         (gst_base_transform_transform_caps),
11311         (gst_base_transform_transform_size),
11312         (gst_base_transform_prepare_output_buffer),
11313         (gst_base_transform_get_unit_size),
11314         (gst_base_transform_buffer_alloc),
11315         (gst_base_transform_handle_buffer),
11316         (gst_base_transform_change_state):
11317         Cleanups, separate normal flow from errors, add sensible
11318         DEBUG lines.
11319         Don't try to renegotiate when allocating an output buffer.
11320         Also copy DISCONT buffer flag when copying a buffer.
11321         Reset the transform after we finish streaming, not during.
11322
11323 2006-03-08  Wim Taymans  <wim@fluendo.com>
11324
11325         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11326         Use last buffer timestamp in qos message.
11327
11328 2006-03-07  Wim Taymans  <wim@fluendo.com>
11329
11330         Patch by: Christophe Fergeau
11331
11332         * docs/pwg/advanced-tagging.xml:
11333         * docs/pwg/building-pads.xml:
11334           fixes #333416
11335
11336 2006-03-07  Wim Taymans  <wim@fluendo.com>
11337
11338         * docs/libs/gstreamer-libs-sections.txt:
11339         Added basesink new methods.
11340
11341         * gst/gstevent.c:
11342         * gst/gstevent.h:
11343         Docs updates. Flesh out the QoS docs.
11344
11345         * libs/gst/base/gstadapter.c:
11346         Small doc clarification about ownership and flushing.
11347
11348         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11349         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11350         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11351         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11352         * libs/gst/base/gstbasesink.h:
11353         API additions: 
11354         Added new methods to allow subclass to control max-lateness 
11355         and sync.
11356         Generate very basic QoS events based on last sync observation.
11357         Updated docs, fix typo, added some QoS blurb.
11358
11359         * libs/gst/base/gstbasesrc.c:
11360         Remove obsolete _get_state() calls from docs.
11361
11362 2006-03-07  Wim Taymans  <wim@fluendo.com>
11363
11364         * docs/libs/gstreamer-libs-sections.txt:
11365         * libs/gst/base/gstbasetransform.h:
11366         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11367         Fix docs for GstBaseSrc.
11368
11369 2006-03-07  Wim Taymans  <wim@fluendo.com>
11370
11371         * docs/gst/gstreamer-sections.txt:
11372         * gst/gstbuffer.h:
11373         * gst/gstvalue.c:
11374         * libs/gst/base/gstbasetransform.h:
11375         Small documentation fixes.
11376
11377 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11378
11379         * gst/gstvalue.c:
11380           Document thread-unsafety of gst_value_register_foo_func()
11381           when used at the same time as gst_value_foo() (#322628).
11382
11383 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11384
11385         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11386         (gst_push_src_check_get_range):
11387           Push sources don't support pull mode by default.
11388
11389 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11390
11391         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11392         (gst_base_src_init), (gst_base_src_pad_check_get_range),
11393         (gst_base_src_default_check_get_range):
11394         * libs/gst/base/gstbasesrc.h:
11395           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11396           provide default implementation, and rename
11397           gst_base_src_check_get_range() to
11398           gst_base_src_pad_check_get_range() for clarity.
11399
11400 2006-03-06  Wim Taymans  <wim@fluendo.com>
11401
11402         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11403         Make property overridable.
11404
11405 2006-03-06  Wim Taymans  <wim@fluendo.com>
11406
11407         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11408         (gst_base_sink_init), (gst_base_sink_set_property),
11409         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11410         * libs/gst/base/gstbasesink.h:
11411         API addition: Make max-lateness a property.
11412
11413 2006-03-06  Wim Taymans  <wim@fluendo.com>
11414
11415         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11416         (gst_base_sink_do_sync), (gst_base_sink_render_object):
11417         Don't ever draw a frame that is >10ms late.
11418
11419 2006-03-06  Michael Smith  <msmith@fluendo.com>
11420
11421         * gst/gstmessage.c: (_gst_message_copy):
11422           When copying a message, set the parent_refcount of the enclosed
11423           structure to point at the copy, not the original message.
11424
11425 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11426
11427         Patch by: Christophe Fergeau
11428
11429         * gst/gstutils.h:
11430           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11431           usable in c++ code (#333417)
11432
11433 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11434
11435         * gst/gstclock.h:
11436           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11437
11438 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
11439
11440         * libs/gst/base/gstbasetransform.c:
11441         (gst_base_transform_transform_caps):
11442           Make sure caps are writable before passing them to
11443           gst_caps_append().
11444
11445 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11446
11447         * gst/gsterror.h:
11448           Fix some minor docs errors.
11449
11450 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11451
11452           Patch by: Ross Burton <ross at burtonini dot com>
11453
11454         * gst/gsterror.c: (_gst_resource_errors_init):
11455         * gst/gsterror.h:
11456           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11457
11458 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11459
11460         * gst/gst.c:
11461         Add a check and output a g_warning when GStreamer is built
11462         against GLib 2.6 but running against 2.8 or higher, and vice 
11463         versa. (Closes: #323542)
11464
11465 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11466
11467         * gst/parse/parse.l:
11468           Commit patch for parse_launch syntax from #331255. Removes 
11469           support for quoted strings and mimetypes when writing filtered 
11470           caps. See the bug report for more details - I'm pretty sure this
11471           obscure feature is not in use by _anyone_ anywhere.
11472
11473           With this simple change, the size of the gstreamer.so here 
11474           drops from 2193KB to 1565KB.
11475
11476 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11477
11478         * plugins/elements/gsttypefindelement.h:
11479         * plugins/elements/gsttypefindelement.c:
11480         (gst_type_find_element_src_event), (start_typefinding),
11481         (stop_typefinding), (gst_type_find_element_handle_event),
11482         (gst_type_find_element_chain),
11483         (gst_type_find_element_chain_do_typefinding):
11484           Use gst_type_find_helper_for_buffer() for chain-based
11485           typefinding.
11486
11487 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11488
11489         * plugins/elements/gsttypefindelement.c:
11490         (gst_type_find_element_class_init),
11491         (gst_type_find_element_set_property),
11492         (gst_type_find_element_get_property):
11493           Deprecate "maximum" property (not only was it only taken into
11494           account for typefinding in push-mode anyway, it also was never
11495           actually possible to set it in the first place because the
11496           property was registered with the numeric property ID for the
11497           "minimum" property). Register "maximum" property correctly,
11498           for the sake of future copy'n'pasters. Remove some cruft
11499           from property get/set functions.
11500
11501 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11502
11503         * plugins/elements/gsttypefindelement.c:
11504         (gst_type_find_element_activate):
11505           Use gst_type_find_helper_get_range() here, so we
11506           can honour the "minimum" property and also emit
11507           the signal with the correct probability of the found caps.
11508
11509 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
11510
11511         * docs/libs/gstreamer-libs-sections.txt:
11512         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11513         (helper_find_suggest), (gst_type_find_helper_get_range),
11514         (gst_type_find_helper):
11515         * libs/gst/base/gsttypefindhelper.h:
11516           New API: gst_type_find_helper_get_range() (#333042).
11517
11518 2006-03-02  Michael Smith  <msmith@fluendo.com>
11519
11520         * gst/gstregistryxml.c: (load_feature):
11521           Asserting on a failure to read part of the registry is Not Cool.
11522           Just log a warning and return NULL (which is already handled)
11523
11524 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
11525
11526         * win32/common/libgstbase.def:
11527           added export of gst_type_find_helper_for_buffer
11528         * win32/common/libgstbase.def:
11529           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11530           gst_ghost_pad_get_target
11531
11532 2006-02-28  Wim Taymans  <wim@fluendo.com>
11533
11534         * docs/design/draft-klass.txt:
11535         We use Filter now.
11536         Added Connector to mark elements that are only used to
11537         allow pipeline connections.
11538         Moved Debug to extra feature since most of them are 
11539         functionally something else.
11540
11541 2006-02-28  Wim Taymans  <wim@fluendo.com>
11542
11543         * docs/design/draft-klass.txt:
11544         Some updates and clarifications.
11545
11546 2006-02-28  Wim Taymans  <wim@fluendo.com>
11547
11548         * docs/design/draft-klass.txt:
11549         Proposal for klass field values.
11550
11551         * docs/design/part-streams.txt:
11552         Start of a doc describing stream anatomy.
11553
11554 2006-02-28  Wim Taymans  <wim@fluendo.com>
11555
11556         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11557         Help the compiler a bit with type registration.
11558         Use existing forward cod path instead of duplicating it when 
11559         handling a message.
11560         
11561         * gst/gstbus.c: (gst_bus_get_type):
11562         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11563         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11564         * gst/gstclock.c: (gst_clock_get_type):
11565         * gst/gstelement.c: (gst_element_get_type),
11566         * gst/gstelementfactory.c: (gst_element_factory_get_type):
11567         * gst/gstindexfactory.c: (gst_index_factory_get_type):
11568         * gst/gstminiobject.c: (gst_mini_object_get_type):
11569         * gst/gstpad.c: (gst_pad_get_type):
11570         * gst/gstsegment.c: (gst_segment_get_type):
11571         * gst/gststructure.c: (gst_structure_get_type):
11572         * gst/gstsystemclock.c: (gst_system_clock_get_type):
11573         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11574         * gst/gstvalue.c:
11575         Help compiler with type registration.
11576
11577         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11578         Small doc update.
11579
11580 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11581
11582         * plugins/elements/gsttypefindelement.c:
11583         (gst_type_find_element_handle_event):
11584           When we get an EOS event and have not found a type yet
11585           (most likely because we had not yet accumulated
11586           TYPE_FIND_MIN_SIZE of data yet), try to determine the
11587           type given the data we have so far. Fixes typefinding
11588           for very short streams again, most notably quicktime
11589           redirections as used on Apple's trailer site (#331701).
11590
11591 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11592
11593         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11594         (gst_type_find_helper):
11595           Try typefinding factories with the highest rank first.
11596
11597 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11598
11599         * docs/libs/gstreamer-libs-docs.sgml:
11600         * docs/libs/gstreamer-libs-sections.txt:
11601         * libs/gst/base/gsttypefindhelper.c:
11602           Add section for typefind helper and add documentation
11603           for the old and the new function.
11604
11605 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11606
11607         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11608         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11609         (gst_type_find_helper_for_buffer):
11610         * libs/gst/base/gsttypefindhelper.h:
11611           New API: gst_type_find_helper_for_buffer() (#332723).
11612           
11613 2006-02-27  Michael Smith  <msmith@fluendo.com>
11614
11615         Patch by: Loïc Minier
11616
11617         * configure.ac:
11618         * docs/Makefile.am:
11619         * docs/slides/Makefile.am:
11620           prevent CVS directories getting disted.
11621
11622 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11623
11624         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11625           Use the REFCOUNTING category for caps refcounting.
11626           
11627 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11628
11629         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11630           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11631
11632 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11633
11634         * plugins/elements/gsttypefindelement.c:
11635         (gst_type_find_element_activate):
11636           Use gst_pad_check_pull_range() before _activate_pull()
11637           to avoid unnecessary open/close (see #331690).
11638
11639 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11640
11641         * gst/gstutils.c:
11642           Docs enhancement: make it crystal clear what the
11643           gst_pad_add_*_probe() callbacks should look like.
11644
11645 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11646
11647         * libs/gst/base/gstbasesrc.c:
11648           Document how applications can stop recording from
11649           live sources (see #330996).
11650
11651 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11652
11653         * tests/check/Makefile.am:
11654         * tests/check/libs/basesrc.c: (eos_event_counter),
11655         (basesrc_eos_events_pull), (basesrc_eos_events_push),
11656         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11657         (gst_basesrc_suite), (main):
11658           ... and add some tests for the base source EOS stuff.
11659
11660 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11661
11662         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11663           Test case originally showed the problem fixed below,
11664           but was then amended. Add checks back at the place
11665           where they used to be.
11666
11667 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11668
11669         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11670         (gst_base_src_init), (gst_base_src_loop),
11671         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11672         (gst_base_src_change_state):
11673         * libs/gst/base/gstbasesrc.h:
11674           Don't unconditionally send EOS when going from PAUSED to
11675           READY state, esp. make sure we don't send two EOS events
11676           in some cases (e.g. one when reaching EOS and one when
11677           going from PAUSED to READY). Also, we don't want to send
11678           EOS events when operating in pull mode. However, we do
11679           want to send an EOS event when shutting down a live
11680           source explicitly, for example (fixes #330996).
11681           
11682 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11683
11684         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11685           Update src->read_position after a seek when not using mmap.
11686           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11687
11688 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
11689
11690         * gst/Makefile.am:
11691         * gst/gstparse.h:
11692         * gst/gstutils.c:
11693         * gst/gstutils.h:
11694         Make things work with --disable-parse as they do with 
11695         --disable-load-save - the symbols involved disappear, but the
11696         header is still installed and GST_DISABLE_PARSE is included via
11697         gstconfig.h
11698
11699 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11700
11701         * libs/gst/base/gstbasetransform.c:
11702         (gst_base_transform_change_state): Fix a stupid bug. I was 
11703         sure I compiled that.
11704
11705 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11706
11707         * gst/gstpad.c: (gst_pad_set_blocked_async):
11708         * gst/gstutils.c: (gst_pad_add_data_probe),
11709         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11710         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11711         (gst_pad_remove_buffer_probe): Make those function act on the
11712         ghostpad target when it's a ghostpad. (Closes #331727)
11713
11714 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11715
11716         * libs/gst/base/gstbasetransform.c:
11717         (gst_base_transform_change_state): Make basetransform reusable.
11718         (Closes #331898)
11719
11720 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
11721
11722         * docs/random/release:
11723         Move the current documentation of how to do a release to the top
11724         of the file.
11725
11726         * gst/gstbin.c: (gst_bin_class_init),
11727         (gst_bin_handle_message_func):
11728         Allow multiple state-recalculation threads. (Closes #328873)
11729
11730 2006-02-19  Julien MOUTTE  <julien@moutte.net>
11731
11732         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11733         * gst/gstpad.c: (gst_pad_set_event_function),
11734         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11735         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11736         2 strings. You can't use the STR_NULL macro on that.
11737
11738 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
11739
11740         * gst/gstpad.c: (gst_pad_set_event_function),
11741         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11742         (gst_pad_set_getcaps_function)
11743         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11744           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11745           So now, we can use --gst-debug-level=5 on Windows
11746         * win32/common/libgstcontroller.def:
11747           Added export of gst_controller_init
11748         * win32/vs6/libgstcontroller.dsp:
11749           Fixed Release post build configuration
11750
11751 2006-02-17  Wim Taymans  <wim@fluendo.com>
11752
11753         * tests/check/gst/gstquery.c: (GST_START_TEST):
11754         Added another check.
11755
11756 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
11757
11758         * plugins/elements/gsttypefindelement.c: (find_peek):
11759           We can do peeks at non-zero offsets, as long as they
11760           fall within the buffer we have.
11761
11762 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
11763
11764         * tests/check/Makefile.am:
11765         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11766         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11767         (parse_suite), (main):
11768           Add testsuite for parse launch syntax
11769
11770 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
11771
11772         * plugins/elements/gsttypefindelement.c:
11773         (gst_type_find_element_chain):
11774           When typefinding is unsuccessful in the chain function, don't
11775           error out immediately. Only error out with NO_CAPS_FOUND if
11776           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11777           otherwise simply wait for more data so we can try typefinding
11778           again with more data later. Also, don't attempt to typefind
11779           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11780           this should improve typefinding from network sources where the
11781           size of the first buffer can be somewhat random.
11782
11783 2006-02-14  Wim Taymans  <wim@fluendo.com>
11784
11785         * docs/gst/gstreamer-sections.txt:
11786         * gst/gstpadtemplate.c:
11787         * gst/gstpadtemplate.h:
11788         Fix padtemplate docs, fixes #328805.
11789
11790 2006-02-14  Wim Taymans  <wim@fluendo.com>
11791
11792         * tools/gst-launch.c: (main):
11793         NO_PREROLL is not an ERROR so don't send confusing messages
11794         to the user.
11795
11796 2006-02-14  Wim Taymans  <wim@fluendo.com>
11797
11798         Patch by: Torsten Schoenfeld
11799
11800         * gst/gstregistry.c: (gst_registry_get_default),
11801         (_gst_registry_cleanup):
11802         Protect default registry with lock and ref/sink it.
11803         Fixes #324818
11804
11805 2006-02-14  Wim Taymans  <wim@fluendo.com>
11806
11807         * gst/gstbuffer.c:
11808         * gst/gstquery.c: (gst_query_list_add_format),
11809         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11810         (gst_query_parse_formats_nth):
11811         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11812         Docs fixes.
11813
11814 2006-02-14  Wim Taymans  <wim@fluendo.com>
11815
11816         * docs/gst/gstreamer-sections.txt:
11817         Reworked query docs.
11818
11819         * gst/gstquery.c: (gst_query_new_formats),
11820         (gst_query_list_add_format), (gst_query_set_formats),
11821         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11822         (gst_query_parse_formats_nth):
11823         * gst/gstquery.h:
11824         Flesh out formats query, added some new methods.
11825         Fix part of #324398.
11826
11827         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11828         Added query creation tests.
11829
11830 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
11831
11832         * gst/gstpad.c: (fixate_value):
11833         Add a default fixation for fraction lists.
11834
11835 2006-02-13  Wim Taymans  <wim@fluendo.com>
11836
11837         * gst/gsttask.c: (gst_task_init), (gst_task_func),
11838         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11839         (gst_task_join):
11840         * gst/gsttask.h:
11841         Detect and warn for obvious deadlocks. fixes #320340
11842         Fix error case where lock was not released.
11843
11844         * tests/check/Makefile.am:
11845         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11846         (task_func), (gst_element_suite), (main):
11847         Add task check.
11848
11849 2006-02-13  Wim Taymans  <wim@fluendo.com>
11850
11851         * docs/gst/gstreamer-sections.txt:
11852         * gst/gstbus.c:
11853         Add new functions to docs.
11854
11855 2006-02-13  Wim Taymans  <wim@fluendo.com>
11856
11857         * docs/design/part-TODO.txt:
11858         Updated TODO list, basesrc supports seeking to non-bytes
11859         formats.
11860
11861         * docs/design/part-element-sink.txt:
11862         Update docs.
11863
11864         * gst/gstbin.c: (bin_replace_message),
11865         (gst_bin_handle_message_func):
11866         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11867         * gst/gstevent.c: (gst_event_finalize):
11868         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11869         (gst_pad_send_event):
11870         Use shiny new _TYPE_NAME macros.
11871
11872         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11873         Move debug statement up.
11874
11875         * gst/gstelement.c: (gst_element_set_locked_state):
11876         Add some debugging.
11877
11878 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
11879
11880         * docs/gst/gstreamer-sections.txt:
11881         * gst/gstmessage.h:
11882         * gst/gstquery.h:
11883           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11884           macros (#330906). Also, document the already existing
11885           GST_QUERY_TYPE macro.
11886
11887 2006-02-13  Wim Taymans  <wim@fluendo.com>
11888
11889         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11890         (event_probe), (GST_START_TEST):
11891         Only events up to the pipeline EOS are counted, there are
11892         some more when going to NULL currently which we don't care
11893         about for now.
11894
11895 2006-02-13  Wim Taymans  <wim@fluendo.com>
11896
11897         * gst/gstpad.c: (gst_pad_send_event):
11898         Correctly check flushing and emit probes. fixes #330125
11899
11900 2006-02-10  Andy Wingo  <wingo@pobox.com>
11901
11902         * gst/gstbus.c (gst_bus_class_init): Declare our private data
11903         structure.
11904         (gst_bus_init): Cache the location of the private data in the
11905         instance structure.
11906         (gst_bus_enable_sync_message_emission) 
11907         (gst_bus_disable_sync_message_emission): Implement new public
11908         functions.
11909         (gst_bus_post): Emit the sync-message signal if the user asked for
11910         it. Fixes #330684.
11911
11912         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11913         location of the bus-private structure.
11914         (gst_bus_enable_sync_message_emission)
11915         (gst_bus_disable_sync_message_emission): API addition
11916
11917 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
11918
11919         Patch by: Vincent Torri
11920
11921         * docs/pwg/building-boiler.xml:
11922         PWG patch from #326800
11923
11924 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
11925
11926         * configure.ac:
11927         * docs/Makefile.am:
11928         * docs/design/Makefile.am:
11929           Dist design docs.
11930
11931 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11932
11933         * configure.ac:
11934           back to CVS
11935
11936 === release 0.10.3 ===
11937
11938 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
11939
11940         * configure.ac:
11941           releasing 0.10.3, "Like a virgin"
11942
11943 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11944
11945         * configure.ac:
11946           2nd prerelease of 0.10.3
11947           Bump libtool versioning.
11948
11949 2006-02-07  Andy Wingo  <wingo@pobox.com>
11950
11951         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11952         update last_stop if we're in TIME format and the timestamp is
11953         valid.
11954
11955         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
11956         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
11957         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11958         If we get a new newsegment with a different format, adapt
11959         accordingly.
11960
11961         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11962         of 0. Not a problem, really.
11963
11964         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11965         warn if sync=true.
11966
11967 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
11968
11969         * configure.ac:
11970           Prelease of 0.10.3
11971
11972 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
11973
11974         * win32/vs7:
11975           project files updated to the default vs7 configuration
11976         * win32/common/libgstbase.def:
11977         * win32/common/libgstreamer.def:
11978           added new symbols,
11979           removed empty lines,
11980           sorted all exported symbols alphabetically
11981         * win32/common/dirent.c:
11982         * win32/common/dirent.h:
11983         * win32/common/gchar.h:
11984           use windows line end.
11985           
11986 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11987
11988         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11989           Send EOS event when stopping.
11990
11991 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11992
11993         * docs/README:
11994           Tell folks what to do if the plugin-foobar.xml file
11995           hasn't been generated for a newly-added plugin.
11996
11997 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11998
11999         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12000         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12001         (gst_collect_pads_start), (gst_collect_pads_stop),
12002         (gst_collect_pads_event): Collectpads now holds a reference
12003         to the GstPad that was added. Indeed we don't want to look
12004         at pads that might just go away with no warning...
12005
12006 2006-02-05  Julien MOUTTE  <julien@moutte.net>
12007
12008         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
12009         (gst_collect_pads_start), (gst_collect_pads_stop),
12010         (gst_collect_pads_event), (gst_collect_pads_chain):
12011         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
12012         Mark Nauwelaerts's patch on bug #328491.
12013
12014 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
12015
12016         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
12017         (gst_utils_suite):
12018           Add some simple tests for gst_parse_bin_from_description() and
12019           gst_bin_find_unconnected_pad() (#329069).
12020
12021 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
12022
12023         * tools/gst-launch.c: (event_loop), (main):
12024           Catch errors during preroll (#320084).
12025
12026 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
12027
12028         * plugins/elements/gsttypefindelement.c:
12029         (gst_type_find_element_activate):
12030           Post TYPE_NOT_FOUND error message when typefinding
12031           is unsuccessful in the activate function as well.
12032
12033 2006-02-02  Wim Taymans  <wim@fluendo.com>
12034
12035         * docs/design/part-element-sink.txt:
12036         Updated doc.
12037
12038 2006-02-02  Wim Taymans  <wim@fluendo.com>
12039
12040         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12041         (gst_base_sink_render_object),
12042         (gst_base_sink_queue_object_unlocked):
12043         Only keep track of prerollable items when we are 
12044         prerolling.
12045         Before rendering after preroll, always check if we
12046         have queued items.
12047         Added some more debugging.
12048
12049 2006-02-02  Wim Taymans  <wim@fluendo.com>
12050
12051         * gst/gstelement.c: (gst_element_continue_state),
12052         (gst_element_set_state_func), (gst_element_change_state):
12053         Fixed #326576, been running this for quite some time with
12054         no regressions at all.
12055
12056 2006-02-02  Wim Taymans  <wim@fluendo.com>
12057
12058         * common/gst.supp:
12059         Added more suppressions
12060
12061 2006-02-02  Wim Taymans  <wim@fluendo.com>
12062
12063         * docs/design/part-element-sink.txt:
12064         Updated document.
12065
12066         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12067         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
12068         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
12069         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12070         (gst_base_sink_do_sync), (gst_base_sink_render_object),
12071         (gst_base_sink_preroll_object),
12072         (gst_base_sink_queue_object_unlocked),
12073         (gst_base_sink_queue_object), (gst_base_sink_event),
12074         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
12075         (gst_base_sink_loop), (gst_base_sink_activate_pull),
12076         (gst_base_sink_get_position), (gst_base_sink_change_state):
12077         * libs/gst/base/gstbasesink.h:
12078         Totally refactored matching the design doc.
12079         Use two segments, one to clip incomming buffers and another to
12080         perform sync.
12081         Handle queueing correctly, bypass the queue when playing.
12082         Make EOS cancelable.
12083         Handle errors correctly when operating in pull based mode.
12084
12085         * tests/check/elements/fakesink.c: (GST_START_TEST),
12086         (fakesink_suite):
12087         Added new check for sinks.
12088
12089 2006-02-02  Wim Taymans  <wim@fluendo.com>
12090
12091         * gst/gstsegment.c: (gst_segment_clip):
12092         No reason to refuse to clip when start == -1
12093
12094 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
12095
12096         * docs/README:
12097         * docs/manual/intro-basics.xml:
12098         * docs/manual/intro-preface.xml:
12099         * docs/manual/manual.xml:
12100         * docs/pwg/advanced-dparams.xml:
12101         * docs/pwg/intro-basics.xml:
12102         * docs/pwg/intro-preface.xml:
12103         * docs/pwg/pwg.xml:
12104           describe dparams (controller) for plugins
12105           unify docs a little more
12106
12107 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
12108
12109         * docs/gst/gstreamer-sections.txt:
12110         * gst/gstutils.c: (element_find_unconnected_pad),
12111         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12112         * gst/gstutils.h:
12113           Add new API: gst_parse_bin_from_description() and
12114           gst_bin_find_unconnected_pad() (#329069).
12115
12116 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
12117
12118         * docs/manual/README:
12119           uncover a nasty detail of the docs build
12120
12121 2006-01-31  Wim Taymans  <wim@fluendo.com>
12122
12123         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12124         Don't cache duration messages if we're not going to use or
12125         free them.
12126
12127 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
12128
12129         * docs/manual/advanced-dparams.xml:
12130         * docs/pwg/advanced-dparams.xml:
12131           more dparam docs
12132         * gst/gstindex.c:
12133           fix docs
12134         * libs/gst/controller/lib.c: (gst_controller_init):
12135           init just once
12136
12137 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
12138
12139         * gst/gstelement.c: (gst_element_message_full):
12140           also show file/line/func if no additional debug was given
12141
12142 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
12143         
12144         * win32/vs7/grammar.vcproj:
12145           activate copy of autogenerated files for Release mode
12146
12147 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12148         
12149         * win32/common/libgstreamer.def:
12150           export gst_value_compare
12151
12152 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
12153
12154         * plugins/elements/Makefile.am:
12155         * plugins/elements/gstelements.c:
12156         * plugins/elements/gstfdsink.c: (_do_init),
12157         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12158         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12159         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12160         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12161         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12162         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12163         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12164         * plugins/elements/gstfdsink.h:
12165         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12166
12167 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
12168
12169         * docs/manual/advanced-dparams.xml:
12170           describe controller
12171         * docs/manual/advanced-position.xml:
12172         * docs/manual/basics-init.xml:
12173         * docs/manual/manual.xml:
12174         * docs/manual/titlepage.xml:
12175         * docs/pwg/pwg.xml:
12176         * docs/pwg/titlepage.xml:
12177           cleanup xml (more to come)
12178         * libs/gst/controller/gstcontroller.c:
12179           fix typo
12180
12181 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12182         
12183         * win32/vs6/grammar.dsp:
12184           add autogen of gstmarshal.c,h for Release mode
12185                 
12186 2006-01-30  Wim Taymans  <wim@fluendo.com>
12187
12188         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12189         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12190         (gst_base_sink_handle_object), (gst_base_sink_event),
12191         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12192         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12193         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12194         (gst_base_sink_deactivate), (gst_base_sink_activate),
12195         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12196         (gst_base_sink_query), (gst_base_sink_change_state):
12197         Basesink cleanups, remove some old code.
12198         Handle the case where a subclass can preroll in the render
12199         method (mostly audiosinks).
12200         Handle more events.
12201         Remove some locks around variables that are now protected
12202         with the PREROLL_LOCK (clock_id, flushing, ..).
12203         Optimize position query some more, do correct locking.
12204         Remove old code to push queue in state change, this is not
12205         needed anymore since preroll blocks on all prerollable items 
12206         now.
12207         Almost implemented as described in design doc.
12208
12209 2006-01-30  Wim Taymans  <wim@fluendo.com>
12210
12211         * tests/check/gst/gstbin.c: (GST_START_TEST):
12212         Wait for refcount to settle down before checking.
12213
12214 2006-01-30  Wim Taymans  <wim@fluendo.com>
12215
12216         * docs/design/part-element-sink.txt:
12217         Pseudo code overview of desired sink behaviour regarding
12218         preroll.
12219
12220 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12221         * win32/vs6/grammar.dsp:
12222           fix some bugs in Release mode for autogenerated files
12223                 
12224 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12225         * win32/common/libgstbase.def:
12226         * win32/common/libgstreamer.def:
12227           export some new symbols: gst_base_src_set_format,
12228           gst_iterator_next, gst_structure_set_valist
12229
12230 2006-01-29  Julien MOUTTE  <julien@moutte.net>
12231
12232         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12233         Set pad functions unconditionally. Fixes #329105.
12234
12235 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12236         * win32/vs8:
12237           add vs8 project files created by Sergey Scobich
12238
12239 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
12240
12241         * gst/gstutils.c: (gst_element_unlink_pads):
12242         Don't leak pad references.
12243
12244         * tests/check/elements/fakesink.c: (GST_START_TEST):
12245         * tests/check/generic/sinks.c: (GST_START_TEST):
12246         * tests/check/generic/states.c: (GST_START_TEST):
12247         * tests/check/gst/gstbin.c: (GST_START_TEST):
12248         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12249         * tests/check/gst/gstelement.c: (GST_START_TEST):
12250         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12251         * tests/check/gst/gstiterator.c: (GST_START_TEST):
12252         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12253         Fix a bunch of leaks. Make generic/sinks.c
12254         use a bit less cpu by slowing the buffer rate
12255         between fakesrc and fakesink.
12256         
12257 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
12258         * gst/gstcaps.c:
12259         * gst/gstelement.c: (gst_element_send_event):
12260         * gst/gstevent.c:
12261         * gst/gstinfo.c:
12262         * gst/gstiterator.c:
12263         * gst/gstiterator.h:
12264         * gst/gstpad.c: (gst_pad_send_event):
12265         * gst/gststructure.c:
12266         * gst/gsturi.c:
12267         * gst/gstutils.c:
12268         * gst/gstvalue.c:
12269         * libs/gst/base/gstadapter.c:
12270           doc fixes, to link to function, just write gst_cool_function(), don't
12271           prefix with '#'
12272
12273 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12274
12275         * plugins/elements/gsttee.c: (gst_tee_do_push),
12276         (gst_tee_handle_buffer):
12277         Always prefer an actual return value from a src
12278         pad in place of NOT_LINKED. This means we return
12279         WRONG_STATE when all src pads are WRONG_STATE
12280         instead of NOT_LINKED.
12281
12282         Lock when replacing the last message to prevent
12283         racing with the get_property method.
12284
12285         Add debug output
12286
12287 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12288
12289         * tests/check/Makefile.am:
12290         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12291         (main):
12292         Add a very simple check that should have caught the memleak I fixed
12293         last night (if not for the slice allocator hiding it)
12294
12295 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12296
12297         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12298         (gst_bin_remove_func), (gst_bin_handle_message_func),
12299         (bin_query_duration_fold), (bin_query_generic_fold):
12300         Clean up references to the clock provider when disposed or when
12301         handling a clock-lost message from it.
12302
12303         Unref sinks when performing a query via gst_iterator_fold, as the
12304         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12305
12306         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12307         (gst_clock_set_master):
12308         Drop our reference to the master clock, if any, when we are disposed.
12309
12310         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12311         Chain up in dispose. 
12312
12313 2006-01-26  Wim Taymans  <wim@fluendo.com>
12314
12315         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12316         Add some debugging.
12317
12318 2006-01-26  Julien MOUTTE  <julien@moutte.net>
12319
12320         * plugins/elements/gsttee.c: (gst_tee_do_push),
12321         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12322         handles pad being NOT_LINKED or in WRONG_STATE.
12323
12324 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12325
12326         * win32/MANIFEST:
12327           more updating
12328
12329 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12330
12331         * win32/MANIFEST:
12332           remove obsolete entry
12333
12334 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12335
12336         * docs/gst/gstreamer-sections.txt:
12337         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12338         (gst_bin_iterate_sources), (gst_bin_send_event):
12339         * gst/gstbin.h:
12340         * gst/gstelement.c: (gst_element_send_event):
12341         * gst/gstevent.c:
12342         * gst/gstpad.c: (gst_pad_send_event):
12343           added code for downstream events, reviewed docs in gstevent.c
12344
12345 2006-01-25  Julien MOUTTE  <julien@moutte.net>
12346
12347         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12348         We only query position using the clock in the playing state.
12349         Query peer in the other cases.
12350         * win32/common/config.h: Updates.
12351
12352 2006-01-24  Wim Taymans  <wim@fluendo.com>
12353
12354         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12355         A clock entry that is scheduled for the exact time of the
12356         clock is still in time.
12357
12358         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12359         (gst_base_sink_do_sync):
12360         Add some more debug info.
12361
12362 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12363
12364         * win32/vs7:
12365           Add new vs7 project files and solution.
12366
12367 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12368
12369         * win32/vs7:
12370           all files removed as they were out-dated.
12371
12372 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12373
12374         * docs/random/release:
12375           update notes
12376         * gst/gstbin.c: (gst_bin_init):
12377         * gst/gstbus.c: (gst_bus_new):
12378         * gst/gstbus.h:
12379         * gst/gstpipeline.c: (gst_pipeline_init):
12380           use gst_bus_new(), improve logging, fix docs
12381         * win32/common/config.h:
12382           update for cvs build
12383
12384 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12385
12386         * autogen.sh:
12387           up required version of automake to 1.7
12388
12389 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
12390
12391         * win32/common/libgstreamer.def:
12392           export gst_buffer_is_metadata_writable
12393
12394 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
12395
12396         * docs/gst/gstreamer-sections.txt:
12397         * gst/gstevent.h:
12398           Add gst_event_replace() (#327001)
12399
12400 2006-01-20  Wim Taymans  <wim@fluendo.com>
12401
12402         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12403         Make it actually compile too..
12404
12405 2006-01-20  Wim Taymans  <wim@fluendo.com>
12406
12407         * gst/gstcaps.c:
12408         Clarify behaviour of _is_equal() when passing NULL parameters.
12409
12410         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12411         (gst_pad_set_caps):
12412         Cleanups. Don't unref NULL caps.
12413         When setting the same caps, protect caps of the pad with
12414         proper lock.
12415         Use full functionality of _is_equal() when comparing caps.
12416
12417 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12418
12419         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12420         Don't loop infinitely if there are no buffers to present. Partially
12421         fixes #327197, but collectpads is just broken for reusing elements
12422         to do multiple encodes atm.
12423
12424 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12425
12426         * tools/gst-inspect.c: (print_element_features):
12427         * tools/gst-xmlinspect.c: (main):
12428         URL_HANDLER is not a plugin feature we can search for in
12429         the registry.
12430
12431 2006-01-19  Edward Hervey  <edward@fluendo.com>
12432
12433         * gst/gstelement.c: (gst_element_pads_activate): 
12434         When activating, do src pads first, then sink pads.
12435         When de-activating, do sink pads first, then src pads.
12436
12437 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12438
12439         * docs/gst/gstreamer-sections.txt:
12440         Add gst_index_add_associationv to the docs
12441
12442 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12443
12444         * gst/gstevent.c:
12445           Fix docs typo
12446
12447         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12448         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12449           Do some refactoring. Doesn't actually change functionality,
12450           but makes landing the DRAIN event easier later.
12451
12452 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
12453
12454         * docs/pwg/advanced-scheduling.xml:
12455           Update from 0.9.x to 0.10 API and make example a bit
12456           clearer.
12457
12458 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12459
12460         * docs/gst/gstreamer-sections.txt:
12461         Add gst_buffer_(is|make)_metadata_writable methods.
12462
12463 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12464
12465         * docs/design/part-sparsestreams.txt:
12466         Update sparse streams doc, hopefully for greater clarity
12467
12468 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
12469
12470         * docs/design/part-events.txt:
12471         Remove mention of FILLER events.
12472         Add DRAIN event.
12473
12474         * docs/design/part-sparsestreams.txt:
12475         Write some things about using NEWSEGMENT to keep sparse streams
12476         flowing.
12477
12478 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12479
12480         * gst/gstbin.c: (gst_bin_dispose):
12481           Guard gst_object_unref call against a NULL object (dispose
12482           can theoretically be called multiple times).
12483           
12484 2006-01-18  Wim Taymans  <wim@fluendo.com>
12485
12486         * gst/gstbin.c: (gst_bin_element_set_state):
12487         * gst/gstclock.c: (gst_clock_id_wait):
12488         Added some more debug info.
12489
12490         * libs/gst/base/gstadapter.c:
12491         Added more docs.
12492
12493         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12494         (gst_base_sink_do_sync), (gst_base_sink_chain):
12495         Added some comments.
12496
12497 2006-01-18  Wim Taymans  <wim@fluendo.com>
12498
12499         * tests/check/Makefile.am:
12500         * tests/check/elements/fakesink.c: (chain_async_buffer),
12501         (chain_async), (chain_async_return), (GST_START_TEST),
12502         (fakesink_suite), (main):
12503         Added fakesink test that checks prerolling and clipping
12504         behaviour.
12505
12506         * tests/check/gst/gstutils.c: (GST_START_TEST):
12507         Make check run faster so that buildbots don't timeout.
12508
12509 2006-01-18  Wim Taymans  <wim@fluendo.com>
12510
12511         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12512         (gst_base_sink_do_sync):
12513         Some cleanups.
12514         When the sink finishes blocking on the preroll buffer, it can
12515         immediatly render it instead of rendering when the next buffer
12516         arrives.
12517
12518 2006-01-18  Wim Taymans  <wim@fluendo.com>
12519
12520         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12521         (gst_base_sink_get_property), (gst_base_sink_do_sync),
12522         (gst_base_sink_chain):
12523         Small cleanups.
12524         GST_ELEMENT_CLOCK and sync are protected with LOCK.
12525         Don't store _last_stop if the buffer is dropped.
12526
12527 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12528
12529         * plugins/elements/gsttypefindelement.c:
12530         (gst_type_find_element_class_init):
12531           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12532           object method handler that sets the caps on the pad and we want
12533           that to happen before we emit the signal (fixes e.g. feeding a
12534           plain text file to decodebin).
12535
12536 2006-01-18  Christian Schaller  <Christian@fluendo.com>
12537
12538         * gst/gstplugin.c: Add MPL and Proprietary as license options
12539
12540 2006-01-18  Andy Wingo  <wingo@pobox.com>
12541
12542         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12543         symbol was exported before, it appears this was just an oversight.
12544         Fixes #168703.
12545         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12546
12547         * gst/gstindex.c (gst_index_add_associationv): Changed int in
12548         prototype to gint. OK since this prototype was not in the header.
12549
12550 2006-01-17  Andy Wingo  <wingo@pobox.com>
12551
12552         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12553         registry while we remove plugins.
12554
12555         * tools/gst-inspect.c (print_element_info): Don't unref the
12556         factory arg, that should be the responsibility of whatever code
12557         received the ref. Fixes a double-free when called from
12558         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12559         (main): Unref the factory if we have one.
12560         (print_element_list): No change -- relies on the
12561         plugin_feature_list_free to free the list of features.
12562
12563 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
12564
12565         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12566         (gst_buffer_make_metadata_writable):
12567         * gst/gstbuffer.h:
12568         * libs/gst/base/gstbasetransform.c:
12569         (gst_base_transform_prepare_output_buf):
12570         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12571         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12572           Replace gst_buffer_(make|is)_metadata_writable patch now
12573           that the release is out.
12574
12575 2006-01-17  Andy Wingo  <wingo@pobox.com>
12576
12577         * gst/gstregistry.c: Reflow design comment. Update so as to speak
12578         in the present tense without reference to versions.
12579
12580         * gst/gstregistry.c (gst_registry_add_plugin)
12581         (gst_registry_remove_plugin, gst_registry_remove_feature)
12582         (gst_registry_find_feature, gst_registry_get_feature_list)
12583         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12584         (gst_registry_lookup, gst_registry_scan_path)
12585         (_gst_registry_remove_cache_plugins)
12586         (gst_registry_get_feature_list_by_plugin): Add argument
12587         validation.
12588
12589 === release 0.10.2 ===
12590
12591 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
12592
12593         * configure.ac:
12594           releasing 0.10.2, "If man is five"
12595
12596 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12597
12598         * gst/gstbuffer.c:
12599         * gst/gstbuffer.h:
12600         * libs/gst/base/gstbasetransform.c:
12601         (gst_base_transform_prepare_output_buf):
12602         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12603         * tests/check/gst/gstbuffer.c: (gst_test_suite):
12604           Back out patch until after the release.
12605
12606 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12607
12608         * gst/gstminiobject.c:
12609           Spelling fix in docs.
12610         * ChangeLog - remove conflict indicator
12611
12612 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12613
12614         Reviewed By: Andy Wingo
12615
12616         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12617         (gst_buffer_make_metadata_writable):
12618         * gst/gstbuffer.h:
12619           Add gst_buffer_(is|make)_metadata_writable as analogues of
12620           gst_buffer_(is|make)_writable.
12621
12622         * libs/gst/base/gstbasetransform.c:
12623         (gst_base_transform_prepare_output_buf):
12624         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12625           Use name gst_buffer_(is|make)_metadata_writable functions.
12626
12627         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12628           Test gst_buffer_(is|make)_metadata_writable
12629         
12630           (Closes: #324162)
12631
12632 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12633
12634         * docs/manual/Makefile.am:
12635           don't do parallel make
12636         * configure.ac:
12637           AC_SUBST HOST_CPU
12638         * win32/common/config.h.in:
12639           add generations for HOST_CPU and GST_MAJORMINOR
12640         * win32/common/config.h:
12641           commit generated result
12642
12643 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
12644
12645         * docs/manual/appendix-integration.xml:
12646           Update GNOME integration section to use gst_init_get_option_group()
12647           instead of the old popt stuff (#322911). Also, GNOME applications
12648           should  now use gconf*sink and gconf*src instead of the old gconf
12649           helper lib we had.
12650
12651 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
12652
12653
12654         * docs/gst/gstreamer-docs.sgml:
12655         * docs/gst/gstreamer-sections.txt:
12656         * docs/libs/gstreamer-libs-sections.txt:
12657           add new API entries to the docs
12658         * libs/gst/controller/Makefile.am:
12659         * libs/gst/controller/gstcontroller.c:
12660         * libs/gst/controller/gstcontroller.h:
12661         * libs/gst/controller/gstcontrollerprivate.h:
12662         * libs/gst/controller/gsthelper.c:
12663         * libs/gst/controller/gstinterpolation.c:
12664           move private structs to private header
12665         * po/README:
12666           gstreamer-0.7 -> gstreamer-0.10
12667         * tests/check/libs/struct_i386.h:
12668           remove private structs
12669
12670 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12671
12672         * plugins/indexers/Makefile.am:
12673           Fixes as part of #317048
12674
12675 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12676
12677         * plugins/indexers/Makefile.am:
12678           fix #316086 - compilation when mmap is missing
12679
12680 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
12681
12682         * libs/gst/base/gstbasesink.c:
12683           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
12684           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12685         * win32/common/config.h:
12686           added some defines GST_MAJORMINOR and HOST_CPU
12687         * win32/common/libgstbase.def:
12688         * win32/common/libgstreamer.def:
12689           added some exported functions.
12690
12691 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12692
12693         * libs/gst/controller/gstcontroller.c:
12694         (gst_controlled_property_set_interpolation_mode),
12695         (gst_controlled_property_new):
12696         * libs/gst/controller/gstcontroller.h:
12697         * libs/gst/controller/gstinterpolation.c:
12698         (interpolate_none_get_string_value_array):
12699           make G_TYPE_STRING controlable
12700
12701 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12702
12703         * tools/README:
12704         * tools/gst-feedback.1.in:
12705         * tools/gst-inspect.1.in:
12706         * tools/gst-launch.1.in:
12707         * tools/gst-md5sum.1.in:
12708         * tools/gst-typefind.1.in:
12709         * tools/gst-xmlinspect.1.in:
12710         * tools/gst-xmllaunch.1.in:
12711           cleanup man-pages, remove reference to gst-register, document env-vars
12712
12713 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
12714
12715         * gst/gstbuffer.c: (gst_buffer_span):
12716           gst_buffer_span should copy the timestamp of the first buffer
12717           if they were both originally overlapping subbuffers of the 
12718           same parent, using the same logic as the 'slow copy' case.
12719
12720 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
12721
12722         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12723           Need to awaken ALL the pads when we pop a buffer, otherwise
12724           collectpads only works when there is 2 input streams.
12725
12726 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
12727
12728         * docs/random/ensonic/media-device-daemon.txt:
12729           more ideas (dbus)
12730         * gst/gstbuffer.c:
12731           fix doc example, add clarification
12732         * tools/gst-launch.1.in:
12733           add initial info about GST_PLUGIN_PATH, needs more work
12734
12735 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
12736
12737         * docs/manual/basics-bins.xml:
12738         * docs/manual/basics-elements.xml:
12739         * docs/manual/intro-basics.xml:
12740           Some more minor docs additions and updates.
12741
12742 2006-01-11  Wim Taymans  <wim@fluendo.com>
12743
12744         * docs/manual/basics-bins.xml:
12745         * docs/manual/basics-elements.xml:
12746         Some small fixes as pointed out by Ser-ver on IRC.
12747
12748 2006-01-10  Edward Hervey  <edward@fluendo.com>
12749
12750         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12751         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12752         the single-segment mode.
12753
12754 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
12755
12756         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12757
12758         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12759         (gst_base_src_perform_seek), (gst_base_src_send_event),
12760         (gst_base_src_set_property), (gst_base_src_get_property),
12761         (gst_base_src_loop), (gst_base_src_start),
12762         (gst_base_src_activate_push):
12763         * libs/gst/base/gstbasesrc.h:
12764           Name (private) union; makes Sun's Forte compiler happy (#324900).
12765
12766 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
12767
12768         * README:
12769           gst-register is gone.
12770
12771 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12772
12773         * gst/gstvalue.c: (_gst_value_initialize):
12774           make the G_TYPE_DATE instantiation work if debug is disabled
12775
12776 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
12777
12778         * gst/gstmessage.c: (gst_message_parse_tag),
12779         (gst_message_parse_error), (gst_message_parse_warning):
12780           Don't crash when return location for error/warning debug
12781           string is NULL; add fact that return locations can be
12782           NULL to docs where appropriate.
12783
12784 2006-01-05  Wim Taymans  <wim@fluendo.com>
12785
12786         * gst/gstplugin.c: (gst_plugin_load_file):
12787         Replace strdup by g_strdup.
12788
12789 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12790
12791         * docs/pwg/advanced-types.xml:
12792           fix doc borkage
12793
12794 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12795
12796         submitted by: Abel Cheung
12797
12798         * po/LINGUAS:
12799         * po/zh_TW.po:
12800           Added Chinese (traditional) translation
12801
12802 2006-01-04  Wim Taymans  <wim@fluendo.com>
12803
12804         * docs/manual/basics-pads.xml:
12805         * docs/plugins/Makefile.am:
12806         * docs/plugins/gstreamer-plugins-docs.sgml:
12807         * docs/plugins/gstreamer-plugins-sections.txt:
12808         * docs/pwg/advanced-clock.xml:
12809         * docs/pwg/advanced-scheduling.xml:
12810         * docs/pwg/advanced-types.xml:
12811         * plugins/elements/gstfdsink.c:
12812         * plugins/elements/gstfdsrc.c:
12813         * plugins/elements/gstfdsrc.h:
12814         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12815         * plugins/elements/gstidentity.h:
12816         * plugins/elements/gstqueue.h:
12817         * plugins/elements/gsttee.c:
12818         * plugins/elements/gsttee.h:
12819         * plugins/elements/gsttypefindelement.c:
12820         (gst_type_find_element_class_init):
12821         * plugins/elements/gsttypefindelement.h:
12822         Small updates to various docs.
12823         Added core plugins to docs.
12824
12825 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12826
12827         * common/gst.supp:
12828           add a suppression for liboil's uninitialized variable
12829
12830 2006-01-02  James Livingston  <jrl at ids dot org dot au>
12831
12832         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12833
12834         * gst/gstutils.h:
12835           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12836           macro, so that gcc doesn't complain if the -Wmissing-prototypes
12837           compiler switch is being used (#325429).
12838
12839 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
12840
12841         * gst/gstbin.c: (gst_bin_query):
12842           Disable duration query caching in bins until it gets
12843           fixed (see #324807).
12844
12845 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12846
12847         * tools/gst-inspect.c: (print_element_properties_info):
12848           Handle properties of POINTER and BOXED type.
12849
12850 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12851
12852         * gst/gst.c: (init_post):
12853           Init tags stuff and some other things before loading
12854           any static plugins (there may be other static plugins
12855           than just the GStreamer ones, and they may want to
12856           register their own tags or formats or whatever, and
12857           preferably without segfaulting).
12858
12859         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12860           Print at least a warning in the debug logs if we drop a
12861           query just because we don't know how to adjust the value
12862           in the particular format.
12863
12864 2005-12-24  David Schleef  <ds@schleef.org>
12865
12866         * tools/gstreamer-completion:
12867           Replacement for gst-complete written in sh and sed.  Only
12868           completes names of features, but that's 90% of what I want
12869           it for.  Properties are not available in registry.xml.  (Maybe
12870           they should be...)
12871
12872 === release 0.10.1 ===
12873
12874 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
12875
12876         * configure.ac:
12877           releasing 0.10.1, "Nollaig chridheil"
12878
12879 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
12880
12881         * docs/faq/cvs.xml:
12882           Add missing quote, should be make ERROR_CFLAGS="".
12883
12884 2005-12-20  Wim Taymans  <wim@fluendo.com>
12885
12886         * docs/design/part-trickmodes.txt:
12887         More documentation on trickmodes.
12888
12889 2005-12-20  Edward Hervey  <edward@fluendo.com>
12890
12891         * gst/gstcaps.c: (gst_static_caps_get_type):
12892         * gst/gstcaps.h:
12893           API addition: GST_TYPE_STATIC_CAPS
12894         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12895         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12896         * gst/gstpadtemplate.h:
12897           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12898         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12899         bindings.
12900
12901 2005-12-18  Wim Taymans  <wim@fluendo.com>
12902
12903         * libs/gst/base/gstadapter.c:
12904         * libs/gst/base/gstadapter.h:
12905         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12906         (gst_base_sink_get_position):
12907         * libs/gst/base/gstbasesink.h:
12908         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12909         (gst_base_src_default_query), (gst_base_src_default_do_seek),
12910         (gst_base_src_do_seek), (gst_base_src_perform_seek),
12911         (gst_base_src_send_event), (gst_base_src_update_length),
12912         (gst_base_src_get_range), (gst_base_src_loop),
12913         (gst_base_src_start):
12914         * libs/gst/base/gstbasesrc.h:
12915         * libs/gst/base/gstbasetransform.h:
12916         * libs/gst/base/gstcollectpads.h:
12917         * libs/gst/base/gstpushsrc.c:
12918         * libs/gst/base/gstpushsrc.h:
12919         * libs/gst/dataprotocol/dataprotocol.c:
12920         * libs/gst/dataprotocol/dataprotocol.h:
12921         * libs/gst/net/gstnetclientclock.h:
12922         * libs/gst/net/gstnettimeprovider.h:
12923         Documentation updates.
12924
12925 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
12926
12927         * docs/manual/basics-helloworld.xml:
12928           Remove superfluous closing bracket in helloworld example.
12929
12930 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
12931
12932         * tools/gst-launch.1.in:
12933           Update gst-launch man page; add a section with useful
12934           environment variables. Fixes #323882.
12935
12936 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
12937
12938         * gst/gst.c:
12939         * gst/gst_private.h:
12940           change some char* into char[]
12941
12942 2005-12-16  Wim Taymans  <wim@fluendo.com>
12943
12944         * gst/gstregistryxml.c: (load_feature):
12945         Cleanups.
12946         Don't use g_object_unref on GstObjects so that we avoid
12947         leaks on unsafe glibs.
12948
12949 2005-12-16  Wim Taymans  <wim@fluendo.com>
12950
12951         * gst/gstbin.c: (gst_bin_recalc_state):
12952         Small doc updates.
12953
12954 2005-12-16  Wim Taymans  <wim@fluendo.com>
12955
12956         * common/check.mak:
12957         Added make forever target for check.
12958
12959 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12960
12961         * gst/gst.c: (init_post):
12962           make the registry cache file HOST_CPU-dependent
12963
12964 2005-12-16  Andy Wingo  <wingo@pobox.com>
12965
12966         * plugins/elements/gstbufferstore.c
12967         (gst_buffer_store_cleared_func): Pay attention to g_list_append
12968         return value.
12969
12970         * tests/check/gst/gstobject.c
12971         (test_fake_object_name_threaded_unique): Pay attention to
12972         g_list_sort return value.
12973
12974 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
12975
12976         * tools/gst-feedback-m.m:
12977           Update for 0.9/0.10 (fixes #323870).
12978
12979 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
12980
12981         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12982           Fix lcopy for mini objects, the mini object needs to be ref'ed.
12983           
12984         * tests/check/gst/gstminiobject.c: (my_foo_init),
12985         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12986         (test_value_collection), (gst_mini_object_suite):
12987           Add test to ensure refcounts end up as expected when passing
12988           GstMiniObjects through g_object_get() and g_object_set().
12989
12990 2005-12-14  Julien MOUTTE  <julien@moutte.net>
12991
12992         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12993         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12994         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12995         of collectpads. This version removes a lot of races without
12996         touching API/ABI. Yay !
12997
12998 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
12999
13000         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
13001           Don't allow activation of a srcpad in pull_range if it has no
13002           getrange function.
13003           Change some debug statements to be a little clearer
13004
13005         * plugins/elements/gsttypefindelement.c:
13006         (gst_type_find_handle_src_query):
13007           Check that we have a peer before executing queries thereupon.
13008
13009         * tests/examples/metadata/read-metadata.c: (message_loop):
13010           Use gst_bus_pop instead of gst_bus_poll when we just want it to
13011           immediately return us any available message with 0 timeout.
13012
13013 2005-12-12  Michael Smith  <msmith@fluendo.com>
13014
13015         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
13016           Don't unref factories after calling them.
13017         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
13018         * plugins/elements/gsttypefindelement.c:
13019         (gst_type_find_element_chain):
13020           Free lists of factories after using them. Fixing typefinding memory
13021           leaks.
13022
13023 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13024
13025         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
13026         (gst_plugin_feature_load):
13027           more meaningful debug output
13028         * configure.ac:
13029         * tests/Makefile.am:
13030         * tests/old/examples/Makefile.am:
13031           make make distcheck happy again
13032
13033 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
13034
13035         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13036           Catch the special case where we are operating chain-based,
13037           but the downstream peer pad has no chain function. Emit a
13038           custom error message in this case instead of letting the
13039           core generate one implying that this is some sort of core
13040           bug. It's not, it just means that whatever got plugged
13041           into the pipeline downstream when we announced the type
13042           can only operate pull-based, while our source can only
13043           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
13044           Error string has not been marked for translation yet, as
13045           it probably needs some more work first.
13046
13047         (gst_type_find_element_get_best_possibility):
13048           Add helper function to find the best of all available
13049           found possibilities that qualify given the min. threshold.
13050
13051         (gst_type_find_element_handle_event):
13052           Fix the case where we get an EOS while still in TYPEFIND
13053           mode (we want to chose the best of all possible types,
13054           not just the first type that happens to be in our unsorted
13055           list of possible types).
13056
13057         (gst_type_find_element_chain):
13058           Make sure we return GST_FLOW_ERROR when we errored out
13059           in stop_typefinding(); also, don't just find the best of
13060           all found type entries and then use the last examined
13061           type entry, but actually use the best entry.
13062
13063 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
13064
13065         * tests/examples/typefind/typefind.c: (type_found):
13066         * tests/examples/xml/runxml.c: (xml_loaded):
13067           More gcc4 fixes and a mem leak fix.
13068
13069 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13070
13071         * tests/examples/xml/createxml.c: (object_saved):
13072           gcc 4 fixes
13073
13074 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13075
13076         * tests/Makefile.am:
13077           enable the examples even more
13078
13079 2005-12-12  Andy Wingo  <wingo@pobox.com>
13080
13081         * libs/gst/net/gstnettimeprovider.c
13082         (gst_net_time_provider_class_init, gst_net_time_provider_init)
13083         (gst_net_time_provider_set_property)
13084         (gst_net_time_provider_get_property):
13085         API addition: Export "active" as a GObject property.
13086         (gst_net_time_provider_thread): Only respond to time queries if
13087         the time provider is active.
13088
13089         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
13090         NetTimeProvider, preserving binary compat.
13091
13092 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13093
13094         * tests/examples/controller/audio-example.c: (main):
13095         * tests/examples/launch/Makefile.am:
13096           convert comments again
13097
13098 2005-12-12  Wim Taymans  <wim@fluendo.com>
13099
13100         * libs/gst/base/gstpushsrc.c:
13101         Fix typo.
13102
13103 2005-12-12  Wim Taymans  <wim@fluendo.com>
13104
13105         * docs/libs/gstreamer-libs-sections.txt:
13106         Added new symbol to docs.
13107
13108         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13109         (gst_base_src_init), (gst_base_src_set_format),
13110         (gst_base_src_default_query), (gst_base_src_query),
13111         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13112         (gst_base_src_perform_seek), (gst_base_src_send_event),
13113         (gst_base_src_default_event), (gst_base_src_event_handler),
13114         (gst_base_src_set_property), (gst_base_src_get_property),
13115         (gst_base_src_wait), (gst_base_src_do_sync),
13116         (gst_base_src_update_length), (gst_base_src_get_range),
13117         (gst_base_src_check_get_range), (gst_base_src_loop),
13118         (gst_base_src_default_negotiate), (gst_base_src_start),
13119         (gst_base_src_activate_push), (gst_base_src_activate_pull),
13120         (gst_base_src_change_state):
13121         * libs/gst/base/gstbasesrc.h:
13122         Implement seeking to other formats than _BYTES.
13123         Implement more seeking methods correctly.
13124         Doc updates.
13125         Added query vmethod.
13126         Added do_seek vmethod to make life easier for subclasses
13127         when seeking.
13128         API addition: gst_base_src_set_format()
13129
13130 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13131
13132         * tests/examples/Makefile.am:
13133           added that too
13134
13135 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13136
13137         * configure.ac:
13138         * docs/random/ensonic/media-device-daemon.txt:
13139         * tests/examples/controller/.cvsignore:
13140         * tests/examples/controller/Makefile.am:
13141         * tests/examples/controller/audio-example.c: (main):
13142         * tests/examples/helloworld/.cvsignore:
13143         * tests/examples/helloworld/Makefile.am:
13144         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13145         * tests/examples/launch/.cvsignore:
13146         * tests/examples/launch/Makefile.am:
13147         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13148         * tests/examples/metadata/.cvsignore:
13149         * tests/examples/metadata/Makefile.am:
13150         * tests/examples/metadata/read-metadata.c: (message_loop),
13151         (make_pipeline), (print_tag), (main):
13152         * tests/examples/queue/.cvsignore:
13153         * tests/examples/queue/Makefile.am:
13154         * tests/examples/queue/queue.c: (event_loop), (main):
13155         * tests/examples/typefind/.cvsignore:
13156         * tests/examples/typefind/Makefile.am:
13157         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13158         (main):
13159         * tests/examples/xml/.cvsignore:
13160         * tests/examples/xml/Makefile.am:
13161         * tests/examples/xml/createxml.c: (object_saved), (main):
13162         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13163         * tests/old/examples/Makefile.am:
13164         * tests/old/examples/TODO:
13165         * tests/old/examples/controller/.cvsignore:
13166         * tests/old/examples/controller/Makefile.am:
13167         * tests/old/examples/controller/audio-example.c:
13168         * tests/old/examples/helloworld/.cvsignore:
13169         * tests/old/examples/helloworld/Makefile.am:
13170         * tests/old/examples/helloworld/helloworld.c:
13171         * tests/old/examples/launch/.cvsignore:
13172         * tests/old/examples/launch/Makefile.am:
13173         * tests/old/examples/launch/mp3parselaunch.c:
13174         * tests/old/examples/launch/mp3play:
13175         * tests/old/examples/manual/Makefile.am:
13176         * tests/old/examples/metadata/Makefile.am:
13177         * tests/old/examples/metadata/read-metadata.c:
13178         * tests/old/examples/queue/.cvsignore:
13179         * tests/old/examples/queue/Makefile.am:
13180         * tests/old/examples/queue/queue.c:
13181         * tests/old/examples/typefind/.cvsignore:
13182         * tests/old/examples/typefind/Makefile.am:
13183         * tests/old/examples/typefind/typefind.c:
13184         * tests/old/examples/xml/.cvsignore:
13185         * tests/old/examples/xml/Makefile.am:
13186         * tests/old/examples/xml/createxml.c:
13187         * tests/old/examples/xml/runxml.c:
13188           applied some simple fixing to some examples
13189           re-enabled the working examples
13190
13191 2005-12-12  Wim Taymans  <wim@fluendo.com>
13192
13193         * gst/gstsegment.c: (gst_segment_init),
13194         (gst_segment_set_last_stop), (gst_segment_set_seek),
13195         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13196         (gst_segment_to_running_time):
13197         Added more documentation.
13198         Make sure the last_pos value is updated properly.
13199         Make sure to_stream_time and to_running_time don't
13200         operate on wrong values.
13201
13202         * tests/check/gst/gstsegment.c: (GST_START_TEST):
13203         Update check.
13204
13205 2005-12-12  Michael Smith  <msmith@fluendo.com>
13206
13207         * plugins/elements/gsttypefindelement.c: (free_entry),
13208         (gst_type_find_element_chain):
13209           Now that we're not leaking factories, make sure we keep references
13210           to them while we need them.
13211
13212 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13213
13214         * tests/check/gst/struct_i386.h:
13215           ifdef out the XML structs
13216
13217 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13218
13219         * gst/gstvalue.c: (gst_value_transform_double_fraction):
13220           floor is not needed, F is always positive; this obviates the
13221           need for adding -lm when building without libxml
13222
13223 2005-12-12  Wim Taymans  <wim@fluendo.com>
13224
13225         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13226         Take current playback rate into account when reporting
13227         the position.
13228
13229 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13230
13231         * docs/manual/mime-world.fig:
13232           Let's try this again, this time with a file that is
13233           actually in XFig format.
13234
13235 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13236
13237         * docs/manual/mime-world.fig:
13238           Add audioconvert element to diagram so that it
13239           matches the text and the code (fixes #319526).
13240
13241 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13242
13243         * docs/pwg/building-chainfn.xml:
13244         * docs/pwg/building-pads.xml:
13245         * docs/pwg/building-state.xml:
13246         * docs/pwg/other-source.xml:
13247           Update state change stuff for 0.10 (fixes #322969).
13248
13249 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13250
13251         * docs/manual/advanced-dataaccess.xml:
13252         * docs/manual/appendix-checklist.xml:
13253         * docs/manual/appendix-programs.xml:
13254         * docs/manual/basics-pads.xml:
13255         * docs/manual/highlevel-components.xml:
13256         * docs/manual/manual.xml:
13257           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13258           add converters in front of pipelines; remove curly
13259           brackets for threads stuff, they no longer exist; use
13260           GST_TYPE_FRACTION for framerates; update some pieces of
13261           code to 0.10, but there's plenty more to do.
13262
13263         * docs/manual/appendix-porting.xml:
13264           Expand on asynchroneous state changes; s/0.9/0.10/;
13265           mention disappearance of gst_init_get_popt_table()
13266           (fixes #322916).
13267
13268 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13269
13270         * docs/faq/using.xml:
13271           Spider no longer exists, and neither does gst-launch-ext.
13272           Update examples to use decodebin and playbin and put
13273           converters in front of sinks (fixes #323726).
13274
13275 2005-12-09  Michael Smith  <msmith@fluendo.com>
13276
13277         * plugins/elements/gsttypefindelement.c: (find_peek),
13278         (gst_type_find_element_chain):
13279           Fix leaking element factories in typefinding.
13280           Fix problem where we forgot about a probable type on non-seekable
13281           files, and thus later mis-typefound it.
13282
13283 2005-12-09  Michael Smith  <msmith@fluendo.com>
13284
13285         * common/m4/gst-makecontext.m4:
13286         * common/m4/gst-mcsc.m4:
13287         * configure.ac:
13288         * win32/common/config.h:
13289         * win32/common/config.h.in:
13290           Remove makecontext stuff; not used in 0.10 and causes problems on
13291           HPUX according to bug #322441
13292
13293 2005-12-07  Wim Taymans  <wim@fluendo.com>
13294
13295         * tests/check/Makefile.am:
13296         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13297         (main):
13298         * tests/check/libs/struct_i386.h:
13299         Added ABI check for libs
13300
13301 2005-12-07  Wim Taymans  <wim@fluendo.com>
13302
13303         * tests/check/Makefile.am:
13304         And add the struct_i386.h to dist.
13305
13306 2005-12-07  Wim Taymans  <wim@fluendo.com>
13307
13308         * tests/check/Makefile.am:
13309         * tests/check/gst/.cvsignore:
13310         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13311         (main):
13312         * tests/check/gst/struct_i386.h:
13313         Added check for ABI compatibility.
13314
13315 2005-12-07  Wim Taymans  <wim@fluendo.com>
13316
13317         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13318         (gst_fake_src_get_times), (gst_fake_src_create):
13319         Fix broken sync option, fixes #323259
13320
13321 2005-12-07  Wim Taymans  <wim@fluendo.com>
13322
13323         * gst/gstbuffer.c:
13324         Small docs update.
13325
13326         * gst/gstcaps.c: (gst_caps_is_equal):
13327         Don't assert on NULL <--> X. Fixes #323260
13328
13329         * gst/gstminiobject.c: (gst_mini_object_replace):
13330         If we're doing atomic operations, we might just as well use
13331         the proper way to get an atomic pointer.
13332
13333         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13334         Clean up debugging.
13335
13336 2005-12-07  Michael Smith  <msmith@fluendo.com>
13337
13338         * gst/parse/grammar.y:
13339           Remove handling of { } for threads.
13340
13341 2005-12-06  David Schleef  <ds@schleef.org>
13342
13343         * libs/gst/base/gstbasetransform.c: speling fix.
13344
13345 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13346
13347         * docs/libs/tmpl/gstdataprotocol.sgml:
13348         * docs/random/omega/testing/gstobject.c:
13349         * gst/gst.c:
13350         * gst/gstclock.c:
13351         * gst/gstelement.c:
13352         * gst/gstelementfactory.c:
13353         * gst/gsterror.c:
13354         * gst/gstevent.c:
13355         * gst/gstghostpad.c:
13356         * gst/gstinfo.c:
13357         * gst/gstpadtemplate.c:
13358         * gst/gstregistryxml.c:
13359         * gst/gsttaglist.c:
13360         * gst/gsttagsetter.c:
13361         * gst/gsttypefind.c:
13362         * gst/gstvalue.c:
13363         * libs/gst/base/gstbasesrc.c:
13364         * libs/gst/net/gstnetclientclock.c:
13365         * libs/gst/net/gstnettimeprovider.c:
13366         * plugins/elements/gstfakesrc.c:
13367         * plugins/elements/gstfdsrc.c:
13368         * plugins/elements/gstfilesrc.c:
13369         * plugins/elements/gstidentity.c:
13370         * plugins/elements/gstqueue.c:
13371         * plugins/elements/gsttypefindelement.c:
13372         * plugins/indexers/gstfileindex.c:
13373         * plugins/indexers/gstmemindex.c:
13374         * tests/check/gst/gsttag.c:
13375         * tests/old/examples/cutter/cutter.c:
13376         * tests/old/examples/mixer/mixer.c:
13377         * tests/old/examples/xml/runxml.c: (main):
13378         * tests/old/testsuite/caps/normalisation.c:
13379         * tests/old/testsuite/debug/global.c:
13380         * tests/old/testsuite/parse/parse1.c:
13381         * tools/gst-xmlinspect.c:
13382         * win32/common/dirent.c:
13383           expand tabs
13384
13385 === release 0.10.0 ===
13386
13387 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13388
13389         * configure.ac:
13390           releasing 0.10.0, "Maroilles"
13391
13392 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13393
13394         submitted by: Funda Wang <fundawang@linux.net.cn>
13395
13396         * po/LINGUAS:
13397         * po/zh_CN.po:
13398           added Chinese (Traditional) translation
13399
13400 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13401
13402         * docs/gst/gstreamer-sections.txt:
13403         * docs/libs/tmpl/gstdataprotocol.sgml:
13404         * docs/random/thomasvs/TODO:
13405         * gst/gstutils.c:
13406         * gst/gstutils.h:
13407           fix docs
13408
13409 2005-12-05  Andy Wingo  <wingo@pobox.com>
13410
13411         patch by: Wim Taymans <wim@fluendo.com>
13412
13413         * libs/gst/base/gstbasetransform.c
13414         (gst_base_transform_prepare_output_buf)
13415         (gst_base_transform_buffer_alloc):
13416         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13417         alloc_buffer_and_set_caps.
13418
13419         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13420         set_caps on the source pad.
13421         (gst_pad_alloc_buffer_and_set_caps): New function, does what
13422         alloc_buffer used to do. Fixes #322874.
13423
13424         * docs/gst/gstreamer-sections.txt: 
13425         * docs/design/part-negotiation.txt: 
13426         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13427         changes.
13428
13429 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13430
13431         patch by: Sebastien Moutte
13432
13433         * win32/MANIFEST:
13434         * win32/common/config.h.in:
13435         * win32/vs6/libgstcontroller.dsp:
13436           win32 build fixes
13437
13438 2005-12-05  Wim Taymans  <wim@fluendo.com>
13439
13440         * gst/gstcaps.c: (gst_caps_is_equal):
13441         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13442         (gst_fake_src_create):
13443         Back out previous code changes, leave doc updates, file bugs 
13444         instead. 
13445
13446 2005-12-05  Wim Taymans  <wim@fluendo.com>
13447
13448         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13449         (gst_fake_src_get_times), (gst_fake_src_create):
13450         * plugins/elements/gstfakesrc.h:
13451         Fix broken sync code.
13452
13453 2005-12-05  Wim Taymans  <wim@fluendo.com>
13454
13455         * gst/gstcaps.c: (gst_caps_is_equal):
13456         Comparing NULL against !NULL yields different caps, not a
13457         failure.
13458
13459 2005-12-05  Wim Taymans  <wim@fluendo.com>
13460
13461         * gst/gstpipeline.c:
13462         Fix small typo in docs.
13463
13464 2005-12-05  Andy Wingo  <wingo@pobox.com>
13465
13466         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
13467
13468         * gst/gst.c (init_post): remove hard-coded 0.9 location for
13469         registries/plugins with a MAJORMINOR one.
13470         (plugin_desc): Rename library from gstcoreleements to
13471         staticelements. Fixes #323222.
13472
13473 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
13474
13475         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13476           Change debug category to 'collectpads' from 'collect_pads'
13477           (fixes #323250).
13478
13479 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13480
13481         patch by: Sebastien Moutte
13482
13483         * libs/gst/controller/gstinterpolation.c:
13484           use convert function for uint64/double
13485         * win32/vs6/libgstcontroller.dsp:
13486           link to GLib
13487
13488 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13489
13490         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13491         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13492         * gst/gstutils.h:
13493         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13494           add tests that seem to show that the guint64/gdouble conversions
13495           are correct.
13496
13497 2005-12-02  Wim Taymans  <wim@fluendo.com>
13498
13499         * gst/gstregistry.c: (gst_registry_add_path):
13500         * gst/gstregistry.h:
13501         * gst/gstregistryxml.c:
13502         Fix docs again.
13503
13504 2005-12-02  Wim Taymans  <wim@fluendo.com>
13505
13506         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13507         (gst_util_uint64_scale_int):
13508         Small cleanup.
13509
13510         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13511         Add debug log line.
13512
13513         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13514         Add FIXME.
13515
13516 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13517
13518         * win32/MANIFEST:
13519         * win32/common/config.h:
13520         * win32/vs6/gstreamer.dsw:
13521         * win32/vs6/libgstcoreelements.dsp:
13522         * win32/vs6/libgstelements.dsp:
13523           renamed core elements plugin
13524
13525 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13526
13527         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13528         (get_candidates):
13529           do piece-wise major/minor comparison so 0.9 < 0.10
13530           also allow .exe extensions for tools
13531
13532 2005-12-02  Michael Smith  <msmith@fluendo.com>
13533
13534         * gst/gst.c:
13535           Escape a % to make gtkdoc happier; bug 322958.
13536
13537 === release 0.9.7 ===
13538
13539 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13540
13541         * configure.ac:
13542           releasing 0.9.7, "My Dog Has No Nose"
13543
13544 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13545
13546         * common/gst-xmlinspect.py:
13547         * configure.ac:
13548         * docs/libs/tmpl/gstdataprotocol.sgml:
13549         * docs/random/release:
13550         * po/af.po:
13551         * po/az.po:
13552         * po/bg.po:
13553         * po/ca.po:
13554         * po/cs.po:
13555         * po/de.po:
13556         * po/en_GB.po:
13557         * po/fr.po:
13558         * po/it.po:
13559         * po/nb.po:
13560         * po/nl.po:
13561         * po/ru.po:
13562         * po/sq.po:
13563         * po/sr.po:
13564         * po/sv.po:
13565         * po/tr.po:
13566         * po/uk.po:
13567         * po/vi.po:
13568         * win32/common/config.h:
13569         * win32/common/config.h.in:
13570         * win32/vs6/gst_inspect.dsp:
13571         * win32/vs6/gst_launch.dsp:
13572         * win32/vs6/libgstbase.dsp:
13573         * win32/vs6/libgstelements.dsp:
13574         * win32/vs6/libgstreamer.dsp:
13575         * win32/vs7/GStreamer.vcproj:
13576         * win32/vs7/gst-inspect.vcproj:
13577         * win32/vs7/gst-launch.vcproj:
13578         * win32/vs7/libgstbase.vcproj:
13579           bump GST_MAJORMINOR to 0.10
13580           reset libtool version
13581
13582 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13583
13584         * po/LINGUAS:
13585         * po/bg.po:
13586           Added Bulgarian translation by (Alexander Shopov)
13587
13588 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13589
13590         * tests/check/gst/gstplugin.c:
13591           fix test
13592
13593 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13594
13595         * common/gst-xmlinspect.py:
13596         * common/gtk-doc-plugins.mak:
13597         * configure.ac:
13598         * docs/Makefile.am:
13599         * docs/gst/Makefile.am:
13600         * docs/gst/gstreamer-docs.sgml:
13601         * docs/gst/gstreamer-sections.txt:
13602         * docs/gst/gstreamer.types:
13603         * docs/gst/gstreamer.types.in:
13604         * docs/plugins/Makefile.am:
13605         * docs/plugins/gstreamer-plugins-docs.sgml:
13606         * docs/plugins/gstreamer-plugins-sections.txt:
13607         * docs/plugins/gstreamer-plugins.types:
13608         * docs/plugins/inspect.stamp:
13609         * docs/plugins/inspect/plugin-coreelements.xml:
13610         * docs/plugins/inspect/plugin-coreindexers.xml:
13611         * docs/plugins/scanobj-build.stamp:
13612         * gstreamer.spec.in:
13613         * plugins/elements/Makefile.am:
13614         * plugins/elements/gstelements.c:
13615         * plugins/elements/gstfakesink.c:
13616         * plugins/elements/gstfakesrc.c:
13617         * plugins/elements/gstfilesink.c:
13618         * plugins/elements/gstfilesrc.c:
13619         * plugins/elements/gstqueue.c:
13620         * plugins/indexers/Makefile.am:
13621         * plugins/indexers/gstindexers.c:
13622           document core plugins in a separate document just like all the
13623           others
13624           rename these plugins to something starting with core
13625
13626 2005-12-01  Andy Wingo  <wingo@pobox.com>
13627
13628         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13629         padding here before, but it missed the commit.
13630
13631 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13632
13633         * libs/gst/controller/gstinterpolation.c:
13634           whitespace prices have crashed, we should feel free to use some now
13635           use gst_guint64_to_gdouble
13636
13637 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13638
13639         * libs/gst/controller/gstcontroller.c:
13640         * libs/gst/controller/gsthelper.c:
13641         * libs/gst/controller/gstinterpolation.c:
13642         * libs/gst/controller/lib.c:
13643           wrap config.h include
13644
13645 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13646
13647         * docs/gst/gstreamer-sections.txt:
13648           update docs
13649
13650 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13651
13652         * plugins/elements/gstelements.c:
13653         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13654         (gst_fd_sink__class_init), (gst_fd_sink__init),
13655         (gst_fd_sink__chain), (gst_fd_sink__set_property),
13656         (gst_fd_sink__get_property):
13657         * plugins/elements/gstfdsink.h:
13658         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13659         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13660         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13661         (gst_fd_src_unlock), (gst_fd_src_set_property),
13662         (gst_fd_src_get_property), (gst_fd_src_create),
13663         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13664         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13665         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13666         (gst_fd_src_uri_handler_init):
13667         * plugins/elements/gstfdsrc.h:
13668         * plugins/elements/gstqueue.c: (gst_queue_get_type):
13669           more anal cleanup
13670
13671 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13672
13673         * docs/gst/Makefile.am:
13674         * docs/gst/gstreamer.types.in:
13675         * gst/Makefile.am:
13676           fix the docs build
13677
13678 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13679
13680         * configure.ac:
13681         * gst/Makefile.am:
13682         * gst/gst.c:
13683         * gst/gstplugin.h:
13684         * gst/gstregistry.h:
13685         * tests/benchmarks/complexity.c:
13686         * tests/benchmarks/mass-elements.c:
13687         * tests/check/Makefile.am:
13688         * tools/Makefile.am:
13689         * tools/gst-inspect.c:
13690         * tools/gst-xmlinspect.c:
13691           various fixes to make
13692           --disable-nls --disable-registry --disable-loadsave
13693           --disable-parse --disable-gst-debug
13694           work and get the core .so down to 360444 bytes after stripping
13695
13696 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13697
13698         * Makefile.am:
13699         * configure.ac:
13700           descend into tests
13701         * docs/random/thomasvs/TODO:
13702         * tests/Makefile.am:
13703         * tests/README:
13704           add a README
13705
13706 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13707
13708         * win32/GStreamer.vcproj:
13709         * win32/MANIFEST:
13710         * win32/Makefile:
13711         * win32/Makefile.inspect:
13712         * win32/Makefile.launch:
13713         * win32/Makefile.register:
13714         * win32/README.txt:
13715         * win32/gst-inspect.vcproj:
13716         * win32/gst-launch.vcproj:
13717         * win32/gst-register.vcproj:
13718         * win32/gstelements.vcproj:
13719         * win32/gstgetbits.def:
13720         * win32/gstgetbits.vcproj:
13721         * win32/gstreamer-dbg.def:
13722         * win32/gstreamer.def:
13723         * win32/libgstbase.def:
13724         * win32/libgstbase.vcproj:
13725         * win32/link_oldruntime.c:
13726         * win32/mman.c:
13727         * win32/mman.h:
13728         * win32/mman.inl:
13729         * win32/msvc71.sln:
13730           move even more stuff, win32/ is nice and clean now
13731
13732 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13733
13734         * libs/gst/control/.cvsignore:
13735         * win32/MANIFEST:
13736         * win32/config.h:
13737         * win32/dirent.c:
13738         * win32/dirent.h:
13739         * win32/gstbytestream.def:
13740         * win32/gstbytestream.vcproj:
13741         * win32/gstconfig.h:
13742         * win32/gstenumtypes.c:
13743         * win32/gstenumtypes.h:
13744         * win32/gstoptimalscheduler.vcproj:
13745         * win32/gstversion.h:
13746         * win32/gtchar.h:
13747         * win32/testsuite/bins.vcproj:
13748         * win32/testsuite/bytestream.vcproj:
13749         * win32/testsuite/caps.vcproj:
13750         * win32/testsuite/cleanup.vcproj:
13751         * win32/testsuite/clock.vcproj:
13752         * win32/testsuite/debug.vcproj:
13753         * win32/testsuite/dlopen.vcproj:
13754         * win32/testsuite/dynparams.vcproj:
13755         * win32/testsuite/elements.vcproj:
13756         * win32/testsuite/ghostpads.vcproj:
13757         * win32/testsuite/indexers.vcproj:
13758         * win32/testsuite/negotiation.vcproj:
13759         * win32/testsuite/parse.vcproj:
13760         * win32/testsuite/plugin.vcproj:
13761         * win32/testsuite/refcounting.vcproj:
13762         * win32/testsuite/schedulers.vcproj:
13763         * win32/testsuite/states.vcproj:
13764         * win32/testsuite/tags.vcproj:
13765         * win32/testsuite/threads.vcproj:
13766           remove old win32 stuff that isn't maintained and should be
13767           reorganized
13768
13769 2005-11-30  Andy Wingo  <wingo@pobox.com>
13770
13771         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13772         loading the gst.interfaces python module bork.
13773
13774         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13775         available since GLib 2.2. Fixes #318031.
13776
13777 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13778
13779         * Makefile.am:
13780         * check/.cvsignore:
13781         * check/Makefile.am:
13782         * check/elements/.cvsignore:
13783         * check/elements/fakesrc.c:
13784         * check/elements/fdsrc.c:
13785         * check/elements/identity.c:
13786         * check/generic/.cvsignore:
13787         * check/generic/states.c:
13788         * check/gst-libs/.cvsignore:
13789         * check/gst-libs/controller.c:
13790         * check/gst-libs/gdp.c:
13791         * check/gst/.cvsignore:
13792         * check/gst/capslist.h:
13793         * check/gst/gst.c:
13794         * check/gst/gstbin.c:
13795         * check/gst/gstbuffer.c:
13796         * check/gst/gstbus.c:
13797         * check/gst/gstcaps.c:
13798         * check/gst/gstelement.c:
13799         * check/gst/gstevent.c:
13800         * check/gst/gstghostpad.c:
13801         * check/gst/gstiterator.c:
13802         * check/gst/gstmessage.c:
13803         * check/gst/gstminiobject.c:
13804         * check/gst/gstobject.c:
13805         * check/gst/gstpad.c:
13806         * check/gst/gstpipeline.c:
13807         * check/gst/gstplugin.c:
13808         * check/gst/gstsegment.c:
13809         * check/gst/gststructure.c:
13810         * check/gst/gstsystemclock.c:
13811         * check/gst/gsttag.c:
13812         * check/gst/gstutils.c:
13813         * check/gst/gstvalue.c:
13814         * check/net/.cvsignore:
13815         * check/net/gstnetclientclock.c:
13816         * check/net/gstnettimeprovider.c:
13817         * check/pipelines/.cvsignore:
13818         * check/pipelines/cleanup.c:
13819         * check/pipelines/simple_launch_lines.c:
13820         * check/pipelines/stress.c:
13821         * check/states/.cvsignore:
13822         * check/states/sinks.c:
13823         * configure.ac:
13824         * examples/Makefile.am:
13825         * examples/appreader/.cvsignore:
13826         * examples/appreader/Makefile.am:
13827         * examples/appreader/appreader.c:
13828         * examples/controller/.cvsignore:
13829         * examples/controller/Makefile.am:
13830         * examples/controller/audio-example.c:
13831         * examples/cutter/.cvsignore:
13832         * examples/cutter/Makefile.am:
13833         * examples/cutter/cutter.c:
13834         * examples/cutter/cutter.h:
13835         * examples/events/Makefile.am:
13836         * examples/events/seek.c:
13837         * examples/helloworld/.cvsignore:
13838         * examples/helloworld/Makefile.am:
13839         * examples/helloworld/helloworld.c:
13840         * examples/helloworld2/.cvsignore:
13841         * examples/helloworld2/Makefile.am:
13842         * examples/helloworld2/helloworld2.c:
13843         * examples/launch/.cvsignore:
13844         * examples/launch/Makefile.am:
13845         * examples/launch/mp3parselaunch.c:
13846         * examples/launch/mp3play:
13847         * examples/manual/.cvsignore:
13848         * examples/manual/Makefile.am:
13849         * examples/manual/extract.pl:
13850         * examples/metadata/Makefile.am:
13851         * examples/metadata/read-metadata.c:
13852         * examples/mixer/.cvsignore:
13853         * examples/mixer/Makefile.am:
13854         * examples/mixer/mixer.c:
13855         * examples/mixer/mixer.h:
13856         * examples/pingpong/.cvsignore:
13857         * examples/pingpong/Makefile.am:
13858         * examples/pingpong/pingpong.c:
13859         * examples/plugins/.cvsignore:
13860         * examples/plugins/Makefile.am:
13861         * examples/plugins/example.c:
13862         * examples/plugins/example.h:
13863         * examples/pwg/.cvsignore:
13864         * examples/pwg/Makefile.am:
13865         * examples/pwg/extract.pl:
13866         * examples/queue/.cvsignore:
13867         * examples/queue/Makefile.am:
13868         * examples/queue/queue.c:
13869         * examples/queue2/.cvsignore:
13870         * examples/queue2/Makefile.am:
13871         * examples/queue2/queue2.c:
13872         * examples/queue3/.cvsignore:
13873         * examples/queue3/Makefile.am:
13874         * examples/queue3/queue3.c:
13875         * examples/queue4/.cvsignore:
13876         * examples/queue4/Makefile.am:
13877         * examples/queue4/queue4.c:
13878         * examples/retag/.cvsignore:
13879         * examples/retag/Makefile.am:
13880         * examples/retag/retag.c:
13881         * examples/retag/transcode.c:
13882         * examples/thread/.cvsignore:
13883         * examples/thread/Makefile.am:
13884         * examples/thread/thread.c:
13885         * examples/typefind/.cvsignore:
13886         * examples/typefind/Makefile.am:
13887         * examples/typefind/typefind.c:
13888         * examples/xml/.cvsignore:
13889         * examples/xml/Makefile.am:
13890         * examples/xml/createxml.c:
13891         * examples/xml/runxml.c:
13892         * tests/Makefile.am:
13893         * tests/check/Makefile.am:
13894         * testsuite/.cvsignore:
13895         * testsuite/Makefile.am:
13896         * testsuite/Rules:
13897         * testsuite/caps/.cvsignore:
13898         * testsuite/caps/Makefile.am:
13899         * testsuite/caps/app_fixate.c:
13900         * testsuite/caps/audioscale.c:
13901         * testsuite/caps/caps.c:
13902         * testsuite/caps/caps.h:
13903         * testsuite/caps/caps_strings:
13904         * testsuite/caps/compatibility.c:
13905         * testsuite/caps/deserialize.c:
13906         * testsuite/caps/enumcaps.c:
13907         * testsuite/caps/eratosthenes.c:
13908         * testsuite/caps/filtercaps.c:
13909         * testsuite/caps/fixed.c:
13910         * testsuite/caps/fraction-convert.c:
13911         * testsuite/caps/fraction-multiply-and-zero.c:
13912         * testsuite/caps/intersect2.c:
13913         * testsuite/caps/intersection.c:
13914         * testsuite/caps/normalisation.c:
13915         * testsuite/caps/random.c:
13916         * testsuite/caps/renegotiate.c:
13917         * testsuite/caps/sets.c:
13918         * testsuite/caps/simplify.c:
13919         * testsuite/caps/string-conversions.c:
13920         * testsuite/caps/structure.c:
13921         * testsuite/caps/subtract.c:
13922         * testsuite/caps/union.c:
13923         * testsuite/debug/.cvsignore:
13924         * testsuite/debug/Makefile.am:
13925         * testsuite/debug/category.c:
13926         * testsuite/debug/commandline.c:
13927         * testsuite/debug/global.c:
13928         * testsuite/debug/output.c:
13929         * testsuite/debug/printf_extension.c:
13930         * testsuite/dlopen/.cvsignore:
13931         * testsuite/dlopen/Makefile.am:
13932         * testsuite/dlopen/dlopen_gst.c:
13933         * testsuite/dlopen/loadgst.c:
13934         * testsuite/elements/.cvsignore:
13935         * testsuite/elements/Makefile.am:
13936         * testsuite/elements/gst-inspect-check.in:
13937         * testsuite/elements/struct_i386.h:
13938         * testsuite/elements/struct_size.c:
13939         * testsuite/indexers/.cvsignore:
13940         * testsuite/indexers/Makefile.am:
13941         * testsuite/indexers/cache1.c:
13942         * testsuite/indexers/indexdump.c:
13943         * testsuite/parse/.cvsignore:
13944         * testsuite/parse/Makefile.am:
13945         * testsuite/parse/parse1.c:
13946         * testsuite/parse/parse2.c:
13947         * testsuite/plugin/.cvsignore:
13948         * testsuite/plugin/Makefile.am:
13949         * testsuite/plugin/README:
13950         * testsuite/plugin/dynamic.c:
13951         * testsuite/plugin/linked.c:
13952         * testsuite/plugin/loading.c:
13953         * testsuite/plugin/registry.c:
13954         * testsuite/plugin/static.c:
13955         * testsuite/plugin/static2.c:
13956         * testsuite/plugin/testplugin.c:
13957         * testsuite/plugin/testplugin2.c:
13958         * testsuite/plugin/testplugin2_s.c:
13959         * testsuite/plugin/testplugin_s.c:
13960         * testsuite/refcounting/.cvsignore:
13961         * testsuite/refcounting/Makefile.am:
13962         * testsuite/refcounting/bin.c:
13963         * testsuite/refcounting/element.c:
13964         * testsuite/refcounting/element_pad.c:
13965         * testsuite/refcounting/mainloop.c:
13966         * testsuite/refcounting/mem.c:
13967         * testsuite/refcounting/mem.h:
13968         * testsuite/refcounting/object.c:
13969         * testsuite/refcounting/pad.c:
13970         * testsuite/refcounting/sched.c:
13971         * testsuite/refcounting/thread.c:
13972         * testsuite/states/.cvsignore:
13973         * testsuite/states/Makefile.am:
13974         * testsuite/states/bin.c:
13975         * testsuite/states/locked.c:
13976         * testsuite/states/parent.c:
13977         * testsuite/threads/.cvsignore:
13978         * testsuite/threads/159566.c:
13979         * testsuite/threads/159852.c:
13980         * testsuite/threads/Makefile.am:
13981         * testsuite/threads/queue.c:
13982         * testsuite/threads/signals.c:
13983         * testsuite/threads/staticrec.c:
13984         * testsuite/threads/thread.c:
13985         * testsuite/threads/threadb.c:
13986         * testsuite/threads/threadc.c:
13987         * testsuite/threads/threadd.c:
13988         * testsuite/threads/threade.c:
13989         * testsuite/threads/threadf.c:
13990         * testsuite/threads/threadg.c:
13991         * testsuite/threads/threadh.c:
13992         * testsuite/threads/threadi.c:
13993           move all of these under tests
13994
13995 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13996
13997         * configure.ac:
13998         * tests/Makefile.am:
13999           fix distcheck
14000
14001 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14002
14003         * docs/gst/gstreamer-sections.txt:
14004         * tests/sched/.cvsignore:
14005         * tests/sched/Makefile.am:
14006         * tests/sched/cases/(fs-fs).xml:
14007         * tests/sched/cases/(fs-i-fs).xml:
14008         * tests/sched/cases/(fs-i-i-fs).xml:
14009         * tests/sched/cases/(fs-i-q[i-fs]).xml:
14010         * tests/sched/dynamic-pipeline.c:
14011         * tests/sched/interrupt1.c:
14012         * tests/sched/interrupt2.c:
14013         * tests/sched/interrupt3.c:
14014         * tests/sched/runtestcases:
14015         * tests/sched/runxml.c:
14016         * tests/sched/sched-stress.c:
14017         * tests/sched/sort.c:
14018         * tests/sched/testcases:
14019         * tests/sched/testcases1.tc:
14020         * tests/seeking/.cvsignore:
14021         * tests/seeking/Makefile.am:
14022         * tests/seeking/seeking1.c:
14023         * tests/threadstate/.cvsignore:
14024         * tests/threadstate/Makefile.am:
14025         * tests/threadstate/test1.c:
14026         * tests/threadstate/test2.c:
14027         * tests/threadstate/threadstate1.c:
14028         * tests/threadstate/threadstate2.c:
14029         * tests/threadstate/threadstate3.c:
14030         * tests/threadstate/threadstate4.c:
14031         * tests/threadstate/threadstate5.c:
14032           remove obsolete tests
14033         * configure.ac:
14034         * tests/bench-complexity.scm:
14035         * tests/bench-mass_elements.scm:
14036         * tests/complexity.c:
14037         * tests/complexity.gnuplot:
14038         * tests/instantiate/.cvsignore:
14039         * tests/instantiate/Makefile.am:
14040         * tests/instantiate/caps.c:
14041         * tests/mass_elements.c:
14042         * tests/network-clock-utils.scm:
14043         * tests/network-clock.scm:
14044         * tests/plot-data:
14045         First pass at cleaning up tests/ dir before moving the rest
14046         Combined with CVS surgery
14047
14048 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14049
14050         * po/POTFILES.in:
14051           queue has moved, update
14052
14053 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14054
14055         * docs/gst/gstreamer-sections.txt:
14056           remove double entries from the docs
14057         * gst/gst_private.h:
14058         * gst/gstinfo.c: (_gst_debug_init):
14059           remove the THREAD debug category
14060         * gst/Makefile.am:
14061         * gst/gstqueue.c:
14062         * gst/gstqueue.h:
14063         * docs/gst/gstreamer.types:
14064         * plugins/elements/gstqueue.c: (gst_queue_get_type),
14065         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
14066           completely move queue and fix up debugging categories
14067
14068 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14069
14070         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14071           make initialization portable, using LL is not
14072
14073 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14074
14075         * win32/common/gstconfig.h:
14076           add large padding
14077
14078 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14079
14080         * win32/common/libgstreamer.def:
14081           rename symbols; sort base section
14082
14083 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14084
14085         * gst/gstclock.c: (do_linear_regression):
14086           remove crack non-portable handrolled DEBUG macro
14087
14088 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14089
14090         * docs/random/release:
14091           update notes
14092         * win32/common/gstenumtypes.c: (register_gst_object_flags),
14093         (gst_object_flags_get_type), (register_gst_bin_flags),
14094         (gst_bin_flags_get_type), (register_gst_buffer_flag),
14095         (gst_buffer_flag_get_type), (register_gst_bus_flags),
14096         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14097         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
14098         (gst_caps_flags_get_type), (register_gst_clock_return),
14099         (gst_clock_return_get_type), (register_gst_clock_entry_type),
14100         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14101         (gst_clock_flags_get_type), (register_gst_state),
14102         (gst_state_get_type), (register_gst_state_change_return),
14103         (gst_state_change_return_get_type), (register_gst_state_change),
14104         (gst_state_change_get_type), (register_gst_element_flags),
14105         (gst_element_flags_get_type), (register_gst_core_error),
14106         (gst_core_error_get_type), (register_gst_library_error),
14107         (gst_library_error_get_type), (register_gst_resource_error),
14108         (gst_resource_error_get_type), (register_gst_stream_error),
14109         (gst_stream_error_get_type), (register_gst_event_type_flags),
14110         (gst_event_type_flags_get_type), (register_gst_event_type),
14111         (gst_event_type_get_type), (register_gst_seek_type),
14112         (gst_seek_type_get_type), (register_gst_seek_flags),
14113         (gst_seek_flags_get_type), (register_gst_format),
14114         (gst_format_get_type), (register_gst_index_certainty),
14115         (gst_index_certainty_get_type), (register_gst_index_entry_type),
14116         (gst_index_entry_type_get_type),
14117         (register_gst_index_lookup_method),
14118         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14119         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14120         (gst_index_resolver_method_get_type), (register_gst_index_flags),
14121         (gst_index_flags_get_type), (register_gst_debug_level),
14122         (gst_debug_level_get_type), (register_gst_debug_color_flags),
14123         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14124         (gst_iterator_result_get_type), (register_gst_iterator_item),
14125         (gst_iterator_item_get_type), (register_gst_message_type),
14126         (gst_message_type_get_type), (register_gst_mini_object_flags),
14127         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14128         (gst_pad_link_return_get_type), (register_gst_flow_return),
14129         (gst_flow_return_get_type), (register_gst_activate_mode),
14130         (gst_activate_mode_get_type), (register_gst_pad_direction),
14131         (gst_pad_direction_get_type), (register_gst_pad_flags),
14132         (gst_pad_flags_get_type), (register_gst_pad_presence),
14133         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14134         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14135         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14136         (gst_plugin_error_get_type), (register_gst_plugin_flags),
14137         (gst_plugin_flags_get_type), (register_gst_rank),
14138         (gst_rank_get_type), (register_gst_query_type),
14139         (gst_query_type_get_type), (register_gst_tag_merge_mode),
14140         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14141         (gst_tag_flag_get_type), (register_gst_task_state),
14142         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14143         (gst_alloc_trace_flags_get_type),
14144         (register_gst_type_find_probability),
14145         (gst_type_find_probability_get_type), (register_gst_uri_type),
14146         (gst_uri_type_get_type), (register_gst_parse_error),
14147         (gst_parse_error_get_type):
14148         * win32/common/gstenumtypes.h:
14149         * win32/common/gstversion.h:
14150           update visual studio generated files
14151
14152 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14153
14154         * win32/vs6/libgstbase.dsp:
14155         * win32/vs6/libgstelements.dsp:
14156           update project files for new locations
14157
14158 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14159
14160         * Makefile.am:
14161           remove some files
14162         * README:
14163           reinstate and update
14164         * DEVEL:
14165         * REQUIREMENTS:
14166           removed
14167         * LICENSE:
14168         * docs/random/LICENSE:
14169           moved to random
14170
14171 2005-11-30  Edward Hervey  <edward@fluendo.com>
14172
14173         * gst/gsttypefind.c: (gst_type_find_register):
14174         * gst/gsttypefind.h:
14175         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14176         (gst_type_find_factory_dispose):
14177         * gst/gsttypefindfactory.h:
14178         Fix memory leak in GstTypeFindFactory.
14179
14180 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14181
14182         * gst/gst.c:
14183         * plugins/elements/Makefile.am:
14184         * plugins/elements/gstelements.c:
14185         * plugins/elements/gstqueue.c:
14186           move queue from core to the elements plugin
14187
14188 2005-11-29  Andy Wingo  <wingo@pobox.com>
14189
14190         * libs/gst/base/gstbasetransform.h: 
14191         * libs/gst/base/gstbasesrc.h: 
14192         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14193
14194         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14195         of pointers by which to pad very extensible base classes (like the
14196         ones in libs/gst/base).
14197
14198 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14199
14200         * docs/gst/gstreamer-docs.sgml:
14201         * docs/gst/gstreamer-sections.txt:
14202         * docs/libs/gstreamer-libs-docs.sgml:
14203         * docs/libs/gstreamer-libs-sections.txt:
14204           moving documentation from core to lib
14205
14206 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14207
14208         * check/Makefile.am:
14209         * configure.ac:
14210         * docs/gst/Makefile.am:
14211         * gst/Makefile.am:
14212         * gst/base/.cvsignore:
14213         * gst/base/Makefile.am:
14214         * gst/base/README:
14215         * gst/base/gstadapter.c:
14216         * gst/base/gstadapter.h:
14217         * gst/base/gstbasesink.c:
14218         * gst/base/gstbasesink.h:
14219         * gst/base/gstbasesrc.c:
14220         * gst/base/gstbasesrc.h:
14221         * gst/base/gstbasetransform.c:
14222         * gst/base/gstbasetransform.h:
14223         * gst/base/gstcollectpads.c:
14224         * gst/base/gstcollectpads.h:
14225         * gst/base/gstpushsrc.c:
14226         * gst/base/gstpushsrc.h:
14227         * gst/base/gsttypefindhelper.c:
14228         * gst/base/gsttypefindhelper.h:
14229         * gst/check/Makefile.am:
14230         * gst/check/gstcheck.c:
14231         * gst/check/gstcheck.h:
14232         * gst/net/Makefile.am:
14233         * gst/net/gstnet.h:
14234         * gst/net/gstnetclientclock.c:
14235         * gst/net/gstnetclientclock.h:
14236         * gst/net/gstnettimepacket.c:
14237         * gst/net/gstnettimepacket.h:
14238         * gst/net/gstnettimeprovider.c:
14239         * gst/net/gstnettimeprovider.h:
14240         * libs/gst/Makefile.am:
14241         * libs/gst/base/Makefile.am:
14242         * libs/gst/base/gstbasetransform.c:
14243         * libs/gst/check/Makefile.am:
14244         * plugins/elements/Makefile.am:
14245         * po/POTFILES.in:
14246           CVS surgery + support to move base, check, and net out of gst
14247           and into libs/gst
14248
14249 2005-11-29  Andy Wingo  <wingo@pobox.com>
14250
14251         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14252
14253         * gst/gststructure.h (struct _GstStructure): Only one pointer of
14254         padding.
14255
14256         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14257
14258         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14259
14260         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14261
14262         * gst/gstobject.h: (struct _GstObject): Only one pointer of
14263         padding; reduces object size by about 30%. We don't expect
14264         anything else to go into gstobject.
14265
14266         * gst/gstminiobject.h (struct _GstMiniObject)
14267         (struct _GstMiniObjectClass): Only one pointer of padding; the
14268         payload is only a pointer and two ints anyway. For the class there
14269         are only two methods as well.
14270         
14271         * gst/gstelement.h (struct _GstElementClass): Removed
14272         the state_changed signal callback, it is not used.
14273
14274 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14275
14276         * docs/gst/gstreamer.types:
14277           fix includes, though they are a little dinky
14278
14279 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14280
14281         * check/Makefile.am:
14282           look in the right place for elements, a lot more chance of
14283           success
14284         * gst/Makefile.am:
14285           remove indexers and elements subdirs
14286         * plugins/Makefile.am:
14287           make indexers conditional
14288
14289 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14290
14291         * Makefile.am:
14292         * configure.ac:
14293         * plugins/elements/Makefile.am:
14294         * plugins/elements/gstcapsfilter.c:
14295         * plugins/elements/gstfilesink.c:
14296         * plugins/elements/gstfilesrc.c:
14297         * plugins/elements/gstidentity.c:
14298         * plugins/indexers/Makefile.am:
14299           do CVS surgery and related build fixery to move elements
14300           and indexers in a new gstreamer/plugins directory, out of the
14301           gst/ directory
14302
14303 2005-11-29  Andy Wingo  <wingo@pobox.com>
14304
14305         * check/Makefile.am:
14306         * pkgconfig/gstreamer-net-uninstalled.pc.in:
14307         * pkgconfig/gstreamer-net.pc.in:
14308         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14309         #322257.
14310
14311 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14312
14313         * tools/Makefile.am:
14314         * tools/gst-complete.1.in:
14315         * tools/gst-complete.c:
14316         * tools/gst-compprep.1.in:
14317         * tools/gst-compprep.c:
14318           removing -compprep and -complete
14319
14320 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14321
14322         * gst/gstevent.c: (gst_event_new_new_segment),
14323         (gst_event_parse_new_segment):
14324         * gst/gstevent.h:
14325           fix #320529 - clean up new_segment API and structure.
14326           Let's hope everyone was using the methods, and not the structure.
14327
14328 2005-11-29  Edward Hervey  <edward@fluendo.com>
14329
14330         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14331         (gst_base_sink_event), (gst_base_sink_do_sync),
14332         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14333         Properly handle non GST_FORMAT_TIME segment
14334         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14335         Properly handle non GST_FORMAT_TIME segment
14336         * gst/gstsegment.c:
14337         This function is valid if the accumulator is 0 and the format
14338         is different from the requested format.
14339         
14340 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14341
14342         * docs/gst/gstreamer-sections.txt:
14343         Add gst_query_new_seeking and gst_query_parse_seeking to the
14344         docs.
14345
14346 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14347
14348         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14349           Treat a pad alloc with new caps the same as if we were not
14350           negotiated, in order to allow a changing upstream output
14351           to produce a new format of data.
14352
14353 2005-11-29  Edward Hervey  <edward@fluendo.com>
14354
14355         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14356         (gst_base_transform_event), (gst_base_transform_eventfunc):
14357         The event virtual method is now properly implemented, with a default
14358         handler
14359         Sub classes should call the parent_class event method. They should
14360         return FALSE if they had a problem handling the given event, or don't
14361         want GstBaseTransform to send that even downstream
14362         * gst/elements/gstidentity.c: (gst_identity_class_init),
14363         (gst_identity_init), (gst_identity_event),
14364         (gst_identity_transform_ip), (gst_identity_set_property),
14365         (gst_identity_get_property):
14366         * gst/elements/gstidentity.h:
14367         Added the single-segment boolean property.
14368         If set to TRUE, it will output a single segment of data, starting from
14369         0, will eat up all incoming newsegment, and modify the timestamp of the
14370         buffers accordingly
14371
14372 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
14373
14374         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14375           Don't ref NULL target pad (#322751). Improve docs.
14376
14377 2005-11-29  Michael Smith  <msmith@fluendo.com>
14378
14379         * gst/gstregistryxml.c: (load_plugin):
14380           Don't crash if we failed to load a feature from a plugin. 
14381
14382 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14383
14384         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14385         (GST_START_TEST):
14386           use more check API and less GLib API
14387
14388 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14389
14390         * Makefile.am:
14391           don't run checks if we don't have check
14392         * common/check.mak:
14393           remove the registry when running make torture
14394         * docs/gst/gstreamer-sections.txt:
14395           remove second multiply
14396         * gst/gstqueue.c: (gst_queue_loop):
14397           fix a compile warning when disabling debug
14398
14399 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14400
14401         * gst/gstinfo.h:
14402         Hey! Let's print the pad name if the pointer != NULL instead
14403         of when it == NULL :-)
14404
14405 2005-11-28  Wim Taymans  <wim@fluendo.com>
14406
14407         * check/gst/gstutils.c: (GST_START_TEST):
14408         Updated check, add some scaling accuracy checking code.
14409
14410         * gst/gstutils.c: (gst_util_div128_64),
14411         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14412         (gst_util_uint64_scale_int):
14413         Fix 6 times faster division code. Optimize for common 
14414         1/1 and less common X/1 cases.
14415
14416 2005-11-28  Wim Taymans  <wim@fluendo.com>
14417
14418         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14419         More checks.
14420
14421         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14422         (do_linear_regression), (gst_clock_add_observation):
14423         Cleanups.
14424         Release lock when the clock cannot be slaved.
14425         Catch the case where the regression returned an invalid denominator.
14426
14427         * gst/gstutils.c: (gst_util_div128_64_iterate),
14428         (gst_util_div128_64), (gst_util_uint64_scale_int64),
14429         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14430         Add protentially more performant non-iterative 128/64 divide function
14431         that unfortunatly does not work yet.
14432         Shortcut the trivial 0/X = 0 case.
14433         Remove the warnings on overflow.
14434
14435 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14436
14437         * gst/gstplugin.c: (gst_plugin_register_func):
14438           everything causing a plugin not to load should be at least a WARNING
14439
14440 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
14441
14442         * docs/random/ensonic/dparams.txt:
14443           some TODOs for the next dev cycle
14444         * libs/gst/controller/gstcontroller.c:
14445         (gst_controlled_property_set_interpolation_mode),
14446         (gst_controlled_property_new):
14447         * libs/gst/controller/gstcontroller.h:
14448           use base type to assign acccessor functions
14449
14450 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14451
14452         * check/Makefile.am:
14453         Oops, that should have been top_srcdir
14454
14455 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14456
14457         * check/Makefile.am:
14458         * check/elements/fdsrc.c: (GST_START_TEST):
14459         Use a cmdline define to specify the location of a file to use for
14460         testing, to avoid breaking distcheck.
14461
14462 2005-11-28  Andy Wingo  <wingo@pobox.com>
14463
14464         * gst/gstpad.c (fixate_value): Use array functions for arrays.
14465
14466 2005-11-28  Edward Hervey  <edward@fluendo.com>
14467
14468         * tools/gst-launch.c: (main):
14469         Clarify the output strings, makes it easier to translate.
14470         Fixes #322626
14471
14472 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14473
14474         * gst/Makefile.am:
14475           don't try and build net if we don't even have <sys/socket.h>
14476
14477 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
14478
14479         * check/Makefile.am:
14480         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14481         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14482           Add tests for fdsrc seekability
14483
14484         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14485         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14486         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14487         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14488         * gst/elements/gstfdsrc.h:
14489           fdsrc should not be a 'live' source.
14490           Implement seeking on seekable fd's.
14491
14492         * gst/gstquery.c: (gst_query_new_seeking),
14493         (gst_query_parse_seeking):
14494         * gst/gstquery.h:
14495           Implement SEEKING query functions: 
14496             *_new_seeking and *_parse_seeking
14497
14498 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14499
14500         * gst/gstelement.c: (gst_element_dispose):
14501           don't loop forever
14502
14503         * gst/gstiterator.c:
14504         * gst/gststructure.c:
14505           doc fixes
14506
14507         * libs/gst/controller/gstcontroller.c:
14508         (gst_controlled_property_set_interpolation_mode):
14509         * libs/gst/controller/gstcontroller.h:
14510         * libs/gst/controller/gstinterpolation.c:
14511         (interpolate_none_get_enum_value_array):
14512           support controlling enums
14513
14514 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14515
14516         * gst/gstvalue.c:
14517           Improve documentation for gst_value_union().
14518
14519         * gst/gstvalue.h:
14520           Change return value for union, intersect and subtract functions
14521           from gint to gboolean.
14522
14523 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14524
14525         * gst/gstvalue.c: (gst_value_serialize_any_list),
14526         (gst_value_transform_any_list_string),
14527         (gst_value_deserialize_list), (gst_value_deserialize_array),
14528         (gst_value_set_int_range), (gst_value_deserialize_int_range),
14529         (gst_value_set_double_range), (gst_value_deserialize_double_range),
14530         (gst_value_set_fraction_range_full),
14531         (gst_value_deserialize_fraction_range),
14532         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14533         (gst_value_deserialize_boolean),
14534         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14535         (gst_value_serialize_float), (gst_value_deserialize_float),
14536         (gst_string_wrap), (gst_value_deserialize_string),
14537         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14538         (gst_value_union_int_range_int_range),
14539         (gst_value_intersect_int_range_int_range),
14540         (gst_value_intersect_double_range_double_range),
14541         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14542         (gst_value_subtract_int_range_int_range),
14543         (gst_value_subtract_double_double_range),
14544         (gst_value_subtract_double_range_double_range),
14545         (gst_value_deserialize_fraction):
14546         * gst/gstvalue.h:
14547           Use gint, gdouble and gchar in our API instead of int, double and
14548           char (and make usage in gstvalue.c more consistent).
14549
14550 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14551
14552         * check/Makefile.am:
14553         * libs/gst/controller/Makefile.am:
14554         * libs/gst/dataprotocol/Makefile.am:
14555           fix up Makefile.am and remove GST_ENABLE_NEW
14556
14557 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14558
14559         * configure.ac:
14560         * gst/Makefile.am:
14561         * gst/base/Makefile.am:
14562         * gst/check/Makefile.am:
14563         * gst/elements/Makefile.am:
14564         * gst/net/Makefile.am:
14565           update LDFLAGS use some more
14566
14567 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14568
14569         * common/m4/gst-doc.m4:
14570           Fixes #312589
14571
14572 2005-11-26  Edward Hervey  <edward@fluendo.com>
14573
14574         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14575         This shouldn't issue a g_warning since it returns NULL if it
14576         couldn't find the plugin, and all functions using this behave
14577         properly on a NULL return. Switching to a GST_WARNING.
14578
14579 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
14580
14581         * gst/gstbin.c: (gst_bin_handle_message_func):
14582         Don't leak clock messages.
14583
14584 2005-11-25  Wim Taymans  <wim@fluendo.com>
14585
14586         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14587         (gst_util_uint64_scale_int):
14588         Optimisations, remove unneeded vars.
14589
14590 2005-11-25  Wim Taymans  <wim@fluendo.com>
14591
14592         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14593         Added more checks for the high precision uint64 cases.
14594
14595         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14596         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14597         Implement high precision (guint64 * guint64) / guint64.
14598
14599 2005-11-24  Wim Taymans  <wim@fluendo.com>
14600
14601         * gst/base/gstbasesrc.c: (gst_base_src_query):
14602         Fix wrong percentage query.
14603
14604         * gst/gstutils.c: (gst_util_uint64_scale),
14605         (gst_util_uint64_scale_int):
14606         Add some more common cases that can be handled 
14607         efficiently to _scale.
14608
14609 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14610
14611         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14612         (gst_mini_object_suite):
14613           don't use check calls from threads; check probably isn't
14614           threadsafe and using a lock to make it threadsafe would
14615           defeat the purpose of this check
14616         * gst/check/gstcheck.c:
14617         * gst/check/gstcheck.h:
14618           use GST_DEBUG some more
14619
14620 2005-11-24  Wim Taymans  <wim@fluendo.com>
14621
14622         * gst/gstutils.c: (gst_util_uint64_scale),
14623         (gst_util_uint64_scale_int):
14624         Chain trivial case to _scale_int.
14625
14626 2005-11-24  Wim Taymans  <wim@fluendo.com>
14627
14628         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14629         Added test for scaling.
14630
14631         * gst/gstclock.h:
14632         Small doc fix.
14633
14634         * gst/gstutils.c: (gst_util_uint64_scale_int):
14635         Implemented high precision scaling code.
14636
14637 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
14638
14639         * gst/gstinfo.h:
14640           do not crash on pad==NULL
14641
14642 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14643
14644         Patch by: Stefan Kost
14645
14646         * common/gtk-doc.mak:
14647         * docs/gst/Makefile.am:
14648         * docs/libs/Makefile.am:
14649           Fix distcheck issues for the libraries docs build
14650           Closes #319599.
14651
14652 2005-11-24  Michael Smith <msmith@fluendo.com>
14653
14654         * docs/manual/basics-helloworld.xml:
14655           Fix bug #315027: memory leak in example code in docs.
14656
14657 2005-11-24  Michael Smith <msmith@fluendo.com>
14658
14659         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14660           Unlock the PREROLL_LOCK in a failure case.
14661
14662 2005-11-24  Wim Taymans  <wim@fluendo.com>
14663
14664         * docs/gst/gstreamer-sections.txt:
14665         * gst/base/gstadapter.h:
14666         * gst/base/gstbasesink.h:
14667         * gst/base/gstbasesrc.h:
14668         * gst/base/gstbasetransform.h:
14669         * gst/base/gstpushsrc.h:
14670         * gst/elements/gstfakesink.h:
14671         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14672         * gst/elements/gstfakesrc.h:
14673         * gst/elements/gstfilesink.h:
14674         * gst/elements/gstfilesrc.h:
14675         * gst/gst.c:
14676         * gst/gstbin.c:
14677         * gst/gstbuffer.c: (_gst_buffer_copy):
14678         * gst/gstbus.h:
14679         * gst/gstcaps.c:
14680         * gst/gstchildproxy.c:
14681         * gst/gstclock.c:
14682         * gst/gstelement.c:
14683         * gst/gstelementfactory.c:
14684         * gst/gstelementfactory.h:
14685         * gst/gstevent.c:
14686         * gst/gstghostpad.h:
14687         * gst/gstindex.h:
14688         * gst/gstinterface.h:
14689         * gst/gstminiobject.c:
14690         * gst/gstminiobject.h:
14691         * gst/gstpad.c:
14692         * gst/gstpad.h:
14693         * gst/gstpadtemplate.h:
14694         * gst/gstpipeline.h:
14695         * gst/gstpluginfeature.h:
14696         * gst/gstquery.h:
14697         * gst/gstqueue.h:
14698         * gst/gsttaglist.c:
14699         * gst/gsttaglist.h:
14700         * gst/gsttagsetter.c:
14701         * gst/gsttagsetter.h:
14702         * gst/gsttrace.c:
14703         * gst/gsttrace.h:
14704         * gst/gsttypefind.h:
14705         * gst/gsturi.h:
14706         * gst/gstvalue.c:
14707         * gst/net/gstnetclientclock.c:
14708         * gst/net/gstnetclientclock.h:
14709         * gst/net/gstnettimepacket.c:
14710         * gst/net/gstnettimeprovider.c:
14711         * gst/net/gstnettimeprovider.h:
14712         Doc fixes.
14713
14714 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14715
14716         * configure.ac: back to HEAD
14717
14718 === release 0.9.6 ===
14719
14720 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
14721
14722         * configure.ac:
14723           releasing 0.9.6, "Always On Time"
14724
14725 2005-11-23  Wim Taymans  <wim@fluendo.com>
14726
14727         * docs/gst/gstreamer-sections.txt:
14728         * gst/glib-compat.c:
14729         * gst/gsttagsetter.c:
14730         * gst/gstvalue.c:
14731         * gst/net/gstnetclientclock.c:
14732         * gst/net/gstnettimepacket.h:
14733         Doc updates.
14734
14735 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14736
14737         * docs/faq/using.xml:
14738         * docs/libs/tmpl/gstcontrol.sgml:
14739         * docs/manual/advanced-dparams.xml:
14740         * docs/manual/appendix-checklist.xml:
14741         * docs/manual/basics-elements.xml:
14742         * docs/pwg/other-source.xml:
14743         * docs/random/moving-plugins:
14744         * gst/gstpad.c:
14745         * tools/gst-launch.1.in:
14746           remove mentions of sinesrc
14747
14748 2005-11-23  Michael Smith <msmith@fluendo.com>
14749
14750         * docs/gst/gstreamer-sections.txt:
14751           Update for new API and API changes.
14752         * gst/gstobject.h:
14753           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14754         * gst/gstvalue.c:
14755           Documentation typo fix.
14756         * gst/net/gstnettimepacket.c:
14757           Documentation fixes for arguments.
14758
14759 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
14760
14761         * gst/gststructure.c: (gst_structure_get_fraction),
14762         (gst_structure_parse_value),
14763         (gst_structure_fixate_field_nearest_fraction):
14764         * gst/gststructure.h:
14765         * gst/gstutils.c: (gst_util_uint64_scale_int):
14766         * gst/gstutils.h:
14767         * scripts/update-funcnames:
14768         API Changes. 
14769         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14770         Make gst_structure_fixate_field_nearest_fraction take a numerator
14771         and denominator argument instead of a GValue
14772         add gst_structure_get_fraction helper function.
14773
14774 2005-11-23  Wim Taymans  <wim@fluendo.com>
14775
14776         * docs/design/part-TODO.txt:
14777         Update TODO.
14778
14779         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14780         * gst/net/gstnetclientclock.h:
14781         Use parent fields for timeout and window_size.
14782
14783 2005-11-23  Andy Wingo  <wingo@pobox.com>
14784
14785         * check/net/gstnetclientclock.c (test_functioning): Adjust to
14786         rate_num/rate_denom change.
14787
14788         * gst/net/gstnetclientclock.c
14789         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14790         OBJECT_LOCK. Don't call add_observation with the lock.
14791
14792         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14793         fraction.
14794         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14795         rate fraction.
14796         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14797         deal with rate as a fraction whose numerator and denominator are
14798         GstClockTime values.
14799         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14800         master; the other fields are protected by the SLAVE_LOCK.
14801         (do_linear_regression): Note that this must be called with the
14802         SLAVE_LOCK.
14803         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14804         OBJECT_LOCK. Call set_calibration instead of touching the
14805         variables directly.
14806         (gst_clock_set_property, gst_clock_get_property): Protect
14807         master/slave parameters with the SLAVE_LOCK.
14808
14809         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14810         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14811         note that all of the instance variables that add_observation and
14812         the set_master functions use are protected by that lock and not
14813         the OBJECT_LOCK.
14814         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14815
14816         * gst/gstclock.c (gst_clock_add_observation): No longer requires
14817         the caller to take the object lock.
14818
14819 2005-11-23  Wim Taymans  <wim@fluendo.com>
14820
14821         * gst/gsterror.c: (_gst_core_errors_init):
14822         * gst/gsterror.h:
14823         Add error for clock stuff.
14824
14825         * gst/gstpipeline.c: (gst_pipeline_change_state),
14826         (gst_pipeline_set_clock):
14827         Post clock error when clock cannot be used in a pipeline.
14828
14829 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
14830
14831         * docs/gst/gstreamer-sections.txt:
14832           make two symbols from gstinfo private for the docs
14833         * gst/base/gstcollectpads.h:
14834         * gst/gstutils.c:
14835           fix doc typos, update docs
14836
14837 2005-11-22  Wim Taymans  <wim@fluendo.com>
14838
14839         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14840         (gst_base_sink_wait), (gst_base_sink_do_sync),
14841         (gst_base_sink_handle_event):
14842         * gst/base/gstbasesink.h:
14843         No need to store the clock, the parent element class already
14844         has it.
14845
14846         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14847         Updates for clock_set returning a gboolean
14848
14849         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14850         (gst_clock_id_wait_async), (gst_clock_class_init),
14851         (gst_clock_init), (gst_clock_finalize),
14852         (gst_clock_get_internal_time), (gst_clock_get_time),
14853         (gst_clock_slave_callback), (gst_clock_set_master),
14854         (gst_clock_get_master), (do_linear_regression),
14855         (gst_clock_add_observation), (gst_clock_set_property),
14856         (gst_clock_get_property):
14857         * gst/gstclock.h:
14858         Implement master/slave. When setting a clock as a slave, a
14859         periodic timeout is scheduled to sample master and slave times.
14860         Then the slave clock is recalibrated to match offset and rate
14861         of the master clock.
14862         Update logging a bit.
14863         Add flag so that a clock can state that is cannot be slaved to
14864         another clock.
14865
14866         * gst/gstelement.c: (gst_element_set_clock):
14867         * gst/gstelement.h:
14868         The set clock returns a gboolean for when an element cannot
14869         deal with the selected clock in the pipeline. 
14870
14871         * gst/gstpipeline.c: (gst_pipeline_change_state),
14872         (gst_pipeline_set_clock):
14873         * gst/gstpipeline.h:
14874         Handle the case where the selected clock cannot be set on
14875         the pipeline.
14876
14877         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14878         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14879         (gst_net_client_clock_set_property),
14880         (gst_net_client_clock_get_property),
14881         (gst_net_client_clock_observe_times):
14882         * gst/net/gstnetclientclock.h:
14883         Use regression code in GstClock parent, remove duplicated
14884         functionality.
14885
14886 2005-11-22  Michael Smith <msmith@fluendo.com>
14887
14888         * gst/gstutils.c: (gst_util_clock_time_scale):
14889         * gst/gstutils.h:
14890         * docs/gst/gstreamer-sections.txt:
14891           Rename method to have extra underscore.
14892
14893 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14894
14895         * gst/elements/Makefile.am:
14896         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14897         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14898         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14899         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14900         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14901         * gst/elements/gstfakesrc.h:
14902         * gst/gstqueue.c: (queue_leaky_get_type):
14903           correctly fix GEnumValues so that nick is the short lowercase
14904           dashed tag
14905         * tools/gst-inspect.c: (print_element_properties_info):
14906           also show the nick, since it's useful to use from parse_launch
14907           syntax
14908           Fixes #322139
14909
14910 2005-11-22  Michael Smith <msmith@fluendo.com>
14911
14912         * gst/gstutils.c: (gst_util_clocktime_scale):
14913         * gst/gstutils.h:
14914         * docs/gst/gstreamer-sections.txt:
14915           Add util method for scaling a clocktime by a fraction. Useful 
14916           implementation is left as an exercise for the reader.
14917
14918 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14919
14920         * gst/gstvalue.c: (gst_value_collect_fraction_range):
14921         If needed, allocate storage in the destination value during
14922         collection.
14923
14924 2005-11-22  Edward Hervey  <edward@fluendo.com>
14925
14926         * docs/gst/gstreamer-sections.txt:
14927         * gst/Makefile.am:
14928         * gst/gst.h:
14929         * gst/gsturitype.c:
14930         * gst/gsturitype.h:
14931         * gst/gstutils.c: (gst_util_set_object_arg):
14932         * tools/gst-compprep.c: (main):
14933         * tools/gst-inspect.c: (print_element_properties_info):
14934         Removed GstURI, closes bug #321061
14935
14936 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14937
14938         * check/gst/gststructure.c: (GST_START_TEST):
14939         * gst/gststructure.c: (gst_structure_parse_value):
14940           Oops, broke automatic string type parsing.
14941           Add a test to catch it in future.
14942
14943 2005-11-22  Andy Wingo  <wingo@pobox.com>
14944
14945         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
14946         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14947         Actually rename the function implementations. Grr.
14948
14949 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14950
14951         * check/gst/capslist.h:
14952           Comment test cases
14953         * check/gst/gststructure.c: (GST_START_TEST),
14954         (gst_structure_suite):
14955           Test automatic value type detection in gst_structure_from_string.
14956         * gst/gststructure.c: (gst_structure_parse_value):
14957           Add fraction as a type we try and guess automatically in
14958           caps/structure strings.
14959
14960 2005-11-22  Andy Wingo  <wingo@pobox.com>
14961
14962         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14963
14964         * gst/gsttagsetter.h:
14965         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14966         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14967         (gst_tag_setter_add_tag_valist)
14968         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14969         _add_values, _add_valist, and _add_valist_values. Since this is an
14970         interface the function suffixes should be more explicit so
14971         language binding don't end up with element.add_valist ->
14972         gst_tag_setter_add_valist, for example. Fixes #322069.
14973
14974 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14975
14976         * check/gst/gstcaps.c: (GST_START_TEST):
14977           Extend caps string tests to check that a caps to string
14978           conversion is reversible and produces the same caps.
14979
14980         * gst/gststructure.c: (gst_structure_value_get_generic_type):
14981           Output "fraction" as the generic type fraction range, so caps
14982           serialisation and deserialisation works.
14983         * check/gst/capslist.h:
14984         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14985           Support 'MIN' and 'MAX' for deserialising fractions.
14986
14987 2005-11-22  Andy Wingo  <wingo@pobox.com>
14988
14989         * gst/gstevent.h (gst_event_new_new_segment)
14990         (gst_event_parse_new_segment, gst_event_new_buffer_size)
14991         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14992         Renamed from *_newsegment, *_buffersize, *_notarget.
14993
14994         * scripts/update-funcnames: New script, performs the changes
14995         listed above.
14996
14997 2005-11-22  Wim Taymans  <wim@fluendo.com>
14998
14999         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15000         Make sure the GstFlowReturn is returned.
15001
15002         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
15003         (gst_bus_add_signal_watch):
15004         * gst/gstbus.h:
15005         add gst_bus_add_signal_watch_full.
15006
15007         * gst/gstplugin.c: (gst_plugin_load_file):
15008         Small style cleanup.
15009
15010 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15011
15012         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
15013           Block the fakesrc srcpad when we send an event, to avoid
15014           contention on the stream_lock causing random test failures.
15015
15016 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15017
15018         * check/gst/gstvalue.c: (GST_START_TEST):
15019         * gst/gstvalue.c: (gst_value_fraction_subtract):
15020           Fix subtraction.
15021
15022 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
15023
15024         * gst/gst.h:
15025           include "gstchildproxy.h"
15026         * gst/gstchildproxy.h:
15027         * libs/gst/controller/gstcontroller.h:
15028           use G_GNUC_NULL_TERMINATED
15029
15030 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15031
15032         * check/gst/capslist.h:
15033         * check/gst/gstcaps.c: (GST_START_TEST):
15034         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15035         * gst/gststructure.c: (gst_structure_parse_range),
15036         (gst_structure_fixate_field_nearest_fraction):
15037         * gst/gststructure.h:
15038         * gst/gstvalue.c: (gst_value_init_fraction_range),
15039         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
15040         (gst_value_collect_fraction_range),
15041         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
15042         (gst_value_set_fraction_range_full),
15043         (gst_value_get_fraction_range_min),
15044         (gst_value_get_fraction_range_max),
15045         (gst_value_serialize_fraction_range),
15046         (gst_value_transform_fraction_range_string),
15047         (gst_value_compare_fraction_range),
15048         (gst_value_deserialize_fraction_range),
15049         (gst_value_intersect_fraction_fraction_range),
15050         (gst_value_intersect_fraction_range_fraction_range),
15051         (gst_value_subtract_fraction_fraction_range),
15052         (gst_value_subtract_fraction_range_fraction),
15053         (gst_value_subtract_fraction_range_fraction_range),
15054         (gst_value_collect_fraction), (gst_value_fraction_multiply),
15055         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
15056         (gst_value_transform_string_fraction), (_gst_value_initialize):
15057         * gst/gstvalue.h:
15058           Implement fraction ranges and extend GstFraction to support
15059           arithmetic subtraction, as well as deserialization from integer
15060           strings such as "100"
15061           Add a testsuite as for int and double range set operations
15062
15063 2005-11-21  Andy Wingo  <wingo@pobox.com>
15064
15065         * gst/gsttaglist.h: 
15066         * gst/gstcaps.h: 
15067         * gst/gststructure.h: Add glib-compat.h.
15068
15069 2005-11-21  Wim Taymans  <wim@fluendo.com>
15070
15071         * gst/gstbin.c: (gst_bin_change_state_func):
15072         Fix for #321595
15073
15074 2005-11-21  Wim Taymans  <wim@fluendo.com>
15075
15076         * gst/gstsegment.h:
15077         And add a nice define too.
15078
15079 2005-11-21  Wim Taymans  <wim@fluendo.com>
15080
15081         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
15082         (gst_segment_new), (gst_segment_free), (gst_segment_init),
15083         (gst_segment_set_duration), (gst_segment_set_last_stop),
15084         (gst_segment_set_seek), (gst_segment_set_newsegment),
15085         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15086         (gst_segment_clip):
15087         * gst/gstsegment.h:
15088         Make binding friendly.
15089
15090 2005-11-21  Andy Wingo  <wingo@pobox.com>
15091
15092         * gst/gsttagsetter.h: 
15093         * gst/gsttaglist.h: 
15094         * gst/gststructure.h: 
15095         * gst/gstcaps.h: 
15096         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
15097         #319940.
15098
15099         * gst/gsterror.c (_gst_core_errors_init):
15100         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
15101         category.
15102
15103         * gst/Makefile.am (gst_headers): Add glib-compat.h.
15104         (noinst_HEADERS): noinst the -private.
15105
15106 2005-11-21  Michael Smith <msmith@fluendo.com>
15107
15108         * gst/gstplugin.h:
15109         * gst/gstregistry.h:
15110           Remove unimplemented declarations for which we can see no sensible
15111           use.
15112
15113 2005-11-21  Andy Wingo  <wingo@pobox.com>
15114
15115         * gst/gst.h: Include glib-compat.h.
15116
15117         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15118
15119         * gst/glib-compat.c: Include the public and the private header.
15120
15121         * gst/glib-compat-private.h: Copied here from glib-compat.h.
15122
15123         * gst/gstvalue.c: 
15124         * gst/gstpad.c: 
15125         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15126
15127         * check/gst/gstevent.c (create_custom_events): Check that
15128         FLUSH_STOP is serialized.
15129
15130         * check/elements/identity.c (event_func): 
15131         * check/elements/fakesrc.c (event_func): No stream lock, the core
15132         takes it.
15133
15134         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15135         stream lock taking, yay.
15136
15137         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15138         ensure that core takes the stream lock.
15139
15140         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15141         lock name change.
15142
15143         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15144         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15145         it already. For the flush start we do take it though so we get the
15146         right preroll state change messages.
15147
15148         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15149         the stream lock here, the core does it for us.
15150
15151         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15152         GST_STREAM_GET_LOCK.
15153         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
15154         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
15155         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15156         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15157         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
15158         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15159
15160         * gst/gstpad.c: Update for stream lock name change.
15161
15162         * gst/base/gstbasesink.c: Update for preroll lock name change.
15163
15164 2005-11-21  Wim Taymans  <wim@fluendo.com>
15165
15166         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15167         (gst_clock_get_master):
15168         * gst/gstclock.h:
15169         * gst/gstsystemclock.c: (gst_system_clock_init):
15170         Convert Clock flags to object flags.
15171         Added methods to manage master/slave clocks.
15172
15173 2005-11-21  Wim Taymans  <wim@fluendo.com>
15174
15175         * check/gst/gstsegment.c: (GST_START_TEST):
15176         * docs/design/part-TODO.txt:
15177         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15178         (gst_base_sink_event), (gst_base_sink_do_sync),
15179         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15180         (gst_base_sink_query), (gst_base_sink_change_state):
15181         * gst/base/gstbasesink.h:
15182         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15183         (gst_base_src_default_newsegment),
15184         (gst_base_src_configure_segment), (gst_base_src_do_seek),
15185         (gst_base_src_get_range), (gst_base_src_loop),
15186         (gst_base_src_change_state):
15187         * gst/base/gstbasesrc.h:
15188         * gst/base/gstbasetransform.c:
15189         (gst_base_transform_prepare_output_buf),
15190         (gst_base_transform_event), (gst_base_transform_change_state):
15191         * gst/base/gstbasetransform.h:
15192         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15193         (gst_collect_pads_event):
15194         * gst/base/gstcollectpads.h:
15195         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15196         (gst_fake_src_create):
15197         * gst/elements/gstfakesrc.h:
15198         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15199         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15200         (gst_segment_set_last_stop), (gst_segment_set_seek),
15201         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15202         (gst_segment_to_running_time), (gst_segment_clip):
15203         * gst/gstsegment.h:
15204         More segment updates, replace code in plugins with segment
15205         helper functions.
15206
15207 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15208
15209         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15210         Don't ignore sscanf results
15211
15212 2005-11-21  Andy Wingo  <wingo@pobox.com>
15213
15214         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15215
15216         * *.h:
15217         * *.c: Ran scripts/update-macros. Oh yes.
15218
15219         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15220         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15221         GST_GET_LOCK, etc.
15222
15223         * scripts/update-macros: New script. Run it on your files to
15224         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15225         well.
15226
15227 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15228
15229         * docs/gst/Makefile.am:
15230         * docs/gst/gstreamer-docs.sgml:
15231         * docs/gst/gstreamer-sections.txt:
15232         * docs/gst/gstreamer.types:
15233         * gst/gstinfo.h:
15234           more docs fixes, add new api to the docs
15235
15236 2005-11-21  Andy Wingo  <wingo@pobox.com>
15237
15238         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15239         state_broadcast call.
15240
15241         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15242
15243 2005-11-21  Julien MOUTTE  <julien@moutte.net>
15244
15245         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15246         function calls for arrays.
15247
15248 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15249
15250         * docs/random/ensonic/media-device-daemon.txt:
15251           wild idea, can this be done?
15252         * docs/gst/gstreamer-sections.txt:
15253         * gst/gsterror.h:
15254         * gst/gstfilter.c:
15255         * gst/gstfilter.h:
15256         * gst/gstplugin.h:
15257         * gst/gstpluginfeature.c:
15258         * gst/gsttrace.c:
15259         * gst/gstvalue.c:
15260         * gst/gstvalue.h:
15261           doc fixes and additions
15262
15263 2005-11-21  Andy Wingo  <wingo@pobox.com>
15264
15265         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
15266         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
15267         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
15268         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15269         private to the basesrc implementation.
15270
15271         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15272         behalf of event function if necessary. It should no longer be
15273         necessary to take the stream lock in pad's event functions. Fixes
15274         #320299.
15275
15276 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15277         * docs/gst/gstreamer-sections.txt:
15278         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15279         (gst_structure_fixate_field_nearest_double),
15280         (gst_structure_fixate_field_boolean):
15281         * gst/gststructure.h:
15282         * win32/common/libgstreamer.def:
15283         * win32/gstreamer.def:
15284
15285         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15286         (#322027)
15287
15288 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15289
15290         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15291         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15292         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15293         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15294         (gst_fdsrc_uri_handler_init):
15295         * gst/elements/gstfdsrc.h:
15296           Port fd:// URI handler from 0.8 to fdsrc
15297
15298 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15299
15300         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15301         (gst_value_serialize_fourcc):
15302         * gst/gstvalue.h:
15303           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15304           consistent with our other format defines (#320324).
15305
15306 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15307
15308         * gst/gstvalue.c: (gst_value_is_fixed):
15309           Revert previous commit. Value lists are by definition
15310           not fixed, as they are a list of possible values.
15311
15312 2005-11-21  Andy Wingo  <wingo@pobox.com>
15313
15314         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15315         during the stable series if we need it. Fixes #319178.
15316
15317         * gst/gstevent.c (gst_event_new_filler): Removed.
15318
15319         * check/gst/gstevent.c: Update comment about filler events.
15320
15321 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15322
15323         * gst/gstvalue.c: (gst_value_is_fixed):
15324           Should handle both value arrays and value lists.
15325
15326 2005-11-21  Andy Wingo  <wingo@pobox.com>
15327
15328         patch by: Alessandro Dessina <alessandro nnva org>
15329
15330         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15331         functions to access arrays. Fixes #321962.
15332
15333 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15334
15335         * docs/gst/gstreamer.types:
15336           gst_collectpads_get_type => gst_collect_pads_get_type.
15337           
15338         * gst/base/gstbasetransform.c:
15339           Remove unused SIGNAL_HANDOFF enum.
15340
15341 2005-11-21  Andy Wingo  <wingo@pobox.com>
15342
15343         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15344         the event type (upstream, downstream, serialized). Renamed
15345         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15346         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15347         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15348
15349         * gst/gstevent.c: Update for new CUSTOM event names.
15350
15351         * check/gst/gstevent.c: Update check for new CUSTOM event names.
15352
15353         * gst/gstevent.h:
15354         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15355         bug #319392.
15356
15357 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15358
15359         * docs/gst/gstreamer-sections.txt:
15360         * win32/common/libgstbase.def:
15361         * win32/libgstbase.def:
15362         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15363         (gst_collect_pads_class_init), (gst_collect_pads_init),
15364         (gst_collect_pads_finalize), (gst_collect_pads_new),
15365         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15366         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15367         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15368         (gst_collect_pads_start), (gst_collect_pads_stop),
15369         (gst_collect_pads_peek), (gst_collect_pads_pop),
15370         (gst_collect_pads_available), (gst_collect_pads_read),
15371         (gst_collect_pads_flush), (gst_collect_pads_event),
15372         (gst_collect_pads_chain):
15373         * gst/base/gstcollectpads.h:
15374           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15375           unimplemented functions as unimplemented. Add padding to
15376           GstCollectData. (#320766, #320423)
15377
15378 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15379
15380         * gst/gstmessage.c:
15381           Improve docs for DURATION message (usage of duration parameter)
15382           (#320113)
15383
15384 2005-11-20  Wim Taymans  <wim@fluendo.com>
15385
15386         * check/Makefile.am:
15387         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15388         (main):
15389         * gst/Makefile.am:
15390         * gst/gst.h:
15391         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15392         (gst_segment_set_seek), (gst_segment_set_newsegment),
15393         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15394         (gst_segment_clip):
15395         * gst/gstsegment.h:
15396         Added segment helper structure and methods. Not fully implemented
15397         yet.
15398         Added segment check.
15399
15400 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
15401
15402         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15403           Add a deserialisation test for fractions
15404         * examples/metadata/read-metadata.c: (message_loop),
15405         (make_pipeline), (main):
15406           Fix up metadata reading sample.
15407         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15408           Debug format fix
15409         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15410           Don't try and fixate empty caps
15411         * gst/gst_private.h:
15412           Wrap in G_BEGIN_DECLS/G_END_DECLS
15413         * gst/gstvalue.c: (gst_value_collect_fraction),
15414         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15415         (gst_value_transform_string_fraction),
15416         (gst_value_compare_fraction):
15417           Add some extra guards to ensure that we don't end up 
15418           with an invalid denominator of 0 in a gstfraction and
15419           that fractions always get reduced.
15420
15421 2005-11-20  Wim Taymans  <wim@fluendo.com>
15422
15423         * docs/gst/gstreamer-sections.txt:
15424         * gst/gstbuffer.h:
15425         * gst/gstelement.c:
15426         * gst/gstformat.c:
15427         * gst/gstformat.h:
15428         * gst/gstindex.h:
15429         * gst/gstquery.c:
15430         * gst/gstquery.h:
15431         * gst/gstvalue.c:
15432         Doc fixes.
15433
15434 2005-11-20  Wim Taymans  <wim@fluendo.com>
15435
15436         * docs/design/part-TODO.txt:
15437         * gst/gstcaps.h:
15438         Make a proper enum of the flag.
15439
15440 2005-11-19  Wim Taymans  <wim@fluendo.com>
15441
15442         * docs/design/part-TODO.txt:
15443         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15444         (gst_format_to_quark), (gst_format_register):
15445         * gst/gstformat.h:
15446         * gst/gstquery.c: (_gst_query_initialize),
15447         (gst_query_type_get_name), (gst_query_type_to_quark),
15448         (gst_query_type_register):
15449         * gst/gstquery.h:
15450         Add type to quark and type to string conversions.
15451
15452 2005-11-19  Andy Wingo  <wingo@pobox.com>
15453
15454         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15455         #320097.
15456
15457 2005-11-19  Wim Taymans  <wim@fluendo.com>
15458
15459         * docs/design/part-TODO.txt:
15460         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15461         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15462         (gst_bin_handle_message_func):
15463         * gst/gstbin.h:
15464         Make message handling overridable.
15465
15466 2005-11-19  Andy Wingo  <wingo@pobox.com>
15467
15468         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15469
15470         * gst/gstclock.h:
15471         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15472         be a GstClockTime.
15473         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15474         is a GstClockTime. Fixes #321710.
15475
15476         * gst/gstclock.h (GstClock): Remove offset property. Add
15477         internal_calibration and external_calibration. Fix padding. Pad
15478         also by GstClockTime so we don't run into problems.
15479
15480         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15481         (gst_clock_get_rate_offset): Remove.
15482         (gst_clock_set_time_adjust): Remove. Fixes #321712.
15483
15484         * gst/gstutils.h:
15485         * gst/gstutils.c (g_static_rec_cond_wait)
15486         (g_static_rec_cond_timed_wait): Removed, no longer needed.
15487
15488         * gst/gstbin.c: Remove terrible continue_state prototype.
15489
15490         * gst/gstelement.h (gst_element_continue_state): Make public.
15491
15492         * gst/gstelement.h:
15493         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15494         by continue_state. Fixes #319389.
15495
15496         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15497         Really fixes #168438. However I don't see anywhere where the
15498         filter function is called... stupid GStreamer...
15499         
15500         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15501         don't have a dispose function, so it won't get called when the
15502         object is unreffed, but oh well!
15503
15504         * gst/gstindex.c (gst_index_set_filter_full): New API function,
15505         allows a destroy function to be set so user_data can be freed.
15506         Fixes #168438.
15507         (gst_index_set_filter): Call gst_index_set_filter_full.
15508
15509         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15510
15511         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15512         string should produce an error, given the lack of a way to
15513         represent NULL strings. Fixes #165650.
15514         
15515         * gst/gstvalue.h: 
15516         * gst/gstvalue.c (gst_value_array_append_value) 
15517         (gst_value_array_prepend_value, gst_value_array_get_size) 
15518         (gst_value_array_get_value): New API, copied from
15519         gst_value_list_*, only operates on arrays.
15520         (gst_value_list_append_value, gst_value_list_prepend_value) 
15521         (gst_value_list_concat, gst_value_list_get_size) 
15522         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15523
15524         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15525         init_list, because it works on both.
15526         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15527         (gst_value_copy_list_or_array): Renamed from copy_list.
15528         (gst_value_free_list_or_array): Renamed from free_list.
15529         (gst_value_collect_list_or_array): Renamed from collect_list.
15530         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15531         (gst_value_list_or_array_peek_pointer): Renamed from
15532         list_peek_pointer.
15533         (_gst_value_array_value_table, _gst_value_list_value_table):
15534         Update value table functions.
15535         (gst_value_compare_list_or_array): Renamed from compare_list.
15536
15537         * gsttaglist.h: Whoops, foreach function returns void. Also fix
15538         some constness.
15539
15540         * gst/gsttaglist.c:
15541         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15542         GstTagList*. Fixes #143472.
15543
15544         * gst/gststructure.h: Clarify what the foreach/map functions can
15545         or can't do to their arguments.
15546
15547 2005-11-18  Wim Taymans  <wim@fluendo.com>
15548
15549         * gst/gstclock.c: (gst_clock_set_calibration),
15550         (gst_clock_get_calibration):
15551         Doc and API fixes.
15552         Calibration can be set with internal time equal to current
15553         internal time too.
15554
15555 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15556
15557         * gst/gsterror.c:
15558         * gst/gsterror.h:
15559           document
15560
15561 2005-11-18  Andy Wingo  <wingo@pobox.com>
15562
15563         * configure.ac: 
15564         * pkgconfig/gstreamer-net.pc.in:
15565         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15566         * pkgconfig/Makefile.am: Add net pkgconfig files.
15567
15568 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
15569
15570         * gst/gstcaps.c:
15571         * gst/gstghostpad.c:
15572         * gst/gsttrace.c:
15573         * gst/gstvalue.c:
15574         * gst/gstvalue.h:
15575           docs fixes
15576
15577 2005-11-18  Andy Wingo  <wingo@pobox.com>
15578
15579         * gst/net/gstnetclientclock.c: Turn off debugging.
15580
15581         * check/net/gstnetclientclock.c (test_functioning): Assert that the
15582         times connverge somewhat. Can't make a real test.
15583
15584         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15585         integer arithmetic. Return the minimum of the domain, which can be
15586         set as "internal" for gst_clock_set_calibration.
15587         (gst_net_client_clock_observe_times): Call _set_calibration.
15588         (gst_net_client_clock_new): Call _set_calibration instead of
15589         rate_offset.
15590
15591         * check/net/gstnetclientclock.c (test_functioning): Use the right
15592         adjustment api.
15593
15594         * gst/gstclock.h:
15595         * gst/gstclock.c (gst_clock_get_calibration) 
15596         (gst_clock_set_calibration): New functions, obsolete the ones I
15597         added yesterday. Doh. Precision issues mean we have to extrapolate
15598         from a point in the more recent past than 1970.
15599         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15600         obsolete.
15601         (gst_clock_adjust_unlocked): Use the right calibration data.
15602
15603 2005-11-18  Edward Hervey  <edward@fluendo.com>
15604
15605         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
15606         Also reset the ->current_* values in READY->PAUSED
15607
15608 2005-11-18  Andy Wingo  <wingo@pobox.com>
15609
15610         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15611         Whoops, check the right fd. Also add some debugging.
15612         (gst_net_client_clock_observe_times): Adjust for int64 offset.
15613         (do_linear_regression): Add a crapload of debugging. Subtract off
15614         the minimum values from the input series to discard unneeded bits.
15615         Use only int arithmetic. There is still double arithmetic when
15616         calculating the intercept that needs fixing. Return boolean to
15617         indicate success; FALSE would mean the domain or range is too
15618         great. Still needs fixes.
15619
15620 2005-11-18  Wim Taymans  <wim@fluendo.com>
15621
15622         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15623         For the current position in stream time, we need to subtract
15624         accumulated time.
15625         
15626         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15627         Release lock before calling the callback function of async
15628         entries.
15629
15630 2005-11-18  Andy Wingo  <wingo@pobox.com>
15631
15632         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15633         Port goes all the way to MAXUINT16.
15634
15635         * gst/net/gstnettimeprovider.c: Make the port range the same as
15636         for the kernel: 0 assigns, otherwise ports are less than
15637         MAXUINT16.
15638
15639         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15640         port change.
15641
15642         * check/net/gstnetclientclock.c (test_functioning): Add the start
15643         of another test. 
15644
15645 2005-11-18  Wim Taymans  <wim@fluendo.com>
15646
15647         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15648         (gst_bin_remove_func), (bin_bus_handler):
15649         * gst/gstbin.h:
15650         Removing a clock provider from a bin, triggers a clock lost message
15651         so that a new clock will be selected.
15652         Adding a clock to a bin triggers a clock provider message.
15653         Make sure we reselect a clock when we received a clock lost message.
15654         Keep a reference to the element that provided the clock.
15655
15656 2005-11-18  Andy Wingo  <wingo@pobox.com>
15657
15658         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15659         the clock initially so it produces values around the base time.
15660         (gst_net_client_clock_class_init): Typo fix.
15661         (gst_net_client_clock_thread): Add note on when the socket gets
15662         closed.
15663
15664 2005-11-17  Wim Taymans  <wim@fluendo.com>
15665
15666         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15667         Free remote and local time arrays.
15668
15669 2005-11-17  Wim Taymans  <wim@fluendo.com>
15670
15671         * gst/net/gstnetclientclock.c: (do_linear_regression),
15672         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15673         Fix compilation, uninitialized vars and a forgotten continue.
15674
15675 2005-11-17  Andy Wingo  <wingo@pobox.com>
15676
15677         * check/Makefile.am (check_PROGRAMS): 
15678         * check/net/gstnetclientclock.c: Add a most minimal test for the
15679         net client clock. More to come later.
15680
15681         * gst/net/gstnet.h: 
15682         * gst/net/Makefile.am: Add netclientclock.
15683
15684         * gst/net/gstnetclientclock.h:
15685         * gst/net/gstnetclientclock.c: New files, implement an untested
15686         GstClock that takes its time from a network time provider.
15687         Implements the algorithm in network-clock.scm.
15688
15689         * tests/network-clock.scm (*window-size*): Rename from
15690         *queue-length*.
15691         * tests/network-clock.scm (network-time): 
15692         * tests/network-clock-utils.scm (q-push): Update callers.
15693
15694 2005-11-17  Wim Taymans  <wim@fluendo.com>
15695
15696         * gst/gstbin.c: (gst_bin_provide_clock_func),
15697         (gst_bin_sort_iterator_new):
15698         And unref the child too..
15699
15700 2005-11-17  Wim Taymans  <wim@fluendo.com>
15701
15702         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15703         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15704         Refactor the sort iterator so it can be used while holding the
15705         LOCK too.
15706         Make clock selection select a clock closest to the source.
15707
15708 2005-11-17  Michael Smith <msmith@fluendo.com>
15709
15710         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15711         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15712         * gst/gstclock.h:
15713           Anonymous structs are a gcc (and some other compilers) extension, so
15714           don't use them. Since this is only for ABI-compatibility, and our
15715           API/ABI freeze is over in a few days, this whole thing will only
15716           last a few days, so don't bother trying to think up a meaningful
15717           name for the struct.
15718
15719 2005-11-17  Andy Wingo  <wingo@pobox.com>
15720
15721         * gst/gstclock.h (GstClock): Add rate and offset properties,
15722         preserving ABI stability. Add rate/offset accessors. Will file bug
15723         for the freeze break.
15724
15725         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15726         and offset, trying to keep precision and avoiding
15727         underflow/overflow.
15728         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15729         functions. Make gst_clock_set_time_adjust obsolete.
15730         (gst_clock_set_time_adjust): Note that this function is obsolete.
15731         Will file bug soon.
15732
15733         * gst/base/gstbasetransform.h: Make the ABI-stability hack
15734         greppable by using GST_PADDING-1+1.
15735
15736 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
15737
15738         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15739
15740         * gst/gstmessage.c: (gst_message_parse_clock_lost):
15741           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15742
15743         * gst/gstpadtemplate.h:
15744         * gst/gstpluginfeature.h:
15745           Don't use c++ style comments in headers (#321638).
15746
15747 2005-11-16  Andy Wingo  <wingo@pobox.com>
15748
15749         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15750         buffer.
15751
15752         * check/net/gstnettimeprovider.c: Check to see that the time
15753         provider actually provides times. Works, yo!
15754
15755 2005-11-16  Wim Taymans  <wim@fluendo.com>
15756
15757         * check/Makefile.am:
15758         Enable more tests.
15759
15760         * check/elements/fakesrc.c: (GST_START_TEST):
15761         Set element to NULL before disposing it.
15762
15763 2005-11-16  Andy Wingo  <wingo@pobox.com>
15764
15765         * gst/net/Makefile.am:
15766         * gst/net/gstnet.h:
15767         * gst/net/gstnettimeprovider.c: 
15768         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15769         provider, include it from gstnet.h, and add it to the build.
15770
15771         * gst/net/gstnettimepacket.h: 
15772         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15773         sending and receiving.
15774
15775 2005-11-16  Wim Taymans  <wim@fluendo.com>
15776
15777         * check/Makefile.am:
15778         Enable valgrind check.
15779
15780         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15781         (gst_fake_src_alloc_buffer):
15782         Fix memleak.
15783
15784 2005-11-16  Wim Taymans  <wim@fluendo.com>
15785
15786         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15787         Call parent finalize too.
15788
15789 2005-11-16  Wim Taymans  <wim@fluendo.com>
15790
15791         * check/Makefile.am:
15792         Enable valgrind check that should work fine now.
15793
15794         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15795         * gst/gstqueue.c: (gst_queue_init):
15796         Fix memleaks in pad allocation.
15797
15798 2005-11-16  Andy Wingo  <wingo@pobox.com>
15799
15800         * gst/net/Makefile.am:
15801         * gst/net/gstnet.h: New part of core to hold network elements and
15802         objects. Put in core because it exposes API that applications want
15803         to use. The library is named libgstnet-tempname right now because
15804         of the existing libgstnet in gst-plugins-base. Solution is
15805         probably to rename the one in plugins-base; will file a bug for
15806         the freeze break.
15807
15808         * gst/net/gstnettimeprovider.c: 
15809         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15810         get_time call over the network.
15811
15812         * configure.ac: 
15813         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15814
15815         * check/Makefile.am:
15816         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15817         get additions shortly.
15818
15819 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15820
15821         * gst/gstpad.c: (gst_pad_new_from_static_template):
15822         * gst/gstpad.h:
15823           add gst_pad_new_from_static_template functions
15824         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15825         (gst_check_setup_sink_pad):
15826         * gst/elements/gsttee.c: (gst_tee_init):
15827           and use them
15828
15829 2005-11-16  Wim Taymans  <wim@fluendo.com>
15830
15831         * gst/gstpad.c: (gst_pad_pause_task):
15832         Removed warning, it's not really an error either.
15833
15834 2005-11-16  Wim Taymans  <wim@fluendo.com>
15835
15836         * gst/base/gstbasetransform.c:
15837         (gst_base_transform_prepare_output_buf),
15838         (gst_base_transform_event):
15839         Check if the caps are NULL, this can happen if the element
15840         is shutting down and the pad caps are set to NULL.
15841
15842 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15843
15844         * gst/elements/gsttee.c: (gst_tee_init):
15845           fix pad template leak in tee
15846
15847 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15848
15849         * gst/glib-compat.c: (g_value_dup_gst_object):
15850         * gst/glib-compat.h:
15851         * gst/gstpad.c: (gst_pad_set_property):
15852           use gst_object_ref when setting the pad template; this will
15853           trigger the pad template leaks on GLib 2.6 and the slaves
15854
15855 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15856
15857         * gst/glib-compat.c: (gst_flags_get_first_value):
15858         * gst/glib-compat.h:
15859         * gst/gstregistryxml.c:
15860           remove functions copied from GLib 2.6
15861
15862 2005-11-16  Michael Smith <msmith@fluendo.com>
15863
15864         * gst/Makefile.am:
15865           Don't link against VALGRIND_LIBS. That was always the wrong thing to
15866           do, but only breaks with newer valgrind versions. We're not a
15867           valgrind tool, we have no link-time dependencies on libcoregrind.
15868
15869 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15870
15871         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15872           some debug changes
15873         * gst/gstmessage.h:
15874           typo fixes
15875
15876 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15877
15878         * gst/base/gstbasesrc.c: (gst_base_src_init):
15879         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15880         * gst/gstqueue.c: (gst_queue_init):
15881         * gst/gstregistryxml.c: (load_feature):
15882           Revert all these unrefs, they don't even pass make check !
15883
15884 2005-11-15  Johan Dahlin  <johan@gnome.org>
15885
15886         * gst/base/gstbasesrc.c: (gst_base_src_init):
15887         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15888         * gst/gstqueue.c: (gst_queue_init): 
15889         Free pad templates, fixes a couple of leaks.
15890
15891 2005-11-15  Daniel Fischer  <dan at f3c dot com>
15892
15893         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15894
15895         * gst/gstpad.c: (gst_pad_get_property):
15896           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15897           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15898           (#321452)
15899
15900 2005-11-15  Wim Taymans  <wim@fluendo.com>
15901
15902         * gst/gstevent.c:
15903         Small doc update.
15904
15905 2005-11-15  Andy Wingo  <wingo@pobox.com>
15906
15907         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15908
15909         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15910         using GST_CLOCK_TIME_NONE to disable base time management.
15911         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15912         time if it was NONE before.
15913         (gst_pipeline_change_state): Only munge the base time if
15914         stream_time != GST_CLOCK_TIME_NONE.
15915
15916         * check/gst/gstpipeline.c (test_base_time): Punt around the
15917         problem of the probe not being called, because that's not the
15918         issue I'm looking at. Add a check that setting stream_time to NONE
15919         disables base time management.
15920         
15921 2005-11-15  Wim Taymans  <wim@fluendo.com>
15922
15923         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15924         segment_stop == -1 at startup.
15925
15926         * gst/base/gstbasetransform.c: (gst_base_transform_event),
15927         (gst_base_transform_change_state):
15928         Init segment values at start.
15929
15930 2005-11-15  Wim Taymans  <wim@fluendo.com>
15931
15932         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15933         0 segment values are 0 in any format.
15934
15935         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15936         * gst/base/gstbasetransform.h:
15937         Parse newsegment correctly in basetransform
15938
15939         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15940         Sync to clock using updated segment values.
15941
15942 2005-11-15  Andy Wingo  <wingo@pobox.com>
15943
15944         * check/gst/gstpipeline.c (test_base_time): Add check that the
15945         base time and stream time are reset correctly.
15946
15947 2005-11-15  Wim Taymans  <wim@fluendo.com>
15948
15949         * docs/design/part-TODO.txt:
15950         Some more TODO items.
15951
15952 2005-11-15  Andy Wingo  <wingo@pobox.com>
15953
15954         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15955         error if the user selected "no clock" as the clocking method.
15956
15957         * check/gst/gstpipeline.c (test_base_time): New test for buffer
15958         timestamps with live capture.
15959
15960         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15961         is 0 but we are a live source, timestamp the buffers using the
15962         element's clock.
15963
15964 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
15965
15966         * docs/gst/gstreamer-sections.txt:
15967         * gst/gsterror.c:
15968         * gst/gstghostpad.c:
15969         * gst/gstobject.h:
15970         * gst/gstxml.c:
15971           more section docs
15972
15973 2005-11-14  Wim Taymans  <wim@fluendo.com>
15974
15975         * common/gst.supp:
15976           add suppressions from Wim's Debian machine
15977
15978 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15979
15980         * common/gst.supp:
15981           add suppressions from Andy's AMD64 Ubuntu machine
15982
15983 2005-11-14  Andy Wingo  <wingo@pobox.com>
15984
15985         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15986         STATE_LOCK not necessary. Fixes #311489.
15987
15988         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15989         #305291.
15990
15991         * gst/gstindex.c (gst_index_add_object): Note in the docs that
15992         this function is not implemented.
15993
15994 2005-11-14  Julien MOUTTE  <julien@moutte.net>
15995
15996         * gst/base/gstbasetransform.c:
15997         (gst_base_transform_prepare_output_buf):
15998         Ref the source pad caps while we need them.
15999         Fixes (#321386)
16000
16001 2005-11-11  Wim Taymans  <wim@fluendo.com>
16002
16003         * docs/gst/gstreamer-sections.txt:
16004         Added some docs for GstCollectData.
16005
16006         * gst/base/gstadapter.c:
16007         Some small code example fix.
16008
16009         * gst/base/gstcollectpads.c:
16010         * gst/base/gstcollectpads.h:
16011         Document some more.
16012
16013 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16014
16015         * configure.ac: back to HEAD
16016
16017 === release 0.9.5 ===
16018
16019 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
16020
16021         * configure.ac:
16022           releasing 0.9.5, "Bike Lunch Day"
16023
16024 2005-11-11  Wim Taymans  <wim@fluendo.com>
16025
16026         * gst/gstbuffer.c: (_gst_buffer_copy):
16027         Copy more flags.
16028
16029         * gst/gstcaps.c: (gst_caps_is_equal):
16030         Fix some docs.
16031         Make _is_equal fast in the trivial cases.
16032
16033         * gst/gstminiobject.c:
16034         * gst/gstminiobject.h:
16035         More docs. Spifify .h file.
16036
16037         * gst/gstutils.c:
16038         Small doc update.
16039
16040 2005-11-11  Wim Taymans  <wim@fluendo.com>
16041
16042         * gst/base/gstbasetransform.c:
16043         (gst_base_transform_prepare_output_buf),
16044         (gst_base_transform_handle_buffer):
16045         Small cleanups.
16046         If we're processing a buffer and need to allocate an output
16047         buffer, we cannot accept a format change. If we did get a 
16048         format change, we have to alloc a buffer ourselves of the 
16049         right size.
16050
16051 2005-11-11  Wim Taymans  <wim@fluendo.com>
16052
16053         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
16054         While checking the flag for reentrancy in the gstcaps function
16055         is nice to detect recursive invocations, it also makes it 
16056         impossible to call getcaps from multiple threads, which must be
16057         possible. So, checking for recursive calls has to go.
16058
16059 2005-11-11  Michael Smith <msmith@fluendo.com>
16060
16061         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16062           Don't sync on buffers that fall partially outside our current
16063           segment. Prevents an assertion failure/abort playing some files.
16064
16065 2005-11-10  Andy Wingo  <wingo@pobox.com>
16066
16067         * check/gst/gstbin.c (test_message_state_changed_children): Style
16068         fix..
16069
16070         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
16071         gst_bus_poll with the signal watch. Ensures that poll and a signal
16072         watch see the same messages.
16073
16074         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
16075         a poll and a watch at the same time get the same messages.
16076
16077 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16078
16079         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
16080         * gst/gstcaps.c: (gst_caps_intersect):
16081           Don't call gst_caps_do_simplify - it doesn't respect order of caps
16082           and it's not needed.
16083
16084 2005-11-10  Wim Taymans  <wim@fluendo.com>
16085
16086         * docs/design/part-TODO.txt:
16087         Updated todo.
16088
16089 2005-11-10  Wim Taymans  <wim@fluendo.com>
16090
16091         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16092         * gst/base/gstbasesrc.c: (gst_base_src_wait),
16093         (gst_base_src_do_sync), (gst_base_src_get_range):
16094         Implement clock sync in base class.
16095
16096 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16097
16098         patch by: Tim-Philipp Müller <tim at centricular dot net>
16099
16100         * gst/gststructure.c: (gst_structure_parse_field),
16101         (gst_structure_from_string):
16102           Forward-port a 0.8 patch to handle escaped spaces in structure string,
16103           so that gst_parse_launch() can deal with spaces in filtered link
16104           caps (fixes #164479)
16105         * check/gst/capslist.h:
16106         * check/gst/gststructure.c: (GST_START_TEST):
16107           add unit tests for this change
16108
16109 2005-11-10  Wim Taymans  <wim@fluendo.com>
16110
16111         * docs/gst/gstreamer-sections.txt:
16112         * gst/gstelement.c:
16113         * gst/gstelement.h:
16114         Fix docs, move some STATE macros to private.
16115
16116 2005-11-10  Wim Taymans  <wim@fluendo.com>
16117
16118         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16119         Added check for bug #317341
16120
16121         * gst/gstbuffer.c:
16122         * gst/gstbuffer.h:
16123         Some more spiffifying.
16124
16125         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16126         Call peer linkfunction if we are a source pad. Totally fixes
16127         #317341
16128
16129         * gst/gstpad.c:
16130         Update docs, source pads should call the peer linkfunction
16131         so they can atomically perform the pad link.
16132
16133 2005-11-09  Wim Taymans  <wim@fluendo.com>
16134
16135         * gst/gstbuffer.c:
16136         * gst/gstbuffer.h:
16137         Uber-spiffy-spiffify some more.
16138
16139 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
16140
16141         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16142         * gst/elements/gstfilesink.c: (gst_file_sink_init):
16143         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16144         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16145         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16146         * gst/gstpad.c: (gst_pad_init):
16147           Use GST_DEBUG_FUNCPTR() more extensively.
16148
16149 2005-11-09  Wim Taymans  <wim@fluendo.com>
16150
16151         * gst/gstobject.c: (gst_object_class_init):
16152         * gst/gstobject.h:
16153         Documentation fixes.
16154
16155 2005-11-09  Edward Hervey  <edward@fluendo.com>
16156
16157         * gst/gsttypefindfactory.c:
16158         Fix docs.
16159         
16160 2005-11-09  Edward Hervey  <edward@fluendo.com>
16161
16162         * gst/base/gsttypefindhelper.c:
16163         * gst/gsttypefind.c:
16164         * gst/gsttypefind.h:
16165         Fix docs.
16166
16167 2005-11-09  Wim Taymans  <wim@fluendo.com>
16168
16169         * gst/gstiterator.c:
16170         Fix revision data.
16171
16172         * gst/gsttask.c:
16173         * gst/gsttask.h:
16174         Fix docs.
16175
16176 2005-11-09  Wim Taymans  <wim@fluendo.com>
16177
16178         * gst/gstevent.h:
16179         * gst/gsturi.h:
16180         Fix docs.
16181
16182 2005-11-09  Wim Taymans  <wim@fluendo.com>
16183
16184         * docs/gst/gstreamer-sections.txt:
16185         Moved the message async delivery private lock and cond
16186         to the private section.
16187
16188         * gst/gstmessage.c:
16189         * gst/gstmessage.h:
16190         Fixed docs.
16191
16192 2005-11-09  Edward Hervey  <edward@fluendo.com>
16193
16194         * docs/gst/gstreamer-sections.txt:
16195         * gst/gsturi.c:
16196         * gst/gsturi.h:
16197         Document GstURIHandler
16198
16199 2005-11-09  Wim Taymans  <wim@fluendo.com>
16200
16201         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16202         (gst_iterator_find_custom):
16203         * gst/gstiterator.h:
16204         Fix iterator docs.
16205
16206 2005-11-09  Wim Taymans  <wim@fluendo.com>
16207
16208         * gst/gstbin.h:
16209         Document another field.
16210
16211         * gst/gststructure.c:
16212         * gst/gststructure.h:
16213         Document.
16214
16215 2005-11-09  Wim Taymans  <wim@fluendo.com>
16216
16217         * gst/gstbin.h:
16218         Documented structs.
16219
16220 2005-11-09  Wim Taymans  <wim@fluendo.com>
16221
16222         * docs/gst/gstreamer-sections.txt:
16223         Added some new macros.
16224
16225         * gst/gstclock.c:
16226         * gst/gstclock.h:
16227         * gst/gstobject.h:
16228         Docs updates.
16229
16230 2005-11-09  Wim Taymans  <wim@fluendo.com>
16231
16232         * docs/design/part-TODO.txt:
16233         Some more items for the TODO
16234
16235         * gst/gstcaps.c:
16236         * gst/gstcaps.h:
16237         Document GstCaps.
16238
16239 2005-11-09  Andy Wingo  <wingo@pobox.com>
16240
16241         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16242         to work on something else now tho...
16243
16244         * gst/base/gstadapter.c: More adapter docs.
16245
16246         * gst/elements/gstfilesink.c (gst_file_sink_start) 
16247         (gst_file_sink_stop): New functions, replace the state change
16248         handler.
16249         (gst_file_sink_class_init): Hook up the start and stop functions.
16250         (gst_file_sink_base_init): Don't set the state change handler any
16251         more. It was a bit ugly too, being set from here...
16252         (gst_file_sink_get_property, gst_file_sink_set_property):
16253         Cleanups...
16254         (gst_file_sink_set_location): More robust check that doesn't call
16255         GST_STATE. Ugggggg.
16256
16257 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
16258
16259         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16260           Hold STREAM_LOCK while pushing newsegment or tag events as well.
16261
16262 2005-11-08  Wim Taymans  <wim@fluendo.com>
16263
16264         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16265         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16266         (gst_base_sink_chain), (gst_base_sink_change_state):
16267         * gst/base/gstbasesink.h:
16268         * gst/base/gstbasesrc.h:
16269         * gst/gstelement.h:
16270         * gst/gstevent.h:
16271         Avoid excessive typechecking in macros.
16272
16273         * gst/gstminiobject.c: (gst_mini_object_get_type),
16274         (gst_mini_object_init), (gst_mini_object_new),
16275         (gst_mini_object_free):
16276         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16277         (gst_object_finalize):
16278         Remove cruft code, optimize alloc_trace.
16279
16280 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16281
16282         * docs/faq/gst-uninstalled:
16283           fix up PS1 for systems that try to reset it
16284
16285 2005-11-07  Wim Taymans  <wim@fluendo.com>
16286
16287         * gst/base/gstbasesrc.c: (gst_base_src_init),
16288         (gst_base_src_get_range):
16289         Set the segment_end to -1 initially. Fixed typefind.
16290
16291 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
16292
16293         * gst/base/gstadapter.c:
16294           Debug category should be 'adapter', not 'GstAdapter'.
16295           
16296         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16297         (gst_collectpads_class_init), (gst_collectpads_init),
16298         (gst_collectpads_peek), (gst_collectpads_pop),
16299         (gst_collectpads_event), (gst_collectpads_chain):
16300           Add debug category and some debugging output. Use boilerplate
16301           macros. Remove some extraneous words from docs.
16302
16303 2005-11-05  Andy Wingo  <wingo@pobox.com>
16304
16305         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16306         macro.
16307
16308 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16309
16310         * docs/gst/gstreamer-sections.txt:
16311         * gst/gstcaps.h:
16312         * gst/gstinfo.c:
16313         * gst/gstminiobject.h:
16314         * gst/gstobject.h:
16315         * gst/gstutils.h:
16316           more docs added
16317
16318 2005-11-04  Wim Taymans  <wim@fluendo.com>
16319
16320         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16321         Small update to stop at the configured segment_end
16322         position.
16323
16324 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16325
16326         * gst/gstregistry.c:
16327         * gst/gstregistry.h:
16328           added missing docs
16329
16330 2005-11-04  Edward Hervey  <edward@fluendo.com>
16331
16332         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16333         Check if we are doing a segment seek and have arrived at the
16334         end of that segment.
16335
16336 2005-11-04  Wim Taymans  <wim@fluendo.com>
16337
16338         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16339         Don't leak a mutex unlock in case of an error.
16340
16341         * gst/gstbus.h:
16342         Doc fixes.
16343
16344 2005-11-04  Wim Taymans  <wim@fluendo.com>
16345
16346         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16347         (gst_bus_post):
16348         Get the context to wake up only once.
16349
16350 2005-11-03  Wim Taymans  <wim@fluendo.com>
16351
16352         * check/states/sinks.c: (GST_START_TEST):
16353         Uncomment fixed check.
16354
16355         * docs/design/part-TODO.txt:
16356         Updated TODO.
16357
16358         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16359         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16360         (gst_base_sink_get_position):
16361         If we are going to PLAYING, post the right pending state
16362         when we post the intermediate paused message.
16363
16364         * gst/gstelement.c: (gst_element_continue_state),
16365         (gst_element_set_state_func), (gst_element_change_state):
16366         Don't post state changes that were between the same state
16367         and were not ASYNC.
16368
16369 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16370
16371         * docs/gst/gstreamer-sections.txt:
16372         * gst/gstcaps.h:
16373         * gst/gstinfo.c:
16374         * gst/gstminiobject.h:
16375         * gst/gstobject.h:
16376         * gst/gstutils.h:
16377           more docs and doc style fixes
16378
16379 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16380
16381         * docs/gst/gstreamer-sections.txt:
16382         * gst/gstelement.c:
16383         * gst/gstminiobject.c:
16384         doc fixes
16385
16386 2005-11-03  Andy Wingo  <wingo@pobox.com>
16387
16388         * check/states/sinks.c (test_livesrc_sink): Add checks that the
16389         state-changed messages actually have the right order and the right
16390         values.
16391
16392 2005-11-03  Wim Taymans  <wim@fluendo.com>
16393
16394         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16395         Added some more checks. Specifically the case where NO_PREROLL
16396         elements are in the pipeline.
16397
16398         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16399         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16400         (gst_base_sink_get_position):
16401         Post READY->PAUSED state change messages too.
16402         Fix bug where VOID was posted as pending state...
16403
16404         * gst/gstbin.c: (gst_bin_recalc_state):
16405         use _element_continue_state() to continue the state change.
16406
16407         * gst/gstelement.c: (gst_element_continue_state),
16408         (gst_element_commit_state), (gst_element_set_state_func),
16409         (gst_element_change_state), (gst_element_change_state_func):
16410         Lots of state change cleanups, assign the STATE_RETURN in
16411         a new continue_state() function that also propagates the
16412         last return value from a state change to the app.
16413         Update some debug statements with proper category.
16414
16415 2005-11-03  Wim Taymans  <wim@fluendo.com>
16416
16417         * docs/design/part-events.txt:
16418         * docs/design/part-gstpipeline.txt:
16419         * docs/design/part-messages.txt:
16420         * docs/design/part-overview.txt:
16421         * docs/design/part-seeking.txt:
16422         * docs/design/part-states.txt:
16423         * docs/design/part-trickmodes.txt:
16424         * docs/manual/advanced-position.xml:
16425         Small docs updates.
16426
16427         * gst/gstobject.h:
16428         People think !! is ugly, this looks better.
16429
16430         * gst/gstpad.c: (gst_pad_set_blocked_async):
16431         Remove !! since it's fixed elsewhere now.
16432
16433 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16434
16435         * gst/gstminiobject.h:
16436         * gst/gstobject.h:
16437           Add !! to _FLAG_IS_SET macros to make the result boolean.
16438
16439 2005-11-03  Edward Hervey  <edward@fluendo.com>
16440
16441         * gst/gstpad.c: (gst_pad_set_blocked_async):
16442         comparing a flag and a gboolean rarely returns coherent results...
16443         Added two characters (!!) to make that work correctly.
16444         
16445 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16446
16447         * gst/gstbus.c: (gst_bus_class_init):
16448           Fix some typos.
16449           
16450         * gst/gstqueue.c: (gst_queue_loop):
16451           Don't assume a miniobject that isn't a buffer is an
16452           event (it could be that there is a refcounting
16453           problem somewhere and the pointer is stale and
16454           refers to an already destroyed miniobject).
16455
16456 2005-11-03  Julien MOUTTE  <julien@moutte.net>
16457
16458         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16459
16460 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16461
16462         * docs/manual/advanced-position.xml:
16463           Update seek example and explanations to current 0.9 API.
16464
16465         * gst/elements/gsttypefindelement.c:
16466         (gst_type_find_element_activate):
16467           Remove FIXME comment now that the found caps
16468           are unreffed.
16469
16470 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16471
16472         * gst/gstregistryxml.c: (load_feature):
16473           Add another GST_STR_NULL instance
16474
16475 2005-11-02  Edward Hervey  <edward@fluendo.com>
16476
16477         * gst/gstpad.c: (handle_pad_block):
16478         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16479         
16480 2005-11-02  Wim Taymans  <wim@fluendo.com>
16481
16482         * gst/gstbin.c:
16483         Fix typo in docs.
16484
16485         * gst/gstelement.c: (gst_element_commit_state):
16486         Remove unused value.
16487
16488         * gst/gstiterator.c:
16489         Mention that the returned element is reffed in the docs.
16490
16491 2005-11-02  Wim Taymans  <wim@fluendo.com>
16492
16493         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16494         (gst_pad_push), (gst_pad_push_event):
16495         Unlock blocked pads when they are flushed.
16496
16497 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16498
16499         * docs/README:
16500         * docs/gst/gstreamer-sections.txt:
16501         * gst/gstbin.c:
16502           doc updates
16503         * gst/gstregistry.c: (gst_registry_scan_path_level):
16504           fix for a nasty little missed situation where an installed plug-in
16505           which was in the cache did not get overridden by an uninstalled one
16506           which was earlier in the plugin path because the newly created plugin
16507           for the uninstalled one (not in the registry) didn't get its
16508           ->registered set to TRUE
16509
16510 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16511
16512         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16513         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16514         (gst_collectpads_is_active), (gst_collectpads_collect),
16515         (gst_collectpads_collect_range), (gst_collectpads_start),
16516         (gst_collectpads_stop), (gst_collectpads_peek),
16517         (gst_collectpads_pop), (gst_collectpads_available),
16518         (gst_collectpads_read), (gst_collectpads_flush):
16519           Guard public API with assertions.
16520         
16521         * gst/gstpad.c:
16522           Fix docs for gst_pad_set_link_function().
16523
16524 2005-11-02  Johan Dahlin  <johan@gnome.org>
16525
16526         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
16527         Unref found_caps after we used it.
16528
16529 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16530
16531         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16532           Don't try to ref NULL.
16533
16534 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16535
16536         * win32/common/config.h.in:
16537           provide a GST_FUNCTION that just gives a string for now
16538
16539 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16540
16541         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16542         (gst_object_flags_get_type), (register_gst_bin_flags),
16543         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16544         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16545         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16546         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16547         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16548         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16549         (gst_clock_flags_get_type), (register_gst_state),
16550         (gst_state_get_type), (register_gst_state_change_return),
16551         (gst_state_change_return_get_type), (register_gst_state_change),
16552         (gst_state_change_get_type), (register_gst_element_flags),
16553         (gst_element_flags_get_type), (register_gst_core_error),
16554         (gst_core_error_get_type), (register_gst_library_error),
16555         (gst_library_error_get_type), (register_gst_resource_error),
16556         (gst_resource_error_get_type), (register_gst_stream_error),
16557         (gst_stream_error_get_type), (register_gst_event_type),
16558         (gst_event_type_get_type), (register_gst_seek_type),
16559         (gst_seek_type_get_type), (register_gst_seek_flags),
16560         (gst_seek_flags_get_type), (register_gst_format),
16561         (gst_format_get_type), (register_gst_index_certainty),
16562         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16563         (gst_index_entry_type_get_type),
16564         (register_gst_index_lookup_method),
16565         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16566         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16567         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16568         (gst_index_flags_get_type), (register_gst_debug_level),
16569         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16570         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16571         (gst_iterator_result_get_type), (register_gst_iterator_item),
16572         (gst_iterator_item_get_type), (register_gst_message_type),
16573         (gst_message_type_get_type), (register_gst_mini_object_flags),
16574         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16575         (gst_pad_link_return_get_type), (register_gst_flow_return),
16576         (gst_flow_return_get_type), (register_gst_activate_mode),
16577         (gst_activate_mode_get_type), (register_gst_pad_direction),
16578         (gst_pad_direction_get_type), (register_gst_pad_flags),
16579         (gst_pad_flags_get_type), (register_gst_pad_presence),
16580         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16581         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16582         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16583         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16584         (gst_plugin_flags_get_type), (register_gst_rank),
16585         (gst_rank_get_type), (register_gst_query_type),
16586         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16587         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16588         (gst_tag_flag_get_type), (register_gst_task_state),
16589         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16590         (gst_alloc_trace_flags_get_type),
16591         (register_gst_type_find_probability),
16592         (gst_type_find_probability_get_type), (register_gst_uri_type),
16593         (gst_uri_type_get_type), (register_gst_parse_error),
16594         (gst_parse_error_get_type):
16595         * win32/common/gstversion.h:
16596           update win32 copies
16597
16598 2005-11-01  Luca Ognibene  <luogni@tin.it>
16599
16600         * gst/gst.c:
16601           fix docs. popt is dead, long live GOption.
16602
16603 2005-10-31  Wim Taymans  <wim@fluendo.com>
16604
16605         * gst/gstbuffer.h:
16606         Small doc fix.
16607
16608 2005-10-31  Andy Wingo  <wingo@pobox.com>
16609
16610         * Boo!
16611
16612         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16613
16614         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16615         need to serialize property notifications on GLib 2.8. GLib 2.6 has
16616         the possibility of deadlocks here if code calling notify() or
16617         set() has a lock that can be taken in another notify handler (ABBA
16618         with class lock and e.g. python GIL state lock).
16619
16620 2005-10-28  Julien MOUTTE  <julien@moutte.net>
16621
16622         * gst/gstbus.c: Doc updates.
16623
16624 2005-10-28  Wim Taymans  <wim@fluendo.com>
16625
16626         * docs/design/part-TODO.txt:
16627         * gst/gstiterator.c:
16628         * gst/gstsystemclock.c:
16629         * gst/gstsystemclock.h:
16630         Doc updates.
16631
16632 2005-10-28  Edward Hervey  <edward@fluendo.com>
16633
16634         * docs/gst/gstreamer-docs.sgml:
16635         * docs/gst/gstreamer-sections.txt:
16636         the GstURIType documentation page is private, it only defines GstURIType
16637         which should be defined in the GstURIHandler page
16638         
16639 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16640
16641         * gst/gstbin.c: (gst_bin_class_init):
16642         * gst/gstbin.h:
16643         * gst/gstutils.c:
16644         Documentation updates.
16645
16646 2005-10-28  Wim Taymans  <wim@fluendo.com>
16647
16648         * docs/gst/gstreamer-sections.txt:
16649         * gst/gstclock.c:
16650         * gst/gstclock.h:
16651         Documented the clocks.
16652
16653 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
16654
16655         * docs/gst/gstreamer-sections.txt:
16656           move some macros to private sections
16657         * gst/gstminiobject.c:
16658         * gst/gstminiobject.h:
16659           add descriptions provided by ds and some more
16660         * gst/gstpad.h:
16661           mark macro as to be removed
16662
16663 2005-10-28  Wim Taymans  <wim@fluendo.com>
16664
16665         * docs/design/part-TODO.txt:
16666         Add an item to TODO.
16667
16668         * gst/gstiterator.c: (gst_iterator_fold),
16669         (gst_iterator_find_custom):
16670         * gst/gstiterator.h:
16671         Add iterator docs.
16672
16673 2005-10-28  Wim Taymans  <wim@fluendo.com>
16674
16675         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16676         (gst_base_transform_init):
16677         Don't leak class.
16678
16679         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16680         An EOS event marks the queue as completely filled.
16681
16682 2005-10-27  Wim Taymans  <wim@fluendo.com>
16683
16684         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16685         (gst_base_sink_do_sync), (gst_base_sink_get_position):
16686         Some more debugging.
16687
16688         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16689         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16690         (gst_base_transform_event), (gst_base_transform_getrange),
16691         (gst_base_transform_chain):
16692         * gst/base/gstbasetransform.h:
16693         Fix debugging,
16694         Protect transform and concurrent buffer alloc with a new lock.
16695         Try not to break ABI/API.
16696
16697 2005-10-27  Wim Taymans  <wim@fluendo.com>
16698
16699         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16700         (gst_base_src_init), (gst_base_src_query),
16701         (gst_base_src_default_newsegment),
16702         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16703         (gst_base_src_send_event), (gst_base_src_event_handler),
16704         (gst_base_src_pad_get_range), (gst_base_src_loop),
16705         (gst_base_src_unlock), (gst_base_src_default_negotiate),
16706         (gst_base_src_start), (gst_base_src_deactivate),
16707         (gst_base_src_activate_push), (gst_base_src_change_state):
16708         Move some stuff around and cleanup things.
16709
16710 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
16711
16712         * gst/base/gstbasesrc.c: (gst_base_src_query):
16713           Add missing break statements.
16714
16715 2005-10-27  Wim Taymans  <wim@fluendo.com>
16716
16717         * check/gst/gstbin.c: (GST_START_TEST):
16718         An extra refcount is taken in basesrc.
16719
16720         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16721         (gst_base_src_get_range), (gst_base_src_pad_get_range),
16722         (gst_base_src_loop):
16723         Small cleanups, check for flushing after being unlocked from the 
16724         LIVE_LOCK. take refcounts correctly (not yet everywhere).
16725         Don't send out EOS when going to READY.
16726
16727 2005-10-27  Wim Taymans  <wim@fluendo.com>
16728
16729         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16730         (gst_base_sink_get_position):
16731         Some more debug.
16732
16733         * gst/gstbin.c: (message_check), (bin_replace_message),
16734         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16735         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16736         (bin_query_duration_init), (bin_query_duration_fold),
16737         (bin_query_duration_done), (bin_query_generic_fold),
16738         (gst_bin_query):
16739         * tools/gst-launch.c: (main):
16740         Remove old option.
16741
16742 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
16743
16744         * examples/controller/audio-example.c: (main):
16745         * examples/queue/queue.c: (event_loop):
16746         * gst/base/gstbasetransform.h:
16747         * gst/gstelement.c: (gst_element_send_event):
16748         * gst/gstevent.h:
16749         * gst/gstpad.c: (gst_pad_send_event):
16750           fixing examples
16751           fixing docs typos
16752           changing log priority in error situations
16753
16754 2005-10-25  Wim Taymans  <wim@fluendo.com>
16755
16756         * gst/gstbin.c: (message_check), (bin_replace_message),
16757         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16758         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16759         (bin_query_duration_init), (bin_query_duration_fold),
16760         (bin_query_duration_done), (bin_query_generic_fold),
16761         (gst_bin_query):
16762         Some doc and debug updates.
16763         Cache previously requested query DURATION for speed. invalidate
16764         cached duration if element posts a DURATION message.
16765
16766 2005-10-25  Wim Taymans  <wim@fluendo.com>
16767
16768         * docs/design/part-TODO.txt:
16769         Update TODO.
16770
16771         * gst/gstbin.c: (message_check), (bin_replace_message),
16772         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16773         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16774         (bin_query_duration_init), (bin_query_duration_fold),
16775         (bin_query_duration_done), (bin_query_generic_fold),
16776         (gst_bin_query):
16777         Handle SEGMENT_START/DONE messages correctly.
16778         More evolved query algorithm that handles duration queries
16779         correctly.
16780
16781         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16782         (gst_element_get_state_func), (gst_element_abort_state),
16783         (gst_element_commit_state), (gst_element_lost_state):
16784         Some more debugging.
16785
16786         * gst/gstmessage.h:
16787         Added doc.
16788
16789 2005-10-25  Wim Taymans  <wim@fluendo.com>
16790
16791         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16792         Don't use invalid stream_time.
16793
16794         * gst/gstevent.c: (gst_event_new_newsegment):
16795         stream_time in newsegment cannot be undefined.
16796
16797 2005-10-24  Wim Taymans  <wim@fluendo.com>
16798
16799         * gst/gstbus.c:
16800         Doc fix.
16801
16802         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16803         (gst_queue_loop):
16804         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16805
16806 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
16807
16808         * docs/libs/tmpl/gstdparam.sgml:
16809         * docs/libs/tmpl/gstdplinint.sgml:
16810         * docs/libs/tmpl/gstdpman.sgml:
16811         * docs/libs/tmpl/gstdpsmooth.sgml:
16812         * docs/libs/tmpl/gstunitconvert.sgml:
16813           these are obsolete
16814
16815 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16816
16817         * configure.ac:
16818           back to HEAD
16819
16820 === release 0.9.4 ===
16821
16822 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16823
16824         * configure.ac:
16825           releasing 0.9.4, "Tyrannosaurus Rex"
16826
16827 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
16828
16829         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16830         (gst_file_sink_get_current_offset):
16831           Use fseeko() and ftello() if available. When falling back on
16832           lseek() to get the current offset, fflush() first to make sure
16833           everything is up-to-date and we get the right offset.
16834
16835 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16836
16837         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16838         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16839         * gst/gsterror.c: (_gst_stream_errors_init):
16840         * gst/gsterror.h:
16841         * gst/gstqueue.c: (gst_queue_loop):
16842         * po/POTFILES.in:
16843           remove prematurely added error category and clean up the instances
16844
16845 2005-10-21  Wim Taymans  <wim@fluendo.com>
16846
16847         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16848         (gst_base_sink_get_position), (gst_base_sink_query),
16849         (gst_base_sink_change_state):
16850         Simply set the right flag when going to playing, that's all
16851         we need to do instead of calling a function inside the object
16852         lock (that could take the lock as well and deadlock)
16853
16854 2005-10-21  Wim Taymans  <wim@fluendo.com>
16855
16856         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16857         (gst_base_src_loop):
16858         Don't warn, the peer element knows what to do best when
16859         the seek failed, it might try something else.
16860
16861 2005-10-21  Wim Taymans  <wim@fluendo.com>
16862
16863         * gst/base/gstbasesrc.c: (gst_base_src_init),
16864         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16865         Fix seeking.
16866
16867 2005-10-21  Wim Taymans  <wim@fluendo.com>
16868
16869         * docs/design/part-segments.txt:
16870         More docs.
16871
16872         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16873         Correctly set caps, even on the subbufer.
16874
16875 2005-10-21  Wim Taymans  <wim@fluendo.com>
16876
16877         * docs/gst/gstreamer-docs.sgml:
16878         * docs/gst/gstreamer-sections.txt:
16879         * gst/gstelement.h:
16880         * gst/gstevent.c:
16881         * gst/gstevent.h:
16882         * gst/gstmessage.h:
16883         * gst/gstpad.h:
16884         * gst/gstparse.h:
16885         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16886         * gst/gsttask.h:
16887         * gst/gstutils.c:
16888         * gst/gstutils.h:
16889         And 2% more doc coverage.
16890
16891 2005-10-21  Andy Wingo  <wingo@pobox.com>
16892
16893         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16894         position reporting.
16895
16896 2005-10-20  Wim Taymans  <wim@fluendo.com>
16897
16898         * gst/gsterror.c: (gst_error_get_message):
16899         * gst/gstparse.h:
16900         * gst/gstquery.h:
16901         * gst/gststructure.c:
16902         * gst/gsttrace.c:
16903         * gst/gstutils.c:
16904         More docs.
16905
16906 2005-10-20  Wim Taymans  <wim@fluendo.com>
16907
16908         * gst/gstbuffer.h:
16909         * gst/gstpad.c:
16910         * gst/gstparse.c:
16911         Another 1% more coverage.
16912
16913 2005-10-20  Wim Taymans  <wim@fluendo.com>
16914
16915         * docs/gst/gstreamer-sections.txt:
16916         * gst/gstelement.c: (gst_element_get_state_func),
16917         (gst_element_abort_state), (gst_element_commit_state),
16918         (gst_element_lost_state):
16919         * gst/gstevent.h:
16920         * gst/gstquery.c: (gst_query_set_position),
16921         (gst_query_parse_position), (gst_query_set_duration),
16922         (gst_query_parse_duration), (gst_query_new_convert):
16923         * gst/gstutils.c:
16924         Yay! 1% more docs coverage.
16925
16926 2005-10-20  Wim Taymans  <wim@fluendo.com>
16927
16928         * gst/gstpad.h:
16929         * gst/gstquery.c: (gst_query_set_position),
16930         (gst_query_parse_position), (gst_query_set_duration),
16931         (gst_query_parse_duration), (gst_query_new_convert):
16932         * gst/gstquery.h:
16933         * gst/gstutils.c: (gst_element_query_convert):
16934         * gst/gstutils.h:
16935         Docs and consistency fixes.
16936
16937 2005-10-20  Wim Taymans  <wim@fluendo.com>
16938
16939         * gst/gsttask.c:
16940         * gst/gsttask.h:
16941         More docs.
16942
16943 2005-10-20  Wim Taymans  <wim@fluendo.com>
16944
16945         * gst/gstbin.c: (message_check), (bin_replace_message),
16946         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16947         (update_degree), (gst_bin_sort_iterator_next),
16948         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16949         Reworked the message handling a bit, cache the messages instead of
16950         only the senders. alows us to do more in the future.
16951
16952 2005-10-20  Wim Taymans  <wim@fluendo.com>
16953
16954         * docs/design/part-TODO.txt:
16955         Update TODO
16956
16957         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16958         (gst_base_sink_query):
16959         Don't use clock time to report position when in EOS.
16960
16961 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
16962
16963         * tools/gst-inspect.c: (print_interfaces),
16964         (print_element_properties_info), (print_element_info):
16965           Fix interface output with gst-inspect -a; don't print
16966           newlines after double/float properties.
16967
16968 2005-10-20  Wim Taymans  <wim@fluendo.com>
16969
16970         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16971         (gst_base_sink_query):
16972         Speed up current position calculation.
16973
16974         * gst/base/gstbasesrc.c: (gst_base_src_query),
16975         (gst_base_src_default_newsegment):
16976         Correctly set stream position in newsegment.
16977
16978         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16979         (update_degree), (gst_bin_sort_iterator_next),
16980         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16981         * gst/gstmessage.c: (gst_message_new_custom):
16982         Clean up debugging info
16983
16984         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16985         (gst_queue_loop), (gst_queue_handle_src_query):
16986         Pause task faster.
16987
16988 2005-10-19  Wim Taymans  <wim@fluendo.com>
16989
16990         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16991         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16992         Fix query handling again.
16993
16994 2005-10-19  Wim Taymans  <wim@fluendo.com>
16995
16996         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16997         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16998         * gst/base/gstbasesrc.c: (gst_base_src_query):
16999         * gst/elements/gstfilesink.c: (gst_file_sink_query):
17000         * gst/elements/gsttypefindelement.c:
17001         (gst_type_find_handle_src_query), (find_element_get_length),
17002         (gst_type_find_element_activate):
17003         API change fix.
17004
17005         * gst/gstquery.c: (gst_query_new_position),
17006         (gst_query_set_position), (gst_query_parse_position),
17007         (gst_query_new_duration), (gst_query_set_duration),
17008         (gst_query_parse_duration), (gst_query_set_segment),
17009         (gst_query_parse_segment):
17010         * gst/gstquery.h:
17011         Bundling query position/duration is not a good idea since duration
17012         does not change much and we don't want to recalculate it for every
17013         position query, so they are separated again..
17014         Base value in segment query is not needed.
17015
17016         * gst/gstqueue.c: (gst_queue_handle_src_query):
17017         * gst/gstutils.c: (gst_element_query_position),
17018         (gst_element_query_duration), (gst_pad_query_position),
17019         (gst_pad_query_duration):
17020         * gst/gstutils.h:
17021         Updates for query API change.
17022         Added some docs here and there.
17023
17024 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17025
17026         * check/gst/gstbin.c: (GST_START_TEST):
17027         * check/gst/gstghostpad.c: (GST_START_TEST):
17028         * check/pipelines/cleanup.c: (GST_START_TEST):
17029           wait on thread to die so we can check refcount correctly
17030
17031 2005-10-18  Wim Taymans  <wim@fluendo.com>
17032
17033         * check/pipelines/stress.c: (GST_START_TEST):
17034         Make check a little more time consuming.
17035
17036 2005-10-18  Wim Taymans  <wim@fluendo.com>
17037
17038         * check/Makefile.am:
17039         * check/pipelines/stress.c: (GST_START_TEST),
17040         (simple_launch_lines_suite), (main):
17041         Small state change torture test.
17042
17043         * docs/design/part-states.txt:
17044         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17045         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
17046         (gst_base_sink_change_state):
17047         Never take state lock from streaming thread, clean up ugly
17048         hacks. Unfortunatly core does not yet support nice ways to
17049         async commit state.
17050         
17051         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
17052         (bin_bus_handler):
17053         Start state recalc if a STATE_DIRTY message is posted, but only
17054         on the toplevel bin.
17055
17056         * gst/gstelement.c: (gst_element_sync_state_with_parent),
17057         (gst_element_get_state_func), (gst_element_abort_state),
17058         (gst_element_commit_state), (gst_element_lost_state),
17059         (gst_element_set_state_func), (gst_element_change_state):
17060         * gst/gstelement.h:
17061         State variables are now protected with the LOCK, the state
17062         lock is only used to serialize _set_state().
17063
17064 2005-10-18  Wim Taymans  <wim@fluendo.com>
17065
17066         * check/gst/gstbin.c: (GST_START_TEST):
17067         * check/gst/gstmessage.c: (GST_START_TEST):
17068         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17069         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
17070         (bin_bus_handler):
17071         * gst/gstelement.c: (gst_element_abort_state),
17072         (gst_element_commit_state), (gst_element_lost_state):
17073         * gst/gstmessage.c: (gst_message_new_state_changed),
17074         (gst_message_new_state_dirty), (gst_message_new_segment_start),
17075         (gst_message_new_segment_done), (gst_message_new_duration),
17076         (gst_message_parse_state_changed),
17077         (gst_message_parse_segment_start),
17078         (gst_message_parse_segment_done), (gst_message_parse_duration):
17079         * gst/gstmessage.h:
17080         * tools/gst-launch.c: (event_loop):
17081         Seriously, this is better than a previous commit as we only need
17082         to notify the fact that an element changed state in a streaming
17083         thread, marking the state of the parents dirty, hence the 
17084         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
17085         message.
17086
17087 2005-10-18  Wim Taymans  <wim@fluendo.com>
17088
17089         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
17090         (gst_bin_recalc_func):
17091         * gst/gstelement.c: (gst_element_set_clock),
17092         (gst_element_abort_state), (gst_element_lost_state):
17093         Cleanups, prepare for state change fixes.
17094
17095 2005-10-18  Wim Taymans  <wim@fluendo.com>
17096
17097         * gst/gstbin.h:
17098         * gst/gstelement.c: (gst_element_class_init),
17099         (gst_element_set_state), (gst_element_set_state_func):
17100         * gst/gstelement.h:
17101         Pending ABI changes.
17102         GThreadPool in GstBinClass to monitor async state changes.
17103         state_cookie in GstElement to detect concurrent gst/set state.
17104         set_state is now virtual too in case a very complicated element
17105         has to be constructed.
17106
17107 2005-10-18  Wim Taymans  <wim@fluendo.com>
17108
17109         * check/gst/gstbin.c: (GST_START_TEST):
17110         * check/gst/gstmessage.c: (GST_START_TEST):
17111         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17112         * gst/gstbin.c: (bin_bus_handler):
17113         * gst/gstelement.c: (gst_element_commit_state),
17114         (gst_element_lost_state):
17115         * gst/gstmessage.c: (gst_message_new_state_changed),
17116         (gst_message_new_segment_start), (gst_message_new_segment_done),
17117         (gst_message_new_duration), (gst_message_parse_state_changed),
17118         (gst_message_parse_segment_start),
17119         (gst_message_parse_segment_done), (gst_message_parse_duration):
17120         * gst/gstmessage.h:
17121         * tools/gst-launch.c: (event_loop):
17122         Make messages future proof.
17123         state-change gets a flag if it was a message comming from the
17124         streaming thread.
17125         segment-start/stop can also be specified in other formats.
17126         A message to notify an app that a pipeline changed playback 
17127         duration.
17128         Also fix a GstMessage leak in -launch
17129
17130 2005-10-18  Andy Wingo  <wingo@pobox.com>
17131
17132         * gst/gstelement.c (gst_element_dispose): More helpful message.
17133
17134 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17135
17136         reviewed by: <delete if not using a buddy>
17137
17138         * common/gtk-doc.mak:
17139
17140 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17141
17142         * gst/gstregistry.c: (gst_registry_scan_path_level):
17143           unref a plug-in we get that was already initialized
17144
17145 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
17146
17147         * docs/gst/gstreamer-sections.txt:
17148         * docs/libs/gstreamer-libs-sections.txt:
17149         * gst/gstelement.h:
17150           add new api entries
17151           hide internal macro
17152
17153 2005-10-17  Andy Wingo  <wingo@pobox.com>
17154
17155         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17156         cleanup.
17157
17158         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17159
17160         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17161
17162         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17163         (gst_element_get_state_func): Better debug message.
17164         (gst_element_commit_state): s/INFO/DEBUG/.
17165         (gst_element_lost_state, gst_element_change_state): 
17166
17167         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17168         (gst_message_new_custom): s/INFO/LOG/.
17169
17170 2005-10-17  Michael Smith <msmith@fluendo.com>
17171
17172         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17173           Check if end time is valid using end time, not start time.
17174
17175 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
17176
17177         * check/gst-libs/controller.c: (GST_START_TEST),
17178         (gst_controller_suite):
17179         * libs/gst/controller/gstcontroller.c:
17180         (gst_controlled_property_set_interpolation_mode):
17181         * libs/gst/controller/gstcontroller.h:
17182         * libs/gst/controller/gstinterpolation.c:
17183         * testsuite/controller/.cvsignore:
17184         * testsuite/controller/Makefile.am:
17185         * testsuite/controller/interpolator.c:
17186           merge controller testsuites
17187           fix broken tests
17188           remove mem-chunk from docs
17189
17190 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17191
17192         * gst/gstmemchunk.c:
17193         * gst/gstmemchunk.h:
17194         * gst/gsttrashstack.c:
17195         * gst/gsttrashstack.h:
17196           out.  get out.  you're fired.  to the Attic !
17197
17198 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17199
17200         * gst/gstcaps.c: (gst_caps_intersect):
17201           fix signedness issues in a (hopefully) correct way
17202         * gst/gstelement.c: (gst_element_pads_activate):
17203           some debugging
17204         * gst/gstobject.c: (gst_object_set_parent):
17205           some debugging
17206
17207 2005-10-17  Julien MOUTTE  <julien@moutte.net>
17208
17209         * gst/gstvalue.h: Fix prototypes.
17210
17211 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17212
17213         * docs/gst/gstreamer-sections.txt:
17214         * gst/gst.c: (gst_version_string):
17215         * gst/gst.h:
17216         * gst/gstversion.h.in:
17217         * win32/common/libgstreamer.def:
17218           add gst_version_string ()
17219
17220 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17221
17222         * configure.ac:
17223           clean up further
17224         * gst/gst.c: (init_post):
17225         * win32/common/config.h.in:
17226           it's PLUGINDIR now
17227         * gst/gstcaps.c: (gst_caps_intersect):
17228           use gint64, the range could be bigger than a guint
17229
17230 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17231
17232         * gst/gstclock.h:
17233           document potential problem in 2038
17234
17235 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17236
17237         * gst/gstcaps.c: (gst_caps_intersect):
17238           Fix guint j diving under 0
17239
17240 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17241
17242         * configure.ac:
17243         * win32/common/config.h:
17244         * win32/common/config.h.in:
17245           check for process.h, declares getpid() on Windows
17246         * gst/gstinfo.c:
17247           include process.h if we have it
17248         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17249         * gst/gstmemchunk.h:
17250           fix signedness issues
17251         * win32/common/libgstreamer.def:
17252           fix get_type's
17253
17254 2005-10-16  Julien MOUTTE  <julien@moutte.net>
17255
17256         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17257         fix. Because of unsigned ints, caps intersection was going nuts and
17258         trying to access structures with G_MAXUINT index. That fixes
17259         videotestsrc ! ffmpegcolorspace ! fakesink
17260         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17261         consistency.
17262
17263 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17264
17265         * configure.ac:
17266           use the gettext macro
17267         * gst/elements/gstelements.c:
17268         * gst/gst.c:
17269         * gst/indexers/gstindexers.c:
17270           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17271         * win32/common/config.h:
17272           updated config.h
17273         * win32/common/config.h.in:
17274           add the template to generate config.h
17275         * win32/common/gstenumtypes.c:
17276         * win32/common/gstversion.h:
17277           updated copies
17278
17279 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17280
17281         * gst/gst.c: (gst_version):
17282         * gst/gstversion.h.in:
17283           add the nano
17284
17285 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17286
17287         * gst/gstevent.h:
17288           Oops, add missing closing bracket.
17289
17290 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17291
17292         * configure.ac:
17293           use common m4's for argument checking
17294
17295 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17296
17297         * docs/gst/gstreamer-sections.txt:
17298         * gst/gstevent.h:
17299           Add GST_EVENT_TYPE_NAME() macro.
17300
17301 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17302
17303         * gst/gstinfo.c:
17304         * gst/gstpluginfeature.c:
17305         * gst/gsttask.c:
17306           privatize more symbols
17307
17308 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17309
17310         * configure.ac:
17311           add srcdir, builddir includes to GST_ALL_CFLAGS, since
17312           everything that uses GStreamer API should have the includes
17313
17314 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17315
17316         * docs/gst/gstreamer-sections.txt:
17317         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17318         * gst/gstvalue.h:
17319           give each value a _get_type, removes the DATA exports
17320
17321 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17322
17323         * gst/gst.c:
17324         * gst/gst.h:
17325           remove _gst_registry_auto_load, not used anymore
17326         * gst/gstbin.c: (gst_bin_get_type):
17327         * gst/gstbin.h:
17328         * gst/gstelement.c: (gst_element_get_type):
17329         * gst/gstelement.h:
17330         * gst/gstobject.c: (gst_object_get_type):
17331         * gst/gstobject.h:
17332         * gst/gstpad.c: (gst_pad_get_type):
17333         * gst/gstpad.h:
17334           make _get_type functions similar, fixes data export from library
17335
17336 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17337
17338         * configure.ac:
17339           correctly make conditionals
17340         * gst/elements/Makefile.am:
17341         * gst/elements/gstelements.c:
17342           fix typo causing fdsrc not to build
17343
17344 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17345
17346         * testsuite/Makefile.am:
17347         * testsuite/bytestream/.cvsignore:
17348         * testsuite/bytestream/Makefile.am:
17349         * testsuite/bytestream/filepadsink.c:
17350         * testsuite/bytestream/gstbstest.c:
17351         * testsuite/bytestream/test1.c:
17352         * testsuite/bytestream/testfile1:
17353         * testsuite/caps/normalisation.c:
17354         * testsuite/caps/random.c: (main):
17355         * testsuite/cleanup/.cvsignore:
17356         * testsuite/cleanup/Makefile.am:
17357         * testsuite/cleanup/cleanup1.c:
17358         * testsuite/cleanup/cleanup2.c:
17359         * testsuite/cleanup/cleanup3.c:
17360         * testsuite/cleanup/cleanup4.c:
17361         * testsuite/cleanup/cleanup5.c:
17362         * testsuite/controller/interpolator.c:
17363         * testsuite/debug/printf_extension.c: (main):
17364         * testsuite/elements/tee.c:
17365         * testsuite/negotiation/.cvsignore:
17366         * testsuite/negotiation/Makefile.am:
17367         * testsuite/negotiation/pad_link.c:
17368         * testsuite/pad/Makefile.am:
17369         * testsuite/pad/chainnopull.c:
17370         * testsuite/pad/getnopush.c:
17371         * testsuite/pad/link.c:
17372         * testsuite/refcounting/sched.c: (create_pipeline):
17373         * testsuite/registry/Makefile.am:
17374         * testsuite/registry/gst-print-formats.c:
17375         * testsuite/schedulers/.cvsignore:
17376         * testsuite/schedulers/142183-2.c:
17377         * testsuite/schedulers/142183.c:
17378         * testsuite/schedulers/143777-2.c:
17379         * testsuite/schedulers/143777.c:
17380         * testsuite/schedulers/147713.c:
17381         * testsuite/schedulers/147819.c:
17382         * testsuite/schedulers/147894-2.c:
17383         * testsuite/schedulers/147894.c:
17384         * testsuite/schedulers/Makefile.am:
17385         * testsuite/schedulers/group_link.c:
17386         * testsuite/schedulers/queue_link.c:
17387         * testsuite/schedulers/relink.c:
17388         * testsuite/schedulers/unlink.c:
17389         * testsuite/schedulers/unref.c:
17390         * testsuite/schedulers/useless_iteration.c:
17391         * testsuite/states/bin.c:
17392           clean out/remove some stuff from the testsuite directories
17393
17394 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17395
17396         * configure.ac:
17397           check for some headers
17398         * gst/elements/Makefile.am:
17399         * gst/elements/gstelements.c:
17400           don't compile fdsrc without sys/socket.h
17401         * gst/indexers/Makefile.am:
17402         * gst/indexers/gstindexers.c: (plugin_init):
17403           don't compile fileindex without mmap
17404
17405 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17406
17407         * configure.ac:
17408           reorganize
17409           clean up
17410           document more
17411           remove cruft
17412         * check/Makefile.am:
17413         * docs/gst/Makefile.am:
17414         * examples/helloworld/Makefile.am:
17415         * gst/Makefile.am:
17416         * gst/base/Makefile.am:
17417         * gst/check/Makefile.am:
17418         * gst/elements/Makefile.am:
17419         * gst/indexers/Makefile.am:
17420         * gst/parse/Makefile.am:
17421         * libs/gst/controller/Makefile.am:
17422         * libs/gst/dataprotocol/Makefile.am:
17423         * examples/helloworld/helloworld.c: (event_loop):
17424           compile fixes, though it's not being compiled currently
17425
17426 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17427
17428         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17429           Add some simple tests for the new taglist date API.
17430
17431 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17432
17433         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17434         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17435           Beautify 'last-message' output: print 'none' for buffer timestamps
17436           and durations if none is set; improve alignment with next messages.
17437
17438 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17439
17440         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17441         * gst/gstpluginfeature.h:
17442         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17443         * gst/gstregistry.h:
17444         * docs/gst/gstreamer-sections.txt:
17445           Add new API to check plugin feature version requirements.
17446
17447         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17448           Some basic tests for the above.         
17449
17450 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17451
17452         * gst/gststructure.c: (gst_structure_to_string):
17453           guard against NULL printf - happens when for example
17454           a message structure with GstClock gets serialized
17455
17456 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17457
17458         * gst/base/gstcollectpads.c: (gst_collectpads_event):
17459           Fix presumable copy'n'pasto.
17460
17461 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17462
17463         * gst/elements/gstfakesrc.h:
17464         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17465         * gst/elements/gsttypefindelement.c:
17466           fix some signedness
17467         * gst/elements/gstfilesink.c: (gst_file_sink_render):
17468           I wonder if this could actually write +2GB files before
17469
17470 2005-10-13  Andy Wingo  <wingo@pobox.com>
17471
17472         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17473         Fix Timmeke Waymans bug.
17474         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17475         string of the proper length to gst_caps_from_string. There's a
17476         potential for, before this fix, that this could cause someone
17477         connecting over the network to cause a segfault if the payload is
17478         not NUL-terminated.
17479
17480 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17481
17482         * docs/design/draft-push-pull.txt:
17483         * docs/design/part-overview.txt:
17484         * docs/random/TODO-pre-0.9:
17485         * docs/random/old/ChangeLog.gstreamer:
17486         * gst/base/gstpushsrc.c:
17487         * gst/gstclock.c:
17488           fixed typos
17489
17490 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17491
17492         * gst/glib-compat.c: (gst_flags_get_first_value):
17493         * gst/glib-compat.h:
17494         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17495         (gst_value_compare_double), (gst_value_serialize_flags):
17496           GLib 2.6 g_flags_get_first_value has a bug that triggers an
17497           infinite loop
17498
17499 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17500
17501         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17502         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17503           fix up debugging
17504         * tools/gst-launch.c: (event_loop):
17505           print out clock nicely
17506
17507 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17508
17509         * docs/gst/gstreamer-sections.txt:
17510         * gst/gsttaglist.h:
17511         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17512         (gst_tag_list_get_date_index):
17513           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17514           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17515
17516 2005-10-13  Julien MOUTTE  <julien@moutte.net>
17517
17518         * gst/base/gstcollectpads.c: (gst_collectpads_event),
17519         (gst_collectpads_chain):
17520         * gst/base/gstcollectpads.h: Handle newsegment and store informations
17521         in CollectData.
17522
17523 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17524
17525         * docs/gst/gstreamer-sections.txt:
17526         * gst/gst.c:
17527         * gst/gsterror.h:
17528         * tools/gst-inspect.c: (main):
17529         * tools/gst-launch.c: (main):
17530         * tools/gst-run.c: (main):
17531         * tools/gst-xmlinspect.c: (main):
17532           fix GOption context leaks
17533           doc fixes
17534
17535 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17536
17537         * gst/gstbus.c:
17538           use HAVE_UNISTD_H
17539         * win32/common/config.h:
17540           update config
17541         * win32/vs6/grammar.dsp:
17542         * win32/vs6/libgstelements.dsp:
17543         * win32/vs6/libgstreamer.dsp:
17544           update vs6 files
17545
17546 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17547
17548         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17549         * gst/base/gstbasesrc.c: (gst_base_src_query):
17550           fix more guint64<->gdouble conversions
17551
17552 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17553
17554         * Makefile.am:
17555           add win32-update target
17556         * win32/common/gstconfig.h:
17557         * win32/common/gstenumtypes.c:
17558         * win32/common/gstenumtypes.h:
17559         * win32/common/gstversion.h:
17560           add files that visual studio can't generate
17561
17562 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17563
17564         * Makefile.am:
17565           add a win32-update target
17566         * configure.ac:
17567
17568 2005-10-12  Wim Taymans  <wim@fluendo.com>
17569
17570         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17571         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17572         * gst/gstelement.c: (gst_element_commit_state),
17573         (gst_element_set_state):
17574         Protect flags with proper lock.
17575         unref provided cached clock in dispose.
17576
17577 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17578
17579         * gst/gst.c:
17580         * gst/gstminiobject.h:
17581         * gst/gstpad.h:
17582         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17583           removed unused flags from miniobject
17584           doc fixes
17585
17586 2005-10-12  Wim Taymans  <wim@fluendo.com>
17587
17588         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17589         (gst_file_sink_event), (gst_file_sink_render):
17590         Flush before seeking.
17591
17592 2005-10-12  Andy Wingo  <wingo@pobox.com>
17593
17594         * gst/gst.c (gst_init_check): Ignore unknown options, as has
17595         always been the case.
17596
17597 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17598
17599         * check/gst/gstbin.c: (GST_START_TEST):
17600         * docs/gst/gstreamer-sections.txt:
17601         * gst/base/gstbasesink.c: (gst_base_sink_init):
17602         * gst/base/gstbasesrc.c: (gst_base_src_init),
17603         (gst_base_src_get_range), (gst_base_src_check_get_range),
17604         (gst_base_src_start), (gst_base_src_stop):
17605         * gst/base/gstbasesrc.h:
17606         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17607         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17608         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17609         (bin_bus_handler):
17610         * gst/gstbin.h:
17611         * gst/gstbuffer.h:
17612         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17613         * gst/gstbus.h:
17614         * gst/gstelement.c: (gst_element_is_locked_state),
17615         (gst_element_set_locked_state), (gst_element_commit_state),
17616         (gst_element_set_state):
17617         * gst/gstelement.h:
17618         * gst/gstindex.c: (gst_index_init):
17619         * gst/gstindex.h:
17620         * gst/gstminiobject.h:
17621         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17622         (gst_object_set_parent):
17623         * gst/gstobject.h:
17624         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17625         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17626         * gst/gstpad.h:
17627         * gst/gstpadtemplate.h:
17628         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17629         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17630         * gst/gstpipeline.h:
17631         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17632         (gst_file_index_commit):
17633         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17634         * testsuite/pad/link.c: (gst_test_src_init),
17635         (gst_test_filter_init), (gst_test_sink_init):
17636         * testsuite/states/locked.c: (main):
17637           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17638           moved bitshift from macro to enum definition
17639
17640 2005-10-12  Wim Taymans  <wim@fluendo.com>
17641
17642         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17643         * gst/elements/gstfilesink.c: (gst_file_sink_event),
17644         (gst_file_sink_render):
17645         Some more debugging info.
17646
17647 2005-10-12  Wim Taymans  <wim@fluendo.com>
17648
17649         * docs/design/part-states.txt:
17650         * tools/gst-launch.c: (main):
17651         Some doc updates.
17652         Revert non-intentional change.
17653
17654 2005-10-12  Wim Taymans  <wim@fluendo.com>
17655
17656         * check/gst/gstbin.c: (GST_START_TEST):
17657         * check/gst/gstelement.c: (GST_START_TEST):
17658         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17659         * check/gst/gstghostpad.c: (GST_START_TEST):
17660         * check/gst/gstpipeline.c: (GST_START_TEST):
17661         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17662         * check/states/sinks.c: (GST_START_TEST):
17663         * gst/elements/gsttypefindelement.c: (stop_typefinding):
17664         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17665         (gst_bin_remove_func), (gst_bin_get_state_func),
17666         (gst_bin_recalc_state), (gst_bin_change_state_func),
17667         (bin_bus_handler):
17668         * gst/gstelement.c: (gst_element_get_state_func),
17669         (gst_element_get_state), (gst_element_abort_state),
17670         (gst_element_commit_state), (gst_element_set_state),
17671         (gst_element_change_state), (gst_element_change_state_func):
17672         * gst/gstelement.h:
17673         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17674         (gst_pipeline_provide_clock_func):
17675         * gst/gstutils.c: (gst_element_link_pads_filtered):
17676         * tools/gst-launch.c: (main):
17677         * tools/gst-typefind.c: (main):
17678         Use GstClockTime in _get_state() instead of GTimeVal.
17679         Remove old code in gstutils.c
17680
17681 2005-10-12  Andy Wingo  <wingo@pobox.com>
17682
17683         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17684         removed.
17685
17686         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17687         there is no task. Shouldn't affect any code, as nothing in our
17688         plugins checks this return value.
17689         (gst_pad_stop_task): Also take the stream lock if the pad has no
17690         task. Docs updated.
17691
17692 2005-10-12  Wim Taymans  <wim@fluendo.com>
17693
17694         * gst/gstpad.c: (pre_activate), (post_activate),
17695         (gst_pad_activate_pull), (gst_pad_activate_push):
17696         Cleanup activation code. Reset old state if
17697         activation failed.
17698
17699 2005-10-12  Wim Taymans  <wim@fluendo.com>
17700
17701         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17702         (gst_base_sink_change_state):
17703         No need to prerol after receiving EOS.
17704
17705         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17706         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17707         * gst/elements/gstidentity.c: (gst_identity_event):
17708         Print events more verbosely.
17709
17710 2005-10-12  Wim Taymans  <wim@fluendo.com>
17711
17712         * check/Makefile.am:
17713         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17714         * check/states/sinks2.c:
17715         Moved sinks2 testcode in sinks check.
17716
17717         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17718         (gst_bin_remove_func), (gst_bin_recalc_state),
17719         (gst_bin_change_state_func), (bin_bus_handler):
17720         Fix potential race condition when _get_state() iterated over an
17721         ASYNC element right before it posted a state completion.
17722
17723         * gst/gstclock.h:
17724         Do proper cast here.
17725
17726         * gst/gstevent.c: (gst_event_new_newsegment),
17727         (gst_event_parse_newsegment):
17728         A playback rate of 0.0 is not allowed.
17729
17730 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17731
17732         * win32/common/config.h:
17733         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17734         (_trewinddir), (_ttelldir), (_tseekdir):
17735         * win32/common/dirent.h:
17736         * win32/common/gtchar.h:
17737         * win32/common/libgstbase.def:
17738         * win32/common/libgstreamer.def:
17739         * win32/vs6/grammar.dsp:
17740         * win32/vs6/gst_inspect.dsp:
17741         * win32/vs6/gst_launch.dsp:
17742         * win32/vs6/gstreamer.dsw:
17743         * win32/vs6/libgstbase.dsp:
17744         * win32/vs6/libgstelements.dsp:
17745         * win32/vs6/libgstreamer.dsp:
17746           Visual Studio 6 project files, and a new common directory.
17747           Phear.
17748
17749 2005-10-11  Wim Taymans  <wim@fluendo.com>
17750
17751         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17752         (gst_base_sink_do_sync), (gst_base_sink_query),
17753         (gst_base_sink_change_state):
17754         * gst/base/gstbasesink.h:
17755         Correctly parse newsegment info.
17756
17757 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17758
17759         * gst/gst.c: (init_post):
17760           split plugin paths correctly
17761
17762 2005-10-11  Wim Taymans  <wim@fluendo.com>
17763
17764         * check/gst/gstevent.c: (GST_START_TEST):
17765         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17766         (gst_base_sink_change_state):
17767         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17768         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17769         * gst/elements/gstfilesink.c: (gst_file_sink_event):
17770         * gst/gstevent.c: (gst_event_new_newsegment),
17771         (gst_event_parse_newsegment):
17772         * gst/gstevent.h:
17773         Added extra flag to newsegment for future API freeze.
17774         Updated check and base elements.
17775
17776 2005-10-11  Julien MOUTTE  <julien@moutte.net>
17777
17778         * gst/base/gstcollectpads.c: (gst_collectpads_init),
17779         (gst_collectpads_add_pad), (gst_collectpads_pop),
17780         (gst_collectpads_event), (gst_collectpads_chain):
17781         * gst/base/gstcollectpads.h: Handle EOS correctly.
17782
17783 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17784
17785         * tools/gst-launch.c: (main):
17786           more null protecting
17787
17788 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17789
17790         * gst/gst-i18n-lib.h:
17791           check for ENABLE_NLS, not GETTEXT_PACKAGE
17792         * gst/gstregistry.c: (gst_registry_add_plugin),
17793         (gst_registry_scan_path_level),
17794         (_gst_registry_remove_cache_plugins):
17795           protect possibly NULL strings
17796         * gst/parse/types.h:
17797           config.h already included before
17798         * tools/gst-inspect.c: (main):
17799           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17800           check for ENABLE_NLS, not GETTEXT_PACKAGE
17801         * tools/gst-launch.c: (main):
17802           check for ENABLE_NLS, not GETTEXT_PACKAGE
17803
17804 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17805
17806         * configure.ac:
17807           if we don't have glib, fail before testing 2.8
17808         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17809           fix a leak, should fix plugins-base testsuite
17810
17811 2005-10-11  Andy Wingo  <wingo@pobox.com>
17812
17813         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17814         take the mode we're going to as an arg. Go head and set the mode
17815         and flushing flags now, so that if the activate function starts a
17816         thread all the flags will be in the right state.
17817         (post_activate): Renamed also. Just handle making sure streaming
17818         finishes for the deactivation case, and setting the deactivated
17819         mode.
17820         (gst_pad_set_active): Complain loudly if deactivation fails.
17821         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17822         (gst_pad_activate_push): Adapt to pre/post_activate changes,
17823         remove the terrible hack.
17824
17825 2005-10-11  Wim Taymans  <wim@fluendo.com>
17826
17827         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17828         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17829         (gst_bin_recalc_state), (gst_bin_change_state_func),
17830         (gst_bin_dispose), (bin_bus_handler):
17831         * gst/gstbin.h:
17832         Prepare to make current EOS message queue more generic.
17833         Fix some typos.
17834
17835         * gst/gstevent.c: (gst_event_new_newsegment),
17836         (gst_event_parse_newsegment):
17837         * gst/gstevent.h:
17838         Rename base to stream_time.
17839
17840         * gst/gstmessage.h:
17841         Fix typo in docs.
17842
17843 2005-10-11  Wim Taymans  <wim@fluendo.com>
17844
17845         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17846         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17847         (gst_bin_change_state_func), (bin_bus_handler):
17848         * gst/gstbin.h:
17849         Work on proper clock selection.
17850
17851 2005-10-11  Edward Hervey  <edward@fluendo.com>
17852
17853         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
17854         * libs/gst/controller/gstcontroller.h:
17855         Added GList* version of _remove_properties() in order to be able to wrap
17856         it in bindings.
17857
17858 2005-10-11  Wim Taymans  <wim@fluendo.com>
17859
17860         * docs/design/part-states.txt:
17861         Some more docs.
17862
17863         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17864         (gst_bin_change_state_func), (bin_bus_handler):
17865         Doc updates. Don't distribute the same clock over and over again.
17866
17867         * gst/gstclock.c:
17868         * gst/gstclock.h:
17869         Doc updates.
17870
17871         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17872         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17873         (gst_pad_send_event):
17874         * gst/gstpad.h:
17875         Make probe emission threadsafe again.
17876         Register quarks and move _get_name() from utils.
17877         Doc updates.
17878
17879         * gst/gstpipeline.c: (gst_pipeline_class_init),
17880         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17881         Only redistribute the clock of it changed.
17882
17883         * gst/gstsystemclock.h:
17884         Doc updates. 
17885
17886         * gst/gstutils.c:
17887         * gst/gstutils.h:
17888         Moved the _flow_get_name() to GstPad.
17889
17890 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17891
17892         * check/gst-libs/gdp.c: (GST_START_TEST):
17893         * check/gst/gstcaps.c: (GST_START_TEST):
17894         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17895         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17896         (gst_dp_packet_from_caps):
17897           fix more valgrind warnings before turning up the heat
17898
17899 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17900
17901         * gst/parse/grammar.y:
17902           some cleanup before the hacking
17903
17904 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17905
17906         * gst/base/gstbasesrc.c: (gst_base_src_query):
17907           use conversions
17908         * gst/gstutils.c: (gst_guint64_to_gdouble),
17909         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17910         * gst/gstutils.h:
17911           externalize, basesrc uses it
17912           obviously the implementation needs testing
17913
17914 2005-10-10  Wim Taymans  <wim@fluendo.com>
17915
17916         * tests/sched/Makefile.am:
17917         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17918         (make_pipeline3), (make_pipeline4), (print_elem), (main):
17919
17920 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17921
17922         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17923           apparently converting from guint64 to double is not implemented
17924           on MSVC
17925
17926 2005-10-10  Wim Taymans  <wim@fluendo.com>
17927
17928         * check/Makefile.am:
17929         * check/generic/states.c: (GST_START_TEST):
17930         * check/gst/gstbin.c: (GST_START_TEST):
17931         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17932         * check/states/sinks.c: (GST_START_TEST):
17933         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17934         (main):
17935         Check fixes, use API as stated in design docs, remove hacks.
17936
17937         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17938         (gst_base_sink_change_state):
17939         Catch stopping our task while we're shutting down.
17940
17941         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17942         (gst_bin_remove_func), (gst_bin_get_state_func),
17943         (gst_bin_recalc_state), (gst_bin_change_state_func),
17944         (bin_bus_handler):
17945         * gst/gstbin.h:
17946         * gst/gstelement.c: (gst_element_init),
17947         (gst_element_get_state_func), (gst_element_abort_state),
17948         (gst_element_commit_state), (gst_element_lost_state),
17949         (gst_element_set_state), (gst_element_change_state),
17950         (gst_element_change_state_func):
17951         * gst/gstelement.h:
17952         New state change algorithm (see #318116)
17953
17954         * gst/gstpipeline.c: (gst_pipeline_class_init),
17955         (gst_pipeline_init), (gst_pipeline_set_property),
17956         (gst_pipeline_get_property), (do_pipeline_seek),
17957         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17958         * gst/gstpipeline.h:
17959         Remove crude state change hacks.
17960
17961         * gst/gstutils.h:
17962         Remove crude hacks.
17963
17964         * tools/gst-launch.c: (main):
17965         Fixes for state change. Needs some more work to fully use the
17966         new stuff.
17967
17968 2005-10-10  Andy Wingo  <wingo@pobox.com>
17969
17970         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17971
17972         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17973         this flag, but it's not even in GLib 2.6. Odd. Hack around the
17974         issue.
17975
17976 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17977
17978         * gst/gstiterator.c: (gst_iterator_new):
17979           Fix my previous commit: GTypes passed to gst_iterator_new()
17980           can be fundamental types.
17981
17982 2005-10-10  Wim Taymans  <wim@fluendo.com>
17983
17984         * gst/gstelement.c: (gst_element_iterate_pad_list),
17985         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17986         (gst_element_iterate_sink_pads):
17987         Use src/sink pads lists for the respective iterators instead
17988         of filtering.
17989
17990 2005-10-10  Andy Wingo  <wingo@pobox.com>
17991
17992         Merged in popt removal + GOption addition patch from Ronald, bug
17993         #169772.
17994
17995         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17996         GstElement macros around, remove popt-related symbols, add goption
17997         stuff.
17998
17999         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
18000         
18001         * docs/gst/Makefile.am:
18002         * docs/libs/Makefile.am: No POPT_CFLAGS.
18003         
18004         * examples/manual/Makefile.am:
18005         * docs/manual/basics-init.xml: Doc updates with an example.
18006         
18007         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
18008         (gst_init), (parse_one_option), (parse_goption_arg):
18009         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
18010         bit of hand merging and debugging to get the GOption stuff working
18011         tho.
18012         
18013         * tests/Makefile.am:
18014         * tools/Makefile.am:
18015         * tools/gst-inspect.c: (main):
18016         * tools/gst-launch.c: (main):
18017         * tools/gst-run.c: (main):
18018         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
18019
18020 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18021
18022         * gst/gstiterator.c: (gst_iterator_new):
18023           Add assertions to make sure passed GType is likely to really
18024           be a GType (as the compiler won't catch it if the size and
18025           GType arguments get mixed up, see #318447).
18026
18027 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
18028
18029         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18030
18031         * gst/gstbin.c: (gst_bin_iterate_sorted):
18032           Pass GType and size arguments to gst_iterator_new() in the right
18033           order (maybe we should make _new() take the GType as first argument
18034           just like _new_list()?) (#318447).
18035           
18036
18037 2005-10-10  Wim Taymans  <wim@fluendo.com>
18038
18039         * gst/gstelement.c: (gst_element_finalize):
18040         And free the GStaticRecMutex too
18041
18042 2005-10-10  Andy Wingo  <wingo@pobox.com>
18043
18044         * gst/gstelement.c (gst_element_init, gst_element_finalize):
18045         Allocate and free the mutex properly.
18046
18047         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
18048         New macros.
18049         (GstElement): The state_lock is now recursive. Rebuild your
18050         plugins, suckers. Old macros adapted.
18051
18052         * docs/gst/gstreamer-sections.txt: Doc updates.
18053
18054         * gst/gstutils.h:
18055         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
18056         (g_static_rec_cond_wait): Ported from state changes patch, while
18057         we wait on bug #317802 to be solved in a well-distributed GLib.
18058
18059         * gst/gstelement.c (gst_element_change_state_func): Renamed from
18060         gst_element_change_state, variable name changes.
18061         (gst_element_change_state): Split out of gst_element_set_state in
18062         preparation for the state change merge. Doesn't pay attention to
18063         the 'transition' argument.
18064         (gst_element_set_state): Updates, hopefully purely cosmetic.
18065         (gst_element_sync_state_with_parent): MT-safety. Ported from the
18066         state change patch.
18067         (gst_element_get_state_func): Renamed from get_state, cosmetic
18068         changes.
18069
18070 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18071
18072         * gst/elements/gstelements.c:
18073         * win32/GStreamer.vcproj:
18074         * win32/config.h:
18075         * win32/dirent.c: (_tseekdir):
18076         * win32/gst-inspect.vcproj:
18077         * win32/gst-launch.vcproj:
18078         * win32/gstconfig.h:
18079         * win32/gstelements.vcproj:
18080         * win32/gstenumtypes.c: (gst_object_flags_get_type):
18081         * win32/gstreamer.def:
18082         * win32/msvc71.sln:
18083           updates for the win32 build (patch from Sebastien Moutte)
18084
18085 2005-10-10  Andy Wingo  <wingo@pobox.com>
18086
18087         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
18088         gst_bin_get_state, cleaned up (but no logic changes).
18089         (bin_element_is_sink): Comment updates.
18090         (sink_iterator_filter): Remove needless cast.
18091         (gst_bin_iterate_sinks): Doc update.
18092         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
18093         cleaned up (but no logic changes).
18094
18095         * check/states/sinks.c (test_src_sink): Cleanups from the state
18096         change patch.
18097         (test_livesrc_sink): Sync on the state.
18098
18099         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
18100         the state change patch.
18101
18102         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
18103         change patch.
18104
18105         * check/gst/gstbin.c: Merge in some style fixes and additional
18106         checks from Wim's state change patch.
18107
18108 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18109
18110         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18111         (gst_type_find_helper):
18112           Check whether we have the requested data already in our list of
18113           cached buffers before pulling a new buffer; also make the buffer
18114           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18115
18116 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18117
18118         * gst/gstcaps.c:
18119         * gst/gstevent.c:
18120           doc updates
18121         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18122           don't use long long, it's not portable.  Replacing with
18123           gint64 seems to work; let's hope no skeletons fall out of the closet.
18124
18125 2005-10-10  Andy Wingo  <wingo@pobox.com>
18126
18127         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18128
18129 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
18130
18131         * docs/gst/gstreamer-sections.txt:
18132         * gst/gstevent.c:
18133         * gst/gstevent.h:
18134         * gst/gstinfo.c:
18135         * gst/gstinfo.h:
18136         * gst/gstmessage.c: (gst_message_parse_state_changed):
18137         * gst/gstpad.c:
18138         * gst/gstpad.h:
18139           more docs, fix compilation
18140
18141 2005-10-09  Philippe Khalaf <burger@speedy.org>
18142         * gst/gstmessage.c:
18143           Fixed a few forgotten variables on previous commit
18144
18145 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
18146
18147         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18148           Fix evil typefind crasher: getrange() might return a short
18149           buffer at the end of a file, but gst_type_find_peek() must
18150           either return the full data as requested or NULL, but
18151           never a short buffer.
18152
18153 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18154
18155         * gst/gstmessage.c: (gst_message_new_state_changed),
18156         (gst_message_parse_state_changed):
18157         * gst/gstmessage.h:
18158           don't use "new", it's a C++ keyword
18159
18160 2005-10-08  Wim Taymans  <wim@fluendo.com>
18161
18162         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18163         * gst/gstelement.c: (gst_element_post_message):
18164         * gst/gstpipeline.c: (gst_pipeline_change_state):
18165         Small docs and debug updates.
18166
18167 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18168
18169         * docs/gst/gstreamer-sections.txt:
18170         * gst/gstelementfactory.c:
18171         * gst/gstevent.c:
18172         * gst/gsttaglist.c:
18173           more docs
18174
18175 2005-10-08  Wim Taymans  <wim@fluendo.com>
18176
18177         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18178         (gst_bin_dispose), (bin_bus_handler):
18179         Fix typos, add comments.
18180         Clear EOS list when going to PAUSED from any direction and do it
18181         in a threadsafe way.
18182         Get base time in a threadsafe way too.
18183         Fix confusing debug in the change_state function.
18184         Various other small cleanups.
18185         
18186         * gst/gstelement.c: (gst_element_post_message):
18187         Fix very verbose bus posting code.
18188
18189         * gst/gstpipeline.c: (gst_pipeline_class_init),
18190         (gst_pipeline_set_property), (gst_pipeline_get_property),
18191         (gst_pipeline_change_state):
18192         Small ARG_ -> PROP_ cleanup
18193
18194 2005-10-08  Wim Taymans  <wim@fluendo.com>
18195
18196         * gst/gstbin.c: (is_eos), (bin_bus_handler):
18197         Do a less CPU demanding EOS check because we can.
18198
18199 2005-10-08  Wim Taymans  <wim@fluendo.com>
18200
18201         * libs/gst/dataprotocol/dataprotocol.c:
18202         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18203         (gst_dp_packet_from_event):
18204         * libs/gst/dataprotocol/dataprotocol.h:
18205         * libs/gst/dataprotocol/dp-private.h:
18206         It's about time we bump the version number.
18207         Since event types don't fit in the guint8 anymore describing
18208         the payload type, make payload type 16 bits wide.
18209
18210 2005-10-08  Wim Taymans  <wim@fluendo.com>
18211
18212         * docs/design/part-TODO.txt:
18213         * docs/design/part-clocks.txt:
18214         * docs/design/part-events.txt:
18215         * docs/design/part-gstbin.txt:
18216         * docs/design/part-gstelement.txt:
18217         * docs/design/part-gstpipeline.txt:
18218         * docs/design/part-live-source.txt:
18219         * docs/design/part-messages.txt:
18220         * docs/design/part-overview.txt:
18221         * docs/design/part-states.txt:
18222         Many doc updates.
18223
18224 2005-10-08  Wim Taymans  <wim@fluendo.com>
18225
18226         * gst/gstevent.c:
18227         * gst/gstevent.h:
18228         Fix event quark registration.
18229         Add some space between events so we can insert them in the
18230         right groups.
18231
18232 2005-10-08  Wim Taymans  <wim@fluendo.com>
18233
18234         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18235         (gst_base_sink_handle_buffer):
18236         Better log message.
18237
18238         * gst/gstbus.h:
18239         * gst/gstelement.h:
18240         More docs.
18241
18242         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18243         (gst_queue_set_property), (gst_queue_get_property):
18244         * gst/gstqueue.h:
18245         Remove old unused properties.
18246
18247 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18248         * docs/gst/gstreamer-sections.txt:
18249         * gst/gstmessage.c:
18250         * gst/gstmessage.h:
18251         * gst/gstminiobject.c:
18252         * gst/gstminiobject.h:
18253         * gst/gstobject.h:
18254         * gst/gstpad.h:
18255         * gst/gstutils.h:
18256           lots of new docs and doc fixes
18257
18258 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18259
18260         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18261         * gst/gstplugin.h:
18262         * gst/gstregistry.c: (gst_registry_lookup_locked),
18263         (gst_registry_scan_path_level):
18264         * gst/gstregistryxml.c: (load_plugin):
18265           Only ever load one plugin for a given plugin basename.
18266           This ensures correct overriding of GST_PLUGIN_PATH over
18267           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18268           system installed plugins.
18269
18270 2005-10-08  Wim Taymans  <wim@fluendo.com>
18271
18272         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18273         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18274         Prepare for doing QOS.
18275
18276 2005-10-08  Wim Taymans  <wim@fluendo.com>
18277
18278         * check/gst/gstbin.c: (GST_START_TEST):
18279         * check/pipelines/cleanup.c: (GST_START_TEST):
18280         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18281         Allow new clock message too.
18282
18283 2005-10-08  Wim Taymans  <wim@fluendo.com>
18284
18285         * gst/gstmessage.c: (gst_message_new_error),
18286         (gst_message_new_warning), (gst_message_new_tag),
18287         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18288         (gst_message_new_clock_lost), (gst_message_new_new_clock),
18289         (gst_message_new_segment_start), (gst_message_new_segment_done),
18290         (gst_message_parse_state_changed),
18291         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18292         (gst_message_parse_new_clock):
18293         * gst/gstmessage.h:
18294         Also carry the clock in question.
18295
18296 2005-10-08  Wim Taymans  <wim@fluendo.com>
18297
18298         * gst/gstmessage.c: (gst_message_new_custom),
18299         (gst_message_new_eos), (gst_message_new_error),
18300         (gst_message_new_warning), (gst_message_new_tag),
18301         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18302         (gst_message_new_new_clock), (gst_message_new_segment_start),
18303         (gst_message_new_segment_done), (gst_message_parse_state_changed),
18304         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18305         * gst/gstmessage.h:
18306         Clean up.
18307         Added clock related messages.
18308
18309         * gst/gstpipeline.c: (gst_pipeline_change_state):
18310         Post message when the clock changed.
18311
18312         * tools/gst-launch.c: (event_loop):
18313         Print new clock.
18314
18315 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
18316
18317         * tools/gst-inspect.c: (print_element_properties_info):
18318           Can't pass NULL strings to g_print() on windows.
18319
18320 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18321
18322         * docs/Makefile.am:
18323         * docs/gst/Makefile.am:
18324         * docs/gst/gstreamer-docs.sgml:
18325         * docs/gst/running.xml:
18326         * docs/version.entities.in:
18327           add a chapter on running GStreamer.
18328           document GST_DEBUG and GST_PLUGIN* env vars
18329
18330 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18331
18332         * Makefile.am:
18333           remove include dir
18334         * configure.ac:
18335           remove PLUGINS_BUILDDIR stuff
18336         * gst/gst.c: (init_post):
18337           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18338         * idiottest.mak:
18339           remove, it was condescending and not needed
18340
18341 2005-10-08  Wim Taymans  <wim@fluendo.com>
18342
18343         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18344         (gst_base_sink_handle_object), (gst_base_sink_event),
18345         (gst_base_sink_wait), (gst_base_sink_handle_event),
18346         (gst_base_sink_change_state):
18347         * gst/base/gstbasesink.h:
18348         Repost EOS message while going to PLAYING if still EOS.
18349         Make sure that when receiving a FLUSH_START we don't attempt
18350         to sync on the clock anymore.
18351
18352 2005-10-08  Wim Taymans  <wim@fluendo.com>
18353
18354         * tools/gst-launch.c: (event_loop):
18355         Better message printout.
18356
18357 2005-10-08  Wim Taymans  <wim@fluendo.com>
18358
18359         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18360         (gst_bin_child_proxy_get_children_count):
18361         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18362         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18363         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18364         (gst_child_proxy_set_valist):
18365         * gst/parse/grammar.y:
18366         Make ChildProxy threadsafe and fix mem leaks.
18367
18368 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18369
18370         * gst/gst.c: (init_post):
18371           debug the GST_PLUGIN_ env vars
18372
18373 2005-10-08  Wim Taymans  <wim@fluendo.com>
18374
18375         * check/gst/gstbin.c: (GST_START_TEST):
18376         * check/gst/gstmessage.c: (GST_START_TEST):
18377         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18378         * gst/gstelement.c: (gst_element_commit_state),
18379         (gst_element_lost_state):
18380         * gst/gstmessage.c: (gst_message_new_state_changed),
18381         (gst_message_parse_state_changed):
18382         * gst/gstmessage.h:
18383         * tools/gst-launch.c: (event_loop):
18384         Added extra field to STATE_CHANGE message with the pending
18385         state, which will be different from the new state soon.
18386
18387 2005-10-08  Wim Taymans  <wim@fluendo.com>
18388
18389         * gst/gstbus.c: (gst_bus_pop):
18390         * gst/gstclock.c:
18391         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18392         Small cleanups and doc updates.
18393
18394 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18395
18396         * gst/gst.c: (init_pre):
18397         * gst/gstbin.c: (gst_bin_add_func):
18398           log distributing clocks and base time
18399         * gst/gstregistry.c: (gst_registry_add_plugin),
18400         (gst_registry_scan_path_level), (gst_registry_scan_path):
18401           clean up the debugging output a little
18402         * gst/gstutils.c: (gst_element_state_get_name):
18403           warn about a memleak (I've actually seen this be used, though
18404           it was probably a bug)
18405
18406 2005-10-07  Wim Taymans  <wim@fluendo.com>
18407
18408         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18409         (gst_base_src_init), (gst_base_src_default_newsegment),
18410         (gst_base_src_newsegment), (gst_base_src_do_seek),
18411         (gst_base_src_loop), (gst_base_src_start):
18412         * gst/base/gstbasesrc.h:
18413         Make the newsegment event customizable by subclasses.
18414
18415 2005-10-07  Wim Taymans  <wim@fluendo.com>
18416
18417         * gst/gstevent.c: (gst_event_new_buffersize),
18418         (gst_event_parse_buffersize):
18419         * gst/gstevent.h:
18420         New event for future idea.
18421
18422 2005-10-07  Andy Wingo  <wingo@pobox.com>
18423
18424         * gst/gstelement.c (gst_element_post_message): Doc update.
18425
18426         * docs/gst/gstreamer-sections.txt: Update.
18427
18428         * gst/gstmessage.c (gst_message_new_application): Made into a
18429         function like honest API calls.
18430         (gst_message_new_element): New message type.
18431
18432         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18433
18434         * check/elements/fakesrc.c (test_no_preroll): New check, checks
18435         that setting a live fakesrc to PAUSED returns NO_PREROLL both
18436         times.
18437
18438         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18439         NO_PREROLL from gst_element_change_state to fall through.
18440
18441 2005-10-07  Wim Taymans  <wim@fluendo.com>
18442
18443         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18444         (gst_ghost_pad_do_activate_push):
18445         Activating a ghostpad with no internal pad in push mode
18446         is ok.
18447
18448 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18449
18450         * gst/gstobject.h:
18451           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18452           Fixes compilation on Windows.
18453
18454 2005-10-07  Michael Smith <msmith@fluendo.com>
18455
18456         * tools/gst-inspect.c:
18457           Print out feature and plugin count at the end when printing out
18458           all features.
18459
18460 2005-10-04  Michael Smith <msmith@fluendo.com>
18461
18462         * gst/gsterror.c: (_gst_stream_errors_init):
18463           Add another error string used in a few existing plugins.
18464
18465         * gst/gstplugin.c:
18466         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18467         * tools/gst-inspect.c: (print_element_info):
18468           When a feature disappears from a plugin (and the feature exists in
18469           the cached registry file), things went horribly wrong. This isn't a
18470           complete fix, we should actually be removing the 'missing' features
18471           from the features list when we load the actual plugin. That's not
18472           yet implemented. 
18473
18474 2005-10-04  Johan Dahlin  <johan@gnome.org>
18475
18476         * check/gst/gstiterator.c: (GST_START_TEST):
18477         * gst/gstbin.c: (gst_bin_iterate_elements),
18478         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18479         * gst/gstelement.c: (gst_element_iterate_pads):
18480         * gst/gstformat.c: (gst_format_iterate_definitions):
18481         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18482         (gst_iterator_new_list), (gst_iterator_filter):
18483         * gst/gstiterator.h:
18484         * gst/gstquery.c: (gst_query_type_iterate_definitions):
18485         Add a GType to GstIterator, update callsites and tests.
18486
18487 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18488
18489         * gst/gstpad.c: (gst_pad_event_default_dispatch):
18490           give events a chance to be handled by event probes when the pad
18491           is not linked
18492
18493 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18494
18495         * gst/gstevent.c: (gst_event_type_get_name),
18496         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18497         * gst/gstevent.h:
18498           add string representations for event types
18499
18500 2005-10-06  Wim Taymans  <wim@fluendo.com>
18501
18502         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18503         Don't use NULL pointers.
18504
18505 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18506
18507         * gst/gst_private.h:
18508         * gst/gstbus.c:
18509         * gst/gstelement.c:
18510         * gst/gstinfo.c:
18511         * gst/gstpluginfeature.c:
18512           widen the debug category in output to fit the biggest one we have
18513           add a bus category and use it
18514           play with the colors
18515           fix up some categories
18516
18517 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18518
18519         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18520           add push activation of sink ghost pads.
18521           Andye, please verify
18522
18523 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18524
18525         * gst/gstutils.c: (gst_element_link_pads):
18526           fix a bug in the case where neither element has a pad
18527         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18528           add a test for that case
18529
18530 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18531
18532         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18533           emit have-data before checking for peers.  This allows
18534           for probe handlers to connect elements.  This helps autopluggers.
18535         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18536         (gst_pad_suite):
18537           add six checks, linked/unlinked with no/true/false probe
18538
18539 2005-10-04  Wim Taymans  <wim@fluendo.com>
18540
18541         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18542         (gst_fake_sink_event), (gst_fake_sink_preroll),
18543         (gst_fake_sink_render), (gst_fake_sink_change_state):
18544         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18545         (gst_fake_src_get_property), (gst_fake_src_create),
18546         (gst_fake_src_stop):
18547         * gst/elements/gstidentity.c: (gst_identity_stop):
18548         Protect last_message with lock.
18549
18550 2005-10-04  Edward Hervey  <edward@fluendo.com>
18551
18552         * gst/gstformat.h: 
18553         Added precision in the comments for GST_FORMAT_DEFAULT
18554
18555 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
18556
18557         * tools/gst-launch.c: (main):
18558           Don't try to run erroneous pipelines.
18559
18560 2005-10-04  Julien MOUTTE  <julien@moutte.net>
18561
18562         * gst/gstbus.c: We don't need this header.
18563
18564 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18565
18566         * configure.ac:
18567           back to development
18568
18569 === release 0.9.3 ===
18570
18571 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18572
18573         * README:
18574         * configure.ac:
18575           Releasing 0.9.3, "Unregistered"
18576
18577 2005-10-03  Andy Wingo  <wingo@pobox.com>
18578
18579         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18580         whereby calling a pad's activatepush() function can start a thread
18581         that starts to push or pull before the pad gets the FLUSHING flag
18582         unset. Hack around it by holding the stream lock until the flag is
18583         set. Need to replace this with a proper solution. Together with
18584         the ghost pad fixes, this fixes mp3 playing/tagreading.
18585
18586         * docs/design/part-gstghostpad.txt: Add a note about activation of
18587         proxy pads outside of ghost pads.
18588
18589         * gst/gstghostpad.c: Implement the ghost pad activation design.
18590
18591 2005-10-02  Andy Wingo  <wingo@pobox.com>
18592
18593         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18594         It is volatile, after all.
18595
18596         * docs/design/part-gstghostpad.txt: Flesh out activation with
18597         ghost pads.
18598
18599         * gst/base/gstbasesrc.c (gst_base_src_init): Use
18600         GST_DEBUG_FUNCPTR.
18601
18602 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
18603
18604         * configure.ac:
18605           Fix (unused) AM_CONDITIONAL tests.
18606
18607 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
18608
18609         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18610
18611         * gst/gstutils.c: (gst_pad_query_convert):
18612           Add assertion that makes sure src_val is >=0, just like
18613           gst_query_new_convert() has. (#315895)
18614
18615 2005-09-30  Edward Hervey  <edward@fluendo.com>
18616
18617         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18618         Let's not iterate pads we're not interested in, it avoids getting 
18619         sky-high refcounts on sinkpad.
18620
18621 2005-09-30  Wim Taymans  <wim@fluendo.com>
18622
18623         * gst/gstelement.c: (gst_element_set_state),
18624         (gst_element_change_state):
18625         Small tweak, element in ASYNC remains ASYNC.
18626
18627 2005-09-30  Wim Taymans  <wim@fluendo.com>
18628
18629         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18630         Only error is an error.
18631
18632         * gst/gstbin.c: (gst_bin_change_state):
18633         Better debugging.
18634
18635         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18636         Also call pad_block in pad alloc.
18637
18638         * gst/gstutils.c: (gst_flow_get_name):
18639         Better debugging.
18640
18641 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18642
18643         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18644         (gst_base_src_get_range):
18645           Fix documentation typos. Add some more debug info.
18646
18647 2005-09-29  David Schleef  <ds@schleef.org>
18648
18649         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18650           more end-user friendly.
18651         * tools/gst-inspect.c: (main): Check if command-line argument is
18652           a file and attempt to load that file as a plugin.
18653
18654 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18655
18656         * check/gst/gstbin.c:
18657         * check/states/sinks.c:
18658           fix tests for the new warning
18659         * check/gst/gstpipeline.c:
18660           add a test for pipeline and bus interaction
18661         * gst/gstelement.c:
18662           elements should be NULL if they get disposed; add a warning if not
18663
18664 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18665
18666         * gst/gstobject.c:
18667           for 2.6 refcounting, make debug log more correct by printing
18668           the actual refcounts at the time of swap (Wim)
18669
18670 2005-09-29  Andy Wingo  <wingo@pobox.com>
18671
18672         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18673         removes signal watches previously added via
18674         gst_bus_add_signal_watch.
18675         (gst_bus_add_signal_watch): Don't return the source id, just store
18676         it on the bus if there wasn't an id already.
18677
18678         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18679         add_signal_watch and remove_signal_watch.
18680
18681 2005-09-29  Edward Hervey  <edward@fluendo.com>
18682
18683         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
18684         Better if we actually iterate the list :)
18685
18686 2005-09-29  Wim Taymans  <wim@fluendo.com>
18687
18688         * check/gst/gstbin.c: (GST_START_TEST):
18689         Change for new bus API.
18690
18691         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18692         (send_messages), (GST_START_TEST), (gstbus_suite):
18693         Change for new bus signal API.
18694
18695         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18696         (gst_bus_source_prepare), (gst_bus_source_check),
18697         (gst_bus_create_watch), (gst_bus_add_watch_full),
18698         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18699         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18700         * gst/gstbus.h:
18701         Remove support for multiple GSources operating on different
18702         message types as it is too complex and unneeded when using
18703         signals.
18704         Added support for receiving signals from the bus.
18705
18706 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18707
18708         * docs/libs/tmpl/gstdataprotocol.sgml:
18709         * docs/manual/advanced-dataaccess.xml:
18710         * gst/elements/gstcapsfilter.c:
18711         * gst/gstutils.c:
18712           rename filter-caps to caps property
18713
18714 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18715
18716         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18717           More robust fraction string parsing.
18718
18719         * docs/pwg/appendix-porting.xml:
18720           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18721
18722 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18723
18724         * gst/gstcaps.c: (gst_caps_do_simplify):
18725           Thou shalt not free a structure and then continue using it
18726           in the next loop iteration.
18727
18728         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18729         (gst_caps_suite):
18730           Add test case for caps simplification.
18731
18732 2005-09-29  Wim Taymans  <wim@fluendo.com>
18733
18734         * check/gst/gstbin.c: (GST_START_TEST):
18735         Oops.
18736
18737 2005-09-29  Wim Taymans  <wim@fluendo.com>
18738
18739         * check/gst/gstbin.c: (GST_START_TEST):
18740         Add bus to bin.
18741
18742         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18743         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18744         (find_element), (gst_bin_sort_iterator_next),
18745         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18746         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18747         (gst_bin_change_state), (gst_bin_dispose):
18748         A bin does not have a bus, it gets the bus from the parent.
18749
18750         * gst/gstelement.c: (gst_element_requires_clock),
18751         (gst_element_provides_clock), (gst_element_is_indexable),
18752         (gst_element_is_locked_state), (gst_element_change_state),
18753         (gst_element_set_bus_func):
18754         Small cleanups.
18755
18756         * gst/gstpipeline.c: (gst_pipeline_class_init),
18757         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18758         The pipeline provides a bus.
18759
18760 2005-09-28  Johan Dahlin  <johan@gnome.org>
18761
18762         * gst/gstmessage.c (gst_message_parse_state_changed): Use
18763         gst_structure_get_enum instead of gst_structure_get_int
18764
18765         * gst/gststructure.c (gst_structure_get_enum): Impl.
18766
18767         * gst/gststructure.h (gst_structure_get_enum): Add
18768
18769         * docs/gst/gstreamer-sections.txt: Ditto
18770
18771         * gst/gstmessage.c (gst_message_new_state_changed): Use
18772         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18773         which does introspection.
18774         Reviewed by Christian Schaller
18775
18776 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18777
18778         * gst/gstinfo.c: (gst_debug_log_default):
18779           don't do dummy g_strdup()s
18780         * libs/gst/controller/gstcontroller.c:
18781         (on_object_controlled_property_changed),
18782         (gst_controlled_property_new), (gst_controller_new_valist),
18783         (gst_controller_new_list),
18784         (gst_controller_remove_properties_valist), (gst_controller_set),
18785         (gst_controller_get), (gst_controller_sync_values),
18786         (gst_controller_get_value_array), (_gst_controller_class_init),
18787         (gst_controller_get_type):
18788         * libs/gst/controller/gstcontroller.h:
18789         * libs/gst/controller/gstinterpolation.c:
18790         (gst_controlled_property_find_timed_value_node):
18791           convert // to /**/ comments
18792
18793 2005-09-28  Wim Taymans  <wim@fluendo.com>
18794
18795         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18796         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18797         (gst_bus_sync_signal_handler):
18798         * gst/gstbus.h:
18799         Added async-message and sync-message signals to the bus.
18800         Added helper BusFunc to emit signals for all posted messages.
18801
18802         * gst/gstmessage.c: (gst_message_type_get_name),
18803         (gst_message_type_to_quark), (gst_message_get_type):
18804         * gst/gstmessage.h:
18805         Register quarks for message names.
18806
18807 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18808
18809         * docs/libs/gstreamer-libs-sections.txt:
18810         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18811         (gst_controller_new_list):
18812         * libs/gst/controller/gstcontroller.h:
18813           added another constructor for language bindings
18814
18815 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18816
18817         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18818           add another check
18819         * gst/gstbus.c:
18820           add some doc
18821         * gst/gstinfo.c: (_gst_debug_init):
18822           slightly more readable color for refcount debugging
18823
18824 2005-09-28  Wim Taymans  <wim@fluendo.com>
18825
18826         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18827         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18828         (find_element), (gst_bin_sort_iterator_next),
18829         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18830         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18831         (gst_bin_change_state), (gst_bin_dispose):
18832         Small doc fixes. get_clock -> provide_clock.
18833
18834         * gst/gstelement.c: (gst_element_class_init),
18835         (gst_element_provides_clock), (gst_element_provide_clock),
18836         (gst_element_get_clock), (gst_element_commit_state),
18837         (gst_element_lost_state):
18838         * gst/gstelement.h:
18839         Make get/set_clock() symetric. Add provide_clock vmethod since
18840         that is actually what this function does.
18841
18842         * gst/gstpipeline.c: (gst_pipeline_class_init),
18843         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18844         (gst_pipeline_get_clock):
18845         get_clock -> provide_clock.
18846
18847 2005-09-28  Andy Wingo  <wingo@pobox.com>
18848
18849         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18850         lieu of real docs...
18851
18852         * gst/elements/gstfdsrc.c: Cleaned up a bit.
18853
18854 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
18855
18856         * gst/elements/gstcapsfilter.c:
18857         * gst/elements/gstfakesink.c:
18858         * gst/elements/gstfakesrc.c:
18859         * gst/elements/gstfdsink.c:
18860         * gst/elements/gstfdsrc.c:
18861         * gst/elements/gstfilesink.c:
18862         * gst/elements/gstfilesrc.c:
18863         * gst/elements/gstidentity.c:
18864         * gst/elements/gsttee.c:
18865         * gst/elements/gsttypefindelement.c:
18866           Make element details static.
18867
18868 2005-09-28  Wim Taymans  <wim@fluendo.com>
18869
18870         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18871         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18872         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18873         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18874         (gst_bin_change_state), (gst_bin_dispose):
18875         Some documentation updates.
18876         Clean up dispose handlers.
18877
18878         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18879         * gst/gstpad.c: (gst_pad_dispose):
18880         Clean up dispose handler.
18881
18882         * gst/gstpipeline.c: (gst_pipeline_change_state):
18883         Removed spurious UNLOCK.
18884
18885 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
18886
18887         * docs/gst/gstreamer-sections.txt:
18888         * gst/base/gstbasesrc.h:
18889         * gst/gstelement.h:
18890         * gst/gstevent.h:
18891         * gst/gstobject.h:
18892         * gst/gstpad.h:
18893         * gst/gstpipeline.c:
18894         * gst/gstpipeline.h:
18895         * gst/gstutils.h:
18896         * gst/gstxml.h:
18897           added two new functions to the docs
18898                 documents all undocumented GstXXXFlags
18899                 completed some incomplete docs 
18900
18901 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18902
18903         * gst/gstbin.c: (gst_bin_dispose):
18904         * gst/gstelement.c: (gst_element_dispose):
18905           remove now useless and leaky resurrection code in dispose
18906         * gst/base/gstbasesrc.c: (gst_base_src_init):
18907         * gst/gstelementfactory.c: (gst_element_factory_create):
18908         * gst/gstobject.c: (gst_object_set_parent):
18909           add some debugging
18910
18911 2005-09-27  Wim Taymans  <wim@fluendo.com>
18912
18913         * docs/design/part-TODO.txt:
18914         Update TODO.
18915
18916         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18917         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18918         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18919         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18920         (gst_bin_change_state):
18921         * gst/gstelement.h:
18922         Remove element variable, we keep element info in the iterator now.
18923
18924 2005-09-27  Andy Wingo  <wingo@pobox.com>
18925
18926         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18927         values.
18928
18929 2005-09-27  Wim Taymans  <wim@fluendo.com>
18930
18931         * check/gst/gstbin.c: (GST_START_TEST):
18932         Enable check that works now.
18933
18934         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18935         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18936         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18937         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18938         (gst_bin_change_state):
18939         * gst/gstbin.h:
18940         Redid the state change algorithm using a topological sort algo.
18941         Handles all cases correctly.
18942         Exposed iterator for state change order.
18943
18944         * gst/gstelement.h:
18945         Temp storage for state changes. Need to get rid of this soon.
18946
18947 2005-09-27  Wim Taymans  <wim@fluendo.com>
18948
18949         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18950         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18951         (link_fold_func), (gst_pad_proxy_setcaps):
18952         Leak fixes, the fold functions need to unref the passed object and
18953         _get_parent_*() returns ref to parent.
18954
18955 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18956
18957         * check/gst/gstbuffer.c: (test_make_writable):
18958           Plug leak in test case and fix 'make check-valgrind'
18959
18960 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18961
18962         * gst/gstbuffer.c: (gst_subbuffer_init):
18963           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18964           works correctly in all circumstances (we could have just copied
18965           the parent buffer's readonly flag, but conceptually it seems
18966           cleaner to mark all subbuffers as read-only). (based on patch
18967           by Alessandro Decina, #314710).
18968         
18969         * check/gst/gstbuffer.c: (create_read_only_buffer),
18970         (test_make_writable), (test_subbuffer_make_writable),
18971         (gst_test_suite):
18972           Add some tests for gst_buffer_make_writable().
18973
18974 2005-09-27  Wim Taymans  <wim@fluendo.com>
18975
18976         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18977         use gst_object_has_ancestor().
18978
18979         * gst/gstobject.c: (gst_object_has_ancestor):
18980         * gst/gstobject.h:
18981         gst_object_has_ancestor() copied from gstbin.c as it is a
18982         useful function.
18983
18984         * tests/instantiate/create.c: (create_all_elements):
18985         * tests/lat.c: (handoff_src), (handoff_sink):
18986         * tests/sched/runxml.c: (main):
18987         * tests/seeking/seeking1.c: (main):
18988         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18989         (main):
18990         Fix compilation of some tests.
18991
18992 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18993
18994         * gst/gsterror.h:
18995           Remove comment. GST_TYPE_G_ERROR is here to stay,
18996           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18997           (#316961, #300610).
18998
18999 2005-09-26  Wim Taymans  <wim@fluendo.com>
19000
19001         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19002         Added check that shows error in state change order.
19003
19004 2005-09-26  Wim Taymans  <wim@fluendo.com>
19005
19006         * gst/gstbin.c: (gst_bin_change_state):
19007         Make state change function use 3 queues again, we were
19008         adding elements in the wrong order.
19009
19010         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
19011         Some debug info,
19012
19013         * gst/gstpad.c: (gst_pad_dispose):
19014         Added some debug info first.
19015
19016 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
19017
19018         * docs/design/draft-push-pull.txt:
19019         * docs/design/part-events.txt:
19020         * docs/design/part-overview.txt:
19021         * docs/design/part-scheduling.txt:
19022           Replace all _pull_region() with _pull_range()
19023           
19024 2005-09-26  Andy Wingo  <wingo@pobox.com>
19025
19026         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
19027
19028         * check/gst-libs/controller.c: Update for controller api change.
19029
19030         * configure.ac: 
19031         * tests/Makefile.am:
19032         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
19033         over by GLib bug 118439.
19034         
19035         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
19036         routines to a function.
19037
19038         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
19039
19040         * libs/gst/controller/gsthelper.c:
19041         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
19042         (gst_object_sync_values): Renamed from sink_values. Ugh.
19043
19044         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
19045
19046         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
19047         Renamed from controller_key, as it is exported.
19048
19049         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
19050
19051 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
19052
19053         * gst/Makefile.am:
19054         * gst/gst.h:
19055         * gst/gstpad.h:
19056         * gst/gstpadtemplate.h:
19057         * gst/gstquery.c:
19058         * gst/gstquery.h:
19059         * gst/gstqueryutils.c:
19060         * gst/gstqueryutils.h:
19061           remove queryutils headers after moving the two used functions
19062           to gstquery.  also fixes build problem for gstsiddec
19063
19064 2005-09-26  Michael Smith <msmith@fluendo.com>
19065
19066         * tools/gst-launch.1.in:
19067         Correct documentation in manpage of debug syntax
19068
19069 2005-09-26  Wim Taymans  <wim@fluendo.com>
19070
19071         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19072         (gst_base_src_is_seekable), (gst_base_src_change_state):
19073         Some more debugging info.
19074
19075 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19076
19077         * docs/gst/gstreamer-sections.txt:
19078         * gst/base/gstbasetransform.h:
19079         * gst/gstindex.h:
19080           added more docs
19081
19082 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19083
19084         * docs/gst/.cvsignore:
19085         * docs/gst/tmpl/.cvsignore:
19086         * docs/gst/tmpl/gstpipeline.sgml:
19087         * docs/gst/tmpl/gstplugin.sgml:
19088         * gst/gstpipeline.c:
19089         * gst/gstplugin.c:
19090         * gst/gstplugin.h:
19091           inlined the last two docs files
19092           removed the tmpl directory from cvs (no more conflicts here!)
19093
19094 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19095
19096         * docs/gst/gstreamer-sections.txt:
19097         * docs/gst/tmpl/.cvsignore:
19098         * docs/gst/tmpl/gstpad.sgml:
19099         * docs/gst/tmpl/gstpadtemplate.sgml:
19100         * gst/Makefile.am:
19101         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
19102         (gst_pad_finalize), (gst_pad_set_pad_template):
19103         * gst/gstpad.h:
19104         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
19105         (gst_pad_template_class_init), (gst_pad_template_init),
19106         (gst_pad_template_dispose), (name_is_valid),
19107         (gst_static_pad_template_get), (gst_pad_template_new),
19108         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19109         (gst_pad_template_pad_created):
19110         * gst/gstpadtemplate.h:
19111           inlined two more docs
19112           factored gstpadtemplate out of gstpad
19113
19114 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
19115
19116         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19117         (test_children_state_change_order_semi_sink):
19118           Fix test case: we can't rely on a fixed state change order when
19119           going from READY => PAUSED because the sink might commit its 
19120           new state first when the first buffer created by the source 
19121           reaches the sink before the source has finished its change state.
19122           (Test case still fails at times, see #316856, comment 5 onwards)
19123
19124 2005-09-24  Wim Taymans  <wim@fluendo.com>
19125
19126         * docs/design/part-events.txt:
19127         * docs/design/part-gstbus.txt:
19128         * docs/design/part-gstpipeline.txt:
19129         * docs/design/part-messages.txt:
19130         * docs/design/part-overview.txt:
19131         * docs/design/part-segments.txt:
19132         * gst/gstbin.c:
19133         * gst/gstbuffer.c:
19134         * gst/gstclock.c:
19135         * gst/gstelement.c:
19136         * gst/gstevent.c:
19137         * gst/gstfilter.c:
19138         * gst/gstiterator.c:
19139         Various documentation updates.
19140
19141 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19142
19143         * gst/gstclock.h:
19144           Well, that's embarassing.  Luckily we weren't using
19145           GST_CLOCK_DIFF anywhere.
19146
19147 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19148
19149         * common/gtk-doc.mak:
19150           don't fail on building XML, FC4 slave shows a bunch of doc
19151           missing bits that I don't get
19152         * gst/gstpad.c:
19153         * gst/gstpipeline.c:
19154         * gst/gststructure.c:
19155           some doc updates
19156
19157 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19158
19159         * docs/design/part-gstbin.txt:
19160         * docs/design/part-gstbus.txt:
19161         * gst/gstbus.c:
19162           Add blurb about how the bus goes into flushing mode and
19163           drops all messages when its bin goes from READY into NULL 
19164           state.
19165
19166 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19167
19168         * docs/gst/gstreamer-sections.txt:
19169         * gst/gststructure.c: (gst_structure_get_clock_time):
19170         * gst/gststructure.h:
19171           add a method to get a GstClockTime out of a structure
19172
19173 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19174
19175         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19176         (test_children_state_change_order_semi_sink), (gst_bin_suite):
19177           Added test to check state change order in bins (can still be made
19178           to fail here under heavy disk load; bails out with 'Push on pad
19179           fakesink:sink0, but it was not activated in push mode').
19180
19181         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19182           Fix state change order when there is only a semi sink (#316856)
19183
19184         * gst/gstbus.c: (gst_bus_class_init):
19185           Use _class_peek_parent(), not _class_ref(); fix docs to say
19186           'default main context' instead of 'mainloop' where that is
19187           what's meant.
19188
19189         * gst/gstelement.c: (gst_element_commit_state),
19190         (gst_element_set_state):
19191           Fix typos in debug messages
19192
19193 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19194
19195         * docs/README:
19196         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19197         * gst/gstpluginfeature.c:
19198         * gst/gstutils.c:
19199           various doc updates
19200         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19201           change an assert into an error until it gets fixed properly
19202
19203 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
19204
19205         * docs/gst/gstreamer-sections.txt:
19206         * docs/gst/tmpl/.cvsignore:
19207         * docs/gst/tmpl/gstelement.sgml:
19208         * docs/gst/tmpl/gstinfo.sgml:
19209         * docs/gst/tmpl/gstobject.sgml:
19210         * gst/gstelement.c:
19211         * gst/gstelement.h:
19212         * gst/gstinfo.c:
19213         * gst/gstinfo.h:
19214         * gst/gstobject.c: (gst_object_class_init):
19215         * gst/gstobject.h:
19216           inlined 3 more biiiig doc files and added some missing docs on the fly
19217
19218 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19219
19220         * check/gst/.cvsignore:
19221         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19222         * gst/gstregistryxml.c: (load_plugin),
19223         (gst_registry_xml_save_plugin):
19224           put back source in registry.  add checks for find_plugin.
19225         * testsuite/states/bin.c: (assert_state), (empty_bin),
19226         (test_adding_one_element), (main):
19227         * testsuite/states/locked.c: (main):
19228           some compile/run fixes
19229
19230 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19231
19232         * check/gst/gstvalue.c: (GST_START_TEST):
19233           fix leaks in the test itself
19234
19235 2005-09-22  Wim Taymans  <wim@fluendo.com>
19236
19237         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19238         (gst_base_sink_send_event), (gst_base_sink_peer_query),
19239         (gst_base_sink_query):
19240         Prepare for more accurate position reporting and query
19241         handling.
19242
19243         * gst/gstelement.c: (gst_element_send_event),
19244         (gst_element_set_state):
19245         Add some comment.
19246
19247 2005-09-22  Wim Taymans  <wim@fluendo.com>
19248
19249         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19250         (gst_query_parse_segment):
19251         * gst/gstquery.h:
19252         More documentation.
19253         Add segment query for future use.
19254
19255 2005-09-22  Wim Taymans  <wim@fluendo.com>
19256
19257         * gst/gstbin.c: (gst_bin_add_func):
19258         Some more debug info.
19259
19260         * gst/gstelement.c: (gst_element_send_event):
19261         Simplify send_event
19262
19263         * gst/gstelement.h:
19264         Don't know how flags got broken.
19265
19266         * gst/gstquery.h:
19267         Added new query.
19268
19269 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19270
19271         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19272           Add simplistic test suite for GST_TYPE_DATE serialisation and
19273           deserialisation.
19274
19275 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19276
19277         * docs/gst/gstreamer-sections.txt:
19278         * gst/gststructure.c: (gst_structure_set_valist),
19279         (gst_structure_get_date):
19280         * gst/gststructure.h:
19281         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19282         (gst_date_copy), (gst_value_compare_date),
19283         (gst_value_serialize_date), (gst_value_deserialize_date),
19284         (gst_value_transform_date_string),
19285         (gst_value_transform_string_date), (_gst_value_initialize):
19286         * gst/gstvalue.h:
19287           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19288           bunch of utility functions along with a hack that checks that
19289           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19290           is required. Part of the grand scheme in #170777.
19291
19292 2005-09-22  Andy Wingo  <wingo@pobox.com>
19293
19294         * gst/gstconfig.h.in: Psych out gtk-doc.
19295
19296         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19297
19298         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19299
19300         * tools/gst-inspect.c (print_element_list): Plug some
19301         inconsequential leaks.
19302
19303         * gst/gstregistry.c (gst_registry_get_default): Doc.
19304
19305         * check/gst/gstplugin.c: 
19306         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19307         * gst/gstelementfactory.c (gst_element_factory_create): 
19308         * gst/gstindexfactory.c (gst_index_factory_create): Update for
19309         refcount changes.
19310
19311         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19312         (gst_plugin_feature_load): Doc, don't eat refs.
19313
19314         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19315         (gst_plugin_list_free): Doc.
19316         (gst_plugin_load_file): Doc updates.
19317
19318         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19319         accessors returning refcounted objects, return a ref.
19320
19321         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19322         accessor for caps. IDEMPOTENCE. Oh yes.
19323
19324 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
19325
19326         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19327
19328         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19329         (_gst_debug_register_funcptr):
19330           Add mutex to serialise access to the hash table with
19331           the function pointer => function name string mapping;
19332           make that hash table static scope (#316809).
19333
19334         * gst/registries/.cvsignore:
19335           Remove left-over file.
19336
19337 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19338
19339         * docs/pwg/appendix-porting.xml:
19340           And something about newsegment events and caps-on-buffers to
19341           the porting guide (feel free to improve).
19342
19343 2005-09-21  Andy Wingo  <wingo@pobox.com>
19344
19345         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19346         data and event probes on the same pad.
19347         (test_buffer_probe_once): Test that removing probes from within
19348         the probe functions works.
19349
19350 2005-09-21  Andy Wingo  <wingo@pobox.com>
19351
19352         * check/gst/gstutils.c: New file.
19353         (test_buffer_probe_n_times): A simple buffer probe test. More to
19354         come, foolios.
19355
19356         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19357         have-data::buffer, not have-data.
19358         (gst_pad_add_event_probe): Likewise for have-data::event.
19359         (gst_pad_add_data_probe): More docs. The part about 'resolving the
19360         peer' isn't quite right yet though.
19361         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
19362         (gst_pad_remove_data_probe): Change to take the guint handler_id
19363         as their arg, not the function+data, which is more glib-like.
19364
19365         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19366         the signal emission to indicate if the data is a buffer or an
19367         event.
19368         (gst_pad_get_type): Initialize buffer and event quarks.
19369         (gst_pad_class_init): have-data is now a detailed signal, yes it
19370         is.
19371
19372 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19373
19374         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19375         * gst/gstutils.c: (gst_util_set_value_from_string),
19376         (gst_util_set_object_arg):
19377           Don't put functional code in g_return_if_fail() or
19378           g_return_val_if_fail() statements, otherwise things will 
19379           break when G_DISABLE_CHECKS is defined during compilation.
19380
19381 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19382
19383         * docs/gst/tmpl/.cvsignore:
19384         * docs/gst/tmpl/gstvalue.sgml:
19385         * gst/gstvalue.c:
19386         * gst/gstvalue.h:
19387           inlied another one and added  some obvious docs
19388
19389 2005-09-21  Wim Taymans  <wim@fluendo.com>
19390
19391         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19392         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19393         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19394         (gst_fdsrc_get_property), (gst_fdsrc_create):
19395         * gst/elements/gstfdsrc.h:
19396         Properly implement fdsrc. Removed signal and timeout,
19397         better implemented somewhere else.
19398
19399 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19400
19401         * docs/gst/tmpl/.cvsignore:
19402         * docs/gst/tmpl/gstimplementsinterface.sgml:
19403         * gst/gstinterface.c:
19404           inlined more docs
19405
19406 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19407
19408         * docs/gst/gstreamer-sections.txt:
19409         * docs/gst/tmpl/.cvsignore:
19410         * docs/gst/tmpl/gstenumtypes.sgml:
19411           remove obsolete doc file
19412
19413 2005-09-21  David Schleef  <ds@schleef.org>
19414
19415         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19416         little beer, fix a little leak.
19417
19418 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19419
19420         * docs/gst/gstreamer-docs.sgml:
19421         * docs/gst/gstreamer-sections.txt:
19422         * docs/gst/tmpl/.cvsignore:
19423         * gst/Makefile.am:
19424         * gst/gst.h:
19425         * gst/gstbin.c:
19426         * gst/gstelement.h:
19427         * gst/gstindex.c: (gst_index_class_init):
19428         * gst/gstindex.h:
19429         * gst/gstindexfactory.c: (gst_index_factory_get_type),
19430         (gst_index_factory_class_init), (gst_index_factory_init),
19431         (gst_index_factory_finalize), (gst_index_factory_new),
19432         (gst_index_factory_destroy), (gst_index_factory_find),
19433         (gst_index_factory_create), (gst_index_factory_make):
19434         * gst/gstindexfactory.h:
19435         * gst/gstpluginfeature.c:
19436         * gst/gstpluginfeature.h:
19437         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19438           more docs inlined, splitted gstindex.{c,h}
19439
19440 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19441
19442         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19443           fix a leak
19444
19445 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19446
19447         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19448           Set sync to FALSE by default.
19449
19450 2005-09-20  Wim Taymans  <wim@fluendo.com>
19451
19452         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19453         (gst_base_sink_init):
19454         Make sync property settable from subclass.
19455
19456         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19457         (gst_fake_sink_change_state):
19458         Set sync to FALSE by default.
19459
19460 2005-09-20  Wim Taymans  <wim@fluendo.com>
19461
19462         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19463         * tools/gst-launch.c: (main):
19464         The timeout handler should have lower priority than the source
19465         so we don't timeout before popping a message with 0 timeout.
19466         Dump error messages after failed state change.
19467
19468 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19469
19470         * tools/gst-inspect.c: (print_element_properties_info):
19471           Fix two typos.
19472
19473 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19474
19475         * check/gst/gstevent.c:
19476         * gst/elements/gstfakesink.c:
19477         * gst/elements/gstfakesink.h:
19478           remove the sync property from fakesink.
19479           has the side effect of setting sync TRUE
19480           for fakesink, which is a change.  Anyone who knows how
19481           to fix this nicely in a GObject-y way, feel free.
19482
19483 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19484
19485         * docs/gst/gstreamer-docs.sgml:
19486           remove probe refsection
19487
19488 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19489
19490         * check/Makefile.am:
19491           disable valgrinding the controller test again
19492         * docs/gst/gstreamer-sections.txt:
19493           update for api-changes
19494
19495 2005-09-20  Wim Taymans  <wim@fluendo.com>
19496
19497         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19498         (gst_base_sink_set_property), (gst_base_sink_get_property),
19499         (gst_base_sink_do_sync):
19500         * gst/base/gstbasesink.h:
19501         Added sync property to basesink to disable clock sync.
19502
19503 2005-09-20  Andy Wingo  <wingo@pobox.com>
19504
19505         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19506         eating the caller's refcount.
19507
19508         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
19509         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19510         refcount.
19511
19512         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19513         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19514         of GLib 2.8 public, so we can know which refcount to check in
19515         tests.
19516
19517         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19518         (gst_object_init): Only set the gst refcount if we're going ahead
19519         with the refcount hack.
19520
19521 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19522
19523         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19524         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19525           more leaks plumbed, added more debug-logging
19526         * gst/gstmacros.h:
19527           whitespace fix
19528
19529 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19530
19531         * gst/gstmessage.c:
19532           remove include of gstmemchunk.h
19533
19534 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19535
19536         * gst/gstclock.c: (_gst_clock_id_free):
19537           Commit from the Political Party For More Atomic CVS Commits,
19538           so that people don't waste too much of their day fishing
19539           out obvious leaks out of massive commits.
19540           Oh, and fix a pretty damn obvious leak in the memchunk
19541           removal code.
19542
19543 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19544
19545         * check/Makefile.am:
19546         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19547           plug mem-leak, re-add to valgrindable tests
19548
19549 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19550
19551         * gst/gstplugin.h:
19552           unbreak the build for those who have chronic arthritis
19553           and typing "make check" is just too taxing on the hands
19554
19555 2005-09-20  Andy Wingo  <wingo@pobox.com>
19556
19557         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19558         really want it out, you should fix plugins at the same time.
19559
19560 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
19561
19562         * configure.ac:
19563         * docs/gst/gstreamer-sections.txt:
19564         * gst/gstobject.c:
19565           added missing symbols to api docs
19566           disable ref-count hack if we have glib >= 2.8
19567
19568 2005-09-19  David Schleef  <ds@schleef.org>
19569
19570         * docs/gst/Makefile.am: Ignore a few more internal headers
19571         * docs/gst/gstreamer-docs.sgml: Remove old sections
19572         * docs/gst/gstreamer-sections.txt: Remove old sections
19573         * docs/gst/tmpl/gstobject.sgml: update
19574         * docs/gst/tmpl/gstplugin.sgml: update
19575         * docs/gst/tmpl/gstpluginfeature.sgml: update
19576         * docs/random/ds/0.9-suggested-changes: update.
19577         * gst/Makefile.am: remove memchunk and trashstack, since they're
19578           not used.
19579         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19580         * gst/gst.h: don't include some headers
19581         * gst/gstchildproxy.c: add gstmarshal.h
19582         * gst/gstclock.c: Don't use memchunks
19583         * gst/gstminiobject.c: Add some docs
19584         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19585         * gst/gstobject.h: same
19586         * gst/gstplugin.c: include gstmacros.h
19587         * gst/gstplugin.h: don't include gstmacros.h, since it's private
19588         * gst/gstquery.c: don't use memchunks
19589         * gst/gstregistry.c: rename gst_registry_deinit()
19590         * gst/gstregistry.h: same
19591
19592 2005-09-19  David Schleef  <ds@schleef.org>
19593
19594         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19595         * docs/libs/gstreamer-libs-sections.txt:
19596         * docs/libs/tmpl/gstgetbits.sgml:
19597         * docs/libs/tmpl/gstputbits.sgml:
19598
19599 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
19600
19601         * win32/gstenumtypes.c:
19602         * win32/gstenumtypes.h:
19603           Update.
19604
19605 2005-09-19  Wim Taymans  <wim@fluendo.com>
19606
19607         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19608         Automatically PAUSE and RESUME a pipeline when a flushing seek
19609         is performed.
19610
19611 2005-09-19  Andy Wingo  <wingo@pobox.com>
19612
19613         * gst/gstregistry.h: Spacing fixen.
19614
19615 2005-09-19  Wim Taymans  <wim@fluendo.com>
19616
19617         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19618         Handle state change failure more correctly.
19619
19620 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19621
19622         * check/Makefile.am:
19623         * check/pipelines/cleanup.c: (run_pipeline):
19624         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19625         (GST_START_TEST):
19626           enable cleanup again after fixing the leak
19627         * docs/README:
19628           some more info on docs
19629
19630 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19631
19632         * check/Makefile.am:
19633           re-enable tests now that leaks are plugged
19634         * check/gst/gst.c:
19635         * check/gst/gstbin.c:
19636         * check/gst/gstpipeline.c:
19637           add some more tests while fixing leaks
19638         * common/check.mak:
19639           make sure binaries are uptodate when valgrinding/gdbing
19640         * gst/gst.c:
19641         * gst/gstelementfactory.c:
19642           remove a ref too many, and add a FIXME for when we get
19643           round to disposing of classes
19644         * gst/gstplugin.c:
19645           fix the refcounting when loading a plugin from a file and
19646           the code pretends that the pointer is the same even though
19647           of course it can change
19648         * gst/gstpluginfeature.c:
19649           unref plugins marked cached (a bit confusing as a name)
19650           as the docs state should be done
19651           various doc additions to explain refcounting
19652         * gst/gstregistry.c:
19653         * gst/gstregistryxml.c:
19654           debugging
19655
19656 2005-09-19  Wim Taymans  <wim@fluendo.com>
19657
19658         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19659         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19660         (send_messages), (GST_START_TEST), (gstbus_suite):
19661         * check/gst/gstpipeline.c: (GST_START_TEST):
19662         * check/pipelines/cleanup.c: (run_pipeline):
19663         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19664         (GST_START_TEST):
19665         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19666         (gst_bus_source_check), (gst_bus_source_dispatch),
19667         (gst_bus_create_watch), (gst_bus_add_watch_full),
19668         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19669         * gst/gstbus.h:
19670         * tools/gst-launch.c: (event_loop):
19671         * tools/gst-md5sum.c: (event_loop):
19672         GstBusHandler -> GstBusFunc, return value has the same meaning as
19673         any other GSource (FALSE == remove source).
19674         _add_watch() and _add_watch_full() now take a MessageType mask to
19675         only handle specific types of messages.
19676         _poll() returns the GstMessage instead of the message type to avoid
19677         race conditions.
19678         _have_pending() takes a MessageType mask now too.
19679         Added testsuite for multiple bus watches.
19680         Fix testsuites and applications for new bus API.
19681
19682 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19683
19684         * check/Makefile.am:
19685           mark a bunch of the tests as to fix until we fix them
19686
19687 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19688
19689         * common/check.mak:
19690           use GST_PLUGIN settings for valgrind tests as well, so we're
19691           valgrinding the correct thing
19692         * gst/gst.c: (init_post):
19693           plug another leak
19694
19695 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19696
19697         * gst/gst.c: (init_post), (gst_deinit):
19698         * gst/gstelementfactory.c: (gst_element_factory_class_init),
19699         (gst_element_factory_finalize), (gst_element_factory_cleanup):
19700         * gst/gstindex.c: (gst_index_factory_class_init),
19701         (gst_index_factory_finalize):
19702         * gst/gstobject.c: (gst_object_dispose):
19703         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19704         (gst_plugin_load_file), (gst_plugin_desc_free):
19705         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19706         (gst_plugin_feature_finalize):
19707         * gst/gstregistry.c: (gst_registry_class_init),
19708         (gst_registry_init), (gst_registry_finalize),
19709         (gst_registry_get_default), (gst_registry_deinit):
19710         * gst/gstregistry.h:
19711         * gst/gstregistryxml.c: (load_feature), (load_plugin):
19712           various cleanups and memleak plugging.  make valgrind is happy now.
19713
19714 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19715
19716         * common/check.mak:
19717           add a check-valgrind target
19718
19719 2005-09-18  David Schleef  <ds@schleef.org>
19720
19721         * tools/gst-inspect.c: Revert the GOption code.
19722
19723 2005-09-17  David Schleef  <ds@schleef.org>
19724
19725         * check/Makefile.am: Fix environment variables.
19726         * check/gst/gstplugin.c: Fix for API changes.
19727         * tools/gst-inspect.c: Fix for API changes.
19728         * tools/gst-xmlinspect.c: Fix for API changes.
19729         * gst/gstelementfactory.c:
19730         * gst/gstplugin.c:
19731         * gst/gstplugin.h:
19732         * gst/gstpluginfeature.c:
19733         * gst/gstpluginfeature.h:
19734         * gst/gstregistry.c:
19735         * gst/gstregistry.h:
19736         * gst/gstregistryxml.c:
19737         * gst/gsttypefind.c:
19738         * gst/gsttypefindfactory.c:
19739         * gst/indexers/gstfileindex.c:
19740         * gst/indexers/gstmemindex.c:
19741         * gst/schedulers/Makefile.am:
19742           Change registry to keep track of both plugins and features,
19743           removing the feature tracking from plugins themselves.
19744
19745 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19746
19747         * check/Makefile.am:
19748         * tools/gst-register.1.in:
19749           remove gst-register
19750
19751 2005-09-15  David Schleef  <ds@schleef.org>
19752
19753         * check/gst/gstplugin.c:
19754         * gst/gstelementfactory.c:
19755         * gst/gstplugin.c:
19756         * gst/gstpluginfeature.c:
19757         * gst/gstregistry.c:
19758           Getting tired of debugging.  Disabled all the unreffing of
19759           plugins and features, which fixes the segfaults, but of
19760           course leaks like crazy.  At least playbin works.
19761
19762 2005-09-15  David Schleef  <ds@schleef.org>
19763
19764         * check/gst/gstplugin.c: (register_check_elements),
19765         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19766         More testing
19767         * gst/elements/gsttypefindelement.c: Fix refcounting.
19768         * gst/gsttypefind.c:
19769         * gst/gsttypefindfactory.c:
19770         * gst/gsttypefindfactory.h:
19771
19772 2005-09-15  David Schleef  <ds@schleef.org>
19773
19774         * gst/gstindex.c: get refcounting correct.
19775         * gst/gstregistry.c: Handle the case where a feature/plugin is
19776           not found.
19777
19778 2005-09-15  David Schleef  <ds@schleef.org>
19779
19780         * check/Makefile.am:
19781         * check/gst/gstplugin.c: Add test
19782         * gst/gstplugin.c: Fix problems noticed by testsuite
19783         * gst/gstplugin.h:
19784         * gst/gstregistry.c: 
19785         * gst/gstregistry.h:
19786
19787 2005-09-15  David Schleef  <ds@schleef.org>
19788
19789         * gst/gstplugin.c: Implement semi-decent recounting and locking
19790           in plugins and plugin features.
19791         * gst/gstplugin.h:
19792         * gst/gstpluginfeature.c:
19793         * gst/gstpluginfeature.h:
19794         * gst/gstregistry.c:
19795
19796 2005-09-15  Michael Smith <msmith@fluendo.com>
19797
19798         * gst/gstregistry.c: (gst_registry_get_feature_list):
19799           Implement this. Makes oggdemux work; decodebin still broken.
19800
19801 2005-09-14  David Schleef  <ds@schleef.org>
19802
19803         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19804           #316076)
19805         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19806         * gst/check/Makefile.am:
19807         * libs/gst/controller/Makefile.am:
19808         * libs/gst/dataprotocol/Makefile.am:
19809
19810 2005-09-14  David Schleef  <ds@schleef.org>
19811
19812         * configure.ac: Remove getbits library.  Nothing uses it, and
19813           it should be in something like liboil if someone did want
19814           to use it.
19815         * libs/gst/Makefile.am:
19816         * libs/gst/getbits/Makefile.am:
19817         * libs/gst/getbits/gbtest.c:
19818         * libs/gst/getbits/getbits.c:
19819         * libs/gst/getbits/getbits.h:
19820         * libs/gst/getbits/gstgetbits_generic.c:
19821         * libs/gst/getbits/gstgetbits_i386.s:
19822         * libs/gst/getbits/gstgetbits_inl.h:
19823
19824 2005-09-14  David Schleef  <ds@schleef.org>
19825
19826         * gst/Makefile.am: Dist glib-compat.h
19827
19828 2005-09-14  David Schleef  <ds@schleef.org>
19829
19830         * configure.ac: Remove gst/registries, since it's no longer used.
19831         * gst/registries/Makefile.am:
19832         * gst/registries/gstlibxmlregistry.c:
19833         * gst/registries/gstlibxmlregistry.h:
19834         * gst/registries/gstxmlregistry.c:
19835         * gst/registries/gstxmlregistry.h:
19836         * gst/registries/registrytest.c:
19837
19838 2005-09-14  David Schleef  <ds@schleef.org>
19839
19840         * gst/glib-compat.h:
19841         * gst/gstregistryxml.c:
19842           Convergence is near.  Seriously.
19843
19844 2005-09-14  David Schleef  <ds@schleef.org>
19845
19846         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19847         * gst/glib-compat.h:
19848           Attempt #4 to appease the buildbots.
19849
19850 2005-09-14  David Schleef  <ds@schleef.org>
19851
19852         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19853           Attempt #3.
19854
19855 2005-09-14  David Schleef  <ds@schleef.org>
19856
19857         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19858         Attempt #2.
19859
19860 2005-09-14  David Schleef  <ds@schleef.org>
19861
19862         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19863           the new functions.
19864
19865 2005-09-14  David Schleef  <ds@schleef.org>
19866
19867         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19868         * gst/glib-compat.h: Add some functions that are in newer versions
19869           of glib than we care to require.
19870         * gst/gstregistryxml.c: Use them.
19871
19872 2005-09-14  David Schleef  <ds@schleef.org>
19873
19874         * po/POTFILES.in: remove gst-register.c
19875
19876 2005-09-14  David Schleef  <ds@schleef.org>
19877
19878         * docs/gst/gstreamer-docs.sgml:
19879         * docs/gst/gstreamer-sections.txt:
19880         * docs/gst/gstreamer.types:
19881         * docs/gst/tmpl/gstelement.sgml:
19882         * docs/gst/tmpl/gstplugin.sgml:
19883         * docs/gst/tmpl/gstpluginfeature.sgml:
19884           Documentation updates for registry changes.
19885
19886 2005-09-14  David Schleef  <ds@schleef.org>
19887
19888         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19889           because we don't require glib-2.8.
19890
19891 2005-09-14  David Schleef  <ds@schleef.org>
19892
19893         * gst/gstregistryxml.c: Added.  Essentially moved out of the
19894           registries directory.
19895
19896 2005-09-14  David Schleef  <ds@schleef.org>
19897
19898         * check/Makefile.am:
19899         * check/generic/states.c:
19900         * gst/Makefile.am:
19901         * gst/gst.c:
19902         * gst/gst.h:
19903         * gst/gst_private.h:
19904         * gst/gstelementfactory.c:
19905         * gst/gstindex.c:
19906         * gst/gstinfo.c:
19907         * gst/gstplugin.c:
19908         * gst/gstplugin.h:
19909         * gst/gstpluginfeature.c:
19910         * gst/gstpluginfeature.h:
19911         * gst/gstregistry.c:
19912         * gst/gstregistry.h:
19913         * gst/gstregistrypool.c: remove
19914         * gst/gstregistrypool.h: remove
19915         * gst/gsttypefind.c:
19916         * gst/gsttypefindfactory.c:
19917         * gst/gsturi.c:
19918         * tools/Makefile.am:
19919         * tools/gst-compprep.c:
19920         * tools/gst-inspect.c:
19921         * tools/gst-register.c: remove
19922         * tools/gst-xmlinspect.c:
19923           Registry rewrite.  Changes registry from being a file created
19924           by a tool into a simple cache file created automatically by 
19925           libgstreamer.  Removed gst-register (because it's no longer
19926           needed).  Remove registry pools, because we only have one
19927           registry implementation (XML).  Fix up other subsystems as
19928           necessary.
19929
19930 2005-09-13  Michael Smith <msmith@fluendo.com>
19931
19932         * gst/gstconfig.h.in:
19933           Don't Use windows linking attributes for MinGW. Fixes #316157
19934
19935 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19936
19937         * gst/gstutils.c: (set_state_async_thread_func),
19938         (gst_element_set_state_async):
19939           Apparently people think it's better if this function doesn't
19940           try to set the state to whatever state was asked for on the first
19941           call to this function for any object.  Seriously.
19942
19943 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19944
19945         * check/gst/gstpipeline.c: (GST_START_TEST):
19946         * docs/gst/gstreamer-sections.txt:
19947         * gst/gstutils.c: (set_state_async_thread_func),
19948         (gst_element_set_state_async):
19949         * gst/gstutils.h:
19950           add a "gst_element_set_state_async" method that
19951           sets the state and starts a thread to make sure the state
19952           change completes as best as it can
19953
19954 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19955
19956         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19957           codify design+behaviour in testsuite after discussion
19958
19959 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19960
19961         * docs/gst/tmpl/gstelement.sgml:
19962         * docs/manual/appendix-quotes.xml:
19963           add a quote
19964         * gst/gstelement.c: (gst_element_set_state):
19965           add some debug
19966
19967 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
19968
19969         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19970         (gst_base_transform_prepare_output_buf),
19971         (gst_base_transform_handle_buffer):
19972         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19973         (gst_capsfilter_prepare_buf):
19974           Remove the requirement for sub-classes to call the parent
19975           implementation of prepare_output_buffer with a wrapper function.
19976           
19977         * gst/gsttaglist.h:
19978         * gst/gsttagsetter.h:
19979           Fix #define wrapper
19980
19981 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
19982
19983         * docs/gst/gstreamer-sections.txt:
19984           more doc cleanups
19985
19986 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19987
19988         * docs/gst/gstreamer-sections.txt:
19989         * docs/gst/tmpl/gstelement.sgml:
19990         * docs/gst/tmpl/gstplugin.sgml:
19991         * gst/gstminiobject.c:
19992         * gst/gstvalue.h:
19993           docs now stop throwing warnings
19994
19995 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19996
19997         * docs/gst/gstreamer-sections.txt:
19998         * docs/gst/gstreamer.types:
19999         * docs/gst/tmpl/gstpad.sgml:
20000         * docs/gst/tmpl/gsttypes.sgml:
20001         * gst/base/gstadapter.h:
20002         * gst/base/gstbasesink.h:
20003         * gst/base/gstbasesrc.h:
20004         * gst/gstbin.h:
20005         * gst/gstbuffer.h:
20006         * gst/gstbus.h:
20007         * gst/gstcaps.h:
20008         * gst/gstclock.h:
20009         * gst/gstelement.h:
20010         * gst/gstevent.h:
20011         * gst/gstmessage.h:
20012         * gst/gstpad.h:
20013         * gst/gststructure.c:
20014         * gst/registries/gstlibxmlregistry.h:
20015           various documentation fixes
20016
20017 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20018
20019         * docs/gst/gstreamer-sections.txt:
20020         * docs/gst/tmpl/gstvalue.sgml:
20021           rearrange gstvalue section
20022         * gst/gstutils.c: (gst_element_state_get_name):
20023           NONE -> VOID
20024         * gst/gstvalue.c: (_gst_value_initialize):
20025         * gst/gstvalue.h:
20026           doc updates
20027
20028 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
20029
20030         * check/gst-libs/controller.c:
20031           Header include fix.
20032         * gst/base/gstbasetransform.c:
20033         (gst_base_transform_default_prepare_buf),
20034         (gst_base_transform_handle_buffer):
20035         * gst/base/gstbasetransform.h:
20036           Some more basetransform changes and fixes to enable sub-classes
20037           that modify buffer metadata only.
20038         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20039         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
20040         (gst_capsfilter_prepare_buf):
20041           If the output pad has fixed allowed caps and input buffers 
20042           don't have any, set the fixed caps on outgoing buffers.
20043
20044 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
20045         * check/elements/identity.c: (GST_START_TEST):
20046           Make the error a little clearer when the test fails because
20047           identity made a copy of the buffer.
20048         * docs/gst/gstreamer-sections.txt:
20049           New symbols in gstbasetransform.h
20050         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20051         (gst_base_transform_init), (gst_base_transform_transform_size),
20052         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20053         (gst_base_transform_default_prepare_buf),
20054         (gst_base_transform_get_unit_size),
20055         (gst_base_transform_buffer_alloc),
20056         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
20057         (gst_base_transform_change_state),
20058         (gst_base_transform_set_passthrough),
20059         (gst_base_transform_set_in_place),
20060         (gst_base_transform_is_in_place):
20061         * gst/base/gstbasetransform.h:
20062           Change BaseTransform to separate in_place operate from same_caps
20063           output. in_place implies that the element can perform the transform
20064           on incoming buffers in-place, even if the caps on the output are
20065           different.
20066           Sub-class elements can now implement special buffer allocation
20067           methods for outgoing buffers if they wish to.
20068           Big documentation addition.
20069         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
20070         * gst/elements/gstelements.c:
20071           Changes for basetransform modifications.
20072         * gst/elements/Makefile.am:
20073         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
20074           Compile fix. Extra debug output.
20075
20076 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20077
20078         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
20079         (gst_pad_suite):
20080           add tests for valid pad naming
20081         * gst/check/gstcheck.c: (gst_check_log_message_func),
20082         (gst_check_log_critical_func):
20083           add ASSERT_WARNING
20084           remove printing of code, it is fragile when the code contains
20085           % and the line number is enough info
20086         * gst/check/gstcheck.h:
20087         * gst/gstpad.c: (gst_pad_template_new):
20088           fix memleaks
20089
20090 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20091
20092         * configure.ac:
20093           say what CHECK flags we use
20094         * docs/libs/gstreamer-libs.types:
20095         * libs/gst/controller/Makefile.am:
20096         * libs/gst/controller/gst-controller.c:
20097         * libs/gst/controller/gst-controller.h:
20098         * libs/gst/controller/gst-helper.c:
20099         * libs/gst/controller/gst-interpolation.c:
20100         * libs/gst/controller/gstcontroller.c:
20101         * libs/gst/controller/gsthelper.c:
20102         * libs/gst/controller/gstinterpolation.c:
20103         * tools/gst-inspect.c: (print_plugin_info):
20104           we don't use dashes in header names
20105
20106 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20107
20108         * check/Makefile.am:
20109         * check/gst/.cvsignore:
20110         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20111         (gst_pipeline_suite), (main):
20112           adding a test for pipelines and state changes
20113         * gst/gstutils.c: (get_state_func):
20114           add some debugging
20115         * gstreamer.spec.in:
20116           fix up spec file
20117
20118 2005-09-08  Michael Smith <msmith@fluendo.com>
20119
20120         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20121         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20122         (gst_file_src_is_seekable), (gst_file_src_get_size),
20123         (gst_file_src_start):
20124         * gst/elements/gstfilesrc.h:
20125           Various fixes for unseekable, unmmapable, and non-normal files, so
20126           that fallback to read() rather than mmap() works.
20127         * gst/gstevent.c: (gst_event_new_newsegment):
20128           Allow newsegment events with segment_start == segment_end, as will
20129           correctly happen if you use filesrc on a zero-size file, for
20130           example.
20131
20132 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20133
20134         * gst/gstplugin.c: (gst_plugin_load_file):
20135           Call g_module_close when we don't load the module
20136
20137         * gst/registries/gstlibxmlregistry.c:
20138         (gst_xml_registry_get_property):
20139           Port leak fix from 0.8
20140
20141 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20142
20143         * docs/gst/gstreamer-docs.sgml:
20144         * docs/gst/tmpl/.cvsignore:
20145         * docs/gst/tmpl/gsttrace.sgml:
20146         * docs/gst/tmpl/gsttrashstack.sgml:
20147         * gst/Makefile.am:
20148         * gst/gst.h:
20149         * gst/gstelement.h:
20150         * gst/gstevent.h:
20151         * gst/gstmessage.c:
20152         * gst/gstmessage.h:
20153         * gst/gsttag.c:
20154         * gst/gsttag.h:
20155         * gst/gsttaginterface.c:
20156         * gst/gsttaginterface.h:
20157         * gst/gsttaglist.c:
20158         * gst/gsttaglist.h:
20159         * gst/gsttagsetter.c:
20160         * gst/gsttagsetter.h:
20161         * gst/gsttrace.c:
20162         * gst/gsttrace.h:
20163         * gst/gsttrashstack.c:
20164           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20165           inlined docs for gsttrace, gsttrashstack
20166
20167 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20168
20169         * gst/Makefile.am:
20170         * gst/elements/gstbufferstore.h:
20171         * gst/elements/gsttypefindelement.c:
20172         * gst/elements/gsttypefindelement.h:
20173         * gst/gst.h:
20174         * gst/gsttypefind.c:
20175         * gst/gsttypefind.h:
20176         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20177         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20178         (gst_type_find_factory_dispose),
20179         (gst_type_find_factory_unload_thyself),
20180         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20181         (gst_type_find_factory_get_caps),
20182         (gst_type_find_factory_get_extensions),
20183         (gst_type_find_factory_call_function):
20184         * gst/gsttypefindfactory.h:
20185         * gst/registries/gstlibxmlregistry.c:
20186         * gst/registries/gstxmlregistry.c:
20187           splitted gsttypefind into gsttypefind, gsttypefindfactory
20188
20189 2005-09-07  Andy Wingo  <wingo@pobox.com>
20190
20191         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20192         condition whereby the pad's task function is entered before the
20193         pad_mode variable was set.
20194
20195 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20196
20197         * gst/gstpad.c: (gst_pad_alloc_buffer):
20198           Catch misbehaving pad_alloc functions that don't
20199           set up caps and do it for them.
20200
20201 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20202
20203         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20204           test for pipe!=NULL
20205         * docs/gst/tmpl/.cvsignore:
20206         * docs/gst/tmpl/gstmemchunk.sgml:
20207         * docs/gst/tmpl/gstparse.sgml:
20208         * docs/gst/tmpl/gsttaglist.sgml:
20209         * docs/gst/tmpl/gsttagsetter.sgml:
20210         * docs/gst/tmpl/gsttypefind.sgml:
20211         * docs/gst/tmpl/gsttypefindfactory.sgml:
20212         * gst/gstmemchunk.c:
20213         * gst/gstparse.c:
20214         * gst/gsttag.c:
20215         * gst/gsttaginterface.c:
20216         * gst/gsttypefind.c:
20217         * gst/gsttypefind.h:
20218           inlined more docs
20219
20220 === release 0.9.2 ===
20221
20222 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20223
20224         * NEWS:
20225         * RELEASE:
20226         * configure.ac:
20227           releasing 0.9.2, "South"
20228
20229 2005-09-05  Andy Wingo  <wingo@pobox.com>
20230
20231         * gst/registries/gstxmlregistry.h:
20232         * gst/registries/gstxmlregistry.c: Um... resurrect...
20233         
20234         * gst/registries/gstxmlregistry.h:
20235         * gst/registries/gstxmlregistry.c: and update to newer API.
20236         Incidentally they should be a bit faster now that they don't have
20237         to parse the caps.
20238         
20239 2005-09-05  Andy Wingo  <wingo@pobox.com>
20240
20241         * gst/registries/gstxmlregistry.h:
20242         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20243         replaced by the libxml registry a while back
20244
20245 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20246
20247         * docs/gst/tmpl/gstplugin.sgml:
20248         * gst/elements/gstelements.c:
20249         * gst/gst.c:
20250         * gst/gstplugin.c: (gst_plugin_register_func),
20251         (gst_plugin_desc_copy), (gst_plugin_desc_free),
20252         (gst_plugin_get_source):
20253         * gst/gstplugin.h:
20254         * gst/registries/gstlibxmlregistry.c: (load_plugin),
20255         (gst_xml_registry_save_plugin):
20256         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20257         (gst_xml_registry_save_plugin):
20258         * tools/gst-inspect.c: (print_plugin_info):
20259           add a "source" plugin description field, to represent the source
20260           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
20261           will set it to PACKAGE, which is automake's idea of the name of
20262           the source project.
20263
20264 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20265
20266         * Makefile.am:
20267         * autogen.sh:
20268         * configure.ac:
20269         * docs/Makefile.am:
20270         * docs/faq/Makefile.am:
20271         * docs/gst/tmpl/gstelement.sgml:
20272         * docs/gst/tmpl/gsttypes.sgml:
20273         * docs/htmlinstall.mak:
20274         * docs/manual/Makefile.am:
20275         * docs/pwg/Makefile.am:
20276           reorganize doc build a little
20277           split out docbook and gtk-doc stuff
20278           have two separate --enable's and enable them through autogen
20279           but disable by default in configure (to be similar to other
20280           projects)
20281         * gstreamer.spec.in:
20282           clean up docs install
20283         * po/af.po:
20284         * po/az.po:
20285         * po/ca.po:
20286         * po/cs.po:
20287         * po/de.po:
20288         * po/en_GB.po:
20289         * po/fr.po:
20290         * po/it.po:
20291         * po/nb.po:
20292         * po/nl.po:
20293         * po/ru.po:
20294         * po/sq.po:
20295         * po/sr.po:
20296         * po/sv.po:
20297         * po/tr.po:
20298         * po/uk.po:
20299         * po/vi.po:
20300           translation updates
20301
20302 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
20303
20304         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20305           Add comment.
20306           
20307         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20308         (gst_fake_sink_change_state):
20309           Make state change function thread-safe.
20310           
20311         * gst/gstpad.c: (gst_pad_alloc_buffer):
20312           Set offset on generic buffer allocated by fallback.
20313
20314 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
20315
20316         * docs/gst/gstreamer-sections.txt:
20317         * docs/gst/tmpl/gstelement.sgml:
20318         * gst/gstpad.c:
20319         * libs/gst/controller/gst-controller.c:
20320         (gst_controlled_property_set_interpolation_mode),
20321         (gst_controlled_property_new),
20322         (gst_controller_find_controlled_property):
20323          run the wingo-magic script against the docs
20324
20325 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20326
20327         * docs/gst/gstreamer-docs.sgml:
20328         * docs/gst/gstreamer-sections.txt:
20329         * docs/gst/tmpl/.cvsignore:
20330         * docs/gst/tmpl/gstelementdetails.sgml:
20331         * docs/gst/tmpl/gstelementfactory.sgml:
20332         * gst/gst.c:
20333         * gst/gstbus.c:
20334         * gst/gstelementfactory.c:
20335         * gst/gstelementfactory.h:
20336           merged elementdetails docs into elementfactory docs
20337           inlined both
20338
20339 2005-09-02  Andy Wingo  <wingo@pobox.com>
20340
20341         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20342         consider this enum an enum and not a flags.
20343
20344 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20345
20346         * docs/gst/gstreamer-docs.sgml:
20347         * docs/gst/tmpl/.cvsignore:
20348         * docs/gst/tmpl/gstghostpad.sgml:
20349         * docs/gst/tmpl/gstiterator.sgml:
20350         * docs/gst/tmpl/gstmacros.sgml:
20351         * docs/gst/tmpl/gstrealpad.sgml:
20352         * docs/gst/tmpl/gstregistry.sgml:
20353         * docs/gst/tmpl/gstregistrypool.sgml:
20354         * docs/gst/tmpl/gststructure.sgml:
20355         * docs/gst/tmpl/gstsystemclock.sgml:
20356         * docs/gst/tmpl/gsttrace.sgml:
20357         * gst/gstghostpad.c:
20358         * gst/gstmacros.h:
20359         * gst/gstmemchunk.c:
20360         * gst/gstmemchunk.h:
20361         * gst/gstqueue.c:
20362         * gst/gstregistry.c:
20363         * gst/gstregistrypool.c:
20364         * gst/gststructure.c:
20365         * gst/gstsystemclock.c:
20366           more docs inlined
20367
20368 2005-09-02  Andy Wingo  <wingo@pobox.com>
20369
20370         * gst/gstelement.h (GstState): Renamed from GstElementState,
20371         changed to be a normal enum instead of flags.
20372         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20373         munged to be GST_STATE_CHANGE_*.
20374         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20375         work with the new state representation.
20376         (GstStateChange): New enumeration of possible state transitions.
20377         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20378         (GstElementClass::change_state): Pass the GstStateChange along as
20379         an argument. Helps language bindings, so they don't have to use
20380         tricky lock-needing macros like GST_STATE_CHANGE ().
20381
20382         * scripts/update-states (file): New script. Run it on a file to
20383         update it for state naming and API changes. Updates files in
20384         place.
20385
20386         * All files updated for the new API.
20387
20388 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20389
20390         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20391         * gst/gstutils.c: (gst_util_set_value_from_string),
20392         (gst_util_set_object_arg):
20393           fix a bunch of unchecked return values
20394         * tools/gst-complete.c: (main):
20395         * gstreamer.spec.in:
20396           clean up a little
20397
20398 2005-09-01  Wim Taymans  <wim@fluendo.com>
20399
20400         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20401         (gst_base_sink_event), (gst_base_sink_do_sync),
20402         (gst_base_sink_handle_event):
20403         * gst/base/gstbasesink.h:
20404         Handle newsegments more correctly.
20405
20406         * gst/gstbus.c:
20407         Fix docs.
20408
20409         * gst/gstevent.c: (gst_event_new_newsegment):
20410         A newsegment cannot have a start_time of -1
20411
20412 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
20413
20414         * win32/gstenumtypes.c:
20415         * win32/gstenumtypes.h:
20416           Update
20417
20418 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20419
20420         * libs/gst/controller/gst-controller.c:
20421         (gst_controlled_property_set_interpolation_mode),
20422         (gst_controlled_property_new):
20423          fixed boolean again
20424
20425 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
20426
20427         * docs/faq/gst-uninstalled:
20428           add -good
20429         * gst/gstevent.c:
20430         * gst/gstevent.h:
20431           remove wrong docs
20432         * gst/gstutils.c: (gst_element_link_filtered):
20433         * gst/gstutils.h:
20434           add gst_element_link_filtered
20435
20436 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20437
20438         * docs/gst/gstreamer-docs.sgml:
20439         * docs/gst/gstreamer-sections.txt:
20440         * docs/gst/tmpl/.cvsignore:
20441         * docs/gst/tmpl/gsterror.sgml:
20442         * docs/gst/tmpl/gstfilter.sgml:
20443         * docs/gst/tmpl/gsturihandler.sgml:
20444         * docs/gst/tmpl/gsturitype.sgml:
20445         * docs/gst/tmpl/gstutils.sgml:
20446         * docs/gst/tmpl/gstxml.sgml:
20447         * gst/gsterror.c:
20448         * gst/gsterror.h:
20449         * gst/gstfilter.c:
20450         * gst/gsturi.c:
20451         * gst/gsturitype.c:
20452         * gst/gstutils.c:
20453         * gst/gstxml.c:
20454           inlined more docs, fixed double id-ref
20455
20456 2005-08-31  Wim Taymans  <wim@fluendo.com>
20457
20458         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20459         (gst_base_transform_handle_buffer):
20460         Passthrough elements don't need the caps as they don't care.
20461
20462 2005-08-31  Wim Taymans  <wim@fluendo.com>
20463
20464         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20465         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20466         Don't leak refcounts on buffers.
20467
20468 2005-08-31  Wim Taymans  <wim@fluendo.com>
20469
20470         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20471         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20472         (gst_base_transform_chain), (gst_base_transform_change_state):
20473         * gst/base/gstbasetransform.h:
20474         Handle the case where we are not negotiated more gracefully.
20475
20476 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
20477
20478         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20479         (gst_file_src_map_region):
20480           Set READONLY flag on mmap'ed buffers, otherwise
20481           gst_buffer_make_writable() won't work properly (#314708).
20482
20483 2005-08-31  Wim Taymans  <wim@fluendo.com>
20484
20485         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20486         passthrough elements can even do inplace on non writable
20487         buffers (as they don't touch them).
20488
20489 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20490
20491         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20492         (gst_test_mono_source_set_property),
20493         (gst_test_mono_source_class_init), (GST_START_TEST),
20494         (gst_controller_suite):
20495           more tests (hehe I have the most)
20496         * gst/gstbus.c:
20497           describe popping messages whenusing mulltiple sources
20498         * libs/gst/controller/gst-controller.c:
20499         (gst_controlled_property_set_interpolation_mode),
20500         (gst_controlled_property_new):
20501         * libs/gst/controller/gst-controller.h:
20502         * libs/gst/controller/gst-interpolation.c:
20503           implement boolean properties
20504
20505 2005-08-31  Wim Taymans  <wim@fluendo.com>
20506
20507         * gst/gstminiobject.c: (gst_mini_object_ref):
20508         Cannot assert that the refcount has to be positive
20509         since a disposed object can be resurrected.
20510
20511 2005-08-31  Wim Taymans  <wim@fluendo.com>
20512
20513         * gst/gstpad.c: (gst_pad_init):
20514         Revert change, need to first fix badly behaving 
20515         apps.
20516
20517 2005-08-30  Wim Taymans  <wim@fluendo.com>
20518
20519         * check/elements/fakesrc.c: (setup_fakesrc):
20520         * check/elements/identity.c: (setup_identity):
20521         Activate pads before using them.
20522
20523 2005-08-30  Wim Taymans  <wim@fluendo.com>
20524
20525         * gst/base/gstadapter.c: (gst_adapter_flush):
20526         Flushing out 0 bytes is ok for this function.
20527
20528         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20529         no newsegment gives a warning and sets the start/stop to 
20530         invalid.
20531
20532         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20533         (gst_base_transform_set_passthrough):
20534         Some debug info.
20535
20536         * gst/gstminiobject.c: (gst_mini_object_ref):
20537         Check refcount here too.
20538
20539         * gst/gstpad.c: (gst_pad_init):
20540         Pads are initially flushing and refusing data.
20541
20542         * gst/gstutils.c: (gst_element_link_pads_filtered):
20543         When adding a capsfilter element make sure it has the
20544         same state as the parent bin.
20545
20546 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20547
20548         * docs/gst/tmpl/.cvsignore:
20549         * docs/gst/tmpl/gstformat.sgml:
20550         * docs/gst/tmpl/gstversion.sgml:
20551         * gst/gstbus.h:
20552         * gst/gstformat.c:
20553         * gst/gstformat.h:
20554         * gst/gstversion.h.in:
20555           more docs and two more inlined
20556
20557 2005-08-30  Wim Taymans  <wim@fluendo.com>
20558
20559         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20560         Don't sync to clock.
20561
20562 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20563
20564         * docs/gst/gstreamer-sections.txt:
20565           ultral33t func10ns deserve to appear in the docs actually
20566         * docs/gst/tmpl/.cvsignore:
20567         * docs/gst/tmpl/gstcompat.sgml:
20568         * docs/gst/tmpl/gstconfig.sgml:
20569         * gst/check/gstcheck.c:
20570         * gst/gstcompat.h:
20571         * gst/gstconfig.h.in:
20572           inlined more docs
20573
20574 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20575
20576         * docs/gst/tmpl/.cvsignore:
20577         * docs/gst/tmpl/gstquery.sgml:
20578         * docs/gst/tmpl/gstutils.sgml:
20579         * gst/gstquery.c:
20580         * gst/gstquery.h:
20581           inlined and extended docs
20582
20583 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20584
20585         * check/gst-libs/controller.c: (GST_START_TEST),
20586         (gst_controller_suite):
20587           more tests
20588         * docs/gst/tmpl/gstutils.sgml:
20589         * docs/libs/gstreamer-libs-sections.txt:
20590         * docs/libs/tmpl/gstdataprotocol.sgml:
20591           include path fixes
20592         * examples/controller/audio-example.c: (main):
20593           controller example works now
20594         * gst/gstclock.h:
20595           doc fixes
20596         * tools/gst-inspect.c: (print_element_properties_info):
20597           show param spec flags
20598
20599 2005-08-29  Andy Wingo  <wingo@pobox.com>
20600
20601         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20602
20603 2005-08-28  Andy Wingo  <wingo@pobox.com>
20604
20605         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20606         as having two arguments instead of just one. Allows superclasses
20607         to access information on subclasses -- see the terrible for() loop
20608         in gtype.c:g_type_create_instance for the reason why. All callers
20609         changed.
20610
20611 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20612
20613         * docs/design/part-messages.txt:
20614           update info
20615         * docs/gst/tmpl/.cvsignore:
20616         * docs/gst/tmpl/gstcaps.sgml:
20617         * docs/gst/tmpl/gstclock.sgml:
20618         * gst/gstbus.c:
20619         * gst/gstcaps.c:
20620         * gst/gstcaps.h:
20621         * gst/gstclock.c:
20622         * gst/gstclock.h:
20623         * gst/gstmessage.c:
20624           added descriptions for bus and message
20625           inline caps and clock docs
20626
20627 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20628
20629         * gst/gstmessage.c:
20630         * gst/gstmessage.h:
20631           doc fixes
20632
20633 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20634
20635         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20636           fix div-by-zero
20637
20638 2005-08-26  Andy Wingo  <wingo@pobox.com>
20639
20640         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20641         element_set_state's return val.
20642         (test_2_elements): Add test that's been disabled for months.
20643
20644         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20645         can-activate-pull properties.
20646
20647         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20648         can-activate-pull properties. Implement is_seekable so fakesrc can
20649         operate in pull mode.
20650
20651         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20652         properties.
20653         (gst_base_sink_activate, gst_base_sink_activate_pull)
20654         (gst_base_sink_activate_push): Make activation mode choosing work.
20655         Cleanups.
20656         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20657         is right. Make pull mode work. Post an eos before pausing in pull
20658         mode.
20659         (gst_base_sink_change_state): Pay attention to the core's
20660         change_state() return val.
20661         
20662         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20663         has-getrange properties. Cleanups.
20664         
20665         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20666         has_getrange and replace with can_activate_pull and
20667         can_activate_push.
20668
20669         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20670         locking comments. Remove has_loop, has_chain and replace with
20671         can_activate_pull and can_activate_push.
20672
20673 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
20674
20675         * configure.ac:
20676         * examples/Makefile.am:
20677         * examples/metadata/Makefile.am:
20678         * examples/metadata/read-metadata.c: (message_loop),
20679         (have_pad_handler), (make_pipeline), (print_tag), (main):
20680           Add metadata reading example that loops over a list of filenames,
20681           dumping any tags found.
20682
20683         * gst/gstbus.c: (gst_bus_dispose):
20684         * gst/gstelement.c: (gst_element_dispose):
20685           Release a few potentially-held references in dispose.
20686
20687 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20688
20689         * docs/gst/tmpl/gstminiobject.sgml:
20690           do *not* add tmpl/*.sgml files to CVS!
20691
20692 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20693
20694         * libs/gst/bytestream/.cvsignore:
20695         * libs/gst/bytestream/Makefile.am:
20696         * libs/gst/bytestream/adapter.c:
20697         * libs/gst/bytestream/adapter.h:
20698         * libs/gst/bytestream/bytestream.c:
20699         * libs/gst/bytestream/bytestream.h:
20700         * libs/gst/bytestream/filepad.c:
20701         * libs/gst/bytestream/filepad.h:
20702           removing obsolete files
20703
20704 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20705
20706         * docs/gst/gstreamer-docs.sgml:
20707         * docs/libs/gstreamer-libs-docs.sgml:
20708           disabed additional index entries again, as this makes docs-gen just
20709           slow and they aren't useful yet
20710         * docs/libs/gstreamer-libs-sections.txt:
20711           little -section.txt cleanup for libs
20712
20713 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20714
20715         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20716         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20717           fix up some debugging
20718         (gst_base_transform_get_unit_size),
20719         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20720         (gst_base_transform_handle_buffer):
20721         * gst/base/gstbasetransform.h:
20722           handle and store timed NEWSEGMENT events so that subclasses that
20723           calculate time by counting samples have a segment_start time they
20724           need to add to their timestamps - see audioresample
20725
20726 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20727
20728         * gst/gstbin.h:
20729           removed ';' from the end of macro defs
20730         * docs/gst/gstreamer-docs.sgml:
20731         * docs/gst/gstreamer-sections.txt:
20732         * docs/gst/tmpl/.cvsignore:
20733         * gst/gstbus.h:
20734         * gst/gstelement.c: (gst_element_class_init),
20735         (gst_element_set_state), (activate_pads),
20736         (gst_element_save_thyself):
20737         * gst/gstevent.c: (gst_event_new_newsegment):
20738         * gst/gstevent.h:
20739         * gst/gstiterator.c:
20740         * gst/gstiterator.h:
20741         * gst/gstpad.c:
20742         * gst/gstprobe.h:
20743         * gst/gstutils.c: (gst_pad_query_convert):
20744         * gst/gstutils.h:
20745           fixed parameter name mismatches between source, header and docs
20746           added some more docs, resolved the last batch of unused elements in
20747           docs (now someone needs to doc them)
20748
20749 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20750
20751         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20752         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20753           don't walk through the plugins backwards.  Where is all this
20754           reversed logic coming from ?
20755
20756 2005-08-25  Wim Taymans  <wim@fluendo.com>
20757
20758         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20759         (gst_base_transform_transform_size),
20760         (gst_base_transform_configure_caps),
20761         (gst_base_transform_get_unit_size),
20762         (gst_base_transform_buffer_alloc),
20763         (gst_base_transform_change_state):
20764         * gst/base/gstbasetransform.h:
20765         Cache caps unit_size.
20766         Make sure we cannot negotiate up and downstream at the
20767         same time.
20768
20769 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20770
20771         * gst/gst.c: (init_pre), (init_post):
20772           register the installed plugin path after the env var
20773         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20774         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20775           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20776           directories, so the tests can prefer uninstalled over installed
20777
20778 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20779
20780         * gst/base/gstbasetransform.h:
20781           comment
20782         * gst/gstpad.c:
20783           add to docs
20784
20785 2005-08-25  Wim Taymans  <wim@fluendo.com>
20786
20787         * gst/gstbin.c: (bin_bus_handler):
20788         Be a bit more conservative about the posted message.
20789         
20790         * gst/gstbus.c: (gst_bus_post):
20791         Some cleanups, warn wrong return values.
20792
20793 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
20794
20795         * check/gst/gstbin.c: (GST_START_TEST):
20796         * gst/gstbin.c: (bin_bus_handler):
20797         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20798         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20799         (gst_message_new_warning), (gst_message_new_tag),
20800         (gst_message_new_state_changed), (gst_message_new_segment_start),
20801         (gst_message_new_segment_done), (gst_message_new_custom):
20802         * gst/gstmessage.h:
20803         * tools/gst-launch.c: (event_loop):
20804         * tools/gst-md5sum.c: (event_loop):
20805           Revert unpopular change for GST_MESSAGE_SRC to GObject.
20806
20807 2005-08-25  Wim Taymans  <wim@fluendo.com>
20808
20809         * check/generic/states.c: (GST_START_TEST):
20810         Cleanup can be done at the end.
20811
20812         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20813         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20814         (gst_task_get_state), (gst_task_start), (gst_task_pause):
20815         Oh boy.. Thanks for finding this, Thomas. 
20816
20817 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20818
20819         * docs/gst/gstreamer.types:
20820           added missing types
20821
20822 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20823
20824         * docs/gst/gstreamer-docs.sgml:
20825         * docs/gst/gstreamer-sections.txt:
20826         * docs/gst/tmpl/.cvsignore:
20827         * gst/gstbin.c:
20828         * gst/gstiterator.c:
20829         * gst/gstutils.c:
20830         * gst/registries/gstxmlregistry.h:
20831           added missing classes and symbols (123 more to go)
20832           removed removed symbols from section file
20833           fixed many doc-comments
20834
20835 2005-08-24  Wim Taymans  <wim@fluendo.com>
20836
20837         * check/generic/states.c: (GST_START_TEST):
20838         Make sure all tasks are stopped.
20839
20840         * check/gst/gstbin.c: (GST_START_TEST):
20841         Unref after usage for proper valgrinding.
20842
20843         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20844         Really wait for the task to stop before destroying the
20845         mutex.
20846
20847         * gst/gstqueue.c: (gst_queue_sink_activate_push),
20848         (gst_queue_src_activate_push):
20849         Small cleanups. Don't stop the task when we did not start
20850         it.
20851
20852         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20853         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20854         (gst_task_get_state), (gst_task_start), (gst_task_pause),
20855         (gst_task_join):
20856         * gst/gsttask.h:
20857         Protect the stream lock with the object lock.
20858         Disallow setting the stream lock when running.
20859         Add cleanup_all to wait for the threadpool to finish.
20860         Remove code to autoallocate a mutex if none was provided.
20861         Add _join() to wait for a task to stop.
20862         Protect the thread pool with a global lock.
20863
20864 2005-08-24  Wim Taymans  <wim@fluendo.com>
20865
20866         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20867         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20868         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20869         * gst/base/gstbasesink.h:
20870         Handle newsegment events correctly.
20871         Drop buffers out of the segment range.
20872
20873 2005-08-22  Andy Wingo  <wingo@pobox.com>
20874
20875         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20876         macro, implements an interface and gstimplementsinterface for a
20877         new type.
20878
20879 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20880
20881         * check/Makefile.am:
20882         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20883           add a test that does a bunch of state changes on elements
20884           needs some fixing for valgrind
20885         * check/states/sinks.c: (gst_object_suite):
20886           whitespace
20887         * gst/gstcaps.h:
20888           add prototype for gst_caps_is_equal_fixed
20889         * gst/gstplugin.c:
20890         * gst/gstregistrypool.c:
20891           doc fixes
20892
20893 2005-08-24  Andy Wingo  <wingo@pobox.com>
20894
20895         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20896         convert a negative value. Doesn't make much sense. Mostly this is
20897         here to force callers to ensure -1 maps to -1.
20898
20899 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20900
20901         * docs/pwg/advanced-types.xml:
20902           Well done to Michael for catching my deliberate introduction
20903           of this spelling mistake. 
20904         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20905         * gst/gstelement.h:
20906           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20907           unlink pads before removing the element from the bin.
20908
20909 2005-08-24  Andy Wingo  <wingo@pobox.com>
20910
20911         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20912         the same thing as GST_DEBUG=*:4.
20913         (parse_debug_level, parse_debug_category): New helper parsers.
20914
20915 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20916
20917         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20918         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20919         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20920         (gst_base_transform_buffer_alloc),
20921         (gst_base_transform_handle_buffer):
20922           use gboolean return values and pointers to size so we can use the
20923           full GST_BUFFER_SIZE range (guint) for buffer sizes
20924           use GstPadDirection for transform_caps
20925         * gst/base/gstbasetransform.h:
20926           rename get_size to get_unit_size since that's what it is
20927         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20928           use GstPadDirection for transform_caps
20929         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20930         * gst/gstutils.h:
20931           cleanup and debugging
20932
20933 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20934
20935         * gst/gstelement.c: (gst_element_class_init),
20936         (gst_element_set_state), (activate_pads),
20937         (gst_element_save_thyself):
20938         * tools/gst-compprep.c: (main):
20939         * tools/gst-inspect.c: (print_element_properties_info):
20940         * tools/gst-xmlinspect.c: (print_element_properties):
20941           Fixed long standing mem-leak
20942
20943 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20944
20945         * check/gst/gstbin.c: (GST_START_TEST):
20946         * gst/gstbin.c: (bin_bus_handler):
20947         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20948         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20949         (gst_message_new_warning), (gst_message_new_tag),
20950         (gst_message_new_state_changed), (gst_message_new_segment_start),
20951         (gst_message_new_segment_done), (gst_message_new_custom):
20952         * gst/gstmessage.h:
20953         * tools/gst-launch.c: (event_loop):
20954         * tools/gst-md5sum.c: (event_loop):
20955           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20956           that applications can sensibly post custom messages with references
20957           to their own objects.
20958
20959 2005-08-24  Andy Wingo  <wingo@pobox.com>
20960
20961         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20962         already.
20963
20964 2005-08-24  Wim Taymans  <wim@fluendo.com>
20965
20966         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20967         (gst_base_transform_transform_caps),
20968         (gst_base_transform_transform_size),
20969         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20970         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20971         (gst_base_transform_handle_buffer):
20972         * gst/base/gstbasetransform.h:
20973         Many fixes and new features added by Thomas. Can now also do
20974         transforms with variable sizes and a custom fixate_caps function.
20975
20976 2005-08-24  Wim Taymans  <wim@fluendo.com>
20977
20978         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20979         Some debugging.
20980
20981         * gst/gstclock.h:
20982         Cast to ClockTime before formatting to time.
20983
20984         * gst/gstutils.h:
20985         Cleanups.
20986
20987 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20988
20989         * check/gst-libs/controller.c: (GST_START_TEST),
20990         (gst_controller_suite):
20991         * docs/gst/tmpl/gstcaps.sgml:
20992         * docs/gst/tmpl/gstghostpad.sgml:
20993         * docs/gst/tmpl/gstquery.sgml:
20994         * docs/gst/tmpl/gstutils.sgml:
20995         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20996         (gst_object_sink_values), (gst_object_get_value_arrays),
20997         (gst_object_get_value_array):
20998           gracefully handle helper method calls to objects that are not beeing
20999           controlled, added test case for that          
21000
21001 2005-08-23  Wim Taymans  <wim@fluendo.com>
21002
21003         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
21004         (gst_event_new_newsegment), (gst_event_parse_newsegment),
21005         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
21006         (gst_event_parse_qos), (gst_event_new_seek),
21007         (gst_event_parse_seek):
21008         * gst/gstevent.h:
21009         Some more debugging output and doc cleanups.
21010
21011         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21012         Fix possible deadlock.
21013
21014 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21015
21016         * docs/gst/gstreamer-docs.sgml:
21017         * docs/gst/gstreamer-sections.txt:
21018         * docs/gst/gstreamer.types:
21019         * docs/gst/tmpl/.cvsignore:
21020         * gst/gstbin.h:
21021         * gst/gstbus.c:
21022         * gst/gstelement.c:
21023         * gst/gstevent.h:
21024           added 100 symbols from gstreamer-unused.txt to the right sections
21025           fixed more broken comments
21026           added GstBus to docs
21027
21028 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21029
21030         * docs/gst/gstreamer-sections.txt:
21031         * docs/gst/tmpl/.cvsignore:
21032         * docs/gst/tmpl/gstbin.sgml:
21033         * docs/gst/tmpl/gstbuffer.sgml:
21034         * gst/base/gstbasesrc.c:
21035         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
21036         * gst/gstbuffer.c:
21037         * gst/gstbuffer.h:
21038         * tools/gst-launch.1.in:
21039           inlined more doc comments, added missing comments and fixed comments
21040           fixed typos
21041
21042 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21043
21044         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21045           some debugging
21046         * gst/gstcaps.h:
21047           whitespace fixes
21048         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
21049           more debugging
21050         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
21051         * gst/gststructure.h:
21052           add a fixate function for booleans; add a FIXME that these func
21053           names should probably be gst_structure_fixate_*
21054
21055 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21056
21057         * docs/gst/gstreamer-docs.sgml:
21058         * docs/gst/gstreamer-sections.txt:
21059         * gst/Makefile.am:
21060         * gst/gstbin.c: (gst_bin_get_type),
21061         (gst_bin_child_proxy_get_child_by_index),
21062         (gst_bin_child_proxy_get_children_count),
21063         (gst_bin_child_proxy_init):
21064         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21065         (gst_child_proxy_get_child_by_index),
21066         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
21067         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
21068         (gst_child_proxy_get), (gst_child_proxy_set_property),
21069         (gst_child_proxy_set_valist), (gst_child_proxy_set),
21070         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
21071         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
21072         * gst/gstchildproxy.h:
21073         * gst/parse/grammar.y:
21074         * tools/gst-inspect.c: (print_interfaces),
21075         (print_element_properties_info), (print_element_info):
21076           ported gstchildproxy over from 0.8
21077           ported gst-inspect fixes and enhancements over from 0.8
21078
21079 2005-08-22  Wim Taymans  <wim@fluendo.com>
21080
21081         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21082         (gst_base_transform_handle_buffer):
21083         Also call the transform function if we have ANY caps.
21084
21085         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
21086         Fix debug info.
21087
21088 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21089
21090         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
21091           Don't pretend to handle seek events if the source is not seekable
21092
21093 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21094
21095         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21096           Remove extra parameter to debug output
21097
21098         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21099         (gst_base_src_do_seek), (gst_base_src_activate_push):
21100           Fix seek event handling.
21101
21102         * gst/gstpipeline.c: (gst_pipeline_change_state):
21103         * gst/gstqueue.c: (gst_queue_handle_sink_event),
21104         (gst_queue_src_activate_push):
21105           Don't start the src pad task on FLUSH_STOP if the pad
21106           isn't linked.
21107           Debug changes.
21108
21109 2005-08-22  Wim Taymans  <wim@fluendo.com>
21110
21111         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21112         Added check for gst_static_caps_get() refcounting.
21113
21114 2005-08-22  Wim Taymans  <wim@fluendo.com>
21115
21116         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21117         Make _static_caps_get() refcounting sane.
21118         
21119         * gst/gstelement.c: (gst_element_set_state):
21120         Add g_return_val_if_fail() to protect against segfaults.
21121
21122 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
21123
21124         * docs/gst/tmpl/gstevent.sgml:
21125         * gst/gstevent.c:
21126         * gst/gstevent.h:
21127           inlined remaining docs, added missing doc comments
21128
21129 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21130
21131         * check/gst/gstbin.c: (GST_START_TEST):
21132           since we don't know when preroll is done, use refcount range
21133           check for the sink
21134         * gst/check/gstcheck.h:
21135           add macro for checking refcount range
21136
21137 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21138
21139         * check/Makefile.am:
21140           clean up environment for when registry gets built versus
21141           when actual tests are run; valgrind seems to not report
21142           leaks if GST_PLUGIN_PATH is set to some specific values
21143         * check/gst/gstbin.c: (GST_START_TEST):
21144           add more refcounting checks; maybe this exposes a
21145           preroll lock bug ?
21146         * common/check.mak:
21147         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21148         * gst/check/gstcheck.h:
21149         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21150         (gst_bin_change_state):
21151         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21152           add/fix debugging/whitespace
21153
21154 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21155
21156         * check/gst/gstevent.c: (event_probe), (test_event),
21157         (GST_START_TEST):
21158          Er, don't call gst_bin_watch_for_state_change you idiot.
21159
21160 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21161
21162         * check/Makefile.am:
21163           Use CHECK_CFLAGS and CHECK_LIBS
21164         * check/gst/gstevent.c: (event_probe), (test_event),
21165         (GST_START_TEST):
21166           Don't leak events.
21167         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21168         (gst_base_src_start), (gst_base_src_stop),
21169         (gst_base_src_activate_push), (gst_base_src_activate_pull),
21170         (gst_base_src_change_state):
21171           Sprinkle gst_base_src_stop liberally around error paths to fix
21172           problems reusing a source after failed state changes.
21173         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21174         (helper_find_suggest), (gst_type_find_helper):
21175           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21176         * gst/gstevent.h:
21177         * docs/gst/tmpl/gstevent.sgml:
21178           Migrate part of the docs from the SGML file. Wait for ensonic to
21179           tell me how I did it wrong ;)
21180         * tools/gst-typefind.c: (main):
21181           Extra robustness to state changes between files.
21182
21183 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21184
21185         * check/Makefile.am:
21186           don't valgrind the controller test - it's leaking - Stefan, HELP
21187         * gst/check/gstcheck.c: (gst_check_message_error),
21188         (gst_check_chain_func), (gst_check_setup_element),
21189         (gst_check_teardown_element), (gst_check_setup_src_pad),
21190         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21191         (gst_check_teardown_sink_pad):
21192         * gst/check/gstcheck.h:
21193           add a bunch of methods to set up elements, and src and sink pads
21194         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21195         * check/elements/identity.c: (setup_identity), (cleanup_identity),
21196         (GST_START_TEST):
21197           use them
21198         * gst/gstmessage.c:
21199         * gst/gsttag.h:
21200           whitespace/doc fixes
21201
21202 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21203
21204         * gst/gstelement.h:
21205           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21206           be handled by the application and not always printed as well
21207
21208 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21209
21210         * check/Makefile.am:
21211           set GST_TOOLS_DIR
21212         * gst/check/gstcheck.c: (gst_check_message_error):
21213         * gst/check/gstcheck.h:
21214           add a fail_unless_equals_int
21215           add fail_unless for error messages
21216
21217 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21218
21219         * check/Makefile.am:
21220         * check/gst.supp:
21221         * common/Makefile.am:
21222         * common/check.mak:
21223         * common/gst.supp:
21224           factor out some of the common stuff so we can use it
21225
21226 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21227
21228         * check/Makefile.am:
21229         * check/gst/gstiterator.c: (GST_START_TEST):
21230         * check/gst/gstsystemclock.c: (GST_START_TEST),
21231         (gst_systemclock_suite):
21232         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21233         * gst/gstclock.c:
21234           valgrind more tests
21235
21236 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21237
21238         * check/elements/.cvsignore:
21239         * check/elements/gstfakesrc.c:
21240           rename to name of element
21241         * check/elements/identity.c: (chain_func), (event_func),
21242         (setup_identity), (cleanup_identity), (GST_START_TEST),
21243         (identity_suite), (main):
21244           add a test for identity
21245         * check/Makefile.am:
21246         * pkgconfig/Makefile.am:
21247         * pkgconfig/gstreamer-check.pc.in:
21248         * pkgconfig/gstreamer-check-uninstalled.pc.in:
21249         * gst/check:
21250         * gst/Makefile.am:
21251         * configure.ac:
21252           move the check stuff to a library that gets installed
21253         * check/gst-libs/controller.c: (GST_START_TEST):
21254         * check/gst-libs/gdp.c:
21255         * check/gst/gst.c: (GST_START_TEST):
21256         * check/gst/gstbin.c:
21257         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21258         * check/gst/gstbus.c:
21259         * check/gst/gstcaps.c: (GST_START_TEST):
21260         * check/gst/gstelement.c:
21261         * check/gst/gstghostpad.c:
21262         * check/gst/gstiterator.c:
21263         * check/gst/gstmessage.c:
21264         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21265         * check/gst/gstobject.c:
21266         * check/gst/gstpad.c: (GST_START_TEST):
21267         * check/gst/gststructure.c: (GST_START_TEST):
21268         * check/gst/gstsystemclock.c: (GST_START_TEST),
21269         (gst_systemclock_suite):
21270         * check/gst/gsttag.c: (gst_tag_suite):
21271         * check/gst/gstvalue.c:
21272         * check/pipelines/cleanup.c:
21273         * check/pipelines/simple_launch_lines.c:
21274         * check/states/sinks.c:
21275           change include statement
21276
21277         * docs/gst/gstreamer-sections.txt:
21278         * docs/gst/tmpl/gstpad.sgml:
21279           document more pad stuff
21280         * gst/gstminiobject.c: (gst_mini_object_ref),
21281         (gst_mini_object_unref):
21282           debug refcounting
21283
21284 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
21285
21286         * docs/gst/tmpl/gst.sgml:
21287         * gst/gst.c:
21288           eliminate another tmpl file, fix spelling in the long-description
21289
21290 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21291
21292         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21293         (test_event), (timediff), (gstevents_suite):
21294           Should fix build on 64-bit arch's
21295
21296 2005-08-18  Andy Wingo  <wingo@pobox.com>
21297
21298         Make sure that when a pipeline goes to PLAYING, that data has
21299         actually hit the sink.
21300
21301         * check/states/sinks.c (test_sink): A sink that doesn't get any
21302         data shouldn't return SUCCESS for going to either PLAYING or
21303         PAUSED. Test also the return values on the way back down.
21304
21305         * gst/gstelement.c (gst_element_set_state): When changing the
21306         state of an element currently changing state asynchronously, go to
21307         lost-state after commiting the pending state. Makes future calls
21308         to get_state continue to return ASYNC.
21309
21310         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21311         ASYNC when going to PLAYING if we still don't have preroll, as can
21312         happen with live sources.
21313
21314 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21315
21316         * docs/pwg/advanced-types.xml:
21317           Hack long paragraph into 2 chunks as a workaround for buggy
21318           jadetex version in sid and breezy that loops infinitely and
21319           eats all RAM.
21320
21321 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21322
21323         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21324         (test_event), (timediff), (gstevents_suite):
21325           Provide more error margin in clock measurements to allow for 
21326           g_get_current_time inaccuracies.
21327
21328 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21329
21330         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21331         (test_event), (timediff), (gstevents_suite):
21332            Fix error message output so I might be able to tell why the
21333            test works here but fails on the build farm.
21334
21335 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21336
21337         * check/Makefile.am:
21338         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21339         (test_event), (timediff), (gstevents_suite), (main):
21340           I wrote a test!
21341
21342         * docs/design/part-seeking.txt:
21343           Spelling correction
21344
21345         * docs/gst/tmpl/gstevent.sgml:
21346         * docs/gst/tmpl/gstfakesrc.sgml:
21347           Docs updates.
21348
21349         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21350           Treat a buffer-without-newsegment the same as a receiving 
21351           a newsegment not in time format, and disable syncing to the clock
21352           with a warning.
21353
21354         * gst/gstbus.c: (gst_bus_set_sync_handler):
21355           Assert if anyone tries to replace the existing sync_handler for bus, 
21356           as only the owner should be setting it.
21357
21358         * gst/gstevent.h:
21359           Have a fixed set of custom event enums with events identified by
21360           their structure name (as in 0.8), rather than a free-for-all
21361           allowing collisions between enum values from different plugins.
21362
21363         * gst/gstpad.c: (gst_pad_class_init):
21364           Docs change.
21365           
21366         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21367           Handle out-of-band downstream events from the sending thread.
21368
21369 2005-08-17  Andy Wingo  <wingo@pobox.com>
21370
21371         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21372         play-timeout==0 to mean no timeout at all. In that case, don't
21373         bother with a get_state or a warning, just return directly, even
21374         if it's ASYNC.
21375
21376         * gst/base/gstbasetransform.c: Debug changes.
21377
21378         * gst/gstutils.h:
21379         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21380         ensure bins post state change messages. A bit of a hack but I can't
21381         think of a way to avoid it.
21382
21383         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21384
21385 2005-08-16  Andy Wingo  <wingo@pobox.com>
21386
21387         * gst/base/gstadapter.h:
21388         * gst/base/gstadapter.c (gst_adapter_take): New function, like
21389         peek() but you own the data. Not terribly efficient atm.
21390
21391 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21392
21393         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21394         (gst_element_found_tags):
21395         * gst/gstutils.h:
21396           Add two utility functions for tag handling.
21397
21398 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21399
21400         * docs/manual/advanced-dataaccess.xml:
21401         * docs/manual/basics-helloworld.xml:
21402           Fix docs to use _bin_add() before _link(), which fixes the examples
21403           with recent core versions (reported by Madhan Raj M
21404           <raj_madan@rediffmail.com>, #313199).
21405
21406 2005-08-16  Wim Taymans  <wim@fluendo.com>
21407
21408         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21409         Added subtract checks.
21410
21411         * docs/design/part-events.txt:
21412         Some more docs about newsegment
21413
21414         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21415         Fix FIXME
21416
21417         * gst/gstcaps.c: (gst_caps_to_string):
21418         Add comments, cleanups.
21419         
21420         * gst/gstelement.c: (gst_element_save_thyself):
21421         cleanups
21422         
21423         * gst/gstvalue.c: (gst_value_collect_int_range),
21424         (gst_string_unwrap), (gst_value_union_int_int_range),
21425         (gst_value_union_int_range_int_range),
21426         (gst_value_intersect_int_int_range),
21427         (gst_value_intersect_int_range_int_range),
21428         (gst_value_intersect_double_double_range),
21429         (gst_value_intersect_double_range_double_range),
21430         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21431         (gst_value_subtract_int_range_int),
21432         (gst_value_subtract_double_range_double),
21433         (gst_value_subtract_double_range_double_range),
21434         (gst_value_subtract_from_list), (gst_value_subtract_list),
21435         (gst_value_can_compare), (gst_value_compare_fraction):
21436         Cleanups, add comments, remove unneeded asserts.
21437
21438 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21439
21440         * tools/gst-launch.c: (event_loop):
21441           don't convert NULL structures to strings
21442
21443 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
21444
21445         * docs/gst/gstreamer-sections.txt:
21446           made some defines private
21447         * docs/gst/tmpl/gstconfig.sgml:
21448         * docs/gst/tmpl/gstqueue.sgml:
21449         * docs/gst/tmpl/gsttaglist.sgml:
21450         * docs/gst/tmpl/gsttypes.sgml:
21451         * docs/gst/tmpl/gstutils.sgml:
21452         * docs/pwg/appendix-porting.xml:
21453         * gst/base/gstbasesink.h:
21454         * gst/base/gstbasesrc.c:
21455         * gst/base/gstbasesrc.h:
21456         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21457         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21458         * gst/gstelement.c: (gst_element_class_init):
21459         * gst/gstpad.c: (gst_pad_class_init):
21460         * gst/gstqueue.c: (gst_queue_class_init):
21461         * gst/gstxml.c: (gst_xml_class_init):
21462           documented all undocumented signal inline
21463         * libs/gst/controller/gst-controller.h:
21464           added padding
21465
21466 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21467
21468         * docs/pwg/appendix-porting.xml:
21469           Document _set_link_function -> _set_setcaps_function.
21470
21471 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21472
21473         * check/Makefile.am:
21474           add a .check target for running the check
21475         * check/gst-libs/controller.c: (GST_START_TEST):
21476           cosmetic fixups
21477         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21478           complete checks for gstbuffer; would be nice if I could get the
21479           gcov stuff to work so I can see if I actually completed gstbuffer.c
21480         * check/gstcheck.h:
21481           add ASSERT_BUFFER_REFCOUNT
21482
21483 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
21484
21485         * docs/gst/gstreamer-sections.txt:
21486         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21487         * gst/gsttag.h:
21488           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21489           spew out a warning if a tag that is already registered
21490           is re-registered, unless it is re-registered with a 
21491           different type (#308438).
21492
21493 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
21494
21495         * docs/pwg/appendix-porting.xml:
21496         * docs/pwg/building-state.xml:
21497           Add some paragraphs about state changes in 0.9 to the PWG
21498           and the porting guide, in particular about the new meaning
21499           of GST_STATE_PAUSED and how to write state change functions
21500           with concurrent access by multiple threads in mind.
21501
21502 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21503
21504         * docs/gst/gstreamer-docs.sgml:
21505         * docs/libs/gstreamer-libs-docs.sgml:
21506           added deprecation and since indexes
21507         * libs/gst/controller/gst-controller.c:
21508         * libs/gst/controller/gst-helper.c:
21509           added since tags
21510
21511
21512 2005-08-11  Wim Taymans  <wim@fluendo.com>
21513
21514         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21515         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21516         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21517         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21518         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21519         (gst_ghost_pad_set_target):
21520         Actually implement (re)setting the target on a ghostpad
21521         as described in the docs.
21522
21523 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21524
21525         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21526           Check whether GST_DEBUG_NO_COLOR environment variable is
21527           set and disable coloured debug output if that is the case.
21528
21529 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21530
21531         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21532         (gst_type_find_helper):
21533           The memory returned by gst_type_find_peek() needs to
21534           stay valid until the end of a typefind function, and
21535           typefind functions may keep results from different 
21536           offsets around, so we can't just unref the buffer from
21537           the previous _peek(), but have to save all buffers 
21538           returned by _peek() until typefinding is done and only
21539           free them then.
21540
21541 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
21542
21543         * docs/gst/gstreamer-sections.txt:
21544         * gst/gstutils.h:
21545           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21546
21547 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21548
21549         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21550           Fix a pretty good memleak.
21551
21552 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21553
21554         * gst/gstiterator.h:
21555           Fix wrong include and 'make distcheck'.
21556
21557 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21558
21559         * gst/gstbin.c: (bin_bus_handler):
21560           Use gst_element_post_message() instead.
21561
21562 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21563
21564         * gst/base/gstadapter.h:
21565         * gst/base/gstbasesink.h:
21566         * gst/base/gstbasesrc.h:
21567         * gst/base/gstbasetransform.h:
21568         * gst/base/gstcollectpads.h:
21569         * gst/base/gstpushsrc.h:
21570         * gst/gstiterator.h:
21571           Add padding to our base elements' class and instance structs and
21572           to GstIterator (you will need to rebuild all plugins and apps!)
21573
21574 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21575
21576         * gst/gstbin.c: (bin_bus_handler):
21577           Make default message forwarding from child->bus to bin->bus
21578           threadsafe and make it not emit warnings if the parent has no bus.
21579
21580 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21581
21582         * gst/gstelement.c: (activate_pads):
21583           On paused->ready, set pad->caps to NULL, as is the documented
21584           behaviour in this state change. Fixes playback of series of
21585           media files when visualization is enabled in Totem.
21586
21587 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21588
21589         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21590           Allow NULL as filter-caps (which means "any").
21591
21592 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21593
21594         * docs/libs/gstreamer-libs-sections.txt:
21595         * libs/gst/controller/gst-controller.c:
21596         * libs/gst/controller/gst-controller.h:
21597         * libs/gst/controller/gst-helper.c:
21598           adding more entries to the docs and fix small doc-bugs
21599
21600 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21601
21602         * docs/gst/gstreamer-docs.sgml:
21603         * docs/gst/gstreamer-sections.txt:
21604         * docs/gst/gstreamer.types:
21605         * docs/gst/tmpl/gstbasesink.sgml:
21606         * docs/gst/tmpl/gstbasesrc.sgml:
21607         * docs/gst/tmpl/gstbasetransform.sgml:
21608         * docs/gst/tmpl/gstfakesrc.sgml:
21609         * gst/base/gstcollectpads.c:
21610         * gst/base/gstcollectpads.h:
21611         * libs/gst/controller/gst-controller.c:
21612         * libs/gst/controller/gst-controller.h:
21613         * libs/gst/controller/gst-helper.c:
21614         * libs/gst/controller/gst-interpolation.c:
21615         * libs/gst/controller/lib.c:
21616           added long/short desc for controller docs
21617           added collectpads base class docs
21618           added correct includes to base-class docs
21619
21620 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21621
21622         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21623         (gst_test_mono_source_set_property),
21624         (gst_test_mono_source_class_init), (GST_START_TEST),
21625         (gst_controller_suite):
21626         * docs/gst/gstreamer-docs.sgml:
21627         * docs/gst/gstreamer-sections.txt:
21628         * docs/gst/gstreamer.types:
21629         * docs/libs/gstreamer-libs-docs.sgml:
21630         * docs/libs/gstreamer-libs-sections.txt:
21631         * gst/base/gstadapter.c:
21632         * libs/gst/controller/gst-controller.c:
21633         (gst_controlled_property_new), (gst_controlled_property_free),
21634         (gst_controller_new_valist),
21635         (gst_controller_remove_properties_valist),
21636         (gst_controller_sink_values), (_gst_controller_finalize):
21637         * libs/gst/controller/gst-controller.h:
21638         * libs/gst/controller/gst-helper.c:
21639         (gst_object_control_properties), (gst_object_uncontrol_properties),
21640         (gst_object_get_controller), (gst_object_set_controller),
21641         (gst_object_sink_values), (gst_object_get_value_arrays),
21642         (gst_object_get_value_array):
21643           more tests (and fixes) for the controller
21644           more docs for the controller
21645           integrated companies docs for the adapter 
21646
21647 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21648
21649         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21650         (GST_START_TEST), (fakesrc_suite):
21651           add tests for sizetype
21652
21653 2005-08-04  Andy Wingo  <wingo@pobox.com>
21654
21655         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21656         fixes buffer_alloc proxying among other things.
21657
21658         * gst/base/gstbasetransform.c:
21659         * gst/base/gstbasetransform.h:
21660         Revert patch to gstbasetransform from 7-28 removing
21661         delay_configure.
21662
21663         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21664         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21665         Semantics changed, should return not the size of the output buffer
21666         but the byte size of a buffer with a given caps.
21667
21668         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21669         debug object.
21670         (gst_base_transform_configure_caps): Don't set out_size here: (in,
21671         out) are not the pad caps until setcaps finishes.
21672         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21673         not-in-place case as well. Deal with changing from in-place to
21674         not-in-place within calling pad_alloc_buffer. Still a bit
21675         concerned about the overhead here...
21676
21677 2005-08-03  Andy Wingo  <wingo@pobox.com>
21678
21679         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21680         fixating is an error.
21681
21682 2005-08-04  Edward Hervey  <edward@fluendo.com>
21683
21684         * gst/base/gstadapter.h: 
21685         Added gst_adapter_get_type() to the header
21686
21687 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21688
21689         * check/Makefile.am:
21690         * check/gst-libs/controller.c:
21691         * libs/gst/controller/gst-controller.c:
21692         (gst_controller_new_valist):
21693           added check test suite for the controller
21694         * gst/base/gstpushsrc.c:
21695           fixed a doc typo
21696
21697 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21698
21699         * docs/gst/Makefile.am:
21700         * docs/gst/gstreamer-docs.sgml:
21701         * docs/gst/gstreamer-sections.txt:
21702         * docs/gst/gstreamer.types:
21703         * docs/gst/tmpl/gstfakesrc.sgml:
21704         * gst/base/README:
21705         * gst/base/gstbasesink.c:
21706         * gst/base/gstbasesink.h:
21707         * gst/base/gstbasesrc.c:
21708         * gst/base/gstbasesrc.h:
21709         * gst/base/gstbasetransform.c:
21710         * gst/base/gstpushsrc.c:
21711         * gst/base/gstpushsrc.h:
21712           add short/long description docs to base classes
21713           add pushsrc to the docs
21714           remove consolidated doc fragments
21715
21716 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21717
21718         * configure.ac:
21719         * docs/libs/Makefile.am:
21720         * docs/libs/gstreamer-libs-docs.sgml:
21721         * docs/libs/gstreamer-libs-sections.txt:
21722         * docs/libs/gstreamer-libs.types:
21723         * examples/Makefile.am:
21724         * examples/controller/.cvsignore:
21725         * examples/controller/Makefile.am:
21726         * examples/controller/audio-example.c: (main):
21727         * libs/gst/Makefile.am:
21728         * libs/gst/controller/.cvsignore:
21729         * libs/gst/controller/Makefile.am:
21730         * libs/gst/controller/gst-controller.c:
21731         (on_object_controlled_property_changed), (gst_timed_value_compare),
21732         (gst_timed_value_find),
21733         (gst_controlled_property_set_interpolation_mode),
21734         (gst_controlled_property_new), (gst_controlled_property_free),
21735         (gst_controller_find_controlled_property),
21736         (gst_controller_new_valist), (gst_controller_new),
21737         (gst_controller_remove_properties_valist),
21738         (gst_controller_remove_properties), (gst_controller_set),
21739         (gst_controller_set_from_list), (gst_controller_unset),
21740         (gst_controller_get), (gst_controller_get_all),
21741         (gst_controller_sink_values), (gst_controller_get_value_arrays),
21742         (gst_controller_get_value_array),
21743         (gst_controller_set_interpolation_mode),
21744         (_gst_controller_finalize), (_gst_controller_init),
21745         (_gst_controller_class_init), (gst_controller_get_type):
21746         * libs/gst/controller/gst-controller.h:
21747         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21748         (g_object_uncontrol_properties), (g_object_get_controller),
21749         (g_object_set_controller), (g_object_sink_values),
21750         (g_object_get_value_arrays), (g_object_get_value_array):
21751         * libs/gst/controller/gst-interpolation.c:
21752         (gst_controlled_property_find_timed_value_node),
21753         (interpolate_none_get), (interpolate_trigger_get),
21754         (interpolate_trigger_get_value_array):
21755         * libs/gst/controller/lib.c: (gst_controller_init):
21756         * pkgconfig/Makefile.am:
21757         * pkgconfig/gstreamer-control-uninstalled.pc.in:
21758         * pkgconfig/gstreamer-control.pc.in:
21759         * testsuite/Makefile.am:
21760         * testsuite/controller/.cvsignore:
21761         * testsuite/controller/Makefile.am:
21762         * testsuite/controller/interpolator.c: (main):
21763           added controller code
21764           removed dparam pc files
21765
21766 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21767         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21768         (gst_collectpads_stop):
21769           Broadcast the condition when shutting down, to make sure we wake all
21770           threads up. Shut down pads on finalize, for safety.
21771
21772 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21773         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21774         (gst_base_transform_handle_buffer),
21775         (gst_base_transform_change_state):
21776           Handle PAUSED->READY->PAUSED transition after negotiation
21777           occurred already.
21778         * gst/gstmessage.c: (gst_message_init):
21779           Extra piece of debug for new messages.
21780
21781 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
21782
21783         * configure.ac:
21784         * docs/gst/tmpl/gstbasesrc.sgml:
21785         * docs/gst/tmpl/gstelement.sgml:
21786         * docs/gst/tmpl/gstevent.sgml:
21787         * docs/gst/tmpl/gstfakesrc.sgml:
21788         * docs/gst/tmpl/gstformat.sgml:
21789         * docs/gst/tmpl/gstghostpad.sgml:
21790         * docs/gst/tmpl/gstpad.sgml:
21791         * docs/gst/tmpl/gstquery.sgml:
21792         * docs/gst/tmpl/gststructure.sgml:
21793         * docs/gst/tmpl/gsttaglist.sgml:
21794         * docs/gst/tmpl/gstvalue.sgml:
21795         * docs/libs/gstreamer-libs-docs.sgml:
21796         * docs/libs/gstreamer-libs-sections.txt:
21797         * docs/libs/gstreamer-libs.types:
21798         * libs/gst/Makefile.am:
21799         * libs/gst/control/.cvsignore:
21800         * libs/gst/control/Makefile.am:
21801         * libs/gst/control/control.c:
21802         * libs/gst/control/control.h:
21803         * libs/gst/control/dparam.c:
21804         * libs/gst/control/dparam.h:
21805         * libs/gst/control/dparam_smooth.c:
21806         * libs/gst/control/dparam_smooth.h:
21807         * libs/gst/control/dparamcommon.h:
21808         * libs/gst/control/dparammanager.c:
21809         * libs/gst/control/dparammanager.h:
21810         * libs/gst/control/dplinearinterp.c:
21811         * libs/gst/control/dplinearinterp.h:
21812         * libs/gst/control/unitconvert.c:
21813         * libs/gst/control/unitconvert.h:
21814         * testsuite/Makefile.am:
21815         * testsuite/dynparams/.cvsignore:
21816         * testsuite/dynparams/Makefile.am:
21817         * testsuite/dynparams/dparamstest.c:
21818         * tools/Makefile.am:
21819         * tools/gst-inspect.c: (print_element_info), (main):
21820         * tools/gst-xmlinspect.c: (print_element_info), (main):
21821           deactivate and remove dparams (libgstcontrol)
21822
21823 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21824
21825         * gst/elements/gsttypefindelement.c:
21826         (gst_type_find_element_have_type), (gst_type_find_element_init),
21827         (stop_typefinding), (gst_type_find_element_handle_event),
21828         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21829         * gst/elements/gsttypefindelement.h:
21830           Set caps on all outgoing buffers, not just the first one.
21831
21832 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21833
21834         * gst/elements/gsttypefindelement.c:
21835         (gst_type_find_element_have_type),
21836         (gst_type_find_element_check_set_buffer_caps),
21837         (gst_type_find_element_init), (stop_typefinding),
21838         (gst_type_find_element_handle_event),
21839         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21840         * gst/elements/gsttypefindelement.h:
21841           Set caps on first outgoing buffer when we've found the type.
21842
21843 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21844
21845         * docs/gst/gstreamer-docs.sgml:
21846         * docs/gst/gstreamer-sections.txt:
21847         * docs/gst/tmpl/gstscheduler.sgml:
21848         * docs/gst/tmpl/gstschedulerfactory.sgml:
21849           Remove some old cruft from docs.
21850
21851 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
21852
21853         * gst/gstpad.h:
21854           Fix inline docs for GstPadLinkReturn.
21855           
21856         * gst/gststructure.c: (gst_structure_has_name):
21857         * gst/gststructure.h:
21858         * docs/gst/gstreamer-sections.txt:
21859           New API: gst_structure_has_name().
21860
21861 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
21862
21863         * configure.ac:
21864           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21865           and _LARGEFILE_SOURCE in config.h as required. Do not 
21866           export those flags in our .pc files any longer (#142209).
21867
21868           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21869
21870         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21871         (gst_file_sink_do_seek), (gst_file_sink_event),
21872         (gst_file_sink_get_current_offset), (gst_file_sink_render):
21873           Redo seek/tell calls with large file support in mind; add some
21874           debugging messages; add log message that tells us when large
21875           file support is unavailable or not enabled for some reason.
21876
21877         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21878           Add log message that tells us when large file support 
21879           is unavailable or not enabled for some reason.
21880
21881 2005-07-29  Wim Taymans  <wim@fluendo.com>
21882
21883         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21884         Added test for removing an element with ghostpad from a bin.
21885         Fixed test as current implementation does the right thing.
21886
21887         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21888         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21889         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21890         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21891         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21892         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21893         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21894         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21895         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21896         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21897         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21898         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21899         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21900         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21901         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21902         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21903         * gst/gstghostpad.h:
21904         Clean up ghostpads, remove properties for internal stuff.
21905         Make threadsafe.
21906         Fix refcounting.
21907         Prepare for switching targets, not all use cases work yet.
21908
21909 2005-07-29  Wim Taymans  <wim@fluendo.com>
21910
21911         * docs/design/part-gstghostpad.txt:
21912         Small update.
21913
21914         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21915         (gst_bin_remove_func):
21916         Unlinking pads while holding the bin LOCK is not a good
21917         idea.
21918
21919         * gst/gstpad.c: (gst_pad_class_init),
21920         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21921         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21922         No prob setting template after creating the pad.
21923
21924 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
21925
21926         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21927         (gst_bus_peek), (gst_bus_source_dispatch),
21928         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21929         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21930           gst_bus_poll may be called from other threads. Handle
21931           this nicely by not making poll_data disappear off the
21932           stack once gst_bus_poll returns.
21933           gst_bus_peek now increments the refcount on the returned
21934           message.
21935
21936 2005-07-29  Wim Taymans  <wim@fluendo.com>
21937
21938         * docs/design/part-gstghostpad.txt:
21939         Overview of current GhostPad datastructures and use
21940         cases for changing the target.
21941
21942 2005-07-28  Wim Taymans  <wim@fluendo.com>
21943
21944         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21945         Added checks for hierarchy consistency whan adding linked
21946         elements to bins.
21947
21948         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21949         Added check to test element scheduling without bin/pipeline.
21950
21951         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21952         First add elements to bin, then link.
21953         
21954         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21955         (gst_bin_remove_func):
21956         Unlink pads from elements added/removed from bin to maintain
21957         hierarchy consistency.
21958
21959 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21960
21961         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21962         (gst_base_transform_handle_buffer):
21963         * gst/base/gstbasetransform.h:
21964           Remove broken delay_configure (fixes renegotiation of software
21965           scaling pipelines); remove some leftover printf()s.
21966
21967 2005-07-28  Wim Taymans  <wim@fluendo.com>
21968
21969         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21970         Added some more tests for wrong hierarchy
21971
21972         * docs/design/part-overview.txt:
21973         Some updates.
21974
21975         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21976         Cleanups.
21977
21978         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21979         (gst_element_dispose):
21980         Some more cleanups.
21981
21982         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21983         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21984         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21985         (gst_pad_set_caps), (gst_pad_send_event):
21986         Check for correct hierarchy when linking pads. Moving to
21987         strict requirement for ghostpads when linking elements in
21988         different bins.
21989
21990         * gst/gstpad.h:
21991         Clean ups. Added WRONG_HIERARCHY return value.
21992
21993 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21994
21995         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21996           Better debug if no transform is possible.
21997
21998 2005-07-27  Wim Taymans  <wim@fluendo.com>
21999
22000         * docs/random/wtay/network-transp:
22001         Some old doc I had.
22002
22003 2005-07-27  Wim Taymans  <wim@fluendo.com>
22004
22005         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22006         (gst_dp_event_from_packet):
22007         Fix serialization of seek events.
22008
22009 2005-07-27  Wim Taymans  <wim@fluendo.com>
22010
22011         * check/gst-libs/gdp.c: (GST_START_TEST):
22012         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22013         Fix compilation and fix event serialization.
22014
22015 2005-07-27  Wim Taymans  <wim@fluendo.com>
22016
22017         * CHANGES-0.9:
22018         * docs/design/part-TODO.txt:
22019         * docs/design/part-events.txt:
22020         Some docs updates
22021
22022         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22023         (gst_base_sink_event), (gst_base_sink_do_sync),
22024         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22025         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22026         (gst_base_src_do_seek), (gst_base_src_event_handler),
22027         (gst_base_src_loop):
22028         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22029         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22030         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22031         (gst_base_transform_event), (gst_base_transform_handle_buffer),
22032         (gst_base_transform_set_passthrough),
22033         (gst_base_transform_is_passthrough):
22034         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22035         * gst/elements/gstfilesink.c: (gst_file_sink_event):
22036         Event updates.
22037
22038         * gst/gstbuffer.h:
22039         Use faster casts.
22040
22041         * gst/gstelement.c: (gst_element_seek):
22042         * gst/gstelement.h:
22043         Update gst_element_seek.
22044
22045         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
22046         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
22047         (gst_event_new_flush_start), (gst_event_new_flush_stop),
22048         (gst_event_new_eos), (gst_event_new_newsegment),
22049         (gst_event_parse_newsegment), (gst_event_new_tag),
22050         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
22051         (gst_event_parse_qos), (gst_event_new_seek),
22052         (gst_event_parse_seek), (gst_event_new_navigation):
22053         * gst/gstevent.h:
22054         Make GstEvent use GstStructure. Add parsing code, make sure the
22055         API is sufficiently generic.
22056         Mark possible directions of events and serialization.
22057
22058         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
22059         (_gst_message_copy), (gst_message_new_segment_start),
22060         (gst_message_new_segment_done), (gst_message_new_custom),
22061         (gst_message_parse_segment_start),
22062         (gst_message_parse_segment_done):
22063         Small cleanups.
22064
22065         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22066         (gst_pad_set_caps), (gst_pad_send_event):
22067         Update for new events. 
22068         Catch events sent in wrong directions.
22069
22070         * gst/gstqueue.c: (gst_queue_link_src),
22071         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22072         (gst_queue_handle_src_query):
22073         Event updates.
22074
22075         * gst/gsttag.c:
22076         * gst/gsttag.h:
22077         Remove event code from this file.
22078
22079         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22080         (gst_dp_event_from_packet):
22081         Event updates.
22082
22083 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22084
22085         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
22086         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22087         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
22088           Make debugging actually useful.
22089
22090 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22091
22092         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
22093         (gst_pad_fixate_caps):
22094           Implement default fixation once again, so that gst_pad_fixate()
22095           actually does anything at all. This probably needs to be some
22096           sort of a last resort, and use profile-based fixation first, but
22097           since that doesn't exist yet, this is the best we have. Fixes
22098           visualization in Totem.
22099
22100 2005-07-22  Wim Taymans  <wim@fluendo.com>
22101
22102         * docs/design/part-events.txt:
22103         Small update.
22104
22105         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22106         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
22107         (gst_base_sink_activate_pull):
22108         Some more comments.
22109
22110         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22111         (gst_fake_src_create):
22112         Fix handoff marshall.
22113
22114         * gst/elements/gstidentity.c: (gst_identity_class_init),
22115         (gst_identity_transform_ip):
22116         We're a real inplace element.
22117
22118         * gst/gstbus.c: (gst_bus_post):
22119         Added some comments.
22120
22121         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22122         * tests/muxing/case1.c: (main):
22123         * tests/sched/dynamic-pipeline.c: (main):
22124         * tests/sched/interrupt1.c: (main):
22125         * tests/sched/interrupt2.c: (main):
22126         * tests/sched/interrupt3.c: (main):
22127         * tests/sched/runxml.c: (main):
22128         * tests/sched/sched-stress.c: (main):
22129         * tests/seeking/seeking1.c: (event_received), (main):
22130         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22131         (main):
22132         * tests/threadstate/threadstate3.c: (main):
22133         * tests/threadstate/threadstate4.c: (main):
22134         * tests/threadstate/threadstate5.c: (main):
22135         Fix the tests.
22136
22137 2005-07-21  Wim Taymans  <wim@fluendo.com>
22138
22139         * docs/design/part-seeking.txt:
22140         Some small additions.
22141
22142         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22143         (gst_base_sink_get_times), (gst_base_sink_do_sync),
22144         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22145         * gst/base/gstbasesink.h:
22146         discont values are gint64, handle the math correctly.
22147
22148         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22149         Make the basesrc report error if the source pad is not linked.
22150
22151         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22152         (gst_queue_loop), (gst_queue_handle_src_query),
22153         (gst_queue_src_activate_push):
22154         Make queue collect data even if the srcpad is not linked.
22155         Start pushing out data as soon as it is linked.
22156
22157         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22158         * gst/gstutils.h:
22159         Added gst_flow_get_name() to ease error reporting.
22160
22161 2005-07-20  Wim Taymans  <wim@fluendo.com>
22162
22163         * gst/gstmessage.c: (gst_message_new_segment_start),
22164         (gst_message_new_segment_done), (gst_message_parse_segment_start),
22165         (gst_message_parse_segment_done):
22166         * gst/gstmessage.h:
22167         Added a bunch of messages for advanced seeking.
22168
22169         * gst/parse/grammar.y:
22170         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22171         (gst_dpman_state_changed):
22172         Fix some new-pad -> pad-added signals
22173
22174 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22175
22176         * docs/manual/appendix-porting.xml:
22177         * docs/pwg/appendix-porting.xml:
22178           Document new-pad/state-change signal renames and the FixedList
22179           type rename.
22180
22181 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22182
22183         * docs/manual/advanced-autoplugging.xml:
22184         * docs/manual/basics-helloworld.xml:
22185         * docs/manual/basics-pads.xml:
22186         * docs/random/ds/0.9-suggested-changes:
22187         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22188         * gst/gstelement.h:
22189         * gst/gstevent.h:
22190         * gst/gstformat.h:
22191         * gst/gstquery.h:
22192         * gst/gststructure.c: (gst_structure_value_get_generic_type),
22193         (gst_structure_parse_array), (gst_structure_parse_value):
22194         * gst/gstvalue.c: (gst_type_is_fixed),
22195         (gst_value_list_prepend_value), (gst_value_list_append_value),
22196         (gst_value_list_get_size), (gst_value_list_get_value),
22197         (gst_value_transform_array_string), (gst_value_serialize_array),
22198         (gst_value_deserialize_array), (gst_value_intersect_array),
22199         (gst_value_is_fixed), (_gst_value_initialize):
22200         * gst/gstvalue.h:
22201           GstElement::new-pad -> pad-added, GstElement::state-change ->
22202           state-changed, GstValueFixedList -> GstValueArray, add format and
22203           flags as their own arguments in gst_element_seek() (should improve
22204           "bindeability"), remove function generators since they don't work
22205           under a whole bunch of compilers (they were deprecated already
22206           anyway).
22207
22208 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22209
22210         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22211         (_gst_debug_register_funcptr):
22212         * gst/gstinfo.h:
22213           Fix illegal cast on some platforms (#309253).
22214
22215 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22216
22217         * gst/gstmessage.c: (gst_message_new_custom):
22218         * gst/gstmessage.h:
22219           Add _new_custom, make _new_application a macro to _new_custom.
22220
22221 2005-07-20  Wim Taymans  <wim@fluendo.com>
22222
22223         * gst/base/gstbasesrc.c: (gst_base_src_init),
22224         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22225         * gst/base/gstbasesrc.h:
22226         Add a gboolean to decide when to push out a discont.
22227
22228         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22229         (gst_queue_loop), (gst_queue_handle_src_query),
22230         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22231         (gst_queue_set_property), (gst_queue_get_property):
22232         Some cleanups.
22233
22234         * tests/threadstate/threadstate1.c: (main):
22235         Make a thread test compile and run... very silly..
22236
22237
22238 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22239
22240         * docs/manual/appendix-porting.xml:
22241           Mention removal of libgstgconf-0.9.la and existence of gconf
22242           elements.
22243
22244 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22245
22246         * docs/pwg/advanced-clock.xml:
22247         * docs/pwg/appendix-porting.xml:
22248         * docs/pwg/intro-preface.xml:
22249         * docs/pwg/other-base.xml:
22250         * docs/pwg/other-manager.xml:
22251         * docs/pwg/other-nton.xml:
22252         * docs/pwg/other-ntoone.xml:
22253         * docs/pwg/other-oneton.xml:
22254         * docs/pwg/pwg.xml:
22255           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22256           demuxer), remove n-to-n (was never written), fix some code examples
22257           and links and update the porting section to include all this.
22258
22259 2005-07-19  Wim Taymans  <wim@fluendo.com>
22260
22261         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22262         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22263         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22264         (gst_queue_src_activate_push), (gst_queue_change_state),
22265         (gst_queue_get_property):
22266         * gst/gstqueue.h:
22267         Propagate GstFlowReturn more intelligently upstream and output
22268         an ERROR/EOS when streaming stopped due to fatal error.
22269
22270 2005-07-19  Wim Taymans  <wim@fluendo.com>
22271
22272         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22273         Don't block forever for the state change to complete, the
22274         pipeline already did with a sensible timeout.
22275
22276 2005-07-19  Wim Taymans  <wim@fluendo.com>
22277
22278         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22279         Make sure we never call the create function is we
22280         got deactivated.
22281
22282 2005-07-19  Andy Wingo  <wingo@pobox.com>
22283
22284         * gst/parse/parse.l: Attempt to solve bug #172815.
22285
22286 2005-07-19  Wim Taymans  <wim@fluendo.com>
22287
22288         * docs/design/part-clocks.txt:
22289         * docs/design/part-events.txt:
22290         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22291         Small docs updates.
22292         Only update the seeking values when we are not
22293         busy streaming.
22294
22295 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22296
22297         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22298           Oops, ignore the result of gst_pad_push_event here.
22299
22300 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22301
22302         * gst/base/gstbasesrc.c: (gst_base_src_loop),
22303         (gst_base_src_activate_push):
22304           Send discont event from the loop function, as pads
22305           aren't activated yet in the activate_push handler.
22306
22307         * gst/gstbin.c: (bin_bus_handler):
22308           Don't leak element name.
22309
22310 2005-07-18  Andy Wingo  <wingo@pobox.com>
22311
22312         * configure.ac: Use AS_LIBTOOL_TAGS.
22313
22314 2005-07-18  Wim Taymans  <wim@fluendo.com>
22315
22316         * docs/gst/gstreamer.types:
22317         Remove deleted types.
22318
22319 2005-07-18  Wim Taymans  <wim@fluendo.com>
22320
22321         * check/elements/gstfakesrc.c: (GST_START_TEST):
22322         * configure.ac:
22323         * gst/Makefile.am:
22324         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22325         (init_popt_callback):
22326         * gst/gst.h:
22327         * gst/gst_private.h:
22328         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22329         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22330         * gst/gstbin.h:
22331         * gst/gstbus.h:
22332         * gst/gstconfig.h.in:
22333         * gst/gstelement.c: (gst_element_class_init),
22334         (gst_element_set_base_time), (gst_element_get_base_time),
22335         (iterator_fold_with_resync), (gst_element_change_state),
22336         (gst_element_dispose), (gst_element_get_bus):
22337         * gst/gstelement.h:
22338         * gst/gstelementfactory.h:
22339         * gst/gsterror.c: (_gst_core_errors_init):
22340         * gst/gsterror.h:
22341         * gst/gstevent.h:
22342         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22343         * gst/gstindex.c:
22344         * gst/gstinfo.c: (_gst_debug_init):
22345         * gst/gstmessage.c: (_gst_message_copy):
22346         * gst/gstmessage.h:
22347         * gst/gstminiobject.h:
22348         * gst/gstobject.c:
22349         * gst/gstobject.h:
22350         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22351         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22352         * gst/gstpad.h:
22353         * gst/gstparse.h:
22354         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22355         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22356         (gst_pipeline_get_last_stream_time):
22357         * gst/gstpipeline.h:
22358         * gst/gstpluginfeature.h:
22359         * gst/gstquery.h:
22360         * gst/gstscheduler.c:
22361         * gst/gstscheduler.h:
22362         * gst/gststructure.h:
22363         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22364         (gst_task_finalize), (gst_task_func), (gst_task_create),
22365         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22366         (gst_task_stop), (gst_task_pause):
22367         * gst/gsttask.h:
22368         * gst/gsttypefind.h:
22369         * gst/gsttypes.h:
22370         * gst/registries/gstlibxmlregistry.c: (load_feature),
22371         (gst_xml_registry_load), (gst_xml_registry_save_feature):
22372         * gst/registries/gstxmlregistry.c:
22373         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22374         * gst/schedulers/threadscheduler.c:
22375         * libs/gst/control/dparammanager.h:
22376         * tools/gst-inspect.c: (print_element_list),
22377         (print_plugin_features), (print_element_features):
22378         * tools/gst-xmlinspect.c: (print_element_list),
22379         (print_plugin_info), (main):
22380         Removed plugable schedulers.
22381         Removed Scheduler/Manager from elements.
22382         Removed gsttypes.h, rearranged includes.
22383         Removed dependency pad<->element, element<>pipeline, and
22384         various others,  fix includes.
22385         implement gst_pad_get_parent() with gst_object_get_parent()
22386         Make GstTask sefcontained.
22387         Fix _get_state() on GstBin, it did not return ASYNC with a 0
22388         timeout.
22389         Fix endless loop in iterator_fold_with_resync.
22390
22391
22392 2005-07-18  Wim Taymans  <wim@fluendo.com>
22393
22394         * gst/Makefile.am:
22395         * gst/gstarch.h:
22396         Remove old file.
22397
22398 2005-07-18  Wim Taymans  <wim@fluendo.com>
22399
22400         * gst/Makefile.am:
22401         No more cothreads.h
22402
22403 2005-07-18  Wim Taymans  <wim@fluendo.com>
22404
22405         * gst/cothreads.c:
22406         * gst/cothreads.h:
22407         Let's remove these.
22408
22409 2005-07-18  Wim Taymans  <wim@fluendo.com>
22410
22411         * docs/design/part-dynamic.txt:
22412         * docs/design/part-events.txt:
22413         * docs/design/part-seeking.txt:
22414         Some more docs in the works.
22415
22416         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22417         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22418         (gst_base_transform_setcaps), (gst_base_transform_get_size),
22419         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22420         (gst_base_transform_handle_buffer),
22421         (gst_base_transform_sink_activate_push),
22422         (gst_base_transform_src_activate_pull),
22423         (gst_base_transform_set_passthrough),
22424         (gst_base_transform_is_passthrough):
22425         Refcounting fixes.
22426
22427         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22428         Cleanups.
22429
22430         * gst/gstevent.c: (gst_event_finalize):
22431         Set SRC to NULL.
22432
22433         * gst/gstutils.c: (gst_element_unlink),
22434         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22435         (gst_pad_proxy_setcaps):
22436         * gst/gstutils.h:
22437         Add _get_parent_element() to get a pads parent as an element.
22438
22439 2005-07-18  Wim Taymans  <wim@fluendo.com>
22440
22441         * check/gst/gstbin.c: (GST_START_TEST):
22442         Remove bogus test.
22443
22444 2005-07-18  Wim Taymans  <wim@fluendo.com>
22445
22446         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22447         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22448         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22449         (gst_base_sink_event), (gst_base_sink_do_sync),
22450         (gst_base_sink_chain), (gst_base_sink_loop),
22451         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22452         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22453         Refcounting fixes.
22454         Fix logic for returning ASYNC when not prerolled.
22455
22456 2005-07-18  Wim Taymans  <wim@fluendo.com>
22457
22458         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22459         Fix nasty refcount bug.
22460
22461 2005-07-16 Philippe Khalaf <burger@speedy.org>
22462
22463         * gst/elements/gstfdsrc.c:
22464         * gst/elements/gstfdsrc.h:
22465         * gst/elements/gstelements.c:
22466         * gst/elements/Makefile.am:
22467         Ported fdsrc to 0.9.
22468
22469 2005-07-16  Wim Taymans  <wim@fluendo.com>
22470
22471         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22472         (gst_base_sink_do_sync):
22473         Fix compile error.
22474
22475 2005-07-16  Wim Taymans  <wim@fluendo.com>
22476
22477         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22478         (gst_base_sink_event), (gst_base_sink_get_times),
22479         (gst_base_sink_do_sync), (gst_base_sink_change_state):
22480         * gst/base/gstbasesink.h:
22481         Store and use discont values when syncing buffers as described
22482         in design docs.
22483         
22484         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22485         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22486         (gst_base_src_activate_push):
22487         Push discont event when starting.
22488
22489         * gst/elements/gstidentity.c: (gst_identity_transform):
22490         Small cleanups.
22491
22492         * gst/gstbin.c: (gst_bin_change_state):
22493         Small cleanups in base_time  distribution.
22494
22495         * gst/gstelement.c: (gst_element_set_base_time),
22496         (gst_element_get_base_time), (gst_element_change_state):
22497         * gst/gstelement.h:
22498         Added methods for the base_time of the element.
22499         Some MT fixes.
22500
22501         * gst/gstpipeline.c: (gst_pipeline_send_event),
22502         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22503         (gst_pipeline_get_last_stream_time):
22504         * gst/gstpipeline.h:
22505         MT fixes.
22506         Handle seeking as described in design doc, remove stream_time
22507         hack.
22508         Cleanups clock and stream_time selection code. Added accessors
22509         for the stream_time.
22510         
22511
22512 2005-07-16  Andy Wingo  <wingo@pobox.com>
22513
22514         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22515         (#305291).
22516
22517 2005-07-16  Wim Taymans  <wim@fluendo.com>
22518
22519         * check/gst/gstbin.c: (GST_START_TEST):
22520         Make elements silent as the deep_notify refs the
22521         parent, which might make the test fail.
22522
22523         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22524         Don't hold the lock for too long.
22525
22526 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
22527
22528         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22529           Don't unref the caps we passed to gst_caps_make_writable() after
22530           passing them. gst_caps_make_writable() will do that for us.
22531
22532 2005-07-15  Andy Wingo  <wingo@pobox.com>
22533
22534         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22535         (#157311).
22536
22537         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22538         own marshalling function for the handoff signal. Properly type the
22539         buffer as a buffer. Fixes some warnings. Should do a more general
22540         solution.
22541         (gst_identity_class_init): Plug into the right marshaller.
22542
22543 2005-07-15  Wim Taymans  <wim@fluendo.com>
22544
22545         * docs/design/part-TODO.txt:
22546         * docs/design/part-clocks.txt:
22547         * docs/design/part-element-sink.txt:
22548         * docs/design/part-events.txt:
22549         * docs/design/part-gstpipeline.txt:
22550         Updated docs, mostly DISCONT related.
22551
22552 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
22553
22554         * docs/pwg/building-pads.xml:
22555           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22556
22557 2005-07-15  Andy Wingo  <wingo@pobox.com>
22558
22559         * tools/gst-typefind.c: Update, add copyright block.
22560
22561         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22562         Normalize and truncate caps before fixation.
22563
22564         * gst/gstcaps.h:
22565         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22566         discards all but the first structure from its argument.
22567
22568 2005-07-15  Wim Taymans  <wim@fluendo.com>
22569
22570         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22571         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22572         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22573         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22574         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22575         (gst_base_transform_chain), (gst_base_transform_change_state),
22576         (gst_base_transform_set_passthrough),
22577         (gst_base_transform_is_passthrough):
22578         * gst/base/gstbasetransform.h:
22579         Make passthrough work using the bufferpools.
22580         Changed API a bit, subclasses have to write into a buffer
22581         provided by the base class.
22582         More debug info in nego functions.
22583         
22584         * gst/elements/gstidentity.c: (gst_identity_init),
22585         (gst_identity_transform):
22586         Port to new base class.
22587
22588 2005-07-15  Wim Taymans  <wim@fluendo.com>
22589
22590         * gst/gstmessage.c: (gst_message_new_state_changed):
22591         * tools/gst-launch.c: (event_loop), (main):
22592         Totally dump messages in -launch with the -m option.
22593         Fix message name for State messages,
22594
22595 2005-07-14  Wim Taymans  <wim@fluendo.com>
22596
22597         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22598         Post error messages on errors.
22599
22600 2005-07-14  Wim Taymans  <wim@fluendo.com>
22601
22602         * gst/gstcaps.c: (gst_caps_do_simplify):
22603         Remove debug info.
22604
22605         * gst/gsterror.h:
22606         Define error for stream stopped.
22607
22608         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22609         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22610         Do proper return values.
22611
22612         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22613         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22614         (gst_pad_get_range):
22615         Better return values.
22616
22617         * gst/gstpad.h:
22618         Reorganise return values, add macro to check for fatal errors.
22619
22620         * gst/gstqueue.c: (gst_queue_chain):
22621         Return proper GstFlowReturn values,
22622
22623 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
22624
22625         * docs/gst/gstreamer-sections.txt:
22626         * docs/gst/gstreamer.types:
22627         * docs/gst/tmpl/gst.sgml:
22628         * docs/gst/tmpl/gstbasesink.sgml:
22629         * docs/gst/tmpl/gstbasesrc.sgml:
22630         * docs/gst/tmpl/gstbasetransform.sgml:
22631         * docs/gst/tmpl/gstbin.sgml:
22632         * docs/gst/tmpl/gstbuffer.sgml:
22633         * docs/gst/tmpl/gstcaps.sgml:
22634         * docs/gst/tmpl/gstclock.sgml:
22635         * docs/gst/tmpl/gstcompat.sgml:
22636         * docs/gst/tmpl/gstconfig.sgml:
22637         * docs/gst/tmpl/gstelement.sgml:
22638         * docs/gst/tmpl/gstelementdetails.sgml:
22639         * docs/gst/tmpl/gstelementfactory.sgml:
22640         * docs/gst/tmpl/gstenumtypes.sgml:
22641         * docs/gst/tmpl/gsterror.sgml:
22642         * docs/gst/tmpl/gstevent.sgml:
22643         * docs/gst/tmpl/gstfakesink.sgml:
22644         * docs/gst/tmpl/gstfakesrc.sgml:
22645         * docs/gst/tmpl/gstfilesink.sgml:
22646         * docs/gst/tmpl/gstfilesrc.sgml:
22647         * docs/gst/tmpl/gstfilter.sgml:
22648         * docs/gst/tmpl/gstformat.sgml:
22649         * docs/gst/tmpl/gstghostpad.sgml:
22650         * docs/gst/tmpl/gstimplementsinterface.sgml:
22651         * docs/gst/tmpl/gstindex.sgml:
22652         * docs/gst/tmpl/gstindexfactory.sgml:
22653         * docs/gst/tmpl/gstinfo.sgml:
22654         * docs/gst/tmpl/gstiterator.sgml:
22655         * docs/gst/tmpl/gstmacros.sgml:
22656         * docs/gst/tmpl/gstmemchunk.sgml:
22657         * docs/gst/tmpl/gstminiobject.sgml:
22658         * docs/gst/tmpl/gstobject.sgml:
22659         * docs/gst/tmpl/gstpad.sgml:
22660         * docs/gst/tmpl/gstpadtemplate.sgml:
22661         * docs/gst/tmpl/gstparse.sgml:
22662         * docs/gst/tmpl/gstpipeline.sgml:
22663         * docs/gst/tmpl/gstplugin.sgml:
22664         * docs/gst/tmpl/gstpluginfeature.sgml:
22665         * docs/gst/tmpl/gstquery.sgml:
22666         * docs/gst/tmpl/gstqueue.sgml:
22667         * docs/gst/tmpl/gstregistry.sgml:
22668         * docs/gst/tmpl/gstregistrypool.sgml:
22669         * docs/gst/tmpl/gstscheduler.sgml:
22670         * docs/gst/tmpl/gstschedulerfactory.sgml:
22671         * docs/gst/tmpl/gststructure.sgml:
22672         * docs/gst/tmpl/gstsystemclock.sgml:
22673         * docs/gst/tmpl/gsttaglist.sgml:
22674         * docs/gst/tmpl/gsttagsetter.sgml:
22675         * docs/gst/tmpl/gsttrace.sgml:
22676         * docs/gst/tmpl/gsttrashstack.sgml:
22677         * docs/gst/tmpl/gsttypefind.sgml:
22678         * docs/gst/tmpl/gsttypefindfactory.sgml:
22679         * docs/gst/tmpl/gsttypes.sgml:
22680         * docs/gst/tmpl/gsturihandler.sgml:
22681         * docs/gst/tmpl/gsturitype.sgml:
22682         * docs/gst/tmpl/gstutils.sgml:
22683         * docs/gst/tmpl/gstvalue.sgml:
22684         * docs/gst/tmpl/gstversion.sgml:
22685         * docs/gst/tmpl/gstxml.sgml:
22686         * docs/libs/tmpl/gstcontrol.sgml:
22687         * docs/libs/tmpl/gstdataprotocol.sgml:
22688         * docs/libs/tmpl/gstdparam.sgml:
22689         * docs/libs/tmpl/gstdplinint.sgml:
22690         * docs/libs/tmpl/gstdpman.sgml:
22691         * docs/libs/tmpl/gstdpsmooth.sgml:
22692         * docs/libs/tmpl/gstgetbits.sgml:
22693         * docs/libs/tmpl/gstunitconvert.sgml:
22694         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22695         (gst_push_src_base_init), (gst_push_src_class_init),
22696         (gst_push_src_init), (gst_push_src_create):
22697         * gst/base/gstpushsrc.h:
22698         * gst/elements/gstelements.c:
22699         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22700         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22701         (gst_fake_sink_init), (gst_fake_sink_set_property),
22702         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22703         (gst_fake_sink_event), (gst_fake_sink_preroll),
22704         (gst_fake_sink_render), (gst_fake_sink_change_state):
22705         * gst/elements/gstfakesink.h:
22706         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22707         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22708         (gst_fake_src_base_init), (gst_fake_src_class_init),
22709         (gst_fake_src_init), (gst_fake_src_event_handler),
22710         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22711         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22712         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22713         (gst_fake_src_create_buffer), (gst_fake_src_create),
22714         (gst_fake_src_start), (gst_fake_src_stop):
22715         * gst/elements/gstfakesrc.h:
22716         * gst/elements/gstfilesink.c: (_do_init),
22717         (gst_file_sink_base_init), (gst_file_sink_class_init),
22718         (gst_file_sink_init), (gst_file_sink_dispose),
22719         (gst_file_sink_set_location), (gst_file_sink_set_property),
22720         (gst_file_sink_get_property), (gst_file_sink_open_file),
22721         (gst_file_sink_close_file), (gst_file_sink_query),
22722         (gst_file_sink_event), (gst_file_sink_render),
22723         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22724         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22725         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22726         * gst/elements/gstfilesink.h:
22727         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22728         (gst_file_src_class_init), (gst_file_src_init),
22729         (gst_file_src_finalize), (gst_file_src_set_location),
22730         (gst_file_src_set_property), (gst_file_src_get_property),
22731         (gst_file_src_map_region), (gst_file_src_map_small_region),
22732         (gst_file_src_create_mmap), (gst_file_src_create_read),
22733         (gst_file_src_create), (gst_file_src_is_seekable),
22734         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22735         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22736         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22737         (gst_file_src_uri_handler_init):
22738         * gst/elements/gstfilesrc.h:
22739           more autistic cleanliness in functions/names/defines
22740
22741 2005-07-13  Andy Wingo  <wingo@pobox.com>
22742
22743         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22744         source couldn't negotiate.
22745
22746         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22747         connections again.
22748
22749         * gst/gstutils.h:
22750         * gst/gstutils.c (gst_element_link_pads_filtered): New old
22751         function. I am channeling Hades. Put your boots on suckers!!!
22752
22753 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22754
22755         * testsuite/caps/Makefile.am:
22756         * testsuite/caps/value_compare.c:
22757         * testsuite/caps/value_intersect.c:
22758         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22759           move two testsuite apps over to the check dir
22760
22761 2005-07-12  Wim Taymans  <wim@fluendo.com>
22762
22763         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22764         Added more debug info in the negotiate process.
22765
22766         * gst/gstmessage.h:
22767         Prepare for segment playback.
22768
22769         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22770         Better debugging.
22771
22772         * gst/gstutils.c:
22773         Some more docs.
22774
22775         * tools/gst-launch.c: (main):
22776         NULL pipeline on errors.
22777
22778 2005-07-12  Andy Wingo  <wingo@pobox.com>
22779
22780         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22781         not it comes from a malloc region. Make sure our copy gets freed.
22782
22783 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22784
22785         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22786         * check/gst/gstmessage.c: (GST_START_TEST):
22787         * check/gst/gststructure.c: (GST_START_TEST),
22788         (gst_structure_suite), (main):
22789           more testing
22790         * gst/gstelement.c: (gst_element_message_full):
22791           clean up GError and debug string now that they get copied
22792         * gst/gstmessage.c: (gst_message_new_error),
22793         (gst_message_new_warning), (gst_message_parse_error),
22794         (gst_message_parse_warning):
22795           use GST_TYPE_G_ERROR for structure_new, and take copies of
22796           arguments, so that we don't mess up refcounting
22797
22798 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22799
22800         * check/Makefile.am:
22801           add per-test valgrind targets
22802         * check/gst-libs/gdp.c: (GST_START_TEST),
22803         (gst_data_protocol_suite), (main):
22804           clean up
22805
22806 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22807
22808         * check/Makefile.am:
22809           instate more valgrindable tests
22810         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22811         (GST_START_TEST), (fakesrc_suite):
22812         * check/gst/gstpad.c: (GST_START_TEST):
22813         * check/gst/gststructure.c: (GST_START_TEST):
22814           fix test leaks
22815         * docs/gst/tmpl/gstminiobject.sgml:
22816         * gst/gstpad.c: (gst_pad_finalize):
22817           fix the static mutex leak
22818
22819 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22820
22821         * check/Makefile.am:
22822           add two more tests for valgrinding
22823         * check/gst/gstvalue.c: (GST_START_TEST):
22824           test refcount of deserialized buffer, found a leak
22825         * docs/gst/gstreamer-docs.sgml:
22826         * docs/gst/gstreamer-sections.txt:
22827         * docs/gst/gstreamer.types:
22828         * docs/gst/tmpl/gstminiobject.sgml:
22829           add miniobject to docs
22830         * gst/gstminiobject.c:
22831           add some docs
22832         * gst/gstvalue.c: (gst_value_deserialize_buffer),
22833         (gst_string_unwrap):
22834           fix a hard-to-find invalid write for one of the tests
22835           fix a leak for deserialized buffers
22836
22837 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22838
22839         * docs/pwg/advanced-events.xml:
22840         * docs/pwg/advanced-request.xml:
22841         * docs/pwg/advanced-scheduling.xml:
22842         * docs/pwg/appendix-porting.xml:
22843         * docs/pwg/building-boiler.xml:
22844         * docs/pwg/intro-preface.xml:
22845         * docs/pwg/other-ntoone.xml:
22846           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22847           of example code and explanation for pad activation, loop() and
22848           getrange() functions and a bit more. Remove old comments pointing
22849           to loop-functions.
22850         * examples/pwg/Makefile.am:
22851           Add loop/getrange examples.
22852
22853 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22854
22855         * configure.ac:
22856           check for valgrind binary + some fixes
22857         * check/gst.supp:
22858           valgrind suppressions for the tests
22859         * check/Makefile.am:
22860           add a valgrind: target that valgrinds the unit tests
22861         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22862         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22863         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22864         * check/gst/gstghostpad.c:
22865           added some cleanup
22866         * check/gst/gstdata.c:
22867           removed
22868         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22869         (thread_unref), (gst_mini_object_suite), (main):
22870           added
22871         * gst/gst.c: (gst_deinit):
22872         * gst/gst.h:
22873           add a method to clean up.
22874         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22875         (gst_system_clock_obtain):
22876           allow for disposing the system clock.
22877         * tools/gst-launch.c: (main):
22878           deinit
22879
22880 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22881
22882         * docs/gst/tmpl/gstbasesrc.sgml:
22883         * docs/gst/tmpl/gstfakesrc.sgml:
22884         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22885         (gst_base_src_init), (gst_base_src_set_property),
22886         (gst_base_src_get_property), (gst_base_src_get_range),
22887         (gst_base_src_start):
22888         * gst/base/gstbasesrc.h:
22889           add num-buffers property
22890         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22891         (gst_fakesrc_init), (gst_fakesrc_set_property),
22892         (gst_fakesrc_get_property), (gst_fakesrc_create),
22893         (gst_fakesrc_start):
22894           remove num-buffers property
22895
22896 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22897
22898         * docs/gst/gstreamer-sections.txt:
22899         * docs/gst/tmpl/gstbasesink.sgml:
22900         * docs/gst/tmpl/gstbasesrc.sgml:
22901         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22902         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22903         (gst_base_sink_finalize), (gst_base_sink_set_clock),
22904         (gst_base_sink_set_property), (gst_base_sink_get_property),
22905         (gst_base_sink_handle_object), (gst_base_sink_event),
22906         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22907         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22908         (gst_base_sink_loop), (gst_base_sink_deactivate),
22909         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22910         (gst_base_sink_change_state):
22911         * gst/base/gstbasesink.h:
22912         * gst/base/gstbasesrc.h:
22913         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22914         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22915         (gst_filesink_init):
22916           more macro splitting
22917
22918 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22919
22920         * gst/gstelement.c: (gst_element_get_bus):
22921           add debug
22922         * tools/gst-launch.c: (check_intr), (event_loop):
22923           fix bus leaks
22924
22925 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22926
22927         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22928           fix a caps leak
22929
22930 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22931
22932         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22933         (gst_base_src_finalize):
22934           add finalize method and clean up properly
22935         * gst/gstpipeline.c: (gst_pipeline_dispose):
22936           add debug
22937
22938 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22939
22940         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22941         (gst_bin_suite):
22942           add more things to check
22943         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22944         * gst/gstelement.c:
22945           more debug
22946
22947 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22948
22949         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22950         (GST_START_TEST), (fakesrc_suite):
22951         * check/gst-libs/gdp.c: (GST_START_TEST):
22952         * check/gst/gst.c: (GST_START_TEST):
22953         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22954         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22955         * check/gst/gstbus.c: (GST_START_TEST):
22956         * check/gst/gstcaps.c: (GST_START_TEST):
22957         * check/gst/gstdata.c: (GST_START_TEST):
22958         * check/gst/gstelement.c: (GST_START_TEST):
22959         * check/gst/gstghostpad.c: (GST_START_TEST):
22960         * check/gst/gstiterator.c: (GST_START_TEST):
22961         * check/gst/gstmessage.c: (GST_START_TEST):
22962         * check/gst/gstobject.c: (GST_START_TEST):
22963         * check/gst/gstpad.c: (GST_START_TEST):
22964         * check/gst/gststructure.c: (GST_START_TEST):
22965         * check/gst/gstsystemclock.c: (GST_START_TEST),
22966         (gst_systemclock_suite):
22967         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22968         * check/gst/gstvalue.c: (GST_START_TEST):
22969         * check/pipelines/cleanup.c: (GST_START_TEST):
22970         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22971         * check/states/sinks.c: (GST_START_TEST):
22972         * check/gstcheck.c: (gst_check_init):
22973         * check/gstcheck.h:
22974           add debugging category
22975           use GST_START_TEST now, so we add a debug line
22976
22977 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22978
22979         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22980           add test for state change message on a bin
22981         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22982           add another test
22983         * gst/gstbin.c: (gst_bin_init):
22984         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22985         * gst/gstelement.c: (gst_element_post_message),
22986         (gst_element_set_state):
22987         * gst/gstelementfactory.c: (gst_element_factory_create):
22988         * gst/gstmessage.c: (gst_message_new):
22989         * gst/gstscheduler.c:
22990           various debugging additions and cleanups
22991
22992 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22993
22994         * check/Makefile.am:
22995         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22996         (main):
22997           adding tests for elements
22998         * gst/gstelement.c: (gst_element_dispose):
22999
23000 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23001
23002         * gst/registries/gstlibxmlregistry.c: (load_feature):
23003           plug more leaks.  A simple gst_init() now is leakfree, yay.
23004
23005 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23006
23007         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
23008         (gst_xml_registry_load):
23009           plug another memleak
23010
23011 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23012
23013         * configure.ac:
23014           use GST_SET_ERROR_CFLAGS
23015         * docs/faq/cvs.xml:
23016           change to ERROR_CFLAGS
23017
23018 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23019
23020         * configure.ac:
23021           make GST_ERROR_CFLAGS overridable and re-enable Werror
23022         * docs/faq/cvs.xml:
23023           add a note about error CFLAGS
23024         * docs/gst/tmpl/gstfakesrc.sgml:
23025         * gst/elements/gstfakesrc.c:
23026           comment out some unused code
23027         * gst/gst.c: (split_and_iterate):
23028         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
23029         (load_feature):
23030           plug some memleaks
23031
23032 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23033
23034         * common/Makefile.am:
23035         * common/gtk-doc.mak:
23036         * docs/gst/Makefile.am:
23037           factor out gtk-doc.mak
23038
23039 2005-07-07  Wim Taymans  <wim@fluendo.com>
23040
23041         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
23042         (gst_thread_scheduler_dispose):
23043         Unlock the STREAM_LOCK completely.
23044
23045 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23046
23047         * check/Makefile.am:
23048         * check/elements/.cvsignore:
23049         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23050         (START_TEST), (fakesrc_suite), (main):
23051         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23052         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23053         (gst_fakesrc_create), (gst_fakesrc_start):
23054         * gst/elements/gstfakesrc.h:
23055           adding a first element test
23056
23057 2005-07-07  Andy Wingo  <wingo@pobox.com>
23058
23059         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
23060         debug message.
23061
23062 2005-07-07  Wim Taymans  <wim@fluendo.com>
23063
23064         * gst/gstquery.c:
23065         * gst/gstquery.h:
23066         Remove old types
23067
23068 2005-07-07  Wim Taymans  <wim@fluendo.com>
23069
23070         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23071         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
23072         Allow subclasses to implement their own negotiation.
23073
23074 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23075
23076         * docs/design/part-gstbin.txt:
23077         * docs/design/part-gstpipeline.txt:
23078           Update design notes to reflect the movement of
23079           responsibility for bus handling from GstPipeline to
23080           GstBin
23081
23082 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23083
23084         * configure.ac:
23085           Remove unnecessary queue2/3/4 examples.
23086
23087 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23088
23089         * examples/Makefile.am:
23090         * examples/helloworld/helloworld.c: (event_loop), (main):
23091         * examples/queue/queue.c: (event_loop), (main):
23092         * examples/queue2/queue2.c: (main):
23093           Update a couple of the examples to work again.
23094
23095         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23096         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
23097          Spelling corrections and extra debug.
23098         
23099         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
23100         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
23101         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
23102         * gst/gstbin.h:
23103         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23104         (gst_pipeline_change_state):
23105         * gst/gstpipeline.h:
23106           Move the bus handler for children to the GstBin, and create a
23107           separate bus for receiving messages from children to the one the
23108           bus sends 'upwards' on.
23109
23110 2005-07-06  Wim Taymans  <wim@fluendo.com>
23111
23112         * gst/base/README:
23113         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23114         (gst_base_sink_handle_object), (gst_base_sink_loop),
23115         (gst_base_sink_change_state):
23116         * gst/base/gstbasesink.h:
23117         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23118         (gst_base_src_init), (gst_base_src_setcaps),
23119         (gst_base_src_getcaps), (gst_base_src_loop),
23120         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23121         (gst_base_src_start), (gst_base_src_change_state):
23122         * gst/base/gstbasesrc.h:
23123         Make basesrc negotiate.
23124         Handle the case where preroll fails in basesink.
23125         Update README.
23126
23127 2005-07-06  Wim Taymans  <wim@fluendo.com>
23128
23129         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23130         Implement the fixate function.
23131         Clean up acceptcaps.
23132
23133 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23134
23135         * docs/pwg/building-filterfactory.xml:
23136         * docs/pwg/pwg.xml:
23137           Remove never-written filter-factory chapter; I'll add the various
23138           base classes to part 4 ("other element types") later on.
23139
23140 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23141
23142         * docs/pwg/advanced-negotiation.xml:
23143         * docs/pwg/building-boiler.xml:
23144         * docs/pwg/building-pads.xml:
23145         * docs/pwg/pwg.xml:
23146         * examples/pwg/Makefile.am:
23147           Add a chapter on caps negotiation, simplify the original code
23148           samples a bit w.r.t. caps negotiation, add link to the advanced
23149           section. Add a bunch of examples showing different use cases of
23150           different types of caps negotiation. Upstream renegotiation isn't
23151           fully documented yet since nobody knows how that works.
23152
23153 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23154
23155         * check/gst/gstpad.c:
23156         * check/gstcheck.c:
23157         * gst/gstpad.c: (gst_pad_get_internal_links_default):
23158           if pad has no parent, return NULL as list of internal links
23159
23160 2005-07-05  Andy Wingo  <wingo@pobox.com>
23161
23162         * gst/elements/gstfilesrc.c:
23163         * gst/elements/gstfakesrc.c: 
23164         * gst/base/gstpushsrc.c:
23165         * gst/base/gstbasesrc.h: 
23166         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23167         
23168 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
23169
23170         * Makefile.am:
23171           better report generation target (lcov needs a patch)
23172
23173 2005-07-05  Andy Wingo  <wingo@pobox.com>
23174
23175         * gst/elements, testsuite: Null if we got it...
23176
23177 2005-07-05  Wim Taymans  <wim@fluendo.com>
23178
23179         * configure.ac:
23180         * libs/gst/dataprotocol/Makefile.am:
23181         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23182         * libs/gst/dataprotocol/dataprotocol.h:
23183         * pkgconfig/Makefile.am:
23184         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23185         * pkgconfig/gstreamer-dataprotocol.pc.in:
23186         Ported dataprotol to 0.9. 
23187         Added pkgconfig files.
23188
23189 2005-07-05  Andy Wingo  <wingo@pobox.com>
23190
23191         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23192         Default to returning TRUE for the case when tranform_caps returns
23193         a fixed caps, like for identity or volume.
23194
23195         * check/gst/gstbus.c (pound_bus_with_messages): 
23196         * check/gst/gstmessage.c (START_TEST): 
23197         * check/pipelines/simple_launch_lines.c (got_handoff): Application
23198         message API change.
23199
23200         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23201         logic weaks here: always run transform_caps, trying passthrough
23202         operation only if the original caps intersects with the transform.
23203
23204         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23205         source and sink caps.
23206
23207         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23208         Intersect the peer caps with the pad template before going into
23209         transform_caps.
23210         (gst_base_transform_transform_caps): More debugging.
23211
23212         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23213         src argument.
23214
23215 2005-07-04  Edward Hervey  <edward@fluendo.com>
23216
23217         * gst/gstutils.c:
23218         * gst/gstutils.h:
23219         (gst_pad_add_*_probe): now returns the signal id for better wrapping
23220         in bindings.
23221
23222 2005-07-04  Andy Wingo  <wingo@pobox.com>
23223
23224         * check/gst/gstpad.c: Only set explicit caps on pads.
23225
23226 2005-07-01  Andy Wingo  <wingo@pobox.com>
23227
23228         * tests/network-clock.scm: Commentary update.
23229
23230         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23231         Didn't really make sense, not implementable with basetransform,
23232         etc.
23233         (gst_identity_transform): Unref inbuf via make_writable. Feeble
23234         attempt at implementing the sync property, needs an unlock method.
23235
23236         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23237         New func, by default returns the same caps (the identity
23238         transformation).
23239         (gst_base_transform_getcaps): Uses transform_caps to return
23240         something sensible.
23241         (gst_base_transform_setcaps): Complicated logic to get caps on
23242         both pads, even if they are different, and to call set_caps once
23243         for every time both pads get their caps set.
23244         (gst_base_transform_handle_buffer): Give the ref to the transform
23245         function. Allows in-place modification of the buffer.
23246
23247         * gst/base/gstbasetransform.h (transform_caps): New class method.
23248         Given caps on one side, what can I do on the other.
23249         (set_caps): Take two caps, one for each side of the element.
23250
23251         * gst/gstpad.h:
23252         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23253         caps in place. This is safe because we can check the mutability of
23254         the caps, and a good idea because fixate functions are just called
23255         as a matter of last resort. (Not actually implemented.)
23256         (gst_pad_set_caps): If the caps we're setting is actually the same
23257         as the existing pad caps, just update the pointer without calling
23258         setcaps. Assert that caps is either NULL or fixed, as per the
23259         docs.
23260
23261         * gst/gstghostpad.c: Update for fixate changes.
23262
23263 2005-07-02  Andy Wingo  <wingo@pobox.com>
23264
23265         * gst/gstcaps.c:
23266         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23267         two refcounts makes it immutable, which is enough. Doc more.
23268
23269 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
23270
23271         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23272           Put the mini_object into GValue as a mini_object,
23273           not a gpointer, since that's how we declared
23274           the signal.
23275
23276 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23277
23278         * examples/pwg/Makefile.am:
23279           Fix buildbot again.
23280
23281 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23282
23283         * docs/pwg/building-testapp.xml:
23284           Add extra check.
23285         * examples/pwg/Makefile.am:
23286           Fix buildbot.
23287
23288 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23289
23290         * configure.ac:
23291         * examples/Makefile.am:
23292         * examples/pwg/Makefile.am:
23293         * examples/pwg/extract.pl:
23294           Enable building the PWG examples.
23295         * docs/pwg/advanced-interfaces.xml:
23296           Add URI interface stub.
23297         * docs/pwg/advanced-types.xml:
23298         * docs/pwg/other-autoplugger.xml:
23299         * docs/pwg/appendix-porting.xml:
23300         * docs/pwg/pwg.xml:
23301           Add porting guide (mostly stubs), remove autoplugging (see ADM).
23302         * docs/pwg/building-boiler.xml:
23303         * docs/pwg/building-chainfn.xml:
23304         * docs/pwg/building-pads.xml:
23305         * docs/pwg/building-props.xml:
23306         * docs/pwg/building-state.xml:
23307         * docs/pwg/building-testapp.xml:
23308           Update the building-*.xml parts for 0.9 changes. All examples
23309           code blocks compile in examples/pwg/*.
23310
23311 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23312
23313         * docs/manual/advanced-autoplugging.xml:
23314         * docs/manual/appendix-checklist.xml:
23315         * docs/manual/appendix-integration.xml:
23316         * docs/manual/highlevel-components.xml:
23317           Fix playbin/decodebin examples, update docs a bit, mention bus
23318           instead of signals in various places, mention kmplayer and
23319           kaffeine since they have a working GStreamer backend in the KDE
23320           section.
23321
23322 2005-06-30  Wim Taymans  <wim@fluendo.com>
23323
23324         * CHANGES-0.9:
23325         * docs/design/draft-ghostpads.txt:
23326         * docs/design/draft-push-pull.txt:
23327         * docs/design/draft-query.txt:
23328         * docs/design/part-TODO.txt:
23329         * docs/design/part-query.txt:
23330         Added CHANGES-0.9 doc, updated status of other docs.
23331         
23332         * gst/gstquery.h:
23333         Remove "hmm" macro
23334
23335 2005-06-30  Wim Taymans  <wim@fluendo.com>
23336
23337         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23338         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23339         (gst_base_sink_change_state):
23340         * gst/base/gstbasesink.h:
23341         Some tweaks, only EOS and a buffer complete a preroll.
23342
23343 2005-06-30  Andy Wingo  <wingo@pobox.com>
23344
23345         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23346         activate_push down to the internal pad as well.
23347
23348 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
23349
23350         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23351
23352         * gst/gsttaginterface.c:
23353           Some documentation fixes (#307394 and #307397).
23354
23355 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
23356
23357         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23358
23359         * gst/gstvalue.c: (gst_value_intersect_list):
23360           Fix memleak (#309125).
23361
23362 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23363
23364         * docs/manual/advanced-dataaccess.xml:
23365           Fix fakesrc example to compile; doesn't work, bug somewhere...?
23366         * docs/manual/basics-pads.xml:
23367           Add reference for filtered caps to above chapter.
23368
23369 2005-06-30  Wim Taymans  <wim@fluendo.com>
23370
23371         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23372         (gst_bin_change_state):
23373         Probes are gone.
23374         Lame attempt at making the state change function a bit
23375         more readable.
23376
23377 2005-06-30  Wim Taymans  <wim@fluendo.com>
23378
23379         * docs/design/part-clocks.txt:
23380         * docs/design/part-element-sink.txt:
23381         * docs/design/part-events.txt:
23382         * docs/design/part-preroll.txt:
23383         * docs/design/part-states.txt:
23384         Some more tweeks and additions to the docs.
23385
23386 2005-06-30  Wim Taymans  <wim@fluendo.com>
23387
23388         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23389         (default_have_data), (gst_pad_class_init), (gst_pad_init),
23390         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23391         (gst_pad_check_pull_range), (gst_pad_get_range),
23392         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23393         * gst/gstpad.h:
23394         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23395         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23396         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23397         (gst_pad_remove_buffer_probe):
23398         Removed atomic operations, use existing LOCK.
23399         Move exception handling out of main code path.
23400
23401 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23402
23403         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23404         (silly_return_true_function), (gst_pad_class_init),
23405         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23406         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23407         (gst_pad_send_event):
23408           Fix accumulator, add default value by using _emitv() instead
23409           of _emit() for signal emission.
23410
23411 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23412
23413         * docs/manual/advanced-dataaccess.xml:
23414         * examples/manual/Makefile.am:
23415           Add probe example.
23416         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23417           Make work (??).
23418
23419 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
23420
23421         * gst/elements/gstfilesink.c: (gst_filesink_render):
23422           Simplify code so that we don't have to handle short
23423           writes and return GST_FLOW_ERROR if an error occured.
23424
23425 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23426
23427         * docs/gst/gstreamer-docs.sgml:
23428           Remove probes more.
23429
23430 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23431
23432         * docs/gst/gstreamer-sections.txt:
23433         * docs/gst/tmpl/gstpad.sgml:
23434         * docs/gst/tmpl/gstprobe.sgml:
23435         * gst/Makefile.am:
23436         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23437         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23438         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23439         (gst_pad_push_event), (gst_pad_send_event):
23440         * gst/gstpad.h:
23441         * gst/gstutils.c: (gst_pad_add_data_probe),
23442         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23443         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23444         (gst_pad_remove_buffer_probe):
23445         * gst/gstutils.h:
23446           Remove old probes, add new g-signal-based probes and some utility
23447           functions.
23448
23449 2005-06-29  Edward Hervey  <edward@fluendo.com>
23450
23451         * gst/gstelementfactory.c:
23452         * gst/gstutils.h:
23453         * gst/gstutils.c:
23454         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23455         the definition to the header file.
23456
23457 2005-06-29  Andy Wingo  <wingo@pobox.com>
23458
23459         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23460         plugins from the source directory.
23461
23462 2005-06-29  Wim Taymans  <wim@fluendo.com>
23463
23464         * docs/gst/tmpl/gstbuffer.sgml:
23465         * docs/gst/tmpl/gstclock.sgml:
23466         Some fixings for blantently wrong text.
23467
23468 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23469
23470         * check/Makefile.am:
23471         * gst/gst.c: (add_path_func), (init_pre):
23472         * gst/gstregistry.c: (gst_registry_add_path):
23473           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23474           only scan the GST_PLUGIN_PATH locations, and not add
23475           system locations
23476
23477 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23478
23479         * docs/gst/gstreamer-sections.txt:
23480         * docs/gst/tmpl/gstbasesrc.sgml:
23481         * gst/gstelement.c:
23482         * gst/gstelement.h:
23483         * gst/gstevent.c:
23484         * gst/gstutils.c:
23485           doc fixes
23486
23487 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23488
23489         * docs/manual/advanced-autoplugging.xml:
23490           Fix autoplugging example.
23491
23492 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23493
23494         * docs/manual/advanced-autoplugging.xml:
23495         * docs/manual/mime-world.fig:
23496           Try to get autoplugging working, fix type detection. Fix text
23497           in hello-world image.
23498
23499 2005-06-29  Wim Taymans  <wim@fluendo.com>
23500
23501         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23502         (gst_base_sink_change_state):
23503         Small debug line.
23504
23505         * gst/gstclock.h:
23506         map SIGNAL and BROADCAST to the right function.
23507
23508         * gst/gstobject.h:
23509         Remove redundant braces.
23510
23511         * gst/gstpad.c: (gst_pad_set_caps):
23512         Don't call setcaps function when reseting caps to NULL.
23513
23514         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23515         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23516         (gst_system_clock_id_unschedule):
23517         Use BROADCAST as this is what we do.
23518
23519 2005-06-29  Wim Taymans  <wim@fluendo.com>
23520
23521         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23522         We are actually prerolling before commiting the state
23523         change. 
23524
23525 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23526
23527         * docs/manual/advanced-clocks.xml:
23528         * docs/manual/advanced-interfaces.xml:
23529         * docs/manual/advanced-metadata.xml:
23530         * docs/manual/advanced-position.xml:
23531         * docs/manual/advanced-schedulers.xml:
23532         * docs/manual/advanced-threads.xml:
23533         * docs/manual/appendix-porting.xml:
23534         * docs/manual/basics-bins.xml:
23535         * docs/manual/basics-bus.xml:
23536         * docs/manual/basics-elements.xml:
23537         * docs/manual/basics-helloworld.xml:
23538         * docs/manual/basics-pads.xml:
23539         * docs/manual/highlevel-components.xml:
23540         * docs/manual/manual.xml:
23541         * docs/manual/thread.fig:
23542           Update (until threads/scheduling) Application Development Manual;
23543           remove GstThread, add GstBus, add simple porting checklist, add
23544           documentation for tag writing, clocks, make all examples until this
23545           part compile and run.
23546         * examples/manual/Makefile.am:
23547           Update from changes to Application Development Manual; add bus
23548           example, remove thread example.
23549
23550 2005-06-28  Wim Taymans  <wim@fluendo.com>
23551
23552         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23553         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23554         (gst_bus_source_dispatch):
23555         Add debugging messages.
23556         Make internal methods static.
23557         Handle the case where the bus is flushed in the handler.
23558         
23559         * gst/gstelement.c: (gst_element_get_bus):
23560         Fix refcount in _get_bus();
23561
23562         * gst/gstpipeline.c: (gst_pipeline_change_state),
23563         (gst_pipeline_get_clock_func):
23564         Clock refcounting fixes.
23565         Handle the case where preroll timed out more gracefully.
23566         
23567         * gst/gstsystemclock.c: (gst_system_clock_dispose):
23568         Clean up the internal thread in dispose. This is needed
23569         for subclasses that actually get disposed.
23570         
23571         * gst/schedulers/threadscheduler.c:
23572         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23573         (gst_thread_scheduler_dispose):
23574         Free thread pool in dispose.
23575
23576 2005-06-28  Andy Wingo  <wingo@pobox.com>
23577
23578         * tests/network-clock-utils.scm (debug, print-event): New utils.
23579
23580         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23581         (*packet-loss*): Unified loss probability.
23582         (network-time): Report out-of-band events.
23583
23584         * tests/plot-data: Add support for out-of-band events. Hack it
23585         into this script instead of passing it down the pipe; should fix
23586         this later.
23587
23588 2005-06-28  Wim Taymans  <wim@fluendo.com>
23589
23590         * docs/gst/gstreamer.types:
23591         * docs/gst/tmpl/gstbasesrc.sgml:
23592         * docs/gst/tmpl/gstpad.sgml:
23593         Docs fixes.
23594
23595 2005-06-28  Wim Taymans  <wim@fluendo.com>
23596
23597         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23598         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23599         (gst_proxy_pad_do_fixatecaps):
23600         Correctly proxy the check_pull_range function.
23601
23602 2005-06-28  Andy Wingo  <wingo@pobox.com>
23603
23604         * tests/network-clock.scm: Removed need for slib.
23605         
23606 2005-06-28  Wim Taymans  <wim@fluendo.com>
23607
23608         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23609         (gst_basesink_preroll_queue_flush):
23610         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23611         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23612         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23613         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23614         (gst_proxy_pad_set_property):
23615         * gst/gstpad.c:
23616         * gst/gstpad.h:
23617         * gst/gstqueue.c: (gst_queue_init):
23618         The deprecated pad loop function is removed now.
23619
23620 2005-06-28  Andy Wingo  <wingo@pobox.com>
23621
23622         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23623         New parameters, simulate network packet loss.
23624
23625         * tests/network-clock-utils.scm: Initialize the RNG.
23626
23627 2005-06-28  Wim Taymans  <wim@fluendo.com>
23628
23629         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23630         (gst_basesink_event), (gst_basesink_deactivate):
23631         Flushing the preroll queue always needs to unlock the waiters.
23632
23633 2005-06-28  Edward Hervey  <edward@fluendo.com>
23634
23635         * gst/gstpipeline.c: (gst_pipeline_send_event): 
23636         Wheen a seek was successful on a pipeline, set the stream_time to the
23637         seek offset in order to have a synchronized stream_time.
23638
23639 2005-06-28  Wim Taymans  <wim@fluendo.com>
23640
23641         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23642         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23643         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23644         (gst_proxy_pad_do_fixatecaps):
23645         Call wrapper function instead of just calling the function
23646         pointers. This takes care of any locking and whatmore.
23647
23648 2005-06-28  Wim Taymans  <wim@fluendo.com>
23649
23650         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23651         (gst_pad_pull_range):
23652         * gst/gstpad.h:
23653         CONNECTED -> LINKED.
23654
23655 2005-06-28  Andy Wingo  <wingo@pobox.com>
23656
23657         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23658         source-munging commit!!!
23659
23660         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
23661         (gst_object_sink): Take gpointer arguments, not GstObject --
23662         avoids casts. Like GLib.
23663
23664         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23665         activate.
23666
23667 2005-06-27  Andy Wingo  <wingo@pobox.com>
23668
23669         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23670         remaining buffer.
23671
23672         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23673         returns a sorted copy of the trace list.
23674         (gst_alloc_trace_print_live): New API, only prints traces with
23675         live objects. Sort the list.
23676         (gst_alloc_trace_print_all): Sort the list.
23677         (gst_alloc_trace_print): Align columns.
23678
23679         * gst/elements/gstttypefindelement.c:
23680         * gst/elements/gsttee.c:
23681         * gst/base/gstbasesrc.c:
23682         * gst/base/gstbasesink.c:
23683         * gst/base/gstbasetransform.c:
23684         * gst/gstqueue.c: Adapt for pad activation changes.
23685
23686         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23687         sched.
23688         (gst_pipeline_dispose): Drop ref on sched.
23689
23690         * gst/gstpad.c (gst_pad_init): Set the default activate func.
23691         (gst_pad_activate_default): Push mode by default.
23692         (pre_activate_switch, post_activate_switch): New stubs, things to
23693         do before and after switching activation modes on pads.
23694         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23695         the pad's activate function to choose which mode to activate.
23696         Shortcut on deactivation and call the right function directly.
23697         (gst_pad_activate_pull): New API, (de)activates a pad in pull
23698         mode.
23699         (gst_pad_activate_push): New API, same for push mode.
23700         (gst_pad_set_activate_function) 
23701         (gst_pad_set_activatepull_function) 
23702         (gst_pad_set_activatepush_function): Setters for new API.
23703
23704         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23705         Trace all miniobjects.
23706         (gst_mini_object_make_writable): Unref the arg if we copy, like
23707         gst_caps_make_writable.
23708
23709         * gst/gstmessage.c (_gst_message_initialize): No trace init.
23710
23711         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
23712         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23713         Adapt for new pad API.
23714
23715         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23716
23717         * gst/gstelement.h:
23718         * gst/gstelement.c (gst_element_iterate_src_pads) 
23719         (gst_element_iterate_sink_pads): New API functions.
23720         
23721         * gst/gstelement.c (iterator_fold_with_resync): New utility,
23722         should fold into gstiterator.c in some form.
23723         (gst_element_pads_activate): Simplified via use of fold and
23724         delegation of decisions to gstpad->activate.
23725
23726         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23727         help in debugging.
23728
23729         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23730         class once in init, like gstmessage. Didn't run into this issue
23731         but it seems correct. Don't initialize a trace, gstminiobject does
23732         that.
23733
23734         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23735         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23736         to the bus.
23737         (assert_live_count): New util function, uses alloc traces to check
23738         cleanup.
23739
23740         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23741         To be modified when unlink drops the internal pad.
23742
23743 2005-06-27  Wim Taymans  <wim@fluendo.com>
23744
23745         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23746         (gst_bin_change_state):
23747         Cleanup the get_state() function a little, make sure it
23748         iterates the same set of elements.
23749         Added stub iterate_state_order().
23750
23751 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
23752
23753         * docs/gst/gstreamer-docs.sgml:
23754         * docs/gst/gstreamer-sections.txt:
23755         * docs/gst/gstreamer.types:
23756         * docs/gst/tmpl/gstbasesink.sgml:
23757         * docs/gst/tmpl/gstbasesrc.sgml:
23758         * docs/gst/tmpl/gstbasetransform.sgml:
23759         * docs/gst/tmpl/gstelement.sgml:
23760         * docs/gst/tmpl/gstiterator.sgml:
23761         * gst/base/gstbasesrc.c:
23762         * gst/base/gstbasesrc.h:
23763         * gst/base/gstbasetransform.h:
23764         * gst/gstelement.c:
23765         * gst/gstiterator.h:
23766           adding basetransform and iterator docs
23767
23768 2005-06-27  Andy Wingo  <wingo@pobox.com>
23769
23770         * docs/design/part-activation.txt: Notes on how activation should
23771         work -- not quite implemented yet.
23772
23773 2005-06-25  Wim Taymans  <wim@fluendo.com>
23774
23775         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23776         At least get the chain function correct, needs more
23777         fixing.
23778
23779 2005-06-25  Wim Taymans  <wim@fluendo.com>
23780
23781         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23782         (gst_basesink_handle_object), (gst_basesink_event),
23783         (gst_basesink_do_sync), (gst_basesink_handle_event),
23784         (gst_basesink_change_state):
23785         * gst/gsttask.h:
23786         Right, two problems here: ghostpads don't take locks and
23787         glib _rec_mutex_lock_full() with depth==0 still locks.
23788         Catch illegal locking and g_warn them.
23789
23790 2005-06-25  Wim Taymans  <wim@fluendo.com>
23791
23792         * check/states/sinks.c: (START_TEST), (gst_object_suite):
23793         Have to check for completion now...
23794
23795 2005-06-25  Wim Taymans  <wim@fluendo.com>
23796
23797         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23798         (gst_basesink_handle_object), (gst_basesink_event),
23799         (gst_basesink_do_sync), (gst_basesink_handle_event),
23800         (gst_basesink_change_state):
23801         * gst/gstpad.h:
23802         Unlock STREAM_LOCK whatever the recursion was.
23803
23804 2005-06-25  Wim Taymans  <wim@fluendo.com>
23805
23806         * gst/base/gstbasesink.c: (gst_basesink_set_property),
23807         (gst_basesink_preroll_queue_empty),
23808         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23809         (gst_basesink_event), (gst_basesink_do_sync),
23810         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23811         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23812         (gst_basesink_change_state):
23813         Reworked the base sink, handle event and buffer serialisation
23814         correctly and removed possible deadlock.
23815         Handle EOS correctly.
23816
23817 2005-06-25  Wim Taymans  <wim@fluendo.com>
23818
23819         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23820         (gst_pipeline_change_state):
23821         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23822         Allow elements to post EOS in the state change function.
23823         Fix up -launch, make it exit the poll loop when the
23824         pipeline actually changed state.
23825         Fix up warning parsing in -launch.
23826
23827 2005-06-25  Wim Taymans  <wim@fluendo.com>
23828
23829         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23830         (gst_tee_sink_activate):
23831         Core takes STREAM_LOCK for us now.
23832
23833 2005-06-25  Wim Taymans  <wim@fluendo.com>
23834
23835         * gst/gstelement.c: (gst_element_get_state_func),
23836         (gst_element_set_state):
23837         * gst/gstelement.h:
23838         * gst/gstmessage.c: (gst_message_parse_error),
23839         (gst_message_parse_warning):
23840         Keep track of current target state while performing a state
23841         change so that subclasses can do something interesting.
23842         Fix parsing of warning/error messages when GError is NULL.
23843
23844 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23845
23846         * docs/gst/Makefile.am:
23847         * docs/gst/gstreamer-docs.sgml:
23848         * docs/gst/gstreamer-sections.txt:
23849         * docs/gst/gstreamer.types:
23850         * docs/gst/tmpl/gstbasesink.sgml:
23851         * docs/gst/tmpl/gstbasesrc.sgml:
23852         * docs/gst/tmpl/gstbin.sgml:
23853         * docs/gst/tmpl/gstcompat.sgml:
23854         * docs/gst/tmpl/gstfakesink.sgml:
23855         * docs/gst/tmpl/gstfakesrc.sgml:
23856         * docs/gst/tmpl/gstfilesink.sgml:
23857         * docs/gst/tmpl/gstfilesrc.sgml:
23858         * docs/gst/tmpl/gstindex.sgml:
23859         * docs/manual/appendix-quotes.xml:
23860         * gst/base/gstbasesrc.h:
23861         * gst/elements/gstfakesrc.h:
23862         * gst/gstmessage.h:
23863           start pulling in base classes and elements in our docs
23864
23865 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
23866
23867         * docs/gst/Makefile.am:
23868         * docs/libs/Makefile.am:
23869           fixed make distcheck with gtk-doc 1.3
23870
23871 2005-06-23  Wim Taymans  <wim@fluendo.com>
23872
23873         * gst/gstelement.c: (gst_element_get_state_func),
23874         (gst_element_set_state), (gst_element_change_state):
23875         When the state did not change, also report NO_PREROLL
23876         when it matters.
23877
23878 2005-06-23  Wim Taymans  <wim@fluendo.com>
23879
23880         * gst/gstpad.c: (gst_pad_event_default):
23881         * gst/gstqueue.c: (gst_queue_loop):
23882         No unsafe task pausing please.
23883
23884 2005-06-23  Wim Taymans  <wim@fluendo.com>
23885
23886         * gst/schedulers/threadscheduler.c:
23887         (gst_thread_scheduler_task_start),
23888         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23889         Ref the task before pushing it on the threadpool. This
23890         makes sure that we have a ref when the threadfunction is
23891         actually called.
23892
23893 2005-06-23  Andy Wingo  <wingo@pobox.com>
23894
23895         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23896         offset is greater than the file's size.
23897
23898         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
23899         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23900         * gst/gstobject.c (gst_object_class_init): Make the class lock
23901         recursive. Wim won't let me drop deep_notify. Decodebin works
23902         again, whoopdy doo.
23903
23904         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23905         internal pad, and hacks accordingly. Doesn't do it on the target
23906         pad because we change its caps. Probably catches all cases of
23907         interest tho.
23908         (gst_ghost_pad_set_property): Connect to notify::caps as
23909         appropritate.
23910
23911         * tests/network-clock.scm (plot-simulation): Pipe data to the
23912         elite python skript.
23913
23914         * tests/network-clock-utils.scm (define-parameter): New macro,
23915         defines a parameter that can be set via the command line.
23916         (set-parameter!, parse-parameter-arguments): Command line args
23917         parser.
23918
23919         * tests/plot-data: Simple matplotlib-based plotter, takes input on
23920         stdin.
23921
23922 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
23923
23924         * gst/elements/gsttypefindelement.c:
23925         (gst_type_find_element_handle_event):
23926           Don't restart typefinding on a discont.
23927         * gst/gstelement.c: (gst_element_set_state):
23928           Debug spelling fix.
23929         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23930           Allow changing mode of an active pad.
23931           Debug output fixes.
23932         * gst/registries/gstlibxmlregistry.c: (load_feature):
23933           Don't cast a static pad template to a normal pad template.
23934
23935 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23936
23937         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23938         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23939           remove gst_strtoll completely, since it didn't actually do
23940           anything more than what g_ascii_strtoull already does.
23941           check for range errors when deserializing
23942           do a cast for the unsigned cases; but further fixing needs
23943           a decision on what the interpretation of "(int)" and
23944           deserialization should be for values that fall outside the
23945           type's boundaries (ie, refuse, or interpret as casting)
23946
23947 2005-06-23  Wim Taymans  <wim@fluendo.com>
23948
23949         * check/Makefile.am:
23950         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23951         * docs/design/part-live-source.txt:
23952         * docs/design/part-states.txt:
23953         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23954         (gst_basesrc_set_live), (gst_basesrc_is_live),
23955         (gst_basesrc_get_range), (gst_basesrc_activate),
23956         (gst_basesrc_change_state):
23957         * gst/base/gstbasesrc.h:
23958         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23959         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23960         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23961         * gst/gstelement.c: (gst_element_get_state_func),
23962         (gst_element_set_state):
23963         * gst/gstelement.h:
23964         * gst/gsttypes.h:
23965         * tools/gst-launch.c: (event_loop), (main):
23966         Added support for live sources and other elements that
23967         cannot do preroll.
23968         Updated design docs, added live-source design doc.
23969         Implemented live source functionality in basesrc
23970         Fix error condition in _bin_get_state()
23971         Implement live source handling in -launch.
23972         Added check for live sources.
23973         Fixed case in GstBin where elements were changed state
23974         multiple times.
23975
23976
23977 2005-06-23  Andy Wingo  <wingo@pobox.com>
23978
23979         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23980         borken refcounting.
23981
23982         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23983         gst_caps_replace takes care of this for us.
23984
23985         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23986         gst_pad_set_caps on the target, not just its setcaps() function.
23987
23988         * tests/network-clock.scm: 
23989         * tests/network-clock-utils.scm: A network clock simulator.
23990         Something of an algorithmic testbed before doing something in C.
23991
23992 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23993
23994         * check/Makefile.am:
23995         * check/gst/capslist.h:
23996           copy over from 0.8, and add two with bitmasks specified with
23997           (int) 0xFF...
23998         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23999           add test to parse everything from capslist.h
24000         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
24001         (main):
24002           add test for structure deserialization
24003         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24004           add tests for deserialization of strings to int types
24005         * gst/gststructure.c: (gst_structure_nth_field_name):
24006         * gst/gststructure.h:
24007           add a way to get the name of a field referenced by index
24008         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
24009           instead of checking if the resulting long long lies between
24010           min and max, we check if the long long would fit into
24011           a number of bytes for the final type.
24012           This fixes cases where a string represents 2^32 - 1, which
24013           when cast to int would be the (valid) -1, but is bigger than
24014           G_MAXINT
24015
24016 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24017
24018         * gst/parse/grammar.y:
24019           add a log line for type deserialization
24020
24021 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24022
24023         * check/gst/gstvalue.c: (START_TEST):
24024         * gst/gstvalue.c: (gst_value_deserialize):
24025           return long long, not int, so gint64 deserialization actually
24026           works.  Is there any flag that makes the compiler check this ?
24027           Fixes #308559
24028
24029 2005-06-22  Wim Taymans  <wim@fluendo.com>
24030
24031         * gst/gstbuffer.h:
24032         Added convenience macros for setting buffers in GValue.
24033
24034 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24035
24036         * check/gst/.cvsignore:
24037         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24038           add a test deserializing int64, and comment part out because
24039           it fails, yay !
24040
24041 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24042
24043         * check/Makefile.am:
24044         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
24045         * testsuite/Makefile.am:
24046         * testsuite/caps/Makefile.am:
24047         * testsuite/caps/value_serialize.c:
24048         * testsuite/test_gst_init.c:
24049           move a value_serialize test over
24050
24051 2005-06-20  Wim Taymans  <wim@fluendo.com>
24052
24053         * gst/gstpad.c:
24054         Small doc updates.
24055         
24056         * gst/gstvalue.c: (gst_value_compare_buffer),
24057         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
24058         (gst_value_compare_flags), (gst_value_serialize_flags),
24059         (gst_value_deserialize_flags), (_gst_value_initialize):
24060         Fix serialisation of buffers, they are not boxed types anymore
24061
24062 2005-06-20  Wim Taymans  <wim@fluendo.com>
24063
24064         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24065         Testcase to show error in buffer-on-caps serialisation.
24066
24067 2005-06-20  Andy Wingo  <wingo@pobox.com>
24068
24069         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
24070         will be adding to later.
24071
24072         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
24073         if its socks fill with rocks.
24074         (gst_system_clock_obtain): Set the name on object construction.
24075         Avoid double-checked locking.
24076
24077 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
24078
24079         * gst/gsturi.c: (gst_element_make_from_uri):
24080           Fix potential endless loop.
24081
24082 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24083
24084         * check/Makefile.am:
24085           add gsttag
24086         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
24087         (main):
24088           move over from testsuite dir and clean up
24089         * configure.ac:
24090         * gst/gsttag.c:
24091         * testsuite/Makefile.am:
24092         * testsuite/tags/.cvsignore:
24093         * testsuite/tags/Makefile.am:
24094         * testsuite/tags/merge.c:
24095           remove testsuite/tags
24096
24097 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24098
24099         * docs/gst/gstreamer-sections.txt:
24100         * docs/gst/tmpl/gstenumtypes.sgml:
24101         * win32/gstenumtypes.c:
24102           clean up documentation build a little
24103
24104 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24105
24106         * check/gstcheck.h:
24107           add macros for checking refcounts on objects and caps
24108         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24109           add some more unit tests
24110         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24111         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24112           fix leaked refcounts (I hope :)) so unittest works
24113         * gst/gstpad.h:
24114           whitespace removal
24115
24116 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24117
24118         * configure.ac: back to HEAD
24119
24120 === release 0.9.1 ===
24121
24122 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24123
24124         * NEWS:
24125         * RELEASE:
24126           updated
24127
24128 2005-06-17  Andy Wingo  <wingo@pobox.com>
24129
24130         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24131         assert; it's always possible that the pad gets deactivated in
24132         between the checks in gstpad.c and the implementation. Rely on
24133         finish_preroll() to return a FLUSHING or similar instead of on the
24134         assert.
24135         
24136         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24137         clock and post an EOS message if we come out of finish_preroll in
24138         the playing state.
24139
24140 2005-06-16  David Schleef  <ds@schleef.org>
24141
24142         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24143         (gst_capsfilter_set_property): Allow NULL as possible value
24144         for filter_caps property, indicating GST_CAPS_ANY.
24145
24146 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24147
24148         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24149           fix debug output
24150         * gst/schedulers/Makefile.am:
24151           use libgst prefix
24152         * gstreamer.spec.in:
24153           fix spec for it
24154
24155 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24156
24157         * gstreamer.spec.in:
24158           clean up
24159
24160 2005-06-08  Andy Wingo  <wingo@pobox.com>
24161
24162         * gst/gstutils.c: RPAD fixes all around.
24163         (gst_element_link_pads): Refcounting fixes.
24164
24165         * tools/gst-inspect.c:
24166         * tools/gst-xmlinspect.c:
24167         * parse/grammar.y:
24168         * gst/base/gsttypefindhelper.c:
24169         * gst/base/gstbasesink.c:
24170         * gst/gstqueue.c: RPAD fixes.
24171
24172         * gst/gstghostpad.h:
24173         * gst/gstghostpad.c: New ghost pad implementation as full proxy
24174         pads. The tricky thing is they provide both source and sink
24175         interfaces, since they proxy the internal pad for the external
24176         pad, and vice versa. Implement with lower-level ProxyPad objects,
24177         with the interior proxy pad as a child of the exterior ghost pad.
24178         Should write a doc on this.
24179         
24180         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24181         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24182         gst_object API.
24183         
24184         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24185         pads are real pads. No ghost pads in this file. Not documenting
24186         the myriad s/RPAD/PAD/ and REALIZE fixes.
24187         (gst_pad_class_init): Add properties for "direction" and
24188         "template". Both are construct-only, so they can't change during
24189         the life of the pad. Fixes properly deriving from GstPad.
24190         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24191         derived objects, just set properties when creating the objects via
24192         g_object_new.
24193         (gst_pad_get_parent): Implement as a function, return NULL if the
24194         parent is not an element.
24195         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24196         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24197         
24198         * gst/gstobject.c (gst_object_class_init): Make name a construct
24199         property. Don't set it in the object init.
24200
24201         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24202         with UNKNOWN direction.
24203         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24204         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24205         (gst_element_remove_pad): Remove ghost-pad special cases.
24206         (gst_element_pads_activate): Remove rpad cruft.
24207
24208         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24209         catch the pad's-parent-not-an-element case.
24210
24211         * gst/gst.h: Include gstghostpad.h.
24212
24213         * gst/gst.c (init_post): No more real, ghost pads.
24214
24215         * gst/Makefile.am: Add gstghostpad.[ch].
24216
24217         * check/Makefile.am:
24218         * check/gst/gstbin.c:
24219         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24220         into a bin creates ghost pads, and that the refcounts are right.
24221         Partly moved from gstbin.c.
24222
24223 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24224
24225         * check/gst-libs/.cvsignore:
24226         * check/gst/.cvsignore:
24227         * check/pipelines/.cvsignore:
24228           ignore more
24229         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24230         (START_TEST), (cleanup_suite), (main):
24231           add some tests related to cleanup after running pipelines
24232
24233 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24234
24235         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24236           add a testsuite for GstBuffer
24237
24238 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24239
24240         * gst/gstminiobject.h:
24241           add defines for accessing the refcount
24242
24243 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
24244
24245         * Makefile.am: added support for html unit test coverage reports
24246
24247 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
24248
24249         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24250           Free existing caps if the capsfilter changes. Add a FIXME about
24251           setting those caps on the pads.
24252
24253         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24254           Before adding a ghost pad to a parent bin, check that there isn't
24255           already one for the element on the bin. Prevents infinite recursion
24256           when using decodebin in parse pipelines. Andy says he'll rewrite the
24257           way this works anyway, so ignore the hack.
24258
24259 2005-06-02  Andy Wingo  <wingo@pobox.com>
24260
24261         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24262         file size, pass it on to the type find helper.
24263
24264         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24265         segment_start and segment_end properly according to the seek
24266         method. Segment_end is still a bit flaky because offset can be
24267         negative for CUR and END cases, but it takes -1 as an "unset"
24268         value.
24269
24270 2005-06-02  Wim Taymans  <wim@fluendo.com>
24271
24272         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24273         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24274         (gst_basesink_activate):
24275         * gst/base/gstbasesink.h:
24276         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24277         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24278         (gst_pad_query), (gst_pad_start_task):
24279         * gst/gstpad.h:
24280         * gst/gstqueue.c: (gst_queue_bufferalloc),
24281         (gst_queue_handle_sink_event), (gst_queue_chain):
24282         Bufferalloc: return GstFlowReturn to more accuratly report
24283         why allocation failed.
24284
24285 2005-06-02  Wim Taymans  <wim@fluendo.com>
24286
24287         * gst/gstpipeline.c: (gst_pipeline_send_event):
24288         Take snapshot of state without blocking.
24289
24290 2005-06-02  Wim Taymans  <wim@fluendo.com>
24291
24292         * docs/design/part-TODO.txt:
24293         * docs/design/part-caps.txt:
24294         * docs/design/part-clocks.txt:
24295         * docs/design/part-negotiation.txt:
24296         * docs/design/part-preroll.txt:
24297         Small doc updates 
24298
24299 2005-05-30  Wim Taymans  <wim@fluendo.com>
24300
24301         * gst/elements/gstidentity.c: (gst_identity_event),
24302         (gst_identity_transform), (gst_identity_get_property):
24303         Protect last_message property as it is accessed from
24304         multiple threads.
24305
24306 2005-05-30  Wim Taymans  <wim@fluendo.com>
24307
24308         * gst/gstelement.c: (gst_element_init),
24309         (gst_element_pads_activate), (gst_element_change_state):
24310         Slicker pad activation code.
24311
24312 2005-05-30  Wim Taymans  <wim@fluendo.com>
24313
24314         * gst/Makefile.am:
24315         * gst/gstelement.h:
24316         * gst/gstelementfactory.h:
24317         * gst/gsttypes.h:
24318         Move elementfactory methods to separate .h file.
24319
24320 2005-05-30  Wim Taymans  <wim@fluendo.com>
24321
24322         * docs/design/part-overview.txt:
24323         * gst/gstsystemclock.h:
24324         Small typo fixes, doc updates.
24325
24326 2005-05-30  Wim Taymans  <wim@fluendo.com>
24327
24328         * gst/gst.c: (gst_init_get_popt_table), (init_post),
24329         (init_popt_callback):
24330         Remove cpu-opt flag.
24331
24332 2005-05-30  Wim Taymans  <wim@fluendo.com>
24333
24334         * gst/gstbuffer.c: (gst_subbuffer_finalize),
24335         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24336         * gst/gstbuffer.h:
24337         Avoid typechecking in places where not needed.
24338         Added accessor for malloc_data.
24339
24340 2005-05-30  Wim Taymans  <wim@fluendo.com>
24341
24342         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24343         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24344         (gst_pad_configure_sink), (gst_pad_configure_src),
24345         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24346         (gst_pad_start_task):
24347         Propagate errors from _set_caps() in configure_src/sink
24348         functions instead of returning TRUE.
24349         FLUSH events can travel up and downstream
24350
24351
24352 2005-05-30  Wim Taymans  <wim@fluendo.com>
24353
24354         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24355         (gst_basesink_activate):
24356         Handle EOS in preroll.
24357
24358 2005-05-30  Wim Taymans  <wim@fluendo.com>
24359
24360         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24361         (gst_queue_loop), (gst_queue_handle_src_event):
24362         Remove old pieces of code
24363         Flushing the queue in an upstream event is a very bad idea.
24364
24365 2005-05-26  Andy Wingo  <wingo@pobox.com>
24366
24367         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24368         gst_value_set_mini_object so as to add a ref on the object (which
24369         will be removed when the value is unset).
24370
24371         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24372         arg type in ::handoff.
24373
24374         * gst/gstelement.c (gst_element_change_state): Also deactivate
24375         pads in READY->NULL, just in case the element didn't make it to
24376         PAUSED. Wingo tested, Wim approved.
24377
24378 2005-05-26  Wim Taymans  <wim@fluendo.com>
24379
24380         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24381         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24382         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24383         A flushing pad cannot be used to alloc_buffer from.
24384
24385 2005-05-26  Wim Taymans  <wim@fluendo.com>
24386
24387         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24388         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24389         (gst_bus_source_dispatch), (gst_bus_source_finalize),
24390         (gst_bus_create_watch), (gst_bus_add_watch_full):
24391         * gst/gstbus.h:
24392         Implement a real GSource and use g_main_context_wakeup() to
24393         signal new messages instead of the socketpair.
24394
24395 2005-05-25  Wim Taymans  <wim@fluendo.com>
24396
24397         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24398         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24399         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24400         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24401         (gst_pad_send_event), (gst_pad_start_task):
24402         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24403         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24404         (gst_queue_sink_activate), (gst_queue_src_activate),
24405         (gst_queue_change_state):
24406         * gst/gstqueue.h:
24407         Fix state changes for non sinks. We now change sinks, then elements
24408         with unconnected srcpads, then the rest.
24409         More efficient queue unlocking in flush and state changes.
24410         Set the pad activate mode even if it does not have an activate
24411         function.
24412
24413 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24414
24415         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24416           Don't go in pull mode for non-seekable sources.
24417         * gst/elements/gsttypefindelement.h:
24418         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24419         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24420         (free_entry), (stop_typefinding),
24421         (gst_type_find_element_handle_event), (find_peek),
24422         (gst_type_find_element_chain), (do_pull_typefind),
24423         (gst_type_find_element_change_state):
24424           Allow typefinding (w/o seeking) in push-mode, simplified version
24425           of what was in 0.8.
24426         * gst/gstutils.c: (gst_buffer_join):
24427         * gst/gstutils.h:
24428           gst_buffer_join() from 0.8.
24429
24430 2005-05-25  Wim Taymans  <wim@fluendo.com>
24431
24432         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24433         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24434         (gst_pad_send_event), (gst_pad_start_task):
24435         Disable attempt at mode switching until it is figured out.
24436
24437 2005-05-25  Wim Taymans  <wim@fluendo.com>
24438
24439         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24440         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24441         (gst_basesink_finish_preroll), (gst_basesink_chain),
24442         (gst_basesink_loop), (gst_basesink_activate),
24443         (gst_basesink_change_state):
24444         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24445         (gst_basesrc_get_range), (gst_basesrc_loop),
24446         (gst_basesrc_activate):
24447         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24448         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24449         (gst_real_pad_init), (gst_real_pad_set_property),
24450         (gst_real_pad_get_property), (gst_pad_set_active),
24451         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24452         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24453         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24454         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24455         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24456         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24457         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24458         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24459         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24460         (gst_pad_stop_task):
24461         * gst/gstpad.h:
24462         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24463         (gst_queue_loop), (gst_queue_src_activate):
24464         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24465         (gst_task_get_state):
24466         * gst/gsttask.h:
24467         * gst/schedulers/threadscheduler.c:
24468         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24469         Implement gst_pad_pause/start/stop_task(), take STREAM lock
24470         in task function.
24471         Remove ACTIVE pad flag, use FLUSHING everywhere
24472         Added _pad_chain(), _pad_get_range() to call chain/getrange 
24473         functions.
24474         Add locks around IS_FLUSHING when reading.
24475         Take STREAM lock in chain(), get_range() functions so plugins
24476         don't need to take it anymore.
24477         
24478
24479
24480 2005-05-25  Wim Taymans  <wim@fluendo.com>
24481
24482         * tools/gst-launch.c: (event_loop):
24483         Unref message after using its contents instead of
24484         before.
24485
24486 2005-05-24  Wim Taymans  <wim@fluendo.com>
24487
24488         * docs/design/draft-ghostpads.txt:
24489         * docs/design/draft-push-pull.txt:
24490         * docs/design/draft-query.txt:
24491         * docs/design/part-overview.txt:
24492         Docs updates, added general overview doc.
24493
24494 2005-05-21  David Schleef  <ds@schleef.org>
24495
24496         * docs/gst/tmpl/old/GstBin.sgml:
24497         * docs/gst/tmpl/old/GstBuffer.sgml:
24498         * docs/gst/tmpl/old/GstCaps.sgml:
24499         * docs/gst/tmpl/old/GstClock.sgml:
24500         * docs/gst/tmpl/old/GstCompat.sgml:
24501         * docs/gst/tmpl/old/GstData.sgml:
24502         * docs/gst/tmpl/old/GstElement.sgml:
24503         * docs/gst/tmpl/old/GstEvent.sgml:
24504         * docs/gst/tmpl/old/GstIndex.sgml:
24505         * docs/gst/tmpl/old/GstStructure.sgml:
24506         * docs/gst/tmpl/old/GstTag.sgml:
24507         * docs/gst/tmpl/old/cothreads.sgml:
24508         * docs/gst/tmpl/old/cothreads_compat.sgml:
24509         * docs/gst/tmpl/old/gettext.sgml:
24510         * docs/gst/tmpl/old/gobject2gtk.sgml:
24511         * docs/gst/tmpl/old/grammar.tab.sgml:
24512         * docs/gst/tmpl/old/gst-i18n-app.sgml:
24513         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24514         * docs/gst/tmpl/old/gst_private.sgml:
24515         * docs/gst/tmpl/old/gstaggregator.sgml:
24516         * docs/gst/tmpl/old/gstarch.sgml:
24517         * docs/gst/tmpl/old/gstatomic_impl.sgml:
24518         * docs/gst/tmpl/old/gstbufferstore.sgml:
24519         * docs/gst/tmpl/old/gstdata_private.sgml:
24520         * docs/gst/tmpl/old/gstdisksink.sgml:
24521         * docs/gst/tmpl/old/gstdisksrc.sgml:
24522         * docs/gst/tmpl/old/gstelementfactory.sgml:
24523         * docs/gst/tmpl/old/gstextratypes.sgml:
24524         * docs/gst/tmpl/old/gstfakesink.sgml:
24525         * docs/gst/tmpl/old/gstfakesrc.sgml:
24526         * docs/gst/tmpl/old/gstfdsink.sgml:
24527         * docs/gst/tmpl/old/gstfdsrc.sgml:
24528         * docs/gst/tmpl/old/gstfilesink.sgml:
24529         * docs/gst/tmpl/old/gstfilesrc.sgml:
24530         * docs/gst/tmpl/old/gsthttpsrc.sgml:
24531         * docs/gst/tmpl/old/gstidentity.sgml:
24532         * docs/gst/tmpl/old/gstindexfactory.sgml:
24533         * docs/gst/tmpl/old/gstmarshal.sgml:
24534         * docs/gst/tmpl/old/gstmd5sink.sgml:
24535         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24536         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24537         * docs/gst/tmpl/old/gstpadtemplate.sgml:
24538         * docs/gst/tmpl/old/gstpipefilter.sgml:
24539         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24540         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24541         * docs/gst/tmpl/old/gstshaper.sgml:
24542         * docs/gst/tmpl/old/gstspider.sgml:
24543         * docs/gst/tmpl/old/gstspideridentity.sgml:
24544         * docs/gst/tmpl/old/gststatistics.sgml:
24545         * docs/gst/tmpl/old/gsttee.sgml:
24546         * docs/gst/tmpl/old/gsttimecache.sgml:
24547         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24548         * docs/gst/tmpl/old/gstxmlregistry.sgml:
24549         * docs/gst/tmpl/old/gthread-cothreads.sgml:
24550         * docs/gst/tmpl/old/types.sgml:
24551           I didn't intend to add these or check them in.
24552
24553 2005-05-19  David Schleef  <ds@schleef.org>
24554
24555         * configure.ac: Use -no-common everywhere.  In a sane world, it
24556           would be the default in libtool, because without it, you can't
24557           build DLLs on Windows.
24558         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24559         * docs/gst/gstreamer-sections.txt:
24560         * docs/gst/tmpl/gstcpu.sgml:
24561         * docs/gst/tmpl/gstdata.sgml:
24562         * docs/gst/tmpl/gstthread.sgml:
24563
24564 2005-05-19  David Schleef  <ds@schleef.org>
24565
24566         * gst/gstminiobject.c: (gst_value_set_mini_object),
24567         (gst_value_take_mini_object), (gst_value_get_mini_object):
24568         * gst/gstminiobject.h: Add GValue set/get functions.
24569
24570 2005-05-19  Wim Taymans  <wim@fluendo.com>
24571
24572         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24573         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24574         (gst_subbuffer_init), (gst_buffer_is_span_fast):
24575         * gst/gstbuffer.h:
24576         * gst/gstbus.c: (gst_bus_post):
24577         * gst/gstelement.c: (gst_element_get_random_pad):
24578         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24579         Make subbufer unref the parent in finalize.
24580         some more debugging info.
24581
24582
24583 2005-05-19  Wim Taymans  <wim@fluendo.com>
24584
24585         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24586         (gst_basesink_init), (gst_basesink_finalize),
24587         (gst_basesink_activate), (gst_basesink_change_state):
24588         Don't free preroll queue too early.
24589
24590 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24591
24592         * gst/Makefile.am:
24593         * gst/ROADMAP:
24594           Hi, I'm outdated. Please shoot me.
24595
24596 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24597
24598         * gst/gstpipeline.c: (gst_pipeline_send_event):
24599           Do not access variables after they have been deleted.
24600
24601 2005-05-19  Wim Taymans  <wim@fluendo.com>
24602
24603         * tools/gst-inspect.c: (print_plugin_features):
24604         A plugin feature does unfortunatly not use the
24605         object name yet...
24606
24607 2005-05-18  Wim Taymans  <wim@fluendo.com>
24608
24609         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24610         Port _span() functions to new subbuffers.
24611
24612 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24613
24614         * gst/gstbin.c: (gst_bin_add_func):
24615           Fix clock settery in bins when adding kids after the clock has
24616           been selected.
24617
24618 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24619
24620         * gst/elements/gstidentity.c: (gst_identity_class_init):
24621           Workaround until signals support GstMiniObject.
24622
24623 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
24624
24625         * gst/gstbuffer.c:
24626         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24627
24628 2005-05-18  Wim Taymans  <wim@fluendo.com>
24629
24630         * gst/base/Makefile.am:
24631         * gst/base/gstadapter.c: (gst_adapter_base_init),
24632         (gst_adapter_class_init), (gst_adapter_init),
24633         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24634         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24635         (gst_adapter_flush), (gst_adapter_available),
24636         (gst_adapter_available_fast):
24637         * gst/base/gstadapter.h:
24638         Ported and added adapter to the base classes.
24639
24640 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24641
24642         * gst/gst.c:
24643         * gst/gstmessage.c:
24644           Make sure the class is reffed/unreffed once before threads can be
24645           used.  Fixes #304551.
24646
24647 2005-05-17  Wim Taymans  <wim@fluendo.com>
24648
24649         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24650         (gst_basesink_chain_unlocked), (gst_basesink_activate):
24651         * gst/gstminiobject.c: (gst_mini_object_get_type),
24652         (gst_mini_object_free):
24653         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24654         (gst_pad_push), (gst_pad_push_event):
24655         * gst/gstqueue.c: (gst_queue_change_state):
24656         Don't queue buffers in basesink when we are flushing.
24657         Unref buffer when flushing in basesink.
24658         Flush queue when going to READY
24659         Unref buffer when _push() returns an error.
24660         Don't free MiniObject instance when refcount is incremented
24661         in _finalize() so that we can recover objects.
24662
24663 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24664
24665         * docs/manual/advanced-schedulers.xml:
24666         * docs/manual/appendix-checklist.xml:
24667         * docs/pwg/advanced-clock.xml:
24668         * docs/pwg/advanced-interfaces.xml:
24669         * docs/pwg/advanced-request.xml:
24670         * docs/pwg/advanced-types.xml:
24671         * docs/pwg/intro-preface.xml:
24672         * examples/plugins/example.c: (gst_example_get_type),
24673         (gst_example_class_init), (gst_example_chain),
24674         (gst_example_set_property), (gst_example_get_property),
24675         (gst_example_change_state), (plugin_init):
24676         * examples/plugins/example.h:
24677           small doc fixes
24678
24679 2005-05-17  Wim Taymans  <wim@fluendo.com>
24680
24681         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24682         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24683         * gst/gstqueue.c: (gst_queue_change_state):
24684         Clear queue when going to READY.
24685         Remove IN_SETCAPS flag too.
24686
24687 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
24688
24689         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24690           Remove implicit cast from gboolean to GstElementStateReturn;
24691           make sure we still return failure in paused => ready case if
24692           the parent class fails to change state and our own stop 
24693           vfunc succeeds.
24694
24695 2005-05-17  Wim Taymans  <wim@fluendo.com>
24696
24697         * tools/gst-launch.c: (event_loop):
24698         Message was unreffed too soon.
24699
24700 2005-05-16  Andy Wingo  <wingo@pobox.com>
24701
24702         * gst/gstbin.c (sink_iterator_filter): Err... um...
24703
24704         * check/gst/gstbin.c (test_ghost_pads): New test for the
24705         ghosting-if-elements-not-in-same-bin behavior.
24706
24707 2005-05-16  David Schleef  <ds@schleef.org>
24708
24709         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24710         accessing refcount directly.
24711
24712 2005-05-15  David Schleef  <ds@schleef.org>
24713
24714         * check/Makefile.am: remove GstData checks
24715         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24716         * gst/Makefile.am: add miniobject, remove data
24717         * gst/gst.h: add miniobject, remove data
24718         * gst/gstdata.c: remove
24719         * gst/gstdata.h: remove
24720         * gst/gstdata_private.h: remove
24721         * gst/gsttypes.h: remove GstEvent and GstMessage
24722         * gst/gstelement.c: (gst_element_post_message): fix for API changes
24723         * gst/gstmarshal.list: change BOXED -> OBJECT
24724
24725         Implement GstMiniObject.
24726         * gst/gstminiobject.c:
24727         * gst/gstminiobject.h:
24728
24729         Modify to be subclasses of GstMiniObject.
24730         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24731         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24732         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24733         (gst_subbuffer_get_type), (gst_subbuffer_init),
24734         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24735         (gst_buffer_span):
24736         * gst/gstbuffer.h:
24737         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24738         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24739         (_gst_event_copy), (gst_event_new):
24740         * gst/gstevent.h:
24741         * gst/gstmessage.c: (_gst_message_initialize),
24742         (gst_message_get_type), (gst_message_class_init),
24743         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24744         (gst_message_new), (gst_message_new_error),
24745         (gst_message_new_warning), (gst_message_new_tag),
24746         (gst_message_new_state_changed), (gst_message_new_application):
24747         * gst/gstmessage.h:
24748         * gst/gstprobe.c: (gst_probe_perform),
24749         (gst_probe_dispatcher_dispatch):
24750         * gst/gstprobe.h:
24751         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24752         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24753         (_gst_query_copy), (gst_query_new):
24754
24755         Update elements for GstData -> GstMiniObject changes
24756         * gst/gstquery.h:
24757         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24758         (gst_queue_chain), (gst_queue_loop):
24759         * gst/elements/gstbufferstore.c:
24760         (gst_buffer_store_add_buffer_func),
24761         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24762         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24763         (gst_fakesink_render):
24764         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24765         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24766         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24767         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24768         (gst_filesrc_create_read):
24769         * gst/elements/gstidentity.c: (gst_identity_class_init):
24770         * gst/elements/gsttypefindelement.c:
24771         (gst_type_find_element_src_event), (free_entry_buffers),
24772         (gst_type_find_element_handle_event):
24773         * libs/gst/dataprotocol/dataprotocol.c:
24774         (gst_dp_header_from_buffer):
24775         * libs/gst/dataprotocol/dataprotocol.h:
24776         * libs/gst/dataprotocol/dp-private.h:
24777
24778 2005-05-15  David Schleef  <ds@schleef.org>
24779
24780         * gst/elements/gstelements.c: Don't include headers that were
24781         just removed.
24782
24783 2005-05-15  David Schleef  <ds@schleef.org>
24784
24785         * gst/elements/Makefile.am: Remove some elements that don't
24786         need to be in the core (or even exist at all).
24787         * gst/elements/gstaggregator.c:
24788         * gst/elements/gstaggregator.h:
24789         * gst/elements/gstmd5sink.c:
24790         * gst/elements/gstmd5sink.h:
24791         * gst/elements/gstmultifilesrc.c:
24792         * gst/elements/gstmultifilesrc.h:
24793         * gst/elements/gstpipefilter.c:
24794         * gst/elements/gstpipefilter.h:
24795         * gst/elements/gstshaper.c:
24796         * gst/elements/gstshaper.h:
24797         * gst/elements/gststatistics.c:
24798         * gst/elements/gststatistics.h:
24799         * po/POTFILES.in: Remove above files.
24800
24801 2005-05-14  Andy Wingo  <wingo@pobox.com>
24802
24803         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24804         so as to get the refs right.
24805         (sink_iterator_filter): New function, wraps bin_element_is_sink,
24806         unreffing objects that don't pass the filter.
24807
24808         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24809         gst_element_set_bus.
24810         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24811         normal cases, this will destroy the bus.
24812
24813         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24814         object.
24815
24816         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24817         has no sinks.
24818
24819 2005-05-13  Andy Wingo  <wingo@pobox.com>
24820
24821         * gst/gstutils.c (gst_element_link_pads): Instead of calling
24822         gst_pad_link, call pad_link_maybe_ghosting,
24823         (pad_link_maybe_ghosting): Links pads, making sure that the
24824         elements being linked are in the same bin.
24825         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24826         Helpers for pad_link_maybe_ghosting.
24827
24828 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24829
24830         * configure.ac:
24831           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24832
24833 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24834
24835         * docs/design/part-element-source.txt:
24836           Mention GstPushSrc
24837
24838 2005-05-12  Wim Taymans  <wim@fluendo.com>
24839
24840         * gst/base/gstbasesink.c: (gst_basesink_init),
24841         (gst_basesink_activate):
24842         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24843         (gst_basesrc_is_seekable):
24844         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24845         (bin_element_is_sink), (gst_bin_change_state):
24846         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24847         * gst/gstelement.h:
24848         Identify sinks by their flag to avoid overly complicated
24849         checks (fow now).
24850         Do state changes even for elements not reachable from the
24851         sinks.
24852         BaseSink is a sink now :)
24853         Some more debugging info in the basesrc.
24854
24855
24856 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24857
24858         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24859           Implement _query on a bin, similar to _send_event.
24860
24861 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
24862
24863         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24864           Discont event offset format should be GST_FORMAT_BYTES,
24865           not GST_FORMAT_TIME.
24866
24867 2005-05-12  Wim Taymans  <wim@fluendo.com>
24868
24869         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24870         Same fix as Ronald's but without the signal. 
24871
24872 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24873
24874         * gst/gstutils.c: (gst_element_query_position):
24875           No, an element is not a pad.
24876
24877 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24878
24879         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24880         (gst_bin_get_state):
24881           If a child is removed from a bin while we remove the child from
24882           the bin and while we're retrieving its state, signal this to the
24883           get_state function so we abort the wait (instead of waiting for
24884           a timeout) and can immediately re-iterate over all other elements.
24885
24886 2005-05-12  Wim Taymans  <wim@fluendo.com>
24887
24888         * gst/base/Makefile.am:
24889         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24890         (gst_basesrc_start):
24891         * gst/base/gstbasesrc.h:
24892         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24893         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24894         (gst_pushsrc_init), (gst_pushsrc_create):
24895         * gst/base/gstpushsrc.h:
24896         Added is_seekable to BaseSrc
24897         Added simple PushSrc.
24898
24899 2005-05-11  Wim Taymans  <wim@fluendo.com>
24900
24901         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24902         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24903         (gst_element_link_pads), (gst_element_query_position),
24904         (gst_element_query_convert), (intersect_caps_func),
24905         (gst_pad_query_position), (gst_pad_query_convert):
24906         Fix refcounting in utils function.
24907         No point in trying to activate a pad when it's added, it could
24908         be added from the state change function and then we deadlock, the
24909         element has to decide what to do.
24910
24911 2005-05-10  Andy Wingo  <wingo@pobox.com>
24912
24913         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24914         *all* the arguments.
24915
24916         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24917         stream lock if it's a FLUSH_DONE; normal flushes don't get the
24918         lock (according to the docs -- if this is wrong change the docs).
24919
24920         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24921         flush messages in the NULL state.
24922
24923         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24924         message immediately and return.
24925         (gst_bus_set_flushing): New function. If a bus is flushing, it
24926         flushes out any queued messages and immediately unrefs new
24927         messages. This is so when an element goes to NULL, all of the
24928         unhandled messages coming from it can be freed, and their
24929         references to the element dropped. In other words: message source
24930         ref considered harmful :P
24931
24932         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24933         we're finished with it.
24934
24935         * gst/gstmessage.c (gst_message_new_state_changed): 
24936
24937 2005-05-10  Wim Taymans  <wim@fluendo.com>
24938
24939         * gst/gstvalue.c: (gst_value_compare_flags),
24940         (gst_value_serialize_flags), (gst_value_deserialize_flags),
24941         (_gst_value_initialize):
24942         Added flags serialize/deserialize/compare code.
24943
24944 2005-05-09  Andy Wingo  <wingo@pobox.com>
24945
24946         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24947         Intersect the peer's caps with our caps.
24948
24949 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24950
24951         * gst/base/gsttypefindhelper.c: (helper_find_peek):
24952         * gst/elements/gsttypefindelement.c: (find_peek):
24953           Handle negative offsets better. Fixes decodebin.
24954
24955 2005-05-09  Wim Taymans  <wim@fluendo.com>
24956
24957         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24958         (gst_base_transform_event):
24959         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24960         Implement accept_caps.
24961         Fix silly lock/unlock mismatch in base class.
24962
24963 2005-05-09  Wim Taymans  <wim@fluendo.com>
24964
24965         * docs/design/draft-push-pull.txt:
24966         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24967         * gst/elements/gstfilesink.c: (gst_filesink_init),
24968         (gst_filesink_query):
24969         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24970         (gst_type_find_handle_src_query), (find_element_get_length):
24971         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24972         * gst/gstelement.h:
24973         * gst/gstmessage.c:
24974         * gst/gstmessage.h:
24975         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24976         (gst_real_pad_get_caps_unlocked),
24977         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24978         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24979         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24980         (gst_real_pad_dispose), (gst_real_pad_finalize),
24981         (gst_pad_load_and_link), (gst_pad_save_thyself),
24982         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24983         (gst_pad_check_pull_range), (gst_pad_pull_range),
24984         (gst_pad_template_get_type), (gst_pad_template_class_init),
24985         (gst_pad_template_init), (gst_pad_template_dispose),
24986         (name_is_valid), (gst_static_pad_template_get),
24987         (gst_pad_template_new), (gst_static_pad_template_get_caps),
24988         (gst_pad_template_get_caps), (gst_pad_set_element_private),
24989         (gst_pad_get_element_private), (gst_pad_start_task),
24990         (gst_pad_pause_task), (gst_pad_stop_task),
24991         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24992         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24993         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24994         (gst_ghost_pad_new):
24995         * gst/gstpad.h:
24996         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24997         (gst_query_new_position), (gst_query_set_position),
24998         (gst_query_parse_position), (gst_query_new_convert),
24999         (gst_query_set_convert), (gst_query_parse_convert):
25000         * gst/gstquery.h:
25001         * gst/gstqueryutils.c:
25002         * gst/gstqueryutils.h:
25003         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25004         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25005         (gst_queue_handle_src_query):
25006         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25007         (gst_element_query_position), (gst_element_query_convert),
25008         (intersect_caps_func), (gst_pad_query_position),
25009         (gst_pad_query_convert):
25010         * gst/gstutils.h:
25011         * tools/gst-inspect.c: (print_pad_info):
25012         * tools/gst-xmlinspect.c: (print_element_info):
25013         Remove old query functions. Ported old code.
25014         Added position/convert helper functions to gstutils.
25015         Reordered gstpad.c code, grouping relevant things.
25016         Remove gst_message_new(), always need to speficy a specific
25017         message.
25018
25019
25020 2005-05-09  Andy Wingo  <wingo@pobox.com>
25021
25022         * gst/gstiterator.h: Add some includes.
25023
25024         * gst/gstqueryutils.h: Include more headers.
25025
25026         * gst/gstpad.h:
25027         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
25028         some uses of gst_pad_query.
25029
25030         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
25031         NULL out parameters.
25032         (gst_query_new_position): New proc, allocates a new position
25033         query.
25034
25035         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
25036         gstqueryutils.c to the build.
25037
25038         * gst/gststructure.c (gst_structure_set_valist): Implement with
25039         the generic G_VALUE_COLLECT.
25040         
25041 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
25042
25043         * gst/Makefile.am: (gst_headers):
25044         Added gstqueryutils.h to the list of headers to install, that was
25045         a 'nachty' move wingo :)
25046
25047 2005-05-06  Andy Wingo  <wingo@pobox.com>
25048
25049         * gst/gstquery.h
25050         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
25051         GstData, init a memchunk.
25052         (standard_definitions): Add a few query types, deprecate a few.
25053         (gst_query_get_type): New proc.
25054         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
25055         implementation.
25056         (gst_query_new_application, gst_query_get_structure): New public
25057         procs.
25058
25059         * docs/design/draft-query.txt: Removed LINKS from the query types,
25060         because all the rest can be dispatched to other pads -- seemed
25061         ugly to have a query that couldn't be dispatched. internal_links
25062         is fine as a pad method.
25063
25064         * gst/gstpad.h: Add query2 as a pad method, add the new functions
25065         in gstpad.c, but maintain binary compatibility for the moment.
25066         Will fix before 0.9 is out.
25067
25068         * gst/gstqueryutils.c: 
25069         * gst/gstqueryutils.h: New files, implement 3 methods for each
25070         query type: parse_query, parse_response, and set. Probably need an
25071         allocator as well.
25072
25073         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
25074
25075         * gst/elements/gstfilesink.c (gst_filesink_query2):
25076         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
25077         query_types, and formats methods.
25078
25079         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
25080         (gst_pad_set_query2_function): New functions.
25081         (gst_real_pad_init): Set query2_default as the default query2
25082         function. Basically just dispatches to internally linked pads.
25083
25084         Needs review!
25085         
25086         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
25087         without using the atomic operations. Only one thread can possibly
25088         be accessing the data at this point. Changed so as to avoid
25089         gst_atomic operations.
25090
25091 2005-05-06  Wim Taymans  <wim@fluendo.com>
25092
25093         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
25094         Also set caps if we use the fallback buffer alloc.
25095
25096 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
25097
25098         * docs/gst/Makefile.am:
25099         * docs/gst/gstreamer-docs.sgml:
25100         * docs/gst/gstreamer-sections.txt:
25101         * docs/gst/tmpl/gstatomic.sgml:
25102         * docs/gst/tmpl/gstmemchunk.sgml:
25103         * testsuite/elements/struct_i386.h:
25104         * win32/GStreamer.vcproj:
25105         * win32/Makefile:
25106           Purge GstAtomic stuff from docs and win32 makefiles as well
25107
25108 2005-05-06  Wim Taymans  <wim@fluendo.com>
25109
25110         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25111         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25112         * gst/gstpad.c: (gst_pad_peer_get_caps):
25113         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25114         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25115         (gst_queue_src_activate), (gst_queue_change_state):
25116         * gst/gstqueue.h:
25117         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25118         (intersect_caps_func):
25119         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25120         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25121         Some fixes for the peer_get_caps() change.
25122
25123 2005-05-06  Wim Taymans  <wim@fluendo.com>
25124
25125         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25126         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25127         (gst_basesink_activate):
25128         Actually do something with error codes returned from the push
25129         functions.
25130
25131 2005-05-06  Wim Taymans  <wim@fluendo.com>
25132
25133         * docs/design/part-element-sink.txt:
25134         * docs/design/part-element-source.txt:
25135         * gst/base/gstbasesink.c: (gst_basesink_class_init),
25136         (gst_basesink_event), (gst_basesink_activate):
25137         * gst/base/gstbasesink.h:
25138         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25139         (gst_basesrc_activate):
25140         * gst/base/gstbasesrc.h:
25141         * gst/gstelement.c: (gst_element_pads_activate):
25142         Some more documentation.
25143         Fixed scheduling decision in _pads_activate().
25144
25145 2005-05-05  Andy Wingo  <wingo@pobox.com>
25146
25147         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25148         the test suite.
25149
25150 2005-05-05  Wim Taymans  <wim@fluendo.com>
25151
25152         * gst/base/Makefile.am:
25153         * gst/base/gstbasesink.h:
25154         * gst/base/gstbasesrc.c: (gst_basesrc_init),
25155         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25156         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25157         (gst_collectpads_class_init), (gst_collectpads_init),
25158         (gst_collectpads_finalize), (gst_collectpads_new),
25159         (gst_collectpads_set_function), (gst_collectpads_add_pad),
25160         (find_pad), (gst_collectpads_remove_pad),
25161         (gst_collectpads_is_active), (gst_collectpads_collect),
25162         (gst_collectpads_collect_range), (gst_collectpads_start),
25163         (gst_collectpads_stop), (gst_collectpads_peek),
25164         (gst_collectpads_pop), (gst_collectpads_available),
25165         (gst_collectpads_read), (gst_collectpads_flush),
25166         (gst_collectpads_chain):
25167         * gst/base/gstcollectpads.h:
25168         * gst/elements/Makefile.am:
25169         * gst/elements/gstelements.c:
25170         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25171         (gst_fakesink_get_times), (gst_fakesink_event),
25172         (gst_fakesink_preroll), (gst_fakesink_render):
25173         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25174         (gst_filesink_init), (gst_filesink_set_location),
25175         (gst_filesink_open_file), (gst_filesink_close_file),
25176         (gst_filesink_pad_query), (gst_filesink_event),
25177         (gst_filesink_render), (gst_filesink_change_state):
25178         * gst/elements/gstfilesink.h:
25179         Added object to help in making collect pad based elements.
25180         Ported filesink.
25181         Make event function in sink baseclass return gboolean.
25182
25183 2005-05-05  Wim Taymans  <wim@fluendo.com>
25184
25185         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25186         (gst_bin_get_by_name):
25187         * gst/gstbuffer.h:
25188         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25189         (gst_clock_finalize):
25190         * gst/gstdata.c: (gst_data_replace):
25191         * gst/gstdata.h:
25192         * gst/gstelement.c: (gst_element_request_pad),
25193         (gst_element_pads_activate):
25194         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25195         (gst_object_unref):
25196         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25197         (gst_pad_set_checkgetrange_function),
25198         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25199         (gst_pad_check_pull_range), (gst_pad_pull_range),
25200         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25201         (gst_pad_pause_task), (gst_pad_stop_task):
25202         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25203         (gst_element_request_pad), (gst_pad_proxy_getcaps):
25204         Fix name lookup in GstBin.
25205         Added _data_replace() function and _buffer_replace()
25206         Use finalize method to clean up clock.
25207         Fix refcounting on request pads.
25208         Fix pad schedule mode error.
25209         Some more object refcounting debug info,
25210
25211
25212 2005-05-04  Andy Wingo <wingo@pobox.com>
25213
25214         * check/Makefile.am:
25215         * docs/gst/tmpl/gstatomic.sgml:
25216         * docs/gst/tmpl/gstplugin.sgml:
25217         * gst/base/gstbasesink.c: (gst_basesink_activate):
25218         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25219         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25220         (gst_basesrc_query), (gst_basesrc_set_property),
25221         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25222         (gst_basesrc_activate):
25223         * gst/base/gstbasesrc.h:
25224         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25225         (gst_base_transform_src_activate):
25226         * gst/elements/gstelements.c:
25227         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25228         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25229         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25230         * gst/elements/gsttypefindelement.c: (find_element_get_length),
25231         (gst_type_find_element_checkgetrange),
25232         (gst_type_find_element_activate):
25233         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25234         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25235         (gst_caps_load_thyself):
25236         * gst/gstelement.c: (gst_element_pads_activate),
25237         (gst_element_save_thyself), (gst_element_restore_thyself):
25238         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25239         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25240         * gst/gstpad.h:
25241         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25242         (gst_xml_parse_file), (gst_xml_parse_memory),
25243         (gst_xml_get_element), (gst_xml_make_element):
25244         * gst/indexers/gstfileindex.c: (gst_file_index_load),
25245         (_file_index_id_save_xml), (gst_file_index_commit):
25246         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25247         (read_enum), (load_pad_template), (load_feature), (load_plugin),
25248         (load_paths):
25249         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25250         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25251         * tools/gst-complete.c: (main):
25252         * tools/gst-compprep.c: (main):
25253         * tools/gst-inspect.c: (print_element_properties_info):
25254         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25255         * tools/gst-xmlinspect.c: (print_element_properties):
25256         GCC 4 fixen.
25257         
25258 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25259
25260         * gst/gstplugin.c: (gst_plugin_check_module),
25261         (gst_plugin_check_file), (gst_plugin_load_file):
25262             apply patch from #172526 to make register work on MacOSX
25263
25264 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25265
25266         * docs/gst/tmpl/gstconfig.sgml:
25267         * gst/gstconfig.h.in:
25268           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
25269         * testsuite/debug/printf_extension.c: (main):
25270           Do not use GST_PTR_FORMAT on pointers to types with
25271           sizeof < sizeof(gpointer).  Fixes test on 64-bit
25272         * testsuite/elements/property.h:
25273           use correct printf format
25274
25275 2005-05-02  Wim Taymans  <wim@fluendo.com>
25276
25277         * docs/design/draft-push-pull.txt:
25278         * docs/design/draft-query.txt:
25279         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25280         (gst_basesrc_start):
25281         Added draft for new query API.
25282         Added draft for better selecting scheduling methods.
25283         Make basesrc ignore length if the subclass does not support
25284         it.
25285
25286 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25287
25288         * gst/Makefile.am:
25289           possible fixes for automake-1.5 - _LIBADD is reserved
25290
25291 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25292
25293         * docs/faq/Makefile.am:
25294         * docs/manual/Makefile.am:
25295         * docs/manuals.mak:
25296         * docs/pwg/Makefile.am:
25297         * gst/Makefile.am:
25298           possible fixes for automake-1.5
25299
25300 2005-04-28  Wim Taymans  <wim@fluendo.com>
25301
25302         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25303         (gst_basesink_pad_getcaps), (gst_basesink_init),
25304         (gst_basesink_do_sync):
25305         * gst/gstclock.c: (gst_clock_entry_new):
25306         * gst/gstevent.c: (gst_event_discont_get_value):
25307         * gst/gstpipeline.c: (pipeline_bus_handler),
25308         (gst_pipeline_change_state):
25309         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25310         Better debugging of clocking info.
25311         Allow NULL values when getting discont values.
25312
25313 2005-04-27  Wim Taymans  <wim@fluendo.com>
25314
25315         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25316         * check/gst/gstpad.c: (gst_pad_suite):
25317         Increase timeout for checks.
25318
25319 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25320
25321         * check/Makefile.am:
25322           fix the broken rule for cleanup.  Apparently this rule is
25323           only needed on FC2, so maybe this warrants further autotool
25324           inspection.
25325
25326 2005-04-26  Wim Taymans  <wim@fluendo.com>
25327
25328         * gst/gsttrashstack.h:
25329         Ooohh. a nasty one! After having a failed pop() from the stack,
25330         it's possible that the stack is empty. In that case, don't
25331         follow the NULL pointer.
25332
25333 2005-04-25  Wim Taymans  <wim@fluendo.com>
25334
25335         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25336         (gst_pad_set_checkgetrange_function),
25337         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25338         (gst_pad_check_pull_range), (gst_pad_pull_range),
25339         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25340         (gst_pad_pause_task), (gst_pad_stop_task):
25341         * gst/gstplugin.c: (gst_plugin_load):
25342         * gst/gstplugin.h:
25343         Remove gst_library_load as it does more harm than good with
25344         the new g_module flags.
25345         Revert bogus caps template check in pad linking, pad caps
25346         are important when linking not the template, which is more
25347         general than the current caps.
25348
25349 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25350
25351         * gst/autoplug/.cvsignore:
25352         * gst/autoplug/Makefile.am:
25353         * gst/autoplug/gstsearchfuncs.c:
25354         * gst/autoplug/gstsearchfuncs.h:
25355         * gst/autoplug/gstspider.c:
25356         * gst/autoplug/gstspider.h:
25357         * gst/autoplug/gstspideridentity.c:
25358         * gst/autoplug/gstspideridentity.h:
25359         * gst/autoplug/spidertest.c:
25360           Die, spider, die.
25361
25362 2005-04-25  Wim Taymans  <wim@fluendo.com>
25363
25364         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25365         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25366         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25367         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25368         * gst/gstpad.h:
25369         Added stubs for unimplemented functions. 
25370
25371 2005-04-24  David Schleef  <ds@schleef.org>
25372
25373         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
25374         please fix.
25375
25376 2005-04-24  David Schleef  <ds@schleef.org>
25377
25378         Convert everything from GstAtomicInt to g_atomic_int_*, and
25379         remove gstatomic.
25380         * gst/Makefile.am:
25381         * gst/gstatomic.c:
25382         * gst/gstatomic.h:
25383         * gst/gstatomic_impl.h:
25384         * gst/gstbuffer.c:
25385         * gst/gstcaps.c:
25386         * gst/gstcaps.h:
25387         * gst/gstclock.c:
25388         * gst/gstclock.h:
25389         * gst/gstdata.c:
25390         * gst/gstdata.h:
25391         * gst/gstdata_private.h:
25392         * gst/gstevent.c:
25393         * gst/gstinfo.c:
25394         * gst/gstinfo.h:
25395         * gst/gstmessage.c:
25396         * gst/gstobject.c:
25397         * gst/gstobject.h:
25398         * gst/gststructure.c:
25399         * gst/gststructure.h:
25400         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25401         * gst/gstutils.h:
25402
25403 2005-04-24  David Schleef  <ds@schleef.org>
25404
25405         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25406         make the regressions tests work.  Remove some code that is no
25407         longer true.
25408         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25409         Disable warning for pads without templates.
25410
25411 2005-04-24  David Schleef  <ds@schleef.org>
25412
25413         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
25414         functions that handle filtered links.
25415         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25416         removed functions.
25417         * gst/gstutils.c: Fix/remove utility functions that handle
25418         filtered caps.
25419         * gst/gstutils.h:
25420         * gst/gstvalue.c: Add serialization/deserialization of caps
25421         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
25422         requires fixing so that the filter caps notation creates
25423         a capsfilter element and sets the filter_caps property.  I
25424         think everyone probably wants to keep the shorthand notation.
25425         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25426         * docs/gst/tmpl/gstpad.sgml:
25427
25428         * gst/elements/gstelements.c: Register capsfilter element.
25429         * gst/Makefile.am: fix spacing
25430         * docs/random/ds/0.9-suggested-changes: random
25431
25432 2005-04-23  David Schleef  <ds@schleef.org>
25433
25434         * gst/elements/Makefile.am:
25435         * gst/elements/gstcapsfilter.c: New element that acts like an
25436         identity, but filters caps.  Will eventually replace filtered
25437         caps in pad linking.
25438         * gst/gstutils.c: (gst_element_create_all_pads): New function
25439         to create all the ALWAYS pads that are registered with an
25440         element class.  This functionality should eventually be
25441         merged in with GstElement initialization.
25442         * gst/gstutils.h:
25443         * testsuite/trigger/README: part of trigger test code that should
25444         have been checked in a long time ago.
25445
25446 2005-04-23  David Schleef  <ds@schleef.org>
25447
25448         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
25449         needed with new versions of libtool (nobody will confirm this),
25450         and hard to carry around.
25451         * gst/autoplug/Makefile.am:
25452         * gst/base/Makefile.am:
25453         * gst/elements/Makefile.am:
25454         * gst/indexers/Makefile.am:
25455         * gst/schedulers/Makefile.am:
25456         * libs/gst/bytestream/Makefile.am:
25457         * libs/gst/control/Makefile.am:
25458         * libs/gst/dataprotocol/Makefile.am:
25459         * libs/gst/getbits/Makefile.am:
25460
25461 2005-04-21  Wim Taymans  <wim@fluendo.com>
25462
25463         * docs/design/draft-push-pull.txt:
25464         * docs/design/part-MT-refcounting.txt:
25465         * docs/design/part-TODO.txt:
25466         * docs/design/part-caps.txt:
25467         * docs/design/part-events.txt:
25468         * docs/design/part-gstbus.txt:
25469         * docs/design/part-gstpipeline.txt:
25470         * docs/design/part-messages.txt:
25471         * docs/design/part-push-pull.txt:
25472         * docs/design/part-query.txt:
25473         Some more docs.
25474
25475 2005-04-21  Wim Taymans  <wim@fluendo.com>
25476
25477         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25478         (gst_message_new), (gst_message_new_error),
25479         (gst_message_new_warning), (gst_message_new_tag),
25480         (gst_message_new_state_changed), (gst_message_new_application),
25481         (gst_message_get_structure):
25482         * gst/gstmessage.h:
25483         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25484         (gst_structure_copy_conditional):
25485         Use parent refcount in GstMessage to ensure GstStructure
25486         consistency.
25487         Cleaned up headers a bit.
25488         
25489
25490 2005-04-20  Wim Taymans  <wim@fluendo.com>
25491
25492         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25493         (gst_basesink_pad_getcaps), (gst_basesink_init),
25494         (gst_basesink_chain_unlocked):
25495         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25496         (gst_type_find_helper):
25497         * gst/elements/gsttypefindelement.c:
25498         (gst_type_find_element_have_type), (gst_type_find_element_init),
25499         (stop_typefinding), (gst_type_find_element_handle_event),
25500         (find_suggest), (gst_type_find_element_chain),
25501         (gst_type_find_element_checkgetrange),
25502         (gst_type_find_element_getrange), (do_typefind),
25503         (gst_type_find_element_activate):
25504         * gst/gstbuffer.c: (_gst_buffer_sub_free),
25505         (gst_buffer_default_free), (gst_buffer_default_copy),
25506         (gst_buffer_set_caps):
25507         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25508         (gst_caps_replace):
25509         * gst/gstmessage.c: (gst_message_new),
25510         (gst_message_new_state_changed):
25511         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25512         (gst_pad_set_checkgetrange_function),
25513         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25514         (gst_pad_set_caps), (gst_pad_check_pull_range),
25515         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25516         * gst/gstpad.h:
25517         * gst/gsttypefind.c: (gst_type_find_register):
25518         Make gst_caps_replace() work like other _replace() functions.
25519         Use _caps_replace() where possible.
25520         Make sure _message_new() initialises its field.
25521         Add gst_static_pad_template_get_caps()
25522
25523
25524 2005-04-18  Andy Wingo  <wingo@pobox.com>
25525
25526         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25527         on the peer, not the pad. I think that was a typo. Pass an extra
25528         arg to see if random access is possible. Activate the pads as
25529         PULL_RANGE if possible.
25530
25531         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25532
25533         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
25534         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25535         to PROP_....
25536
25537 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25538
25539         * docs/faq/using.xml:
25540           Add note on gstreamer-properties (#154996).
25541
25542 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25543
25544         * docs/random/bbb/optional-properties:
25545           Some analysis on optional properties.
25546
25547 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25548
25549         * docs/gst/tmpl/gstelementfactory.sgml:
25550         * gst/gstelement.h:
25551         * gst/gstelementfactory.c: (gst_element_factory_init),
25552         (gst_element_factory_cleanup), (gst_element_register),
25553         (__gst_element_factory_add_static_pad_template),
25554         (gst_element_factory_get_static_pad_templates),
25555         (gst_element_factory_can_src_caps),
25556         (gst_element_factory_can_sink_caps):
25557         * gst/registries/Makefile.am:
25558         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25559         (gst_xml_registry_class_init), (gst_xml_registry_init),
25560         (gst_xml_registry_new), (gst_xml_registry_set_property),
25561         (gst_xml_registry_get_property), (get_time), (make_dir),
25562         (gst_xml_registry_get_perms_func),
25563         (plugin_times_older_than_recurse), (plugin_times_older_than),
25564         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25565         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25566         (add_to_char_array), (read_string), (read_uint), (read_enum),
25567         (load_pad_template), (load_feature), (load_plugin), (load_paths),
25568         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25569         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25570         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25571         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25572         (gst_xml_registry_rebuild):
25573         * gst/registries/gstlibxmlregistry.h:
25574         * tools/gst-compprep.c: (main):
25575         * tools/gst-inspect.c: (print_pad_templates_info):
25576         * tools/gst-xmlinspect.c: (print_element_info):
25577           Use libxml2 for registry parsing, use staticpadtemplates in
25578           elementfactories. Makes gst_init() +/- 10x faster.
25579
25580 2005-04-12  Wim Taymans  <wim@fluendo.com>
25581
25582         * gst/base/Makefile.am:
25583         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25584         (gst_basesink_pad_getcaps), (gst_basesink_init),
25585         (gst_basesink_event), (gst_basesink_change_state):
25586         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25587         (gst_basesrc_init), (gst_basesrc_query),
25588         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25589         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25590         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25591         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25592         (gst_basesrc_stop), (gst_basesrc_activate),
25593         (gst_basesrc_change_state):
25594         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25595         (helper_find_suggest), (gst_type_find_helper):
25596         * gst/base/gsttypefindhelper.h:
25597         * gst/elements/Makefile.am:
25598         * gst/elements/gstelements.c:
25599         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25600         (gst_fakesink_get_times), (gst_fakesink_event),
25601         (gst_fakesink_preroll), (gst_fakesink_render):
25602         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25603         (gst_fakesrc_init), (gst_fakesrc_event_handler),
25604         (gst_fakesrc_get_property), (gst_fakesrc_create),
25605         (gst_fakesrc_start), (gst_fakesrc_stop):
25606         * gst/elements/gstfakesrc.h:
25607         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25608         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25609         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25610         (gst_filesrc_create_read), (gst_filesrc_create),
25611         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25612         (gst_filesrc_start):
25613         * gst/elements/gsttypefindelement.c:
25614         (gst_type_find_element_have_type), (gst_type_find_element_init),
25615         (start_typefinding), (stop_typefinding), (push_buffer_store),
25616         (gst_type_find_element_handle_event),
25617         (gst_type_find_element_chain),
25618         (gst_type_find_element_checkgetrange),
25619         (gst_type_find_element_getrange), (do_typefind),
25620         (gst_type_find_element_activate),
25621         (gst_type_find_element_change_state):
25622         * gst/elements/gsttypefindelement.h:
25623         * gst/gstpipeline.c: (pipeline_bus_handler):
25624         Added typefind helper.
25625         Small preroll fix in the base sink.
25626         Disable typefind code in basesrc.
25627         Crude port of typefindelement.
25628         Fakesrc cleanups.
25629
25630
25631 2005-04-11  Wim Taymans  <wim@fluendo.com>
25632
25633         * check/gst/gstbus.c: (gstbus_suite):
25634         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25635         * check/gstcheck.h:
25636           Fix up the timeout so that the test does not fail.
25637
25638 2005-04-06  Wim Taymans  <wim@fluendo.com>
25639
25640         * gst/base/README:
25641         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25642         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25643         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25644         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25645         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25646         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25647         (gst_basesrc_stop), (gst_basesrc_activate),
25648         (gst_basesrc_change_state), (basesrc_find_peek),
25649         (basesrc_find_suggest), (gst_basesrc_type_find):
25650         * gst/base/gstbasesrc.h:
25651         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25652         (gst_filesrc_class_init), (gst_filesrc_init),
25653         (gst_filesrc_finalize), (gst_filesrc_set_location),
25654         (gst_filesrc_set_property), (gst_filesrc_get_property),
25655         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25656         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25657         (gst_filesrc_create_read), (gst_filesrc_create),
25658         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25659         * gst/elements/gstfilesrc.h:
25660         * gst/gstelement.c: (gst_element_get_state_func),
25661         (gst_element_lost_state), (gst_element_pads_activate):
25662         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25663         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25664         (gst_pad_pull_range):
25665         * gst/gstpad.h:
25666         More work on the generic source base class, implement seeking,
25667         query.
25668         Make filesrc extend the base source class.
25669         Added gst_pad_set_checkgetrange_function to GstPad.
25670
25671 2005-04-06  Andy Wingo  <wingo@pobox.com>
25672
25673         * pkgconfig/gstreamer-base.pc.in:
25674         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25675
25676         * pkgconfig/Makefile.am:
25677         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25678
25679 2005-04-04  Wim Taymans  <wim@fluendo.com>
25680
25681         * gst/base/Makefile.am:
25682         * gst/base/README:
25683         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25684         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25685         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25686         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25687         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25688         (gst_basesrc_base_init), (gst_basesrc_class_init),
25689         (gst_basesrc_init), (gst_basesrc_get_formats),
25690         (gst_basesrc_get_query_types), (gst_basesrc_query),
25691         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25692         (gst_basesrc_set_property), (gst_basesrc_get_property),
25693         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25694         (gst_basesrc_loop), (gst_basesrc_activate),
25695         (gst_basesrc_change_state):
25696         * gst/base/gstbasesrc.h:
25697         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25698         (gst_fakesrc_class_init), (gst_fakesrc_init),
25699         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25700         (gst_fakesrc_get_property), (gst_fakesrc_create):
25701         * gst/elements/gstfakesrc.h:
25702         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25703         (gst_filesrc_open_file), (gst_filesrc_loop),
25704         (gst_filesrc_activate), (filesrc_find_peek),
25705         (gst_filesrc_type_find):
25706         Made base source class, make fakesrc extend it.
25707         Add comments to basesink class.
25708         Some filesrc cleanup.
25709
25710 2005-03-31  David Schleef  <ds@schleef.org>
25711
25712         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25713         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25714         expected to link against libgstreamer.
25715         * gst/base/Makefile.am: link against libgstreamer
25716         * gst/elements/Makefile.am: same
25717
25718 2005-03-31  Andy Wingo  <wingo@pobox.com>
25719
25720         * tests/instantiate/Makefile.am:
25721         * tests/instantiate/caps.c: Add test to test speed of caps copy
25722         and free.
25723
25724         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25725         GMemChunk to be fair.
25726
25727         * gst/gsttrashstack.h: Remove warning about using the fallback
25728         trash stack implementation, it's still faster than malloc.
25729
25730 2005-03-30  Andy Wingo  <wingo@pobox.com>
25731
25732         * tests/complexity.c: Add a copyright.
25733
25734 2005-03-31  Wim Taymans  <wim@fluendo.com>
25735
25736         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25737         (gst_base_transform_class_init), (gst_base_transform_init),
25738         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25739         (gst_base_transform_get_property),
25740         (gst_base_transform_sink_activate),
25741         (gst_base_transform_src_activate),
25742         (gst_base_transform_change_state):
25743         * gst/base/gstbasetransform.h:
25744         * gst/elements/gstidentity.c: (gst_identity_class_init),
25745         (gst_identity_event), (gst_identity_check_perfect),
25746         (gst_identity_transform), (gst_identity_start),
25747         (gst_identity_stop):
25748         Added start/stop methods to transform base class so subclasses 
25749         don't need to deal with state changes even.
25750
25751 2005-03-31  Wim Taymans  <wim@fluendo.com>
25752
25753         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25754         (gst_event_new_discontinuous), (gst_event_discont_get_value):
25755         * gst/gstevent.h:
25756         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25757         (gst_pad_pull_range):
25758         Added rate to the discont event to prepare for variable speed
25759         and reverse playback.
25760
25761 2005-03-29  David Schleef  <ds@schleef.org>
25762
25763         * configure.ac:
25764         * testsuite/trigger/Makefile.am:
25765         * testsuite/trigger/trigger.c: A little example program to show
25766         how trigger-based elements can work.
25767
25768 2005-03-29  Wim Taymans  <wim@fluendo.com>
25769
25770         * gst/base/Makefile.am:
25771         * gst/base/README:
25772         * gst/base/gstbasesink.c: (gst_basesink_get_type),
25773         (gst_basesink_base_init), (gst_basesink_class_init),
25774         (gst_basesink_pad_getcaps), (gst_basesink_init),
25775         (gst_basesink_activate), (gst_basesink_change_state):
25776         * gst/base/gstbasesink.h:
25777         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25778         (gst_base_transform_base_init), (gst_base_transform_finalize),
25779         (gst_base_transform_class_init), (gst_base_transform_init),
25780         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25781         (gst_base_transform_event), (gst_base_transform_getrange),
25782         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25783         (gst_base_transform_set_property),
25784         (gst_base_transform_get_property),
25785         (gst_base_transform_sink_activate),
25786         (gst_base_transform_src_activate),
25787         (gst_base_transform_change_state):
25788         * gst/base/gstbasetransform.h:
25789         * gst/elements/gstidentity.c: (gst_identity_finalize),
25790         (gst_identity_class_init), (gst_identity_init),
25791         (gst_identity_event), (gst_identity_check_perfect),
25792         (gst_identity_transform), (gst_identity_set_property),
25793         (gst_identity_get_property), (gst_identity_change_state):
25794         * gst/elements/gstidentity.h:
25795         * gst/gstelement.c: (gst_element_get_state_func),
25796         (gst_element_lost_state), (gst_element_pads_activate):
25797         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25798         (gst_pad_check_pull_range), (gst_pad_pull_range):
25799         * gst/gstpad.h:
25800         Simplify pad activation.
25801         Added function to check if pull_range can be performed.
25802         Error out when pulling inactive or flushing pads.
25803         Removed const from refcounted types as it does not make sense.
25804         Simplify pad templates in basesink
25805         Added base class for simple 1-to-1 transforms.
25806         Make identity subclass the base transform.
25807
25808 2005-03-29  Andy Wingo  <wingo@pobox.com>
25809
25810         * docs/libs/gstreamer-libs-overrides.txt: 
25811         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25812         really don't understand what's going on, but like whatever. I want
25813         green buildbot!
25814
25815         * docs/gst/Makefile.am:
25816         * docs/libs/Makefile.am: Dist the overrides files.
25817
25818         * check/Makefile.am (clean-local): Remove .libs directories.
25819
25820         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25821         elements to EXTRA_DIST, so po/ files are happy.
25822
25823         * po/POTFILES.in: Er, remove it here.
25824
25825         * po/POTFILES: Remove gstspider.c.
25826
25827         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25828
25829         * docs/libs/gstreamer-libs-docs.sgml: 
25830         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25831         bytestream.
25832
25833         * tests/complexity.c (main): Set the length of the preroll queue
25834         on the sinks to prevent a lockup.
25835
25836         * libs/gst/dataprotocol/Makefile.am: 
25837         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25838         the same as the one in check/gst-libs/gdp.c.
25839
25840         * po/, docs/gst/: Commit automatic changes to docs and po files.
25841
25842         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25843         the versioned libgstbase.
25844
25845         * check/Makefile.am: Depend on an unversioned gst-register, seems
25846         to make autoconf happier.
25847
25848         * gst/base/Makefile.am: Make libgstbase a versioned lib.
25849
25850 2005-03-28  Wim Taymans  <wim@fluendo.com>
25851
25852         * configure.ac:
25853         * docs/design/part-gstelement.txt:
25854         * docs/design/part-negotiation.txt:
25855         * docs/design/part-preroll.txt:
25856         * docs/design/part-scheduling.txt:
25857         * docs/design/part-states.txt:
25858         * gst/Makefile.am:
25859         * gst/base/Makefile.am:
25860         * gst/base/README:
25861         * gst/base/gstbasesink.c: (gst_basesink_get_template),
25862         (gst_basesink_base_init), (gst_basesink_class_init),
25863         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25864         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25865         (gst_basesink_set_pad_functions),
25866         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25867         (gst_basesink_set_property), (gst_basesink_get_property),
25868         (gst_base_sink_get_template), (gst_base_sink_get_caps),
25869         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25870         (gst_basesink_preroll_queue_push),
25871         (gst_basesink_preroll_queue_empty),
25872         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25873         (gst_basesink_event), (gst_basesink_get_times),
25874         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25875         (gst_basesink_chain_unlocked), (gst_basesink_chain),
25876         (gst_basesink_loop), (gst_basesink_activate),
25877         (gst_basesink_change_state):
25878         * gst/base/gstbasesink.h:
25879         * gst/elements/Makefile.am:
25880         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25881         (gst_fakesink_class_init), (gst_fakesink_init),
25882         (gst_fakesink_set_property), (gst_fakesink_get_property),
25883         (gst_fakesink_get_times), (gst_fakesink_event),
25884         (gst_fakesink_preroll), (gst_fakesink_render),
25885         (gst_fakesink_change_state):
25886         * gst/elements/gstfakesink.h:
25887         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25888         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25889         * gst/gstelement.c: (gst_element_add_pad),
25890         (gst_element_get_state_func), (gst_element_abort_state),
25891         (gst_element_commit_state), (gst_element_lost_state),
25892         (gst_element_set_state), (gst_element_pads_activate):
25893         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25894         * gst/gstpipeline.c: (gst_pipeline_send_event),
25895         (gst_pipeline_change_state):
25896         Added state change code.
25897         Added/updated docs.
25898         Added sink base class, make fakesink extend the base class.
25899         Small cleanups in GstPipeline.
25900
25901 2005-03-26  David Schleef  <ds@schleef.org>
25902
25903         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
25904         is broken and should be implemented in a different library.
25905         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25906         * gst/gst.h: remove gstcpu.h
25907         * gst/gstcpu.c: remove
25908         * gst/gstcpu.h: remove
25909         * gst/Makefile.am.future: Remove this file.  It's ancient.
25910
25911 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25912
25913         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25914         (gst_bin_send_event):
25915           Add default event/set_manager handlers. The set_manager handler
25916           takes care that the manager is distributed over kids that were
25917           already in the bin before the manager was set. The event handler
25918           is a utility virtual function that sends the event over all sinks,
25919           so that gst_element_send_event (bin, event); has the expected
25920           behaviour.
25921         * gst/gstpad.c: (gst_pad_event_default):
25922           Re-install default event handling for discontinuities, so that
25923           seeking works without requiring hacks in applications or extra
25924           code in sinks.
25925         * gst/gstpipeline.c: (gst_pipeline_class_init),
25926         (gst_pipeline_send_event):
25927           Half hack, half utility: set a pipeline to PAUSED for seek events,
25928           since that is the only way we can guarantee a/v sync. Means that
25929           you can do gst_element_seek (pipeline, method, pos); on a pipeline
25930           and it "just works".
25931
25932 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25933
25934         * gst/gstpipeline.c: (gst_pipeline_use_clock):
25935           Lock/unlock mismatch.
25936
25937 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25938
25939         * docs/faq/gst-uninstalled:
25940           add gst-plugins-base
25941         * docs/gst/Makefile.am:
25942           don't error out until docs are fixed
25943         * docs/gst/gstreamer.types:
25944           remove thread
25945
25946 2005-03-22  Wim Taymans  <wim@fluendo.com>
25947
25948         * check/Makefile.am:
25949         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25950         * gst/gststructure.c: (gst_structure_set_valist),
25951         (gst_structure_copy_conditional):
25952         Activated more tests.
25953         Added message test.
25954         Added G_TYPE_POINTER to GstStructure.
25955         
25956
25957 2005-03-22  Wim Taymans  <wim@fluendo.com>
25958
25959         * docs/design/part-TODO.txt:
25960         * docs/design/part-events.txt:
25961         * docs/design/part-gstbin.txt:
25962         * docs/design/part-gstbus.txt:
25963         * docs/design/part-gstpipeline.txt:
25964         * docs/design/part-messages.txt:
25965         * gst/gstbus.c:
25966         * gst/gstmessage.c:
25967         Docs updates
25968
25969 2005-03-21  Wim Taymans  <wim@fluendo.com>
25970
25971         * gst/gstbus.c: (gst_bus_post):
25972         Fix copy-and-paste error.
25973
25974 2005-03-21  Wim Taymans  <wim@fluendo.com>
25975
25976         * check/Makefile.am:
25977         * gst/Makefile.am:
25978         * gst/elements/Makefile.am:
25979         * gst/elements/gstelements.c:
25980         * gst/elements/gstfakesink.c: (gst_fakesink_init),
25981         (gst_fakesink_event), (gst_fakesink_chain):
25982         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25983         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25984         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25985         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25986         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25987         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25988         (gst_fakesrc_loop), (gst_fakesrc_activate),
25989         (gst_fakesrc_change_state):
25990         * gst/elements/gstfakesrc.h:
25991         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25992         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25993         (gst_filesrc_open_file), (gst_filesrc_loop),
25994         (gst_filesrc_activate), (gst_filesrc_change_state),
25995         (filesrc_find_peek), (filesrc_find_suggest),
25996         (gst_filesrc_type_find):
25997         * gst/elements/gstidentity.c: (gst_identity_finalize),
25998         (gst_identity_class_init), (gst_identity_init),
25999         (gst_identity_proxy_getcaps), (identity_queue_push),
26000         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
26001         (gst_identity_getrange), (gst_identity_chain),
26002         (gst_identity_sink_loop), (gst_identity_src_loop),
26003         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
26004         (gst_identity_set_property), (gst_identity_get_property),
26005         (gst_identity_change_state):
26006         * gst/elements/gstidentity.h:
26007         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
26008         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
26009         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
26010         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
26011         (gst_tee_sink_activate):
26012         * gst/elements/gsttee.h:
26013         * gst/gst.c: (gst_register_core_elements), (init_post):
26014         * gst/gst.h:
26015         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
26016         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
26017         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
26018         (gst_bin_change_state):
26019         * gst/gstbin.h:
26020         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
26021         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
26022         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
26023         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
26024         (gst_bus_set_sync_handler), (gst_bus_create_watch),
26025         (bus_watch_callback), (bus_watch_destroy),
26026         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
26027         (poll_timeout), (gst_bus_poll):
26028         * gst/gstbus.h:
26029         * gst/gstcaps.h:
26030         * gst/gstdata.h:
26031         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26032         (gst_element_post_message), (gst_element_message_full),
26033         (gst_element_get_state_func), (gst_element_get_state),
26034         (gst_element_abort_state), (gst_element_commit_state),
26035         (gst_element_lost_state), (gst_element_set_state),
26036         (gst_element_pads_activate), (gst_element_change_state),
26037         (gst_element_dispose), (gst_element_set_manager_func),
26038         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
26039         (gst_element_set_manager), (gst_element_get_manager),
26040         (gst_element_set_bus), (gst_element_get_bus),
26041         (gst_element_set_scheduler), (gst_element_get_scheduler):
26042         * gst/gstelement.h:
26043         * gst/gstevent.c: (gst_event_new_segment_seek),
26044         (gst_event_new_flush):
26045         * gst/gstevent.h:
26046         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
26047         (_gst_message_free), (gst_message_get_type), (gst_message_new),
26048         (gst_message_new_eos), (gst_message_new_error),
26049         (gst_message_new_warning), (gst_message_new_tag),
26050         (gst_message_new_state_changed), (gst_message_new_application),
26051         (gst_message_get_structure), (gst_message_parse_tag),
26052         (gst_message_parse_state_changed), (gst_message_parse_error),
26053         (gst_message_parse_warning):
26054         * gst/gstmessage.h:
26055         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
26056         (gst_real_pad_set_property), (gst_pad_set_active),
26057         (gst_pad_is_active), (gst_pad_set_blocked_async),
26058         (gst_pad_set_blocked), (gst_pad_is_blocked),
26059         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
26060         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
26061         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
26062         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
26063         (gst_pad_link_filtered), (gst_pad_relink_filtered),
26064         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
26065         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
26066         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
26067         (gst_pad_set_caps), (gst_pad_configure_sink),
26068         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
26069         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
26070         (gst_real_pad_dispose), (gst_real_pad_finalize),
26071         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
26072         (gst_pad_event_default_dispatch), (gst_pad_event_default),
26073         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
26074         * gst/gstpad.h:
26075         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
26076         (pipeline_bus_handler), (gst_pipeline_change_state),
26077         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
26078         * gst/gstpipeline.h:
26079         * gst/gstprobe.h:
26080         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
26081         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
26082         (gst_queue_link_src), (gst_queue_bufferalloc),
26083         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
26084         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
26085         (gst_queue_loop), (gst_queue_handle_src_event),
26086         (gst_queue_handle_src_query), (gst_queue_src_activate),
26087         (gst_queue_change_state):
26088         * gst/gstqueue.h:
26089         * gst/gstscheduler.c: (gst_scheduler_init),
26090         (gst_scheduler_dispose), (gst_scheduler_create_task),
26091         (gst_scheduler_factory_create):
26092         * gst/gstscheduler.h:
26093         * gst/gststructure.c: (gst_structure_get_type),
26094         (gst_structure_copy_conditional):
26095         * gst/gststructure.h:
26096         * gst/gsttaginterface.h:
26097         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26098         (gst_task_init), (gst_task_dispose), (gst_task_create),
26099         (gst_task_get_state), (gst_task_start), (gst_task_stop),
26100         (gst_task_pause):
26101         * gst/gsttask.h:
26102         * gst/gstthread.c:
26103         * gst/gstthread.h:
26104         * gst/gsttypes.h:
26105         * gst/schedulers/Makefile.am:
26106         * gst/schedulers/cothreads_compat.h:
26107         * gst/schedulers/entryscheduler.c:
26108         * gst/schedulers/faircothreads.c:
26109         * gst/schedulers/faircothreads.h:
26110         * gst/schedulers/fairscheduler.c:
26111         * gst/schedulers/gstbasicscheduler.c:
26112         * gst/schedulers/gstoptimalscheduler.c:
26113         * gst/schedulers/gthread-cothreads.h:
26114         * gst/schedulers/threadscheduler.c:
26115         (gst_thread_scheduler_task_get_type),
26116         (gst_thread_scheduler_task_class_init),
26117         (gst_thread_scheduler_task_init),
26118         (gst_thread_scheduler_task_start),
26119         (gst_thread_scheduler_task_stop),
26120         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26121         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26122         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26123         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26124         (plugin_init):
26125         * libs/gst/Makefile.am:
26126         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26127         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26128         (gst_file_pad_parent_set):
26129         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26130         (gst_dp_event_from_packet):
26131         * tests/complexity.c: (main):
26132         * tests/mass_elements.c: (main):
26133         * testsuite/states/locked.c: (message_received), (main):
26134         * testsuite/states/parent.c: (main):
26135         * tools/gst-inspect.c: (print_element_flag_info),
26136         (print_implementation_info), (print_pad_info):
26137         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26138         (main):
26139         * tools/gst-md5sum.c: (event_loop), (main):
26140         * tools/gst-typefind.c: (main):
26141         * tools/gst-xmlinspect.c: (print_element_info):
26142         Next big merge.
26143         Added GstBus for mainloop integration.
26144         Added GstMessage for sending notifications on the bus.
26145         Added GstTask as an abstraction for pipeline entry points.
26146         Removed GstThread.
26147         Removed Schedulers.
26148         Simplified GstQueue for multithreaded core.
26149         Made _link threadsafe, removed old capsnego.
26150         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26151         Added pad blocking functions.
26152         Reworked scheduling functions in GstPad to prepare for
26153         scheduling updates soon.
26154         Moved events out of data stream.
26155         Simplified GstEvent types.
26156         Added return values to push/pull.
26157         Removed clocking from GstElement.
26158         Added prototypes for state change function for next merge.
26159         Removed iterate from bins and state change management.
26160         Fixed some elements, disabled others for now.
26161         Fixed -inspect and -launch.
26162         Added check for GstBus.
26163
26164 2005-03-10  Wim Taymans  <wim@fluendo.com>
26165
26166         * docs/design/part-MT-refcounting.txt:
26167         * docs/design/part-clocks.txt:
26168         * docs/design/part-gstelement.txt:
26169         * docs/design/part-gstobject.txt:
26170         * docs/design/part-standards.txt:
26171         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26172         (gst_bin_remove_func), (gst_bin_remove):
26173         * gst/gstbin.h:
26174         * gst/gstbuffer.c:
26175         * gst/gstcaps.h:
26176         * testsuite/clock/clock1.c: (main):
26177         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26178         (main):
26179         * testsuite/dlopen/loadgst.c: (do_test):
26180         * testsuite/refcounting/bin.c: (add_remove_test1),
26181         (add_remove_test2), (main):
26182         * testsuite/refcounting/element.c: (main):
26183         * testsuite/refcounting/element_pad.c: (main):
26184         * testsuite/refcounting/pad.c: (main):
26185         * tools/gst-launch.c: (sigint_handler_sighandler):
26186         * tools/gst-typefind.c: (main):
26187         Doc updates.
26188         Added doc about clock.
26189         removed gst_bin_iterate_recurse_up(), marked methods
26190         for removal.
26191         Fix more testsuites.
26192
26193 2005-03-09  Wim Taymans  <wim@fluendo.com>
26194
26195         * gst/gstpad.c: (gst_pad_get_direction),
26196         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26197         (gst_pad_collect_valist):
26198         * testsuite/bins/interface.c: (main):
26199         * testsuite/caps/audioscale.c: (test_caps):
26200         * testsuite/caps/caps.c: (test1), (test2), (test3):
26201         * testsuite/caps/deserialize.c: (main):
26202         * testsuite/caps/enumcaps.c: (main):
26203         * testsuite/caps/filtercaps.c: (main):
26204         * testsuite/caps/intersect2.c: (main):
26205         * testsuite/caps/random.c: (main):
26206         * testsuite/caps/renegotiate.c: (my_fixate), (main):
26207         * testsuite/caps/sets.c: (check_caps):
26208         * testsuite/caps/simplify.c: (check_caps), (main):
26209         * testsuite/caps/subtract.c: (check_caps):
26210         Fix _pad_get_direction wrt ghostpads.
26211         Fix caps testsuite.
26212
26213 2005-03-09  Wim Taymans  <wim@fluendo.com>
26214
26215         * check/Makefile.am:
26216         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26217         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26218         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26219         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26220         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26221         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26222         (gst_bin_remove), (gst_bin_iterate_recurse_up),
26223         (bin_element_is_sink), (gst_bin_iterate_sinks),
26224         (gst_bin_iterate_all_by_interface):
26225         * gst/gstbin.h:
26226         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26227         (gst_element_change_state), (gst_element_dispose),
26228         (gst_element_finalize), (gst_element_set_loop_function):
26229         * gst/gstelement.h:
26230         * gst/gstiterator.c: (find_custom_fold_func):
26231         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26232         (gst_pad_collectv), (gst_pad_collect_valist),
26233         (gst_pad_template_new):
26234         * gst/gstpipeline.c: (gst_pipeline_class_init),
26235         (gst_pipeline_dispose), (gst_pipeline_set_property),
26236         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26237         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26238         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26239         * gst/gstutils.h:
26240         * gst/schedulers/entryscheduler.c:
26241         * gst/schedulers/gstbasicscheduler.c:
26242         (gst_basic_scheduler_cothreaded_chain),
26243         (gst_basic_scheduler_chain_add_element):
26244         * testsuite/bins/interface.c: (main):
26245         Added GstBin test.
26246         Added GstSystemClock test.
26247         Implemented clock distribution code in GstBin.
26248         Implemented iterate sinks method for future use.
26249         Rearranged gstelement.h
26250         Fix GstIterator comparison bug.
26251         Moved some code to GstPipeline, mostly clocking related.
26252
26253 2005-03-09  Wim Taymans  <wim@fluendo.com>
26254
26255         * configure.ac:
26256         * gst/gst_private.h:
26257         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26258         (gst_bin_remove_func), (gst_bin_remove),
26259         (gst_bin_get_by_name_recurse_up):
26260         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26261         (gst_clock_id_compare_func), (gst_clock_id_wait),
26262         (gst_clock_id_wait_async), (gst_clock_init),
26263         (gst_clock_adjust_unlocked), (gst_clock_get_time):
26264         * gst/gstelement.h:
26265         * gst/gstinfo.c: (_gst_debug_init):
26266         * gst/gstobject.h:
26267         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26268         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26269         * gst/gstpad.h:
26270         Bump version number, we're now 0.9.0
26271         Add future debugging category.
26272         Fix NULL _unref() in _get_by_name_recurse_up
26273         Rearrange gstpad.h.
26274         Update some docs.
26275
26276 2005-03-08  Wim Taymans  <wim@fluendo.com>
26277
26278         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26279         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26280         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26281         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26282         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26283         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26284         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26285         * gst/elements/gstidentity.c: (gst_identity_class_init):
26286         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26287         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26288         * gst/elements/gstshaper.c: (gst_shaper_class_init):
26289         * gst/elements/gststatistics.c: (gst_statistics_class_init):
26290         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26291         (gst_tee_link):
26292         * gst/gstelement.c: (gst_element_class_init),
26293         (gst_element_base_class_init), (gst_element_init),
26294         (gst_element_get_random_pad), (gst_element_wait_state_change),
26295         (gst_element_change_state), (gst_element_dispose),
26296         (gst_element_finalize), (gst_element_set_loop_function):
26297         * gst/gstelement.h:
26298         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26299         * gst/gstthread.c: (gst_thread_class_init),
26300         (gst_thread_release_children_locks), (gst_thread_change_state):
26301         * gst/schedulers/gstbasicscheduler.c:
26302         (gst_basic_scheduler_loopfunc_wrapper),
26303         (gst_basic_scheduler_chain_wrapper),
26304         (gst_basic_scheduler_src_wrapper),
26305         (gst_basic_scheduler_remove_element):
26306         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26307         Remove threadsafe properties. Fix elements because GObject
26308         complains when installing a property before declaring a
26309         set/get_property handler.
26310         Rearrange gstelement.h file, use STATE macros for state locks.
26311         Free mutexes in the finalize method instead of dispose.
26312
26313 2005-03-08  Wim Taymans  <wim@fluendo.com>
26314
26315         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26316         * gst/gstthread.c: (gst_thread_release_children_locks):
26317         Added parentage check.
26318         Fix build og GstThread again.
26319
26320 2005-03-08  Wim Taymans  <wim@fluendo.com>
26321
26322         * docs/design/part-MT-refcounting.txt:
26323         * docs/design/part-conventions.txt:
26324         * docs/design/part-gstobject.txt:
26325         * docs/design/part-relations.txt:
26326         * docs/design/part-standards.txt:
26327         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26328         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26329         (gst_bin_get_by_name), (gst_bin_get_by_interface),
26330         (gst_bin_iterate_all_by_interface):
26331         * gst/gstbuffer.h:
26332         * gst/gstclock.h:
26333         * gst/gstelement.c: (gst_element_class_init),
26334         (gst_element_change_state), (gst_element_set_loop_function):
26335         * gst/gstelement.h:
26336         * gst/gstiterator.c:
26337         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26338         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26339         (gst_object_dispatch_properties_changed), (gst_object_set_name),
26340         (gst_object_set_parent), (gst_object_unparent),
26341         (gst_object_check_uniqueness):
26342         * gst/gstobject.h:
26343         Docs updates, clean up some headers.
26344
26345 2005-03-07  Wim Taymans  <wim@fluendo.com>
26346
26347         * check/.cvsignore:
26348         * check/Makefile.am:
26349         * check/gst-libs/.cvsignore:
26350         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26351         * check/gst/.cvsignore:
26352         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26353         (START_TEST), (gstbus_suite), (main):
26354         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26355         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26356         (gst_data_suite), (main):
26357         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26358         (add_fold_func), (gstiterator_suite), (main):
26359         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26360         (thread_name_object), (thread_name_object_default),
26361         (gst_object_name_compare), (gst_object_suite), (main):
26362         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26363         (gst_pad_suite), (main):
26364         * check/gstcheck.c: (gst_check_log_message_func),
26365         (gst_check_log_critical_func), (gst_check_init):
26366         * check/gstcheck.h:
26367         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26368         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26369         Added checks.
26370
26371 2005-03-07  Wim Taymans  <wim@fluendo.com>
26372
26373         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26374         (gst_list_iterator_next), (gst_list_iterator_resync),
26375         (gst_list_iterator_free), (gst_iterator_new_list),
26376         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26377         (gst_iterator_free), (gst_iterator_push), (filter_next),
26378         (filter_resync), (filter_uninit), (filter_free),
26379         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26380         (gst_iterator_foreach), (find_custom_fold_func),
26381         (gst_iterator_find_custom):
26382         * gst/gstiterator.h:
26383         Added missing files.
26384
26385 2005-03-07  Wim Taymans  <wim@fluendo.com>
26386
26387         * Makefile.am:
26388         * configure.ac:
26389         * docs/design/part-MT-refcounting.txt:
26390         * docs/design/part-conventions.txt:
26391         * docs/design/part-gstobject.txt:
26392         * docs/design/part-relations.txt:
26393         * examples/mixer/mixer.c: (main):
26394         * examples/thread/thread.c: (eos), (main):
26395         * gst/Makefile.am:
26396         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26397         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26398         (gst_spider_plug_from_srcpad):
26399         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26400         (gst_spider_identity_change_state),
26401         (gst_spider_identity_sink_loop_type_finding):
26402         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26403         * gst/elements/gstidentity.c: (gst_identity_init):
26404         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26405         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26406         * gst/elements/gsttypefindelement.c: (free_entry):
26407         * gst/gst.c:
26408         * gst/gst.h:
26409         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26410         (gst_bin_set_clock_func), (gst_bin_auto_clock),
26411         (gst_bin_set_index), (gst_bin_set_element_sched),
26412         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26413         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26414         (gst_bin_iterate_elements), (iterate_child_recurse),
26415         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26416         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26417         (compare_interface), (gst_bin_get_by_interface),
26418         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26419         * gst/gstbin.h:
26420         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26421         (gst_buffer_default_free), (gst_buffer_default_copy),
26422         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26423         (gst_buffer_create_sub):
26424         * gst/gstbuffer.h:
26425         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26426         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26427         (gst_caps_unref), (gst_static_caps_get),
26428         (gst_caps_remove_and_get_structure), (gst_caps_append),
26429         (gst_caps_append_structure), (gst_caps_remove_structure),
26430         (gst_caps_copy_nth), (gst_caps_set_simple),
26431         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26432         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26433         (gst_caps_structure_intersect_field), (gst_caps_intersect),
26434         (gst_caps_structure_subtract_field), (gst_caps_subtract),
26435         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26436         (gst_caps_structure_figure_out_union),
26437         (gst_caps_switch_structures), (gst_caps_do_simplify),
26438         (gst_caps_replace), (gst_caps_from_string),
26439         (gst_caps_copy_conditional):
26440         * gst/gstcaps.h:
26441         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26442         (_gst_clock_id_free), (gst_clock_id_unref),
26443         (gst_clock_id_compare_func), (gst_clock_id_wait),
26444         (gst_clock_id_wait_async), (gst_clock_class_init),
26445         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26446         (gst_clock_get_time), (gst_clock_set_time_adjust),
26447         (gst_clock_set_property), (gst_clock_get_property):
26448         * gst/gstclock.h:
26449         * gst/gstcompat.h:
26450         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26451         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26452         * gst/gstdata.h:
26453         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26454         (gst_element_requires_clock), (gst_element_provides_clock),
26455         (gst_element_set_clock), (gst_element_clock_wait),
26456         (gst_element_wait), (gst_element_set_time_delay),
26457         (gst_element_is_indexable), (gst_element_add_pad),
26458         (gst_element_add_ghost_pad), (gst_element_remove_pad),
26459         (pad_compare_name), (gst_element_get_static_pad),
26460         (gst_element_request_pad), (gst_element_get_request_pad),
26461         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26462         (gst_element_class_get_pad_template_list),
26463         (gst_element_class_get_pad_template), (gst_element_error_func),
26464         (gst_element_get_random_pad), (gst_element_get_event_masks),
26465         (gst_element_send_event), (gst_element_seek),
26466         (gst_element_get_query_types), (gst_element_query),
26467         (gst_element_get_formats), (gst_element_convert),
26468         (gst_element_is_locked_state), (gst_element_set_locked_state),
26469         (gst_element_sync_state_with_parent), (gst_element_change_state),
26470         (gst_element_finalize), (gst_element_yield),
26471         (gst_element_interrupt), (gst_element_set_scheduler),
26472         (gst_element_get_scheduler), (gst_element_set_loop_function):
26473         * gst/gstelement.h:
26474         * gst/gstevent.h:
26475         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26476         (gst_format_get_by_nick), (gst_format_get_details),
26477         (gst_format_iterate_definitions):
26478         * gst/gstformat.h:
26479         * gst/gstindex.c: (gst_index_gtype_resolver):
26480         * gst/gstinfo.c:
26481         * gst/gstinfo.h:
26482         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26483         (gst_mem_chunk_free):
26484         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26485         (gst_object_ref), (gst_object_unref), (gst_object_sink),
26486         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26487         (gst_object_dispatch_properties_changed),
26488         (gst_object_set_name_default), (gst_object_set_name),
26489         (gst_object_get_name), (gst_object_set_name_prefix),
26490         (gst_object_get_name_prefix), (gst_object_set_parent),
26491         (gst_object_get_parent), (gst_object_unparent),
26492         (gst_object_check_uniqueness), (gst_object_save_thyself),
26493         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26494         (gst_object_set_property), (gst_object_get_property),
26495         (gst_object_get_path_string):
26496         * gst/gstobject.h:
26497         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26498         (gst_real_pad_init), (gst_real_pad_get_property),
26499         (gst_pad_custom_new), (gst_pad_get_direction),
26500         (gst_pad_set_active), (gst_pad_is_active),
26501         (gst_pad_set_event_function), (gst_pad_is_linked),
26502         (gst_pad_link_free), (gst_pad_link_intersect),
26503         (gst_pad_link_fixate), (gst_pad_set_caps),
26504         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26505         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26506         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26507         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26508         (gst_pad_get_caps), (gst_pad_peer_get_caps),
26509         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26510         (gst_pad_realize), (gst_pad_get_allowed_caps),
26511         (gst_real_pad_dispose), (gst_real_pad_finalize),
26512         (gst_pad_collectv), (gst_pad_collect_valist),
26513         (gst_pad_template_dispose), (gst_pad_template_new),
26514         (gst_pad_get_internal_links):
26515         * gst/gstpad.h:
26516         * gst/gstpipeline.c: (gst_pipeline_dispose),
26517         (gst_pipeline_change_state):
26518         * gst/gstpipeline.h:
26519         * gst/gstplugin.c:
26520         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26521         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26522         * gst/gstpluginfeature.h:
26523         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26524         * gst/gstquery.c: (_gst_query_type_initialize),
26525         (gst_query_type_register), (gst_query_type_get_by_nick),
26526         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26527         * gst/gstquery.h:
26528         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26529         * gst/gstscheduler.c: (gst_scheduler_add_element),
26530         (gst_scheduler_factory_create):
26531         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26532         (gst_structure_free), (gst_structure_set_name),
26533         (gst_structure_id_set_value), (gst_structure_set_value),
26534         (gst_structure_set_valist), (gst_structure_remove_field),
26535         (gst_structure_remove_fields),
26536         (gst_structure_remove_fields_valist),
26537         (gst_structure_remove_all_fields), (gst_structure_foreach),
26538         (gst_structure_map_in_place),
26539         (gst_caps_structure_fixate_field_nearest_int),
26540         (gst_caps_structure_fixate_field_nearest_double):
26541         * gst/gststructure.h:
26542         * gst/gstsystemclock.c: (gst_system_clock_class_init),
26543         (gst_system_clock_init), (gst_system_clock_dispose),
26544         (gst_system_clock_async_thread),
26545         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26546         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26547         * gst/gstsystemclock.h:
26548         * gst/gsttag.c: (gst_tag_list_add_value_internal),
26549         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26550         * gst/gsttaginterface.c:
26551         * gst/gstthread.c: (gst_thread_dispose),
26552         (gst_thread_release_children_locks), (gst_thread_change_state),
26553         (gst_thread_main_loop):
26554         * gst/gsttrashstack.h:
26555         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26556         * gst/gsttypes.h:
26557         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26558         (gst_element_request_pad), (gst_element_get_pad_from_template),
26559         (gst_element_request_compatible_pad),
26560         (gst_element_get_compatible_pad_filtered),
26561         (gst_element_get_compatible_pad), (gst_element_state_get_name),
26562         (gst_element_link_pads_filtered), (gst_element_link_filtered),
26563         (gst_element_link_many), (gst_element_link),
26564         (gst_element_link_pads), (gst_element_unlink_pads),
26565         (gst_element_unlink_many), (gst_element_unlink),
26566         (gst_pad_can_link_filtered), (gst_pad_can_link),
26567         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26568         (gst_object_default_error), (gst_bin_add_many),
26569         (gst_bin_remove_many), (gst_element_populate_std_props),
26570         (gst_element_class_install_std_props), (gst_buffer_merge),
26571         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26572         (link_fold_func), (gst_pad_proxy_setcaps):
26573         * gst/gstutils.h:
26574         * gst/gstvalue.c: (gst_value_deserialize_string):
26575         * gst/parse/grammar.y:
26576         * gst/schedulers/gstbasicscheduler.c:
26577         (gst_basic_scheduler_cothreaded_chain),
26578         (gst_basic_scheduler_chain_recursive_add),
26579         (gst_basic_scheduler_pad_link):
26580         * gst/schedulers/gstoptimalscheduler.c:
26581         (get_group_schedule_function),
26582         (gst_opt_scheduler_state_transition),
26583         (gst_opt_scheduler_add_element), (element_get_reachables_func):
26584         * libs/gst/bytestream/bytestream.c:
26585         * libs/gst/dataprotocol/dataprotocol.c:
26586         (gst_dp_header_from_buffer):
26587         * po/nb.po:
26588         * po/ru.po:
26589         * tests/threadstate/threadstate2.c: (eos):
26590         * tools/gst-compprep.c: (main):
26591         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26592         (print_pad_info), (print_children_info):
26593         * tools/gst-launch.c: (idle_func), (main):
26594         * tools/gst-md5sum.c: (idle_func), (main):
26595         * tools/gst-xmlinspect.c: (print_element_info):
26596         First THREADED backport attempt, focusing on adding locks and
26597         making sure the API is threadsafe. Needs more work. More docs
26598         follow this week.
26599
26600 2005-02-24  Andy Wingo  <wingo@pobox.com>
26601
26602         * tests/bench-complexity.scm:
26603         * tests/complexity.gnuplot: New files, good for running complexity
26604         benchmarks.
26605
26606         * tests/Makefile.am:
26607         * tests/complexity.c: New test, sets up N elements, at each level
26608         teeing into M streams per element. Eeeenteresting.
26609
26610         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26611         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26612         running bench-mass_elements.scm.
26613
26614         * tests/bench-mass_elements.scm: New script, runs mass_elements
26615         for various numbers of identities, outputting the results to a
26616         file. Requires guile 1.6. Just for testing.
26617
26618 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26619
26620         * gst/schedulers/fairscheduler.c:
26621           compile with debug disabled
26622
26623 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26624
26625         * configure.ac:
26626           hunting season on 0.9 is now OPEN