libs/gst/base/: Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming...
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
2
3         * libs/gst/base/gstbasesink.c:
4         * libs/gst/base/gstbasesrc.c:
5         * libs/gst/base/gstbasetransform.c:
6           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
7           thread. Correct log message in gstbasesrc.c.
8
9 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
10
11         * gst/gstutils.c: (element_find_unconnected_pad):
12           Fix possible compiler warning (#503417).
13
14 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
15
16         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
17           Don't use GST_CAT_EVENT here for logging, it makes no sense.
18
19 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
20
21         * tools/gst-inspect.c: (print_element_properties_info):
22           Add support for GstFraction properties.
23
24 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
25
26         * Makefile.am:
27           Add check-exports target and run it as part of 'make check'
28           (see #499140 and #493983).
29
30         * gst/gst_private.h:
31         * gst/gstelementfactory.h:
32         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
33         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
34           (_priv_gst_in_valgrind):
35         * gst/gstinfo.h: (GstLogFunction):
36         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
37           (gst_type_find_register):
38         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
39           (gst_type_find_factory_get_type):
40         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
41           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
42           (gst_controller_new_valist), (gst_controller_new_list),
43           (_gst_controller_dispose), (_gst_controller_class_init):
44         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
45         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
46           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
47           (gst_object_get_controller), (gst_object_set_controller),
48           (gst_object_suggest_next_sync), (gst_object_sync_values),
49           (gst_object_set_control_source), (gst_object_get_control_source),
50           (gst_object_get_value_arrays), (gst_object_get_value_array),
51           (gst_object_get_control_rate), (gst_object_set_control_rate):
52         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
53         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
54           Make some functions that should be static static; rename some
55           private symbols so that they don't get exported; add some FIXME
56           comments so we can move accidentally exported functions into
57           our private section in 0.11.
58
59         * win32/common/libgstreamer.def:
60           Add gst_utils_get_timestamp().
61
62 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
63
64         * gst/gstvalue.c:
65         * gst/gstvalue.h:
66           Add more missing "Since:" tags to docs.
67
68 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
69
70         * gst/gstutils.c:
71           Add mising "Since:" to docs.
72
73 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
74
75         * gst/gstplugin.c:
76           Include "glib-compat-private.h" to fix the build on system with
77           glib < 2.10. Fixes #503131.
78
79 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
80
81         * gst/gstutils.c:
82         * gst/gstutils.h:
83           Actually its not PURE as it gets the time from elsewhere.
84
85 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
86
87         * docs/gst/gstreamer-sections.txt:
88         * gst/gstclock.h:
89         * gst/gstdebugutils.c:
90         * gst/gstinfo.c:
91         * gst/gstutils.c:
92         * gst/gstutils.h:
93         * libs/gst/base/gstbasesink.c:
94         * tools/gst-launch.c:
95           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
96           uses as we don't have HAVE_POSIX_TIMERS in public headers.
97           Thanks Tim for spotting.
98
99 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
100
101         * configure.ac:
102           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
103
104 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
105
106         * gst/gststructure.c: (gst_structure_validate_name),
107           (gst_structure_new_valist), (gst_structure_parse_value),
108           (gst_structure_from_string):
109           Don't crash in _from_string() if the structure name is not valid
110           (fixes #501560).  Allow structure names to start with a number
111           again (this apparently broke the ubuntu codec installer).
112
113         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
114           (GST_START_TEST):
115           Add unit test for the crash; update unit tests for new behaviour.
116
117 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
118
119         * gst/gstutils.c:
120         Clarify gst_element_get_compatible_pad() documentation.
121         Fixes #500919.
122
123 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
124
125         * tests/check/Makefile.am:
126           Don't forget to dist {gst,libs}/struct_hppa.h.
127
128 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
129
130         * libs/gst/base/gstbasesink.c:
131           Use new API to get elapsed time.
132
133 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
134
135         * gst/gstdebugutils.c:
136         * gst/gstinfo.c:
137           Fix wrong order of args in GST_CLOCK_DIFF() usage.
138
139         * tools/gst-launch.c:
140           Use new API to get elapsed time.
141
142 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
143
144         * docs/gst/gstreamer-sections.txt:
145         * gst/gstclock.h:
146         * gst/gstdebugutils.c:
147         * gst/gstinfo.c:
148           Rename new API + ChangeLog surgery to remove old name from last entry..
149           API: GST_GET_TIMESTAMP
150
151 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
152
153         * docs/gst/gstreamer-sections.txt:
154         * gst/gstclock.h:
155         * gst/gstdebugutils.c:
156         * gst/gstinfo.c:
157           Now hide the different clock stuff behind a macro.
158
159 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
160
161         * configure.ac:
162         * gst/gstdebugutils.c:
163         * gst/gstinfo.c:
164           Apply the posix-timer check from #361155. Conditionally use the posix
165           timer for logging. This gives better timestamp precission, less
166           overhead and no ntp jitter.
167
168 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
169
170         * gst/gstminiobject.c: (gst_mini_object_get_type),
171         (gst_mini_object_class_init), (gst_mini_object_copy_default),
172         (gst_mini_object_finalize), (gst_mini_object_copy),
173         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
174         (gst_mini_object_replace), (param_mini_object_validate),
175         (gst_param_spec_mini_object_get_type):
176         Some cleanup and checking against invalid function parameters.
177
178 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
179
180         * docs/gst/gstreamer-sections.txt:
181         * gst/gstclock.h:
182         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
183         (gst_systemclock_suite):
184         Start merging in the easy bits of #361155, the monotonic clock patch.
185         This one adds a few handy macros with docs and a testsuite.
186
187 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
188
189         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
190         Be a bit smarter when seeking, like, don't try to do a seek when it's
191         not needed. This avoids errors when the file is not seekable.
192         Fixes #499771.
193
194 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
195
196         * docs/gst/gstreamer-docs.sgml:
197         * docs/gst/gstreamer-sections.txt:
198         * docs/gst/gstreamer.types.in:
199         * gst/Makefile.am:
200         * gst/gst.h:
201         * gst/gstpreset.c:
202         * gst/gstpreset.h:
203         * plugins/elements/gstqueue.c:
204           Due to popular request remove preset interface again. :-(.
205
206 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
207
208         * tools/gst-inspect.c:
209           Print 'default value' for enums and flags too.
210
211 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
212
213         * docs/random/ensonic/profiling.txt:
214           More ideas.
215
216         * gst/gstbin.c:
217           Fix typo and give better log output.
218
219         * gst/gstdebugutils.c:
220         * gst/gstdebugutils.h:
221           More ideas, make graphs a bit smaller and fix param name in macro.
222
223 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
224
225         * gst/gstpreset.c:
226           Try harder to use the return value from fgets().
227
228 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
229
230         * gst/gstpreset.c:
231           For theses two fgets we handle the error below.
232
233 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
234
235         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
236         Only send upstream events upstream. Fixes #498746.
237
238 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
239
240         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
241
242         * plugins/elements/gstidentity.c: (gst_identity_class_init),
243         (gst_identity_init), (gst_identity_transform_ip),
244         (gst_identity_set_property), (gst_identity_get_property):
245         * plugins/elements/gstidentity.h:
246         Add property to disable handoff signal emission. Fixes #498694.
247         API: GstIdentity::signal-handoffs
248
249 2007-11-21  Julien Moutte  <julien@fluendo.com>
250
251         * docs/faq/gst-uninstalled: Yet another missing library for the
252         uninstalled script (fft)
253
254 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
255
256         * docs/faq/developing.xml:
257         Add a question about how to submit new translations.
258
259         * docs/random/release:
260         Update the contact email address for the Translation Project
261
262         * plugins/elements/gstfdsrc.c:
263         The parent_class for fdsrc is pushsrc, not GstElement.
264
265 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
266
267         * gst/gstpreset.c:
268           Plug a leak and fix saving.
269
270 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
271
272         * docs/gst/gstreamer-sections.txt:
273         Add new gst_preset__get_property_names() function to the docs
274         to fix the build.
275
276 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
277
278         * gst/gstpreset.c:
279         * gst/gstpreset.h:
280           Change _get_preset_names API to return a strv with copies. Add
281           _get_property_names to allow implementations to filter and provide
282           good default implementation.
283
284 2007-11-20  Julien MOUTTE  <julien@moutte.net>
285
286         * docs/faq/gst-uninstalled: Add another library to the uninstalled
287         script (sdp).
288
289 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
290
291         * gst/gstpreset.c:
292           More cleanups, docs, and TODOs from comments that now slowly come in.
293
294 2007-11-19  Julien MOUTTE  <julien@moutte.net>
295
296         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
297         search path.
298
299 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
300
301         * gst/gstpreset.c:
302           Fix bogus warning and make the property type specific code more
303           similar.
304
305 2007-11-19  Julien MOUTTE  <julien@moutte.net>
306
307         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
308         it build on OS X.
309
310 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
311
312         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
313         (gst_bin_add_func), (gst_bin_remove_func),
314         (gst_bin_change_state_func), (gst_bin_continue_func):
315         Change email, cleanups add some more debug and comments.
316         Also set bus and clock on new elements when the pipeline was in error.
317
318 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
319
320         * gst/gstbin.c:
321         * gst/gstdebugutils.c:
322           Fix build with --disable-gst-debug. Fixes #497859.
323           Spotted by Sameer Naik.
324
325 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
326
327         * gst/gstevent.c:
328           Little documentation improvment.
329
330         * gst/gstpreset.c:
331           More TODO cleanups. Remove c++ comments.
332
333         * libs/gst/controller/gstcontroller.c:
334           Add TODO and use quark from static string.
335
336         * tests/check/gst/gstmessage.c:
337         * tests/check/gst/gststructure.c:
338           Use quark from static string.
339
340 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
341
342         * gst/gstpreset.c:
343           Add some comments and TODOs.
344
345         * gst/gstpreset.h:
346           Add padding for future changes.
347
348         * plugins/elements/gstqueue.c:
349           Implement the iface.    
350
351 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
352
353         * docs/gst/gstreamer-docs.sgml:
354         * docs/gst/gstreamer-sections.txt:
355         * docs/gst/gstreamer.types.in:
356         * gst/Makefile.am:
357         * gst/gst.h:
358         * gst/gstpreset.c:
359         * gst/gstpreset.h:
360           Add the preset interface (Fixes #396779). Do some doc cleanups along.
361
362 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
363
364         * configure.ac:
365
366         Back to CVS
367
368 === release 0.10.15 ===
369
370 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
371
372         * configure.ac:
373           releasing 0.10.15, "October"
374
375 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
376
377         * win32/vs6/libgstreamer.dsp:
378         Convert line endings back to DOS.
379
380 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
381
382         * docs/design/draft-tagreading.txt:
383         * docs/random/ensonic/profiling.txt:
384         Update fast tagreading draft and performance profiling ideas.
385
386 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
387
388         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
389         Don't hold the object lock when unreffing a buffer because it could
390         cause a deadlock when the finalize function wants to grab the object
391         lock too. Fixes #495133.
392
393 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
394
395         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
396         (gst_segment_to_stream_time), (gst_segment_to_running_time):
397         Also accumulate time correctly when doing reverse playback. Fixes
398         #488201,
399         When converting to running and stream time, use default values for
400         start/stop/time/accum when comparing different formats. Fixes #494245.
401
402         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
403         Do running/stream time in TIME format.
404
405         * tests/check/gst/gstsegment.c: (GST_START_TEST),
406         (gst_segment_suite):
407         2 new unit tests for segment accumulation.
408
409 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
410
411         * gst/gst.c: (init_pre):
412         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
413           (_gst_debug_bin_to_dot_file):
414           Move getenv() back into gst_init, so everyone can live happily
415           ever after. Make sure the symbol isn't exported though.
416
417 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
418
419         Patch by: Sebastien Moutte  <sebastien moutte net>
420
421         * win32/common/gstenumtypes.c:
422         * win32/common/gstenumtypes.h:
423           Update enum types.
424
425         * win32/vs6/libgstreamer.dsp:
426           Update vs6 project files (#494343).
427
428 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
429
430         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
431         (gst_base_src_perform_seek), (gst_base_src_default_event),
432         (gst_base_src_set_flushing), (gst_base_src_activate_push),
433         (gst_base_src_activate_pull):
434         Unify flushing code, remove some old unlock code that is no longer used.
435         Take the streaming lock when seeking to avoid races. Fixes #492729.
436         Added some more comments.
437
438 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
439
440         * gst/gst.c: (_gst_disable_segtrap):
441           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
442           we can use gst_segtrap_is_enabled() there now that we have that API.
443           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
444           to do the getenv here (and export the variable).
445
446         * gst/gstdebugutils.c: (debug_dump_element),
447           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
448           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
449
450         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
451           (gst_debug_log_default):
452           Rename _gst_info_start_time to priv_gst_info_start_time so it
453           doesn't get exported (was never in any header).
454
455         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
456           (gst_plugin_loading_mutex):
457           Make static mutex gst_plugin_loading_mutex really static (was never
458           in any header), and use gst_segtrap_is_enabled() instead of
459           _gst_disable_segtrap.
460
461         * gst/gsttrace.c: (_gst_trace_default):
462           Make local _gst_trace_default static (was never in any header).
463
464 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
465
466         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
467
468         * win32/common/libgstbase.def:
469         * win32/common/libgstcontroller.def:
470         * win32/common/libgstdataprotocol.def:
471         * win32/common/libgstnet.def:
472         * win32/common/libgstreamer.def:
473           Add more missing symbols, remove some duplicates, and sort
474           as the 'sort' command sorts it (partially fixes #493983).
475
476 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
477
478         * gst/gstelement.c: (gst_element_set_state_func):
479         Only change the state cookie if a different state was set on the
480         element. See #492729.
481
482 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
483
484         * gst/gstvalue.c:
485           Remove unused and uninitialised type variables that were still
486           exported for some reason (they were never in any header files
487           though).
488
489 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
490
491         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
492         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
493         (gst_base_sink_event), (gst_base_sink_get_position_last),
494         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
495         (gst_base_sink_change_state):
496         Don't try to report a 0 position when we don't know, return -1 and FALSE
497         instead. This mostly happens when we are prerolling.
498         Make sure we can report the right position before we post the ASYNC_DONE
499         message so that a message handler can query position without races.
500
501         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
502         (async_done_handoff), (async_done_func), (send_buffer),
503         (async_done_eos_func), (gst_sinks_suite):
504         Add two tests for the above.
505
506 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
507
508         * MAINTAINERS:
509         Update with new email address.
510
511         * docs/design/part-TODO.txt:
512         Add some more info about future pad-block and negotiation changes.
513
514         * docs/design/part-buffering.txt:
515         Add some ideas about buffering reporting.
516
517 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
518
519         * tests/check/gst/gstobject.c:
520         Disable silly racy test that always fails on this combination of CPU
521         and kernel.
522
523 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
524
525         Patch by: Murray Cumming  <murrayc@murrayc.com>
526
527         * gst/gstobject.c:
528           Corrected the registration of the parent-set and parent-unset
529           signals: The parameter is a GstObject, not a GObject (#493134).
530
531 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
532
533         * gst/gst_private.h:
534         * gst/gstbuffer.h:
535         * gst/gstevent.h:
536         * gst/gstformat.h:
537         * gst/gstmessage.h:
538         * gst/gstplugin.h:
539         * gst/gstquery.h:
540         * gst/gsttaglist.h:
541         * gst/gstvalue.h:
542           Move declaration of private _gst_foo_initialize() functions into
543           our private header file where they should have been all along.
544
545 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
546
547         * docs/plugins/gstreamer-plugins-sections.txt:
548         * gst/gstdebugutils.h:
549         * gst/gstxml.h:
550         * plugins/elements/gstqueue.c:
551           gtk-doc fixes; trailing-comma-in-enum fix.
552
553 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
554
555         * gst/gst.c: (gst_deinit):
556           Clean up on deinit (not the external ones though, doesn't seem to be
557           needed for some reason).
558
559 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
560
561         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
562           Remove __declspec(dllimport) for MSVC that was copied over into core
563           from a plugin, obviously without ever having been tested (note the
564           single underscore in _declspec in the initial commit), and that doesn't
565           really make sense.  See #492077.
566
567 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
568
569         * gst/gst.c: (init_post):
570         * gst/gstevent.c: (_gst_event_initialize):
571         * gst/gstquery.c: (_gst_query_initialize):
572         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
573           g_type_class_ref() other types as well, see #349410 and #64764.
574
575         * gst/gstbuffer.c: (_gst_buffer_initialize):
576         * gst/gstmessage.c: (_gst_message_initialize):
577           Simplify existing g_type_class_ref().
578
579 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
580
581         * gst/gstformat.c: (_gst_format_initialize):
582           g_type_class_ref() our GstFormat type to make sure we avoid the
583           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
584           bug #64764. Should fix intermittent tee unit test failures (#474823).
585
586 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
587
588         * tests/check/elements/tee.c: (test_num_buffers):
589           Simplify, simplify, simplify - or not.  Rewrite unit test
590           not to use gst_parse_launch(); allow N sub-streams. Increasing
591           the number of sub-streams seems to reproduce #474823 more easily.
592
593 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
594
595         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
596
597         * gst/gsttrace.c:
598         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
599         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
600         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
601           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
602           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
603           so use _pipe() directly (#492077).
604
605         * win32/common/dirent.c: (_treaddir):
606           Add a couple of casts to make it build without warnings with MSVC.
607
608         * win32/common/libgstreamer.def:
609           Add some more symbols that need to be exported.
610
611 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
612
613         * tests/examples/metadata/read-metadata.c: (message_loop):
614           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
615           arriving in a second or third tag message are added to
616           the tag list as well.
617
618 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
619
620         * libs/gst/base/gstbasesrc.c:
621           Its "Since:" and not "@Since:". And remove an superflous cast.
622
623 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
624
625         * docs/libs/gstreamer-libs-sections.txt:
626         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
627         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
628         (gst_base_sink_get_property), (gst_base_sink_render_object),
629         (gst_base_sink_preroll_object),
630         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
631         (gst_base_sink_change_state):
632         * libs/gst/base/gstbasesink.h:
633         Add a new last-buffer property that contains the last buffer used in
634         basesink for preroll or rendering. useful for making snapshots.
635         API: gst_base_sink_get_last_buffer()
636         API: GstBaseSink::last-buffer
637
638 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
639
640         * docs/gst/running.xml:
641         * gst/gst.c:
642         * gst/gstdebugutils.c:
643         * gst/gstdebugutils.h:
644         * tools/gst-launch.c:
645           Improve bin graph dumping, by using the envvar to specify a path.
646           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
647
648 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
649
650         * plugins/elements/gsttypefindelement.c:
651           (gst_type_find_element_handle_event),
652           (gst_type_find_element_activate):
653           Post special error message if we can't determine the type of a stream
654           because it's empty.
655
656 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
657
658         * docs/gst/running.xml:
659         * gst/gstdebugutils.c:
660           Document new env-var. Add one log-line after dumpng a graph.
661
662 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
663
664         * configure.ac:
665           Ugly hack to put the (recently removed and non-portable, apparently)
666           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
667           GNU ld, because without that 'make check' fails miserably on my debian
668           stable box.  Someone with more knowledge of linker intricacies and
669           portability issues than me fix this properly please.
670
671 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
672
673         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
674         Reset last seen position after flushing so that we don't report the old
675         position anymore.
676
677 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
678
679         * gst/gstelementfactory.c: (gst_element_register):
680         * gst/gsturi.h:
681         Patch from Alessandro Decina adding get_type_full and
682         get_protocols_full private vfuncs to the URIHandler interface
683         to allow bindings to support creating URI handlers. 
684         Partially fixes: #339279
685         API: GstURIHandlerInterface::get_type_full
686         API: GstURIHandlerInterface::get_protocols_full
687
688 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
689
690         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
691         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
692         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
693         Make it so that pads are considered linked until a buffer is pushed
694         and discovered otherwise. This avoids problems with decodebin2 hanging
695         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
696         case.
697
698         Make sure we lock the multiqueue when updating the max-size properties.
699         
700         Fix a crash on Solaris in a debug statement in get_request_pad that
701         passes a NULL string to GST_DEBUG. 
702
703         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
704         (run_output_order_test):
705         Fix the test to allow the first buffer on not-linked pads to come out
706         of sequence while multiqueue discovers that they are not-linked.
707
708 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
709
710         * configure.ac:
711         * libs/gst/check/Makefile.am:
712         Use a custom export symbol regex for libgstcheck, as it needs
713         to export symbols that don't match the standard GStreamer gst_*
714         pattern, and  --export-dynamic is not portable (only works on 
715         GNU ld)
716
717         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
718         (gst_check_setup_sink_pad):
719         Make sure to pass a message parameter to the fail_* macros.
720
721         * tests/check/gst/gstinfo.c: (GST_START_TEST):
722         Fix some compiler warnings.
723
724 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
725
726         * tests/check/gst/gststructure.c: (test_to_string):
727           Disable test that checks that white spaces are not allowed
728           in structure names or field names, since we need to
729           support that for now for backwards compatibility reasons.
730
731 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
732
733         * docs/gst/gstreamer-sections.txt:
734         * gst/gsttaglist.c:
735         * gst/gsttaglist.h:
736           API: add GST_TAG_ARTIST_SORTNAME
737           API: add GST_TAG_ALBUM_SORTNAME
738           API: add GST_TAG_TITLE_SORTNAME
739           Add tag variants for sorting (#414539).
740
741 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
742
743         * gst/gststructure.c:
744           Also allow white space for names so we don't break
745           backwards compatibility.
746
747 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
748
749         * docs/design/part-TODO.txt:
750         * docs/design/part-segments.txt:
751         * docs/design/part-streams.txt:
752         Small updates.
753
754 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
755
756         * docs/gst/gstreamer-sections.txt:
757          Fixed documentation from my previous commit (added new API add
758          gst_value_set_structure(), add gst_value_get_structure() and
759          GST_VALUE_HOLDS_STRUCTURE).
760
761 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
762
763         * gst/gstdebugutils.c:
764           Reflow code to fix uninitialized variable warning.
765
766 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
767
768         * gst/gstcaps.c: (gst_caps_to_string),
769         (gst_caps_from_string_inplace):
770         * gst/gststructure.c: (gst_structure_get_abbrs),
771         (gst_structure_to_string), (gst_structure_from_string):
772         * gst/gstvalue.c: (gst_value_set_structure),
773         (gst_value_get_structure), (gst_value_serialize_structure),
774         (gst_value_deserialize_structure), (_gst_value_initialize):
775         * gst/gstvalue.h:
776         * tests/check/gst/gststructure.c: (GST_START_TEST),
777         (gst_structure_suite):
778         * tests/check/gst/gstvalue.c: (GST_START_TEST):
779          Added GstStructure to gst_value_table and its related functions.
780          Changed gst_structure_to_string to print ';' in the end.
781          Changed gst_caps_to_string to not print ';' beteween its
782          fields (structures) anymore and remove the lastes ';' from latest
783          structure. Now it is possible to have nested structures.
784          In addition, backward compatibilty is assured by accepting '\0' as
785          end delimiter. Fixes: #487969.
786          API: add gst_value_set_structure()
787          API: add gst_value_get_structure()
788          API: add GST_VALUE_HOLDS_STRUCTURE
789
790 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
791
792         * gst/gstbus.c:
793           When no GSource callback has been set up, tell developer
794           to use a function that actually exists.
795
796 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
797
798         * docs/gst/gstreamer-sections.txt:
799         * gst/Makefile.am:
800         * gst/gst.c:
801         * gst/gst.h:
802         * gst/gstdebugutils.c:
803         * gst/gstdebugutils.h:
804         * gst/gstinfo.c:
805         * gst/gstinfo.h:
806         * tools/gst-launch.c:
807           Allow dumping pipelines as dot graphs. Fixes #456573.
808
809 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
810
811         * gst/gststructure.c:
812           Allow '+' as well, it can be part of media or mime types
813           such as image/svg+xml.
814
815 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
816
817         * docs/gst/gstreamer-sections.txt:
818         * gst/gstbus.c:
819         * gst/gstbus.h:
820           API: add gst_bus_pop_filtered
821           API: add gst_bus_timed_pop_filtered
822           Two new functions for waiting for specific message types on the
823           bus for a specified amount of time without iterating any main
824           loops or main contexts.
825
826         * tests/check/gst/gstbus.c:
827           Some tests for the new functions.
828
829 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
830
831         * docs/libs/gstreamer-libs-sections.txt:
832           Make gtk-doc ignore stuff it should ignore.
833
834 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
835
836         * libs/gst/check/gstcheck.c:
837         * libs/gst/check/gstcheck.h:
838           Allow runtime selection of unit tests to run via the GST_CHECKS
839           environment variable (test case function names, comma-separated).
840
841 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
842
843         * gst/gststructure.c:
844         * tests/check/gst/gststructure.c:
845           Revert serialisation change and constrain structure-names after
846           consensus on irc. Update api documentation to reflect the change.
847
848 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
849
850         * gst/gststructure.c:
851           Improve serialization and fix tests.
852
853         * tests/check/gst/gststructure.c:
854           Add another test that covers why I actually did the previous structure
855           change.
856
857 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
858
859         * tools/gst-inspect.c: (print_element_info):
860         Don't crash when inspecting an element.
861
862 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
863
864         * tests/check/gst/gststructure.c:
865           Add unit test for escaping of structure name when serialising
866           and deserialising to/from strings.
867
868 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
869
870         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
871         (gst_single_queue_new):
872         * plugins/elements/gstqueue.c: (gst_queue_init),
873         (gst_queue_push_one):
874         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
875         upstream is tricked into thinking it can suggest a format downstream
876         while downstream does not support that format. The real problem is that
877         core calls acceptcaps when pushing a buffer with new caps, for which we
878         do a little workaround by setting the caps on the srcpad ourselves
879         before pushing the buffer (until this is figured out). Fixes #486758.
880
881 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
882
883         * gst/gststructure.c:
884         * gst/gstvalue.c:
885           Add some more comments and debug output. Quote structure name to fix
886           deserialisation of some strings.
887
888 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
889
890         * gst/gstbuffer.h:
891           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
892           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
893
894 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
895
896         * tools/gst-inspect.c:
897           Save approx. 400 1 byte allocs when printing. Use API to acces element
898           details.
899
900         * tools/gst-run.c:
901           Avoid a strdup.
902
903         * tools/gst-xmlinspect.c:
904           Use API to acces element details.
905
906 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
907
908         * gst/gstinfo.c:
909           Fix some spelling errors.
910
911 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
912
913         * gst/gstbin.c: (bin_handle_async_done):
914         Correctly set the next state if all of our async children commited their
915         state. This makes sure we can actually cancel the state change in
916         progress. Fixes a regression in Rhythmbox when seeking.
917
918 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
919
920         * gst/gstbin.c:
921           Don't shadow local variable.
922
923         * gst/gstinfo.c:
924           Don't shadow global function name.
925
926 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
927
928         * gst/gstelementfactory.c:
929         * gst/gstpluginfeature.c:
930         * gst/gstpluginfeature.h:
931         * gst/gstregistrybinary.c:
932         * gst/gstregistryxml.c:
933         * gst/gsttypefind.c:
934           Use already-interned string for the private GstPluginFeature
935           plugin_name field.
936
937 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
938
939         * docs/libs/gstreamer-libs-sections.txt:
940           Add new API to docs; fixes the build.
941
942 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
943         
944         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
945
946         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
947         (gst_base_sink_event):
948         * libs/gst/base/gstbasesink.h:
949         Add function to wait for EOS, subclasses can use this to correctly wait
950         for devices to drain before performing the EOS logic. Fixes #485343.
951         API: gst_base_sink_wait_eos()
952
953 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
954
955         * gst/gstplugin.h:
956           Cast description string constants in GST_PLUGIN_DEFINE macros
957           to a (gchar*) to make C++ code using these macros compile
958           without warning with g++-4.2 (see #462737).  Even if slightly
959           ugly, this seems preferable to putting the description strings
960           into the GLib quark table or making the structure member a
961           const gchar * and doing casts in core code that allocs and
962           frees these strings, or requiring a cast in the C++ code.
963
964 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
965
966         * gst/gstinfo.h:
967           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
968           to print the entire class/function signature into the log
969           file for C++ code.  This only affects C++ code, for C code
970           everything remains the same.
971
972 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
973
974         * gst/gstbin.c: (remove_from_queue):
975         Work around a problem with pipelines containing (semi)loops until a
976         proper, more complicated solution is ready. See #475455.
977
978 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
979
980         * gst/gstplugin.c:
981         * gst/gstplugin.h:
982         * gst/gstregistrybinary.c:
983         * gst/gstregistryxml.c:
984           Put more strings into the GLib quark table. No need to keep
985           a hundred-something copies of identical version strings,
986           license strings, package name strings and package origin
987           strings around. 
988
989 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
990
991         * docs/manual/advanced-dataaccess.xml:
992           Don't imply that it's okay to unconditionally change
993           buffer data or buffer metadata in a pad probe callback,
994           and a bunch of other comments. Fixes #430031.
995
996 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
997
998         * win32/common/gstenumtypes.c:
999         * win32/common/gstenumtypes.h:
1000         * win32/common/gstversion.h:
1001           Update generated files.
1002
1003 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1004
1005         * docs/manual/advanced-autoplugging.xml:
1006           Prefix section with broken code with a warning (see #342432).
1007
1008 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1009
1010         * docs/manual/appendix-integration.xml:
1011         * docs/manual/basics-init.xml:
1012           Call g_thread_init() before g_option_context_new() to
1013           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
1014
1015 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1016
1017         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1018         (gst_base_sink_queue_object_unlocked),
1019         (gst_base_sink_queue_object), (gst_base_sink_event),
1020         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
1021         When we received EOS and are waiting for when to post the EOS message,
1022         our state is prerolled and we should not return ASYNC.
1023         Reorganize some code paths to implement this behavior.
1024
1025         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1026         (gst_sinks_suite):
1027         Add unit test to verify above EOS fix.
1028
1029 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1030
1031         * plugins/elements/gsttypefindelement.c:
1032         (gst_type_find_element_have_type), (gst_type_find_element_init),
1033         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
1034         Move detecting the input caps of the sinkpad to the setcaps function.
1035         This allows us to update the output caps when we receive new input caps
1036         instead of always using the first detected caps.
1037
1038 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1039
1040         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1041         (gst_base_sink_get_position):
1042         Don't try to preroll non-async elements after a flush.
1043         Subtract latency form clock times when reporting position.
1044
1045 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1046
1047         * gst/gstpad.c: (gst_pad_pause_task):
1048         * gst/gstutils.c:
1049         Small comment and documentation update.
1050
1051 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1052
1053         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1054         (gst_base_src_set_live), (gst_base_src_is_live),
1055         (gst_base_src_query_latency), (gst_base_src_perform_seek),
1056         (gst_base_src_default_event), (gst_base_src_wait),
1057         (gst_base_src_do_sync), (gst_base_src_get_range),
1058         (gst_base_src_pad_get_range), (gst_base_src_loop),
1059         (gst_base_src_unlock), (gst_base_src_unlock_stop),
1060         (gst_base_src_set_flushing), (gst_base_src_set_playing),
1061         (gst_base_src_activate_push), (gst_base_src_activate_pull),
1062         (gst_base_src_change_state):
1063         Rework the locking of basesrc in a similar fashion to basesink. We
1064         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
1065         us to handle live sources and semi live ones much better.
1066         Simplify flushing.
1067         Fix unlocking when seeking, shutting down and pausing in live sources.
1068
1069 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1070
1071         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
1072         Fix compilation again.
1073
1074 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1075
1076         * gst/gstelement.c:
1077           Use meaningful categories for the logs to clean the default one.
1078
1079 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1080
1081         * tests/check/pipelines/cleanup.c:
1082           Print message name and not just number.
1083
1084 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1085
1086         * docs/design/draft-tagreading.txt:
1087           Add some more thoughts.
1088
1089 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1090
1091         * tests/check/pipelines/simple-launch-lines.c:
1092           Print message name and not just number.
1093
1094 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1095
1096         * libs/gst/base/gsttypefindhelper.c:
1097           Speedup typefinding. This is work in progress (see #459862).
1098
1099 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1100
1101         * gst/gstplugin.c:
1102           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1103           Spotted by Josep Torra Valles <josep@fluendo.com>.
1104
1105 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
1106
1107         * gst/gstclock.h:
1108           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1109           field has moved to GstObject.
1110
1111 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
1112
1113         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1114         (gst_base_src_get_range), (gst_base_src_change_state):
1115         Call unlock for live sources so that they can't get stuck in _create and
1116         produce a buffer before they are set back to PLAYING.
1117
1118 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
1119
1120         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1121         (gst_queue_locked_dequeue):
1122         Comment the segment-related code... in the PROPER function.
1123         See #482147 and my commit from yesterday.
1124
1125 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
1126
1127         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1128         Also initialize the counter that calculates the first timestamp on a
1129         buffer correctly for non-live sources.
1130
1131 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
1132
1133         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1134         Disable code that's breaking the current-time-level reporting.
1135         See #482147
1136
1137 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
1138
1139         * docs/gst/gstreamer-sections.txt:
1140         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1141         as they shouldn't show up. Fixes the docs build.
1142
1143 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
1144         
1145         * gst/gstinfo.h:
1146         Add an explicit variable importation needed on VS6 (only for MSC_VER)
1147         Define M_PI which is used in files which are including gstinfo.h. 
1148         VS6 includes doesn't define it.
1149         * win32/common/libgstbase.def:
1150         * win32/common/libgstcontroller.def:
1151         * win32/common/libgstreamer.def:
1152         Add new exported functions and variables.
1153         * win32/vs6/libgstcontroller.dsp:
1154         * win32/vs6/libgstreamer.dsp:
1155         Update the list of files to build.
1156         
1157 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1158
1159         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1160
1161         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1162         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1163         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1164         Improve debugging. Fixes #480858.
1165
1166 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1167
1168         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1169
1170         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1171         First patch of code cleanups, use the macros and right arguments in the
1172         macros to signal and lock the queue. See #480858.
1173
1174 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
1175
1176         * gst/gstbus.c: (poll_func):
1177         Improve debugging when dealing with _poll().
1178
1179 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
1180
1181         * gst/gstregistryxml.c:
1182           Fix memory leak I introduced a few days ago.
1183
1184 2007-09-26  Michael Smith <msmith@fluendo.com>
1185
1186         * gst/gstbuffer.c: (gst_buffer_finalize):
1187           Make it once again possible to free GstBuffers in the default
1188           build.
1189           The poisoning scribbles on parts of the miniobject we need in
1190           order to free it.
1191           Fixes #480341
1192
1193 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
1194
1195         * docs/gst/gstreamer-sections.txt:
1196         * gst/gsttaglist.c:
1197         * gst/gsttaglist.h:
1198         API: add GST_TAG_COMPOSER, fixes #459809.
1199
1200 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
1201
1202         * gst/gstplugin.c:
1203         * gst/gstplugin.h:
1204         Add the 3-clause BSD license and the MIT/X11 license to the license
1205         list. Fixes #479784.
1206
1207 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
1208
1209         * docs/faq/getting.xml:
1210           Add Q+A about different GStreamer versions (#364056).
1211
1212 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1213
1214         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1215         (gst_base_sink_event), (gst_base_sink_change_state):
1216         Return correct gboolean from query function.
1217
1218 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1219
1220         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1221         (gst_base_sink_event), (gst_base_sink_query),
1222         (gst_base_sink_change_state):
1223         Simplify latency query.
1224         When not synchronizing, we can report latency without querying the peer
1225         element.
1226
1227 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1228
1229         * gst/gstobject.h:
1230         * gst/gstvalue.c:
1231         Fix small typos in the docs.
1232
1233 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1234
1235         * docs/design/draft-latency.txt:
1236         * docs/design/draft-push-pull.txt:
1237         * docs/design/draft-tagreading.txt:
1238         * docs/design/part-MT-refcounting.txt:
1239         * docs/design/part-activation.txt:
1240         * docs/design/part-block.txt:
1241         * docs/design/part-element-source.txt:
1242         * docs/design/part-events.txt:
1243         * docs/design/part-gstbin.txt:
1244         * docs/design/part-gstelement.txt:
1245         * docs/design/part-gstobject.txt:
1246         * docs/design/part-gstpipeline.txt:
1247         * docs/design/part-messages.txt:
1248         * docs/design/part-preroll.txt:
1249         * docs/design/part-push-pull.txt:
1250         * docs/design/part-qos.txt:
1251         * docs/design/part-query.txt:
1252         * docs/design/part-scheduling.txt:
1253         * docs/design/part-seeking.txt:
1254         * docs/design/part-segments.txt:
1255         * docs/design/part-states.txt:
1256         Documentation updates and typo fixes.
1257
1258 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
1259
1260         * plugins/elements/gstfakesink.c:
1261           Add some debug text to error message to indicate that
1262           we errored out on request.
1263
1264         * tools/gst-launch.c:
1265           When the state change to PLAYING fails, check for an
1266           error message on the bus and print it.
1267
1268 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1269
1270         translated by: Jorge González González <aloriel@gmail.com>
1271
1272         * po/LINGUAS:
1273         * po/es.po:
1274           Added Spanish translation.
1275
1276 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
1277
1278         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1279         Fix printf arguments.
1280
1281 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1282
1283         * tests/check/generic/states.c:
1284           Improved state change unit test.
1285
1286 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1287
1288         * gst/gstbin.h:
1289           Move priv to the right place.
1290
1291         * gst/gstsystemclock.c:
1292           Add FIXME: and improve log.
1293
1294         * tests/check/Makefile.am:
1295         * tests/examples/manual/Makefile.am:
1296           Work with all types of registries.
1297
1298 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
1299
1300         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1301         Don't unref the event after pushing it. Fixes #478401.
1302
1303 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1304
1305         * .cvsignore:
1306         * tests/examples/manual/.cvsignore:
1307           Ignore registries in any format.
1308
1309 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
1310
1311         * gst/glib-compat-private.h:
1312           Add compatibility macro for g_intern_string() for
1313           GLib-2.8 (any reason we can't just bump the
1314           requirement to at least 2.10?)
1315
1316         * gst/gstpadtemplate.h:
1317         * gst/gstelementfactory.c:
1318         * gst/gstregistryxml.c:
1319         * gst/gstregistrybinary.c:
1320           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1321           up the internal code accordingly.  This shouldn't be a problem, since
1322           there is no reason external code could ever assume the string in such
1323           a structure is dynamically allocated unless it did that itself;  the
1324           use of g_strdup() is private to element factories.  The new code also
1325           saves some memory by putting pad template name strings into the GLib
1326           quark table instead of allocating them dynamically.
1327           Declaring this field constant fixes warnings with g++-4.2 when using
1328           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1329
1330 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1331
1332         * gst/gstelementfactory.c:
1333           Release static caps. Fixes #475723.
1334
1335 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
1336
1337         * gst/gstinfo.c:
1338         * gst/gstinfo.h:
1339           Make some internal API take const gchar * instead of just
1340           gchar * to avoid compiler warnings with g++-4.2.2 when
1341           passing string constants (partially fixes #478092).
1342
1343 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1344
1345         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1346         A latency query fails when one of the sinks fail.
1347
1348         * gst/gstelement.c: (gst_element_set_base_time):
1349         Improve debugging.
1350
1351 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1352
1353         * gst/gstbin.c: (gst_bin_continue_func):
1354         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1355         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1356         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1357
1358         Fix minor compilation warnings shown with Forte.
1359
1360 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1361
1362         * plugins/elements/gstqueue.c: (apply_buffer),
1363         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1364         Measure queue level based on the diff between head and tail timestamps
1365         even when pushing the first buffer.
1366
1367 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1368
1369         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1370         (gst_base_sink_event), (gst_base_sink_change_state):
1371         Sinks that don't preroll can always be queried for the latency.
1372         Don't post ASYNC start when we are not async.
1373
1374 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1375
1376         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1377         (gst_queue_handle_sink_event), (gst_queue_chain),
1378         (gst_queue_push_one), (gst_queue_handle_src_query),
1379         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1380         * plugins/elements/gstqueue.h:
1381         When downstream returns UNEXPECTED from pushing a buffer, don't try to
1382         push more buffers but allow pushing of EOS and NEWSEGMENT.
1383         Add some more debug info here and there. Fixes #476514.
1384
1385 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1386
1387         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1388         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1389         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1390         (gst_base_sink_set_flushing), (gst_base_sink_query),
1391         (gst_base_sink_change_state):
1392         Latency query is allowed after we are prerolled. Introduce a new flag
1393         for this and stop abusing other variables.
1394
1395 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1396
1397         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1398         Push OOB events downstream when we get them in send_event. This allows
1399         the application to insert events in the pipeline.
1400         Add some more comments.
1401
1402 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1403
1404         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1405         (do_bin_latency), (gst_bin_change_state_func):
1406         * gst/gstpipeline.c: (gst_pipeline_change_state):
1407         Move latency query from GstPipeline to GstBin so that we can also
1408         use it when async-handling is enabled on bins.
1409
1410 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1411
1412         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1413         (gst_base_src_do_sync), (gst_base_src_change_state):
1414         Update docs.
1415         Clean up the timestamping and syncing code for pseudo live sources.
1416
1417 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
1418
1419         Patch by: Steve Fink  <sphink gmail com>
1420
1421         * docs/manual/appendix-checklist.xml:
1422           Mention less -R switch in the section about debug output (#474055).
1423
1424 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1425
1426         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1427         Queue can latency to the pipeline up to the configured max size in time.
1428         Report this fact in the latency query.
1429
1430 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1431
1432         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1433
1434         * libs/gst/controller/gstinterpolation.c:
1435         * libs/gst/controller/gstlfocontrolsource.c:
1436         Use gst_guint64_to_gdouble() when converting from a uint64 or
1437         GstClockTime to double to fix the build on win32. Fixes #474371.
1438
1439 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1440
1441         * gst/gstbuffer.c: (gst_buffer_finalize):
1442         Implement poisoning for GstBuffer if --enable-poisoning is specified.
1443         When finalizing a buffer the complete struct is filled with 0xff,
1444         thus making a use of the buffer after the final unref impossible.
1445
1446 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1447
1448         * tests/check/libs/controller.c: (GST_START_TEST):
1449         Use fail_unless_equals_int(a, b) instead of
1450         fail_unless_equals (a == b) to get better output on failures.
1451
1452 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1453
1454         * tests/check/gst/gsturi.c:
1455           Also check for the other file URI variant on win32.
1456
1457 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1458
1459         * gst/gsturi.c: (gst_uri_get_location):
1460           If there's no hostname, we want to return 'c:/foo/bar.txt'
1461           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1462
1463         * tests/check/gst/gsturi.c:
1464           Unit test for the above and a few more things.
1465
1466 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1467
1468         * docs/design/part-live-source.txt:
1469         Add docs on how live sources should timestamp.
1470
1471         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1472         Add some more debug info.
1473         For subclasses that are live and like to sync, add aditional startup
1474         latency to sync time and timestamps so that we timstamp according to the
1475         design doc.
1476
1477 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1478
1479         * gst/gstbuffer.c:
1480           Also do a g_type_class_ref() for the subbuffer type in
1481           the init function.
1482
1483 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1484
1485         * docs/gst/gstreamer-sections.txt:
1486         * gst/gstpad.c: (gst_pad_peer_query):
1487         * gst/gstpad.h:
1488         Add function to perform a query on the peer of a pad.
1489         API: gst_pad_peer_query()
1490
1491 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1492
1493         * tests/check/gst/gstsystemclock.c:
1494           Cleanup the test a little (use gst-logging and not g_message). Improve
1495           test to check if a wait reached the target.
1496
1497 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1498
1499         * docs/libs/gstreamer-libs-sections.txt:
1500           Add new API to docs and fix the build.
1501
1502 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
1503
1504         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1505         (gst_base_src_init), (gst_base_src_set_do_timestamp),
1506         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1507         (gst_base_src_get_property), (gst_base_src_do_sync):
1508         * libs/gst/base/gstbasesrc.h:
1509         Add property to make the basesrc timestamp buffers based on the current
1510         running time.
1511         API: GstBaseSrc::do-timestamp
1512         API: gst_base_src_set_do_timestamp()
1513         API: gst_base_src_get_do_timestamp()
1514
1515 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
1516
1517         * docs/random/release:
1518           Really make sure translations are up-to-date before
1519           a release (#465010).
1520
1521 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
1522
1523         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1524         Always destroy the timer, also in error cases.
1525
1526 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1527
1528         * docs/manual/highlevel-xml.xml:
1529         Fix XML example code. Fixes #472714.
1530
1531 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1532
1533         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1534         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1535         (gst_base_sink_query):
1536         Protect eos and have_preroll with the OBJECT lock so we don't need to
1537         take the PREROLL lock when querying the latency. Fixes #473846.
1538
1539 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
1540
1541         * gst/gstelement.c:
1542           Give some log-messages a category.
1543
1544 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
1545
1546         * gst/gststructure.c:
1547         (gst_structure_fixate_field_nearest_fraction):
1548         Fix fraction list fixation code. Take the fraction with the smallest
1549         difference with the target instead of the first one in the list.
1550
1551         * tests/check/gst/gststructure.c: (GST_START_TEST),
1552         (gst_structure_suite):
1553         Added test to verify correct fraction list fixation behaviour.
1554
1555 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
1556
1557         * win32/common/libgstreamer.def:
1558           Export gst_bus_add_signal_watch too.
1559
1560 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
1561
1562         * docs/libs/gstreamer-libs-sections.txt:
1563         Add new methods to docs.
1564
1565         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1566         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1567         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1568         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1569         * libs/gst/base/gstbasesink.h:
1570         Add ts-offset property to fine-tune the synchronisation.
1571         API: GstBaseSink::ts-offset property
1572         API: gst_base_sink_set_ts_offset()
1573         API: gst_base_sink_get_ts_offset()
1574
1575 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
1576
1577         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1578         (gst_base_sink_init), (gst_base_sink_set_sync),
1579         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1580         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1581         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1582         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1583         (gst_base_sink_get_property), (gst_base_sink_change_state):
1584         * libs/gst/base/gstbasesink.h:
1585         Add async property to instruct the sink never to inform the parent about
1586         ASYNC state changes, update docs.
1587         Check argument with g_return_* for the public functions.
1588         API: GstBaseSink::async property
1589         API: gst_base_sink_set_async_enabled()
1590         API: gst_base_sink_is_async_enabled()
1591
1592 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
1593
1594         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1595         Improve debugging.
1596
1597         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1598         (gst_base_src_default_query), (gst_base_src_wait),
1599         (gst_base_src_do_sync), (gst_base_src_change_state):
1600         Rearrange some code so that we can add support for measuring the 
1601         startup latency.
1602
1603 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
1604
1605         * docs/random/ensonic/dynlink.txt:
1606           More thoughs on this.
1607
1608         * plugins/elements/gstcapsfilter.c:
1609           Add bugzilla ticket number to FIXME comment.
1610
1611 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
1612
1613         * docs/design/part-TODO.txt:
1614         * docs/design/part-block.txt:
1615         Update some docs.
1616
1617 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1618
1619         * gst/Makefile.am:
1620           Revert patch which uses $(gst_headers) instead of $^ because it
1621           breaks make dist.
1622
1623 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1624
1625         * tests/check/gst/gstbin.c: (GST_START_TEST):
1626           Fix leaks in the new unit test.
1627
1628 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
1629
1630         * gst/gst.c:
1631           Don't use GST_INFO before the debug system is actually initialised
1632           (shouldn't do any harm, but won't print anything either, so we can
1633           just as well remove it).
1634
1635         * gst/gstinfo.h:
1636           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1637           compilers that don't support variadic macros (such as MSVC), should
1638           check for debug_level <= __gst_debug_min as well, since that's the
1639           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1640           inline helper functions. Should improve performance a bit, but also
1641           makes sure uses of GST_INFO et.al are ignored if the debugging
1642           system isn't initialised yet (instead of printing an assertion
1643           failure).
1644
1645 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
1646
1647         patch by: David Nečas <yeti@physics.muni.cz>
1648
1649         * gst/Makefile.am:
1650           Replace some non portable makefile constructs.
1651
1652 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
1653
1654         * common/gtk-doc-plugins.mak:
1655           Grrrrr. Don't remove the types file on make clean.
1656
1657 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
1658
1659         * tools/gst-launch.1.in:
1660         Add colorspace to example pipeline. Fixes #458274.
1661
1662 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
1663
1664         * docs/random/release:
1665           The release manager should run 'make download-po' before making a
1666           release to make sure translations are up-to-date.
1667
1668         * po/LINGUAS:
1669         * po/be.po:
1670         * po/pl.po:
1671         * po/rw.po:
1672           Add some new translations.
1673
1674 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
1675
1676         * tools/gst-launch.c: (event_loop), (main):
1677         Don´t try to do any state management when a live pipeline posts
1678         buffering messages.
1679         Also make the buffering string translatable.
1680
1681 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1682
1683         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1684         (bin_handle_async_start), (gst_bin_handle_message_func):
1685         Improve debugging.
1686         When adding elements, insert messages into the bus of the newly added
1687         element and make sure the element is the source of the message. This
1688         allows the parent bin to intercept the message and do the
1689         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1690         messages to the app (which is not allowed).
1691         Update some docs.
1692
1693         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1694         Fix testsuite so that is does not work around messages that should not
1695         have been posted in the first place.
1696
1697 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1698
1699         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1700         (update_degree), (gst_bin_sort_iterator_next):
1701         Fix annoying bug in the sorted iterator where a sink that is not really
1702         a sink (when it has downstream links) screwed up the iterator.
1703
1704         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1705         Unit test to verify the fix.
1706
1707 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1708
1709         * gst/gstmessage.h:
1710         Add some more docs for the messages.
1711
1712         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1713         (gst_base_sink_query):
1714         Add some more debugging.
1715
1716         * tools/gst-launch.c: (event_loop):
1717         When interrupting, don't try to set pipeline to PAUSED twice.
1718
1719 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1720
1721         
1722         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1723         (bin_handle_async_start), (gst_bin_handle_message_func):
1724         Move ASYNC_START message posting to where it belongs, similar to
1725         async_done. 
1726         Don't post ASYNC_START when we are in error. 
1727         Post ASYNC_START when we added an async element to a bin.
1728
1729 2007-08-14  Julien MOUTTE  <julien@moutte.net>
1730
1731         * gst/gstindex.c: (gst_index_add_association): Fix index entry
1732         generation from vargs. Fixes #466595.
1733
1734 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1735
1736         * gst/gstbin.c: (gst_bin_element_set_state):
1737         Always change the state of a NO_PREROLL element even if it has ASYNC
1738         elements inside (in case of a bin).
1739
1740         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1741         Unit test for this case.
1742
1743 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
1744
1745         * libs/gst/check/gstbufferstraw.c:
1746         * libs/gst/check/gstcheck.h:
1747         * libs/gst/controller/gstcontroller.c:
1748         * libs/gst/controller/gstcontrolsource.h:
1749         * libs/gst/controller/gstlfocontrolsource.h:
1750         * plugins/elements/gstcapsfilter.h:
1751         * plugins/elements/gstfdsink.h:
1752         * plugins/elements/gstfdsrc.h:
1753           Add more missing docs.
1754
1755 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1756
1757         * gst/gststructure.c:
1758         Add Since tag to docs.
1759
1760 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1761
1762         * docs/gst/gstreamer-sections.txt:
1763         * gst/gststructure.c: (gst_structure_get_uint):
1764         * gst/gststructure.h:
1765         Add function to get uint from a structure.
1766         API: gst_structure_get_uint()
1767
1768 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1769
1770         * gst/gstcaps.c: (gst_caps_set_simple_valist),
1771         (gst_caps_intersect):
1772         Fix proper check for simple caps.
1773
1774 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
1775
1776         * docs/gst/Makefile.am:
1777         * docs/libs/Makefile.am:
1778           Remove cruft and do some cleanups.
1779
1780         * docs/gst/gstreamer-docs.sgml:
1781         * docs/libs/gstreamer-libs-docs.sgml:
1782           Prepare for comming gtkdoc features (rebase against online docs).
1783
1784 2007-08-10  Michael Smith <msmith@fluendo.com>
1785
1786         * docs/gst/gstreamer-sections.txt:
1787           Add gst_registry_add_path to docs.
1788
1789 2007-08-10  Michael Smith <msmith@fluendo.com>
1790
1791         * gst/gstregistry.h:
1792           Add gst_registry_add_path, which was missing from this header.
1793
1794 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
1795
1796         * libs/gst/controller/gstlfocontrolsource.c:
1797           Printf format fix.
1798
1799 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1800
1801         * libs/gst/base/gstbasesink.c:
1802           Don't send an async_start message during downwards state change if 
1803           target state is less than READY
1804
1805 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1806
1807         translated by: Gabor Kelemen <kelemeng@gnome.hu>
1808
1809         * po/LINGUAS:
1810         * po/hu.po:
1811           Added Hungarian translation.
1812
1813 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1814
1815         * po/fi.po:
1816         * po/it.po:
1817         * po/nl.po:
1818         * po/sv.po:
1819         * po/uk.po:
1820           Updated translations.
1821
1822 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1823
1824         * libs/gst/controller/Makefile.am:
1825         Dist gstlfocontrolsourceprivate.h
1826
1827 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1828
1829         * docs/libs/gstreamer-libs.types:
1830         Don't register the enum type gst_lfo_waveform_get_type() in the
1831         .types file - only GObject derived types belong.
1832
1833 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1834
1835         Patch by: <arenevier at fdn dot fr>
1836
1837         * gst/gstbuffer.h:
1838         Remove comma from last element in enum to avoid compile errors when
1839         using -pendantic. Fixes #464366.
1840
1841 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1842
1843         * docs/design/part-TODO.txt:
1844         Add some more TODO items
1845
1846         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1847         Improve debugging.
1848
1849         * gst/gstcaps.c: (gst_caps_intersect):
1850         Optimize trivial intersection case between identical caps pointers.
1851
1852         * gst/gstelement.c: (gst_element_continue_state),
1853         (gst_element_set_state_func):
1854         * gst/gstpad.c:
1855         Fix spelling and grammar mistakes.
1856
1857 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
1858
1859         * po/POTFILES.in:
1860         * po/POTFILES.skip:
1861           Update POTFILES. Fixes #461599.
1862
1863 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1864
1865         * gst/gst.c:
1866         Fix confusing typo in debug output.
1867
1868 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1869
1870         reviewed by: Stefan Kost <ensonic@users.sf.net>
1871
1872         * libs/gst/controller/Makefile.am:
1873         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1874         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1875         (gst_lfo_control_source_new),
1876         (gst_lfo_control_source_set_waveform),
1877         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1878         (gst_lfo_control_source_finalize),
1879         (gst_lfo_control_source_dispose),
1880         (gst_lfo_control_source_set_property),
1881         (gst_lfo_control_source_get_property),
1882         (gst_lfo_control_source_class_init):
1883         * libs/gst/controller/gstlfocontrolsource.h:
1884         * libs/gst/controller/gstlfocontrolsourceprivate.h:
1885         API: Add GstLFOControlSource, a control source that gives values
1886         for specific timestamps based on several periodic waveforms.
1887         Fixes #459717.
1888
1889         * tests/check/libs/controller.c: (GST_START_TEST),
1890         (gst_controller_suite):
1891         * docs/libs/gstreamer-libs-docs.sgml:
1892         * docs/libs/gstreamer-libs-sections.txt:
1893         * docs/libs/gstreamer-libs.types:
1894         Add documentation and unit tests for GstLFOControlSource.
1895
1896 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
1897
1898         * configure.ac:
1899         Back to CVS
1900
1901 === release 0.10.14 ===
1902
1903 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
1904
1905         * configure.ac:
1906           releasing 0.10.14, "Breathing Vacuum"
1907
1908 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
1909
1910         * gst/gstelement.c: (gst_element_class_set_details_simple):
1911         * gst/gstelement.h:
1912           Make strings passed to gst_element_class_set_details_simple()
1913           constant, as they should be (#462752).
1914
1915 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
1916
1917         * gst/gstbin.c: (gst_bin_change_state_func),
1918         (bin_handle_async_done), (gst_bin_handle_message_func):
1919         Don't forget about the fact that some element went ASYNC even after a
1920         resync. This makes us post the ASYNC_DONE message correctly.
1921         Fixes #462558.
1922
1923 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1924
1925         * gst/gstregistry.c: (gst_registry_add_feature):
1926         When replacing an existing feature in the registry, make sure to
1927         continue holding a reference until we've replaced the name string
1928         within our feature hash table. Make sure to use g_hash_table_replace
1929         instead of g_hash_table_insert to ensure the new name string is used
1930         as a key instead of the old one that we're about to free.
1931         Fixes: #462085
1932
1933 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1934
1935         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1936         (gst_plugin_feature_set_name):
1937         Revert patch from #459466 until after the release and we can work
1938         out exactly what the problem is (if any).
1939
1940 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1941
1942         * docs/gst/gstreamer-sections.txt:
1943         * gst/gsttaglist.c:
1944         * gst/gsttaglist.h:
1945           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1946
1947 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1948
1949         * docs/libs/Makefile.am:
1950         Include our build-prefix libs and includes before the generic ones to
1951         avoid linking against the installed libs when we want the build-tree
1952         ones.
1953
1954 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1955
1956         Patch by: Steve Fink  <sphink gmail com>
1957
1958         * docs/pwg/building-testapp.xml:
1959           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1960           if people try to build or install the example from the plugin
1961           template against a GStreamer from package using the configure
1962           defaults.
1963
1964 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1965
1966         Patch by: Steve Fink  <sphink gmail com>
1967
1968         * tools/gst-inspect.1.in:
1969           Document --print-all and --print-plugin-auto-install-info command
1970           line options in man page.
1971
1972 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1973
1974         * docs/gst/gstreamer-sections.txt:
1975         Add docs for new api function.
1976
1977 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1978
1979         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1980         * gst/gstelementfactory.h:
1981         API: gst_element_factory_has_interface()
1982         Added method to check if an element factory implements a named
1983         interface.
1984
1985 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
1986
1987         * configure.ac:
1988         * docs/gst/gstreamer.types.in:
1989           Another conditional doc check.
1990
1991         * gst/gstmessage.c:
1992         * gst/gstparamspecs.h:
1993         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1994         * gst/gstvalue.c:
1995         * gst/gstxml.h:
1996           API-doc fixes.
1997
1998 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1999
2000         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
2001         (gst_registry_binary_load_feature),
2002         (gst_registry_binary_load_plugin),
2003         (gst_registry_binary_read_cache):
2004           Print error just once and with additional info.
2005
2006 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2007
2008         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2009         (helper_find_suggest), (helper_find_get_length),
2010         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
2011         (gst_type_find_helper_for_buffer):
2012           Cleanup the typefindhelper code and add private doc comments.
2013
2014 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
2015
2016         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2017         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
2018         Fix capsfilter for cases where the caps set on capsfilter will provide
2019         additional information.
2020         Fixes #449197
2021
2022 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2023
2024         * gst/gsttypefindfactory.c:
2025           Fix docs that recommened wrong function to use.
2026
2027 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2028
2029         * tools/gst-inspect.c: (print_plugin_features):
2030           Also give media-type for typefinders in element output.
2031
2032 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2033
2034         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
2035         (gst_registry_remove_features_for_plugin_unlocked),
2036         (gst_registry_add_feature), (gst_registry_remove_feature),
2037         (gst_registry_lookup_feature_locked):
2038         * gst/gstregistry.h:
2039           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
2040           Fixes #459501.
2041
2042 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2043
2044         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2045         (gst_plugin_feature_set_name):
2046           Avoid double memory usage for pluginfeature names. Fixes #459466.
2047
2048 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
2049
2050         * gst/gstpad.h:
2051           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
2052           driving the pipeline may need to explicitly check for NOT_LINKED as
2053           well, since IS_FATAL doesn't cover that.
2054
2055 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
2056
2057         * docs/pwg/advanced-types.xml:
2058           Fix typo and duplicate entry in video formats list.
2059
2060 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
2061
2062         * libs/gst/controller/gstinterpolation.c:
2063         Also round to the nearest int when using cubic interpolation.
2064
2065 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
2066
2067         * libs/gst/controller/gstinterpolation.c:
2068         When linearly interpolating integer types, round to the nearest int
2069         by adding 0.5. Don't do it for float/double types.
2070         Fixes the failing controller test on my machine, which is somehow
2071         rounding differently than on the buildbots.
2072
2073 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2074
2075         * tools/gst-plot-timeline.py:
2076           Better log parsing (categories can have -). Adjust text vs. lines, so
2077           that they span the same y-range.        
2078
2079 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2080
2081         * docs/random/ensonic/audiobaseclasses.txt:
2082         * docs/random/ensonic/dynlink.txt:
2083         * docs/random/ensonic/profiling.txt:
2084           Save my thoughts.
2085
2086         * docs/random/moving-plugins:
2087           Add note to use g_assert type macros.
2088
2089 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2090
2091         * configure.ac:
2092         * libs/gst/check/Makefile.am:
2093           Add libm check as we use in for plugins.
2094
2095 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
2096
2097         * gst/gstbin.c: (gst_bin_continue_func):
2098         Check that the state_cookie hasn't changed since the continue_func
2099         was scheduled. Avoids problems where the state changes back to
2100         something it shouldn't be because it was changed in the meantime.
2101
2102 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
2103
2104         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2105         (gst_registry_binary_save_string),
2106         (gst_registry_binary_save_pad_template),
2107         (gst_registry_binary_save_feature),
2108         (gst_registry_binary_save_plugin),
2109         (gst_registry_binary_load_feature),
2110         (gst_registry_binary_load_plugin),
2111         (gst_registry_binary_read_cache):
2112           Fix memory leak. Be less verbose in the log.
2113
2114 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2115
2116         * tests/check/elements/.cvsignore:
2117         Add file to cvsignore as commanded.
2118
2119 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2120
2121         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2122         (mq_dummypad_event), (run_output_order_test):
2123         Use a GStaticMutex to protect all cases where libcheck
2124         fail_if/fail_unless macros might be called from multiple threads
2125         simultaneously to avoid errors like:
2126           "check_pack.c:107: :-1081725400:Bad message type arg"
2127
2128 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2129
2130         * tests/check/pipelines/stress.c: (GST_START_TEST):
2131         Make sure we set the pipeline back to the NULL state before
2132         dropping our final reference.
2133
2134 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2135
2136         * tests/check/elements/tee.c: (GST_START_TEST):
2137         Make the tee stress-test a little less stressful so it doesn't just
2138         time out on slow-machines, and remove a small race when it's starting 
2139         up by adding a get_state() call.
2140
2141 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
2142
2143         * gst/gst.c:
2144           Avoid reading registry twice on startup. Fixes #457322.
2145
2146 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2147
2148         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2149         * pkgconfig/gstreamer-check.pc.in:
2150         Substitute the CFLAGS for libcheck into our .pc file too so that
2151         dependent modules will pick it up properly if libcheck is installed
2152         into some other prefix.
2153
2154 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2155
2156         * configure.ac:
2157         Revert the pkg-config check for libcheck, since it pulls in the
2158         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2159         a proper solution, either from the check project, or something else.
2160
2161 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
2162
2163         * configure.ac:
2164           Use pkg-config to locate check.
2165
2166 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
2167
2168         * gst/gsttaglist.c:
2169           Fix doc syntax.
2170
2171         * gst/gstutils.c:
2172         * gst/gstutils.h:
2173           Add deprecation guards.
2174
2175         * libs/gst/base/gstcollectpads.h:
2176           Don't document object (this is implicitly private).
2177
2178 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
2179
2180         * gst/gststructure.c: (gst_structure_parse_value):
2181           When deserialising foo=bar without a type cast, check if it's a
2182           boolean before falling back to a string type, otherwise things like
2183           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2184           because the filtercaps end up having a signed=(string)true field,
2185           which causes problems later when intersection caps.
2186
2187         * tests/check/gst/gststructure.c: (GST_START_TEST):
2188           Add a unit test for this.
2189
2190 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
2191
2192         Reviewed by: Stefan Kost <ensonic@users.sf.net>
2193
2194         * libs/gst/controller/Makefile.am:
2195         * libs/gst/controller/gstcontroller.c:
2196         (gst_controlled_property_add_interpolation_control_source),
2197         (gst_controlled_property_new), (gst_controlled_property_free),
2198         (gst_controller_find_controlled_property),
2199         (gst_controller_new_valist), (gst_controller_new_list),
2200         (gst_controller_new), (gst_controller_remove_properties_valist),
2201         (gst_controller_remove_properties_list),
2202         (gst_controller_remove_properties),
2203         (gst_controller_set_property_disabled),
2204         (gst_controller_set_disabled), (gst_controller_set_control_source),
2205         (gst_controller_get_control_source), (gst_controller_get),
2206         (gst_controller_sync_values), (gst_controller_get_value_array),
2207         (_gst_controller_dispose), (gst_controller_get_type),
2208         (gst_controlled_property_set_interpolation_mode),
2209         (gst_controller_set), (gst_controller_set_from_list),
2210         (gst_controller_unset), (gst_controller_unset_all),
2211         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2212         * libs/gst/controller/gstcontroller.h:
2213         * libs/gst/controller/gstcontrollerprivate.h:
2214         * libs/gst/controller/gstcontrolsource.c:
2215         (gst_control_source_class_init), (gst_control_source_init),
2216         (gst_control_source_get_value),
2217         (gst_control_source_get_value_array), (gst_control_source_bind):
2218         * libs/gst/controller/gstcontrolsource.h:
2219         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2220         (gst_object_get_control_source):
2221         * libs/gst/controller/gstinterpolation.c:
2222         (gst_interpolation_control_source_find_control_point_node),
2223         (gst_interpolation_control_source_get_first_value),
2224         (_interpolate_none_get), (interpolate_none_get),
2225         (interpolate_none_get_boolean_value_array),
2226         (interpolate_none_get_enum_value_array),
2227         (interpolate_none_get_string_value_array),
2228         (_interpolate_trigger_get), (interpolate_trigger_get),
2229         (interpolate_trigger_get_boolean_value_array),
2230         (interpolate_trigger_get_enum_value_array),
2231         (interpolate_trigger_get_string_value_array):
2232         * libs/gst/controller/gstinterpolationcontrolsource.c:
2233         (gst_control_point_free), (gst_interpolation_control_source_reset),
2234         (gst_interpolation_control_source_new),
2235         (gst_interpolation_control_source_set_interpolation_mode),
2236         (gst_interpolation_control_source_bind),
2237         (gst_control_point_compare), (gst_control_point_find),
2238         (gst_interpolation_control_source_set_internal),
2239         (gst_interpolation_control_source_set),
2240         (gst_interpolation_control_source_set_from_list),
2241         (gst_interpolation_control_source_unset),
2242         (gst_interpolation_control_source_unset_all),
2243         (gst_interpolation_control_source_get_all),
2244         (gst_interpolation_control_source_get_count),
2245         (gst_interpolation_control_source_init),
2246         (gst_interpolation_control_source_finalize),
2247         (gst_interpolation_control_source_dispose),
2248         (gst_interpolation_control_source_class_init):
2249         * libs/gst/controller/gstinterpolationcontrolsource.h:
2250         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2251         API: Refactor GstController into the core controller which can take
2252         a GstControlSource for providing actual values for timestamps.
2253         Implement a interpolation control source and use this for backward
2254         compatibility, deprecate a bunch of functions that are now handled
2255         by GstControlSource or GstInterpolationControlSource.
2256         Make it possible to disable the controller completely or only for
2257         specific properties. Fixes #450711.
2258         * docs/libs/gstreamer-libs-docs.sgml:
2259         * docs/libs/gstreamer-libs-sections.txt:
2260         * docs/libs/gstreamer-libs.types:
2261         Add new functions and classes to the docs.
2262         * tests/check/libs/controller.c: (GST_START_TEST),
2263         (gst_controller_suite):
2264         * tests/examples/controller/audio-example.c: (main):
2265         Port unit test and example to the new API and add some new
2266         unit tests.
2267
2268 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
2269
2270         Patch by: Mark Nauwelaerts <manauw at skynet be>
2271
2272         * plugins/elements/gstmultiqueue.c:
2273         (gst_multi_queue_get_internal_links), (apply_buffer),
2274         (single_queue_overrun_cb), (gst_single_queue_new):
2275         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2276         the pipeline layout can be tracked correctly. Fixes #453732.
2277
2278 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
2279
2280         * docs/gst/Makefile.am:
2281         * docs/libs/Makefile.am:
2282         * docs/plugins/Makefile.am:
2283           Simplify --extra-dir as gtkdoc scans recursively.
2284
2285 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2286
2287         * tools/gst-launch.c: (main):
2288         When we got an error, there is no point in waiting for preroll when
2289         shutting down.
2290
2291 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2292
2293         * plugins/elements/gsttee.c: (gst_tee_base_init),
2294         (gst_tee_request_new_pad), (gst_tee_release_pad),
2295         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2296         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2297         (gst_tee_chain):
2298         Be a lot smarter when deciding what srcpad to use for proxying
2299         the buffer_alloc. Also handle pad added/removed when doing so.
2300         Fixes #357959.
2301         Keep track of what pads we already pushed on in case we have pads
2302         added/removed while pushing. Fixes #374639 
2303
2304         * tests/check/Makefile.am:
2305         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2306         (tee_suite):
2307         Added unit test for pad resync.
2308
2309 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2310
2311         * po/nl.po:
2312         * po/sv.po:
2313           Updated translations.
2314
2315 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2316
2317         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2318
2319         * po/LINGUAS:
2320         * po/fi.po:
2321           Added new Finnish translation.
2322
2323 2007-06-28  Wim Taymans  <wim@fluendo.com>
2324
2325         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2326         (single_queue_overrun_cb):
2327         When figuring out when a queue is filled, use our internal time estimate
2328         based on segments, just like check_full does.
2329
2330 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2331
2332         * gst/gstminiobject.c: (gst_mini_object_get_type):
2333           Remove 3 do-nothing methods.
2334
2335 2007-06-27  Wim Taymans  <wim@fluendo.com>
2336
2337         Patch by: Tim Angus <tim at ngus dot net>
2338
2339         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2340         (gst_capsfilter_set_property):
2341         Take a reference instead of a copy when setting "caps".
2342         Fix documentation to clarify this behaviour. Fixes #449414.
2343
2344 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2345
2346         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2347         * gst/gstplugin.c: (gst_plugin_init):
2348         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2349         * gst/gstquery.c: (gst_query_get_type):
2350         * gst/gstregistry.c: (gst_registry_init):
2351         * gst/gsturi.c: (gst_uri_handler_base_init):
2352           Remove empty instance_init() functions to save relocs and lessen the
2353           noise. Remove some of the function prototypes that are doubled by
2354           G_DEFINE_TYPE.
2355           
2356 2007-06-27  Wim Taymans  <wim@fluendo.com>
2357
2358         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2359
2360         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2361         Add peer and direction in the XML serialisation of ghostpads.
2362         Fixes #449226.
2363
2364 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2365
2366         * configure.ac:
2367           Preserve useful information, thanks Tim.
2368
2369 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
2370
2371         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2372         (gst_single_queue_flush), (apply_segment), (apply_buffer),
2373         (gst_single_queue_push_one), (gst_multi_queue_loop),
2374         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2375         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2376         (compute_high_id), (gst_single_queue_new):
2377         * plugins/elements/gstmultiqueue.h:
2378         Take the multiqueue lock when updating the fill level so we don't get
2379         confused. 
2380
2381         After applying a buffer or event on the src pad segment, make sure to
2382         call gst_data_queue_limits_changed() to get the data queue to unblock
2383         and check the filled state again.
2384         
2385         Rework the not-linked pad handling so the logic is that not-linked 
2386         pads can push as fast as they like, but only so they never get 
2387         ahead of any linked pads.
2388
2389         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2390         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2391         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2392
2393         Add a test to check that not-linked pads always stay behind
2394         linked pads.
2395
2396         Fixes: #430682
2397
2398 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
2399
2400         * docs/random/release:
2401           Some updates to the release procedure.
2402
2403 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2404
2405         * gst/gstelementfactory.c: (__gst_element_details_clear):
2406           Microoptimization that saves stunning 80 bytes.
2407
2408 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
2409
2410         * docs/plugins/gstreamer-plugins.args:
2411         * docs/plugins/inspect/plugin-coreelements.xml:
2412         * docs/plugins/inspect/plugin-coreindexers.xml:
2413           Update docs with caps info.
2414
2415 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2416
2417         * po/it.po:
2418           Updated Italian translation.
2419
2420 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2421
2422         * ChangeLog:
2423         * po/vi.po:
2424           Update Vietnamese translations.
2425
2426 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2427
2428         * libs/gst/base/gstbasesink.c:
2429           Remove unused signal enum.
2430
2431 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2432
2433         * docs/gst/gstreamer-sections.txt:
2434         * gst/gstelement.c:
2435         * gst/gstutils.c: (gst_type_register_static_full):
2436         Beef up and include the docs for gst_type_register_static_full and
2437         gst_element_class_set_details_simple and add the API keyword
2438         in the ChangeLog.
2439
2440 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2441
2442         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2443         (update_time_level), (gst_single_queue_push_one),
2444         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2445         (single_queue_overrun_cb), (single_queue_underrun_cb),
2446         (single_queue_check_full):
2447         Fix setting max-* properties after adding queues.
2448         Use IS_FILLED for checking visible items.
2449         Signal overrun if multiple queues overrun.
2450         Add extra debug output.
2451         Patch by: Wim Taymans <wim@fluendo.com>
2452
2453 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
2454
2455         * gst/gstelement.c: (gst_element_class_set_details_simple):
2456         * gst/gstelement.h:
2457         * gst/gstutils.c: (gst_type_register_static_full):
2458         * gst/gstutils.h:
2459         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2460         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2461         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2462         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2463         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2464         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2465         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2466         * plugins/elements/gstidentity.c: (gst_identity_base_init):
2467         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2468         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2469         (apply_buffer), (gst_queue_chain):
2470         * plugins/elements/gsttee.c: (gst_tee_base_init):
2471         * plugins/elements/gsttypefindelement.c:
2472         (gst_type_find_element_base_init),
2473         (gst_type_find_element_class_init):
2474           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2475           API: add gst_type_register_static_full
2476           API: add gst_element_class_set_details_simple
2477
2478 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2479
2480         * docs/pwg/advanced-types.xml:
2481           Fix typo in iana.org URI.
2482
2483 2007-06-19  Andy Wingo  <wingo@pobox.com>
2484
2485         * tests/check/pipelines/simple-launch-lines.c
2486         (test_state_change_returns): Enable pull-mode tests now that
2487         basesink has been fixed.
2488
2489         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2490         Changed from gst_base_sink_is_prerolled, reversing the sense of
2491         the return value. Returns FALSE also if the sink is in pull mode,
2492         in which case it needs no preroll.
2493         (gst_base_sink_query, gst_base_sink_change_state): Update for
2494         needs_preroll change.
2495         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2496         chaining up, in which we return SUCCESS directly if we activated
2497         in pull mode instead of ASYNC. Involves countering an async_start
2498         message sent before chaining up; not sure if this is correct, in
2499         an ideal world we only send async-start when activating in push
2500         mode.
2501
2502         * tests/check/pipelines/simple-launch-lines.c
2503         (test_state_change_returns): New test, partially disabled until
2504         basesink is fixed.
2505
2506 2007-06-19  Wim Taymans  <wim@fluendo.com>
2507
2508         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2509         (gst_multi_queue_sink_event):
2510         Fix event leak.
2511
2512 2007-06-19  Wim Taymans  <wim@fluendo.com>
2513
2514         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2515         (gst_bin_change_state_func), (bin_push_state_continue),
2516         (bin_handle_async_start), (bin_handle_async_done),
2517         (gst_bin_handle_message_func):
2518         Move the common code for posting state-change messages into
2519         one function.
2520         Broadcast the state signal after we posted the messages.
2521         Mark the bin as busy when it's doing a state-change.
2522         Make sure async-start/done messages don't interfere with the bin's
2523         state when it's busy.
2524         After the state change, let the bin check which elements completed the
2525         state change while it was busy so that it can update its state.
2526
2527 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
2528
2529         * docs/random/release:
2530         Add a note about updating the doap file to the release checklist
2531
2532 2007-06-18  Wim Taymans  <wim@fluendo.com>
2533
2534         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2535         (gst_single_queue_push_one), (gst_multi_queue_chain),
2536         (gst_multi_queue_sink_event):
2537         Make sure we don't reference the buffer/event after we have given away
2538         ownership in the queue.
2539
2540 2007-06-18  Wim Taymans  <wim@fluendo.com>
2541
2542         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2543         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2544         Update queue state _after_ adding the item in the queue because else we
2545         could end up being full without the element added yet.
2546
2547 2007-06-18  Wim Taymans  <wim@fluendo.com>
2548
2549         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2550         (gst_bin_remove_func), (gst_bin_get_state_func),
2551         (gst_bin_element_set_state), (gst_bin_continue_func),
2552         (bin_push_state_continue), (bin_handle_async_start),
2553         (bin_handle_async_done), (gst_bin_handle_message_func):
2554         * gst/gstbin.h:
2555         Immediatly commit the toplevel bin state when receiving an async-done
2556         message. This enables us to avoid spawning a thread to commit the state
2557         in some common cases and it also avoids some races.
2558         Avoid spawning a state thread when adding/removing async elements to a
2559         toplevel bin. Instead we immediatly update the bin state.
2560         Get rid of iterating all the children when getting the state in the bin
2561         because it is now always up-to-date.
2562         Fix bug where locked elements would always return _SUCCESS even it they
2563         returned NO_PREROLL before being locked.
2564         Fix the order of the state_change, async-start/done messages that was
2565         sometimes incorrect.
2566         Mark the state_dirty field as deprecated, we don't need it anymore as we
2567         are always up-to-date.
2568
2569         * gst/gstelement.c: (gst_element_get_state_func),
2570         (gst_element_continue_state):
2571         Small debug inprovements.
2572         Return the previous element state return when nothing is pending instead
2573         of blindly returning SUCCESS.
2574
2575         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2576         (gst_sinks_suite):
2577         Add a whole bunch of new testcases.
2578
2579 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2580
2581         * po/uk.po:
2582         * po/vi.po:
2583           Update translations.
2584
2585 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
2586
2587         * gst/gstpad.c:
2588         Fix typo in the docs.
2589
2590 2007-06-15  Wim Taymans  <wim@fluendo.com>
2591
2592         * docs/libs/gstreamer-libs-sections.txt:
2593         Add docs for new methods.
2594
2595 2007-06-15  Wim Taymans  <wim@fluendo.com>
2596
2597         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2598         (gst_multi_queue_item_new):
2599         Don't use GSlice because we don't depend on >= 2.10 yet.
2600
2601 2007-06-15  Wim Taymans  <wim@fluendo.com>
2602
2603         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2604         (update_time_level), (apply_segment), (apply_buffer),
2605         (gst_single_queue_push_one), (gst_multi_queue_item_new),
2606         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2607         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2608         (single_queue_underrun_cb), (single_queue_check_full):
2609         Remove debug printf.
2610
2611 2007-06-15  Wim Taymans  <wim@fluendo.com>
2612
2613         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2614         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2615         (gst_data_queue_set_flushing), (gst_data_queue_push),
2616         (gst_data_queue_pop), (gst_data_queue_drop_head),
2617         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2618         * libs/gst/base/gstdataqueue.h:
2619         Various cleanups.
2620         Added methods to get the current levels and to inform the queue that the
2621         'full' limits changed.
2622
2623         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2624         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2625         (gst_single_queue_flush), (update_time_level), (apply_segment),
2626         (apply_buffer), (gst_single_queue_push_one),
2627         (gst_multi_queue_item_steal_object),
2628         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2629         (gst_multi_queue_loop), (gst_multi_queue_chain),
2630         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2631         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2632         (gst_multi_queue_src_query), (single_queue_overrun_cb),
2633         (single_queue_underrun_cb), (single_queue_check_full),
2634         (gst_single_queue_new):
2635         Keep track of time in the queue by measuring the difference between
2636         running_time on input and output. This gives more accurate results and
2637         can compensate for segments correctly.
2638         Make a queue by default only 5 buffers deep. We will now increase the
2639         buffer size depending on the filledness of the other queues.
2640         Factor out commong flush code.
2641         Make sure we don't add additional refcounts to buffers when we can avoid
2642         it.
2643         Propagate GstFlowReturn differently.
2644         Use GSlice for intermediate GstMultiQueueItems.
2645         Keep track of EOS.
2646         Resize queues on over and underruns based on filled level of other
2647         queues.
2648         When checking if the queue is filled, prefer to measure in time if we
2649         can and fall back to bytes when no time is known.
2650
2651         * plugins/elements/gstqueue.c:
2652         Fix return value.
2653
2654 2007-06-15  Wim Taymans  <wim@fluendo.com>
2655
2656         * libs/gst/base/gstbasetransform.c:
2657         (gst_base_transform_sink_event):
2658         Work around the brokenness of the event vmethod in basetransform. Prefer
2659         to return TRUE when the subclass returned FALSE (meaning don't forward
2660         the event). 
2661
2662         * libs/gst/base/gstbasetransform.h:
2663         Clarify the docs.
2664
2665 2007-06-15  Wim Taymans  <wim@fluendo.com>
2666
2667         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2668         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2669         (gst_base_src_default_query), (gst_base_src_get_range),
2670         (gst_base_src_start):
2671         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2672         Improve debugging.
2673
2674 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2675
2676         * docs/pwg/advanced-types.xml:
2677           Added more formats to caps table.
2678
2679 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2680
2681         * tools/gst-launch.c: (main):
2682           Remove crufy code. GOption does not need this workaround.
2683
2684 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2685
2686         * libs/gst/controller/gstcontroller.c:
2687         (gst_controlled_property_set_interpolation_mode):
2688           Fix wrong getter for enums in controller.
2689
2690 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2691
2692         * libs/gst/check/gstcheck.c: (gst_check_init):
2693           Intercept criticals and warnings in the Gst-Phonon log domain, so
2694           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2695           well.
2696         
2697 2007-06-14  Edward Hervey  <edward@fluendo.com>
2698
2699         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2700         Since this file doesn't include "gst.h" it will not go through the
2701         macros that disable GST_LOG if debugging was disabled.
2702
2703 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2704
2705         * libs/gst/check/Makefile.am:
2706         * libs/gst/check/gstcheck.h:
2707         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2708         * pkgconfig/gstreamer-check.pc.in:
2709           Ugly 'fix' for the controller unit test on the p5 bot: in
2710           fail_unless_equals_float() check whether the values are 'almost
2711           equal' by allowing a small absolute error, which should be good
2712           enough for our use cases (normal numbers and values close to 0).
2713           Proper fixage left to floating point arithmetic aficionados.
2714
2715 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2716
2717         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2718         (gst_base_sink_render_object), (gst_base_sink_get_position):
2719           Add two breaks thats where missing.
2720
2721 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2722
2723         * docs/libs/gstreamer-libs-sections.txt:
2724         * libs/gst/check/gstcheck.h:
2725           API: add fail_unless_equals_float() and assert_equals_float().
2726           Add documentation for some of the macros.
2727
2728         * tests/check/libs/controller.c: (GST_START_TEST):
2729           Use newly-added asserts.
2730
2731 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2732
2733         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2734           Show the caps change in the log to help spotting the case of not
2735           exactly matching caps.
2736
2737 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2738
2739         * docs/pwg/building-boiler.xml:
2740           Fix typos, spotted by Thijs Vermeir (#447190).
2741
2742 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2743
2744         * docs/plugins/tmpl/.cvsignore:
2745         Ignore file to keep the buildbots happy
2746
2747 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2748
2749         * docs/plugins/Makefile.am:
2750         * docs/plugins/gstreamer-plugins-docs.sgml:
2751         * docs/plugins/gstreamer-plugins-sections.txt:
2752         Pull fdsink into the docs too.
2753
2754 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
2755
2756         * libs/gst/controller/gstinterpolation.c:
2757         Actually use the new functions with min/max checks for the trigger and
2758         none interpolation modes for get() and get_value_array() instead of
2759         just the latter.
2760
2761 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
2762
2763         * libs/gst/controller/gstcontroller.c:
2764         (gst_controlled_property_free):
2765         Unset the minimum and maximum GValues when freeing the corresponding
2766         GstControllerProperty struct.
2767
2768 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
2769
2770         * libs/gst/controller/gstcontroller.c:
2771         (gst_controlled_property_new):
2772         * libs/gst/controller/gstcontrollerprivate.h:
2773         * libs/gst/controller/gstinterpolation.c:
2774         (gst_controlled_property_find_control_point_node),
2775         (interpolate_none_get), (interpolate_none_get_enum_value_array),
2776         (interpolate_none_get_string_value_array),
2777         (interpolate_trigger_get),
2778         (interpolate_trigger_get_enum_value_array),
2779         (interpolate_trigger_get_string_value_array):
2780         Protect against values larger or smaller than the minimum or maximum
2781         allowed value for the property when using values that can be compared.
2782
2783         Optimize trigger interpolator a bit by taking the last requested value
2784         into account instead of always looping through the complete list.
2785
2786         Fix coding style a bit, everywhere else we use "return foo" instead
2787         of "return (foo)".
2788         
2789         * tests/check/libs/controller.c: (GST_START_TEST),
2790         (gst_controller_suite):
2791         Add unit test for the protection against too large or too small
2792         values.
2793
2794 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
2795
2796         * docs/random/slomo/controller.txt:
2797         Add some thoughts about the future of the controller.
2798
2799 2007-06-08  Wim Taymans  <wim@fluendo.com>
2800
2801         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2802         Don't overflow in retimestamping code.
2803
2804 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
2805
2806         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2807         Use gst_util_guint64_to_gdouble for conversions.
2808         * win32/common/libgstreamer.def:
2809         Add new exported functions.
2810
2811 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
2812
2813         * gst/gstutils.c:
2814           Small docs addition.
2815
2816 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2817
2818         * README:
2819           Remove that test line again.
2820
2821 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2822
2823         * README:
2824           Test commit mail sending.
2825
2826 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2827
2828         * configure.ac:
2829           Fix typo and test commit mail sending.
2830
2831 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2832
2833         * tests/examples/controller/audio-example.c:
2834           Improve comment and test commit mail sending.
2835
2836 2007-06-07  Wim Taymans  <wim@fluendo.com>
2837
2838         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2839         (gst_bin_remove_func), (gst_bin_element_set_state),
2840         (bin_handle_async_start), (bin_handle_async_done),
2841         (gst_bin_handle_message_func):
2842         Add helper function to find messages.
2843         Generate the async-done messages together with the state change
2844         messages.
2845         Small cleanups in handling toplevel bins.
2846
2847 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2848
2849         * libs/gst/base/gstdataqueue.c:
2850         * libs/gst/base/gstdataqueue.h:
2851         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2852         (gst_multi_queue_item_new), (gst_multi_queue_chain),
2853         (gst_multi_queue_sink_event):
2854         * tests/check/elements/multiqueue.c: (multiqueue_suite):
2855           Fix multiqueue leaking buffers and events when downstream or the
2856           queue are flushing. Make refcounting assumptions explicit and
2857           document them (shouldn't break existing code that uses it other than
2858           maybe leak miniobjects, but that already happens anyway). Add unit
2859           test for the most common flushing case. Fixes #423700.
2860           
2861 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2862
2863         * libs/gst/controller/gstcontroller.c:
2864         Clarify docs: The get_all, get_value_array(s) functions
2865         don't modify the GObject properties.
2866
2867 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2868
2869         * libs/gst/controller/gstcontroller.c:
2870         (gst_controlled_property_set_interpolation_mode),
2871         (gst_controlled_property_prepend_default),
2872         (gst_controlled_property_new), (gst_controller_set_unlocked),
2873         (gst_controller_set), (gst_controller_set_from_list),
2874         (gst_controller_unset), (gst_controller_unset_all):
2875         * libs/gst/controller/gstcontrollerprivate.h:
2876         * libs/gst/controller/gstinterpolation.c:
2877         Factor out the 'set' logic into gst_controller_set_unlocked for the
2878         gst_controller_set and gst_controller_set_from_list functions.
2879
2880         To make life of the interpolators easier always add a control point
2881         at timestamp zero with the default value.
2882
2883         In the linear interpolator make things more obvious by better variable
2884         naming (slope).
2885
2886         Implement cubic interpolation mode (by using a natural cubic spline)
2887         and map the quadratic interpolation mode to this too (as quadratic
2888         doesn't make much sense, see discussion on the list).
2889
2890         * tests/check/libs/controller.c: (GST_START_TEST),
2891         (gst_controller_suite):
2892         Add unit test for the cubic interpolation mode and check everywhere
2893         if the interpolation mode could be set as expected.
2894
2895 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2896
2897         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2898           Don't use GLib-2.10 functions, we still depend on
2899           GLib-how-old-is-it-again-2.8.
2900
2901 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2902
2903         * docs/gst/gstreamer-sections.txt:
2904         * gst/Makefile.am:
2905         * gst/gst.c:
2906         * gst/gst.h:
2907         * gst/gstparamspecs.c: (_gst_param_fraction_init),
2908         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2909         (_gst_param_fraction_values_cmp),
2910         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2911         * gst/gstparamspecs.h:
2912         * gst/gstvalue.c:
2913         * tests/check/Makefile.am:
2914         * tests/check/gst/.cvsignore:
2915         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2916         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2917         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2918         (GST_START_TEST), (gst_param_spec_suite):
2919           API: add GstParamSpecFraction, so elements can have fraction
2920           properties without lots of painful string parsing (#444648).
2921
2922 2007-06-05  Wim Taymans  <wim@fluendo.com>
2923
2924         * gst/gstobject.c: (gst_object_class_init):
2925         Fix signal signature.
2926
2927         * gst/gstsegment.c:
2928         Add small clarification in the api docs.
2929
2930         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2931         States are protected with object lock.
2932
2933 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2934
2935         * AUTHORS:
2936         I should probably be listed as an author by now.
2937
2938         * docs/random/release:
2939         Update the release doc
2940
2941 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
2942
2943         * gst/gstvalue.c:
2944           Make docs for gst_value_compare() mention return enums that
2945           actually exist.
2946
2947 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2948
2949         * configure.ac:
2950           Back to CVS
2951
2952 === release 0.10.13 ===
2953
2954 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
2955
2956         * configure.ac:
2957           releasing 0.10.13, "With or without you"
2958
2959 2007-05-25  Wim Taymans  <wim@fluendo.com>
2960
2961         * gst/gstbin.c: (bin_handle_async_done):
2962         Make sure that the child bin stops after completing the async state
2963         change so that the parent can continue the state change to PLAYING.
2964         Fixes #441159.
2965
2966 2007-05-25  Wim Taymans  <wim@fluendo.com>
2967
2968         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2969         (unref_data), (gst_collect_pads_remove_pad),
2970         (gst_collect_pads_check_pads):
2971         Use additional refcounting to avoid crashes when dynamically adding and
2972         removing pads. Fixes #420206.
2973
2974 2007-05-24  Wim Taymans  <wim@fluendo.com>
2975
2976         * tools/gst-launch.c: (event_loop):
2977         When buffering goes from a two digit to a single digit number, make sure
2978         to remove the old second digit by writing a blank over it.
2979
2980 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2981
2982         * libs/gst/base/gstdataqueue.c:
2983           Eliminate tabs and trailing comma in enum list; fix some typos.
2984
2985 2007-05-24  Wim Taymans  <wim@fluendo.com>
2986
2987         * tests/check/gst/gstbin.c: (GST_START_TEST):
2988         Allow refcount of 3 and 4 because some state thread might still be busy
2989         with it.
2990
2991 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2992
2993         * plugins/elements/Makefile.am:
2994         * plugins/elements/gstmultiqueue.h:
2995         * plugins/elements/gstqueue.h:
2996           These are not installed headers, no need for padding.
2997
2998 2007-05-24  Wim Taymans  <wim@fluendo.com>
2999
3000         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3001         (gst_bin_continue_func):
3002         Enable latency for next release.
3003         Restore STATE_LOCK around recalc_state that was left out during the
3004         rewrite and could result in racy behaviour when _get_state and
3005         recalc_state are run concurrently. See #440463.
3006
3007 2007-05-23  Wim Taymans  <wim@fluendo.com>
3008
3009         * tests/check/gst/gstsystemclock.c: (store_callback),
3010         (GST_START_TEST):
3011         Improve test_async_order to also work when both timers are already
3012         expired when we get scheduled to check it.
3013
3014 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3015
3016         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
3017         (gst_bin_set_property), (gst_bin_get_property),
3018         (gst_bin_remove_func), (gst_bin_handle_message_func):
3019         * gst/gstbin.h:
3020           'private' is a c++ keyword, let's not use that in header files,
3021           otherwise c++ compilers will throw a tantrum.
3022
3023 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3024
3025         * plugins/elements/gstelements.c:
3026         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
3027         (gst_file_sink_get_current_offset):
3028         * plugins/indexers/gstindexers.c: (plugin_init):
3029           Use #ifdef for HAVE_XYZ for consistency.
3030
3031         * tests/check/Makefile.am:
3032         * tests/check/elements/.cvsignore:
3033         * tests/check/elements/filesink.c: (setup_filesink),
3034         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
3035           Add some unit tests for filesink.
3036
3037 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3038
3039         Patch by: Mark Nauwelaerts <manauw at skynet be>
3040
3041         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3042         (gst_file_sink_query), (gst_file_sink_do_seek),
3043         (gst_file_sink_get_current_offset), (gst_file_sink_render):
3044         * plugins/elements/gstfilesink.h:
3045           Fix position reporting; rename data_written member to current_pos to
3046           reflect its real meaning (fixes #412648).
3047
3048 2007-05-22  Edward Hervey  <edward@fluendo.com>
3049
3050         * docs/gst/gstreamer-sections.txt:
3051         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3052         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
3053         (gst_bin_remove_func), (gst_bin_handle_message_func):
3054         * gst/gstbin.h:
3055         Add a property for bins that handle the state change of their childs.
3056         Fixes #435880
3057
3058 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
3059
3060         * libs/gst/controller/gstinterpolation.c:
3061         Use an array of the correct type when using _get_value_array with
3062         linear interpolation.
3063
3064 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
3065
3066         * gst/gstelement.c (gst_element_requires_clock,
3067           gst_element_provides_clock, gst_element_request_pad,
3068           gst_element_class_set_details, gst_element_class_set_details_simple,
3069           gst_element_default_send_event, gst_element_abort_state,
3070           gst_element_continue_state, gst_element_set_state,
3071           gst_element_set_state_func, iterator_activate_fold_with_resync):
3072         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
3073           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
3074           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
3075           gst_pad_get_range, gst_pad_pull_range):
3076         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
3077           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
3078           GstPadActivateModeFunction, GstPadChainFunction,
3079           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
3080           GstPadFixateCapsFunction, GstPadTemplate):
3081         * gst/gstpipeline.c (gst_pipeline_change_state,
3082           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
3083           gst_pipeline_set_clock, gst_pipeline_auto_clock,
3084           gst_pipeline_get_delay):
3085           Whitespace and docs fixes.
3086
3087 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3088
3089         * libs/gst/controller/gstinterpolation.c:
3090         (interpolate_trigger_get_enum_value_array),
3091         (interpolate_trigger_get_string_value_array):
3092         Add support for retrieving value arrays when using the trigger
3093         interpolation mode. 
3094
3095 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3096
3097         * libs/gst/controller/gstcontroller.c:
3098         (gst_controller_get_value_array):
3099         * libs/gst/controller/gstcontroller.h:
3100         Clarify the docs of gst_controller_get_value_array(): The array where
3101         the values should be written to must be allocated as there seems to be
3102         no way to get the size of a random GType. This doesn't change any
3103         behaviour. Also fix some typos all over the place and remove an unused,
3104         commented function that is not necessary as g_object_set() could be
3105         used instead.
3106         * tests/check/libs/controller.c: (GST_START_TEST),
3107         (gst_controller_suite):
3108         Add unit test for gst_controller_get_value_array().
3109
3110 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
3111
3112         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3113
3114         Disable part of the gst_buffer_try_new_and_alloc test, because
3115         it can happily succeed on 64-bit systems where there's more address
3116         space available.
3117
3118 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3119
3120         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3121         Add unit test for the improved caps checking from bug #421543.
3122
3123 2007-05-21  Wim Taymans  <wim@fluendo.com>
3124
3125         * docs/design/part-synchronisation.txt:
3126         Small addition.
3127
3128         * gst/gstbin.c: (gst_bin_query):
3129         * plugins/elements/gstqueue.c: (apply_segment):
3130         Improve debugging.
3131
3132         * gst/gstmessage.h:
3133         Improve docs.
3134
3135 2007-05-21  Wim Taymans  <wim@fluendo.com>
3136
3137         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3138         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3139         (gst_pad_configure_src):
3140         Added simple version of improved caps checking. It was previously
3141         assumed that a setcaps function would check the validity of the caps but
3142         people prefer us to check caps against the template automatically. 
3143         Fixes #421543.
3144
3145 2007-05-21  Wim Taymans  <wim@fluendo.com>
3146
3147         * libs/gst/base/gstbasetransform.h:
3148         Fix macro for locking/unlocking the transform lock.
3149
3150 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3151
3152         * docs/plugins/tmpl/.cvsignore:
3153           Ignore more.
3154
3155 2007-05-18  Edward Hervey  <edward@fluendo.com>
3156
3157         * plugins/elements/gstqueue.c: (gst_queue_loop):
3158         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3159         for the subtle art of warning a potentially blocking thread that it
3160         should check the source pad return value, and relay the information
3161         upstream.
3162
3163 2007-05-18  Edward Hervey  <edward@fluendo.com>
3164
3165         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3166         Release the queue lock !
3167
3168 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3169
3170         * docs/libs/gstreamer-libs-sections.txt:
3171         Add the two new controller functions to the appropiate places.
3172
3173 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3174
3175         reviewed by: Stefan Kost <ensonic@users.sf.net>
3176
3177         * libs/gst/controller/gstcontroller.c:
3178         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3179         (_gst_controller_get_property), (_gst_controller_set_property),
3180         (_gst_controller_init), (_gst_controller_class_init):
3181         * libs/gst/controller/gstcontroller.h:
3182         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3183         (gst_object_get_control_rate), (gst_object_set_control_rate):
3184         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3185         Add API that provides sync suggestion timestamps for elements that
3186         call gst_object_sync_values() from which those elements can subdivide
3187         their processing loop to get the best results for the controlled
3188         properties. For now it just suggests last_sync + control_rate as
3189         new timestamp but this will be improved in the future.
3190
3191         While doing that change the control-rate property to a GstClockTime
3192         from guint and change it's meaning from samples to nanoseconds as
3193         the GstController doesn't know anything about sampling rate. Strictly
3194         speaking this breaks ABI but as the control-rate property didn't do
3195         anything in the past and as such couldn't be used this should be no
3196         problem.        
3197
3198 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3199
3200         reviewed by: Stefan Kost <ensonic@users.sf.net>
3201
3202         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3203         (gst_controller_unset_all):
3204         * libs/gst/controller/gstcontrollerprivate.h:
3205         * libs/gst/controller/gstinterpolation.c:
3206         (gst_controlled_property_find_control_point_node):
3207         Save last synced value from the list to continue searching from there
3208         in future syncs. This speeds everything up a bit.
3209         
3210 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3211
3212         reviewed by: Stefan Kost <ensonic@users.sf.net>
3213
3214         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3215         (gst_control_point_find), (gst_controlled_property_new),
3216         (gst_control_point_free), (gst_controlled_property_free),
3217         (gst_controller_set), (gst_controller_set_from_list),
3218         (gst_controller_unset), (gst_controller_unset_all),
3219         (gst_controller_sync_values):
3220         * libs/gst/controller/gstcontroller.h:
3221         * libs/gst/controller/gstcontrollerprivate.h:
3222         * libs/gst/controller/gstinterpolation.c:
3223         (gst_controlled_property_find_control_point_node),
3224         (interpolate_none_get), (interpolate_trigger_get):
3225         Add a new private GstControlPoint struct which "inherits" from
3226         GstTimedValue to allow different interpolators to store internal
3227         values next to each control point. From the outside everything is
3228         still a GstControlPoint so we don't loose binary compatibility.
3229         Also fixup all the GValue handling to not leak GValues or list nodes.
3230         * tests/check/libs/controller.c: (GST_START_TEST):
3231         Free the list nodes and GValues in the controller_misc test.
3232
3233 2007-05-17  Edward Hervey  <edward@fluendo.com>
3234
3235         * gst/gstsegment.c:
3236         Small doc fix.
3237
3238 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3239
3240         * gst/gstplugin.c: (gst_plugin_load_file):
3241           If we fail to load a plugin because of unresolved symbols or missing
3242           libraries and spew a warning to stderr, we may just as well mention
3243           which plugin it was that failed to load.
3244
3245 2007-05-13  David Schleef  <ds@schleef.org>
3246
3247         * docs/Makefile.am: the gtk-doc makefile snippet correctly
3248           handles the case when ENABLE_GTK_DOC is false, and installs
3249           the prebuilt documentation.  So gtk-doc subdirs are 
3250           unconditionally enabled.  Fixes: #349099.
3251
3252 2007-05-13  David Schleef  <ds@schleef.org>
3253
3254         * gst/gstutils.h: Reword some documentation.
3255
3256 2007-05-12  David Schleef  <ds@schleef.org>
3257
3258         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3259           do anything with the passed "module" parameter, so remove it.
3260           Allows removal of additional vestigal code.
3261
3262 2007-05-12  David Schleef  <ds@schleef.org>
3263
3264         * gst/gstplugin.c:
3265           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3266           Switch to using g_stat() because it's more portable.
3267
3268 2007-05-12  David Schleef  <ds@schleef.org>
3269
3270         * gst/gst.c:
3271           Add GST_DISABLE_OPTION_PARSING, in order to disable option
3272           parsing for embedded systems.
3273         * gst/gstelementfactory.c:
3274           Allow gst_element_register() to be called with plugin==NULL.
3275           Did nobody notice that static elements were broken?
3276
3277 2007-05-12  Wim Taymans  <wim@fluendo.com>
3278
3279         * tools/gst-launch.c: (event_loop):
3280         Give more interesting info when buffering starts and stops.
3281         Fix case where buffering starts but we fail to update the buffering flag
3282         because the target state is not PLAYING.
3283
3284 2007-05-12  Wim Taymans  <wim@fluendo.com>
3285
3286         * plugins/elements/gstqueue.c: (gst_queue_init),
3287         (gst_queue_finalize), (update_time_level), (apply_segment),
3288         (apply_buffer), (gst_queue_locked_flush),
3289         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3290         (gst_queue_handle_sink_event), (gst_queue_chain),
3291         (gst_queue_push_one), (gst_queue_loop):
3292         * plugins/elements/gstqueue.h:
3293         Refactor an cleanup queue a bit.
3294         Do better time level calculations that also work when the srcpad is not
3295         yet running.
3296         Remove some unneeded debug lines.
3297
3298         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3299         Added testcase for time level measurement.
3300         Try to make some stuff more racefree.
3301
3302 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3303
3304         * gst/gsturi.c: (gst_element_make_from_uri):
3305           Don't leak plugin feature.
3306
3307         * tests/check/Makefile.am:
3308         * tests/check/gst/.cvsignore:
3309         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3310           Add brain-dead unit test.
3311
3312 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3313
3314         Patch by: Jeroen Wouters <woutersj at gmail com>
3315
3316         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3317           Treat protocol strings in a case-insensitive way (#437563).
3318
3319 2007-05-11  Michael Smith <msmith@fluendo.com>
3320
3321         * gst/gstplugin.c: (gst_plugin_load_file):
3322         * gst/gstregistry.c: (gst_registry_scan_path_level):
3323           Don't print a g_warning for any failure to load a shared object.
3324           Instead, push this down into gstplugin.c, and warn _only_ if we
3325           failed to open the module (i.e. failure to link).
3326           Avoids warnings on normal, working, non-plugin .so files.
3327
3328 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
3329
3330         * gst/gstplugin.c (gst_plugin_load_file):
3331         * gst/gstregistry.c (GST_CAT_DEFAULT,
3332           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3333           Print a g_warning if there was an error when loading a plugins during
3334           registry scan. The shuld help beginners starting with gst-plugin
3335           template.
3336
3337 2007-05-10  Wim Taymans  <wim@fluendo.com>
3338
3339         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3340         (update_time_level), (gst_queue_locked_flush),
3341         (gst_queue_handle_sink_event), (gst_queue_chain),
3342         (gst_queue_push_one), (gst_queue_loop):
3343         * plugins/elements/gstqueue.h:
3344         Be smarter when calculating the current amount of data in the queue by
3345         measuring the difference between start and end timestamps (in running
3346         time) inside the queue. Fixes #432876.
3347         API: GstQueue::pushing to notify elements that we are pushing data again
3348         since the running signal is rather broken for this purpose.
3349
3350 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
3351
3352         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3353           gst_queue_base_init, gst_queue_init):
3354           use GST_BOILERPLATE
3355
3356 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
3357
3358         * win32/common/libgstreamer.def:
3359         Add new exported functions.
3360         * win32/vs6/grammar.dsp:
3361         Use grammar pre-generated files.
3362
3363 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3364
3365         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
3366
3367         * gst/Makefile.am:
3368         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3369         * gst/gstparse.h:
3370         * gst/gstutils.c: (gst_parse_bin_from_description):
3371         * gst/gstutils.h:
3372           Maintain API and ABI when --disable-parse is used. Now that
3373           we have an appropriate error code, we can just return NULL and the
3374           appropriate error when gst_parse_launch() is used despite it having
3375           been disabled (#342564).
3376
3377         * tests/check/Makefile.am:
3378         * tests/check/pipelines/.cvsignore:
3379         * tests/check/pipelines/parse-disabled.c:
3380           Make sure these functions exist and return NULL plus a GError when
3381           --disable-parse is used.
3382
3383 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3384
3385         * tests/benchmarks/complexity.c: (main):
3386         * tests/benchmarks/mass-elements.c: (main):
3387           Set a good example and don't leak messages.
3388
3389 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
3390
3391         * docs/gst/Makefile.am:
3392         * docs/libs/Makefile.am:
3393           Correct fixxrefs options.
3394
3395         * docs/plugins/Makefile.am:
3396         * docs/plugins/gstreamer-plugins-docs.sgml:
3397         * docs/plugins/gstreamer-plugins-sections.txt:
3398         * plugins/elements/Makefile.am:
3399         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3400         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3401           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3402           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3403           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3404           _GstCapsFilterClass, trans_class):
3405         * plugins/elements/gstelements.c (name, rank, type, _elements):
3406         * plugins/elements/gstidentity.c
3407           (gst_identity_check_imperfect_timestamp,
3408           gst_identity_check_imperfect_offset):
3409           Document capsfilter and add doc-blurb to identity.
3410
3411 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3412
3413         * libs/gst/controller/gstcontroller.c:
3414         (gst_controlled_property_set_interpolation_mode):
3415         * libs/gst/controller/gstinterpolation.c:
3416           Don't crash if someone tries to set an interpolation mode that
3417           is invalid or that isn't supported yet. Fixes #422295.
3418
3419         * tests/check/libs/controller.c: (GST_START_TEST),
3420         (gst_controller_suite):
3421           Add a test case for the above.
3422
3423 2007-05-03  Edward Hervey  <edward@fluendo.com>
3424
3425         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3426         Properly set the last_stop position on GstSegment. This will only happen
3427         if there is a buffer to push out.
3428
3429 2007-05-03  Wim Taymans  <wim@fluendo.com>
3430
3431         * libs/gst/base/gstbasetransform.c:
3432         (gst_base_transform_buffer_alloc):
3433         always_in_place does not mean that the sink and source caps are the
3434         same! Make sure we don't blindly proxy the buffer_alloc in this case.
3435
3436 2007-05-03  Wim Taymans  <wim@fluendo.com>
3437
3438         * docs/libs/gstreamer-libs-sections.txt:
3439         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3440         (gst_base_src_default_query), (gst_base_src_get_range):
3441         * libs/gst/base/gstbasesrc.h:
3442         API: gst_base_src_query_latency(). Added method so that subclasses can
3443         easily get the latency values of the base source class.
3444
3445 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
3446
3447         * tools/gst-inspect.c (print_implementation_info):
3448         Remove 0.8 cruft.
3449
3450 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
3451
3452         * tools/Makefile.am:
3453         * tools/gst-launch.1.in:
3454           Don't create a customised man page based on the host architecture,
3455           describe the default registry path generically. That way the man
3456           page is the same for all architectures and packagers have one
3457           multilib issue less to deal with. Fixes #434926.
3458
3459 2007-05-02  Wim Taymans  <wim@fluendo.com>
3460
3461         * gst/gstpad.c:
3462         Fix documentation as spotted by rg on IRC. 
3463
3464 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
3465
3466         * gst/gstutils.c:
3467           Improve docs for gst_element_{link,unlink}.
3468
3469 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
3470
3471         * docs/design/part-events.txt:
3472         * docs/design/part-overview.txt:
3473         * gst/gstevent.c:
3474         * gst/gsturi.c:
3475         * gst/gsturi.h:
3476         * libs/gst/base/gstbasesink.c:
3477           Typo fixes; minor docs addition.
3478
3479 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3480
3481         * docs/gst/gstreamer-sections.txt:
3482         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3483         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3484         * gst/gsturi.h:
3485         API: Add gst_uri_protocol_is_supported(), which checks if a sink
3486         or src that supports a given URI protocol exists.
3487
3488 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3489
3490         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3491         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3492         Set the location to NULL if "file://" is set as URI. Otherwise
3493         some random previous URI would still be set if "file://" is
3494         set on an already used filesink/filesrc.
3495
3496 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3497
3498         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3499         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3500         Special case the "file://" URI as as this is used by some
3501         applications to test with gst_element_make_from_uri if there's
3502         an element that supports the URI protocol.
3503         Also move the g_path_is_absolute() check for the location part
3504         of the URI to also check this for "file://localhost/bla" URIs.
3505
3506 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
3507
3508         * docs/gst/gstreamer-sections.txt:
3509         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3510         * gst/gstbuffer.h:
3511         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3512         (gst_buffer_suite):
3513           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3514
3515 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
3516
3517         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3518         (gst_registry_binary_load_pad_template),
3519         (gst_registry_binary_load_plugin),
3520         (gst_registry_binary_read_cache):
3521         * gst/gstregistrybinary.h:
3522           Implement no-mmap alternative for registry reading. Do code cleanups.
3523           Add more comments about avoiding strdups for all text data. Comments
3524           welcome.
3525
3526 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3527
3528         * gst/gstregistrybinary.h (GstBinaryPluginElement,
3529           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3530           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3531           Comment structs and reformat to fix the build (that stuff should go
3532           into a priv. header).
3533
3534 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3535
3536         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3537         (gst_registry_binary_load_feature):
3538         * gst/gstregistrybinary.h:
3539           Refactor so that we can implement multiple features. Add support for
3540           TypeFindFactory features.
3541
3542 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
3543
3544         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3545
3546         * configure.ac:
3547           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3548
3549 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
3550
3551         * gst/gstbin.c: (gst_bin_element_set_state),
3552         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3553         (bin_handle_async_done), (gst_bin_handle_message_func):
3554           Fix build with --gst-disable-gst-debug
3555
3556 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3557
3558         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3559           Make sure streaming has finished before calling the ::stop() vfunc,
3560           since that vfunc might clear state which is being used in the
3561           streaming thread. This fixes a race that caused crashes in
3562           audioresample when shutting down a pipeline (#420106).
3563
3564 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3565
3566         * docs/gst/gstreamer-sections.txt:
3567           That was one byte missing.
3568
3569 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3570
3571         * configure.ac:
3572         * docs/gst/gstreamer-sections.txt:
3573         * gst/Makefile.am:
3574         * gst/gstconfig.h.in:
3575         * gst/gstobject.c: (gst_object_class_init),
3576         (gst_signal_object_class_init):
3577         * gst/gstobject.h:
3578           2nd attempt to have a xml-less build as a joined effort of #413123
3579           and #421480.
3580
3581 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3582
3583         * docs/design/draft-tagreading.txt:
3584           Added open issues/thoughts to draft.
3585
3586 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3587
3588         * gst/parse/grammar.tab.pre.c:
3589         * gst/parse/grammar.tab.pre.h:
3590         * gst/parse/lex._gst_parse_yy.pre.c:
3591         Update the prebuild parser sources.
3592
3593 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3594
3595         * gst/parse/Makefile.am:
3596         And now fix the building of the flex sources. Now everything should
3597         work as expected.
3598
3599 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3600
3601         * gst/parse/Makefile.am:
3602         Now hopefully fix the build failures by setting proper rule
3603         dependencies and moving instead of copying.
3604
3605 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3606
3607         * tests/benchmarks/complexity.gnuplot:
3608         * tests/benchmarks/complexity.scm:
3609         * tests/benchmarks/mass-elements.gnuplot:
3610         * tests/benchmarks/mass-elements.scm:
3611           Total licensification.
3612
3613 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3614
3615         * gst/parse/Makefile.am:
3616           Fix the build by correcting the rule that gave wrong files to flex.
3617
3618 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3619
3620         * tests/benchmarks/complexity.c:
3621         * tests/benchmarks/mass-elements.c:
3622           Change licence to LGPL as granted by Benjamin and Andy.
3623
3624 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3625
3626         * gst/parse/Makefile.am:
3627         Add correct grammar.tab.h dependency if compiling without new enough
3628         flex. Fixes #431150.
3629
3630 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3631
3632         * gst/parse/Makefile.am:
3633         Fix typo and use outdated sources if the flex/bison sources are newer
3634         than the pregenerated ones but flex is too old. Print a warning in
3635         that case. This should fix the build on the build bot.
3636
3637 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3638
3639         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3640         * gst/parse/Makefile.am:
3641         * gst/parse/grammar.y:
3642         * gst/parse/parse.l:
3643         Make the parser reentrant and recursively callable. This requires flex
3644         >= 2.5.31, for older versions pregenerated sources are used as we
3645         can't bump the build dependency. Finally fixes #349180.
3646
3647         * gst/gstparse.c: (gst_parse_launch):
3648         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3649         now anyway.
3650
3651         * docs/gst/Makefile.am:
3652         * docs/gst/Makefile.am:
3653         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3654         (__gst_parse_strfree), (__gst_parse_link_new),
3655         (__gst_parse_link_free), (__gst_parse_chain_new),
3656         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3657         (gst_parse_element_set), (gst_parse_free_link),
3658         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3659         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3660         (_gst_parse_launch):
3661         * gst/parse/grammar.tab.pre.h:
3662         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3663         (yy_get_previous_state), (yy_try_NUL_trans), (input),
3664         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3665         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3666         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3667         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3668         (_gst_parse_yypop_buffer_state),
3669         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3670         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3671         (yy_fatal_error), (_gst_parse_yyget_extra),
3672         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3673         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3674         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3675         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3676         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3677         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3678         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3679         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3680         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3681         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3682         (_gst_parse_yyfree):
3683         If the installed flex version is too old use pre-generated parser
3684         sources. These pre-generated parser sources are always updated when
3685         the actual flex/bison sources change but require everybody who wants
3686         to change something in the parser to have flex >= 2.5.31 installed.
3687
3688 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
3689
3690         * common/m4/gst-gettext.m4:
3691         * gst/gst-i18n-lib.h:
3692           Make --disable-nls to work
3693
3694 2007-04-17  Wim Taymans  <wim@fluendo.com>
3695
3696         * gst/gstconfig.h.in:
3697         Revert previous change that broke the build.
3698
3699 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
3700
3701         * configure.ac:
3702         * gst/Makefile.am:
3703         * gst/gstconfig.h.in:
3704           Drop libxml2 dependency when building with 
3705           --enable-binary-registry --disable-loadsave
3706
3707 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
3708
3709         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3710         (gst_registry_binary_read_cache):
3711         * gst/gstregistrybinary.h:
3712           Remove unnecessary <sys/mman.h> include which broke the win32 build
3713           with MingW; move includes from header file to .c file, even if the
3714           header file isn't installed; use g_strerror() where UTF-8 strings
3715           are expected, such as in GST_DEBUG messages.
3716
3717 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3718
3719         * docs/libs/gstreamer-libs-sections.txt:
3720         Remove bogus addition for API I didn't end up keeping.
3721
3722         * libs/gst/base/gstbasesrc.h:
3723         Mention Since: 0.10.13 in the documentation.
3724
3725         Add the API keyword to the previous ChangeLog entry.
3726
3727 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3728
3729         * docs/libs/gstreamer-libs-sections.txt:
3730         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3731         (gst_base_src_default_prepare_seek_segment),
3732         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3733         * libs/gst/base/gstbasesrc.h:
3734         Allow basesrc derived classes to execute seeks in other formats
3735         by providing a prepare_seek_segment vmethod. Sub-classes can choose
3736         to prepare the GstSegment in any format that their perform_seek method
3737         will be able to understand. The default implementation provides the
3738         old behaviour of attempting to convert the seek offsets to the 
3739         configured native format.
3740
3741         API: basesrc::prepare_seek_segment vmethod.
3742
3743 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3744
3745         * gst/gstelement.c: (gst_element_get_state_func):
3746         Don't output the same debug statement twice.
3747
3748         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3749         (gst_adapter_peek), (gst_adapter_take_buffer):
3750         Optimise the case where we have buffers at the head of the queue that
3751         can be joined quickly (because they're contiguous sub-buffers) by
3752         merging them together rather than copying data out into new memory.
3753
3754         * gst/parse/grammar.y:
3755         * tests/check/pipelines/parse-launch.c:
3756         Fix a leak in an error path for parse_launch, and add a check 
3757         for it to the testsuite.
3758
3759 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3760
3761         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3762           Don't deadlock when releasing a pad - gst_pad_set_active may try
3763           and take the multiqueue lock too.
3764
3765 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3766
3767         * gst/gsterror.c: (_gst_core_errors_init):
3768         * gst/gsterror.h:
3769           API: add GST_CORE_ERROR_DISABLED (#392804).
3770
3771 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3772
3773         * docs/faq/gst-uninstalled:
3774           don't get empty paths on the PATH variables
3775         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3776           Don't format for the uncommon terminal width of 84 characters.
3777
3778 2007-04-06  Wim Taymans  <wim@fluendo.com>
3779
3780         * gst/gstpipeline.c: (reset_stream_time),
3781         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3782         Only try to select a different pipeline clock when we went back to
3783         PAUSED and not when we merely got flushed.
3784
3785 2007-04-05  Michael Smith  <msmith@fluendo.com>
3786
3787         * tools/gst-launch.1.in:
3788           fractions are better supported in gstreamer than ractions, so
3789           suggest using those.
3790
3791 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3792
3793         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3794
3795         * po/LINGUAS:
3796         * po/da.po:
3797           Added Danish translation.
3798
3799 2007-04-05  Wim Taymans  <wim@fluendo.com>
3800
3801         * libs/gst/base/gstbasesink.c:
3802         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3803         Fix leak caused when refusing newsegment after EOS.
3804
3805         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3806         (gst_fake_sink_init), (gst_fake_sink_set_property),
3807         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3808         (gst_fake_sink_render), (gst_fake_sink_change_state):
3809         * plugins/elements/gstfakesink.h:
3810         Add num-buffers property to make the element generate EOS after a
3811         configurable amount of buffers.
3812         API: fakesink::num-buffers property.
3813
3814         * tests/check/elements/fakesink.c: (GST_START_TEST),
3815         (fakesink_suite):
3816         Fix GstBus leak in test.
3817         Test for fakesink num-buffers.
3818
3819 2007-04-05  Wim Taymans  <wim@fluendo.com>
3820
3821         * libs/gst/base/gstbasesink.c:
3822         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3823         (gst_base_sink_change_state):
3824         Don't accept anything after an EOS, return UNEXPECTED instead.
3825
3826         * tests/check/elements/fakesink.c: (GST_START_TEST),
3827         (fakesink_suite):
3828         Unit test for new EOS behaviour.
3829
3830 2007-04-05  Wim Taymans  <wim@fluendo.com>
3831
3832         * gst/gstelement.c: (gst_element_get_request_pad):
3833         Make padtemplates also work when they don't contain %s or %d.
3834
3835 2007-04-05  Wim Taymans  <wim@fluendo.com>
3836
3837         * docs/gst/gstreamer-sections.txt:
3838         * gst/gstclock.c: (gst_clock_adjust_unlocked),
3839         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3840         * gst/gstclock.h:
3841         Improve _adjust_unlocked() so that it overflows less.
3842         Add gst_clock_unadjust_unlocked to convert from external time to
3843         internal time based on calibration.
3844         Add some more debug.
3845         API: GstClock::gst_clock_unadjust_unlocked()
3846
3847 2007-04-03  Wim Taymans  <wim@fluendo.com>
3848
3849         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3850
3851         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3852         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3853         when releasing sink pad. Fixes #425400.
3854
3855 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
3856
3857         * docs/random/ensonic/dynlink.txt:
3858           More work on proposal for new core api.
3859
3860         * docs/libs/gstreamer-libs-sections.txt:
3861         * libs/gst/base/gstbasetransform.h:
3862           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3863           
3864         * libs/gst/controller/gstcontroller.c:
3865         (on_object_controlled_property_changed),
3866         (gst_controller_sync_values),
3867         (gst_controller_set_interpolation_mode):
3868         * libs/gst/controller/gstcontroller.h:
3869           Less verbose logging add docs for unimplemented parts and correctly
3870           return when using unavailable parts.
3871
3872 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3873
3874         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3875         Move all the debug to the CLOCK category, and associate it with
3876         the clock object.
3877
3878 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3879
3880         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3881         Make take_buffer a bit quicker by removing redundant checks
3882         caused by calling gst_adapter_take.
3883
3884 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3885
3886         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3887           Don't leak GCond.
3888
3889         * tests/check/Makefile.am:
3890         * tests/check/elements/.cvsignore:
3891         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3892         (GST_START_TEST), (multiqueue_suite):
3893           Add some dead simple unit tests for the 'multiqueue' element
3894           (some bits don't work yet and are disabled for now).
3895
3896 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3897
3898         * gst/gstelement.c: (gst_element_get_request_pad),
3899         (gst_element_class_get_request_pad_template):
3900           Make gst_element_get_request_pad() create request pads only for
3901           request pad templates and not for, say, sometimes pad templates.
3902
3903 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
3904
3905         * docs/design/draft-klass.txt:
3906           Add example that needs more thinking.
3907         
3908         * docs/design/draft-missing-plugins.txt:
3909           More thoughts about wrapper plugins.
3910         
3911         * docs/random/ensonic/embedded.txt:
3912         * docs/random/ensonic/profiling.txt:
3913           More design work.
3914
3915 2007-03-25  Wim Taymans  <wim@fluendo.com>
3916
3917         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3918         (gst_base_src_loop):
3919         Only push the segment events in the PLAYING state for live sources.
3920
3921 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
3922
3923         * gst/gstpipeline.c: (gst_pipeline_change_state):
3924         Modify the clock distribution path in PAUSED->PLAYING so that we 
3925         never attempt to choose a new clock unless we're actually leaving
3926         the PAUSED state for the first time. This prevents choosing a
3927         different clock when the state_change gets called for a 2nd time due
3928         to some element doing an async state change.
3929
3930 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3931
3932         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3933         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3934         (gst_pad_chain_unchecked), (gst_pad_push):
3935         Revert last commit. This needs some more thoughts.
3936
3937 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3938
3939         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3940         (gst_pad_chain_unchecked), (gst_pad_push):
3941         Check in set_caps if the caps are compatible with the pad and remove
3942         two functions that are redundant now. Fixes #421543.
3943
3944 2007-03-22  Wim Taymans  <wim@fluendo.com>
3945
3946         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3947         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3948         Unref some more to make valgrind happy.
3949
3950 2007-03-22  Wim Taymans  <wim@fluendo.com>
3951
3952         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3953         (gst_system_clock_id_wait_jitter),
3954         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3955         Fix anoying regression that survived a few releases. When adding an
3956         async entry while blocking on a sync entry, the sync entry will unblock
3957         but still be busy, so it should continue to wait instead of returning
3958         _BUSY to the app.
3959         Add some comments here and there.
3960
3961         * tests/check/gst/gstsystemclock.c: (mixed_thread),
3962         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3963         Add testcase for this.
3964
3965 2007-03-22  Wim Taymans  <wim@fluendo.com>
3966
3967         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3968         Handle errors from the clock sync better, only UNSCHEDULED indicates a
3969         WRONG_STATE and can silently pause the task. All other cases should
3970         error out.
3971
3972 2007-03-22  Wim Taymans  <wim@fluendo.com>
3973
3974         Patch by: Ville Syrjala <syrjala at sci dot fi>
3975
3976         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3977         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
3978         Improve debugging.
3979
3980 2007-03-21  Michael Smith  <msmith@fluendo.com>
3981
3982         * docs/pwg/advanced-types.xml:
3983           Fix some errors in the typefinding docs pointed out on irc.
3984
3985 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
3986
3987         * libs/gst/base/gstbasesrc.c:
3988         Clarify FIXME comment in the face of having added unlock_stop()
3989
3990 2007-03-21  Wim Taymans  <wim@fluendo.com>
3991
3992         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3993         Prepare for release where we warn against possible app breakage in the
3994         case of live pipelines along with an env var to enable/disable live
3995         preroll mode (GST_COMPAT=[no-]live-preroll).
3996
3997 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3998
3999         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
4000         So we should use correct constants for checking for None offset.
4001
4002 2007-03-20  Wim Taymans  <wim@fluendo.com>
4003
4004         * docs/design/part-block.txt:
4005         Mention the fact that the newly switched element should be set to at
4006         least PAUSED.
4007
4008 2007-03-20  Wim Taymans  <wim@fluendo.com>
4009
4010         * gst/gst.c:
4011         Fix compilation with registry disabled as spotted by Saur.
4012
4013 2007-03-20  Wim Taymans  <wim@fluendo.com>
4014
4015         Patch by: Olivier Crete <tester at tester dot ca>
4016
4017         * gst/gstelement.c: (gst_element_sync_state_with_parent):
4018         Look at the pending state too when syncing the element state to the
4019         parent. Fixes #420133.
4020
4021 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
4022
4023         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
4024         (gst_base_sink_change_state):
4025         * libs/gst/base/gstbasesink.h:
4026         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4027         (gst_base_src_default_event), (gst_base_src_unlock_stop),
4028         (gst_base_src_deactivate):
4029         * libs/gst/base/gstbasesrc.h:
4030         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
4031         for sub-classes to correctly clear any state they set trying to
4032         unlock, such as clearing out unlock commands from a command fd.
4033         API: basesrc::unlock_stop
4034         API: basesink::unlock_stop
4035
4036         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
4037         (gst_fd_sink_render), (gst_fd_sink_unlock),
4038         (gst_fd_sink_unlock_stop):
4039         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
4040         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
4041         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
4042
4043         Implement unlock_stop in fdsrc and fdsink.
4044         Implement seeking in fdsrc when a seekable fd is passed, as in
4045         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
4046
4047 2007-03-19  Wim Taymans  <wim@fluendo.com>
4048
4049         Patch by: Evan Nemerson <evan at coeus dash group dot com>
4050
4051         * gst/gstelement.c: (gst_element_class_init):
4052         Fix pad-added and pad-removed signal signatures so that the pad type is
4053         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
4054
4055 2007-03-19  Wim Taymans  <wim@fluendo.com>
4056
4057         * docs/gst/gstreamer-sections.txt:
4058         Add new element field and method.
4059
4060         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4061         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
4062         (gst_bin_recalc_state), (gst_bin_get_state_func),
4063         (gst_bin_element_set_state), (gst_bin_change_state_func),
4064         (gst_bin_continue_func), (bin_bus_handler),
4065         (bin_push_state_continue), (bin_handle_async_start),
4066         (bin_handle_async_done), (gst_bin_handle_message_func):
4067         Make async state changes a bit smarter by using new ASYNC_START and
4068         ASYNC_DONE messages. This reduces the number of times we run the state
4069         recalculation thread.
4070         Don't change state of element with a pending ASYNC_START message.
4071         Deprecate STATE_DIRTY messages.
4072         
4073         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
4074         (gst_element_get_state_func), (gst_element_continue_state),
4075         (gst_element_lost_state), (gst_element_set_state_func),
4076         (gst_element_change_state):
4077         * gst/gstelement.h:
4078         Keep the state that was last set by the app in a new element field.
4079         Don't allow state changes when handling an element event.
4080         Post ASYNC_START and ASYNC_DONE messages.
4081         Change lost_state so that we go to PAUSED and wait for the parent to set
4082         us to PLAYING again (so latency calculation can be performed)
4083         Export gst_element_change_state() method so that subclasses can use it.
4084         API: gst_element_change_state()
4085         API: GST_STATE_TARGET
4086
4087         * gst/gstpipeline.c: (gst_pipeline_class_init),
4088         (reset_stream_time), (gst_pipeline_change_state),
4089         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
4090         Using the new ASYNC_START message we can reset the base_time when
4091         needed. This can then be used to implement base_time redistribution in
4092         flushing seeks so that we can remove the explicit seek handling.
4093         Perform latency query and configuration when going to PLAYING.
4094
4095         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4096         (gst_base_sink_query), (gst_base_sink_change_state):
4097         Post new ASYNC_START/ASYNC_DONE messages.
4098
4099         * tests/check/generic/sinks.c: (GST_START_TEST):
4100         Fix test because the bin will not set the async element to PLAYING right
4101         away.
4102
4103         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4104         Make the message check a little stronger.
4105         Handle ASYNC messages.
4106
4107         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4108         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4109         Expect ASYNC_DONE messages.
4110
4111 2007-03-19  Wim Taymans  <wim@fluendo.com>
4112
4113         * docs/gst/gstreamer-sections.txt:
4114         * gst/gstmessage.c: (gst_message_new_async_start),
4115         (gst_message_new_async_done), (gst_message_parse_info),
4116         (gst_message_parse_async_start):
4117         * gst/gstmessage.h:
4118         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4119         support.
4120
4121 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4122
4123         * tools/gst-inspect.c:
4124         (print_plugin_automatic_install_info_codecs):
4125           Now that we don't check for the 'Codec' keyword any longer in the
4126           klass, we shouldn't spew a warning if the klass isn't a decoder or
4127           encoder (since it might be a Source/Network, for example).
4128
4129 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4130
4131         * tools/gst-inspect.c:
4132         (print_plugin_automatic_install_info_codecs):
4133           Don't require decoder/demuxer/depayloader elements or
4134           encoder/muxer/paylader elements to have 'Codec' as part of their
4135           factory class string when introspecting a plugin's capabilities.
4136           draft-klass.txt mentions that it might be removed in future, and
4137           flump3dec doesn't have it as part of its class string, so chances
4138           are others might also not have it.
4139
4140 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4141
4142         * po/af.po:
4143         * po/az.po:
4144         * po/bg.po:
4145         * po/ca.po:
4146         * po/cs.po:
4147         * po/de.po:
4148         * po/en_GB.po:
4149         * po/fr.po:
4150         * po/it.po:
4151         * po/nb.po:
4152         * po/nl.po:
4153         * po/ru.po:
4154         * po/sq.po:
4155         * po/sr.po:
4156         * po/sv.po:
4157         * po/tr.po:
4158         * po/uk.po:
4159         * po/vi.po:
4160         * po/zh_CN.po:
4161         * po/zh_TW.po:
4162           Update translations from translation project
4163
4164 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
4165
4166         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4167         (gst_child_proxy_set_property):
4168           Invert precondition check to be alike the ones in the mimiced gobject
4169           api.
4170
4171 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
4172
4173         * docs/design/draft-tagreading.txt:
4174         * docs/random/ensonic/audiobaseclasses.txt:
4175           Do some Architect work.
4176
4177         * gst/gstobject.c: (gst_object_set_name):
4178           Add a WARNING.
4179
4180         * gst/gstpad.c:
4181           Add docs that point from gst_pad_get_range to gst_pad_pull_range
4182
4183 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
4184
4185         * gst/gstsystemclock.c: (gst_system_clock_init),
4186         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4187         Defer starting the async system clock thread until the first async
4188         wait is scheduled. Fixes #414986.
4189
4190 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4191
4192         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4193         (gst_single_queue_free):
4194           Fix small leak (free GstSingleQueue structure too, not only contents).
4195
4196 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
4197
4198         * gst/gstbin.c:(gst_bin_add):
4199         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4200         * win32/common/libgstbase.def:
4201         * win32/common/libgstreamer.def:
4202         Add new exported functions.
4203
4204 2007-03-09  Wim Taymans  <wim@fluendo.com>
4205
4206         * docs/plugins/gstreamer-plugins-sections.txt:
4207         Fix GstTee docs.
4208
4209 2007-03-09  Wim Taymans  <wim@fluendo.com>
4210
4211         * docs/gst/gstreamer-sections.txt:
4212         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4213         * gst/gstbuffer.h:
4214         Add metadata copy functions. Fixes #393099.
4215         API: gst_buffer_copy_metadata()
4216
4217         * gst/gstutils.c: (gst_buffer_stamp):
4218         * libs/gst/base/gstbasetransform.c:
4219         (gst_base_transform_prepare_output_buffer):
4220         Use new metadata copy functions.
4221
4222 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4223
4224         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4225         (gst_identity_init), (gst_identity_check_perfect),
4226         (gst_identity_check_imperfect_timestamp),
4227         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4228         (gst_identity_set_property), (gst_identity_get_property):
4229         * plugins/elements/gstidentity.h:
4230         Separate out check-imperfect-timestamp and check-imperfect-offset.
4231         Put back check-perfect as it was to keep compatibility.
4232
4233 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
4234
4235         * gst/gstelement.c: (gst_element_dispose):
4236         There's no need to warn if VOID_PENDING is not NONE here, as
4237         long as the state is NULL it's ok, and that's checked immediately
4238         above.
4239
4240 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4241
4242         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4243         Fix check for perfect stream to ignore buffers with -1 
4244         offsets/offset ends when checking data contiguity.
4245
4246 2007-03-08  Wim Taymans  <wim@fluendo.com>
4247
4248         * tools/gst-launch.c: (event_loop):
4249         Print INFO messages.
4250
4251 2007-03-08  Wim Taymans  <wim@fluendo.com>
4252
4253         * libs/gst/base/gstbasetransform.c:
4254         (gst_base_transform_sink_eventfunc),
4255         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4256         (gst_base_transform_activate):
4257         * libs/gst/base/gstbasetransform.h:
4258         Add support for dropping buffers with custom GstFlowReturn.
4259         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4260         buffers or dropped buffers.
4261
4262         * docs/libs/gstreamer-libs-sections.txt:
4263         docs for new custom return code.
4264
4265         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4266         Use drop support in base class to implement drop-probability.
4267
4268 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4269
4270         * gst/gst.c: (load_plugin_func):
4271         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4272         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4273         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4274           Remove newlines at end of debug log strings.
4275
4276 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4277
4278         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4279         Only post bus message at max, once per buffer received.
4280
4281 2007-03-07  Wim Taymans  <wim@fluendo.com>
4282
4283         * docs/design/Makefile.am:
4284         * docs/design/part-synchronisation.txt:
4285         Add doc about synchronisation
4286
4287         * docs/design/draft-latency.txt:
4288         * docs/design/part-TODO.txt:
4289         * docs/design/part-clocks.txt:
4290         * docs/design/part-events.txt:
4291         * docs/design/part-gstbus.txt:
4292         * docs/design/part-gstpipeline.txt:
4293         * docs/design/part-live-source.txt:
4294         * docs/design/part-messages.txt:
4295         * docs/design/part-overview.txt:
4296         * docs/design/part-streams.txt:
4297         * docs/design/part-trickmodes.txt:
4298         Documentation updates.
4299
4300 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4301
4302         * gstreamer.doap:
4303         Update the doap file.
4304
4305 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4306
4307         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4308         Rename non-perfect to imperfect for Mike and for the sanctity of the
4309         language.
4310         Also make sure bus message gets emitted for data-incontiguities.
4311
4312 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4313
4314         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4315         (gst_identity_start):
4316         * plugins/elements/gstidentity.h:
4317         Emit bus message if check-perfect is true and we encounter a
4318         non-perfect stream between 2 consecutive buffers.
4319         Fixes #415394.
4320
4321 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4322
4323         * configure.ac:
4324         Back to CVS
4325
4326 === release 0.10.12 ===
4327
4328 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
4329
4330         * configure.ac:
4331           releasing 0.10.12, "Inevitable Demise"
4332
4333 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
4334
4335         * configure.ac:
4336          Version 0.10.11.2 (0.10.12 pre-release)
4337          Bump libtool versioning.
4338
4339 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
4340
4341         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4342           Log flow-names and not numbers.
4343
4344 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4345
4346         * configure.ac:
4347           Convert to new AG_GST style.
4348
4349 2007-02-28  Wim Taymans  <wim@fluendo.com>
4350
4351         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4352         Don't unref query twice.
4353
4354 2007-02-28  Wim Taymans  <wim@fluendo.com>
4355
4356         * gst/gstvalue.c: (gst_value_transform_object_string),
4357         (_gst_value_initialize):
4358         Implement GstObject -> string transform so we print object names
4359         when serializing GValues containing GstObjects.
4360
4361 2007-02-28  Wim Taymans  <wim@fluendo.com>
4362
4363         * docs/gst/gstreamer-sections.txt:
4364         Add new stuff to docs.
4365
4366 2007-02-28  Wim Taymans  <wim@fluendo.com>
4367
4368         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4369         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4370         (gst_base_sink_change_state):
4371         Improve latency query code.
4372         Don't leak latency events.
4373
4374         * tests/check/gst/gstbin.c: (GST_START_TEST):
4375         Improve debugging.
4376
4377 2007-02-28  Wim Taymans  <wim@fluendo.com>
4378
4379         * gst/gstelement.c: (gst_element_message_full),
4380         (gst_element_get_state_func):
4381         * gst/gstelement.h:
4382         Improve docs a little. Added Since: for new macro.
4383
4384         * gst/gstobject.c: (gst_object_sink):
4385         * gst/gstpipeline.c: (gst_pipeline_change_state),
4386         (gst_pipeline_set_new_stream_time):
4387         * gst/gstpipeline.h:
4388         Improve debugging and docs.
4389
4390         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4391         Improve debugging.
4392
4393 2007-02-28  Wim Taymans  <wim@fluendo.com>
4394
4395         * gst/gstelement.c: (gst_element_message_full),
4396         (gst_element_set_locked_state), (gst_element_get_state_func),
4397         (gst_element_change_state):
4398         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4399         Documentation updates.
4400         Small code cleanups.
4401
4402         * gst/gstmessage.c: (gst_message_new_info),
4403         (gst_message_parse_info):
4404         * gst/gstmessage.h:
4405         API: gst_message_new_info()
4406         API: gst_message_parse_info()
4407         Add INFO message create and parse code.
4408
4409 2007-02-28  Wim Taymans  <wim@fluendo.com>
4410
4411         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4412         (bin_query_latency_done):
4413         Also report the live parameter of a latency query.
4414
4415 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4416
4417         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4418           Copy the current generic/states example from -base and adapt so
4419           we can use the exact same code everywhere.
4420           Check a STATES_IGNORE_ELEMENTS env var which can be used
4421           to ignore certain element factories for this test, which is
4422           what is being done in -base
4423         * tests/check/Makefile.am:
4424           Mention this environment variable.
4425
4426 2007-02-27  Wim Taymans  <wim@fluendo.com>
4427
4428         * docs/gst/gstreamer-sections.txt:
4429         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4430         (gst_bus_timed_pop), (gst_bus_pop):
4431         * gst/gstbus.h:
4432         API: gst_bus_timed_pop()
4433         Implement gst_bus_timed_pop() to do a blocking timed wait for a
4434         message to arrive on the bus.
4435
4436         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4437         (gst_bus_suite):
4438         Two unit tests for new _timed_pop() function.
4439
4440 2007-02-23  Wim Taymans  <wim@fluendo.com>
4441
4442         * gst/gstpipeline.c: (gst_pipeline_change_state),
4443         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4444         Don't ref a NULL clock in _provide_clock_func().
4445         Don't allow an INVALID delay.
4446         Don't try to calculate base_time with an invalid start_time.
4447         Also distribute and notify a NULL clock when it was selected.
4448
4449         * tools/gst-launch.c: (event_loop):
4450         Don't crash when a NULL clock was selected in the pipeline.
4451
4452 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4453
4454         * docs/design/Makefile.am:
4455         * docs/design/draft-missing-plugins.txt:
4456         * docs/random/draft-missing-plugins.txt:
4457           Some small updates: update plugin system identifier prefix
4458           ('gstreamer.net' to 'gstreamer'), mention our new install
4459           API in libgstbaseutils rather than libgimme-codec, add
4460           reference to the online docs.
4461
4462 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4463
4464         * win32/common/config.h:
4465           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
4466           use moap cl ci to only check in what is mentioned in the ChangeLog.
4467
4468 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4469
4470         * docs/gst/gstreamer-sections.txt:
4471         * gst/gstelement.h:
4472           Fix up documentation to link to the correct GstGError section.
4473           Add GST_ELEMENT_INFO macro since someone else added a Info message.
4474
4475 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4476
4477         * tools/gst-launch.c: (event_loop):
4478           Make sure that we actually show the important message part of a
4479           warning message.
4480           No need to check if the gerror is not NULL to free; first of all
4481           g_free accepts NULL; and second the default error handler would
4482           segfault if gerror was NULL.
4483
4484 2007-02-21  Wim Taymans  <wim@fluendo.com>
4485
4486         * docs/gst/gstreamer-sections.txt:
4487         Removed docs as well.
4488
4489 2007-02-21  Wim Taymans  <wim@fluendo.com>
4490
4491         * gst/gstmessage.c: (gst_message_parse_duration):
4492         * gst/gstmessage.h:
4493         Remove new messages for release.
4494
4495 2007-02-20  Wim Taymans  <wim@fluendo.com>
4496
4497         * docs/design/part-gstghostpad.txt:
4498         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4499         (gst_ghost_pad_new_full):
4500         Make the ghostpad a parent of the internal pad again for better backward
4501         compatibility. Don't write code that relies on this however.
4502
4503         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4504         (gst_pad_link_check_hierarchy):
4505         Require that parents should be GstElements in the hierarchy check.
4506
4507 2007-02-20  Wim Taymans  <wim@fluendo.com>
4508
4509         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4510         (gst_bin_change_state_func), (bin_query_min_max_init),
4511         (bin_query_latency_fold), (bin_query_latency_done),
4512         (gst_bin_query):
4513         Improve debug info.
4514         Implement latency query.
4515
4516 2007-02-20  Wim Taymans  <wim@fluendo.com>
4517
4518         * docs/design/part-gstghostpad.txt:
4519         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4520         (gst_ghost_pad_internal_do_activate_push),
4521         (gst_ghost_pad_internal_do_activate_pull),
4522         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4523         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4524         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4525         Do not set the internal pad as a parent anymore so we can avoid
4526         hierarchy linking errors when the ghostpad has no parent yet. This also
4527         fixes failed activation because of unlinked internal pads, which in
4528         turn fixes the impossible case where you have to activate a pad before
4529         you can add it to a running element.
4530         Also fix the docs.
4531
4532         * gst/gstpad.c: (pre_activate), (post_activate),
4533         (gst_pad_set_active), (gst_pad_activate_pull),
4534         (gst_pad_activate_push), (gst_pad_check_pull_range):
4535         Add some more debug info.
4536         Mark activation mode in pre_activate so that we don't try to activate in
4537         endless loops. Fixes #385084.
4538
4539 2007-02-19  Wim Taymans  <wim@fluendo.com>
4540
4541         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4542         (gst_base_transform_check_get_range):
4543         Implement a checkgetrange function instead of relying on the default
4544         core behaviour that assumes we can operate in pull mode if we have a
4545         getrange function. First step at fixing #385084.
4546
4547 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
4548
4549         * gst/gstchildproxy.h:
4550         * libs/gst/base/gstbasesink.h:
4551         * libs/gst/base/gstbasesrc.h:
4552         * libs/gst/base/gstbasetransform.h:
4553         More docs coverage and some ChangeLog surgery (add missing names)
4554
4555 2007-02-15  Wim Taymans  <wim@fluendo.com>
4556
4557         * docs/design/part-TODO.txt:
4558         * docs/design/part-activation.txt:
4559         * docs/design/part-block.txt:
4560         * docs/design/part-buffering.txt:
4561         * docs/design/part-clocks.txt:
4562         * docs/design/part-element-source.txt:
4563         * docs/design/part-events.txt:
4564         * docs/design/part-gstbin.txt:
4565         * docs/design/part-gstbus.txt:
4566         * docs/design/part-gstpipeline.txt:
4567         * docs/design/part-live-source.txt:
4568         * docs/design/part-messages.txt:
4569         * docs/design/part-overview.txt:
4570         * docs/design/part-qos.txt:
4571         * docs/design/part-query.txt:
4572         * docs/design/part-states.txt:
4573         * docs/design/part-trickmodes.txt:
4574         Some doc updates. Start renaming from stream_time to running_time where
4575         it was used wrongly.
4576
4577 2007-02-15  Wim Taymans  <wim@fluendo.com>
4578
4579         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4580         Answer LATENCY query.
4581
4582 2007-02-15  Wim Taymans  <wim@fluendo.com>
4583
4584         * tests/check/gst/gstevent.c: (event_probe), (test_event),
4585         (GST_START_TEST):
4586         Improve debugging.
4587
4588 2007-02-15  Wim Taymans  <wim@fluendo.com>
4589
4590         * gst/gstpad.c: (gst_pad_get_internal_links_default),
4591         (gst_pad_dispatcher):
4592         Improve debugging of default pad dispatcher and query functions.
4593
4594 2007-02-15  Wim Taymans  <wim@fluendo.com>
4595
4596         * docs/gst/gstreamer-sections.txt:
4597         Remove old unused method.
4598
4599 2007-02-13  Wim Taymans  <wim@fluendo.com>
4600
4601         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4602         Fix check
4603
4604 2007-02-13  Wim Taymans  <wim@fluendo.com>
4605
4606         * docs/design/part-seeking.txt:
4607         Some small update.
4608
4609         * gst/gstsegment.c: (gst_segment_set_seek):
4610         Revert old bogus change that should make seeking work again.
4611
4612 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4613
4614         * docs/random/ensonic/dynlink.txt:
4615         * docs/random/ensonic/interfaces.txt:
4616         * docs/random/ensonic/receipies.txt:
4617           Possible dynamic reconnection api, plus some type fixes the other two
4618           docs.
4619
4620 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
4621
4622         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4623         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4624         Also check for an absolute path following file:// in the filesrc
4625         element. Remove redundant check and call g_path_is_absolute() on the
4626         unescaped location.
4627
4628 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4629
4630         * docs/design/draft-klass.txt:
4631           Add existing category analysis.
4632           
4633         * gst/gstcaps.c:
4634           Fix doc example, framerate is a fraction.
4635
4636 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4637
4638         * configure.ac:
4639         * docs/gst/Makefile.am:
4640         * docs/gst/gstreamer-sections.txt:
4641         * docs/libs/Makefile.am:
4642           Erm, forgot a bunch of --extra-dir.
4643
4644 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4645
4646         * configure.ac:
4647         * docs/gst/Makefile.am:
4648         * docs/libs/Makefile.am:
4649         * docs/plugins/Makefile.am:
4650           Add crossreferences to glib/gobject docs.
4651
4652 2007-02-12  Wim Taymans  <wim@fluendo.com>
4653
4654         * docs/design/draft-latency.txt:
4655         Small update.
4656
4657         * docs/libs/gstreamer-libs-sections.txt:
4658         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4659         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4660         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4661         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4662         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4663         (gst_base_sink_get_position), (gst_base_sink_query),
4664         (gst_base_sink_change_state):
4665         * libs/gst/base/gstbasesink.h:
4666         API: gst_base_sink_query_latency() to let subclasses query the upstream
4667         latency.
4668         API: gst_base_sink_get_latency() to let subclasses query the configured
4669         latency in the sink.
4670         Implement query and set latency.
4671         Update some docs.
4672         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4673         don't continue preroll when we are flushing. Fixes #405284.
4674
4675         * tests/check/pipelines/stress.c: (change_state_timeout),
4676         (quit_timeout), (GST_START_TEST), (stress_suite):
4677         Test for #405284.
4678
4679 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4680
4681         Patch by: René Stadler <mail at renestadler de>
4682
4683         * docs/gst/gstreamer-sections.txt:
4684         * gst/gsttaglist.c: (_gst_tag_initialize):
4685         * gst/gsttaglist.h:
4686           API: add GST_TAG_REFERENCE_LEVEL (#403597).
4687
4688 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
4689
4690         * docs/libs/Makefile.am:
4691           Fix path to core docs.
4692
4693         * gst/gstbin.c: (gst_bin_get_by_interface),
4694         (gst_bin_iterate_all_by_interface):
4695           Refix docs by also renaming 'interface' to 'iface' in implementation.
4696
4697         * docs/gst/gstreamer-sections.txt:
4698         * gst/gstcaps.c:
4699         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4700         * gst/gstchildproxy.h:
4701         * gst/gstelementfactory.c:
4702         * gst/gstpadtemplate.h:
4703         * libs/gst/controller/gstcontroller.c:
4704         (gst_controlled_property_new):
4705           Document more.
4706
4707 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
4708
4709         * gst/gstbin.h:(gst_bin_get_by_interface),
4710         (gst_bin_iterate_all_by_interface):
4711         Replace interface parameter name by iface as interface is 
4712         a reserved keyword in Visual Studio for C++ projects so it removes
4713         a build error for application developpers using VS.
4714         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4715         Fix a bug on Windows in uri format check. Now the prefix checked
4716         is file:// and next we check if the path after file:// is absolute.
4717         * win32/common/libgstbase.def:
4718         * win32/common/libgstdataprotocol.def:
4719         * win32/common/libgstgstreamer.def:
4720         Add new exported functions.
4721
4722 2007-02-09  Andy Wingo  <wingo@pobox.com>
4723
4724         * tests/check/pipelines/simple-launch-lines.c
4725         (simple_launch_lines_suite, test_tee): Disable tee test until I
4726         have time to fix it :-(
4727
4728         * tests/check/Makefile.am (noinst_HEADERS): 
4729         * tests/check/libs/libsabi.c: 
4730         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4731         * tests/check/gst/gstabi.c: 
4732         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4733
4734         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4735         tests for push and pull tee behavior.
4736
4737         * plugins/elements/gsttee.h: 
4738         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4739         mark as deprecated as well as unimplemented. It was a crack idea.
4740         Add support for tee operating in pull mode, off by default.
4741
4742         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4743         normal-case logs down to LOG, raise errors to WARNING.
4744         (gst_registry_xml_read_cache): Don't log before calling a function
4745         that logs.
4746
4747         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4748         exit (registry finalize).
4749         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4750         DEBUG log when we emit signals that people don't even have the
4751         chance to connect to.
4752         (gst_registry_scan_path_level): Less logging in the normal case.
4753
4754 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4755
4756         Patch by: Michal Benes <michal dot benes at itonis dot tv>
4757
4758         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4759         Correctly generate EOS for non-seekable files. We don't have a total
4760         length for them and would get an unexpected end of file if we only
4761         special-cased for regular files. (Fixes: #404569)
4762
4763 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4764
4765         * tests/check/elements/filesrc.c: (GST_START_TEST),
4766         (filesrc_suite):
4767         Add unit test for the GstURIHandler interface in filesrc. This also
4768         tests the newly added file://localhost/foo/bar support.
4769
4770 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4771
4772         * gst/gstelementfactory.h:
4773           The klass string is not a hierarchy. Add reference to the design doc
4774           for more information and common types.
4775
4776 2007-02-02  Wim Taymans  <wim@fluendo.com>
4777
4778         * gst/gstquery.c: (gst_query_new_latency):
4779         Remove old structure field.
4780
4781 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
4782
4783         * tools/gst-launch.1.in:
4784           Give example for network streaming (#351998)
4785
4786 2007-02-02  Wim Taymans  <wim@fluendo.com>
4787
4788         * docs/gst/gstreamer-sections.txt:
4789         Add docs for new methods.
4790
4791         * gst/gstevent.c: (gst_event_new_latency),
4792         (gst_event_parse_latency):
4793         * gst/gstevent.h:
4794         Add new LATENCY event to configure latency in a pipeline.
4795         API: gst_event_new_latency
4796         API: gst_event_parse_latency
4797
4798         * gst/gstmessage.c: (gst_message_new_buffering),
4799         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4800         (gst_message_new_latency), (gst_message_parse_buffering),
4801         (gst_message_parse_lost_preroll):
4802         * gst/gstmessage.h:
4803         Added messages used in draft-latency.
4804         API: gst_message_new_lost_preroll
4805         API: gst_message_parse_lost_preroll
4806         API: gst_message_new_prerolled
4807         API: gst_message_new_latency
4808
4809         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4810         (gst_query_parse_latency):
4811         * gst/gstquery.h:
4812         Implemented new latency query as in design doc.
4813         API: gst_query_new_latency
4814         API: gst_query_set_latency
4815         API: gst_query_parse_latency
4816
4817 2007-02-02  Wim Taymans  <wim@fluendo.com>
4818
4819         * docs/design/draft-latency.txt:
4820         Slight redesign to allow for dynamic latency adjustments.
4821
4822         * docs/design/part-negotiation.txt:
4823         Fix some typos.
4824
4825 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4826
4827         reviewed by: Wim Taymans <wim@fluendo.com>
4828
4829         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4830         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4831         Allow file://localhost/foo/bar URLs and correctly fail for every other
4832         hostname that one sets. This was gnomevfssrc is linked for those if
4833         installed as it can handle it (#403172)
4834
4835 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4836
4837         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4838
4839         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4840         (unref_data), (gst_collect_pads_add_pad_full):
4841         * libs/gst/base/gstcollectpads.h:
4842         Don't put the previously added destroy notify in the GstCollectData
4843         struct as all it's padding is already used and we don't want to break
4844         ABI. Instead put in the pad's GObject data for now. This should be
4845         cleaned up for 0.11 (#402393).
4846
4847 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4848
4849         reviewed by: Wim Taymans <wim@fluendo.com>
4850
4851         * docs/libs/gstreamer-libs-sections.txt:
4852         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4853         (unref_data), (gst_collect_pads_add_pad),
4854         (gst_collect_pads_add_pad_full):
4855         * libs/gst/base/gstcollectpads.h:
4856         API: Add function to specify a destroy notification for custom
4857         GstCollectData when adding new pads in GstCollectPads (#402393).
4858
4859 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
4860
4861         * po/sv.po:
4862           Update Swedish translation (#378255).
4863
4864 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4865
4866         * docs/design/draft-klass.txt:
4867           Fix the previous change, this is a list of categories and not a hierarchy.
4868
4869 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4870
4871         * docs/design/draft-klass.txt:
4872           Add info about how to get a list of used classes.
4873
4874 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
4875
4876         * plugins/elements/gsttypefindelement.c:
4877         (gst_type_find_element_chain_do_typefinding),
4878         (gst_type_find_element_change_state):
4879           Don't leak found caps in chain function (no idea why that never
4880           showed up as a leak anywhere).
4881
4882 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
4883
4884         * gst/gstplugin.h:
4885           Fix and expand GstPluginDesc API docs.
4886
4887 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4888
4889         * gst/gstcaps.c:
4890         * gst/gstelementfactory.c:
4891         * gst/gstpadtemplate.h:
4892           api doc fixes
4893
4894         * libs/gst/controller/gstcontroller.c:
4895         (gst_controlled_property_new):
4896         * tests/examples/controller/audio-example.c:
4897           comment fixes
4898
4899 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4900
4901         * configure.ac:
4902           comment about refining the xml deps
4903
4904         * docs/manuals.mak:
4905           comments about moving away from jade for docs
4906         
4907         * gst/gst.c:
4908           recommit the ifdefs to use the binary registry
4909         
4910         * gst/gstbin.c: (gst_bin_change_state_func):
4911           this break is obsolete
4912
4913         * gst/gstelementfactory.h:
4914           better GST_ELEMENT_DETAILS docs, add comment about translation
4915
4916         * gst/gstinfo.h:
4917           remove eol slash
4918
4919         * gst/gstobject.c: (gst_signal_object_get_type):
4920           add G_UNLIKELY as usual
4921
4922         * gst/gstpad.c: (gst_pad_event_default):
4923           add fall trhu comment
4924
4925         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4926         (gst_registry_binary_initialize_magic),
4927         (gst_registry_binary_save_string),
4928         (gst_registry_binary_save_pad_template),
4929         (gst_registry_binary_save_feature),
4930         (gst_registry_binary_save_plugin),
4931         (gst_registry_binary_write_cache),
4932         (gst_registry_binary_check_magic),
4933         (gst_registry_binary_load_pad_template),
4934         (gst_registry_binary_load_feature),
4935         (gst_registry_binary_load_plugin),
4936         (gst_registry_binary_read_cache):
4937           comment typo and formatting
4938
4939         * gst/gstutils.c: (gst_element_state_get_name),
4940         (gst_element_state_change_return_get_name):
4941           remove obsolete breaks
4942
4943         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4944           add FIXME 0.11 and remove cpp comment
4945
4946 2007-01-29  Edward Hervey  <edward@fluendo.com>
4947
4948         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4949         Fix print statement in an even more portable way.
4950
4951 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
4952
4953         * docs/gst/gstreamer-sections.txt:
4954         * gst/gstutils.h:
4955           API: add GST_ROUND_DOWN_* macros (#401781).
4956
4957 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
4958
4959         * docs/gst/gstreamer.types.in:
4960         * gst/gstregistry.c: (gst_registry_class_init):
4961           Document registry signals and make gtk-doc pick them up (#401381).
4962
4963 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4964
4965         * docs/pwg/building-testapp.xml:
4966           Add some audioconverts and audioresample to the pipeline, and some
4967           more comments and error handling.
4968
4969 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4970
4971         * docs/manual/manual.xml:
4972         * docs/pwg/pwg.xml:
4973           Fix typo (#400987).
4974
4975 2007-01-26  Wim Taymans  <wim@fluendo.com>
4976
4977         * gst/gstcaps.c: (gst_static_caps_get):
4978         Init caps flags too.
4979
4980 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
4981
4982         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4983
4984         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4985         If not using mmap'ed files try to seek to the end instead of the
4986         start to determine whether we can seek at all. This fixes the case
4987         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4988         seeks for everything afterwards fail. Fixes #400656
4989
4990 2007-01-25  Wim Taymans  <wim@fluendo.com>
4991
4992         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4993         Add some refcount debugging.
4994         Make gst_static_caps_get threadsafe, which is needed when autoplugging
4995         in multiple streaming threads.
4996
4997 2007-01-25  Wim Taymans  <wim@fluendo.com>
4998
4999         Patch by: David Schleef <ds at schleef dot org>
5000
5001         * docs/libs/gstreamer-libs-sections.txt:
5002         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
5003         * libs/gst/base/gstadapter.h:
5004         API: gst_adapter_copy() that can reduce the amount of memcpy when
5005         getting data from the adapter. Fixes #388201.
5006
5007 2007-01-25  Edward Hervey  <edward@fluendo.com>
5008
5009         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5010         In print statements, "%x" is for guint. Fixes build on macosx.
5011
5012 2007-01-24  Edward Hervey  <edward@fluendo.com>
5013
5014         * plugins/elements/gstmultiqueue.c:
5015         (gst_multi_queue_loop):
5016         Small fix.
5017         (single_queue_overrun_cb), (single_queue_underrun_cb),
5018         (single_queue_check_full), (gst_single_queue_new):
5019         Implement single queue growth system.
5020         This uses the extra-size properties, and will grow single queues by
5021         that much if one goes full whereas there are others empty. This is
5022         called extra-mode in the code.
5023         When a single queue's levels go back below the initial max-size
5024         limits, it is no longer in extra-mode. This is to ensure we don't
5025         consume too much memory.
5026         Fixes #399875
5027
5028 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
5029
5030         * gst/gst.c: (gst_init_get_option_group):
5031           Make warning about late g_thread_init() calls a bit more explicit,
5032           so that it's more obvious to application developers what they need
5033           to do if a user files a bug against their application.
5034
5035 2007-01-22  Edward Hervey  <edward@fluendo.com>
5036
5037         * plugins/elements/gstmultiqueue.c:
5038         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
5039         Remove previous hack of unsetting the flushing flag for the source pad
5040         instead of activating it. Instead, fix the source pad activate function
5041         so that it no longer depends on having a parent set or not.
5042
5043 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
5044
5045         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
5046
5047         * docs/manual/basics-bus.xml:
5048           Fix example code, gst_element_unref() doesn't exist any longer.
5049
5050 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
5051
5052         Patch by: Mark Nauwelaerts <manauw at skynet be>
5053
5054         * gst/gstpad.c:
5055           Fix two docs typoes (#399094).
5056
5057 2007-01-19  Edward Hervey  <edward@fluendo.com>
5058
5059         * docs/faq/gst-uninstalled:
5060         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
5061         depending on libgstbaseutils can work in uninstalled environment.
5062
5063 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
5064
5065         * gst/gsttaglist.h:
5066         * gst/gsttagsetter.c:
5067         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
5068         statement for new tag.
5069
5070 2007-01-17  Edward Hervey  <edward@fluendo.com>
5071
5072         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
5073         When dynamically creating single queues, activate sinkpad before adding
5074         it.
5075         We should be doing the same thing for the source pad, but we can't
5076         since it would call a method which needs the parent to be set in order
5077         to work propertly. Instead of activating the source pad, we just unset
5078         the flushing flag, which is the minimal requirement for adding a pad
5079         to an element in a state greater than READY.
5080
5081 2007-01-17  Edward Hervey  <edward@fluendo.com>
5082
5083         * docs/faq/gst-uninstalled:
5084         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
5085         Mac OS X.
5086
5087 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5088
5089         * tests/check/gst/gstabi.c:
5090         * tests/check/gst/struct_hppa.h:
5091         * tests/check/libs/libsabi.c:
5092         * tests/check/libs/struct_hppa.h:
5093           Add ABI structs for HPPA (see #393796).
5094
5095 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
5096
5097         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5098           Actually write ABI structs to the file specified in the GST_ABI
5099           environment variable, as the message we print claims we would.
5100
5101 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5102
5103         * tests/check/gst/gsttask.c:
5104           Fix header comment.
5105
5106 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5107
5108         * gst/gsttaglist.c: (_gst_tag_initialize):
5109           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5110           previous two entries.
5111
5112 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5113
5114         * docs/gst/gstreamer-sections.txt:
5115         * gst/gsttaglist.c: (_gst_tag_initialize):
5116         * gst/gsttaglist.h:
5117           Add tag support for beat-per-minute.
5118
5119 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5120
5121         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5122         (gst_registry_binary_initialize_magic),
5123         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5124         (gst_registry_binary_save_pad_template),
5125         (gst_registry_binary_save_feature),
5126         (gst_registry_binary_save_plugin),
5127         (gst_registry_binary_write_cache),
5128         (gst_registry_binary_check_magic),
5129         (gst_registry_binary_load_pad_template),
5130         (gst_registry_binary_load_feature),
5131         (gst_registry_binary_load_plugin),
5132         (gst_registry_binary_read_cache):
5133         * gst/gstregistrybinary.h:
5134           Use glib types, cleanup comments, impement interfaces and uri-types.
5135
5136 2007-01-13  Andy Wingo  <wingo@pobox.com>
5137
5138         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5139         getrange() to return buffers with other caps, while we fix
5140         demuxers and typefind, or otherwise change part-negotiation.txt.
5141
5142 2007-01-12  Andy Wingo  <wingo@pobox.com>
5143
5144         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5145         Factor start/stop into this private function instead of partially
5146         in activate functions and partially in the change_state function.
5147         Fixes setup before the element has changed from READY->PAUSED, as
5148         is the case in pull-mode pipelines.
5149         (gst_base_transform_sink_activate_push)
5150         (gst_base_transform_src_activate_pull): Refactor to use
5151         gst_base_transform_activate().
5152         (gst_base_transform_change_state): Removed, not needed any more.
5153
5154         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5155         Truncate before fixating.
5156         
5157         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5158         Don't set_caps() if the result of fixating is ANY, as it's not
5159         supported, and not necessary in the case of a link with no
5160         template caps on either side. Fixes tests/check/libs/basesrc in
5161         some pull-mode tests.
5162
5163         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5164         (gst_base_transform_init, gst_base_transform_sink_activate_push)
5165         (gst_base_transform_src_activate_pull): 
5166         Track the activation mode.
5167         (gst_base_transform_setcaps): In pull mode, when activating the
5168         src pad, after activating the sink pad, activate the sink pad's
5169         peer, as discussed in part-negotiation.txt.
5170
5171         * libs/gst/base/gstbasesrc.h: 
5172         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5173         vmethod, as in basesink.
5174
5175         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5176
5177         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5178         mode, first proxy the setcaps to the peer pad.
5179         (gst_base_sink_pad_fixate): Add a fixate function that calls the
5180         new fixate vmethod.
5181         (gst_base_sink_default_activate_pull): Rename from
5182         gst_base_sink_activate_pull.
5183         (gst_base_sink_negotiate_pull): New function, performs negotiation
5184         in pull mode before calling ::activate_pull().
5185         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5186         vmethod instead of the default implementation. I have no idea how
5187         this worked before. Negotiate before calling activate_pull.
5188
5189         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5190         sink pads in pull mode. In addition to being correct, fixes
5191         filesrc ! decodebin ! identity ! fakesink.
5192         (gst_pad_get_range, gst_pad_pull_range): Don't call
5193         gst_pad_set_caps() if the caps changes; instead error out with
5194         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5195
5196 2007-01-12  Andy Wingo  <wingo@pobox.com>
5197
5198         * docs/design/part-negotiation.txt: Update with more policy.
5199
5200 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5201
5202         * libs/gst/check/gstbufferstraw.h:
5203         * libs/gst/check/gstcheck.h:
5204           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5205           belongs.
5206
5207 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5208
5209         * tests/check/Makefile.am:
5210         * tests/check/gst/.cvsignore:
5211         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5212         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5213         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5214         (GST_START_TEST), (gst_tag_setter_suite):
5215           Add minimal unit test for beforementioned GstTagSetter bug.
5216
5217 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5218
5219         Patch by: René Stadler <mail at renestadler dot de>
5220
5221         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5222           gst_tag_list_merge() returns a new list, so it's not the best idea
5223           to ingore its return value. Effectively meant that tags could only
5224           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5225           Also add function guard to require a non-NULL taglist as input (has
5226           always been so due to gst_tag_list_copy(), just making it explicit).
5227
5228 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5229
5230         * docs/random/draft-missing-plugins.txt:
5231           Some additions: mention new API that is supposed to be used at the
5232           various stages; short blob about new gst-inspect introspection
5233           option; mention potential future problem with plugins that have
5234           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5235
5236 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5237
5238         * tools/gst-inspect.c:
5239         (print_plugin_automatic_install_info_codecs),
5240         (print_plugin_automatic_install_info_protocols),
5241         (print_plugin_automatic_install_info), (main):
5242         Add --print-plugin-auto-install-info option to gst-inspect, so we can
5243         introspect plugin files and get machine-parsable output that corresponds
5244         to the last bit of the missing-plugin installer string (small gotcha:
5245         doesn't take into account ranks).
5246
5247 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
5248
5249         * configure.ac:
5250         * docs/gst/gstreamer-sections.txt:
5251         * gst/Makefile.am:
5252         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5253         (gst_registry_lookup_locked):
5254         * gst/gstregistry.h:
5255         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5256         (gst_registry_binary_initialize_magic),
5257         (gst_registry_binary_save_string),
5258         (gst_registry_binary_save_pad_template),
5259         (gst_registry_binary_save_feature),
5260         (gst_registry_binary_save_plugin),
5261         (gst_registry_binary_write_cache),
5262         (gst_registry_binary_check_magic),
5263         (gst_registry_binary_load_pad_template),
5264         (gst_registry_binary_load_feature),
5265         (gst_registry_binary_load_plugin),
5266         (gst_registry_binary_read_cache):
5267         * gst/gstregistrybinary.h:
5268         * gst/gstregistryxml.c: (load_feature),
5269         (gst_registry_xml_read_cache):
5270           commit binary registry (disabled by default, see #359653)
5271
5272 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5273
5274         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5275           Fix 'make check' too.
5276
5277 2007-01-10  Andy Wingo  <wingo@pobox.com>
5278
5279         * docs/design/part-negotiation.txt: Fix a typo, add a couple
5280         notes.
5281         
5282         * docs/design/part-negotiation.txt: Update with, um, one way that
5283         pull-mode negotiation might work?
5284
5285         * gst/gstpad.h: 
5286         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5287         that the pad must be a src pad; makes sense to call it the other
5288         way in pull mode, and the logic is symmetric anyway.
5289
5290 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5291
5292         * plugins/elements/gstfilesink.c:
5293           Include <stdio.h> for fseeko().
5294
5295 2007-01-10  Wim Taymans  <wim@fluendo.com>
5296
5297         * gst/gstevent.c:
5298         * gst/gstevent.h:
5299         Reserve LATENCY event.
5300
5301 2007-01-09  Wim Taymans  <wim@fluendo.com>
5302
5303         * docs/design/draft-latency.txt:
5304         Updates.
5305
5306 2007-01-09  Wim Taymans  <wim@fluendo.com>
5307
5308         * docs/design/draft-latency.txt:
5309         Updates.
5310
5311         * gst/gstelement.h:
5312         * gst/gststructure.c:
5313         * gst/gsttrace.c:
5314         Small typo fixes.
5315
5316 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5317
5318         * tests/check/.cvsignore:
5319           Ignore test-registry.xml as well.
5320
5321 2007-01-09  Wim Taymans  <wim@fluendo.com>
5322
5323         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5324         unref data at the end when we are done with the pad.
5325
5326 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5327
5328         * docs/gst/gstreamer-sections.txt:
5329         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5330         (init_post), (gst_deinit), (gst_update_registry):
5331         * gst/gst.h:
5332           API: add gst_update_registry() (#391296).
5333
5334         * tests/check/Makefile.am:
5335         * tests/check/gst/gstregistry.c:
5336         * tests/check/gst/.cvsignore:
5337           Simple unit test for the above.
5338
5339 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5340
5341         * gst/gstregistry.c: (gst_registry_scan_path_level):
5342           Plugin extension on HP-UX is .sl, add that to the list of approved
5343           plugin extensions (see #393796).
5344
5345         * tests/check/gst/gstpad.c: (GST_START_TEST):
5346           ulong => gulong. Fixes compilation with HP-UX compiler.
5347
5348         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5349           Fix compilation if valgrind headers are not available.
5350
5351 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
5352
5353         * win32/common/libgstreamer.def: 
5354           Add new exported function.
5355         * win32/vs6/libgstbase.dsp: 
5356           Add gstdataqueue.c to the build.
5357         * win32/vs6/libgstcoreelements.dsp:
5358           Add gstmultiqueue.c to the build.
5359         
5360 2007-01-06  Andy Wingo  <wingo@pobox.com>
5361
5362         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5363         activate_pull(), providing for a way to specialize the process of
5364         spawning a thread to pull on the sink pad. There is a default
5365         implementation.
5366
5367         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5368         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5369         (gst_base_sink_init): Renamed pad activation functions (inserting
5370         "_pad" in their names). Refactor to use the new activate_pull
5371         vmethod, as appropriate.
5372         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5373         default activate_pull function to start a task pulling from the
5374         sink pad, as before.
5375
5376         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5377         on the pads if necessary, as in push()/chain(). Update docs.
5378         Shouldn't affect existing pull() usage as it is currently only
5379         being used on buffers without caps.
5380
5381 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5382
5383         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5384         (init_pre):
5385           Call g_thread_init() first thing in gst_init() / gst_check_init().
5386           When initialisation is done via gst_init_get_option_group() and
5387           GOption parsing, issue a warning if the GLib thread system has not
5388           been initialised yet by the time gst_init_get_option_group() is
5389           called, as it's quite likely other GLib functions such as
5390           g_option_context_new() have been called already then, and
5391           g_thread_init() must be called before any other GLib function. The
5392           application in question must be fixed in that case, since memory
5393           corruption might happen otherwise.
5394           We issue the warning because even if the GLib folks decide to work
5395           around the problem on their end in future, this is still an issue
5396           with all GLib versions >= 2.10.0, so we should warn until we depend
5397           on a GLib version we know to be safe.
5398           Update documentation as well.
5399           Closes bug #391278.
5400
5401 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5402
5403         * tools/gst-inspect.c: (main):
5404         * tools/gst-launch.c: (main):
5405         * tools/gst-typefind.c: (main):
5406         * tools/gst-xmlinspect.c: (main):
5407           Call g_thread_init() really really early, before any other GLib
5408           function (see #342564 and recent discussion on gtk-devel-list).
5409
5410 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5411
5412         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
5413
5414         * gst/gst_private.h:
5415         * gst/gstconfig.h.in:
5416         * gst/gstinfo.h:
5417           On win32, all the __declspec stuff for symbol exporting is
5418           apparently only needed with MSVC, but doesn't work with MingW.
5419           Fixes compilation with MingW and #391909.
5420
5421 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5422
5423         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5424           Change some GST_ERROR_OBJECT that aren't really errors to
5425           GST_WARNING_OBJECT in order to reduce terminal spam.
5426
5427 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5428
5429         * tests/check/Makefile.am:
5430           disable test again, as there seem to be still race problems
5431
5432 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5433
5434         * tests/check/Makefile.am:
5435         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5436         (GST_START_TEST), (queue_suite):
5437           enable queue test again, add tests for the leaky behaviour
5438
5439 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
5440
5441         * configure.ac:
5442         * tests/examples/Makefile.am:
5443           Compile adapter test/example only if the required headers are
5444           available (fixes #391915).
5445
5446 2007-01-01  David Schleef  <ds@schleef.org>
5447
5448         * gst/gstplugin.c:
5449           Restore the previous signal handler for SIGSEGV instead of
5450           setting to default, since we may have stolen it away from
5451           someone.  (i.e., Mono)
5452
5453 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5454
5455         * docs/random/draft-missing-plugins.txt:
5456           Some small additions and clarifications.
5457
5458 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5459
5460         * gst/gstregistryxml.c: (gst_registry_save_escaped):
5461           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5462           since that can lead to random memory corruptions and crashes
5463           (may or may not be related to #383244, #386711, and #386711).
5464
5465 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5466
5467         * tests/check/.cvsignore:
5468         * tests/check/Makefile.am:
5469           sync .cvsignome and CLEANFILES
5470
5471 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5472
5473         * tests/check/Makefile.am:
5474           fix distcheck
5475
5476 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5477
5478         * docs/design/part-states.txt:
5479           two tiny additional comments
5480         
5481         * gst/gststructure.c:
5482           doc fixing
5483
5484         * tests/check/Makefile.am:
5485         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5486         (GST_START_TEST):
5487           disable test for now, unless it gets fixed
5488
5489 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5490
5491         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5492         (GST_START_TEST):
5493           fix race in underrun test
5494
5495 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5496
5497         * tests/check/elements/.cvsignore:
5498           ignore more
5499
5500         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5501         (GST_START_TEST):
5502           try to narrow test failure
5503
5504 2006-12-21  David Schleef  <ds@schleef.org>
5505
5506         * plugins/elements/gstfakesrc.c:
5507           Use g_random_int_range(), since it produces better random
5508           numbers in a range than almost-correct floating point code.
5509
5510 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5511
5512         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5513         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5514         (gst_check_teardown_sink_pad):
5515           do not automatically (de)activate pads
5516
5517         * tests/check/Makefile.am:
5518         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5519         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5520           add new, yet simple tests for queue
5521
5522         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5523         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5524         * tests/check/elements/filesrc.c: (cleanup_filesrc),
5525         (GST_START_TEST):
5526         * tests/check/elements/identity.c: (cleanup_identity):
5527           consistent pad (de)activation
5528
5529 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5530
5531         Patch by: Sebastian Dröge  <slomo ubuntu com>
5532
5533         * libs/gst/base/gstcollectpads.c:
5534           Fix two doc typos (#387866).
5535
5536 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5537
5538         * docs/manual/advanced-dparams.xml:
5539           Fix typo (g_object_control_properties() doesn't exist).
5540
5541 2006-12-19  Edward Hervey  <edward@fluendo.com>
5542
5543         * gst/gstsegment.c: (gst_segment_set_seek):
5544         Fine tune the cases where the segment start/stop values are really
5545         updated.
5546         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5547         Add tests for the return values of gst_segment_set_seek().
5548
5549 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5550
5551         * gst/gst.c:
5552           Docs typo fix.
5553
5554         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5555         (gst_queue_init):
5556           Fix incorrect documentation and flesh it out a bit more.
5557           Set default values for the max properties on the GParamSpec as well,
5558           so it shows up correctly in gst-inspect.
5559
5560 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
5561
5562         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5563           Correct docs of queue, add more detail and crosslink it more.
5564
5565 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5566
5567         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5568           Print additional debug info when the stream isn't perfectly
5569           timestamped; don't try to use invalid durations.
5570
5571 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5572
5573         * docs/design/Makefile.am:
5574           Dist new design docs.
5575
5576 2006-12-16  Wim Taymans  <wim@fluendo.com>
5577
5578         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5579
5580         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5581         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5582         (gst_collect_pads_stop), (gst_collect_pads_event),
5583         (gst_collect_pads_chain):
5584         * libs/gst/base/gstcollectpads.h:
5585         Add refcounting to the collectpads data so we can track when it's safe
5586         to free the data. Fixes #383382.
5587
5588 2006-12-15  Wim Taymans  <wim@fluendo.com>
5589
5590         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5591         (gst_collect_pads_remove_pad):
5592         Automatically activate/deactivate pads when they are added to a
5593         started/stoped collectpads.
5594
5595 2006-12-15  Wim Taymans  <wim@fluendo.com>
5596
5597         * gst/gstelement.c: (gst_element_add_pad):
5598         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5599         * gst/gstpad.c: (gst_pad_init):
5600         Set pads to FLUSHING when they are created. Check, warn and fix when a
5601         demuxer adds an inactive pad to itself when running. Fixes #339326.
5602
5603 2006-12-15  Wim Taymans  <wim@fluendo.com>
5604
5605         * gst/gstelement.c: (gst_element_class_init),
5606         (gst_element_default_send_event), (gst_element_send_event),
5607         (gst_element_default_query), (gst_element_query):
5608         Expose default element send_event and query handling as vmethods that
5609         subclasses can chain up to.
5610
5611 2006-12-15  Wim Taymans  <wim@fluendo.com>
5612
5613         * gst/gstelement.c: (gst_element_set_state_func):
5614         Small documentation fixes.
5615
5616 2006-12-15  Wim Taymans  <wim@fluendo.com>
5617
5618         * docs/design/draft-latency.txt:
5619         Checked in draft for handling latency in pipelines.
5620
5621 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5622
5623         * Makefile.am:
5624         * gstreamer.doap:
5625         * gstreamer.spec.in:
5626           adding .doap file
5627
5628 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
5629
5630         * gst/gst.c: (init_pre), (init_post):
5631           init_pre() and init_post() might be called via our GOptionGroup or
5632           from gst_init(), and we should skip both of them if we've already
5633           been initialised, otherwise we will init some things twice or add
5634           two default log functions.
5635
5636 2006-12-13  Edward Hervey  <edward@fluendo.com>
5637
5638         * docs/manual/basics-bus.xml:
5639         No, gst_main_loop does not exist. Its g_main_loop.
5640         Discovered by somebody who abused the copy-paste technique of coding :)
5641
5642 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5643
5644         * gst/gstghostpad.c:
5645           Log ghostpad debug stuff to the GST_PADS category as well rather
5646           than just to the default category.
5647
5648 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5649
5650         * configure.ac:
5651         * gst/gst.c: (init_pre):
5652           Add some basic system details such as OS and architecture
5653           to the debug output if possible, courtesy of uname().
5654
5655 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5656
5657         * docs/gst/running.xml:
5658           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5659           environment variables.
5660
5661 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5662
5663         * tests/check/gst/gstbin.c: (GST_START_TEST):
5664         It is acceptable to have a refcount of 2 or 3 at this point in the
5665         test, because the pipeline might be just posting its state_change
5666         message. The next line then waits for that message to appear using
5667         bus_poll, so that should be fine too.
5668
5669 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5670
5671         * gst/gst.c: (ensure_current_registry_forking):
5672         Ignore EINTR when reading from the child registry pipe.
5673         Explicitly ignore the return value from close, since it makes no
5674         difference.
5675
5676         * gst/gstminiobject.c: (gst_mini_object_ref),
5677         (gst_mini_object_unref):
5678         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5679
5680         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5681         When removing cached plugins, remove their features too, so they're
5682         not visible after they've disappeared.
5683
5684         * gst/gstutils.c: (prepare_link_maybe_ghosting):
5685         In the unlikely case that we are linking pads with no parents, don't
5686         crash trying to get the non-existent parent bin.
5687
5688         * gst/parse/grammar.y:
5689         Output debug in the PIPELINE category
5690
5691 2005-03-08  Wim Taymans  <wim@fluendo.com>
5692
5693         Patch by: René Stadler <mail at renestadler dot de>
5694
5695         * gst/gstclock.c: (gst_clock_new_periodic_id):
5696         Reject invalid clock times for interval of periodic ids.
5697         Fixes ##383506.
5698
5699 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5700
5701         * gst/gstelementfactory.c: (gst_element_factory_create):
5702         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5703         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5704         * tools/gst-inspect.c: (print_element_info):
5705         Fix refcounting of gst_plugin_feature_load to match the docs. 
5706         Fixes: #380129
5707
5708 2006-12-07  Wim Taymans  <wim@fluendo.com>
5709
5710         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5711         (gst_base_sink_get_position):
5712         Improve debugging of events.
5713
5714 2006-12-07  Wim Taymans  <wim@fluendo.com>
5715
5716         Patch by: René Stadler <mail at renestadler dot de>
5717
5718         * gst/gstclock.c: (gst_clock_id_wait):
5719         Make period ids add the interval to the origial requested time instead
5720         of the possibly updated time which can be wrong when there are multiple
5721         waiters for the same id. Fixes #382592.
5722
5723         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5724         (gst_system_clock_id_wait_jitter_unlocked),
5725         (gst_system_clock_id_wait_jitter):
5726         Fix restart in the async notify thread when an async entry is added to
5727         the front of the list. Fixes #381492. 
5728
5729         * tests/check/gst/gstsystemclock.c: (store_callback),
5730         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5731         Added test for multiple async waits.
5732         Added test for async wait order.
5733
5734 2006-12-07  Wim Taymans  <wim@fluendo.com>
5735
5736         * gst/gstbin.c: (gst_bin_query):
5737         Add some more docs about the POSITION query.
5738
5739 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5740
5741         * configure.ac:
5742         Bump version nano - back to CVS.
5743
5744 === release 0.10.11 ===
5745
5746 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
5747
5748         * configure.ac:
5749           releasing 0.10.11, "Love never runs on time"
5750
5751 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
5752
5753         * win32/common/libgstbase.def:
5754         * win32/common/libgstreamer.def:
5755         * win32/vs8/libgstbase.vcproj:
5756         * win32/vs8/libgstcoreelements.vcproj:
5757         * win32/vs8/libgstreamer.vcproj:
5758         Fix compilation on win32 under VS8
5759         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5760         Partially fixes #381175
5761
5762 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5763
5764         * gst/gstvalue.c: (gst_value_compare_fraction):
5765         If someone is foolish enough to compare 2 fractions with denominator =
5766         0, return UNORDERED rather than aborting.
5767
5768 2006-11-28  Edward Hervey  <edward@fluendo.com>
5769
5770         * libs/gst/base/Makefile.am:
5771         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5772         (gst_data_queue_base_init), (gst_data_queue_class_init),
5773         (gst_data_queue_init), (gst_data_queue_new),
5774         (gst_data_queue_cleanup), (gst_data_queue_finalize),
5775         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5776         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5777         (gst_data_queue_is_empty), (gst_data_queue_is_full),
5778         (gst_data_queue_set_flushing), (gst_data_queue_push),
5779         (gst_data_queue_pop), (gst_data_queue_drop_head),
5780         (gst_data_queue_set_property), (gst_data_queue_get_property):
5781         * libs/gst/base/gstdataqueue.h:
5782         New GstDataQueue object for threadsafe queueing. Most useful for
5783         elements that need some queueing functionnality.
5784         * docs/libs/gstreamer-libs-docs.sgml:
5785         * docs/libs/gstreamer-libs-sections.txt:
5786         Insert documentation for GstDataQueue
5787         * plugins/elements/Makefile.am:
5788         * plugins/elements/gstelements.c:
5789         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5790         (gst_multi_queue_class_init), (gst_multi_queue_init),
5791         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5792         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5793         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5794         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5795         (gst_multi_queue_loop), (gst_multi_queue_chain),
5796         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5797         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5798         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5799         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5800         (wake_up_next_non_linked), (compute_next_non_linked),
5801         (single_queue_overrun_cb), (single_queue_underrun_cb),
5802         (single_queue_check_full), (gst_single_queue_new):
5803         * plugins/elements/gstmultiqueue.h:
5804         New multiqueue element, using GstDataQueue. Used for queuing multiple
5805         streams.
5806         Closes #344639 and #347785
5807
5808 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
5809
5810         * docs/pwg/advanced-types.xml:
5811           add more missing type details
5812
5813         * tools/gst-run.c: (main):
5814           remove unused variable
5815
5816 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
5817
5818         * docs/libs/Makefile.am:
5819         * docs/libs/gstreamer-libs.types:
5820           add types of base classes to enable gobject specific stuff in the docs
5821
5822         * docs/random/ensonic/embedded.txt:
5823           more ideas about isolating platform specific things
5824
5825 2006-11-20  Wim Taymans  <wim@fluendo.com>
5826
5827         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5828
5829         * libs/gst/check/gstcheck.h:
5830         Fix compilation and running against 0.9.4. Fixes #377332.
5831
5832 2006-11-20  Wim Taymans  <wim@fluendo.com>
5833
5834         * gst/gstsegment.c: (gst_segment_set_seek),
5835         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5836         (gst_segment_to_running_time):
5837         Fix boundary checking in to_running_time() and to_stream_time().
5838         Fixes #377183.
5839
5840         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5841         stream and running time can now be calculated for the complete
5842         clipped segment.
5843
5844 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
5845
5846         * gst/gstpad.c: (gst_pad_push_event):
5847           Can't access event structure after giving away ownership of
5848           the event.
5849
5850 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
5851
5852         * docs/random/ensonic/embedded.txt:
5853         * docs/random/ensonic/profiling.txt:
5854         * docs/random/ensonic/receipies.txt:
5855           more thinking
5856
5857 2006-11-13  Wim Taymans  <wim@fluendo.com>
5858
5859         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5860
5861         * gst/gstpad.c:
5862         Fix documentation for gst_pad_dispatcher. Fixes #374475.
5863
5864 2006-11-13  Wim Taymans  <wim@fluendo.com>
5865
5866         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5867
5868         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5869         Store new length in segment duration so we don't keep on calling the
5870         potentially expensize get_size() call. Fixes #370865.
5871
5872 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
5873
5874         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
5875
5876         * win32/common/libgstreamer.def:
5877           Add two missing symbols (#366492).
5878
5879 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
5880
5881         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5882         (gst_adapter_take_buffer):
5883         Fix format string to use all its arguments.
5884         Remove useless >= check on a guint
5885
5886 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5887
5888         * tests/examples/adapter/.cvsignore:
5889         Ignore build file as commanded by the build-bot
5890
5891 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5892
5893         * tests/examples/adapter/Makefile.am:
5894         * tests/examples/adapter/adapter_test.c: (run_test_take),
5895         (run_test_take_buffer), (run_tests), (main):
5896
5897         Add new files from the previous commit
5898
5899 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5900
5901         * Makefile.am:
5902         * configure.ac:
5903         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5904         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5905         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5906         * libs/gst/base/gstadapter.h:
5907         * tests/check/libs/adapter.c: (create_and_fill_adapter),
5908         (GST_START_TEST), (gst_adapter_suite):
5909         * tests/examples/Makefile.am:
5910         Do some optimisation work in GstAdapter to avoid copies in more cases.
5911         It could still do slightly better by merging buffers when
5912         gst_buffer_is_span_fast is true, but is already faster. 
5913
5914         Also, avoid traversing a single-linked list to append each incoming 
5915         buffer inside the adapter.
5916
5917         Add simple test app that times the adapter behaviour in different
5918         situations, and extend the unit test to check that bytes enter and
5919         exit the adapter in their original order.
5920
5921 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
5922
5923         * docs/random/draft-missing-plugins.txt:
5924           Update: use element message instead of adding a new message
5925           type to the core; don't provide GStreamer API to initiate the
5926           plugin download, just provide API to compose the strings needed
5927           and let an external libgimmestuff handle the rest.
5928
5929 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
5930
5931         * tools/gst-inspect.c: (print_element_properties_info):
5932         Print a string instead of 'unknown type' for GValueArray properties
5933
5934 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
5935
5936         * docs/random/draft-missing-plugins.txt:
5937         More small fixes.
5938
5939 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5940
5941         * tests/examples/typefind/typefind.c: (type_found), (main):
5942           Make typefind element example work again (#371894); add a
5943           license header.
5944
5945 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5946
5947         * docs/random/draft-missing-plugins.txt:
5948           Commit initial draft about how to deal with missing plugins,
5949           needs work (API too).
5950
5951 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
5952
5953         * docs/pwg/advanced-types.xml:
5954           documents the new caps elements (see #363118)
5955
5956 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5957
5958         * gst/gstplugin.c: (gst_plugin_load_file):
5959         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5960         (gst_file_src_map_region), (gst_file_src_start):
5961         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5962         (gst_file_index_commit):
5963           Use g_strerror() instead of strerror() - we want UTF-8.
5964
5965 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5966
5967         Patch by: Peter Kjellerstedt <pkj at axis com>
5968
5969         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5970           Another printf fix (#371493).
5971
5972 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5973
5974         * tests/check/gst/gsttag.c:
5975           relicence (okay with author=company)
5976
5977 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5978
5979         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5980         (gst_pad_push_event):
5981           Enhance debug and improve docs
5982         
5983         * gst/gsturi.c:
5984           Fix docs
5985
5986 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5987
5988         * docs/random/ensonic/distributed.txt:
5989         * docs/random/ensonic/profiling.txt:
5990           more ideas
5991
5992 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5993
5994         * docs/gst/gstreamer-sections.txt:
5995           add new API and fix the build
5996           
5997         * gst/gstbin.c: (gst_bin_recalc_state):
5998         * gst/gstelement.c: (gst_element_message_full),
5999         (gst_element_get_state_func), (gst_element_set_state_func):
6000           use new API and improve logging
6001         
6002         * gst/gstutils.c: (gst_element_state_change_return_get_name):
6003         * gst/gstutils.h:
6004           API: add function to get StateChangereturn names to improve logs 
6005
6006 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6007
6008         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6009           I'm considering shooting the next person to put strerror stuff
6010           in the translateable part of the message.
6011
6012 2006-11-03  Wim Taymans  <wim@fluendo.com>
6013
6014         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6015         Get the type and printf conversion specifiers right.
6016
6017 2006-11-03  Wim Taymans  <wim@fluendo.com>
6018
6019         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6020
6021         * gst/gstpad.c: (gst_pad_init), (pre_activate),
6022         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
6023         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
6024         Some small cleanups. Improve debugging.
6025         * gst/gstpad.h:
6026         Signal all waiting threads with a broadcast instead of just one.
6027         Fixes #369942.
6028
6029 2006-11-03  Wim Taymans  <wim@fluendo.com>
6030
6031         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
6032         (gst_fd_src_create):
6033         Add some debugging. 
6034         Only update fd when it's different from the old.
6035
6036 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6037
6038         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
6039           Printf fixes for PPC/OSX, take two (#369366).
6040
6041 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6042
6043         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
6044
6045         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6046         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6047         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
6048           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
6049           don't cast to long long for portability reasons, but use
6050           GLib's types instead.
6051
6052 2006-10-30  Michael Smith  <msmith@fluendo.com>
6053
6054         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6055           Get the arguments to lseek() the right way around.
6056           Fixes 367677.
6057
6058 2006-10-30  Wim Taymans  <wim@fluendo.com>
6059
6060         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
6061
6062         * gst/gstinfo.h:
6063         _declspec should be __declspec (two underscores, not one). Fixes 366572.
6064
6065 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
6066
6067         Patch by: Kjartan Maraas  <kmaraas at gnome org>
6068
6069         * docs/design/part-MT-refcounting.txt:
6070         * docs/random/wtay/capsnego2-docs:
6071         * gst/gstclock.c:
6072         * gst/gstxml.c:
6073           Typo fixes (#366212).
6074
6075 2006-10-28  Wim Taymans  <wim@fluendo.com>
6076
6077         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6078
6079         * gst/gst.c:
6080         * win32/common/libgstbase.def:
6081         * win32/common/libgstreamer.def:
6082         * win32/vs8/libgstbase.vcproj:
6083         * win32/vs8/libgstcontroller.vcproj:
6084         Add needed entries in .def files.
6085         Use HAVE_UNISTD_H.
6086         Rearrange def files in vs8 solutions. Fixes #366286.
6087
6088 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
6089
6090         * win32/common/gstconfig.h:
6091           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
6092           hand-made win32 gstconfig.h. Fixes #366321.
6093
6094 2006-10-27  Wim Taymans  <wim@fluendo.com>
6095
6096         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
6097         (gst_ghost_pad_new_full):
6098         Make acceptcaps return TRUE when we don't have a target, just like
6099         setcaps does.
6100
6101 2006-10-27  Wim Taymans  <wim@fluendo.com>
6102
6103         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6104         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6105
6106 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6107
6108         * gst/gststructure.c: (gst_structure_id_set_value):
6109           If someone tries to set a non-UTF8 string field on a structure,
6110           don't just print a warning, but also ignore the request and do
6111           not change/add that field to the structure.
6112
6113         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6114           Test for the above.
6115
6116 2006-10-25  David Schleef  <ds@schleef.org>
6117
6118         * gst/gstinfo.c:
6119           g_hash_table_insert() needs a cast to a non-const pointer duh.
6120
6121 2006-10-25  David Schleef  <ds@schleef.org>
6122
6123         * gst/gstinfo.c:
6124         * gst/gstinfo.h:
6125           Change name parameter of _gst_debug_register_funcptr to const
6126           to reflect the constness of its use in the function as well
6127           as to quiet a gcc warning.
6128
6129 2006-10-25  Edward Hervey  <edward@fluendo.com>
6130
6131         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6132         Don't push the buffer if it's empty.
6133         Closes #363095
6134
6135 2006-10-24  Wim Taymans  <wim@fluendo.com>
6136
6137         * gst/gstevent.h:
6138         Add small comment.
6139
6140         * libs/gst/base/gstbasetransform.c:
6141         (gst_base_transform_sink_eventfunc):
6142         Debug segment values *after* updating them as this is more
6143         interesting.
6144
6145 2006-10-23  Wim Taymans  <wim@fluendo.com>
6146
6147         * docs/design/part-events.txt:
6148         Update some docs.
6149
6150         * docs/design/part-block.txt:
6151         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6152         (gst_pad_push_event):
6153         Revert BLOCKING patch, it tries to be smart without really having a
6154         clear idea what or how. So, now we discard all FLUSHING events again on
6155         a blocking pad. Should fix gnonlin again.
6156
6157 2006-10-23  Wim Taymans  <wim@fluendo.com>
6158
6159         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6160
6161         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6162         (gst_base_src_start), (gst_base_src_activate_push):
6163         Make sure size is always initialized. Fixes #364388.
6164
6165 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
6166
6167         * docs/random/ensonic/distributed.txt:
6168           add some ideas about doing distributed processing
6169
6170         * docs/random/ensonic/profiling.txt:
6171           get_rusage look promising
6172
6173 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6174
6175         * docs/manual/basics-helloworld.xml:
6176           Add a cast in example to fix compile warning
6177
6178 2006-10-18  Wim Taymans  <wim@fluendo.com>
6179
6180         * gst/gstsegment.c: (gst_segment_set_last_stop),
6181         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6182         Relax arg checking again, -1 is allowed.
6183
6184 2006-10-18  Wim Taymans  <wim@fluendo.com>
6185
6186         * gst/gstsegment.c: (gst_segment_set_last_stop),
6187         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6188         _set_last_stop() must be with a value != -1
6189         A _TYPE_SET to -1 means seek to 0.
6190         Calc last_stop correctly for negative rates.
6191         Make sure we work with positive durations when updating a segment.
6192
6193 2006-10-18  Wim Taymans  <wim@fluendo.com>
6194
6195         * docs/design/part-live-source.txt:
6196         * gst/gstclock.h:
6197         Small docs fixes.
6198
6199 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
6200
6201         * gst/gstbuffer.h:
6202           Add an explicit cast to GstBuffer** to keep old code that added an
6203           explicit cast to GstMiniObject** for gst_mini_object_replace()
6204           compiling without warning.
6205
6206 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6207
6208         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6209           check for validity of dates
6210
6211 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6212
6213         * docs/gst/gstreamer-sections.txt:
6214           Forgot this one, makes gtk-doc shut up.
6215
6216 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6217
6218         Patch by: Peter Kjellerstedt <pkj at axis com>
6219
6220         * gst/gstobject.h:
6221           Don't define xmlNodePtr to gpointer if the core was built with
6222           --disable-loadsave and --disable-registry, this will break
6223           applications that want to use libxml2 but are buildling against a
6224           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6225           instead so we don't have to mess with the libxml2 namespace
6226           (#361675).
6227
6228 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6229
6230         * gst/gstbuffer.h:
6231           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6232           type-punned pointer warnings.
6233
6234 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6235
6236         * gst/gstelement.h:
6237           Add casts to the correct return type to state <=> state transition
6238           macros.
6239
6240 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
6241
6242         * docs/design/part-live-source.txt:
6243           describe howto handle latency
6244         
6245         * docs/random/ensonic/profiling.txt:
6246           more ideas
6247
6248         * tools/gst-plot-timeline.py:
6249           fix log parsing for solaris, remove unused function
6250
6251 2006-10-16  Wim Taymans  <wim@fluendo.com>
6252
6253         * docs/design/part-trickmodes.txt:
6254         * gst/gstevent.c:
6255         Update some docs regarding reverse playback.
6256
6257 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6258
6259         Patch by: Marcus Granado  <mrc dot gran at gmail com>
6260
6261         * win32/vs8/grammar.vcproj:
6262           Error out with a warning if glib-genmarshal.exe is not in path,
6263           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6264
6265 2006-10-13  Wim Taymans  <wim@fluendo.com>
6266
6267         * gst/gstsegment.c: (gst_segment_set_seek):
6268         When seeking to stop -1, set last_stop (current position) to the
6269         duration of the segment.
6270
6271 2006-10-13  Wim Taymans  <wim@fluendo.com>
6272
6273         * gst/gstelement.h:
6274         Clarify _NO_PREROLL a bit more.
6275
6276         * gst/gstevent.c:
6277         Fix docs.
6278
6279         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6280         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6281         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6282         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6283         due to wrong locking order. Fixes #361769.
6284         Remove some redundant/misplaced checks in pad_block.
6285
6286         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6287         For negative rates, count backwards from the duration.
6288
6289 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6290
6291         * gst/gsterror.c: (_gst_library_errors_init):
6292           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6293           up with something better).
6294
6295 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6296
6297         * win32/vs6/libgstreamer.dsp:
6298         * win32/vs7/libgstreamer.vcproj:
6299         * win32/vs8/libgstreamer.vcproj:
6300           Don't reference glib-compat.c which is currently not used and not
6301           disted; add gstquark.c which was recently added. Fixes #361730.
6302
6303 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6304
6305         * win32/common/libgstbase.def:
6306         * win32/common/libgstcontroller.def:
6307         * win32/common/libgstreamer.def:
6308           Add gst_caps_merge() and a bunch of other recently-added functions.
6309           Fixes #361732.
6310
6311 2006-10-11  Wim Taymans  <wim@fluendo.com>
6312
6313         * docs/plugins/gstreamer-plugins.args:
6314         * docs/plugins/inspect/plugin-coreelements.xml:
6315         * docs/plugins/inspect/plugin-coreindexers.xml:
6316         Update element args.
6317
6318         * gst/gstsystemclock.c:
6319         Small comment update.
6320
6321         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6322         (gst_tee_request_new_pad), (gst_tee_release_pad),
6323         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6324         (gst_tee_sink_activate_pull):
6325         * plugins/elements/gsttee.h:
6326         Some tee loving:
6327         Add default property defines.
6328         Implement release pad function.
6329         Give properties better blubs etc.
6330         Activate pads before adding them to a running tee.
6331         Do simple buffer_alloc on the first requested pad.
6332         Post error when activation fails.
6333
6334 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6335
6336         * gst/gst.c: (ensure_current_registry_forking):
6337           Check return value of write() to make compiler happy.
6338
6339 2006-10-11  Wim Taymans  <wim@fluendo.com>
6340
6341         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6342
6343         * plugins/elements/gstqueue.c: (gst_queue_chain):
6344         Recheck queue filledness after signalling the overrun when we're about
6345         to leak downstream because we released the lock when emitting the signal
6346         and the queue could be empty again. Fixes #352345.
6347
6348 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6349
6350         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6351           Fix refcounting here too, just like we did for _new_valist() a few
6352           days ago (#357180) (thanks to René Stadler). Also remove all those
6353           'Since: 0.9' from the gtk-doc blobs.
6354
6355         * tests/check/libs/controller.c: (controller_refcount_new_list),
6356         (gst_controller_suite):
6357           Unit test for the above.
6358
6359 2006-10-10  Wim Taymans  <wim@fluendo.com>
6360
6361         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6362
6363         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6364         (gst_pad_save_thyself):
6365         Update some docs.
6366         Write pad direction in XML output. Fixes #345496.
6367
6368 2006-10-10  Wim Taymans  <wim@fluendo.com>
6369
6370         Patch by: René Stadler <mail at renestadler dot de>
6371
6372         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6373         (gst_controller_new_list), (_gst_controller_dispose),
6374         (_gst_controller_finalize), (_gst_controller_class_init):
6375         Take ref to controlled object so that it cannot disappear. 
6376         Fixes #357432.
6377
6378 2006-10-10  Wim Taymans  <wim@fluendo.com>
6379
6380         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6381         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6382         (gst_check_teardown_sink_pad):
6383         Activate/deactivate pads in setup/teardown respectively.
6384
6385 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6386
6387         Patch by: Josep Torre Valles <josep@fluendo.com>
6388
6389         * gst/Makefile.am:
6390         Cast values when making gstenumtypes.h.  This pacifies Forte
6391         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6392         in the enumeration.
6393
6394 2006-10-09  Wim Taymans  <wim@fluendo.com>
6395
6396         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6397         Rename some more @cur to @start to fix docs. 
6398
6399         * gst/gstsegment.c: (gst_segment_set_seek):
6400         Fix typo.
6401         time and start must always stay in sync as defined in design doc.
6402
6403         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6404         Rename param to fix docs.
6405
6406         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6407         Check that start and time are in sync.
6408
6409         * tests/check/pipelines/parse-launch.c:
6410         (gst_parse_test_element_change_state):
6411         Activate pad before adding to the element.
6412
6413 2006-10-09  Wim Taymans  <wim@fluendo.com>
6414
6415         * docs/design/part-qos.txt:
6416         Fix typo.
6417
6418         * gst/gstevent.c:
6419         * gst/gstevent.h:
6420         Update seek event docs regarding negative rates.
6421         Rename @cur to @start. 
6422
6423         * gst/gstsegment.c: (gst_segment_set_seek):
6424         * gst/gstsegment.h:
6425         Update set_seek docs regarding negative rates.
6426         Correctly update last_stop to @stop when dealing with negative
6427         rates.
6428         Rename @cur to @start. 
6429
6430         * tests/check/gst/gstpad.c: (GST_START_TEST):
6431         Activate pads before trying to use them.
6432
6433         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6434         (gst_segment_suite):
6435         Add simple check for segments and negative rates.
6436
6437 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6438
6439         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6440         * gst/gsttaglist.h:
6441         * docs/gst/gstreamer-sections.txt:
6442           API: add gst_tag_list_is_empty() (#360467).
6443
6444         * tests/check/gst/gsttag.c: (GST_START_TEST):
6445           And a test case.
6446
6447 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6448
6449         * gst/gstmessage.h:
6450         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6451         a value that doesn't fit on enumeration.
6452
6453 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6454
6455         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6456         Remove local debugging system and use Gstreamer's instead.
6457
6458 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6459
6460         Patch by: Josep Torre Valles <josep@fluendo.com>
6461
6462         * common/m4/gst-error.m4:
6463         Disable warning of statement not reached on Forte.
6464         * gst/gstmessage.h:
6465         Fix warning on Forte (value doesn't fit on enumeration).
6466         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6467         Fix warning on Forte (value doesn't fit on enumeration).
6468         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6469         DEBUG macro says it takes minimum of 2 args and so Forte
6470         complains about the use with just 1 arg.
6471         * plugins/elements/gstfdsink.c:
6472         * plugins/elements/gstfdsrc.c:
6473         * plugins/elements/gstfilesink.c:
6474         * plugins/elements/gstfilesrc.c:
6475         Use correct return type for the uri handler implementations.
6476
6477         All these fix warnings in Forte.  Fixes bug #360860.
6478
6479 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6480
6481         * gst/gstelement.h:
6482           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6483           format string, so don't use G_GNUC_PRINTF for those versions.
6484
6485 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6486
6487         * gst/gsttaglist.c: (gst_is_tag_list):
6488         * gst/gsttaglist.h:
6489           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6490
6491         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6492           Small test for the above.
6493
6494 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6495
6496         * gst/gsttaglist.h:
6497           Less tabs, more spaces.
6498
6499 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
6500
6501         * gst/gstinfo.h:
6502           Those two function declarations do actually belong there, revert
6503           commit from yesterday that turned them intro macros.
6504
6505 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6506
6507         Patch by: Josep Torre Valles <josep@fluendo.com>
6508
6509         * gst/gst.c: (gst_init_get_option_group):
6510         Fix empty declaration and type mismatch.
6511         * gst/gstbin.c: (gst_bin_change_state_func):
6512         Fix type mismatch.
6513         * gst/gstelement.c: (gst_element_continue_state),
6514         (gst_element_set_state_func), (gst_element_change_state),
6515         (gst_element_change_state_func):
6516         Fix type mismatches.
6517         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6518         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6519         Cast as appropriate.
6520         * gst/gstobject.c: (gst_class_signal_connect):
6521         Cast as appropriate.  The function pointer parameter really
6522         has the wrong type but would break API if we change it.
6523         * gst/gstquery.c:
6524         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6525         order of including string.h.
6526         * gst/gstutils.c: (gst_element_state_get_name):
6527         Remove unreachable line.
6528         * gst/gstxml.c: (gst_xml_parse_doc):
6529         Fix type mismatch.
6530         All these caught by Forte.
6531
6532 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6533
6534         Patch by: Josep Torre Valles <josep@fluendo.com>
6535
6536         * common/m4/gst-error.m4:
6537         Fixed bug #360151.
6538         We need to disable warnings on Forte for empty declarations
6539         due to gst-indent adding ;s to lines that just use macros
6540         where the macro actually doesn't need a ; at end to end
6541         statement.
6542
6543 2006-10-06  Wim Taymans  <wim@fluendo.com>
6544
6545         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6546         (gst_file_sink_close_file), (gst_file_sink_event),
6547         (gst_file_sink_render):
6548         Add some FIXME for the NEWSEGMENT handling.
6549
6550 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6551
6552         * gst/parse/grammar.y:
6553         Remove static function gst_parse_element_lock as all it does
6554         is return.  Looks like cruft from 0.8.
6555
6556 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6557
6558         Patch by: Josep Torre Valles <josep@fluendo.com>
6559
6560         * common/m4/gst-error.m4:
6561         * configure.ac:
6562         * libs/gst/net/Makefile.am:
6563         Fix a compilation issue with Forte on Solaris.  inet_aton is in
6564         libresolv.
6565
6566 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6567
6568         * gst/gstpad.c: (pre_activate):
6569         * gst/gstregistry.c: (gst_registry_scan_path_level):
6570         * gst/gstregistryxml.c: (load_plugin):
6571         * libs/gst/controller/gstcontroller.c:
6572         (gst_controlled_property_set_interpolation_mode):
6573         * libs/gst/dataprotocol/dataprotocol.c:
6574         (gst_dp_packet_from_event_1_0):
6575         * libs/gst/net/gstnetclientclock.c:
6576         (gst_net_client_clock_observe_times):
6577         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6578           Printf fixes.
6579
6580 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6581
6582         * configure.ac:
6583         * docs/gst/gstreamer-sections.txt:
6584         * gst/gstconfig.h.in:
6585         * gst/gstelement.h:
6586         * gst/gstinfo.h:
6587           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6588           whether we can use G_GNUC_PRINTF in other header files and at
6589           least check the printf format/arguments of debug messages and
6590           GST_ELEMENT_ERROR messages when the printf extension is not
6591           being used.
6592           Replace more tabs with spaces in gstinfo.h and remove two spurious
6593           function declarations in GST_DISABLE_DEBUG part with macros.
6594
6595 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6596
6597         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6598           More docs for the sync-message signal (mention that it is not
6599           emitted by default); log message structures of messages posted on
6600           the bus as well.
6601
6602 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
6603
6604         * gst/gst.c: (ensure_current_registry_forking):
6605         Use a pipe pair to receive status results from the forked child, and
6606         ignore the result from waitpid. Fixes #355499
6607
6608 2006-10-02  Wim Taymans  <wim@fluendo.com>
6609
6610         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6611         (gst_ghost_pad_suite):
6612         Fix leak in check.
6613
6614 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6615
6616         * gst/gstpad.c:
6617           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6618
6619 2006-10-02  Edward Hervey  <edward@fluendo.com>
6620
6621         * docs/design/part-block.txt:
6622         Further explain the use of flushing on blocked pads.
6623         * docs/gst/gstreamer-sections.txt:
6624         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6625         (gst_pad_push_event):
6626         * gst/gstpad.h:
6627         Added new GstPadFlag : GST_PAD_BLOCKING.
6628         Adds the notion of pads really blocking, which enables to properly
6629         handle FLUSH_START/FLUSH_STOP events on blocked pads.
6630         Fixes #358999
6631         API: gst_pad_is_blocking()
6632         API: GST_PAD_IS_BLOCKING() macro
6633         API: GST_PAD_BLOCKING GstPadFlag
6634         
6635 2006-10-02  Wim Taymans  <wim@fluendo.com>
6636
6637         Patch by: mrcgran <mrc.gran at gmail dot com>
6638
6639         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6640         Filter the proxied caps against the padtemplate if we have one.
6641
6642         * gst/gstquery.c: (gst_query_new_segment):
6643         Add include for gstinfo.h so that compilation with
6644         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6645
6646 2006-10-02  Wim Taymans  <wim@fluendo.com>
6647
6648         Patch by: Alessandro Decina  <alessandro at nnva org>
6649
6650         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6651         (gst_file_sink_set_location), (gst_file_sink_open_file),
6652         (gst_file_sink_close_file), (gst_file_sink_event),
6653         (gst_file_sink_render):
6654         Set file to NULL when closing filesink so that we can set a new filename
6655         in READY. Fixes #358613.
6656
6657 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6658
6659         Patch by: Alessandro Decina  <alessandro at nnva org>
6660
6661         * gst/gstevent.c: (_gst_event_copy):
6662           Fix gst_mini_object_make_writable() and gst_event_copy() for events
6663           with event structures by setting the parent refcount address of the
6664           copied structure to the address of the refcount member of the newly
6665           copied event rather than the address of the refcount member of the
6666           original event. Fixes #358737.
6667
6668         * tests/check/gst/gstevent.c: (GST_START_TEST):
6669           Unit test for the above.
6670
6671 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
6672
6673         * docs/design/Makefile.am:
6674           Dist some more files.
6675
6676 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6677
6678         * tests/check/libs/controller.c: (GST_START_TEST),
6679         (gst_controller_suite):
6680           Add test for the previous fix; add some more tests
6681           for correct refcounting behaviour; fix a few leaks
6682           in test cases; call gst_controller_init() at start
6683           of all tests.
6684
6685 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6686
6687         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6688         (gst_controller_set_from_list):
6689           Don't g_return_val_if_fail() on timed values with invalid timestamps
6690           inside a critical section without unlocking the mutex. Spotted by
6691           René Stadler. (#357617)
6692           Also, fix up refcounting properly: when returning an existing
6693           controller, we should increase the reference only once and not
6694           once per property and when trying to control a property again
6695           we should also increase the refcount.
6696
6697 2006-09-29  Wim Taymans  <wim@fluendo.com>
6698
6699         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6700         * libs/gst/net/gstnettimeprovider.c:
6701         (gst_net_time_provider_thread):
6702         Stop reading commands when EOF as well.
6703
6704         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6705         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6706         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6707         Unify description of the dump property.
6708
6709 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6710
6711         * tests/examples/manual/.cvsignore:
6712         OK, so it's actually cvsignore that needs changing. Stop laughing.
6713
6714 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6715
6716         * tests/examples/manual/Makefile.am:
6717         Gah, declare vars *before* using them
6718
6719 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6720
6721         * gst/gst.c: (init_pre), (scan_and_update_registry),
6722         (ensure_current_registry_nonforking),
6723         (ensure_current_registry_forking), (ensure_current_registry),
6724         (init_post), (gst_debug_help), (gst_deinit):
6725         * gst/gst_private.h:
6726         * gst/gstregistry.c: (gst_registry_finalize),
6727         (gst_registry_remove_features_for_plugin_unlocked),
6728         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6729         (gst_registry_scan_path),
6730         (_priv_gst_registry_remove_cache_plugins),
6731         (_priv_gst_registry_cleanup):
6732         * gst/gstregistry.h:
6733         Re-commit the registry changes, along with an extra fix:
6734           When a cached plugin is encountered at a different file path,
6735           update the stored path in the registry cache so that the parent
6736           process knows where it actually is now when it re-reads the registry
6737           cache. Fixes the thing that broke distcheck with the previous commit.
6738
6739         * tests/check/Makefile.am:
6740         Clean up files named 'core' too when running make clean.
6741
6742         * tests/examples/manual/Makefile.am:
6743         Set up a registry path for running these tests, and clean it properly
6744         for distcheck.
6745
6746 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6747
6748         * configure.ac:
6749         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6750         want gmodule-no-export-2.0.pc instead so that we don't drag in
6751         --export-dynamic on every project that links to GStreamer.
6752
6753         Also, make our export regex only match the start of symbols, rather 
6754         than any symbol that contains '_gst' somewhere.
6755
6756         * libs/gst/check/Makefile.am:
6757         The libgstcheck we build does however need export-dynamic, as it
6758         produces some symbols that don't match our _gst... style regex.
6759         Fixes: #318031
6760
6761 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6762
6763         * gst/gst.c: (init_pre), (scan_and_update_registry),
6764         (ensure_current_registry_nonforking),
6765         (ensure_current_registry_forking), (ensure_current_registry),
6766         (init_post), (gst_debug_help), (gst_deinit):
6767         * gst/gst_private.h:
6768         * gst/gstregistry.c: (gst_registry_finalize),
6769         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6770         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6771         (_gst_registry_cleanup):
6772         * gst/gstregistry.h:
6773           Revert previous change until I figure out why it breaks distcheck.
6774
6775 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6776
6777         * gst/gst.c: (init_pre), (scan_and_update_registry),
6778         (ensure_current_registry_nonforking),
6779         (ensure_current_registry_forking), (ensure_current_registry),
6780         (init_post), (gst_debug_help), (gst_deinit):
6781
6782           Make init_pre and init_post take the full complement of GOptionFunc
6783           args so they can return useful GErrors. Make the registry updating
6784           functions do so.
6785
6786           Call _priv_gst_registry_remove_cache_plugins after scanning files to
6787           ensure that the registry we're about to write out doesn't contain
6788           stale information about old-deleted plugin files.
6789
6790           Make _priv_gst_registry_remove_cache_plugins return a boolean so
6791           that deletion of plugin files is considered a registry change.
6792
6793         * gst/gst_private.h:
6794         * gst/gstregistry.c: (gst_registry_finalize),
6795         (gst_registry_remove_features_for_plugin_unlocked),
6796         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6797         (gst_registry_scan_path),
6798         (_priv_gst_registry_remove_cache_plugins),
6799         (_priv_gst_registry_cleanup):
6800         * gst/gstregistry.h:
6801         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6802         by adding _priv prefix, so that they won't appear in the global
6803         symbol table. They still do atm though because of #318031. Move the
6804         prototypes to gst_private.h
6805
6806         When removing a plugin, remove all features for that plugin too. 
6807         Fixes #340878.
6808
6809 2006-09-27  Wim Taymans  <wim@fluendo.com>
6810
6811         * docs/random/moving-plugins:
6812         Make it clear that the "compiled-in descriptions" really mean
6813         the element details.
6814
6815         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6816         (gst_base_sink_wait_preroll):
6817         Update docs.
6818
6819         * docs/libs/gstreamer-libs-sections.txt:
6820         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6821         (gst_base_src_get_range), (gst_base_src_activate_push):
6822         * libs/gst/base/gstbasesrc.h:
6823         Added function to block while waiting for PLAYING, this function
6824         is used by live sources that block on the clock.
6825         API: gst_base_src_wait_playing()
6826
6827 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6828
6829         Patch by: Peter Kjellerstedt <pkj at axis com>
6830
6831         * Makefile.am:
6832           gst-element-check.m4 is generated and should therefore be
6833           copied from the build dir rather than the source dir (#357593).
6834           'make distcheck' hasn't noticed this because we were disting
6835           the file as well, so stop doing that.
6836
6837 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6838
6839         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6840           Add some tests for gst_caps_intersect().
6841
6842         * tools/gst-launch.c: (event_loop):
6843           Print all buffering percentages we get, even the 100% one.
6844
6845 2006-09-26  Wim Taymans  <wim@fluendo.com>
6846
6847         * tools/gst-inspect.c: (print_element_properties_info),
6848         (print_signal_info):
6849         Fix printing of flags to match the look of enums.
6850
6851 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6852
6853         * gst/gstelementfactory.c:
6854           Fix typo in docs blurb.
6855
6856 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6857
6858         * gst/gsturi.c: (search_by_entry):
6859           Don't assert/crash here if a uri handler doesn't return any
6860           supported protocols. The list of protocols could be generated
6861           dynamically at runtime or at plugin registration, and an error
6862           in the underlying library shouldn't be fatal (#353301).
6863
6864 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6865
6866         * gst/gstinfo.c:
6867           Fix warning if HAVE_PRINTF_EXTENSION is undefined
6868           (spotted by Peter Kjellerstedt).
6869
6870 2006-09-23  Wim Taymans  <wim@fluendo.com>
6871
6872         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6873
6874         * libs/gst/base/gstbasesrc.c:
6875         (gst_base_src_default_check_get_range), (gst_base_src_start),
6876         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6877         (gst_base_src_change_state):
6878         Match _start/_stop calls in the activate functions. Remove redundant
6879         _stop call from the state change function. Fixes #356910.
6880         Turn failure DEBUG into ERROR. 
6881
6882 2006-09-22  Wim Taymans  <wim@fluendo.com>
6883
6884         * docs/design/part-buffering.txt:
6885         * gst/gstmessage.c: (gst_message_new_buffering),
6886         (gst_message_parse_buffering):
6887         Update docs about buffering.
6888
6889         * docs/design/part-trickmodes.txt:
6890         Fix typo.
6891
6892 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
6893
6894         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6895         (gst_controller_new_list):
6896           Ref instances when returning them again (fixes #357180)
6897
6898 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6899
6900         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6901           Don't forget to release proxy lock when there's an error.
6902
6903 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
6904
6905         * gst/gstcaps.h:
6906           Add extra initialisers for Caps things, to fix some plugin warnings
6907           when using -Wextra
6908
6909 2006-09-18  Wim Taymans  <wim@fluendo.com>
6910
6911         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6912           Also set template on the internal pad so that a getcaps from the 
6913           target pad returns the template caps.
6914
6915 2006-09-18  Wim Taymans  <wim@fluendo.com>
6916
6917         * gst/gstelement.c: (gst_element_post_message),
6918         (gst_element_dispose):
6919         Use _DEBUG_OBJECT some more.
6920
6921         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6922         Avoid typechecks.
6923
6924         * tools/gst-launch.c: (main):
6925         If the toplevel element is not a GstPipeline, it must be put in a
6926         pipeline so that a bus and clock is selected.
6927
6928 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6929
6930         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6931           JITTER, RATE, and LATENCY query should be handled by the
6932           default case and not by the CONVERT query code.
6933
6934 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6935
6936         * gst/gstformat.c: (gst_format_register):
6937           Fix locking order (must take lock before using n_values).
6938
6939         * gst/gstvalue.c: (gst_value_serialize_enum),
6940         (gst_value_deserialize_enum_iter_cmp),
6941         (gst_value_deserialize_enum):
6942           Fix serialisation/deserialisation of custom registered GstFormats.
6943
6944         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6945           Unit test for custom format serialisation/deserialisation.
6946
6947 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
6948
6949         * docs/pwg/building-boiler.xml:
6950         * plugins/elements/gstcapsfilter.c:
6951         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6952         section.
6953
6954 2006-09-16  Edward Hervey  <edward@fluendo.com>
6955
6956         * libs/gst/base/gstbasetransform.c:
6957         (gst_base_transform_buffer_alloc):
6958         Check if requested caps are the same as the sinks caps IF
6959         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6960         is FALSE.
6961         This fixes the renegotiation issues stated in #352827.
6962
6963 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6964
6965         * configure.ac:
6966         * docs/manual/advanced-autoplugging.xml:
6967         * tests/examples/Makefile.am:
6968         * tests/examples/manual/.cvsignore:
6969         * tests/examples/manual/Makefile.am:
6970         * tests/examples/manual/extract.pl:
6971           Extract the manual examples again like we used to do.
6972           Fix one of them.
6973
6974 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6975
6976         * win32/common/config.h:
6977           update for version
6978
6979 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
6980
6981         * gst/gsterror.c:
6982           Documents how to receive errors.
6983
6984 2006-09-15  Wim Taymans  <wim@fluendo.com>
6985
6986         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6987         (event_loop), (main):
6988         Added some comments here and there.
6989         Post an application message when an interrupt is caught instead of doing
6990         an uncontrolled state change.
6991         Clean up the event loop.
6992         Handle buffering messages, pause/resume the pipeline.
6993         Make shutdown because of an interrupt more reliable.
6994
6995 2006-09-15  Wim Taymans  <wim@fluendo.com>
6996
6997         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6998         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6999         (gst_base_sink_preroll_object):
7000         Make sure that our internal state is correct when we commit our state
7001         asynchronously. This solves a race where a state change to PLAYING
7002         could cause the sink to remain blocked in preroll in some situations.
7003
7004 2006-09-15  Wim Taymans  <wim@fluendo.com>
7005
7006         * tools/gst-inspect.c: (print_element_properties_info),
7007         (print_signal_info):
7008         List flags as hex so it's easier to deal with.
7009
7010 2006-09-15  Wim Taymans  <wim@fluendo.com>
7011
7012         * docs/libs/gstreamer-libs-sections.txt:
7013         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
7014         (gst_base_sink_do_sync):
7015         * libs/gst/base/gstbasesink.h:
7016         Expose logic to wait for preroll so that subclasses such as audiosink
7017         can also use this method.
7018         API: gst_base_sink_wait_preroll()
7019
7020 2006-09-15  Wim Taymans  <wim@fluendo.com>
7021
7022         * gst/gstobject.c: (gst_object_set_parent):
7023         * gst/gstpipeline.c: (do_pipeline_seek):
7024         Small cleanups in docs and code.
7025
7026         * gst/gstsegment.c: (gst_segment_clip):
7027         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7028         if stop == start and start is in the segment, no clipping should be
7029         done. Also add a test for this.
7030
7031 2006-09-15  Wim Taymans  <wim@fluendo.com>
7032
7033         * docs/design/part-buffering.txt:
7034         * docs/gst/gstreamer-sections.txt:
7035         * gst/gstmessage.c: (gst_message_new_buffering),
7036         (gst_message_parse_buffering):
7037         * gst/gstmessage.h:
7038         Added methods to create and parse BUFFERING messages.
7039         Added preliminary docs about buffering.
7040         API: gst_message_new_buffering
7041         API: gst_message_parse_buffering
7042
7043 2006-09-06  Wim Taymans  <wim@fluendo.com>
7044
7045         * gst/gstbin.c:
7046         Update documentation.
7047
7048         * gst/gstelement.c: (gst_element_class_init),
7049         (gst_element_release_request_pad), (gst_element_set_clock),
7050         (gst_element_get_index), (gst_element_add_pad),
7051         (gst_element_remove_pad), (gst_element_get_random_pad),
7052         (gst_element_send_event), (gst_element_get_query_types),
7053         (gst_element_query), (gst_element_post_message),
7054         (gst_element_message_full), (gst_element_continue_state),
7055         (gst_element_lost_state), (gst_element_save_thyself),
7056         (gst_element_restore_thyself):
7057         Documentation updates.
7058         Rename last bit of the new-pad -> pad-added signal rename.
7059         Fix the case where an element query would only work if the source
7060         pad was linked.
7061         Avoid some useless type checking in message handling.
7062
7063         * gst/gstevent.c:
7064         * gst/gstevent.h:
7065         * gst/gstutils.c:
7066         Documentation updates.
7067
7068 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7069
7070         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7071           add an INFO line for when we actually update the fd
7072
7073 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7074
7075         * configure.ac:
7076           back to TRUNK
7077
7078 === release 0.10.10 ===
7079
7080 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
7081
7082         * configure.ac:
7083           releasing 0.10.10, "Pais"
7084
7085 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
7086
7087         * docs/manual/advanced-position.xml:
7088           Fix typo in sample code.
7089
7090 2006-09-05  Wim Taymans  <wim@fluendo.com>
7091
7092         * libs/gst/net/gstnetclientclock.c: (inet_aton),
7093         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7094         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
7095         * libs/gst/net/gstnetclientclock.h:
7096         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7097         * libs/gst/net/gstnettimepacket.h:
7098         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7099         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7100         (gst_net_time_provider_thread), (gst_net_time_provider_new):
7101         * libs/gst/net/gstnettimeprovider.h:
7102         Make stuff compile on windows. Fixes #345295.
7103
7104 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7105
7106         * gst/gst.c: (ensure_current_registry_forking):
7107           Print better details when child was terminated by signal.
7108
7109 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7110
7111         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7112           Print a warning rather than g_assert() if a plugin feature
7113           is a URI handler but returns no protocols (#353976).
7114
7115 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
7116
7117         * docs/random/moving-plugins:
7118         Fix two typos.         
7119
7120 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7121
7122         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7123           Fix locking order, handle NULL function values properly.
7124
7125         * gst/gstinfo.h:
7126           Fix docs.
7127
7128         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7129           Initialise variable before using it and fix debug statement to
7130           print the address of the function rather than the address of the
7131           variable on the stack holding the address of the function.
7132
7133 2006-09-01  Wim Taymans  <wim@fluendo.com>
7134
7135         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7136         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7137         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7138         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7139         (gst_ghost_pad_parent_unset),
7140         (gst_ghost_pad_internal_do_activate_push),
7141         (gst_ghost_pad_internal_do_activate_pull),
7142         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7143         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7144         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7145         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7146         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7147         (gst_ghost_pad_new_no_target_from_template),
7148         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7149         More cleanups.
7150         Avoid needless typechecking in macros.
7151         Since the internal pad is always present and never changes, there is
7152         no need to locking or ref when retrieving it.
7153         Improve debugging a bit.
7154         Handle link errors when setting the target. Fixes #341029.
7155
7156 2006-09-01  Wim Taymans  <wim@fluendo.com>
7157
7158         * docs/libs/gstreamer-libs-sections.txt:
7159         * docs/plugins/gstreamer-plugins-sections.txt:
7160         Fix docs some more.
7161
7162         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7163         (gst_collect_pads_event):
7164         * libs/gst/base/gstcollectpads.h:
7165         Documentation updates.
7166         Free queued buffer when removing a pad.
7167
7168 2006-08-31  Michael Smith  <msmith@fluendo.com>
7169
7170         * gst/gstutils.c: (gst_element_link_pads),
7171         (gst_element_link_pads_filtered):
7172           Ensure that we set a capsfilter to NULL if we failed to link it
7173           when doing filtered linking, to avoid criticals.
7174
7175           No need to check for unreffing srcpad, which is explicly NULLed
7176           above (a trivial code cleanup).
7177
7178 2006-08-31  Wim Taymans  <wim@fluendo.com>
7179
7180         * docs/design/part-gstghostpad.txt:
7181         Update ascii art in documentation.
7182
7183         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7184         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7185         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7186         (gst_ghost_pad_internal_do_activate_push),
7187         (gst_ghost_pad_internal_do_activate_pull),
7188         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7189         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7190         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7191         (gst_ghost_pad_set_target):
7192         Small cleanups and leak fixes.
7193         Remove some checks now that the internal pad is never NULL.
7194         Fix the case where linking pads without a target would create nasty
7195         criticals. Fixes #341029.
7196         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7197         value of _set_target().
7198
7199         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7200         (gst_ghost_pad_suite):
7201         Some more tests for creating and linking untargeted ghostpads.
7202
7203 2006-08-31  Edward Hervey  <edward@fluendo.com>
7204
7205         * docs/gst/gstreamer-sections.txt:
7206         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7207         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7208         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7209         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7210         (gst_ghost_pad_new_from_template),
7211         (gst_ghost_pad_new_no_target_from_template):
7212         * gst/gstghostpad.h:
7213         Refactored *_new() functions.
7214         Templates are now used as a g_object_new() parameter.
7215         Use template in _do_getcaps() if we don't have a target.
7216         Small documentation cleanups.
7217         Added two new constructors:
7218         gst_ghost_pad_new_from_template()
7219         gst_ghost_pad_new_no_target_from_template()
7220         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7221         (gst_ghost_pad_suite):
7222         Added tests for new ghostpad instanciation functions.
7223
7224         API additions: gst_ghost_pad_new_from_template,
7225         gst_ghost_pad_new_no_target_from_template
7226
7227 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
7228
7229         * docs/random/ensonic/profiling.txt:
7230           Ideas about qos profiling.
7231
7232 2006-08-29  Wim Taymans  <wim@fluendo.com>
7233
7234         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7235         Code cleanups.
7236         Fix memleak.
7237
7238 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
7239
7240         * gst/gstxml.c:
7241           Improve and detypofy docs.
7242
7243         * tests/check/Makefile.am:
7244         * tests/check/gst/.cvsignore:
7245         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7246           Add a basic test suite for GstXML.
7247
7248 2006-08-29  Wim Taymans  <wim@fluendo.com>
7249
7250         * gst/gstelement.c: (activate_pads), (clear_caps),
7251         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7252         Clear the pad caps when the element shut down all of the pads and
7253         is not streaming data that could modify the caps. 
7254         Fixes #352958.
7255
7256 2006-08-28  Michael Smith  <msmith@fluendo.com>
7257
7258         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7259           Revert previous change; I misunderstood single-segment mode.
7260
7261 2006-08-28  Michael Smith  <msmith@fluendo.com>
7262
7263         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7264           Unset DISCONT on buffers when using single-segment mode.
7265
7266 2006-08-28  Wim Taymans  <wim@fluendo.com>
7267
7268         * gst/gstcaps.c: (gst_caps_merge_structure):
7269         * gst/gstcaps.h:
7270         Fix docs and indentation again.
7271
7272         * tests/check/gst/gstquery.c: (GST_START_TEST):
7273         Fix leak in tests and add some more tests.
7274
7275 2006-08-28  Edward Hervey  <edward@fluendo.com>
7276
7277         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7278         Inform GstSegment of the last stop position in order for the current
7279         segment to have a proper duration if it doesn't have a specific stop
7280         position from which a duration could be calculated.
7281         This bug was noticeable when a non-flushing, non-update new segment was
7282         followed by another segment (all buffers from the new segment were being
7283         dropped).
7284
7285 2006-08-28  Wim Taymans  <wim@fluendo.com>
7286
7287         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7288         Small comment update.
7289
7290         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7291         (gst_identity_transform_ip):
7292         Drop-probability is broken, mention this in the code with a 
7293         FIXME and also in the property description.
7294         Make silent also be silent about the drop messages.
7295
7296 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
7297
7298         * docs/manual/appendix-win32.xml:
7299           Remove mention of popt, we don't depend on that any
7300           longer (#353136). Add some comments pointing out that
7301           this section is slightly outdated.
7302
7303 2006-08-28  Wim Taymans  <wim@fluendo.com>
7304
7305         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7306
7307         * gst/gstquery.c: (gst_query_new_segment):
7308         * tests/check/gst/gstquery.c: (GST_START_TEST):
7309         Initialize variables when creating a new segment query.
7310         Fixes #353121.
7311
7312 2006-08-28  Wim Taymans  <wim@fluendo.com>
7313
7314         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7315
7316         * gst/gstelement.c: (gst_element_get_bus):
7317         * tests/check/gst/gstelement.c: (GST_START_TEST):
7318         Check for NULL before _reffing the bus. Fixes #353122.
7319
7320 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
7321
7322         * docs/manual/basics-bus.xml:
7323           Docs update: fix wrong callback return value explanation; add
7324           some lines about the implicit relationship between main loop
7325           and main context; remove duplicate main loop variable declaration.
7326
7327 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
7328
7329         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7330           Don't leak caps in unit test; add a few more simple
7331           checks. 
7332
7333 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
7334
7335         * docs/gst/gstreamer-sections.txt:
7336         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7337         (gst_caps_structure_is_subset), (gst_caps_merge),
7338         (gst_caps_merge_structure):
7339         * gst/gstcaps.h:
7340         * libs/gst/base/gstbasetransform.c:
7341         (gst_base_transform_transform_caps):
7342         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7343           implement caps merging (fixes #352580)
7344
7345 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
7346
7347         * tools/Makefile.am:
7348         * tools/gst-plot-timeline.py:
7349           add debug-log plotting developer tool (#340674)
7350
7351 2006-08-23  Wim Taymans  <wim@fluendo.com>
7352
7353         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7354         (gst_pad_stop_task):
7355         Improve debugging for task functions.
7356
7357         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7358         (gst_task_start), (gst_task_pause), (gst_task_join):
7359         Make sure that the task function started and finished after a 
7360         join(). 
7361         Don't try to push the task function on the threadpool multiple
7362         times.
7363         Improve the g_warning message with some useful suggestions
7364         about how to fix the problem. 
7365
7366 2006-08-23  Wim Taymans  <wim@fluendo.com>
7367
7368         * gst/gstutils.c: (gst_pad_proxy_getcaps):
7369         Handle RESYNC correctly in _proxy_getcaps.
7370
7371 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
7372
7373         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7374         (gst_xml_parse_memory), (gst_xml_get_element):
7375           Chain up to parent class in dispose function and also
7376           unref the elements in the toplevel_elements GList.
7377           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7378           Always return a reference in gst_xml_get_element() rather
7379           than only sometimes.
7380
7381         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7382           Don't leak GstXml object.
7383
7384 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
7385
7386         * docs/gst/gstreamer-sections.txt:
7387         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7388         (gst_caps_merge):
7389         * gst/gstcaps.h:
7390         * libs/gst/base/gstbasetransform.c:
7391         (gst_base_transform_transform_caps):
7392           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7393           in a better way
7394
7395 2006-08-21  Edward Hervey  <edward@fluendo.com>
7396
7397         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7398         Implement GObject::dispose virtual method in GstXML so we can free the
7399         top_elements GList.
7400
7401 2006-08-21  Wim Taymans  <wim@fluendo.com>
7402
7403         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7404         (gst_buffer_create_sub):
7405         Copy duration/offset_end/caps when creating a subbuffer of the
7406         complete parent.
7407         Make the subbuffer read-only when we make the metadata writable for
7408         now. Fixes #351768.
7409
7410         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7411         Added check for metadata copy when creating subbuffers.
7412
7413 2006-08-21  Edward Hervey  <edward@fluendo.com>
7414
7415         * libs/gst/base/gstbasetransform.c:
7416         (gst_base_transform_buffer_alloc):
7417         Only call downstream buffer_alloc if transform element is passthrough
7418         or always_in_place. Closes #350449.
7419
7420 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7421
7422         * ChangeLog:
7423           ChangeLog surgery to add comments to previous changes
7424
7425 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7426
7427         * gst/gst.c:
7428           Add comments
7429
7430         * gst/gstpad.c: (gst_pad_set_active):
7431           Be more verbose in the log
7432
7433         * libs/gst/base/gstbasetransform.c:
7434         (gst_base_transform_transform_caps):
7435           Simplify caps to get rid of duplicates, fixes #345444
7436
7437 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7438
7439         * gst/gstvalue.c:
7440         * gst/gstvalue.h:
7441           Use these optimizations only internally.
7442
7443 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7444
7445         * gst/gstvalue.c: (gst_value_compare_list),
7446         (gst_value_compare_fraction_range),
7447         (gst_value_intersect_fraction_fraction_range),
7448         (gst_value_intersect_fraction_range_fraction_range),
7449         (gst_value_subtract_fraction_fraction_range),
7450         (gst_value_subtract_fraction_range_fraction_range),
7451         (gst_value_get_compare_func), (gst_value_compare),
7452         (gst_value_compare_with_func):
7453         * gst/gstvalue.h:
7454           Saves the expensive lookup of the compare function in many cases
7455          (#345444)
7456
7457 2006-08-18  Edward Hervey  <edward@fluendo.com>
7458
7459         * tests/check/gst/gstinfo.c: (gst_info_suite):
7460         Disable test that require gstdebug if it wasn't built in core.
7461
7462 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7463
7464         * docs/random/ensonic/logging.txt:
7465           update ideas
7466           
7467         * gst/gstinfo.c: (gst_debug_log_default):
7468           reorder fields, save some columns, add optional color codes for log
7469           levels
7470
7471 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7472
7473         * docs/random/ensonic/logging.txt:
7474           add ideas about making the logs a bit more useful
7475
7476 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7477
7478         * docs/pwg/advanced-events.xml:
7479         * docs/pwg/titlepage.xml:
7480           Update for 0.10 API (#340627). Add myself
7481           to authors list.
7482
7483 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7484
7485         * docs/libs/gstreamer-libs-docs.sgml:
7486         * docs/libs/gstreamer-libs-sections.txt:
7487         * libs/gst/check/gstbufferstraw.c:
7488           Make gstcheck stuff show up in docs (still needs to
7489           be documented properly though).
7490
7491 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7492
7493         * docs/gst/gstreamer-sections.txt:
7494         * gst/Makefile.am:
7495         * gst/gst.c: (init_post):
7496         * gst/gst_private.h:
7497         * gst/gstquark.c: (_priv_gst_quarks_initialize):
7498         * gst/gstquark.h:
7499         * gst/gstquery.c: (gst_query_new_position),
7500         (gst_query_set_position), (gst_query_parse_position),
7501         (gst_query_new_duration), (gst_query_set_duration),
7502         (gst_query_parse_duration), (gst_query_new_convert),
7503         (gst_query_set_convert), (gst_query_parse_convert),
7504         (gst_query_new_segment), (gst_query_set_segment),
7505         (gst_query_parse_segment), (gst_query_new_seeking),
7506         (gst_query_set_seeking), (gst_query_parse_seeking):
7507         Add internal helpers for pre-registering quarks from static strings
7508         and using the quark values directly instead of looking them up when
7509         creating and parsing queries. Can be used for event construction too.
7510         Closes #350432.
7511
7512 2006-08-16  Wim Taymans  <wim@fluendo.com>
7513
7514         * gst/gstbin.c:
7515         Fix bogus docs.
7516
7517 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7518
7519         * gst/gstutils.c: (gst_util_set_value_from_string):
7520           Fix memleak (#351502).
7521
7522         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7523           Add unit test for most of gst_util_set_value_from_string()
7524           (not that one would want to encourage use of this function).
7525
7526 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7527
7528         * libs/gst/check/gstcheck.h:
7529           Use const gchar * variables in fail_unless_equals_string
7530           macro to avoid compiler warnings (and don't use tabs for
7531           indenting).
7532
7533 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7534
7535         * tools/gst-launch.c: (print_tag):
7536           More space on the left for the tag names, to cater
7537           for the 'extended comment' tag (not touching the
7538           string for the first line since it's translated).
7539
7540 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7541
7542         * libs/gst/check/gstcheck.h:
7543           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7544           print something when they fail.
7545
7546 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7547
7548         * docs/gst/gstreamer-sections.txt:
7549         * gst/gsttaglist.c: (_gst_tag_initialize):
7550         * gst/gsttaglist.h:
7551           API: add GST_TAG_EXTENDED_COMMENT (#350935).
7552           Also change merge function for GST_TAG_COMMENT to
7553           use_first.
7554
7555 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7556
7557         * gst/gstinfo.c: (gst_debug_print_object):
7558           Make GST_PTR_FORMAT print messages as well.
7559
7560         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7561         (GST_START_TEST), (gst_info_suite):
7562           More tests.
7563
7564 2006-08-14  Edward Hervey  <edward@fluendo.com>
7565
7566         * gst/gstelementfactory.c: (gst_element_register):
7567         If the GstElementClass doesn't have a GstElementDetails with all fields
7568         filled up correctly (longname, description AND author), then error out
7569         nicely instead of crashing.
7570
7571 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7572
7573         * gst/gststructure.c:
7574           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7575
7576         * gst/gstvalue.h:
7577           Expand on the difference between arrays and lists as we use them.
7578           
7579 2006-08-14  Wim Taymans  <wim@fluendo.com>
7580
7581         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7582         If the parent state change function failed, don't assume we can safely
7583         stop the source, this will be done when the pads are deactivated.
7584
7585 2006-08-14  Wim Taymans  <wim@fluendo.com>
7586
7587         * gst/gstbuffer.c:
7588         * gst/gsttask.c: (gst_task_join):
7589         Small doc updates.
7590
7591         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7592         (gst_pad_stop_task):
7593         When pad (de)activation failed for some reason, restore the old
7594         activation mode and set the pad to flushing instead of assuming the
7595         pad is deactivated.
7596         If the _task_join() failed, reinstall the task on the pad so that it can
7597         be stopped later and return an error.
7598
7599 2006-08-11  Andy Wingo  <wingo@pobox.com>
7600
7601         * configure.ac:
7602         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7603         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7604         is only for users of API that don't want to see deprecated
7605         functions in the headers; people that want to compile out
7606         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7607         CFLAGS. Fixes the build of multifdsink, or will soon..
7608
7609 2006-08-11  Wim Taymans  <wim@fluendo.com>
7610
7611         * docs/gst/gstreamer-sections.txt:
7612         Add GstClockClass vmethod docs.
7613
7614         * gst/gstcaps.h:
7615         Mark #endif with comment for associated #if
7616
7617         * gst/gstclock.c: (gst_clock_id_wait):
7618         * gst/gstclock.h:
7619         Add vmethod wait_jitter to avoid an unneeded _get_time() for
7620         most clock implementations.
7621         Document vmethods.
7622         Flesh out docs about resolution methods.
7623         API: GstClockClass::wait_jitter
7624
7625         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7626         (gst_system_clock_async_thread),
7627         (gst_system_clock_id_wait_jitter_unlocked),
7628         (gst_system_clock_id_wait_jitter):
7629         Use base class wait_jitter variant for improved performance
7630         due to less clock polling.
7631
7632 2006-08-11  Edward Hervey  <edward@fluendo.com>
7633
7634         * gst/gst.c: (gst_init_check), (init_post):
7635         Set gst as being initialized before scanning/updating the registry,
7636         since there might be my python plugin loader that calls gst_init() and
7637         we don't want to loop back in.
7638         Closes #350879
7639
7640 2006-08-11  Wim Taymans  <wim@fluendo.com>
7641
7642         * docs/design/part-qos.txt:
7643         Bring docs in line with the code. Mostly the sign of the jitter was
7644         wrong in the docs. Fixes #349943.
7645
7646         * gst/gstclock.c:
7647         Fix the docs for the jitter.
7648
7649         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7650         (gst_event_parse_tag), (gst_event_new_buffer_size),
7651         (gst_event_parse_buffer_size), (gst_event_parse_qos),
7652         (gst_event_new_seek), (gst_event_parse_seek),
7653         (gst_event_new_navigation):
7654         Make sure the GstStructure has no parent when creating custom
7655         events.
7656         Add some more argument checking so that we avoid 0.0 rates.
7657         Flesh out the docs for the QoS event some more.
7658
7659 2006-08-11  Wim Taymans  <wim@fluendo.com>
7660
7661         * docs/gst/gstreamer-sections.txt:
7662         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7663         (ensure_current_registry_forking), (ensure_current_registry),
7664         (parse_one_option), (parse_goption_arg), (gst_deinit),
7665         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7666         * gst/gst.h:
7667         Doc updates.
7668         Added API and command line option to disable registry forking in
7669         addition to the environment variable.
7670         Constify some static arrays.
7671         Added some more debug.
7672         Don't deinit twice.
7673         API: gst_registry_fork_is_enabled()
7674         API: gst_registry_fork_set_enabled()
7675         API: --gst-disable-registry-fork command line option
7676         Fixes #348918.
7677
7678 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
7679
7680         * gst/gst.c: (gst_init):
7681           Fix typo in error message.
7682
7683 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7684
7685         * libs/gst/controller/gstcontroller.h:
7686           fix ABI size-correction
7687
7688         * tests/check/libs/gdp.c: (gst_dp_suite):
7689           make tests that use deprecated API conditional
7690
7691 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7692
7693         * docs/libs/gstreamer-libs-sections.txt:
7694         * libs/gst/controller/gstcontroller.c:
7695         (_gst_controller_get_property), (_gst_controller_set_property),
7696         (_gst_controller_init), (_gst_controller_class_init):
7697         * libs/gst/controller/gstcontroller.h:
7698         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7699         (gst_object_set_control_rate):
7700           API: add gst_object_{s,g}et_control_rate(), add private data section,
7701           fix docs
7702
7703         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7704         * libs/gst/dataprotocol/dataprotocol.h:
7705           add deprecation guards to make gtk-doc happy and allow disabling cruft
7706
7707 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7708
7709         * tests/check/Makefile.am:
7710         * tests/check/gst/.cvsignore:
7711           Let's enable the new unit test as well.
7712
7713 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7714
7715         * configure.ac:
7716         * docs/gst/gstreamer-sections.txt:
7717         * gst/gstconfig.h.in:
7718         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7719         (_gst_info_printf_extension_ptr),
7720         (_gst_info_printf_extension_segment):
7721           API: add GST_SEGMENT_FORMAT, which is a printf extension we
7722           register that lets us easily dump GstSegments into debug
7723           logs (#350419).
7724
7725         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7726         (info_segment_format_printf_extension), (gst_info_suite):
7727           Add simple unit test that logs a bunch of different segments (not
7728           valgrinded at the moment because of leaks in
7729           gst_debug_add_log_function).
7730
7731 2006-08-09  Edward Hervey  <edward@fluendo.com>
7732
7733         * libs/gst/base/gstbasetransform.c:
7734         (gst_base_transform_buffer_alloc):
7735         Even if we can't figure out the proper format to request downstream,
7736         call buffer_alloc() downstream with the input parameters without setting
7737         the caps on the srcpad. This will force negotiation in the chain
7738         function.
7739         Closes #350449
7740
7741 2006-08-08  Edward Hervey  <edward@fluendo.com>
7742
7743         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7744         Unlinking from a pad without a target is now a perfectly valid case
7745         which should NOT raise an assertion.
7746         This case would happen if a linked ghostpad its target set to NULL after
7747         it was previously linked.
7748
7749 2006-08-08  Edward Hervey  <edward@fluendo.com>
7750
7751         * tests/check/libs/gdp.c:
7752         Also comment out the test (see below).
7753
7754 2006-08-08  Edward Hervey  <edward@fluendo.com>
7755
7756         * tests/check/libs/gdp.c: (gst_dp_suite):
7757         Use the architecture information from config.h and not gcc macros
7758         in order to properly disable a test that fails on PPC64.
7759
7760 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
7761
7762         * gst/gstelement.c: (gst_element_remove_pad):
7763           Don't crash printing the warning if the pad has no parent.
7764
7765 2006-08-02  Wim Taymans  <wim@fluendo.com>
7766
7767         * libs/gst/dataprotocol/dataprotocol.c:
7768         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7769         (gst_dp_crc), (gst_dp_header_payload_length),
7770         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7771         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7772         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7773         (gst_dp_event_from_packet), (gst_dp_validate_header),
7774         (gst_dp_validate_payload):
7775         Make debug category static
7776         Constify the crc table.
7777         Do some more arg checking in public functions.
7778         Fix some docs and do some small cleanups.
7779
7780         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7781         Add some more checks to see if GDP deals with bogus input.
7782
7783 2006-07-31  Wim Taymans  <wim@fluendo.com>
7784
7785         * gst/gstvalue.c: (gst_value_compare_list):
7786         Fix GstValueList comparison code. Fixes #347293.
7787
7788         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7789         Check to test GstValueList comparison.
7790
7791 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7792
7793         * gst/gstelementfactory.c: (gst_element_factory_create):
7794         Remove unnecessary ref/unref pair
7795
7796         * gst/parse/grammar.y:
7797         Make sure to free the parse buffer on all code paths.
7798         Move a g_free up to the error handler where it's easier to see.
7799
7800         * tests/check/gst/gstevent.c: (test_event):
7801         Extending timeout for downstream travelling events to 10 seconds to
7802         hopefully avoid intermittent failure on the buildbots.
7803
7804         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7805         Don't manually set the state of the src element - it will happen as a
7806         natural consequence of the pipeline changing state, and that way it
7807         will do it in the right order too.
7808
7809 2006-07-31  Wim Taymans  <wim@fluendo.com>
7810
7811         * libs/gst/base/gstbasetransform.c:
7812         (gst_base_transform_buffer_alloc):
7813         Use OBJECT_LOCK and refcounting to get the pad caps in the
7814         buffer_alloc function because the caps could change while we are
7815         busy with them. Fixes #349105
7816
7817 2006-07-31  Wim Taymans  <wim@fluendo.com>
7818
7819         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7820         Protect _PAD_CAPS with OBJECT_LOCK.
7821
7822 2006-07-31  Wim Taymans  <wim@fluendo.com>
7823
7824         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7825         (gst_pad_get_property), (gst_pad_activate_pull),
7826         (gst_pad_activate_push), (gst_pad_set_blocked_async),
7827         (gst_pad_set_activate_function),
7828         (gst_pad_set_activatepull_function),
7829         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7830         (gst_pad_set_getrange_function),
7831         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7832         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7833         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7834         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7835         (gst_pad_set_acceptcaps_function),
7836         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7837         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7838         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7839         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7840         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7841         (gst_pad_configure_sink), (gst_pad_configure_src),
7842         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7843         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7844         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7845         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7846         (gst_pad_send_event):
7847         Use _DEBUG_OBJECT when it makes sense.
7848         Protect GST_PAD_CAPS with the OBJECT_LOCK.
7849         Small cleanups and code reflows.
7850         Avoid caps refcounting in _accept_caps.
7851         Refactor alloc_buffer so that the code performed on the peer is in a
7852         separate function. Also if the pad does not implement a buffer alloc
7853         function, we should still check if the pad is flushing before falling
7854         back to the default allocator.
7855
7856 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7857
7858         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7859         Make all uses of identity and fakesink have silent=true to avoid
7860         serialising every passing data structure, which is breaking tests
7861         on FC4 for some unknown reason.
7862
7863 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7864
7865         * gst/parse/Makefile.am:
7866         * gst/parse/grammar.y:
7867         * gst/parse/parse.l:
7868           Reverted previous patch as it required to bump the flex dependency to
7869           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7870
7871 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7872
7873         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7874
7875         * gst/parse/Makefile.am:
7876         * gst/parse/grammar.y:
7877         * gst/parse/parse.l:
7878           push & pop the state of the lexer for reentrant use case
7879           Fixes #349180
7880
7881 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
7882
7883         * libs/gst/base/gstbasesrc.h:
7884           Note in the docs that the ::newsegment vfunc is not actually used by
7885           GstBaseSrc.
7886
7887 2006-07-28  Wim Taymans  <wim@fluendo.com>
7888
7889         * libs/gst/base/gstcollectpads.c:
7890         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7891         (gst_collect_pads_clear), (gst_collect_pads_flush),
7892         (gst_collect_pads_event), (gst_collect_pads_chain):
7893         When flushing a pad, also clear the queued buffer so that we don't
7894         accidentally use it when we shouldn't.
7895         Fix leaks by inreffing incomming buffer.
7896         Flush out queued buffers in case of errors.
7897         Fixes #347452.
7898
7899 2006-07-28  Wim Taymans  <wim@fluendo.com>
7900
7901         * docs/random/phonon-gst:
7902         Random notes about a Phonon backend.
7903
7904 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7905
7906         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7907         Extra debug output
7908         * tests/check/libs/gdp.c: (gst_dp_suite):
7909         Take a whack at fixing the ppc compile using a different define to
7910         disable the broken test.
7911
7912         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7913         Remove excess g_print()
7914
7915 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7916
7917         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7918         Oops, meant to uncomment this line too to dampen the noise a bit.
7919
7920 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7921
7922         * gst/parse/grammar.y:
7923         * gst/parse/parse.l:
7924         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7925         (GST_START_TEST), (parse_suite):
7926         Fix some of the leaks exposed by extending the parse-launch testsuite,
7927         and move the 3 I can't figure out into a separate test that won't run
7928         the pipelines unless the appropriate line is uncommented.
7929
7930 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7931
7932         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7933           Requesting 0 bytes before the end of the file should result in
7934           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7935           unit test.
7936
7937 2006-07-27  Wim Taymans  <wim@fluendo.com>
7938
7939         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7940         Fix useless assert, a uint is always positive.
7941
7942         * gst/gststructure.c: (gst_structure_nth_field_name),
7943         (gst_structure_foreach), (gst_structure_map_in_place):
7944         Check input arguments for public functions to avoid obvious crashes.
7945
7946         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7947         * plugins/elements/gstfakesink.h:
7948         Do less useless typechecking.
7949
7950 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7951
7952         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7953           Do not use mmap() by default since there are a number of error
7954           conditions that we would like to handle in a non-fatal way that
7955           will result in a SIGBUS if we use mmap(). Examples: external
7956           devices (USB harddrive, portable music player) being unplugged
7957           while in use; file on mounted CD/DVD that can't be read because
7958           the medium is partly damaged. Fixes #348455 and #348475.
7959
7960 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7961
7962         * gst/gstquery.h:
7963         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7964         rates are a gdouble
7965
7966 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
7967
7968         * gst/gstregistry.c:
7969           Move big documentation comment into class section header, so that it
7970           appears in the API docs.
7971
7972 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7973
7974         * docs/gst/gstreamer-sections.txt:
7975         Oops. Commit the docs additions too for new API.
7976         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7977
7978 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7979
7980         * gst/gststructure.c: (gst_structure_id_set),
7981         (gst_structure_id_set_valist):
7982         * gst/gststructure.h:
7983         Add API for setting values into structures without performing
7984         a quark lookup, if the appropriate quark is already known.
7985
7986         API: gst_structure_id_set
7987         API: gst_structure_id_set_valist
7988
7989         * gst/parse/grammar.y:
7990         * gst/parse/parse.l:
7991         Remove some dead code shown by the coverage information.
7992         Don't throw a critical g_warning when encountering a syntax error,
7993         just warn and let the normal error path handle it.
7994
7995         * plugins/elements/gstelements.c:
7996         Bump the rank of filesink up to PRIMARY so that it is preferred over
7997         gnomevfssink for file:// sink uri's
7998
7999         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8000         (GST_START_TEST), (run_delayed_test),
8001         (gst_parse_test_element_base_init),
8002         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
8003         (gst_parse_test_element_change_state),
8004         (gst_register_parse_element), (parse_suite):
8005         Beef up the tests for parse syntax to check that more error cases
8006         fail as they are supposed to. Increases the test coverage a bit.
8007
8008 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
8009
8010         * docs/manual/basics-elements.xml:
8011           Fix gst_element_link() example.
8012
8013         * gst/gstutils.c:
8014           Mention in API docs that one should usually gst_bin_add()
8015           elements to a bin or pipeline before doing the linking.
8016           
8017 2006-07-26  Wim Taymans  <wim@fluendo.com>
8018
8019         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
8020         (gst_subbuffer_get_type), (gst_buffer_create_sub):
8021         Avoid function call for known types by keeping the buffer and
8022         subbuffer GType global.
8023
8024         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8025         Random silly optimisations in read() path.
8026
8027 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
8028
8029         * tools/gst-launch.c: (main):
8030           If the top-level of the parse is a normal bin, it doesn't do the
8031           right logic to run as a top-level element, so place it inside a
8032           pipeline.
8033
8034 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
8035
8036         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
8037           Remove superfluous g_object_notify() calls, GObject does
8038           that for us automatically.
8039
8040 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
8041
8042         * gst/gstinfo.h:
8043           on Win32, use dllspec to export the debug category symbols
8044
8045 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
8046
8047         * gst/gsttaglist.c: (_gst_tag_initialize):
8048           Allow more than one GST_TAG_IMAGE per taglist.
8049
8050 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8051
8052         * gst/gstminiobject.c:
8053           update docs
8054         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
8055         (gst_fd_src_create):
8056           log recurring events at LOG level
8057           add more debug for when the fd gets set
8058
8059 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
8060
8061         * gst/gstparse.c: (gst_parse_launch):
8062           Also remove reentrance checks if flex is MT safe (#348179)
8063          Fix my empty ChangeLog entry below
8064
8065 2006-07-21  Andy Wingo  <wingo@pobox.com>
8066
8067         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
8068
8069         * libs/gst/check/Makefile.am
8070         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
8071         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
8072         * libs/gst/check/gstbufferstraw.h:
8073         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
8074         functions, thus proving I am still a GStreamer haxor. OK I wrote
8075         them a long time ago, but anyways.
8076
8077 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
8078
8079         * configure.ac:
8080         * gst/gstparse.c: (gst_parse_launch):
8081           Check for flex version and omit mutex if we have a MT save flex
8082           (fixes #348179)
8083
8084 2006-07-21  Wim Taymans  <wim@fluendo.com>
8085
8086         * gst/gstparse.c: (gst_parse_launch):
8087         Protect recursive calls to _parse with a recursive mutex
8088         and busy flag.
8089
8090 2006-07-21  Wim Taymans  <wim@fluendo.com>
8091
8092         * tests/check/gst/gstpad.c: (GST_START_TEST):
8093         Fix leak in test.
8094
8095 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
8096
8097         * gst/gstparse.c: (gst_parse_launch):
8098           Do not hang on recursive usage of gst_parse_launch()
8099
8100 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8101
8102         * gst/gsttaglist.c:
8103           Add some more docs, comments and FIXME 0.11s here and there
8104           and also fix some typos.
8105
8106 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8107
8108         * gst/gstsegment.h:
8109           Convert tabs to spaces for better readability. 
8110
8111 2006-07-20  Edward Hervey  <edward@fluendo.com>
8112
8113         * tests/check/libs/gdp.c: (gst_dp_suite):
8114         the test_buffer test fails at line 140 on ppc64 at the following
8115         check:
8116         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8117                 GST_BUFFER_FLAG_IN_CAPS),
8118                 "GST_BUFFER_IN_CAPS flag should have been copied !");
8119         See bug #348114 for more details.
8120
8121 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
8122
8123         * docs/pwg/advanced-scheduling.xml:
8124         * gst/gstpad.c:
8125           Fix typos (#348000).
8126
8127 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
8128
8129         * docs/pwg/intro-basics.xml:
8130           Fix wrong links (#347927).
8131
8132 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
8133
8134         * gst/gstregistry.h:
8135         * gst/gstregistryxml.c: (load_feature),
8136         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8137         * win32/common/config.h:
8138           make --disable-index work (#342564)
8139
8140 2006-07-18  Wim Taymans  <wim@fluendo.com>
8141
8142         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8143
8144         * gst/Makefile.am:
8145         * gst/gsttrace.h:
8146         The attached patch adds two missing defines to gsttrace.h when tracing
8147         is disabled.  It also corrects one existing define.
8148         Fixes #347756.
8149
8150 2006-07-17  Wim Taymans  <wim@fluendo.com>
8151
8152         * docs/gst/gstreamer-sections.txt:
8153         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8154         * gst/gst.h:
8155         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8156         Add two functions to check and change the SIGSEGV behaviour
8157         when loading plugins.
8158         Don't mess with the SIGSEGV handler when we were told not to.
8159         Fixes #347794.
8160         API: gst_segtrap_is_enabled
8161         API: gst_segtrap_set_enabled
8162
8163 2006-07-14  Wim Taymans  <wim@fluendo.com>
8164
8165         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8166         * tests/check/elements/filesrc.c: (GST_START_TEST):
8167         Revert fix for regression in #347408 after release.
8168
8169 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
8170
8171         Patch by: Antoine Tremblay <hexa00 at gmail com>
8172
8173         * gst/gstutils.c: (gst_element_unlink):
8174           Free iterator when done (#347311).
8175
8176         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8177           And add a test case for this.
8178
8179 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
8180
8181         * configure.ac:
8182         Bump nano back to CVS
8183
8184 === release 0.10.9 ===
8185
8186 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
8187
8188         * configure.ac:
8189           releasing 0.10.9, "On the road again"
8190
8191 2006-07-13  Wim Taymans  <wim@fluendo.com>
8192
8193         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8194         * tests/check/elements/filesrc.c: (GST_START_TEST):
8195         Revert pull-0 fix for release. Disable check. Fixes #347408.
8196
8197 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8198
8199         * libs/gst/dataprotocol/dataprotocol.c:
8200         (gst_dp_event_from_packet_1_0):
8201           Fixes #347337: failure to deserialize event packets with
8202           empty payload (only event type)
8203
8204 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8205
8206         * gst/Makefile.am:
8207           do not install a .c file in the header directory
8208
8209 2006-07-13  Edward Hervey  <edward@fluendo.com>
8210
8211         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8212         GhostPad no longer implicitely use the padtemplates of the targets.
8213         Fixes #347384
8214
8215 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
8216
8217         * gst/gstvalue.c: (gst_value_compare_list),
8218         (gst_value_compare_array), (_gst_value_initialize):
8219         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8220         Make GstValueArray comparison be order dependent as designed.
8221         Add checks for value lists and value array comparisons.
8222         Fixes #347221
8223
8224 2006-07-11  Edward Hervey  <edward@fluendo.com>
8225
8226         * gst/gstbin.c: (activate_pads),
8227         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8228         (gst_bin_change_state_func):
8229         (de)activate src pads before calling state_change on the childs.
8230         This is to avoid the case where a src ghostpad is blocked (holding the
8231         stream lock), which would block the deactivation of the ghostpad's
8232         target pad.
8233         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8234         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8235         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8236         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8237         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8238         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8239         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8240         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8241         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8242         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8243         (gst_ghost_pad_class_init),
8244         (gst_ghost_pad_internal_do_activate_push),
8245         (gst_ghost_pad_internal_do_activate_pull),
8246         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8247         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8248         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8249         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8250         GhostPads now create their internal GstProxyPad at creation (and not
8251         when they're linked, as it was being done previously).
8252         The internal and target pads are linked straight away.
8253         The data will also travel through the other pad in order to make
8254         pad blocking and probes non-hackish (the probe/block now really happens
8255         on the GhostPad and not on the target).
8256         * gst/gstpad.c: (gst_pad_set_blocked_async),
8257         (gst_pad_link_prepare), (gst_pad_push_event):
8258         Remove previous ghostpad cruft.
8259         * gst/gstutils.c: (gst_pad_add_data_probe),
8260         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8261         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8262         (gst_pad_remove_buffer_probe):
8263         Remove previous ghost pad cruft.
8264         Added more detailed debug statements.
8265         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8266         Fix the testsuite for refcounting changes.
8267         The comments about who has references were correct, but the refcount
8268         being checked wasn't the same (!?!).
8269
8270         Fixes #341029
8271
8272 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8273
8274         * docs/gst/gstreamer-sections.txt:
8275         * gst/gstconfig.h.in:
8276         More docs for configuration options, add docs to gtk-doc.
8277
8278 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8279
8280         * gst/Makefile.am:
8281         * gst/gstconfig.h.in:
8282         * win32/common/config.h:
8283         Fix build when disabling tracing (fixes #344016). Also start to document
8284         the defines that disable the sub-systems.
8285
8286 2006-07-10  Edward Hervey  <edward@fluendo.com>
8287
8288         * gst/gst.c: (ensure_current_registry_forking):
8289         let's make valgrind happy...
8290
8291 2006-07-09  Wim Taymans  <wim@fluendo.com>
8292
8293         * gst/gstelement.c: (activate_pads),
8294         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8295         Better pad activation code: Reset the collect value too on resync.
8296         Add some comments.
8297
8298 2006-07-09  Wim Taymans  <wim@fluendo.com>
8299
8300         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8301         (gst_pad_activate_push):
8302         Use some more macros where it makes sense.
8303         Allow pad mode switching instead of asserting. When a pad
8304         is activated in one mode and we activate it in another, 
8305         deactivate it first before activating it in a different mode.
8306         Fixes #329198.
8307
8308 2006-07-08  Andy Wingo  <wingo@pobox.com>
8309
8310         * tools/gst-launch.c (main): Handle err == NULL.
8311
8312         * gst/gst.c (init_post, ensure_current_registry)
8313         (ensure_current_registry_forking)
8314         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8315         factoring out the registry scanning into separate functions. Don't
8316         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8317         Better environment var name/interface suggestions accepted.
8318
8319 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8320
8321         * gst/gstobject.c: (gst_object_set_name_default),
8322         (gst_object_set_name):
8323           Random micro-optimisation: don't use a hash table
8324           with strings as keys and the usual strdup/strcmp
8325           involved, but rather just use the GQuark of the
8326           type name as key, since it needs to be looked up
8327           anyway to get the type name string.
8328
8329         * tests/check/gst/gstobject.c: (GST_START_TEST):
8330           Fix various leaks.
8331
8332 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8333
8334         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8335         (gst_bin_iterate_all_by_interface):
8336           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8337           GTypes are gulongs and thus the top 4 bytes might be cut
8338           off on some platforms when doing GPOINTER_TO_INT, leading
8339           to invalid GTypes and bad things happening (see RH bug #179654).
8340           Also add a check to make sure the type passed in is really
8341           an interface type.
8342
8343 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8344
8345         * .cvsignore:
8346           Ignore more.
8347
8348 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8349
8350         * Makefile.am:
8351         * configure.ac:
8352         * gst-element-check.m4:
8353         * gst-element-check.m4.in:
8354           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8355           instead of the unversioned gst-inspect (#324176, #168659).
8356
8357 2006-07-06  Wim Taymans  <wim@fluendo.com>
8358
8359         * gst/gstmessage.h:
8360         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8361         warnings.
8362
8363 2006-07-06  Wim Taymans  <wim@fluendo.com>
8364
8365         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8366         (gst_base_src_wait), (gst_base_src_update_length),
8367         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8368         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8369         (gst_base_src_loop), (gst_base_src_start),
8370         (gst_base_src_activate_pull):
8371         Update docs.
8372         blocksize == 0 now means the default blocksize when working in push
8373         based mode.
8374         Remove some pointless asserts in _wait function.
8375         Fix offset/length calculations and EOS handling. We can now pull 0
8376         bytes as well, which is allowed.
8377         use _check_get_range() to decide if we can operate in _pull based
8378         mode.
8379         Fix refcounting leak when check_get_range function was not 
8380         implemented.
8381         API GstBaseSrc::blocksize range can be 0 too now (default)
8382
8383         * tests/check/elements/filesrc.c: (GST_START_TEST),
8384         (filesrc_suite):
8385         Added check to test _get_range() behaviour.
8386
8387 2006-07-06  Wim Taymans  <wim@fluendo.com>
8388
8389         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8390         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8391         (gst_pad_pull_range):
8392         * gst/gstpad.h:
8393         Lots of comments and docs added to the pad functions.
8394         Flesh out the expected behaviour of the get_range() functions.
8395
8396 2006-07-06  Wim Taymans  <wim@fluendo.com>
8397
8398         * gst/gstbus.h:
8399         * gst/gstclock.h:
8400         * gst/gstevent.h:
8401         * gst/gstiterator.h:
8402         * gst/gstpad.h:
8403         * gst/gstplugin.h:
8404         * gst/gsttask.h:
8405         Remove comma at end of enumerator list. 
8406
8407 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
8408
8409         * win32/common/libgstbase.def:
8410         * win32/common/libgstdataprotocol.def:
8411         * win32/common/libsgtreamer.def:
8412         Add new exported functions.
8413
8414 2006-07-05  Wim Taymans  <wim@fluendo.com>
8415
8416         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8417         Add some more docs here and there.
8418
8419 2006-07-05  Wim Taymans  <wim@fluendo.com>
8420
8421         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8422         (gst_base_sink_loop), (gst_base_sink_get_position):
8423         When operating in pull mode update the offset so that we
8424         read sequentially.
8425
8426 2006-07-05  Wim Taymans  <wim@fluendo.com>
8427
8428         * gst/gstregistryxml.c: (read_string):
8429         Avoid strdup. (will happen in libxml, but hey!)
8430
8431         * gst/gsturi.c:
8432         Add some more docs.
8433
8434 2006-07-05  Wim Taymans  <wim@fluendo.com>
8435
8436         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8437         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8438         (gst_buffer_suite):
8439         No point in checking if the size of the subbuffer > 0, the
8440         code handles it correclty as demonstrated by unit test.
8441         Also add a unit test for the zero sized _new_and_alloc and
8442         _copy. Fixes #346663.
8443
8444 2006-07-05  Wim Taymans  <wim@fluendo.com>
8445
8446         * libs/gst/base/gstbasetransform.c:
8447         (gst_base_transform_prepare_output_buffer),
8448         (gst_base_transform_buffer_alloc),
8449         (gst_base_transform_handle_buffer):
8450         Make sure the buffer we pass to transform_ip has a refcount of
8451         1 and thus is writable. Fixes #343196
8452
8453 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
8454
8455         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8456         (gst_file_src_init), (gst_file_src_set_property),
8457         (gst_file_src_get_property), (gst_file_src_map_region):
8458         * plugins/elements/gstfilesrc.h:
8459         Add "sequential" property, off by default, to use madvise and hint
8460         to the kernel that sequential access is desired.
8461         Touch all retrieved pages by default to ensure they are pulled
8462         into memory. (Closes #345720)
8463
8464 2006-07-03  Wim Taymans  <wim@fluendo.com>
8465
8466         * docs/design/part-block.txt:
8467         * docs/design/part-dynamic.txt:
8468         Small docs updates.
8469
8470 2006-07-03  Wim Taymans  <wim@fluendo.com>
8471
8472         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8473         (gst_caps_unref), (gst_static_caps_get),
8474         (gst_caps_append_structure):
8475         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8476         Use GSlice when the glib we build against is >= 2.10
8477
8478 2006-07-03  Wim Taymans  <wim@fluendo.com>
8479
8480         * gst/gstelement.c: (gst_element_pads_activate):
8481         Small cleanup in pad activation code.
8482
8483 2006-07-03  Wim Taymans  <wim@fluendo.com>
8484
8485         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8486
8487         * gst/gst-i18n-app.h:
8488         * gst/gst-i18n-lib.h:
8489         * tools/gst-inspect.c: (print_signal_info):
8490         The attached patch will make the inclusion of gettext.h unconditional in
8491         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8492         libintl.h in tools/gst-inspect.c.
8493         This allows use of --disable-nls again and fixes #344642.
8494
8495 2006-07-03  Edward Hervey  <edward@fluendo.com>
8496
8497         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8498         Implement pad blocking on events according to part-block.txt.
8499         More comments on behaviour.
8500         * tests/check/gst/gstevent.c: (test_event):
8501         Send event to peer pad of blocked pad (else it will block).
8502
8503 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8504
8505         * libs/gst/check/gstcheck.c: (gst_check_message_error),
8506         (gst_check_run_suite):
8507           if we get the wrong message, give us the types as string
8508         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8509           Fix a translatable
8510         * tests/check/elements/filesrc.c: (GST_START_TEST):
8511           add a test for trying to open a non-existing file
8512
8513 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8514
8515         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8516           add a test for adding self
8517
8518 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8519
8520         * libs/gst/check/gstcheck.h:
8521           add some assert_ as alias for fail_unless_*
8522         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8523           increase test coverage
8524
8525 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8526
8527         * Makefile.am:
8528           include lcov.mak for lcov coverage generation
8529         * tools/Makefile.am:
8530           add to CLEANFILES
8531
8532 2006-07-02  Edward Hervey  <edward@fluendo.com>
8533
8534         * tests/check/elements/.cvsignore:
8535         moaping
8536
8537 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8538
8539         * configure.ac:
8540           don't set CFLAGS and friends for gcov, done from GST_GCOV now
8541         * tests/check/Makefile.am:
8542           clean up gcov files
8543
8544 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8545
8546         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8547           remove gst_caps_simplify; it was not declared and not used
8548           and deprecated in 0.8
8549
8550 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8551
8552         * docs/faq/gst-uninstalled:
8553           don't put empty paths on PYTHONPATH
8554         * docs/gst/gstreamer-sections.txt:
8555           remove some symbols that are not there
8556
8557 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8558
8559         * gst/gstcaps.c: (gst_caps_compare_structures):
8560           whitespace fixes
8561         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8562         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8563           add more tests
8564
8565 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8566
8567         * libs/gst/dataprotocol/Makefile.am:
8568           build dataprotocol test by linking to the lib, instead of
8569           compiling the source, so we get coverage
8570         * tests/check/Makefile.am:
8571         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8572         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8573           add a test for filesrc
8574
8575 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8576
8577         * tests/check/gst/gststructure.c: (GST_START_TEST),
8578         (gst_structure_suite):
8579           Push coverage from 59.04% to 70.00%
8580
8581 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8582
8583         * tests/check/Makefile.am:
8584           gst-inspect every element; this makes sure that we also get
8585           coverage on element's get/set functions
8586
8587 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8588
8589         * configure.ac:
8590           set CFLAGS and friends to -O0 if gcov is being used
8591           add GCOV LIBS
8592         * gst/Makefile.am:
8593         * libs/gst/base/Makefile.am:
8594         * libs/gst/check/Makefile.am:
8595         * libs/gst/controller/Makefile.am:
8596         * libs/gst/dataprotocol/Makefile.am:
8597         * libs/gst/net/Makefile.am:
8598         * plugins/elements/Makefile.am:
8599         * plugins/indexers/Makefile.am:
8600           add makefile rules to generate gcov data and clean up
8601         * tests/check/Makefile.am:
8602           add a coverage target that generates an html overview
8603           of coverage data
8604
8605 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8606
8607         * tests/check/elements/fakesink.c:
8608         * tests/check/elements/fakesrc.c:
8609         * tests/check/elements/fdsrc.c:
8610         * tests/check/elements/identity.c:
8611         * tests/check/generic/sinks.c: (gst_sinks_suite):
8612         * tests/check/generic/states.c:
8613         * tests/check/gst/gst.c:
8614         * tests/check/gst/gstabi.c:
8615         * tests/check/gst/gstbin.c:
8616         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8617         * tests/check/gst/gstbus.c: (gst_bus_suite):
8618         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8619         * tests/check/gst/gstelement.c:
8620         * tests/check/gst/gstevent.c: (gst_event_suite):
8621         * tests/check/gst/gstghostpad.c:
8622         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8623         * tests/check/gst/gstmessage.c: (gst_message_suite):
8624         * tests/check/gst/gstminiobject.c:
8625         * tests/check/gst/gstobject.c:
8626         * tests/check/gst/gstpad.c:
8627         * tests/check/gst/gstpipeline.c:
8628         * tests/check/gst/gstplugin.c:
8629         * tests/check/gst/gstquery.c: (gst_query_suite):
8630         * tests/check/gst/gstsegment.c: (gst_segment_suite):
8631         * tests/check/gst/gststructure.c:
8632         * tests/check/gst/gstsystemclock.c:
8633         * tests/check/gst/gsttag.c:
8634         * tests/check/gst/gsttask.c: (gst_task_suite):
8635         * tests/check/gst/gstutils.c:
8636         * tests/check/gst/gstvalue.c:
8637         * tests/check/libs/adapter.c:
8638         * tests/check/libs/basesrc.c:
8639         * tests/check/libs/collectpads.c:
8640         * tests/check/libs/controller.c:
8641         * tests/check/libs/gdp.c: (gst_dp_suite):
8642         * tests/check/libs/gstnetclientclock.c:
8643         * tests/check/libs/gstnettimeprovider.c:
8644         * tests/check/libs/libsabi.c: (libsabi_suite):
8645         * tests/check/libs/typefindhelper.c:
8646         * tests/check/pipelines/cleanup.c:
8647         * tests/check/pipelines/parse-launch.c:
8648         * tests/check/pipelines/simple-launch-lines.c:
8649         * tests/check/pipelines/stress.c: (stress_suite):
8650           use the new macro
8651
8652 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8653
8654         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8655         * libs/gst/check/gstcheck.h:
8656           create a macro and function so that the simple unit test
8657           case can be just one macro to create main()
8658
8659 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
8660
8661         * gst/gstbin.c: (gst_bin_restore_thyself):
8662         * gst/gstxml.c: (gst_xml_make_element):
8663           Fix deserialisation from XML. Set parent manually
8664           instead of using gst_bin_add(), since gst_bin_add()
8665           will unlink all pads of the element being added.
8666           Fixes #341667.
8667
8668 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
8669
8670         Patch by: Peter Kjellerstedt <pkj at axis com>
8671
8672         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8673           Fix missing g_strdup() and double free when using the
8674           --gst-plugin-load command line option (#346097).
8675
8676 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8677
8678         * gst/gstinfo.c:
8679           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8680
8681         * libs/gst/net/gstnetclientclock.c:
8682         * libs/gst/net/gstnettimeprovider.c:
8683           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8684
8685 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8686
8687         * docs/manual/advanced-dataaccess.xml:
8688           Fix buffer probe example compilation in
8689           ADM (#345708).
8690         
8691 2006-06-22  Edward Hervey  <edward@fluendo.com>
8692
8693         * gst/gstelement.c: (gst_element_pads_activate):
8694         We need to deactivate src pads first and then sink pads.
8695         The reason is the src pads might be blocking while holding the streaming
8696         lock, so we need to deactivate them first so that deactivating the sink
8697         pads doesn't block (since it will require the streaming lock).
8698
8699 2006-06-22  Wim Taymans  <wim@fluendo.com>
8700
8701         * libs/gst/base/gstbasetransform.c:
8702         (gst_base_transform_buffer_alloc):
8703         Forgot to remove two unneeded unrefs.
8704         Simplify a check _is_equal allready checks the obvious case.
8705
8706 2006-06-22  Wim Taymans  <wim@fluendo.com>
8707
8708         * docs/design/part-block.txt:
8709         Some docs about what pad_block should do.
8710
8711 2006-06-22  Wim Taymans  <wim@fluendo.com>
8712
8713         * gst/gstcaps.c: (gst_caps_replace):
8714         Fix crasher when passed NULL. Doc clarification.
8715         Optimize for the trivial case.
8716
8717         * gst/gstpipeline.c: (gst_pipeline_change_state):
8718         Small cleanups.
8719
8720         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8721         Small documentation cleanup.
8722
8723         * libs/gst/base/gstbasetransform.c:
8724         (gst_base_transform_buffer_alloc):
8725         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8726         is what we need and it avoids a whole lot of redundant 
8727         refcount operations.
8728
8729 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
8730
8731         Patch by: Philip Jägenstedt  <philip at lysator liu se>
8732
8733         * docs/manual/advanced-dataaccess.xml:
8734           Fix 'Embedding static elements' section to use
8735           GST_PLUGIN_DEFINE_STATIC (#345607).
8736
8737 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8738
8739         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8740           Attempt to 'fix' spuriously failing test case: it seems like the
8741           timeout of half a second is simply too small when the system is under
8742           load otherwise, and the timeout doesn't really seem to serve any
8743           particular purpose here. Give the pipeline a few seconds to preroll
8744           first, and then give it another half a second to go from PAUSED to
8745           PLAYING and marshal the message into the main thread.
8746
8747 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8748
8749         * tools/gst-feedback-m.m:
8750           Don't only use unversioned tools, try versioned tools as well
8751           (#345086).
8752
8753 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8754
8755         * gst/gstbus.c: (gst_bus_class_init):
8756           Fix some typos, make docs more explicit.
8757
8758 2006-06-20  Wim Taymans  <wim@fluendo.com>
8759
8760         * tests/check/gst/gstghostpad.c: (block_callback),
8761         (GST_START_TEST), (gst_ghost_pad_suite):
8762         Added some more ghostpad tests, mainly blocking
8763         and probes.
8764
8765 2006-06-16  Wim Taymans  <wim@fluendo.com>
8766
8767         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8768         (gst_file_sink_close_file), (gst_file_sink_do_seek),
8769         (gst_file_sink_event), (gst_file_sink_render):
8770         * plugins/elements/gstfilesink.h:
8771         Check if we can seek in the file instead of assuming
8772         we always can. Post an error when we are asked to seek in a
8773         non-seekable file (like a fifo). Fixes #343312.
8774         Some cleanups.
8775
8776 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8777
8778         * tools/gst-launch.1.in:
8779           Un-garble (fourcc) bit in filtered caps section.
8780
8781 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8782
8783         * docs/manual/advanced-autoplugging.xml:
8784         * docs/manual/basics-helloworld.xml:
8785         * docs/manual/highlevel-components.xml:
8786           Don't leak bus reference in sample code.
8787
8788 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
8789
8790         * autogen.sh:
8791           Add default for new --enable-plugin-docs switch.
8792
8793         * configure.ac:
8794           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8795           Fixes #344039.
8796
8797         * docs/Makefile.am:
8798           Use new ENABLE_PLUGIN_DOCS conditional.
8799
8800 2006-06-14  Wim Taymans  <wim@fluendo.com>
8801
8802         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8803         Make it clear with a FIXME and a real define what the #if 0
8804         previously disabled.
8805
8806 2006-06-14  Wim Taymans  <wim@fluendo.com>
8807
8808         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8809         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8810         * libs/gst/base/gstbasetransform.c:
8811         (gst_base_transform_sink_eventfunc):
8812         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8813         Don't randomly and silently reset a segment when the format 
8814         changes as this is a bug somewhere upstream. Fixes #330379.
8815
8816 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8817
8818         Patch by: Wouter Paesen  <wouter at kangaroot net>
8819
8820         * libs/gst/controller/gstcontroller.c:
8821         (gst_controlled_property_new):
8822           Fix controlling of float properties (#344849).
8823
8824         * tests/check/libs/controller.c:
8825         (gst_test_mono_source_get_property),
8826         (gst_test_mono_source_set_property),
8827         (gst_test_mono_source_class_init), (GST_START_TEST):
8828           While we're at it, add some float stuff to unit test.
8829
8830 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8831
8832         * docs/README:
8833         * docs/images/gdp-header.svg:
8834           add a gdp image
8835         * docs/libs/Makefile.am:
8836         * docs/libs/gdp-header.png:
8837         * libs/gst/dataprotocol/dataprotocol.c:
8838           add it to the API docs
8839         * docs/manual/intro-motivation.xml:
8840           fix typo
8841
8842 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8843
8844         * gst/gst.c: (scan_and_update_registry), (init_post):
8845           If the fork()'ed child process can't write the updated registry cache
8846           file to disk for some reason, make it exit with a failure exit code,
8847           so that the parent can then re-scan the plugins itself and update the
8848           registry structures in memory and work with that (rather than failing
8849           when creating elements because seemingly no plugins are available).
8850           Refactor registry scanning code into separate function for this and
8851           also separate fork() and non-fork() code paths. Fixes #344748.
8852
8853 2006-06-13  Wim Taymans  <wim@fluendo.com>
8854
8855         * docs/manual/advanced-dataaccess.xml:
8856         Fix wrong PluginDesc. Fixes #344755.
8857
8858 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8859
8860         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8861           Fix silly bug that prevented us from creating
8862           ~/.gstreamer-0.10 and writing the registry in one
8863           go (the first call to g_mkstemp() would overwrite the
8864           placeholder in the template string, so the second call
8865           to g_mkstemp() after creating the missing directory
8866           would then error out with 'invalid argument').
8867
8868 2006-06-13  Edward Hervey  <edward@fluendo.com>
8869
8870         * gst/gst.c: (init_post):
8871         Free string.
8872
8873 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8874
8875         * gst/glib-compat-private.h:
8876         * gst/glib-compat.c:
8877         * gst/glib-compat.h:
8878         * gst/gstvalue.c: (gst_value_serialize_flags):
8879           remove GLib 2.6 compatibility code
8880
8881 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
8882
8883         * gst/parse/Makefile.am:
8884           Fix build with 'make -j N' even more (#340016).
8885
8886 2006-06-12  Wim Taymans  <wim@fluendo.com>
8887
8888         * docs/gst/gstreamer-sections.txt:
8889         Fix docs.
8890
8891 2006-06-12  Wim Taymans  <wim@fluendo.com>
8892
8893         * gst/gstsegment.c: (gst_segment_set_duration),
8894         (gst_segment_set_last_stop), (gst_segment_set_seek),
8895         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8896         (gst_segment_to_running_time), (gst_segment_clip):
8897         Use G_UNLIKELY to help the compiler a bit.
8898
8899 2006-06-12  Wim Taymans  <wim@fluendo.com>
8900
8901         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8902
8903         * gst/gstevent.c: (gst_event_get_type):
8904         * gst/gstmessage.c:
8905         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8906         (gst_pad_push):
8907         constify quark registration strings. Fixes #344115
8908         Avoid unneeded type checking is _pad_push() by internally
8909         calling gst_pad_chain_unchecked().
8910
8911 2006-06-12  Wim Taymans  <wim@fluendo.com>
8912
8913         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8914         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8915         (gst_subbuffer_finalize), (gst_buffer_create_sub),
8916         (gst_buffer_is_span_fast), (gst_buffer_span):
8917         Init _type for consistency.
8918         Use _FLAGS macro to avoid type check.
8919         Avoid unneeded type checks in subbufer code.
8920
8921 2006-06-12  Wim Taymans  <wim@fluendo.com>
8922
8923         * gst/gst.c: (gst_debug_help):
8924         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8925         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8926         (gst_plugin_feature_list_free):
8927         * gst/gstregistry.c: (gst_registry_add_plugin),
8928         (gst_registry_add_feature), (gst_registry_plugin_filter),
8929         (gst_registry_feature_filter), (gst_registry_find_plugin),
8930         (gst_registry_find_feature), (gst_registry_get_plugin_list),
8931         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8932         * gst/gstregistryxml.c: (load_feature),
8933         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8934         * gst/gstminiobject.c: (gst_mini_object_unref),
8935         (gst_mini_object_replace), (gst_value_mini_object_free),
8936         (gst_value_mini_object_copy):
8937         Use _CAST macros to avoid unneeded type checking.
8938         Added some more G_UNLIKELY.
8939
8940 2006-06-12  Wim Taymans  <wim@fluendo.com>
8941
8942         * gst/gstbuffer.h:
8943         Avoid unneeded type checking.
8944         API: GST_BUFFER_IS_DISCONT
8945
8946         * gst/gstminiobject.h:
8947         Avoid type check in flag accessor.
8948
8949         * gst/gstelementfactory.h:
8950         * gst/gstplugin.h:
8951         * gst/gstpluginfeature.h:
8952         Add _CAST macros.
8953         API: GST_ELEMENT_FACTORY_CAST
8954         API: GST_PLUGIN_CAST
8955         API: GST_PLUGIN_FEATURE_CAST
8956
8957 2006-06-12  Wim Taymans  <wim@fluendo.com>
8958
8959         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8960         (gst_object_unref):
8961         Add G_UNLIKELY in type registration.
8962         Avoid type check in _ref/_unref since that is also
8963         done in glib.
8964
8965 2006-06-12  Wim Taymans  <wim@fluendo.com>
8966
8967         * gst/gsterror.c: (gst_g_error_get_type):
8968         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8969         (gst_static_pad_template_get_type):
8970         * gst/gsttaglist.c: (gst_tag_list_get_type):
8971         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8972         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8973         * gst/gsturi.c: (gst_uri_handler_get_type):
8974         * gst/gstvalue.c: (gst_date_get_type):
8975         * gst/gstxml.c: (gst_xml_get_type):
8976         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8977         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8978         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8979         Add G_UNLIKELY in type registration.
8980
8981 2006-06-12  Wim Taymans  <wim@fluendo.com>
8982
8983         * tools/gst-inspect.c: (print_signal_info):
8984         Properly print enum values.
8985
8986 2006-06-12  Wim Taymans  <wim@fluendo.com>
8987
8988         * gst/gstinfo.c: (gst_debug_set_active),
8989         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8990         * gst/gstinfo.h:
8991         Add some G_[UN]LIKELY.
8992         Maintain __gst_debug_min to avoid formatting the arguments of
8993         debug messages that will be dropped anyway to avoid a lot of 
8994         overhead from the debugging system.
8995
8996 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8997
8998         * po/POTFILES.in:
8999         * po/POTFILES.skip:
9000           add missing files containing translatable strings, tell intltool about
9001           one exception
9002
9003 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9004
9005         * tests/check/libs/.cvsignore:
9006         add test-binary to ignore list
9007
9008 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9009
9010         * docs/libs/gstreamer-libs-docs.sgml:
9011         reorder (put dp into a chapter) and indent
9012
9013 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9014
9015         * configure.ac:
9016           back to HEAD
9017
9018 === release 0.10.8 ===
9019
9020 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
9021
9022         * configure.ac:
9023           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
9024
9025 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9026
9027         * gst/gst.c: (init_post):
9028           move pid declaration to declaration block
9029
9030 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9031
9032         * gst/gst.c: (init_post):
9033           use _exit() instead of exit() in our forked child; this ensures
9034           that none of the registered exit handlers from whatever is using
9035           GStreamer get executed.  This fixes gnome-mixer-applet failing
9036           to load, because ORBit would shut down.
9037           Spotted by: Edward Hervey  <edward@fluendo.com>
9038           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
9039           Fixes #344474
9040
9041 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9042
9043         * configure.ac:
9044           back to TRUNK
9045
9046 === release 0.10.7 ===
9047
9048 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
9049
9050         * configure.ac:
9051           releasing 0.10.7, "Soepeke, ik zie ou"
9052
9053 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9054
9055         * configure.ac:
9056         * po/af.po:
9057         * po/az.po:
9058         * po/bg.po:
9059         * po/ca.po:
9060         * po/cs.po:
9061         * po/de.po:
9062         * po/en_GB.po:
9063         * po/fr.po:
9064         * po/it.po:
9065         * po/nb.po:
9066         * po/nl.po:
9067         * po/ru.po:
9068         * po/sq.po:
9069         * po/sr.po:
9070         * po/sv.po:
9071         * po/tr.po:
9072         * po/uk.po:
9073         * po/vi.po:
9074         * po/zh_CN.po:
9075         * po/zh_TW.po:
9076         * win32/common/config.h:
9077           0.10.6.2 prerelease
9078
9079 2006-06-07  Wim Taymans  <wim@fluendo.com>
9080
9081         * gst/gstindex.c: (gst_index_gtype_resolver):
9082         * tools/gst-xmlinspect.c: (print_plugin_info):
9083         Fix leak spotted by coverity checker. Fixes #343827
9084         Fix another other leak found by paolo borelli.
9085
9086 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9087
9088         * libs/gst/dataprotocol/dataprotocol.c:
9089         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9090         (gst_dp_version_get_type), (gst_dp_init),
9091         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
9092         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
9093         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
9094         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
9095         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
9096         (gst_dp_packetizer_free):
9097         * libs/gst/dataprotocol/dataprotocol.h:
9098           API: add a GstDPPacketizer object, and create/free functions
9099           API: add GstDPVersion enum
9100           Add 1.0 event function that uses the string serialization
9101           Serialize more useful buffer flags
9102           Fixes #343988
9103
9104 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9105
9106         * tests/check/Makefile.am:
9107         * tests/check/gst/gstabi.c:
9108         * tests/check/gst/struct_ppc64.h:
9109         * tests/check/libs/libsabi.c:
9110         * tests/check/libs/struct_ppc64.h:
9111           add ppc64 structure sizes
9112
9113 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9114
9115         * tests/check/Makefile.am:
9116         * tests/check/gst/gstabi.c:
9117         * tests/check/gst/struct_x86_64.h:
9118         * tests/check/libs/libsabi.c:
9119         * tests/check/libs/struct_x86_64.h:
9120           generate and add structure size lists for x86_64
9121
9122 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9123
9124         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9125         * libs/gst/check/gstcheck.h:
9126           factor out the method from tests that checks size of structures,
9127           and add code to generate the header containing these sizes
9128         * tests/check/gst/gstabi.c: (GST_START_TEST):
9129         * tests/check/gst/struct_i386.h:
9130         * tests/check/libs/libsabi.c: (GST_START_TEST):
9131         * tests/check/libs/struct_i386.h:
9132           use it
9133
9134 2006-06-06  Michael Smith  <msmith@fluendo.com>
9135
9136         * gst/gstsegment.h:
9137           Don't use c++-style comments, fixes #343929
9138
9139 2006-06-05  Edward Hervey  <edward@fluendo.com>
9140
9141         * gst/gst.c:
9142         plugin_paths is not used if we build without registry support.
9143
9144         * gst/gstsegment.c: (gst_segment_copy): 
9145         _copy() was always returning NULL...
9146
9147 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9148
9149         * libs/gst/dataprotocol/dataprotocol.c:
9150         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9151         (gst_dp_packet_from_event):
9152           factor out CRC code
9153
9154 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9155
9156         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9157           make sure we unset caps
9158
9159 2006-06-02  Michael Smith  <msmith@fluendo.com>
9160
9161         * libs/gst/check/gstcheck.c: (gst_check_init),
9162         (gst_check_chain_func):
9163         * libs/gst/check/gstcheck.h:
9164           Add a cond/mutex to the check support lib, signal this whenever we
9165           add to the buffers list. This will allow tests to not busy-wait on
9166           the buffer-list.
9167
9168 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9169
9170         * libs/gst/dataprotocol/dataprotocol.c:
9171         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9172         (gst_dp_packet_from_event):
9173           factor out some common header init code
9174
9175 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9176
9177         * docs/libs/gstreamer-libs-sections.txt:
9178         * docs/libs/tmpl/gstdataprotocol.sgml:
9179         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9180         * libs/gst/dataprotocol/dataprotocol.h:
9181           API: make gst_dp_crc() public
9182
9183 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9184
9185         * plugins/indexers/gstindexers.c: (plugin_init):
9186         conditionally register fileindexer (fixes #343598)
9187
9188 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9189
9190         * gst/gsttagsetter.h:
9191         Can't cast ifaces to a class
9192
9193         * libs/gst/net/gstnetclientclock.h:
9194         * libs/gst/net/gstnettimeprovider.h:
9195         * plugins/elements/gstfakesink.h:
9196         * plugins/elements/gstfakesrc.h:
9197         * plugins/elements/gstfdsink.h:
9198         * plugins/elements/gstfdsrc.h:
9199         * plugins/elements/gstfilesink.h:
9200         * plugins/elements/gstfilesrc.h:
9201         * plugins/elements/gstidentity.h:
9202         * plugins/elements/gstqueue.h:
9203         * plugins/elements/gsttee.h:
9204         * plugins/indexers/gstfileindex.c:
9205         * plugins/indexers/gstmemindex.c:
9206         * tests/old/examples/plugins/example.h:
9207         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9208
9209 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9210
9211         * libs/gst/dataprotocol/dataprotocol.c:
9212         (gst_dp_header_from_buffer):
9213           make sure we zero the whole ABI-compatible area
9214
9215 2006-06-01  Wim Taymans  <wim@fluendo.com>
9216
9217         Patch by: Alessandro Decina <alessandro at nnva dot org>
9218
9219         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9220         Make sure the EOS flag is cleared from pads after a flush
9221         or stop. Fixes #343538.
9222
9223         * tests/check/libs/collectpads.c: (GST_START_TEST),
9224         (gst_collect_pads_suite):
9225         Added test for collectpads reusage after EOS.
9226
9227 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
9228
9229         * gst/gst.c:
9230          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9231         * win32/common/libgstbase.def:
9232          export gst_collect_pads_set_flushing
9233         * win32/common/libgstreamer.def:
9234          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9235          gst_value_fraction_multiply
9236         * win32/vs6/gst_inspect.dsp:
9237          add a link to intl.lib
9238
9239 2006-05-30  Wim Taymans  <wim@fluendo.com>
9240
9241         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9242         (gst_collect_pads_chain):
9243         Handle the case where a pad is removed from the collection
9244         that could cause the other pads to become collectable.
9245
9246 2006-05-30  Wim Taymans  <wim@fluendo.com>
9247
9248         * gst/gstelement.c:
9249         Clarify the use of _release_request_pad() and
9250         _get_request_pad() a bit better.
9251
9252         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9253         (gst_adapter_take_buffer):
9254         Fix some doc and comment typos.
9255
9256 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9257
9258         * docs/gst/gstreamer-sections.txt:
9259         * docs/libs/gstreamer-libs-sections.txt:
9260           add declared symbols
9261
9262 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
9263
9264         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9265         Add debug that can be enabled using a #define at the top of the file,
9266         for dumping stats about how late/early we were when waking up from
9267         waiting on the clock.
9268
9269 2006-05-30  Wim Taymans  <wim@fluendo.com>
9270
9271         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9272         When rebuilding the pad list, don't leak the previous list.
9273
9274 2006-05-30  Wim Taymans  <wim@fluendo.com>
9275
9276         Patch by: Lutz Mueller <lutz at topfrose dot de>
9277
9278         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9279         (gst_base_src_get_query_types), (gst_base_src_update_length):
9280         Publish supported query types.
9281         Update last_stop field in get_range mode so the position
9282         query works. Fixes #342321.
9283
9284 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
9285
9286         * docs/gst/gstreamer-sections.txt:
9287         * gst/gsttaglist.c: (_gst_tag_initialize):
9288         * gst/gsttaglist.h:
9289           API: add GST_TAG_PREVIEW_IMAGE (#343341).
9290
9291 2006-05-30  Wim Taymans  <wim@fluendo.com>
9292
9293         Patch by: Alessandro Decina <alessandro at nnva dot org>
9294
9295         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9296         Unlock mutex when removing an unknown pad.
9297         Fixes #343334.
9298
9299         * tests/check/Makefile.am:
9300         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9301         (push_event), (setup), (teardown), (GST_START_TEST),
9302         (gst_collect_pads_suite), (main):
9303         Added collecpads check, disabled for now as check crashes for
9304         some reason.
9305
9306 2006-05-29  Wim Taymans  <wim@fluendo.com>
9307
9308         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9309         Don't leak pads lists.
9310
9311 2006-05-29  Wim Taymans  <wim@fluendo.com>
9312
9313         * docs/libs/gstreamer-libs-sections.txt:
9314         * libs/gst/base/gstcollectpads.c:
9315         (gst_collect_pads_set_flushing_unlocked),
9316         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9317         (gst_collect_pads_stop):
9318         * libs/gst/base/gstcollectpads.h:
9319         API: gst_collect_pads_set_flushing()
9320         Added api to set the pads to flushing, useful for seeking
9321         code in elements using collectpads.
9322         Clear segment when receiving a flush.
9323
9324 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
9325
9326         * gst/gst.c: (add_path_func), (init_post):
9327           Don't scan registry paths passed via --gst-plugin-path immediately
9328           (will crash, because absolutely nothing is set up and no types are
9329           registered etc.); do this later in init_post(). Fixes #343057.
9330
9331 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9332
9333         * gst/gst.c: (init_post):
9334           if we have fork, fork while reading/rebuilding the registry
9335           so the parent doesn't take the hit of having all plugins loaded
9336           in memory.  Fixes #342777.
9337         * configure.ac:
9338           Check if we have fork()
9339         * win32/common/config.h.in:
9340           no fork() on win32
9341
9342 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9343
9344         * plugins/elements/gstelements.c:
9345         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9346         (gst_file_src_init), (gst_file_src_set_property),
9347         (gst_file_src_get_property), (gst_file_src_start):
9348         * plugins/elements/gstfilesrc.h:
9349           API: GstFileSrc::use-mmap
9350
9351         Add a use-mmap property to enable easier testing of all code paths.
9352         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9353         in the absence of gnomevfssrc. (Closes #340501)
9354
9355 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9356
9357         * tools/gst-inspect.c:
9358         Add missing include, removes warning of ngettext not being defined on
9359         some arches.
9360
9361 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9362
9363         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9364         Handle NULL input and output pointers silently as a failed conversion,
9365         rather than g_warnings.
9366
9367 2006-05-25  Wim Taymans  <wim@fluendo.com>
9368
9369         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9370         Initialize variable before using. Fixes #342820.
9371
9372 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
9373
9374         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9375           Fix off-by-one bug that would only allow peeks of N-1 bytes
9376           from the start even if the buffer to typefind on contains
9377           in fact N bytes of data (makes vorbis typefinding from a
9378           vorbis identification header buffer work).
9379
9380         * tests/check/Makefile.am:
9381         * tests/check/libs/.cvsignore:
9382         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9383         (gst_typefindhelper_suite), (main), (foobar_typefind),
9384         (plugin_init):
9385           Add very basic unit test for gst_type_find_helper_for_buffer()
9386           that checks for the problem fixed above.
9387
9388 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9389
9390         * tools/gst-inspect.c: (print_interfaces),
9391         (print_element_properties_info), (print_element_list), (main):
9392           add more translatable strings
9393
9394 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
9395
9396         Patch by: Julien Moutte  <julien at moutte net>
9397
9398         * docs/gst/gstreamer-sections.txt:
9399           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9400           
9401         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9402         (gst_fake_sink_preroll):
9403         * plugins/elements/gstfakesink.h:
9404           API: Add new GstFakeSink::preroll-handoff signal (#337100).
9405
9406 2006-05-23  Wim Taymans  <wim@fluendo.com>
9407
9408         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9409         * gst/gstpad.h:
9410         Added _CUSTOM error and success GstFlowReturn that can be
9411         used be elements internally. 
9412         Added macro to check for SUCCESS flowreturns.
9413         API: GST_FLOW_CUSTOM_SUCCESS
9414         API: GST_FLOW_CUSTOM_ERROR
9415         API: GST_FLOW_IS_SUCCESS
9416
9417         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9418         Added check for GstFlowReturn sanity.
9419
9420 2006-05-23  Wim Taymans  <wim@fluendo.com>
9421
9422         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9423
9424         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9425         (gst_collect_pads_event):
9426         clear/reset segment info in FLUSH_STOP.
9427         Fixes #336929.
9428
9429 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
9430
9431         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9432         (gst_collect_pads_check_collected):
9433         Flush queued buffer on _stop(), fixes playing again (#342454)
9434
9435 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9436
9437         * tests/check/gst/gststructure.c: (GST_START_TEST),
9438         (gst_structure_suite):
9439           add a test for a complete structure
9440
9441 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9442
9443         * docs/faq/developing.xml:
9444         * docs/faq/faq.xml:
9445         * docs/faq/troubleshooting.xml:
9446         * docs/faq/using.xml:
9447           Some minor FAQ updates that won't change the fact that
9448           our FAQ is badly structured, full of information hardly
9449           anyone new to GStreamer needs to know and lacking lots
9450           of information people constantly ask for.
9451           
9452 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
9453
9454         * gst/gstpad.c: (gst_pad_set_caps):
9455           Short-circuit gst_pad_set_caps if setting the existing
9456           caps pointer again, and avoid printing debug and 
9457           reffing/unreffing the caps.
9458
9459         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9460           There's actually no need to set the caps before pushing -
9461           the acceptcaps method will handle it anyway.
9462
9463 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9464
9465         * docs/gst/gstreamer-sections.txt:
9466         * win32/common/libgstreamer.def:
9467         * gst/gstutils.c: (gst_element_seek_simple):
9468         * gst/gstutils.h:
9469           API: add gst_element_seek_simple() (#342238).
9470
9471 2006-05-18  Edward Hervey  <edward@fluendo.com>
9472
9473         * gst/gsttypefind.c: (gst_type_find_get_type):
9474         * gst/gsttypefind.h:
9475         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9476         registered for GstTypeFind pointers. This allows wrapping the structure
9477         in bindings (i.e. gst-python).
9478
9479 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9480
9481         * gst/gsttagsetter.c:
9482           Docs additions and fixes (see #339918).
9483
9484 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9485
9486         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9487         The caps intersection algorithm can produce multiple copies of the
9488         caps. Until that is fixed, we need to simplify the result to be
9489         sure whether the allowed caps are fixed or not.
9490
9491         * plugins/elements/gstqueue.c: (gst_queue_init),
9492         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9493         (gst_queue_push_one):
9494         Proxied buffer alloc should not set the caps on the source pad.
9495         When pushing buffers, we always accept the caps change that triggers.
9496         This prevents negotiation errors caused by caps changing mid-stream 
9497         and then being refused on our source pad (because upstream is now
9498         refusing those caps).
9499
9500 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9501
9502         * tests/examples/helloworld/helloworld.c: (main):
9503           Must plug audioconvert and audioresample between decoder
9504           and audio sink.
9505
9506 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
9507
9508         * gst/gstregistryxml.c: (read_string), (load_pad_template),
9509         (load_feature), (load_plugin):
9510         Allow empty strings for some of the plugin fields so we don't 
9511         drop valid plugin entries that were written out correctly
9512         (Fixes #341479)
9513
9514 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
9515         
9516         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9517           Use g_remove and g_rename instead of remove and rename that don't 
9518           handle utf8 characters. rename was failing for users who had specific
9519           characters in their name then the registry was built at each 
9520           gstreamer init.
9521         * win32/vs6/gst_inspect.dsp:
9522         * win32/vs6/gst_launch.dsp:
9523         * win32/vs6/libgstbase.dsp:
9524         * win32/vs6/libgstcoreelements.dsp:
9525         * win32/vs6/libgstreamer.dsp:
9526           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
9527           build of libgstreamer and clean unused libraries in projects link 
9528           settings.
9529
9530 2006-05-17  Edward Hervey  <edward@fluendo.com>
9531
9532         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9533         The queue is not responsible for pushing an EOS when receiving a fatal
9534         flow error. It's up to the real element driving the pipeline to do that.
9535
9536 2006-05-16  Edward Hervey  <edward@fluendo.com>
9537
9538         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9539         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9540         buffer returned a fatal error. It should just send an EOS and stop
9541         its task.
9542         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9543         when pushing buffers on the queue and will be able to handle the event.
9544
9545 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9546
9547         * docs/manual/basics-bins.xml:
9548         * docs/manual/basics-init.xml:
9549           Fix typos and minor errors in sample code (#341856).
9550
9551 2006-05-16  Wim Taymans  <wim@fluendo.com>
9552
9553         * docs/design/part-qos.txt:
9554         Fix indexes in formulas to make more sense.
9555
9556 2006-05-15  Wim Taymans  <wim@fluendo.com>
9557
9558         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9559         Don't report POSITION based on clock time if sync is
9560         disabled in a sink.
9561
9562 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
9563
9564         * gst/gstobject.h:
9565           Add cast to make compiler happy - refcount variable was a gint
9566           in GstObject but is a guint in GObject and g_atomic_int_get()
9567           wants a gint *.
9568
9569 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9570
9571         * gst/parse/Makefile.am:
9572           chain commands using &&, which also makes parallel make work
9573
9574 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
9575
9576         * docs/gst/gstreamer-sections.txt:
9577         * gst/gstevent.c:
9578         * gst/gstevent.h:
9579         * gst/gstmessage.h:
9580           Minor docs fixes.
9581
9582 === release 0.10.6 ===
9583
9584 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
9585
9586         * configure.ac:
9587           releasing 0.10.6, "Take the cannoli"
9588
9589 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9590
9591         * tools/gst-launch.c: (print_tag):
9592           Fix use of uninitialized variable in the hypothetical
9593           case that some broken plugin creates a GST_TAG_IMAGE
9594           tag containing a NULL buffer (#341667).
9595
9596 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9597
9598         * tools/gst-launch.c: (print_tag):
9599           Print something more intelligible for image tags when
9600           using the -t switch (#341556).
9601
9602 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9603
9604         * Makefile.am:
9605           updates for win32
9606         * configure.ac:
9607           define GST_MAJORMINOR so we have it available in win32/common/config.h
9608           Possibly remove it from our Makefile.am files later
9609         * win32/common/config.h:
9610         * win32/common/config.h.in:
9611           added GST_MAJORMINOR
9612         * win32/common/gstenumtypes.c: (register_gst_resource_error):
9613         * win32/common/gstversion.h:
9614           updated
9615
9616 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
9617
9618         * win32/MANIFEST:
9619           Update win32 files listing.
9620         * win32/common/gstversion.h:
9621           Add GST_MAJORMINOR definition.
9622         * win32/common/libgstreamer.def:
9623           Add new exported functions.
9624           
9625 2006-05-12  Michael Smith  <msmith@fluendo.com>
9626
9627         * gst/gstplugin.c: (gst_plugin_load_file):
9628           If an so file has no plugin entry point, unload the module.
9629
9630 2006-05-11  Wim Taymans  <wim@fluendo.com>
9631
9632         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9633         (gst_queue_set_property):
9634         Don't forget to signal the _chain or _loop function 
9635         when the queue size or thresholds change since that might
9636         cause them to make progres again.
9637
9638 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
9639
9640         * gst/gstclock.c: (gst_clock_class_init):
9641         * gst/gstindex.c: (gst_index_class_init):
9642         * gst/gstobject.c: (gst_object_class_init):
9643         * gst/gstpad.c: (gst_pad_class_init):
9644         * gst/gstpipeline.c: (gst_pipeline_class_init):
9645         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9646         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9647         * libs/gst/base/gstbasetransform.c:
9648         (gst_base_transform_class_init):
9649         * libs/gst/net/gstnetclientclock.c:
9650         (gst_net_client_clock_class_init):
9651         * libs/gst/net/gstnettimeprovider.c:
9652         (gst_net_time_provider_class_init):
9653         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9654         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9655         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9656         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9657         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9658         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9659         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9660         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9661         * plugins/elements/gsttee.c: (gst_tee_class_init):
9662         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9663         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9664           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9665
9666 2006-05-11  Wim Taymans  <wim@fluendo.com>
9667
9668         * gst/gstbuffer.c: (_gst_buffer_initialize):
9669         Register subbufer along with the buffer type so that
9670         it does not accidentally gets registered from N
9671         different streaming threads in a non threadsafe way.
9672
9673 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9674
9675         * gst/gstbuffer.h:
9676         * gst/gstevent.h:
9677         * gst/gstmessage.h:
9678           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9679           gst_event_ref() and gst_message_ref() functions again
9680           (ugly hack, please do fix if there's a better way besides
9681           overrides.txt, which doesn't seem to work).
9682
9683 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9684
9685         * libs/gst/check/gstcheck.h:
9686           add an assert for setting state to avoid lots of repetitive code
9687           in the future
9688
9689 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9690
9691         * gst/gstvalue.c: (gst_value_serialize_flags):
9692           fix a leak if no flags are set
9693         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9694           fix leak in tests
9695
9696 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9697
9698         * docs/manual/basics-pads.xml:
9699           Expand a bit on caps and filtered links and update
9700           examples that were still using the no longer existing
9701           gst_pad_link_filtered() (#338206).
9702
9703 2006-05-10  Wim Taymans  <wim@fluendo.com>
9704
9705         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9706         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9707         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9708         (gst_collect_pads_stop):
9709         * libs/gst/base/gstcollectpads.h:
9710         No need to call _stop in _finalize.
9711         Iterate the main pad list in _finalize.
9712         Added some more debug.
9713         Free lists and data in the right order.
9714         Also free data whem doing _remove_pad when stopped for
9715         backward compatibility protect ::started with PAD_LOCK as
9716         well.
9717
9718 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9719
9720         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9721         (gst_structure_parse_value):
9722           add some comments
9723           rename a method so that it actually says what it does better
9724
9725 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9726
9727         * gst/gstevent.c: (_gst_event_initialize):
9728         * gst/gstformat.c: (_gst_format_initialize):
9729           make sure some essential types used by events are registered
9730           as part of gst_init()
9731         * gst/gstvalue.c: (gst_value_serialize_flags):
9732           if no flags are set, serialize them to a value that represents NONE
9733           so that deserializing them works
9734         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9735           add tests for serialization and deserialization of flags
9736
9737 2006-05-10  Wim Taymans  <wim@fluendo.com>
9738
9739         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9740         (gst_collect_pads_collect_range), (gst_collect_pads_available),
9741         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9742         (gst_collect_pads_event), (gst_collect_pads_chain):
9743         Update docs.
9744         Better debug info.
9745         Catch and return errors from the collect function
9746         Refuse data on eos pads.
9747
9748 2006-05-10  Edward Hervey  <edward@fluendo.com>
9749
9750         * gst/gstinterface.h:
9751         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9752         GInterface type checking.
9753         They were previously using non-defined macros.
9754
9755 2006-05-09  Wim Taymans  <wim@fluendo.com>
9756
9757         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9758         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9759         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9760         (gst_collect_pads_start), (gst_collect_pads_stop),
9761         (gst_collect_pads_peek), (gst_collect_pads_pop),
9762         (gst_collect_pads_available), (gst_collect_pads_read),
9763         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9764         (gst_collect_pads_is_collected), (gst_collect_pads_event),
9765         (gst_collect_pads_chain):
9766         * libs/gst/base/gstcollectpads.h:
9767         Clean up the mess that is collectpads, add comments and
9768         FIXMEs where needed.
9769         Maintain a separate pad list so we can add pads while
9770         collecting the other ones. For this we need a new separate 
9771         lock (see comics).
9772         Fix memory leak in finalize.
9773         Refactor some weird code to set/unset pad flushing flags, mark
9774         with comments.
9775         Don't crash in _available, _read, _flush when we're EOS.
9776
9777         * tests/check/libs/.cvsignore:
9778         Ignore adapter check binary.
9779
9780 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9781
9782         * gst/gstindex.c: (gst_index_resolver_get_type):
9783         * plugins/elements/gstfakesink.c:
9784         (gst_fake_sink_state_error_get_type):
9785         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9786         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9787         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9788           Const-ify GEnumValue arrays.
9789
9790 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9791
9792         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9793           Add test case for flags + gst_buffer_make_metadata_writable().
9794
9795 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9796
9797         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9798           gst_buffer_make_metadata_writable() should maintain the
9799           buffer flags (those that make sense at least) (see #340859).
9800
9801 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9802
9803         * tools/gst-inspect.c:
9804         * tools/gst-launch.c:
9805         * tools/gst-typefind.c:
9806         * tools/gst-xmlinspect.c:
9807         * tools/tools.h:
9808           Fix up includes: need to include stdlib.h in tools.h for exit().
9809
9810 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9811
9812         * gst/gsttaglist.c: (_gst_tag_initialize):
9813         * gst/gsttaglist.h:
9814           API: add GST_TAG_IMAGE tag (#340721).
9815
9816 2006-05-08  Wim Taymans  <wim@fluendo.com>
9817
9818         * gst/gstquery.c:
9819         Added some docs for the segment query.
9820
9821 2006-05-08  Wim Taymans  <wim@fluendo.com>
9822
9823         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9824         (gst_base_src_loop), (gst_base_src_change_state):
9825         Always push non-flushing serialized events in the streaming 
9826         thread.
9827
9828 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9829
9830         * gst/gsterror.c: (_gst_stream_errors_init):
9831           Add a missing error string.
9832
9833 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
9834
9835         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9836         Add applied_rate to the debug
9837
9838         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9839         Copy applied_rate into the outgoing NEWSEGMENT event
9840
9841 2006-05-08  Wim Taymans  <wim@fluendo.com>
9842
9843         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9844
9845         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9846         (gst_base_sink_change_state):
9847         call ::unlock before taking the PREROLL_LOCK so we can safely
9848         handle elements that lock in ::render.
9849         Fixes #340174.
9850
9851 2006-05-08  Edward Hervey  <edward@fluendo.com>
9852
9853         * autogen.sh: (CONFIGURE_DEF_OPT): 
9854         Darwin's libtoolize is in fact called glibtoolize.
9855         Adding glibtoolize to the list of accepted names for libtoolize.
9856
9857 2006-05-08  Wim Taymans  <wim@fluendo.com>
9858
9859         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9860         Unify error handling, don't post an error message
9861         when a push() returns EOS but perform our normal EOS
9862         handling code. Fixes #340772.
9863
9864 2006-05-08  Wim Taymans  <wim@fluendo.com>
9865
9866         * docs/design/part-overview.txt:
9867         Make upsteam/downstream concepts more clear.
9868         Give an example of serialized/non-serialized events.
9869
9870         * docs/design/part-events.txt:
9871         * docs/design/part-streams.txt:
9872         Mention applied_rate.
9873
9874         * docs/design/part-trickmodes.txt:
9875         Mention applied rate, flesh out some more use cases.
9876
9877         * gst/gstevent.c: (gst_event_new_new_segment),
9878         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9879         (gst_event_parse_new_segment_full), (gst_event_new_tag),
9880         (gst_event_parse_tag), (gst_event_new_buffer_size),
9881         (gst_event_parse_buffer_size), (gst_event_new_qos),
9882         (gst_event_parse_qos), (gst_event_parse_seek),
9883         (gst_event_new_navigation):
9884         * gst/gstevent.h:
9885         Add applied_rate field to NEWSEGMENT event.
9886         API: gst_event_new_new_segment_full()
9887         API: gst_event_parse_new_segment_full()
9888
9889         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9890         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9891         (gst_segment_to_stream_time), (gst_segment_to_running_time):
9892         * gst/gstsegment.h:
9893         Add applied_rate to GstSegment structure.
9894         Make calculation of stream_time and running_time more correct
9895         wrt rate/applied_rate.
9896         Add some more docs.
9897         API: GstSegment::applied_rate field
9898         API: gst_segment_set_newsegment_full();
9899
9900         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9901         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9902         * libs/gst/base/gstbasetransform.c:
9903         (gst_base_transform_sink_eventfunc),
9904         (gst_base_transform_handle_buffer):
9905         Parse and use applied_rate in the GstSegment field.
9906
9907         * tests/check/gst/gstevent.c: (GST_START_TEST):
9908         Add check for applied_rate field.
9909
9910         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9911         (gstsegments_suite):
9912         Add more checks for various GstSegment operations.
9913
9914 2006-05-08  Wim Taymans  <wim@fluendo.com>
9915
9916         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9917         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9918         (gst_base_sink_get_position), (gst_base_sink_change_state):
9919         Store the sync time of the buffer end position separatly in a
9920         new variable eos_rtime so we can properly sync the EOS event.
9921         Fixes #340697.
9922         Fix the docs for gst_base_sink_set_qos_enabled().
9923         Don't set segment start to invalid value when we receive a 
9924         non TIME newsegment.
9925         get closer to handling position reporting for negative rates 
9926         correctly.
9927
9928 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9929
9930         * gst/gstcaps.c:
9931         Docs about how to print caps for debug purposes.
9932
9933         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9934         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9935
9936 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9937
9938         * gst/gstelement.c:
9939           use full enum names and preprend a '%' in docs strings to make recent 
9940           gtk-doc turn that into a link
9941
9942 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9943
9944         * docs/manual/basics-bins.xml:
9945         * docs/manual/basics-bus.xml:
9946         * docs/manual/basics-pads.xml:
9947           Some typo fixes, some additions, some clarifications. 
9948
9949 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9950
9951         * tools/gst-inspect.c: (main):
9952         * tools/gst-launch.c: (main):
9953         * tools/gst-run.c: (main):
9954         * tools/gst-typefind.c: (main):
9955         * tools/gst-xmlinspect.c: (main):
9956           Use the string passed to g_option_context_new() for
9957           what it's intended for - the program name is already
9958           printed elsewhere.
9959
9960 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9961
9962         * tools/Makefile.am:
9963         * tools/gst-inspect.c: (main):
9964         * tools/gst-launch.c: (main):
9965         * tools/gst-xmlinspect.c: (main):
9966         * tools/tools.h:
9967           Add back --version command line option (#340460).
9968
9969         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9970           Add --version option and use GOption for argument parsing; refactor a
9971           bit; accept directories as arguments and recurse into them; lastly,
9972           print a decent error message when things go wrong.
9973
9974 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9975
9976         * docs/manual/basics-bins.xml:
9977         Don't mention GstThread (#340611)
9978         * docs/manual/basics-elements.xml:
9979         Update link to GObject tutorial (#340607)
9980         
9981 2006-05-05  Wim Taymans  <wim@fluendo.com>
9982
9983         * gst/gstbuffer.h:
9984         * gst/gstminiobject.c:
9985         Add note about refcounting and miniobject/buffer writeability
9986         to docs. Fixes #340604
9987
9988         * gst/gstelementfactory.h:
9989         Added some explanation about @klass.
9990
9991 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9992
9993         * docs/manual/intro-motivation.xml:
9994         * docs/manual/manual.xml:
9995         Avoid CORBA & Bonobo references (#340598)
9996
9997 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9998
9999         * docs/manual/basics-bus.xml:
10000         * docs/manual/basics-pads.xml:
10001         Fix up some inaccuracies and omissions (#340609)
10002         
10003 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10004
10005         * gst/gstghostpad.c:
10006           Small typo in docs (#340625)
10007
10008 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10009
10010         * gst/parse/Makefile.am:
10011           Make 'make -j' proof (see #340698).
10012
10013 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10014
10015         * configure.ac:
10016           Require GLib-2.8 here as well.
10017
10018 2006-05-05  Wim Taymans  <wim@fluendo.com>
10019
10020         * gst/glib-compat.c:
10021         * gst/gst.c: (init_pre):
10022         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10023         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
10024         (gst_object_dispatch_properties_changed):
10025         * gst/gstobject.h:
10026         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10027         * gst/gststructure.c: (gst_structure_set_valist):
10028         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10029         Remove pre glib2.8 compatibility, fixes #340508
10030
10031 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
10032
10033         * gst/gsttaglist.h:
10034           Mention type of tags in doc blurbs.
10035
10036 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
10037
10038         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10039         (gst_pad_configure_src), (gst_pad_push):
10040         Restore acceptcaps checking behaviour now that good plugins have
10041         been released.
10042
10043 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
10044
10045         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
10046
10047         * gst/gst.c:
10048         * gst/gstbus.c:
10049         * gst/gstclock.c:
10050         * gst/gstevent.c:
10051         * gst/gstformat.c:
10052         * gst/gstmessage.c:
10053         * gst/gstparse.c:
10054         * gst/gstquery.c:
10055         * gst/gstutils.c:
10056         * gst/parse/Makefile.am:
10057         * libs/gst/base/gstadapter.c:
10058         * libs/gst/base/gstbasesrc.c:
10059         * libs/gst/base/gstpushsrc.c:
10060         * libs/gst/base/gsttypefindhelper.c:
10061         * plugins/elements/gstfakesrc.c:
10062         * plugins/elements/gstidentity.c:
10063           Make sure gstprivate.h and/or config.h are
10064           always included first, otherwise some of our
10065           defines (like _FILE_OFFSET_BITS) might be
10066           redefined in the system headers. Fixes build
10067           on opensolaris (#340016).
10068
10069 2006-05-04  Wim Taymans  <wim@fluendo.com>
10070
10071         * docs/libs/gstreamer-libs-sections.txt:
10072         API: addition: gst_adapter_take_buffer()
10073         
10074         * libs/gst/base/gstadapter.c: (gst_adapter_push),
10075         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
10076         (gst_adapter_available_fast):
10077         * libs/gst/base/gstadapter.h:
10078         Prepare for optimizing the hell out of this hugely inefficient
10079         piece of code. 
10080         Added gst_adapter_take_buffer() so we can at least start thinking
10081         about subbuffering and merging.
10082         Added some comments.
10083
10084         * tests/check/Makefile.am:
10085         * tests/check/libs/adapter.c: (GST_START_TEST),
10086         (gst_adapter_suite), (main):
10087         Added GstAdapter check.
10088
10089 2006-05-04  Wim Taymans  <wim@fluendo.com>
10090
10091         * docs/design/part-overview.txt:
10092         Fix some typos, add blurb about buffer flags.
10093
10094 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10095
10096         * docs/libs/gstreamer-libs-sections.txt:
10097           make sure GstBaseTransformClass shows up in the docs
10098         * libs/gst/base/gstbasetransform.c:
10099         * libs/gst/base/gstbasetransform.h:
10100           move docs so gtk-doc picks it up now
10101
10102 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10103
10104         * docs/libs/gstreamer-libs-sections.txt:
10105           add missing symbols to docs
10106
10107 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10108
10109         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10110           back out the newsegment handling change, see #340060 for ongoing
10111           discussion
10112
10113 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
10114
10115         * tools/gst-run.c: (get_candidates), (main):
10116           Fix wrong g_file_test() usage (see glib docs for why it doesn't
10117           work); fix typo in error message. Fixes #340079.
10118
10119 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10120
10121         * common/Makefile.am:
10122         * docs/Makefile.am:
10123         * docs/faq/Makefile.am:
10124         * docs/gst/Makefile.am:
10125         * docs/libs/Makefile.am:
10126         * docs/manual/Makefile.am:
10127         * docs/plugins/Makefile.am:
10128         * docs/pwg/Makefile.am:
10129         * docs/slides/Makefile.am:
10130         * docs/upload.mak:
10131         * common/upload.mak:
10132           move upload.mak to common
10133
10134 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10135
10136         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10137           add more asserts on refcounts
10138           do more cleanup at end of tests
10139           fix test leaks showing in FC5
10140
10141 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
10142
10143         * plugins/elements/gsttypefindelement.c:
10144         (gst_type_find_element_handle_event):
10145         reverted wrong change and reflowed code to avoid others falling into
10146         this trap
10147
10148 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10149
10150         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10151           fix changelog entry about last collectpads change,
10152           add notes about proper fix
10153
10154 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10155
10156         * gst/gst.c:
10157         * gst/gstregistry.c: (gst_registry_scan_path_level),
10158         (gst_registry_scan_path):
10159         * gst/gstregistry.h:
10160           only write out registry if it has changed, fixes #338339
10161
10162 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10163
10164         * gst/gstbin.c:
10165         * gst/gstpipeline.c:
10166         * plugins/elements/gstcapsfilter.c:
10167         * plugins/elements/gstfakesink.c:
10168         * plugins/elements/gstfakesrc.c:
10169         * plugins/elements/gstfdsink.c:
10170         * plugins/elements/gstfdsrc.c:
10171         * plugins/elements/gstfilesink.c:
10172         * plugins/elements/gstfilesrc.c:
10173         * plugins/elements/gstidentity.c:
10174         * plugins/elements/gstqueue.c:
10175         * plugins/elements/gsttee.c:
10176         * plugins/elements/gsttypefindelement.c:
10177         (gst_type_find_element_handle_event):
10178           make GstElementDetails const
10179
10180 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10181
10182         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10183         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10184         (gst_collect_pads_is_collected), (gst_collect_pads_event):
10185           more detailed debug and formatting cleanup,
10186           forward newsegments to src-pad (so that e.g. adder not eats them)
10187
10188 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10189
10190         * gst/gstutils.c: (gst_element_link_pads):
10191           cleanup double code
10192
10193 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10194
10195         * libs/gst/controller/gstcontroller.c:
10196         (gst_controller_sync_values):
10197           some little tuning
10198         * tests/check/libs/controller.c: (GST_START_TEST),
10199         (gst_controller_suite):
10200           a new test for live value handling
10201
10202 2006-04-28  Wim Taymans  <wim@fluendo.com>
10203
10204         * gst/gstutils.c: (push_and_ref):
10205         Added some more docs.
10206         Fix refcount issue whith gst_element_found_tags() helper 
10207         function. Fixes #338335
10208
10209         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10210         Added testsuite for gst_element_found_tags().
10211
10212 2006-04-28  Michael Smith  <msmith@fluendo.com>
10213
10214         * gst/gstvalue.c: (gst_value_serialize_flags):
10215           Avoid NULL dereference when trying to serialize flags containing
10216           invalid values.
10217
10218 2006-04-28  Michael Smith  <msmith@fluendo.com>
10219
10220         * plugins/elements/gsttypefindelement.c:
10221         (gst_type_find_element_handle_event):
10222           If we get EOS before any data is accumulated, don't use
10223           uninitialised local variables.
10224
10225 2006-04-28  Michael Smith  <msmith@fluendo.com>
10226
10227         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10228         (gst_dp_event_from_packet):
10229           Fixes in reading/writing events over GDP (not currently used?) - 
10230           dereferencing NULL events for unknown/invalid event types, memory
10231           leak, and change g_warning to GST_WARNING.
10232
10233 2006-04-28  Wim Taymans  <wim@fluendo.com>
10234
10235         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10236         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10237         (gst_base_sink_get_position), (gst_base_sink_change_state):
10238         When frame dropping is enabled, we should not ignore frames
10239         without a duration.
10240         Update some documentation.
10241
10242 2006-04-28  Wim Taymans  <wim@fluendo.com>
10243
10244         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10245         (gst_base_src_send_event), (gst_base_src_change_state):
10246         Documentation updates.
10247
10248 2006-04-28  Wim Taymans  <wim@fluendo.com>
10249
10250         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10251         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10252         handle EAGAIN, EINTR and short writes correctly. Also clean
10253         up some error cases, avoid a deadlock on bad file descriptors and
10254         use GST_DEBUG_OBJECT.
10255         Fixes #339843
10256
10257 2006-04-28  Wim Taymans  <wim@fluendo.com>
10258
10259         * gst/gstvalue.c: (gst_value_serialize_buffer),
10260         (gst_value_deserialize_buffer):
10261         Don't try to serialize a GValue with a NULL buffer. 
10262         Fixes #339821.
10263
10264         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10265         Added check for serialisation of NULL buffers.
10266
10267 2006-04-28  Wim Taymans  <wim@fluendo.com>
10268
10269         * gst/gstminiobject.c: (gst_value_take_mini_object):
10270         Taking a NULL miniobject is valid, fix the case where
10271         we try to unref the NULL miniobject.
10272
10273 2006-04-28  Wim Taymans  <wim@fluendo.com>
10274
10275         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10276
10277         * gst/gstbin.c: (gst_bin_handle_message_func):
10278         Update docs.
10279         Don't leak bin refcount when a state recalc is
10280         in progress and we delay another one #339808.
10281
10282 2006-04-28  Wim Taymans  <wim@fluendo.com>
10283
10284         * docs/design/part-TODO.txt:
10285         Mention QoS as an ongoing work item.
10286
10287         * docs/design/part-buffering.txt:
10288         New doc about buffering that needs to be fleshed out
10289         at some point.
10290
10291         * docs/design/part-qos.txt:
10292         More QoS policy for decoders/demuxers/transforms
10293
10294         * docs/design/part-trickmodes.txt:
10295         Small update.
10296
10297 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10298
10299         * configure.ac:
10300           back to HEAD
10301
10302 === release 0.10.5 ===
10303
10304 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
10305
10306         * configure.ac:
10307           releasing 0.10.5, "Fogo"
10308
10309 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10310
10311         patch by: Wim Taymans
10312
10313         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10314         (gst_pad_configure_src), (gst_pad_push):
10315         * gst/gstpipeline.c: (gst_pipeline_init):
10316           Fix internal data flow errors.  Fixes #338711.
10317
10318 2006-04-12  Wim Taymans  <wim@fluendo.com>
10319
10320         * tests/check/gst/gstelement.c: (GST_START_TEST):
10321         Don't leak the factory.
10322
10323 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10324
10325         * configure.ac:
10326         * win32/common/config.h:
10327           prerelease
10328
10329 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
10330
10331         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10332         (gst_controller_unset_all):
10333           Free allocated GstTimedValues when freeing list nodes.
10334           Should fix leaks 'make check-valgrind' complains about.
10335
10336         * win32/common/libgstcontroller.def:
10337           Add gst_controller_unset_all.
10338
10339 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
10340
10341         * docs/libs/gstreamer-libs-sections.txt:
10342         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10343         (gst_controller_unset_all):
10344         * libs/gst/controller/gstcontroller.h:
10345         API: Added new method gst_controller_unset_all()
10346         fixed gst_controller_unset()
10347         * tests/check/libs/controller.c: (GST_START_TEST),
10348         (gst_controller_suite):
10349         Added two testcases for new and fixed method
10350
10351 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
10352
10353         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10354           MSG_DONTWAIT is not defined on Cygwin, so work
10355           around that (fixes #317048).
10356           
10357 2006-04-11  Wim Taymans  <wim@fluendo.com>
10358
10359         * gst/gstelementfactory.c: (gst_element_register),
10360         (gst_element_factory_create), (gst_element_factory_make):
10361         Some cleanups.
10362         Fixed a FIXME.
10363         Updated docs (Fixes #131079)
10364
10365         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10366         Small cleanups.
10367
10368         * tests/check/gst/gstelement.c: (GST_START_TEST),
10369         (gst_element_suite):
10370         Added testcase for elementfactory class field.
10371
10372 2006-04-10  Wim Taymans  <wim@fluendo.com>
10373
10374         * gst/gstsegment.c:
10375         Added some more docs.
10376
10377         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10378         (gst_base_sink_reset_qos):
10379         Calculate more accurate rate values.
10380
10381 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
10382
10383         * gst/gst_private.h:
10384           add a new #ifdef to use __declspec(dllimport) only for
10385           other modules and not for gstreamer core
10386         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10387           use gst_guint64_to_gdouble for conversion
10388         * win32/common/libgstreamer.def:
10389           add new exported functions
10390         * win32/vs6/gst_inspect.dsp:
10391         * win32/vs6/gst_launch.dsp:
10392         * win32/vs6/libgstbase.dsp:
10393         * win32/vs6/libgstcontroller.dsp:
10394         * win32/vs6/libgstcoreelements.dsp:
10395         * win32/vs6/libgstdataprotocol.dsp:
10396         * win32/vs6/libgstnet.dsp:
10397           update project files
10398
10399 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10400
10401         * gst/gstbuffer.c: (gst_subbuffer_class_init):
10402         * gst/gstclock.c: (gst_clock_class_init):
10403         * gst/gstelement.c: (gst_element_class_init):
10404         * gst/gstindex.c: (gst_index_class_init):
10405         * gst/gstindexfactory.c: (gst_index_factory_class_init):
10406         * gst/gstobject.c: (gst_object_class_init),
10407         (gst_signal_object_class_init):
10408         * gst/gstpad.c: (gst_pad_class_init):
10409         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10410         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10411         * gst/gstregistry.c: (gst_registry_class_init):
10412         * gst/gstsystemclock.c: (gst_system_clock_class_init):
10413         * gst/gsttask.c: (gst_task_class_init):
10414         * gst/gstxml.c: (gst_xml_class_init):
10415         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10416         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10417         (gst_base_src_loop):
10418         * libs/gst/controller/gstcontroller.c:/
10419         (_gst_controller_class_init):
10420         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10421         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10422         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10423         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10424         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10425         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10426
10427 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
10428
10429         * gst/gstpad.c: (gst_pad_link):
10430           Must set peer pads before calling the link function, otherwise
10431           a task started from a link function might get a flow-not-linked
10432           result when trying to push because the other thread where the
10433           linking happens hasn't had a chance to set the peers yet. This
10434           might happen for example when a queue gets linked to a downstream
10435           element, as queue starts a streaming task when its source pad
10436           gets linked. Happens in real life when playing back flac/musepack
10437           files in playbin (#332390).
10438           
10439 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10440
10441         * gst/gstindex.h:
10442         * gst/gstxml.h:
10443         * libs/gst/base/gstadapter.h:
10444         * libs/gst/base/gstbasesink.h:
10445         * libs/gst/base/gstbasesrc.h:
10446         * libs/gst/base/gstbasetransform.h:
10447         * libs/gst/base/gstcollectpads.h:
10448         * libs/gst/base/gstpushsrc.h:
10449         Fix broken GObject macros
10450
10451 2006-04-07  Wim Taymans  <wim@fluendo.com>
10452
10453         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10454         Initialize start and stop times, thanks valgrind.
10455
10456 2006-04-07  Wim Taymans  <wim@fluendo.com>
10457
10458         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10459         Be a bit nicer to badly behaving upstream elements that expect
10460         us to deal with non TIME segments and timestamps (such as fakesrc
10461         in the testsuite).
10462
10463 2006-04-07  Wim Taymans  <wim@fluendo.com>
10464
10465         * gst/gstbus.c:
10466         Small documentation clarification about the signal watch.
10467
10468         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10469         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10470         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10471         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10472         (gst_base_sink_get_position_last),
10473         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10474         Convert and store timestamps in stream time and running time, the
10475         raw timestamps are not useful, also document this better.
10476         Use different window sizes for good and bad QoS observations so
10477         we react to badness a little quicker.
10478         Keep track of the amount of rendered and dropped buffers.
10479         Send QoS timestamps in running time.
10480
10481         * libs/gst/base/gstbasetransform.c:
10482         (gst_base_transform_sink_eventfunc),
10483         (gst_base_transform_handle_buffer):
10484         Compare QoS timestamps against running time.
10485
10486 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10487
10488         * gst/gstpad.c:
10489           Typo fixes in docs.
10490
10491 2006-04-06  Michael Smith  <msmith@fluendo.com>
10492
10493         * gst/gstpad.c: (gst_pad_set_property):
10494           Use g_value_get_object() instead of g_value_dup_gst_object(),
10495           to avoid double-reffing the pad template (which we then sink,
10496           so this worked previously if (and only if) the pad template
10497           was floating.
10498
10499         * gst/gstpadtemplate.c: (gst_pad_template_init),
10500         (gst_pad_template_pad_created):
10501           Never return floating references to pad templates, create
10502           them as initially-sunken.
10503
10504           Document an extra function (and make this stop sinking our
10505           pad template, since that is now guaranteed to do nothing,
10506           since we created it sunken).
10507
10508         * gst/gstghostpad.c:
10509           Fix docs typo.
10510
10511 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10512
10513         * gst/gstinfo.c: (__gst_in_valgrind):
10514           Add some newlines.
10515
10516         * plugins/elements/gsttypefindelement.c:
10517         (gst_type_find_element_chain):
10518           Don't leak buffer caps.
10519
10520 2006-04-06  Michael Smith  <msmith@fluendo.com>
10521
10522         * gst/parse/grammar.y:
10523           Fix a leak in parse-launch for any source-or-sink named element 
10524           references used.
10525
10526         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10527           Unref the pipeline if it exists after we've failed parsing.
10528
10529 2006-04-05  Michael Smith  <msmith@fluendo.com>
10530
10531         * gst/gstpipeline.c: (gst_pipeline_init):
10532           When we create a pipeline bus, initially create it in flushing mode.
10533           Fixes leaks in at least one test, and makes a new pipeline work the
10534           same as one that has gone to READY and then back to NULL.
10535
10536         * gst/gstelement.c:
10537           Typo fix in docs.
10538
10539 2006-04-05  Michael Smith  <msmith@fluendo.com>
10540
10541         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10542           Unref a pad we reffed.
10543         * tests/check/gst/gstutils.c: (GST_START_TEST):
10544           Unref bins
10545
10546 2006-04-05  Michael Smith  <msmith@fluendo.com>
10547
10548         * gst/gstquery.c: (gst_query_set_formats),
10549         (gst_query_set_formatsv):
10550           Fix leaking GValues in queries, as shown by valgrind/testsuite.
10551
10552 2006-04-05  Michael Smith  <msmith@fluendo.com>
10553
10554         * tests/check/generic/sinks.c: (GST_START_TEST):
10555           Fix a variety of memleaks in sinks check, which are only sometimes 
10556           shown by running the tests under valgrind (weird?).
10557
10558 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
10559
10560         * docs/version.entities.in:
10561           Fix the substituted entity name after thomas' changes on the
10562           weekend.
10563
10564 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10565
10566         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10567         VALGRIND_PRINTF
10568         
10569 2006-04-05  Andy Wingo  <wingo@pobox.com>
10570
10571         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10572
10573         * libs/gst/base/gstbasetransform.c
10574         (gst_base_transform_sink_eventfunc): When resetting our segment on
10575         FLUSH_STOP, also update the flag saying we haven't seen a
10576         newsegment.
10577
10578 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10579
10580         Patch by: Paolo Borelli  <pborelli at katamail dot com>
10581
10582         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10583         (gst_plugin_check_license):
10584           minor clean-ups: G_DEFINE_TYPE already takes care of the
10585           parent_class stuff, no need to do it twice. Mark array of
10586           license strings as constant. (#337103)
10587           
10588 2006-04-04  Michael Smith  <msmith@fluendo.com>
10589
10590         * tools/gst-inspect.c: (print_element_list):
10591           Free the right plugin list; fixes a memory leak.
10592
10593 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10594
10595         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
10596
10597         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10598           Don't error out on empty buffers (#336945).
10599           
10600 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
10601
10602         * docs/libs/gstreamer-libs-sections.txt:
10603         * gst/gsttaglist.c:
10604         * libs/gst/base/gstbasesink.c:
10605         * libs/gst/base/gstbasesink.h:
10606         * libs/gst/base/gstbasesrc.c:
10607         * libs/gst/base/gstbasesrc.h:
10608           Documentation updates. Make BaseSink and BaseSrc docs contain the
10609           class structure so that people can actually see the prototypes for
10610           virtual functions they're supposed to be overriding.
10611
10612 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10613
10614         * plugins/elements/gsttypefindelement.c:
10615         (gst_type_find_element_chain):
10616           More debug info; when skipping typefinding, send cached
10617           events in all cases.
10618
10619 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10620
10621         * configure.ac:
10622           use new AS_VERSION and AS_NANO macros
10623         * gst/gst-i18n-lib.h:
10624         * gst/gst.c:
10625         * gst/gsterror.c:
10626         * gst/gstversion.h.in:
10627         * win32/common/config.h:
10628         * win32/common/config.h.in:
10629           update accordingly
10630
10631 2006-03-31  Michael Smith  <msmith@fluendo.com>
10632
10633         * plugins/elements/gsttypefindelement.c:
10634         (gst_type_find_element_chain):
10635           Do not typefind content if the buffers already have caps.
10636           Neccesary for icydemux (#333657), and the right thing to do anyway.
10637
10638 2006-03-30  Wim Taymans  <wim@fluendo.com>
10639
10640         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10641         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10642         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10643         (gst_base_sink_record_qos_observation),
10644         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10645         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10646         (gst_base_sink_change_state):
10647         More QoS measurements as described in the design doc.
10648         Get rid of ringbuffer with observations, running average is
10649         more simple and equally good.
10650         Calculates valid proportion now.
10651         Added beginning of flood measurement.
10652
10653 2006-03-29  Wim Taymans  <wim@fluendo.com>
10654
10655         * docs/design/part-qos.txt:
10656         * gst/gstclock.c:
10657         Small documentation updates and additions.
10658
10659 2006-03-29  Wim Taymans  <wim@fluendo.com>
10660
10661         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10662         (gst_base_src_send_event), (gst_base_src_loop),
10663         (gst_base_src_change_state):
10664         Perform the EOS logic when we reach the segment stop position.
10665         Fix compilation on gcc4.1
10666
10667 2006-03-29  Wim Taymans  <wim@fluendo.com>
10668
10669         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10670
10671         * plugins/elements/gstqueue.c: (gst_queue_init),
10672         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10673         (gst_queue_set_property):
10674         * plugins/elements/gstqueue.h:
10675         In queue, when EOS is received, if minimum threshold > max_size -
10676         current_level, there is chance that queue blocks forever in conditional
10677         item del wait. This is because the queue is not emptied completely due
10678         to minimum threshold.  Here is another approach. Instead of setting
10679         cur_levels to max in EOS, just zero all minimum threshold levels. This
10680         should make sure that queue gives out all data. When going to READY
10681         (stop) state, just reset the original minimum threshold levels.
10682         Fixes #336336.
10683
10684 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
10685
10686         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10687         (gst_type_find_element_handle_event),
10688         (gst_type_find_element_send_cached_events),
10689         (gst_type_find_element_change_state):
10690         * plugins/elements/gsttypefindelement.h:
10691           When typefinding is done in push mode, we should cache
10692           events we receive during typefinding instead of just
10693           dropping them (e.g. newsegment, custom events from
10694           dvdreadsrc etc.) and then send them out once we've
10695           determined the type of the stream (and decodebin
10696           has had a chance to plug in a decoder/demuxer).
10697           
10698 2006-03-27  Wim Taymans  <wim@fluendo.com>
10699
10700         * docs/design/part-qos.txt:
10701         First QoS ideas.
10702
10703 2006-03-27  Wim Taymans  <wim@fluendo.com>
10704
10705         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10706
10707         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10708         (gst_base_src_send_event), (gst_base_src_change_state):
10709         Handle element seek correctly when we are streaming.
10710         Fixes #326998.
10711
10712 2006-03-24  Michael Smith  <msmith@fluendo.com>
10713
10714         * docs/faq/gst-uninstalled:
10715           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10716           allow you to correctly run intalled applications built against old 
10717           core, using plugins that require updated core (e.g. running
10718           installed totem against a full uninstalled gstreamer stack)
10719
10720 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10721
10722         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10723         more debug details
10724
10725 2006-03-24  Wim Taymans  <wim@fluendo.com>
10726
10727         * docs/gst/gstreamer-sections.txt:
10728         Rearrange the order of the methods so that related methods
10729         are grouped together in sections.
10730
10731 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10732
10733         * gst/gstelement.c:
10734           Little clarification in the docs
10735
10736 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10737
10738         * docs/README:
10739         formatting fix
10740         * plugins/elements/gstidentity.c:
10741         * plugins/elements/gstqueue.c:
10742         * plugins/elements/gsttee.c:
10743         * plugins/elements/gsttypefindelement.c:
10744         GST_ELEMENT_DETAILS formatting
10745
10746 2006-03-24  Wim Taymans  <wim@fluendo.com>
10747
10748         * libs/gst/base/gstbasesink.h:
10749         Only add fields, not insert or we break ABI.
10750
10751 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10752
10753         * win32/common/libgstbase.def:
10754         * win32/common/libgstreamer.def:
10755           Update, add recently added functions.
10756
10757 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10758
10759         * docs/gst/gstreamer-sections.txt:
10760         * gst/gstutils.c: (gst_pad_query_peer_position),
10761         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10762         * gst/gstutils.h:
10763           API: add some new utility functions:
10764            - gst_pad_query_peer_position()
10765            - gst_pad_query_peer_duration()
10766            - gst_pad_query_peer_convert()
10767           
10768 2006-03-23  Wim Taymans  <wim@fluendo.com>
10769
10770         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10771         (gst_base_sink_init), (gst_base_sink_finalize),
10772         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10773         (gst_base_sink_set_property), (gst_base_sink_get_property),
10774         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10775         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10776         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10777         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10778         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10779         (gst_base_sink_preroll_object), (gst_base_sink_event),
10780         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10781         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10782         (gst_base_sink_query), (gst_base_sink_change_state):
10783         Decouple max-lateness and the fact that QoS messages are generated
10784         with a new property (qos).
10785         added API: GstBaseSink::async_play()
10786         Add vmethod so subclasses can be notified of ASYNC playing
10787         state changes.
10788         Collect timestamp start and stop to report better current
10789         position in EOS/PLAYING/PAUSED/READY/NULL.
10790         Refactor QoS/frame dropping and other measurements.
10791         API: GstBaseSrc::qos
10792         Fixes #326311
10793
10794         * libs/gst/base/gstbasesink.h:
10795         Added Private struct.
10796         API: gst_base_sink_set_qos_enabled()
10797         API: gst_base_sink_is_qos_enabled()
10798
10799 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10800
10801         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10802           If compiling against GLib-2.8 or newer, try to read the
10803           registry file using GMappedFile first before falling back
10804           to fopen() + fread() (#332151).
10805
10806 2006-03-22  Wim Taymans  <wim@fluendo.com>
10807
10808         * gst/gstinfo.c: (gst_debug_set_active),
10809         (gst_debug_category_set_threshold):
10810         Disable debugging unless explicitly activated.
10811         Fixes #335480.
10812
10813 2006-03-22  Wim Taymans  <wim@fluendo.com>
10814
10815         * gst/gstelement.c: (gst_element_set_locked_state),
10816         (gst_element_dispose):
10817         Cleanup the error case.
10818
10819         * gst/gstobject.c: (gst_object_dispose):
10820         print a critical when some object was disposed with
10821         a parent, also revive the object since it might
10822         crash the parent.
10823
10824 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
10825
10826         * tools/gst-launch.1.in:
10827           Fix another typo.
10828
10829 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10830
10831         * configure.ac:
10832         * tests/check/Makefile.am:
10833           disable some tests when we don't have a registry
10834         * tests/check/gst/gstutils.c: (gst_utils_suite):
10835           don't build the part that needs parsing
10836
10837 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10838
10839         * gst/Makefile.am
10840         * tests/examples/Makefile.am:
10841           fix --disable-parse build
10842
10843 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10844
10845         * tools/gst-feedback.1.in:
10846           Fix typo: s/feeback/feedback/ (#133494).
10847
10848 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10849
10850         * tools/Makefile.am:
10851         * tools/gst-launch.1.in:
10852           Add FILES section and correct entry about GST_REGISTRY_PATH
10853           environment variable (#133495; #133494).
10854
10855 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10856
10857         * tools/Makefile.am:
10858         * tools/gst-md5sum.1.in:
10859         * tools/gst-md5sum.c:
10860           Remove gst-md5sum and man page (the md5sink element
10861           required was removed ages ago)
10862
10863 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10864
10865         * gst/gststructure.c: (gst_structure_id_set_value):
10866           Make sure that string fields in structures/taglists
10867           contain valid UTF-8 - we don't want to pass rubbish to
10868           applications because of a buggy plugin (cp. #334167).
10869
10870 2006-03-21  Edward Hervey  <edward@fluendo.com>
10871
10872         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10873         (gst_bin_handle_message_func):
10874         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10875         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10876         (gst_element_set_bus_func):
10877         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10878         * gst/gstminiobject.c: (gst_value_set_mini_object),
10879         (gst_value_take_mini_object):
10880         * gst/gstpad.c: (gst_pad_set_pad_template):
10881         * gst/gstpipeline.c: (gst_pipeline_dispose),
10882         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10883         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10884         (gst_collect_pads_chain):
10885         * libs/gst/net/gstnettimeprovider.c:
10886         (gst_net_time_provider_set_property):
10887         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10888         It's in fact all issues with gst_*object_replace().
10889
10890 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10891
10892         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
10893         
10894         * pkgconfig/gstreamer-check-uninstalled.pc.in:
10895         * pkgconfig/gstreamer-check.pc.in:
10896           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10897
10898 2006-03-21  Edward Hervey  <edward@fluendo.com>
10899
10900         * gst/gstbuffer.h:
10901         * gst/gstevent.h:
10902         * gst/gstmessage.h:
10903         gst_[buffer|event|message]_ref() macros are replaced by a static
10904         inline functions because gcc-4.1 will about if the return value
10905         isn't used.
10906         * tests/check/gst/gstevent.c: (event_probe):
10907         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10908
10909 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
10910
10911         * gst/gstutils.h:
10912         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10913         the type' case. (Closes: #335195 for now). In the future, when we
10914         depend on GLib 2.10, we could also intern the type name using
10915         g_intern_static_string()
10916
10917 2006-03-20  Wim Taymans  <wim@fluendo.com>
10918
10919         * gst/gstbin.c: (gst_bin_handle_message_func),
10920         (bin_query_max_init), (bin_query_position_fold),
10921         (bin_query_position_done), (gst_bin_query):
10922         Position query should also take max of all streams.
10923
10924 2006-03-20  Wim Taymans  <wim@fluendo.com>
10925
10926         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10927         (gst_fake_src_finalize):
10928         Fix leaks in fakesrc.
10929
10930         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10931         Fix leaks in the testcase.
10932
10933 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
10934
10935         * gst/gst_private.h:
10936           add win32 specific import decoration(__declspec(dllimport)) 
10937           for all extern GstDebugCategory * variables
10938         * win32/common/libgstbase.def:
10939         * win32/common/libgstcontroller.def:
10940         * win32/common/libgstreamer.def:
10941           Add some exports, remove empty lines
10942         * win32/common/libgstdataprotocol.def:
10943         * win32/common/libgstdataprotocol.dsp:
10944         * win32/common/libgstnet.def:
10945         * win32/common/libgstnet.dsp:
10946           new project files and exportation files added
10947         
10948 2006-03-19  Wim Taymans  <wim@fluendo.com>
10949
10950         * tests/check/libs/basesrc.c: (eos_event_counter):
10951         Use proper return value for probe.
10952
10953 2006-03-17  Wim Taymans  <wim@fluendo.com>
10954
10955         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10956         (gst_pad_push):
10957         Don't leak buffers, caps and pads on negotiation errors.
10958
10959 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
10960
10961         * docs/faq/cvs.xml:
10962         * docs/faq/dependencies.xml:
10963         * docs/faq/developing.xml:
10964         * docs/faq/faq.xml:
10965         * docs/faq/general.xml:
10966         * docs/faq/getting.xml:
10967         * docs/faq/legal.xml:
10968         * docs/faq/troubleshooting.xml:
10969         * docs/faq/using.xml:
10970         Faq review and update.
10971
10972 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
10973
10974         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10975         (gst_pad_push):
10976         Don't pound the cpu to pieces by checking get_caps when accept_caps
10977         is called with the same caps as the pad already has.
10978         Use GST_DEBUG_OBJECT when outputting caps change information.
10979
10980 2006-03-15  Wim Taymans  <wim@fluendo.com>
10981
10982         * gst/gstclock.c: (gst_clock_class_init):
10983         Fix docs.
10984
10985 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
10986
10987         * gst/gstbuffer.h:
10988         Documentation fix.
10989
10990         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10991         (gst_pad_accept_caps), (gst_pad_configure_sink),
10992         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10993         Make the default acceptcaps behaviour be to check the requested 
10994         caps against the gst_pad_get_caps output. 
10995
10996         Ensure that gst_pad_accept_caps is used to check caps when a pad
10997         doesn't have a setcaps function, so that pads automatically refuse 
10998         caps that they don't allow in their pad template. (Fixes #332986)
10999
11000         When a buffer with attached caps is pushed, ensure that the source 
11001         pad receives those caps even if the element didn't call
11002         gst_pad_set_caps first.
11003
11004 2006-03-15  Wim Taymans  <wim@fluendo.com>
11005
11006         * libs/gst/base/gstadapter.c:
11007         Add some docs.
11008
11009 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
11010
11011         * win32/common/libgstbase.def:
11012         * win32/common/libgstcontroller.def:
11013         * win32/common/libgstreamer.def:
11014           Add a whole bunch of missing functions (#334434).
11015
11016 2006-03-14  Wim Taymans  <wim@fluendo.com>
11017
11018         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11019         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11020         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
11021         Better debug info when we receive a segment event.
11022         Reorganize a bit so we can pass the get_times() results around.
11023         Use the segment format when calculating the running time.
11024         Don't do QoS is sync is disabled or we have no clock or the
11025         element does not want us to sync to the clock.
11026         Don't drop buffers if QoS is disabled for now.
11027
11028 2006-03-14  Wim Taymans  <wim@fluendo.com>
11029
11030         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
11031         Marked the stats property as unimplemented so people don't get
11032         wild ideas.
11033         Add debug message when regression goes wrong.
11034         Added some more docs.
11035
11036 2006-03-14  Wim Taymans  <wim@fluendo.com>
11037
11038         * gst/gstsegment.c: (gst_segment_to_stream_time):
11039         Return correct return type in case of errors.
11040
11041 2006-03-14  Wim Taymans  <wim@fluendo.com>
11042
11043         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
11044           Don't segfault on invalid formats.
11045
11046 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
11047
11048         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11049           Can't use gst_segment_to_running_time() when the segment
11050           is not in GST_TIME_FORMAT (like with filesink, for example).
11051           Stops flac encoding pipelines from spewing critical warnings
11052           at EOS (#331248).
11053           
11054 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
11055
11056         * gst/gstpipeline.c: (gst_pipeline_class_init):
11057           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
11058
11059         * plugins/elements/gsttypefindelement.c:
11060         (gst_type_find_element_handle_event):
11061           Don't try to typefind empty streams.
11062
11063 2006-03-14  Wim Taymans  <wim@fluendo.com>
11064
11065         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11066         (gst_base_sink_do_qos):
11067         Separate QoS calculation.
11068         Only drop buffers when lateness is bigger than the 
11069         duration of the buffer.
11070
11071 2006-03-13  Wim Taymans  <wim@fluendo.com>
11072
11073         * gst/gstpipeline.c: (gst_pipeline_set_property),
11074         (gst_pipeline_get_property), (do_pipeline_seek),
11075         (gst_pipeline_change_state), (gst_pipeline_set_delay),
11076         (gst_pipeline_get_delay):
11077         Don't deadlock when reading properties.
11078
11079 2006-03-13  Wim Taymans  <wim@fluendo.com>
11080
11081         * libs/gst/base/gstbasetransform.c:
11082         (gst_base_transform_class_init), (gst_base_transform_init),
11083         (gst_base_transform_sink_event),
11084         (gst_base_transform_sink_eventfunc),
11085         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
11086         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11087         (gst_base_transform_set_property),
11088         (gst_base_transform_get_property),
11089         (gst_base_transform_change_state), (gst_base_transform_update_qos),
11090         (gst_base_transform_set_qos_enabled),
11091         (gst_base_transform_is_qos_enabled):
11092         * libs/gst/base/gstbasetransform.h:
11093         Make basetransform virtual method for src events too.
11094         Handle QOS in basetransform.
11095         API: gst_base_transform_update_qos()
11096         API: gst_base_transform_set_qos_enabled()
11097         API: gst_base_transform_is_qos_enabled()
11098
11099 2006-03-13  Wim Taymans  <wim@fluendo.com>
11100
11101         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11102         (gst_base_sink_do_sync):
11103         Small cleanups.
11104         Use QOS debug category.
11105
11106 2006-03-13  Wim Taymans  <wim@fluendo.com>
11107
11108         * plugins/elements/gstqueue.c:
11109         Very small doc update.
11110
11111 2006-03-13  Wim Taymans  <wim@fluendo.com>
11112
11113         * gst/gst_private.h:
11114         * gst/gstinfo.c: (_gst_debug_init):
11115         Added QOS debug category
11116
11117 2006-03-13  Wim Taymans  <wim@fluendo.com>
11118
11119         * docs/gst/gstreamer-sections.txt:
11120         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11121         * gst/gstbin.h:
11122         * gst/gstbus.c: (gst_bus_class_init):
11123         * gst/gstbus.h:
11124         * gst/gstclock.c:
11125         * gst/gstelement.c: (gst_element_set_locked_state):
11126         * gst/gstsegment.c:
11127         Documentation updates.
11128
11129         * gst/gstpipeline.c: (gst_pipeline_get_type),
11130         (gst_pipeline_class_init), (gst_pipeline_init),
11131         (gst_pipeline_dispose), (gst_pipeline_set_property),
11132         (gst_pipeline_get_property), (do_pipeline_seek),
11133         (gst_pipeline_send_event), (gst_pipeline_change_state),
11134         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11135         (gst_pipeline_get_delay):
11136         * gst/gstpipeline.h:
11137         Added methods for setting the delay.
11138         API: gst_pipeline_set_delay()
11139         API: gst_pipeline_get_delay()
11140         Add pipeline debug category
11141         Various cleanups.
11142         Updated docs.
11143         Don't reset stream time when seek failed.
11144
11145 2006-03-13  Wim Taymans  <wim@fluendo.com>
11146
11147         * docs/design/draft-klass.txt:
11148         * docs/design/part-clocks.txt:
11149         * docs/design/part-events.txt:
11150         * docs/design/part-gstbin.txt:
11151         * docs/design/part-gstpipeline.txt:
11152         * docs/design/part-messages.txt:
11153         * docs/design/part-negotiation.txt:
11154         * docs/design/part-overview.txt:
11155         * docs/design/part-preroll.txt:
11156         * docs/design/part-seeking.txt:
11157         * docs/design/part-states.txt:
11158         * docs/design/part-streams.txt:
11159         Documentation updates.
11160
11161 2006-03-12  Julien MOUTTE  <julien@moutte.net>
11162
11163         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11164         us to leak strings...
11165
11166 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11167
11168         * libs/gst/net/gstnettimeprovider.c:
11169           fix docs
11170         * win32/common/config.h:
11171           update
11172
11173 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
11174
11175         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11176
11177         * configure.ac:
11178           Don't check for libgnomeui (leftover from old examples
11179           that aren't built or disted any longer) (#334303).
11180           
11181 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
11182
11183         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11184         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11185           Emit RESOURCE_NO_SPACE_LEFT error here as well when
11186           there's no space left on the device.
11187
11188 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
11189
11190         * gst/gstclock.h:
11191           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11192           to cast the input to GstClockTime before comparing with
11193           another GstClockTime value.
11194
11195 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11196
11197         * configure.ac:
11198           back to trunk
11199
11200 === release 0.10.4 ===
11201
11202 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
11203
11204         * configure.ac:
11205           releasing 0.10.4, "Light"
11206
11207 2006-03-10  Michael Smith  <msmith@fluendo.com>
11208
11209         * libs/gst/dataprotocol/dataprotocol.c:
11210           Fix docs for dataprocotol to not get the return types completely
11211           wrong for a few functions.
11212
11213 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11214
11215         * docs/gst/gstreamer-sections.txt:
11216         * gst/gstpipeline.c: (gst_pipeline_class_init),
11217         (gst_pipeline_init), (gst_pipeline_set_property),
11218         (gst_pipeline_get_property), (gst_pipeline_change_state),
11219         (gst_pipeline_set_auto_flush_bus),
11220         (gst_pipeline_get_auto_flush_bus):
11221         * gst/gstpipeline.h:
11222           Add new API: gst_pipeline_set_auto_flush_bus() and
11223           gst_pipeline_get_auto_flush_bus() to disable automatic
11224           flushing of the pipeline's GstBus when going from READY
11225           to NULL state (#332045).
11226
11227 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11228
11229         * docs/gst/gstreamer-sections.txt:
11230         * gst/gsturi.c: (gst_uri_has_protocol):
11231         * gst/gsturi.h:
11232            Add new API: gst_uri_has_protocol() (#333779).
11233
11234 2006-03-09  Wim Taymans  <wim@fluendo.com>
11235
11236         * gst/gstclock.c: (gst_clock_entry_new),
11237         (gst_clock_id_compare_func), (gst_clock_id_wait),
11238         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11239         (gst_clock_init), (gst_clock_get_internal_time),
11240         (gst_clock_set_master), (do_linear_regression),
11241         (gst_clock_add_observation), (gst_clock_set_property):
11242         * gst/gstclock.h:
11243         Review docs.
11244         Small cleanups.
11245         Fix a possible segfault when the window-size is made smaller.
11246         Calculate jitter before performing the clock wait. Ideally
11247         the clock implementation should calculate jitter but we need
11248         API breakage for that.
11249
11250         * gst/gstsystemclock.c: (gst_system_clock_init):
11251         Docs review.
11252         
11253         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11254         Remove leftover else
11255
11256         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11257         (gst_systemclock_suite):
11258         Added check to test GST_CLOCK_DIFF.
11259
11260 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11261
11262         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11263         (gst_type_find_helper_get_range):
11264           If we are provided with the size, we should implement
11265           GstTypeFind::get_length, so that typefind functions who
11266           want to can actually peek at the middle of a file.
11267
11268 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
11269
11270         * docs/manual/advanced-dataaccess.xml:
11271           Add some very very basic error checking.
11272
11273         * docs/pwg/appendix-checklist.xml:
11274           Some updates to the list of things to check when writing an element.
11275
11276 2006-03-08  Wim Taymans  <wim@fluendo.com>
11277
11278         * docs/design/part-element-transform.txt:
11279         Added some docs about the design of tranform elements.
11280
11281         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11282         (gst_base_src_loop), (gst_base_src_change_state):
11283         Mark buffers with the DISCONT flag.
11284
11285 2006-03-08  Michael Smith  <msmith@fluendo.com>
11286
11287         * gst/gstregistry.h:
11288         * gst/gstregistryxml.c: (gst_registry_save),
11289         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11290         (gst_registry_xml_save_pad_template),
11291         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11292         (gst_registry_xml_write_cache):
11293           Rewrite registry-saving to avoid race conditions and check for
11294           failed writes.
11295
11296 2006-03-08  Wim Taymans  <wim@fluendo.com>
11297
11298         * libs/gst/base/gstbasetransform.c:
11299         (gst_base_transform_transform_caps),
11300         (gst_base_transform_transform_size),
11301         (gst_base_transform_prepare_output_buffer),
11302         (gst_base_transform_get_unit_size),
11303         (gst_base_transform_buffer_alloc),
11304         (gst_base_transform_handle_buffer),
11305         (gst_base_transform_change_state):
11306         Cleanups, separate normal flow from errors, add sensible
11307         DEBUG lines.
11308         Don't try to renegotiate when allocating an output buffer.
11309         Also copy DISCONT buffer flag when copying a buffer.
11310         Reset the transform after we finish streaming, not during.
11311
11312 2006-03-08  Wim Taymans  <wim@fluendo.com>
11313
11314         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11315         Use last buffer timestamp in qos message.
11316
11317 2006-03-07  Wim Taymans  <wim@fluendo.com>
11318
11319         Patch by: Christophe Fergeau
11320
11321         * docs/pwg/advanced-tagging.xml:
11322         * docs/pwg/building-pads.xml:
11323           fixes #333416
11324
11325 2006-03-07  Wim Taymans  <wim@fluendo.com>
11326
11327         * docs/libs/gstreamer-libs-sections.txt:
11328         Added basesink new methods.
11329
11330         * gst/gstevent.c:
11331         * gst/gstevent.h:
11332         Docs updates. Flesh out the QoS docs.
11333
11334         * libs/gst/base/gstadapter.c:
11335         Small doc clarification about ownership and flushing.
11336
11337         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11338         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11339         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11340         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11341         * libs/gst/base/gstbasesink.h:
11342         API additions: 
11343         Added new methods to allow subclass to control max-lateness 
11344         and sync.
11345         Generate very basic QoS events based on last sync observation.
11346         Updated docs, fix typo, added some QoS blurb.
11347
11348         * libs/gst/base/gstbasesrc.c:
11349         Remove obsolete _get_state() calls from docs.
11350
11351 2006-03-07  Wim Taymans  <wim@fluendo.com>
11352
11353         * docs/libs/gstreamer-libs-sections.txt:
11354         * libs/gst/base/gstbasetransform.h:
11355         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11356         Fix docs for GstBaseSrc.
11357
11358 2006-03-07  Wim Taymans  <wim@fluendo.com>
11359
11360         * docs/gst/gstreamer-sections.txt:
11361         * gst/gstbuffer.h:
11362         * gst/gstvalue.c:
11363         * libs/gst/base/gstbasetransform.h:
11364         Small documentation fixes.
11365
11366 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11367
11368         * gst/gstvalue.c:
11369           Document thread-unsafety of gst_value_register_foo_func()
11370           when used at the same time as gst_value_foo() (#322628).
11371
11372 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11373
11374         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11375         (gst_push_src_check_get_range):
11376           Push sources don't support pull mode by default.
11377
11378 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11379
11380         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11381         (gst_base_src_init), (gst_base_src_pad_check_get_range),
11382         (gst_base_src_default_check_get_range):
11383         * libs/gst/base/gstbasesrc.h:
11384           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11385           provide default implementation, and rename
11386           gst_base_src_check_get_range() to
11387           gst_base_src_pad_check_get_range() for clarity.
11388
11389 2006-03-06  Wim Taymans  <wim@fluendo.com>
11390
11391         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11392         Make property overridable.
11393
11394 2006-03-06  Wim Taymans  <wim@fluendo.com>
11395
11396         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11397         (gst_base_sink_init), (gst_base_sink_set_property),
11398         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11399         * libs/gst/base/gstbasesink.h:
11400         API addition: Make max-lateness a property.
11401
11402 2006-03-06  Wim Taymans  <wim@fluendo.com>
11403
11404         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11405         (gst_base_sink_do_sync), (gst_base_sink_render_object):
11406         Don't ever draw a frame that is >10ms late.
11407
11408 2006-03-06  Michael Smith  <msmith@fluendo.com>
11409
11410         * gst/gstmessage.c: (_gst_message_copy):
11411           When copying a message, set the parent_refcount of the enclosed
11412           structure to point at the copy, not the original message.
11413
11414 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11415
11416         Patch by: Christophe Fergeau
11417
11418         * gst/gstutils.h:
11419           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11420           usable in c++ code (#333417)
11421
11422 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11423
11424         * gst/gstclock.h:
11425           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11426
11427 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
11428
11429         * libs/gst/base/gstbasetransform.c:
11430         (gst_base_transform_transform_caps):
11431           Make sure caps are writable before passing them to
11432           gst_caps_append().
11433
11434 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11435
11436         * gst/gsterror.h:
11437           Fix some minor docs errors.
11438
11439 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11440
11441           Patch by: Ross Burton <ross at burtonini dot com>
11442
11443         * gst/gsterror.c: (_gst_resource_errors_init):
11444         * gst/gsterror.h:
11445           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11446
11447 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11448
11449         * gst/gst.c:
11450         Add a check and output a g_warning when GStreamer is built
11451         against GLib 2.6 but running against 2.8 or higher, and vice 
11452         versa. (Closes: #323542)
11453
11454 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11455
11456         * gst/parse/parse.l:
11457           Commit patch for parse_launch syntax from #331255. Removes 
11458           support for quoted strings and mimetypes when writing filtered 
11459           caps. See the bug report for more details - I'm pretty sure this
11460           obscure feature is not in use by _anyone_ anywhere.
11461
11462           With this simple change, the size of the gstreamer.so here 
11463           drops from 2193KB to 1565KB.
11464
11465 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11466
11467         * plugins/elements/gsttypefindelement.h:
11468         * plugins/elements/gsttypefindelement.c:
11469         (gst_type_find_element_src_event), (start_typefinding),
11470         (stop_typefinding), (gst_type_find_element_handle_event),
11471         (gst_type_find_element_chain),
11472         (gst_type_find_element_chain_do_typefinding):
11473           Use gst_type_find_helper_for_buffer() for chain-based
11474           typefinding.
11475
11476 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11477
11478         * plugins/elements/gsttypefindelement.c:
11479         (gst_type_find_element_class_init),
11480         (gst_type_find_element_set_property),
11481         (gst_type_find_element_get_property):
11482           Deprecate "maximum" property (not only was it only taken into
11483           account for typefinding in push-mode anyway, it also was never
11484           actually possible to set it in the first place because the
11485           property was registered with the numeric property ID for the
11486           "minimum" property). Register "maximum" property correctly,
11487           for the sake of future copy'n'pasters. Remove some cruft
11488           from property get/set functions.
11489
11490 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11491
11492         * plugins/elements/gsttypefindelement.c:
11493         (gst_type_find_element_activate):
11494           Use gst_type_find_helper_get_range() here, so we
11495           can honour the "minimum" property and also emit
11496           the signal with the correct probability of the found caps.
11497
11498 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
11499
11500         * docs/libs/gstreamer-libs-sections.txt:
11501         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11502         (helper_find_suggest), (gst_type_find_helper_get_range),
11503         (gst_type_find_helper):
11504         * libs/gst/base/gsttypefindhelper.h:
11505           New API: gst_type_find_helper_get_range() (#333042).
11506
11507 2006-03-02  Michael Smith  <msmith@fluendo.com>
11508
11509         * gst/gstregistryxml.c: (load_feature):
11510           Asserting on a failure to read part of the registry is Not Cool.
11511           Just log a warning and return NULL (which is already handled)
11512
11513 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
11514
11515         * win32/common/libgstbase.def:
11516           added export of gst_type_find_helper_for_buffer
11517         * win32/common/libgstbase.def:
11518           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11519           gst_ghost_pad_get_target
11520
11521 2006-02-28  Wim Taymans  <wim@fluendo.com>
11522
11523         * docs/design/draft-klass.txt:
11524         We use Filter now.
11525         Added Connector to mark elements that are only used to
11526         allow pipeline connections.
11527         Moved Debug to extra feature since most of them are 
11528         functionally something else.
11529
11530 2006-02-28  Wim Taymans  <wim@fluendo.com>
11531
11532         * docs/design/draft-klass.txt:
11533         Some updates and clarifications.
11534
11535 2006-02-28  Wim Taymans  <wim@fluendo.com>
11536
11537         * docs/design/draft-klass.txt:
11538         Proposal for klass field values.
11539
11540         * docs/design/part-streams.txt:
11541         Start of a doc describing stream anatomy.
11542
11543 2006-02-28  Wim Taymans  <wim@fluendo.com>
11544
11545         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11546         Help the compiler a bit with type registration.
11547         Use existing forward cod path instead of duplicating it when 
11548         handling a message.
11549         
11550         * gst/gstbus.c: (gst_bus_get_type):
11551         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11552         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11553         * gst/gstclock.c: (gst_clock_get_type):
11554         * gst/gstelement.c: (gst_element_get_type),
11555         * gst/gstelementfactory.c: (gst_element_factory_get_type):
11556         * gst/gstindexfactory.c: (gst_index_factory_get_type):
11557         * gst/gstminiobject.c: (gst_mini_object_get_type):
11558         * gst/gstpad.c: (gst_pad_get_type):
11559         * gst/gstsegment.c: (gst_segment_get_type):
11560         * gst/gststructure.c: (gst_structure_get_type):
11561         * gst/gstsystemclock.c: (gst_system_clock_get_type):
11562         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11563         * gst/gstvalue.c:
11564         Help compiler with type registration.
11565
11566         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11567         Small doc update.
11568
11569 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11570
11571         * plugins/elements/gsttypefindelement.c:
11572         (gst_type_find_element_handle_event):
11573           When we get an EOS event and have not found a type yet
11574           (most likely because we had not yet accumulated
11575           TYPE_FIND_MIN_SIZE of data yet), try to determine the
11576           type given the data we have so far. Fixes typefinding
11577           for very short streams again, most notably quicktime
11578           redirections as used on Apple's trailer site (#331701).
11579
11580 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11581
11582         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11583         (gst_type_find_helper):
11584           Try typefinding factories with the highest rank first.
11585
11586 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11587
11588         * docs/libs/gstreamer-libs-docs.sgml:
11589         * docs/libs/gstreamer-libs-sections.txt:
11590         * libs/gst/base/gsttypefindhelper.c:
11591           Add section for typefind helper and add documentation
11592           for the old and the new function.
11593
11594 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11595
11596         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11597         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11598         (gst_type_find_helper_for_buffer):
11599         * libs/gst/base/gsttypefindhelper.h:
11600           New API: gst_type_find_helper_for_buffer() (#332723).
11601           
11602 2006-02-27  Michael Smith  <msmith@fluendo.com>
11603
11604         Patch by: Loïc Minier
11605
11606         * configure.ac:
11607         * docs/Makefile.am:
11608         * docs/slides/Makefile.am:
11609           prevent CVS directories getting disted.
11610
11611 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11612
11613         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11614           Use the REFCOUNTING category for caps refcounting.
11615           
11616 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11617
11618         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11619           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11620
11621 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11622
11623         * plugins/elements/gsttypefindelement.c:
11624         (gst_type_find_element_activate):
11625           Use gst_pad_check_pull_range() before _activate_pull()
11626           to avoid unnecessary open/close (see #331690).
11627
11628 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11629
11630         * gst/gstutils.c:
11631           Docs enhancement: make it crystal clear what the
11632           gst_pad_add_*_probe() callbacks should look like.
11633
11634 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11635
11636         * libs/gst/base/gstbasesrc.c:
11637           Document how applications can stop recording from
11638           live sources (see #330996).
11639
11640 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11641
11642         * tests/check/Makefile.am:
11643         * tests/check/libs/basesrc.c: (eos_event_counter),
11644         (basesrc_eos_events_pull), (basesrc_eos_events_push),
11645         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11646         (gst_basesrc_suite), (main):
11647           ... and add some tests for the base source EOS stuff.
11648
11649 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11650
11651         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11652           Test case originally showed the problem fixed below,
11653           but was then amended. Add checks back at the place
11654           where they used to be.
11655
11656 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11657
11658         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11659         (gst_base_src_init), (gst_base_src_loop),
11660         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11661         (gst_base_src_change_state):
11662         * libs/gst/base/gstbasesrc.h:
11663           Don't unconditionally send EOS when going from PAUSED to
11664           READY state, esp. make sure we don't send two EOS events
11665           in some cases (e.g. one when reaching EOS and one when
11666           going from PAUSED to READY). Also, we don't want to send
11667           EOS events when operating in pull mode. However, we do
11668           want to send an EOS event when shutting down a live
11669           source explicitly, for example (fixes #330996).
11670           
11671 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11672
11673         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11674           Update src->read_position after a seek when not using mmap.
11675           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11676
11677 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
11678
11679         * gst/Makefile.am:
11680         * gst/gstparse.h:
11681         * gst/gstutils.c:
11682         * gst/gstutils.h:
11683         Make things work with --disable-parse as they do with 
11684         --disable-load-save - the symbols involved disappear, but the
11685         header is still installed and GST_DISABLE_PARSE is included via
11686         gstconfig.h
11687
11688 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11689
11690         * libs/gst/base/gstbasetransform.c:
11691         (gst_base_transform_change_state): Fix a stupid bug. I was 
11692         sure I compiled that.
11693
11694 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11695
11696         * gst/gstpad.c: (gst_pad_set_blocked_async):
11697         * gst/gstutils.c: (gst_pad_add_data_probe),
11698         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11699         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11700         (gst_pad_remove_buffer_probe): Make those function act on the
11701         ghostpad target when it's a ghostpad. (Closes #331727)
11702
11703 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11704
11705         * libs/gst/base/gstbasetransform.c:
11706         (gst_base_transform_change_state): Make basetransform reusable.
11707         (Closes #331898)
11708
11709 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
11710
11711         * docs/random/release:
11712         Move the current documentation of how to do a release to the top
11713         of the file.
11714
11715         * gst/gstbin.c: (gst_bin_class_init),
11716         (gst_bin_handle_message_func):
11717         Allow multiple state-recalculation threads. (Closes #328873)
11718
11719 2006-02-19  Julien MOUTTE  <julien@moutte.net>
11720
11721         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11722         * gst/gstpad.c: (gst_pad_set_event_function),
11723         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11724         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11725         2 strings. You can't use the STR_NULL macro on that.
11726
11727 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
11728
11729         * gst/gstpad.c: (gst_pad_set_event_function),
11730         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11731         (gst_pad_set_getcaps_function)
11732         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11733           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11734           So now, we can use --gst-debug-level=5 on Windows
11735         * win32/common/libgstcontroller.def:
11736           Added export of gst_controller_init
11737         * win32/vs6/libgstcontroller.dsp:
11738           Fixed Release post build configuration
11739
11740 2006-02-17  Wim Taymans  <wim@fluendo.com>
11741
11742         * tests/check/gst/gstquery.c: (GST_START_TEST):
11743         Added another check.
11744
11745 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
11746
11747         * plugins/elements/gsttypefindelement.c: (find_peek):
11748           We can do peeks at non-zero offsets, as long as they
11749           fall within the buffer we have.
11750
11751 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
11752
11753         * tests/check/Makefile.am:
11754         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11755         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11756         (parse_suite), (main):
11757           Add testsuite for parse launch syntax
11758
11759 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
11760
11761         * plugins/elements/gsttypefindelement.c:
11762         (gst_type_find_element_chain):
11763           When typefinding is unsuccessful in the chain function, don't
11764           error out immediately. Only error out with NO_CAPS_FOUND if
11765           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11766           otherwise simply wait for more data so we can try typefinding
11767           again with more data later. Also, don't attempt to typefind
11768           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11769           this should improve typefinding from network sources where the
11770           size of the first buffer can be somewhat random.
11771
11772 2006-02-14  Wim Taymans  <wim@fluendo.com>
11773
11774         * docs/gst/gstreamer-sections.txt:
11775         * gst/gstpadtemplate.c:
11776         * gst/gstpadtemplate.h:
11777         Fix padtemplate docs, fixes #328805.
11778
11779 2006-02-14  Wim Taymans  <wim@fluendo.com>
11780
11781         * tools/gst-launch.c: (main):
11782         NO_PREROLL is not an ERROR so don't send confusing messages
11783         to the user.
11784
11785 2006-02-14  Wim Taymans  <wim@fluendo.com>
11786
11787         Patch by: Torsten Schoenfeld
11788
11789         * gst/gstregistry.c: (gst_registry_get_default),
11790         (_gst_registry_cleanup):
11791         Protect default registry with lock and ref/sink it.
11792         Fixes #324818
11793
11794 2006-02-14  Wim Taymans  <wim@fluendo.com>
11795
11796         * gst/gstbuffer.c:
11797         * gst/gstquery.c: (gst_query_list_add_format),
11798         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11799         (gst_query_parse_formats_nth):
11800         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11801         Docs fixes.
11802
11803 2006-02-14  Wim Taymans  <wim@fluendo.com>
11804
11805         * docs/gst/gstreamer-sections.txt:
11806         Reworked query docs.
11807
11808         * gst/gstquery.c: (gst_query_new_formats),
11809         (gst_query_list_add_format), (gst_query_set_formats),
11810         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11811         (gst_query_parse_formats_nth):
11812         * gst/gstquery.h:
11813         Flesh out formats query, added some new methods.
11814         Fix part of #324398.
11815
11816         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11817         Added query creation tests.
11818
11819 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
11820
11821         * gst/gstpad.c: (fixate_value):
11822         Add a default fixation for fraction lists.
11823
11824 2006-02-13  Wim Taymans  <wim@fluendo.com>
11825
11826         * gst/gsttask.c: (gst_task_init), (gst_task_func),
11827         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11828         (gst_task_join):
11829         * gst/gsttask.h:
11830         Detect and warn for obvious deadlocks. fixes #320340
11831         Fix error case where lock was not released.
11832
11833         * tests/check/Makefile.am:
11834         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11835         (task_func), (gst_element_suite), (main):
11836         Add task check.
11837
11838 2006-02-13  Wim Taymans  <wim@fluendo.com>
11839
11840         * docs/gst/gstreamer-sections.txt:
11841         * gst/gstbus.c:
11842         Add new functions to docs.
11843
11844 2006-02-13  Wim Taymans  <wim@fluendo.com>
11845
11846         * docs/design/part-TODO.txt:
11847         Updated TODO list, basesrc supports seeking to non-bytes
11848         formats.
11849
11850         * docs/design/part-element-sink.txt:
11851         Update docs.
11852
11853         * gst/gstbin.c: (bin_replace_message),
11854         (gst_bin_handle_message_func):
11855         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11856         * gst/gstevent.c: (gst_event_finalize):
11857         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11858         (gst_pad_send_event):
11859         Use shiny new _TYPE_NAME macros.
11860
11861         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11862         Move debug statement up.
11863
11864         * gst/gstelement.c: (gst_element_set_locked_state):
11865         Add some debugging.
11866
11867 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
11868
11869         * docs/gst/gstreamer-sections.txt:
11870         * gst/gstmessage.h:
11871         * gst/gstquery.h:
11872           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11873           macros (#330906). Also, document the already existing
11874           GST_QUERY_TYPE macro.
11875
11876 2006-02-13  Wim Taymans  <wim@fluendo.com>
11877
11878         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11879         (event_probe), (GST_START_TEST):
11880         Only events up to the pipeline EOS are counted, there are
11881         some more when going to NULL currently which we don't care
11882         about for now.
11883
11884 2006-02-13  Wim Taymans  <wim@fluendo.com>
11885
11886         * gst/gstpad.c: (gst_pad_send_event):
11887         Correctly check flushing and emit probes. fixes #330125
11888
11889 2006-02-10  Andy Wingo  <wingo@pobox.com>
11890
11891         * gst/gstbus.c (gst_bus_class_init): Declare our private data
11892         structure.
11893         (gst_bus_init): Cache the location of the private data in the
11894         instance structure.
11895         (gst_bus_enable_sync_message_emission) 
11896         (gst_bus_disable_sync_message_emission): Implement new public
11897         functions.
11898         (gst_bus_post): Emit the sync-message signal if the user asked for
11899         it. Fixes #330684.
11900
11901         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11902         location of the bus-private structure.
11903         (gst_bus_enable_sync_message_emission)
11904         (gst_bus_disable_sync_message_emission): API addition
11905
11906 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
11907
11908         Patch by: Vincent Torri
11909
11910         * docs/pwg/building-boiler.xml:
11911         PWG patch from #326800
11912
11913 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
11914
11915         * configure.ac:
11916         * docs/Makefile.am:
11917         * docs/design/Makefile.am:
11918           Dist design docs.
11919
11920 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11921
11922         * configure.ac:
11923           back to CVS
11924
11925 === release 0.10.3 ===
11926
11927 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
11928
11929         * configure.ac:
11930           releasing 0.10.3, "Like a virgin"
11931
11932 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11933
11934         * configure.ac:
11935           2nd prerelease of 0.10.3
11936           Bump libtool versioning.
11937
11938 2006-02-07  Andy Wingo  <wingo@pobox.com>
11939
11940         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11941         update last_stop if we're in TIME format and the timestamp is
11942         valid.
11943
11944         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
11945         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
11946         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11947         If we get a new newsegment with a different format, adapt
11948         accordingly.
11949
11950         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11951         of 0. Not a problem, really.
11952
11953         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11954         warn if sync=true.
11955
11956 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
11957
11958         * configure.ac:
11959           Prelease of 0.10.3
11960
11961 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
11962
11963         * win32/vs7:
11964           project files updated to the default vs7 configuration
11965         * win32/common/libgstbase.def:
11966         * win32/common/libgstreamer.def:
11967           added new symbols,
11968           removed empty lines,
11969           sorted all exported symbols alphabetically
11970         * win32/common/dirent.c:
11971         * win32/common/dirent.h:
11972         * win32/common/gchar.h:
11973           use windows line end.
11974           
11975 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11976
11977         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11978           Send EOS event when stopping.
11979
11980 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11981
11982         * docs/README:
11983           Tell folks what to do if the plugin-foobar.xml file
11984           hasn't been generated for a newly-added plugin.
11985
11986 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11987
11988         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11989         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11990         (gst_collect_pads_start), (gst_collect_pads_stop),
11991         (gst_collect_pads_event): Collectpads now holds a reference
11992         to the GstPad that was added. Indeed we don't want to look
11993         at pads that might just go away with no warning...
11994
11995 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11996
11997         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11998         (gst_collect_pads_start), (gst_collect_pads_stop),
11999         (gst_collect_pads_event), (gst_collect_pads_chain):
12000         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
12001         Mark Nauwelaerts's patch on bug #328491.
12002
12003 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
12004
12005         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
12006         (gst_utils_suite):
12007           Add some simple tests for gst_parse_bin_from_description() and
12008           gst_bin_find_unconnected_pad() (#329069).
12009
12010 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
12011
12012         * tools/gst-launch.c: (event_loop), (main):
12013           Catch errors during preroll (#320084).
12014
12015 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
12016
12017         * plugins/elements/gsttypefindelement.c:
12018         (gst_type_find_element_activate):
12019           Post TYPE_NOT_FOUND error message when typefinding
12020           is unsuccessful in the activate function as well.
12021
12022 2006-02-02  Wim Taymans  <wim@fluendo.com>
12023
12024         * docs/design/part-element-sink.txt:
12025         Updated doc.
12026
12027 2006-02-02  Wim Taymans  <wim@fluendo.com>
12028
12029         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12030         (gst_base_sink_render_object),
12031         (gst_base_sink_queue_object_unlocked):
12032         Only keep track of prerollable items when we are 
12033         prerolling.
12034         Before rendering after preroll, always check if we
12035         have queued items.
12036         Added some more debugging.
12037
12038 2006-02-02  Wim Taymans  <wim@fluendo.com>
12039
12040         * gst/gstelement.c: (gst_element_continue_state),
12041         (gst_element_set_state_func), (gst_element_change_state):
12042         Fixed #326576, been running this for quite some time with
12043         no regressions at all.
12044
12045 2006-02-02  Wim Taymans  <wim@fluendo.com>
12046
12047         * common/gst.supp:
12048         Added more suppressions
12049
12050 2006-02-02  Wim Taymans  <wim@fluendo.com>
12051
12052         * docs/design/part-element-sink.txt:
12053         Updated document.
12054
12055         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12056         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
12057         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
12058         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12059         (gst_base_sink_do_sync), (gst_base_sink_render_object),
12060         (gst_base_sink_preroll_object),
12061         (gst_base_sink_queue_object_unlocked),
12062         (gst_base_sink_queue_object), (gst_base_sink_event),
12063         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
12064         (gst_base_sink_loop), (gst_base_sink_activate_pull),
12065         (gst_base_sink_get_position), (gst_base_sink_change_state):
12066         * libs/gst/base/gstbasesink.h:
12067         Totally refactored matching the design doc.
12068         Use two segments, one to clip incomming buffers and another to
12069         perform sync.
12070         Handle queueing correctly, bypass the queue when playing.
12071         Make EOS cancelable.
12072         Handle errors correctly when operating in pull based mode.
12073
12074         * tests/check/elements/fakesink.c: (GST_START_TEST),
12075         (fakesink_suite):
12076         Added new check for sinks.
12077
12078 2006-02-02  Wim Taymans  <wim@fluendo.com>
12079
12080         * gst/gstsegment.c: (gst_segment_clip):
12081         No reason to refuse to clip when start == -1
12082
12083 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
12084
12085         * docs/README:
12086         * docs/manual/intro-basics.xml:
12087         * docs/manual/intro-preface.xml:
12088         * docs/manual/manual.xml:
12089         * docs/pwg/advanced-dparams.xml:
12090         * docs/pwg/intro-basics.xml:
12091         * docs/pwg/intro-preface.xml:
12092         * docs/pwg/pwg.xml:
12093           describe dparams (controller) for plugins
12094           unify docs a little more
12095
12096 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
12097
12098         * docs/gst/gstreamer-sections.txt:
12099         * gst/gstutils.c: (element_find_unconnected_pad),
12100         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12101         * gst/gstutils.h:
12102           Add new API: gst_parse_bin_from_description() and
12103           gst_bin_find_unconnected_pad() (#329069).
12104
12105 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
12106
12107         * docs/manual/README:
12108           uncover a nasty detail of the docs build
12109
12110 2006-01-31  Wim Taymans  <wim@fluendo.com>
12111
12112         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12113         Don't cache duration messages if we're not going to use or
12114         free them.
12115
12116 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
12117
12118         * docs/manual/advanced-dparams.xml:
12119         * docs/pwg/advanced-dparams.xml:
12120           more dparam docs
12121         * gst/gstindex.c:
12122           fix docs
12123         * libs/gst/controller/lib.c: (gst_controller_init):
12124           init just once
12125
12126 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
12127
12128         * gst/gstelement.c: (gst_element_message_full):
12129           also show file/line/func if no additional debug was given
12130
12131 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
12132         
12133         * win32/vs7/grammar.vcproj:
12134           activate copy of autogenerated files for Release mode
12135
12136 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12137         
12138         * win32/common/libgstreamer.def:
12139           export gst_value_compare
12140
12141 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
12142
12143         * plugins/elements/Makefile.am:
12144         * plugins/elements/gstelements.c:
12145         * plugins/elements/gstfdsink.c: (_do_init),
12146         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12147         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12148         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12149         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12150         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12151         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12152         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12153         * plugins/elements/gstfdsink.h:
12154         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12155
12156 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
12157
12158         * docs/manual/advanced-dparams.xml:
12159           describe controller
12160         * docs/manual/advanced-position.xml:
12161         * docs/manual/basics-init.xml:
12162         * docs/manual/manual.xml:
12163         * docs/manual/titlepage.xml:
12164         * docs/pwg/pwg.xml:
12165         * docs/pwg/titlepage.xml:
12166           cleanup xml (more to come)
12167         * libs/gst/controller/gstcontroller.c:
12168           fix typo
12169
12170 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12171         
12172         * win32/vs6/grammar.dsp:
12173           add autogen of gstmarshal.c,h for Release mode
12174                 
12175 2006-01-30  Wim Taymans  <wim@fluendo.com>
12176
12177         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12178         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12179         (gst_base_sink_handle_object), (gst_base_sink_event),
12180         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12181         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12182         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12183         (gst_base_sink_deactivate), (gst_base_sink_activate),
12184         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12185         (gst_base_sink_query), (gst_base_sink_change_state):
12186         Basesink cleanups, remove some old code.
12187         Handle the case where a subclass can preroll in the render
12188         method (mostly audiosinks).
12189         Handle more events.
12190         Remove some locks around variables that are now protected
12191         with the PREROLL_LOCK (clock_id, flushing, ..).
12192         Optimize position query some more, do correct locking.
12193         Remove old code to push queue in state change, this is not
12194         needed anymore since preroll blocks on all prerollable items 
12195         now.
12196         Almost implemented as described in design doc.
12197
12198 2006-01-30  Wim Taymans  <wim@fluendo.com>
12199
12200         * tests/check/gst/gstbin.c: (GST_START_TEST):
12201         Wait for refcount to settle down before checking.
12202
12203 2006-01-30  Wim Taymans  <wim@fluendo.com>
12204
12205         * docs/design/part-element-sink.txt:
12206         Pseudo code overview of desired sink behaviour regarding
12207         preroll.
12208
12209 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12210         * win32/vs6/grammar.dsp:
12211           fix some bugs in Release mode for autogenerated files
12212                 
12213 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12214         * win32/common/libgstbase.def:
12215         * win32/common/libgstreamer.def:
12216           export some new symbols: gst_base_src_set_format,
12217           gst_iterator_next, gst_structure_set_valist
12218
12219 2006-01-29  Julien MOUTTE  <julien@moutte.net>
12220
12221         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12222         Set pad functions unconditionally. Fixes #329105.
12223
12224 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12225         * win32/vs8:
12226           add vs8 project files created by Sergey Scobich
12227
12228 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
12229
12230         * gst/gstutils.c: (gst_element_unlink_pads):
12231         Don't leak pad references.
12232
12233         * tests/check/elements/fakesink.c: (GST_START_TEST):
12234         * tests/check/generic/sinks.c: (GST_START_TEST):
12235         * tests/check/generic/states.c: (GST_START_TEST):
12236         * tests/check/gst/gstbin.c: (GST_START_TEST):
12237         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12238         * tests/check/gst/gstelement.c: (GST_START_TEST):
12239         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12240         * tests/check/gst/gstiterator.c: (GST_START_TEST):
12241         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12242         Fix a bunch of leaks. Make generic/sinks.c
12243         use a bit less cpu by slowing the buffer rate
12244         between fakesrc and fakesink.
12245         
12246 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
12247         * gst/gstcaps.c:
12248         * gst/gstelement.c: (gst_element_send_event):
12249         * gst/gstevent.c:
12250         * gst/gstinfo.c:
12251         * gst/gstiterator.c:
12252         * gst/gstiterator.h:
12253         * gst/gstpad.c: (gst_pad_send_event):
12254         * gst/gststructure.c:
12255         * gst/gsturi.c:
12256         * gst/gstutils.c:
12257         * gst/gstvalue.c:
12258         * libs/gst/base/gstadapter.c:
12259           doc fixes, to link to function, just write gst_cool_function(), don't
12260           prefix with '#'
12261
12262 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12263
12264         * plugins/elements/gsttee.c: (gst_tee_do_push),
12265         (gst_tee_handle_buffer):
12266         Always prefer an actual return value from a src
12267         pad in place of NOT_LINKED. This means we return
12268         WRONG_STATE when all src pads are WRONG_STATE
12269         instead of NOT_LINKED.
12270
12271         Lock when replacing the last message to prevent
12272         racing with the get_property method.
12273
12274         Add debug output
12275
12276 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12277
12278         * tests/check/Makefile.am:
12279         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12280         (main):
12281         Add a very simple check that should have caught the memleak I fixed
12282         last night (if not for the slice allocator hiding it)
12283
12284 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12285
12286         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12287         (gst_bin_remove_func), (gst_bin_handle_message_func),
12288         (bin_query_duration_fold), (bin_query_generic_fold):
12289         Clean up references to the clock provider when disposed or when
12290         handling a clock-lost message from it.
12291
12292         Unref sinks when performing a query via gst_iterator_fold, as the
12293         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12294
12295         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12296         (gst_clock_set_master):
12297         Drop our reference to the master clock, if any, when we are disposed.
12298
12299         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12300         Chain up in dispose. 
12301
12302 2006-01-26  Wim Taymans  <wim@fluendo.com>
12303
12304         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12305         Add some debugging.
12306
12307 2006-01-26  Julien MOUTTE  <julien@moutte.net>
12308
12309         * plugins/elements/gsttee.c: (gst_tee_do_push),
12310         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12311         handles pad being NOT_LINKED or in WRONG_STATE.
12312
12313 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12314
12315         * win32/MANIFEST:
12316           more updating
12317
12318 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12319
12320         * win32/MANIFEST:
12321           remove obsolete entry
12322
12323 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12324
12325         * docs/gst/gstreamer-sections.txt:
12326         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12327         (gst_bin_iterate_sources), (gst_bin_send_event):
12328         * gst/gstbin.h:
12329         * gst/gstelement.c: (gst_element_send_event):
12330         * gst/gstevent.c:
12331         * gst/gstpad.c: (gst_pad_send_event):
12332           added code for downstream events, reviewed docs in gstevent.c
12333
12334 2006-01-25  Julien MOUTTE  <julien@moutte.net>
12335
12336         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12337         We only query position using the clock in the playing state.
12338         Query peer in the other cases.
12339         * win32/common/config.h: Updates.
12340
12341 2006-01-24  Wim Taymans  <wim@fluendo.com>
12342
12343         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12344         A clock entry that is scheduled for the exact time of the
12345         clock is still in time.
12346
12347         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12348         (gst_base_sink_do_sync):
12349         Add some more debug info.
12350
12351 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12352
12353         * win32/vs7:
12354           Add new vs7 project files and solution.
12355
12356 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12357
12358         * win32/vs7:
12359           all files removed as they were out-dated.
12360
12361 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12362
12363         * docs/random/release:
12364           update notes
12365         * gst/gstbin.c: (gst_bin_init):
12366         * gst/gstbus.c: (gst_bus_new):
12367         * gst/gstbus.h:
12368         * gst/gstpipeline.c: (gst_pipeline_init):
12369           use gst_bus_new(), improve logging, fix docs
12370         * win32/common/config.h:
12371           update for cvs build
12372
12373 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12374
12375         * autogen.sh:
12376           up required version of automake to 1.7
12377
12378 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
12379
12380         * win32/common/libgstreamer.def:
12381           export gst_buffer_is_metadata_writable
12382
12383 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
12384
12385         * docs/gst/gstreamer-sections.txt:
12386         * gst/gstevent.h:
12387           Add gst_event_replace() (#327001)
12388
12389 2006-01-20  Wim Taymans  <wim@fluendo.com>
12390
12391         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12392         Make it actually compile too..
12393
12394 2006-01-20  Wim Taymans  <wim@fluendo.com>
12395
12396         * gst/gstcaps.c:
12397         Clarify behaviour of _is_equal() when passing NULL parameters.
12398
12399         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12400         (gst_pad_set_caps):
12401         Cleanups. Don't unref NULL caps.
12402         When setting the same caps, protect caps of the pad with
12403         proper lock.
12404         Use full functionality of _is_equal() when comparing caps.
12405
12406 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12407
12408         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12409         Don't loop infinitely if there are no buffers to present. Partially
12410         fixes #327197, but collectpads is just broken for reusing elements
12411         to do multiple encodes atm.
12412
12413 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12414
12415         * tools/gst-inspect.c: (print_element_features):
12416         * tools/gst-xmlinspect.c: (main):
12417         URL_HANDLER is not a plugin feature we can search for in
12418         the registry.
12419
12420 2006-01-19  Edward Hervey  <edward@fluendo.com>
12421
12422         * gst/gstelement.c: (gst_element_pads_activate): 
12423         When activating, do src pads first, then sink pads.
12424         When de-activating, do sink pads first, then src pads.
12425
12426 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12427
12428         * docs/gst/gstreamer-sections.txt:
12429         Add gst_index_add_associationv to the docs
12430
12431 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12432
12433         * gst/gstevent.c:
12434           Fix docs typo
12435
12436         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12437         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12438           Do some refactoring. Doesn't actually change functionality,
12439           but makes landing the DRAIN event easier later.
12440
12441 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
12442
12443         * docs/pwg/advanced-scheduling.xml:
12444           Update from 0.9.x to 0.10 API and make example a bit
12445           clearer.
12446
12447 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12448
12449         * docs/gst/gstreamer-sections.txt:
12450         Add gst_buffer_(is|make)_metadata_writable methods.
12451
12452 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12453
12454         * docs/design/part-sparsestreams.txt:
12455         Update sparse streams doc, hopefully for greater clarity
12456
12457 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
12458
12459         * docs/design/part-events.txt:
12460         Remove mention of FILLER events.
12461         Add DRAIN event.
12462
12463         * docs/design/part-sparsestreams.txt:
12464         Write some things about using NEWSEGMENT to keep sparse streams
12465         flowing.
12466
12467 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12468
12469         * gst/gstbin.c: (gst_bin_dispose):
12470           Guard gst_object_unref call against a NULL object (dispose
12471           can theoretically be called multiple times).
12472           
12473 2006-01-18  Wim Taymans  <wim@fluendo.com>
12474
12475         * gst/gstbin.c: (gst_bin_element_set_state):
12476         * gst/gstclock.c: (gst_clock_id_wait):
12477         Added some more debug info.
12478
12479         * libs/gst/base/gstadapter.c:
12480         Added more docs.
12481
12482         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12483         (gst_base_sink_do_sync), (gst_base_sink_chain):
12484         Added some comments.
12485
12486 2006-01-18  Wim Taymans  <wim@fluendo.com>
12487
12488         * tests/check/Makefile.am:
12489         * tests/check/elements/fakesink.c: (chain_async_buffer),
12490         (chain_async), (chain_async_return), (GST_START_TEST),
12491         (fakesink_suite), (main):
12492         Added fakesink test that checks prerolling and clipping
12493         behaviour.
12494
12495         * tests/check/gst/gstutils.c: (GST_START_TEST):
12496         Make check run faster so that buildbots don't timeout.
12497
12498 2006-01-18  Wim Taymans  <wim@fluendo.com>
12499
12500         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12501         (gst_base_sink_do_sync):
12502         Some cleanups.
12503         When the sink finishes blocking on the preroll buffer, it can
12504         immediatly render it instead of rendering when the next buffer
12505         arrives.
12506
12507 2006-01-18  Wim Taymans  <wim@fluendo.com>
12508
12509         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12510         (gst_base_sink_get_property), (gst_base_sink_do_sync),
12511         (gst_base_sink_chain):
12512         Small cleanups.
12513         GST_ELEMENT_CLOCK and sync are protected with LOCK.
12514         Don't store _last_stop if the buffer is dropped.
12515
12516 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12517
12518         * plugins/elements/gsttypefindelement.c:
12519         (gst_type_find_element_class_init):
12520           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12521           object method handler that sets the caps on the pad and we want
12522           that to happen before we emit the signal (fixes e.g. feeding a
12523           plain text file to decodebin).
12524
12525 2006-01-18  Christian Schaller  <Christian@fluendo.com>
12526
12527         * gst/gstplugin.c: Add MPL and Proprietary as license options
12528
12529 2006-01-18  Andy Wingo  <wingo@pobox.com>
12530
12531         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12532         symbol was exported before, it appears this was just an oversight.
12533         Fixes #168703.
12534         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12535
12536         * gst/gstindex.c (gst_index_add_associationv): Changed int in
12537         prototype to gint. OK since this prototype was not in the header.
12538
12539 2006-01-17  Andy Wingo  <wingo@pobox.com>
12540
12541         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12542         registry while we remove plugins.
12543
12544         * tools/gst-inspect.c (print_element_info): Don't unref the
12545         factory arg, that should be the responsibility of whatever code
12546         received the ref. Fixes a double-free when called from
12547         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12548         (main): Unref the factory if we have one.
12549         (print_element_list): No change -- relies on the
12550         plugin_feature_list_free to free the list of features.
12551
12552 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
12553
12554         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12555         (gst_buffer_make_metadata_writable):
12556         * gst/gstbuffer.h:
12557         * libs/gst/base/gstbasetransform.c:
12558         (gst_base_transform_prepare_output_buf):
12559         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12560         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12561           Replace gst_buffer_(make|is)_metadata_writable patch now
12562           that the release is out.
12563
12564 2006-01-17  Andy Wingo  <wingo@pobox.com>
12565
12566         * gst/gstregistry.c: Reflow design comment. Update so as to speak
12567         in the present tense without reference to versions.
12568
12569         * gst/gstregistry.c (gst_registry_add_plugin)
12570         (gst_registry_remove_plugin, gst_registry_remove_feature)
12571         (gst_registry_find_feature, gst_registry_get_feature_list)
12572         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12573         (gst_registry_lookup, gst_registry_scan_path)
12574         (_gst_registry_remove_cache_plugins)
12575         (gst_registry_get_feature_list_by_plugin): Add argument
12576         validation.
12577
12578 === release 0.10.2 ===
12579
12580 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
12581
12582         * configure.ac:
12583           releasing 0.10.2, "If man is five"
12584
12585 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12586
12587         * gst/gstbuffer.c:
12588         * gst/gstbuffer.h:
12589         * libs/gst/base/gstbasetransform.c:
12590         (gst_base_transform_prepare_output_buf):
12591         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12592         * tests/check/gst/gstbuffer.c: (gst_test_suite):
12593           Back out patch until after the release.
12594
12595 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12596
12597         * gst/gstminiobject.c:
12598           Spelling fix in docs.
12599         * ChangeLog - remove conflict indicator
12600
12601 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12602
12603         Reviewed By: Andy Wingo
12604
12605         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12606         (gst_buffer_make_metadata_writable):
12607         * gst/gstbuffer.h:
12608           Add gst_buffer_(is|make)_metadata_writable as analogues of
12609           gst_buffer_(is|make)_writable.
12610
12611         * libs/gst/base/gstbasetransform.c:
12612         (gst_base_transform_prepare_output_buf):
12613         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12614           Use name gst_buffer_(is|make)_metadata_writable functions.
12615
12616         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12617           Test gst_buffer_(is|make)_metadata_writable
12618         
12619           (Closes: #324162)
12620
12621 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12622
12623         * docs/manual/Makefile.am:
12624           don't do parallel make
12625         * configure.ac:
12626           AC_SUBST HOST_CPU
12627         * win32/common/config.h.in:
12628           add generations for HOST_CPU and GST_MAJORMINOR
12629         * win32/common/config.h:
12630           commit generated result
12631
12632 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
12633
12634         * docs/manual/appendix-integration.xml:
12635           Update GNOME integration section to use gst_init_get_option_group()
12636           instead of the old popt stuff (#322911). Also, GNOME applications
12637           should  now use gconf*sink and gconf*src instead of the old gconf
12638           helper lib we had.
12639
12640 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
12641
12642
12643         * docs/gst/gstreamer-docs.sgml:
12644         * docs/gst/gstreamer-sections.txt:
12645         * docs/libs/gstreamer-libs-sections.txt:
12646           add new API entries to the docs
12647         * libs/gst/controller/Makefile.am:
12648         * libs/gst/controller/gstcontroller.c:
12649         * libs/gst/controller/gstcontroller.h:
12650         * libs/gst/controller/gstcontrollerprivate.h:
12651         * libs/gst/controller/gsthelper.c:
12652         * libs/gst/controller/gstinterpolation.c:
12653           move private structs to private header
12654         * po/README:
12655           gstreamer-0.7 -> gstreamer-0.10
12656         * tests/check/libs/struct_i386.h:
12657           remove private structs
12658
12659 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12660
12661         * plugins/indexers/Makefile.am:
12662           Fixes as part of #317048
12663
12664 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12665
12666         * plugins/indexers/Makefile.am:
12667           fix #316086 - compilation when mmap is missing
12668
12669 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
12670
12671         * libs/gst/base/gstbasesink.c:
12672           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
12673           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12674         * win32/common/config.h:
12675           added some defines GST_MAJORMINOR and HOST_CPU
12676         * win32/common/libgstbase.def:
12677         * win32/common/libgstreamer.def:
12678           added some exported functions.
12679
12680 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12681
12682         * libs/gst/controller/gstcontroller.c:
12683         (gst_controlled_property_set_interpolation_mode),
12684         (gst_controlled_property_new):
12685         * libs/gst/controller/gstcontroller.h:
12686         * libs/gst/controller/gstinterpolation.c:
12687         (interpolate_none_get_string_value_array):
12688           make G_TYPE_STRING controlable
12689
12690 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12691
12692         * tools/README:
12693         * tools/gst-feedback.1.in:
12694         * tools/gst-inspect.1.in:
12695         * tools/gst-launch.1.in:
12696         * tools/gst-md5sum.1.in:
12697         * tools/gst-typefind.1.in:
12698         * tools/gst-xmlinspect.1.in:
12699         * tools/gst-xmllaunch.1.in:
12700           cleanup man-pages, remove reference to gst-register, document env-vars
12701
12702 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
12703
12704         * gst/gstbuffer.c: (gst_buffer_span):
12705           gst_buffer_span should copy the timestamp of the first buffer
12706           if they were both originally overlapping subbuffers of the 
12707           same parent, using the same logic as the 'slow copy' case.
12708
12709 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
12710
12711         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12712           Need to awaken ALL the pads when we pop a buffer, otherwise
12713           collectpads only works when there is 2 input streams.
12714
12715 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
12716
12717         * docs/random/ensonic/media-device-daemon.txt:
12718           more ideas (dbus)
12719         * gst/gstbuffer.c:
12720           fix doc example, add clarification
12721         * tools/gst-launch.1.in:
12722           add initial info about GST_PLUGIN_PATH, needs more work
12723
12724 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
12725
12726         * docs/manual/basics-bins.xml:
12727         * docs/manual/basics-elements.xml:
12728         * docs/manual/intro-basics.xml:
12729           Some more minor docs additions and updates.
12730
12731 2006-01-11  Wim Taymans  <wim@fluendo.com>
12732
12733         * docs/manual/basics-bins.xml:
12734         * docs/manual/basics-elements.xml:
12735         Some small fixes as pointed out by Ser-ver on IRC.
12736
12737 2006-01-10  Edward Hervey  <edward@fluendo.com>
12738
12739         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12740         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12741         the single-segment mode.
12742
12743 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
12744
12745         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12746
12747         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12748         (gst_base_src_perform_seek), (gst_base_src_send_event),
12749         (gst_base_src_set_property), (gst_base_src_get_property),
12750         (gst_base_src_loop), (gst_base_src_start),
12751         (gst_base_src_activate_push):
12752         * libs/gst/base/gstbasesrc.h:
12753           Name (private) union; makes Sun's Forte compiler happy (#324900).
12754
12755 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
12756
12757         * README:
12758           gst-register is gone.
12759
12760 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12761
12762         * gst/gstvalue.c: (_gst_value_initialize):
12763           make the G_TYPE_DATE instantiation work if debug is disabled
12764
12765 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
12766
12767         * gst/gstmessage.c: (gst_message_parse_tag),
12768         (gst_message_parse_error), (gst_message_parse_warning):
12769           Don't crash when return location for error/warning debug
12770           string is NULL; add fact that return locations can be
12771           NULL to docs where appropriate.
12772
12773 2006-01-05  Wim Taymans  <wim@fluendo.com>
12774
12775         * gst/gstplugin.c: (gst_plugin_load_file):
12776         Replace strdup by g_strdup.
12777
12778 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12779
12780         * docs/pwg/advanced-types.xml:
12781           fix doc borkage
12782
12783 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12784
12785         submitted by: Abel Cheung
12786
12787         * po/LINGUAS:
12788         * po/zh_TW.po:
12789           Added Chinese (traditional) translation
12790
12791 2006-01-04  Wim Taymans  <wim@fluendo.com>
12792
12793         * docs/manual/basics-pads.xml:
12794         * docs/plugins/Makefile.am:
12795         * docs/plugins/gstreamer-plugins-docs.sgml:
12796         * docs/plugins/gstreamer-plugins-sections.txt:
12797         * docs/pwg/advanced-clock.xml:
12798         * docs/pwg/advanced-scheduling.xml:
12799         * docs/pwg/advanced-types.xml:
12800         * plugins/elements/gstfdsink.c:
12801         * plugins/elements/gstfdsrc.c:
12802         * plugins/elements/gstfdsrc.h:
12803         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12804         * plugins/elements/gstidentity.h:
12805         * plugins/elements/gstqueue.h:
12806         * plugins/elements/gsttee.c:
12807         * plugins/elements/gsttee.h:
12808         * plugins/elements/gsttypefindelement.c:
12809         (gst_type_find_element_class_init):
12810         * plugins/elements/gsttypefindelement.h:
12811         Small updates to various docs.
12812         Added core plugins to docs.
12813
12814 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12815
12816         * common/gst.supp:
12817           add a suppression for liboil's uninitialized variable
12818
12819 2006-01-02  James Livingston  <jrl at ids dot org dot au>
12820
12821         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12822
12823         * gst/gstutils.h:
12824           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12825           macro, so that gcc doesn't complain if the -Wmissing-prototypes
12826           compiler switch is being used (#325429).
12827
12828 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
12829
12830         * gst/gstbin.c: (gst_bin_query):
12831           Disable duration query caching in bins until it gets
12832           fixed (see #324807).
12833
12834 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12835
12836         * tools/gst-inspect.c: (print_element_properties_info):
12837           Handle properties of POINTER and BOXED type.
12838
12839 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12840
12841         * gst/gst.c: (init_post):
12842           Init tags stuff and some other things before loading
12843           any static plugins (there may be other static plugins
12844           than just the GStreamer ones, and they may want to
12845           register their own tags or formats or whatever, and
12846           preferably without segfaulting).
12847
12848         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12849           Print at least a warning in the debug logs if we drop a
12850           query just because we don't know how to adjust the value
12851           in the particular format.
12852
12853 2005-12-24  David Schleef  <ds@schleef.org>
12854
12855         * tools/gstreamer-completion:
12856           Replacement for gst-complete written in sh and sed.  Only
12857           completes names of features, but that's 90% of what I want
12858           it for.  Properties are not available in registry.xml.  (Maybe
12859           they should be...)
12860
12861 === release 0.10.1 ===
12862
12863 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
12864
12865         * configure.ac:
12866           releasing 0.10.1, "Nollaig chridheil"
12867
12868 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
12869
12870         * docs/faq/cvs.xml:
12871           Add missing quote, should be make ERROR_CFLAGS="".
12872
12873 2005-12-20  Wim Taymans  <wim@fluendo.com>
12874
12875         * docs/design/part-trickmodes.txt:
12876         More documentation on trickmodes.
12877
12878 2005-12-20  Edward Hervey  <edward@fluendo.com>
12879
12880         * gst/gstcaps.c: (gst_static_caps_get_type):
12881         * gst/gstcaps.h:
12882           API addition: GST_TYPE_STATIC_CAPS
12883         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12884         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12885         * gst/gstpadtemplate.h:
12886           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12887         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12888         bindings.
12889
12890 2005-12-18  Wim Taymans  <wim@fluendo.com>
12891
12892         * libs/gst/base/gstadapter.c:
12893         * libs/gst/base/gstadapter.h:
12894         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12895         (gst_base_sink_get_position):
12896         * libs/gst/base/gstbasesink.h:
12897         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12898         (gst_base_src_default_query), (gst_base_src_default_do_seek),
12899         (gst_base_src_do_seek), (gst_base_src_perform_seek),
12900         (gst_base_src_send_event), (gst_base_src_update_length),
12901         (gst_base_src_get_range), (gst_base_src_loop),
12902         (gst_base_src_start):
12903         * libs/gst/base/gstbasesrc.h:
12904         * libs/gst/base/gstbasetransform.h:
12905         * libs/gst/base/gstcollectpads.h:
12906         * libs/gst/base/gstpushsrc.c:
12907         * libs/gst/base/gstpushsrc.h:
12908         * libs/gst/dataprotocol/dataprotocol.c:
12909         * libs/gst/dataprotocol/dataprotocol.h:
12910         * libs/gst/net/gstnetclientclock.h:
12911         * libs/gst/net/gstnettimeprovider.h:
12912         Documentation updates.
12913
12914 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
12915
12916         * docs/manual/basics-helloworld.xml:
12917           Remove superfluous closing bracket in helloworld example.
12918
12919 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
12920
12921         * tools/gst-launch.1.in:
12922           Update gst-launch man page; add a section with useful
12923           environment variables. Fixes #323882.
12924
12925 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
12926
12927         * gst/gst.c:
12928         * gst/gst_private.h:
12929           change some char* into char[]
12930
12931 2005-12-16  Wim Taymans  <wim@fluendo.com>
12932
12933         * gst/gstregistryxml.c: (load_feature):
12934         Cleanups.
12935         Don't use g_object_unref on GstObjects so that we avoid
12936         leaks on unsafe glibs.
12937
12938 2005-12-16  Wim Taymans  <wim@fluendo.com>
12939
12940         * gst/gstbin.c: (gst_bin_recalc_state):
12941         Small doc updates.
12942
12943 2005-12-16  Wim Taymans  <wim@fluendo.com>
12944
12945         * common/check.mak:
12946         Added make forever target for check.
12947
12948 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12949
12950         * gst/gst.c: (init_post):
12951           make the registry cache file HOST_CPU-dependent
12952
12953 2005-12-16  Andy Wingo  <wingo@pobox.com>
12954
12955         * plugins/elements/gstbufferstore.c
12956         (gst_buffer_store_cleared_func): Pay attention to g_list_append
12957         return value.
12958
12959         * tests/check/gst/gstobject.c
12960         (test_fake_object_name_threaded_unique): Pay attention to
12961         g_list_sort return value.
12962
12963 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
12964
12965         * tools/gst-feedback-m.m:
12966           Update for 0.9/0.10 (fixes #323870).
12967
12968 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
12969
12970         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12971           Fix lcopy for mini objects, the mini object needs to be ref'ed.
12972           
12973         * tests/check/gst/gstminiobject.c: (my_foo_init),
12974         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12975         (test_value_collection), (gst_mini_object_suite):
12976           Add test to ensure refcounts end up as expected when passing
12977           GstMiniObjects through g_object_get() and g_object_set().
12978
12979 2005-12-14  Julien MOUTTE  <julien@moutte.net>
12980
12981         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12982         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12983         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12984         of collectpads. This version removes a lot of races without
12985         touching API/ABI. Yay !
12986
12987 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
12988
12989         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12990           Don't allow activation of a srcpad in pull_range if it has no
12991           getrange function.
12992           Change some debug statements to be a little clearer
12993
12994         * plugins/elements/gsttypefindelement.c:
12995         (gst_type_find_handle_src_query):
12996           Check that we have a peer before executing queries thereupon.
12997
12998         * tests/examples/metadata/read-metadata.c: (message_loop):
12999           Use gst_bus_pop instead of gst_bus_poll when we just want it to
13000           immediately return us any available message with 0 timeout.
13001
13002 2005-12-12  Michael Smith  <msmith@fluendo.com>
13003
13004         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
13005           Don't unref factories after calling them.
13006         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
13007         * plugins/elements/gsttypefindelement.c:
13008         (gst_type_find_element_chain):
13009           Free lists of factories after using them. Fixing typefinding memory
13010           leaks.
13011
13012 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13013
13014         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
13015         (gst_plugin_feature_load):
13016           more meaningful debug output
13017         * configure.ac:
13018         * tests/Makefile.am:
13019         * tests/old/examples/Makefile.am:
13020           make make distcheck happy again
13021
13022 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
13023
13024         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13025           Catch the special case where we are operating chain-based,
13026           but the downstream peer pad has no chain function. Emit a
13027           custom error message in this case instead of letting the
13028           core generate one implying that this is some sort of core
13029           bug. It's not, it just means that whatever got plugged
13030           into the pipeline downstream when we announced the type
13031           can only operate pull-based, while our source can only
13032           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
13033           Error string has not been marked for translation yet, as
13034           it probably needs some more work first.
13035
13036         (gst_type_find_element_get_best_possibility):
13037           Add helper function to find the best of all available
13038           found possibilities that qualify given the min. threshold.
13039
13040         (gst_type_find_element_handle_event):
13041           Fix the case where we get an EOS while still in TYPEFIND
13042           mode (we want to chose the best of all possible types,
13043           not just the first type that happens to be in our unsorted
13044           list of possible types).
13045
13046         (gst_type_find_element_chain):
13047           Make sure we return GST_FLOW_ERROR when we errored out
13048           in stop_typefinding(); also, don't just find the best of
13049           all found type entries and then use the last examined
13050           type entry, but actually use the best entry.
13051
13052 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
13053
13054         * tests/examples/typefind/typefind.c: (type_found):
13055         * tests/examples/xml/runxml.c: (xml_loaded):
13056           More gcc4 fixes and a mem leak fix.
13057
13058 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13059
13060         * tests/examples/xml/createxml.c: (object_saved):
13061           gcc 4 fixes
13062
13063 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13064
13065         * tests/Makefile.am:
13066           enable the examples even more
13067
13068 2005-12-12  Andy Wingo  <wingo@pobox.com>
13069
13070         * libs/gst/net/gstnettimeprovider.c
13071         (gst_net_time_provider_class_init, gst_net_time_provider_init)
13072         (gst_net_time_provider_set_property)
13073         (gst_net_time_provider_get_property):
13074         API addition: Export "active" as a GObject property.
13075         (gst_net_time_provider_thread): Only respond to time queries if
13076         the time provider is active.
13077
13078         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
13079         NetTimeProvider, preserving binary compat.
13080
13081 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13082
13083         * tests/examples/controller/audio-example.c: (main):
13084         * tests/examples/launch/Makefile.am:
13085           convert comments again
13086
13087 2005-12-12  Wim Taymans  <wim@fluendo.com>
13088
13089         * libs/gst/base/gstpushsrc.c:
13090         Fix typo.
13091
13092 2005-12-12  Wim Taymans  <wim@fluendo.com>
13093
13094         * docs/libs/gstreamer-libs-sections.txt:
13095         Added new symbol to docs.
13096
13097         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13098         (gst_base_src_init), (gst_base_src_set_format),
13099         (gst_base_src_default_query), (gst_base_src_query),
13100         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13101         (gst_base_src_perform_seek), (gst_base_src_send_event),
13102         (gst_base_src_default_event), (gst_base_src_event_handler),
13103         (gst_base_src_set_property), (gst_base_src_get_property),
13104         (gst_base_src_wait), (gst_base_src_do_sync),
13105         (gst_base_src_update_length), (gst_base_src_get_range),
13106         (gst_base_src_check_get_range), (gst_base_src_loop),
13107         (gst_base_src_default_negotiate), (gst_base_src_start),
13108         (gst_base_src_activate_push), (gst_base_src_activate_pull),
13109         (gst_base_src_change_state):
13110         * libs/gst/base/gstbasesrc.h:
13111         Implement seeking to other formats than _BYTES.
13112         Implement more seeking methods correctly.
13113         Doc updates.
13114         Added query vmethod.
13115         Added do_seek vmethod to make life easier for subclasses
13116         when seeking.
13117         API addition: gst_base_src_set_format()
13118
13119 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13120
13121         * tests/examples/Makefile.am:
13122           added that too
13123
13124 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13125
13126         * configure.ac:
13127         * docs/random/ensonic/media-device-daemon.txt:
13128         * tests/examples/controller/.cvsignore:
13129         * tests/examples/controller/Makefile.am:
13130         * tests/examples/controller/audio-example.c: (main):
13131         * tests/examples/helloworld/.cvsignore:
13132         * tests/examples/helloworld/Makefile.am:
13133         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13134         * tests/examples/launch/.cvsignore:
13135         * tests/examples/launch/Makefile.am:
13136         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13137         * tests/examples/metadata/.cvsignore:
13138         * tests/examples/metadata/Makefile.am:
13139         * tests/examples/metadata/read-metadata.c: (message_loop),
13140         (make_pipeline), (print_tag), (main):
13141         * tests/examples/queue/.cvsignore:
13142         * tests/examples/queue/Makefile.am:
13143         * tests/examples/queue/queue.c: (event_loop), (main):
13144         * tests/examples/typefind/.cvsignore:
13145         * tests/examples/typefind/Makefile.am:
13146         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13147         (main):
13148         * tests/examples/xml/.cvsignore:
13149         * tests/examples/xml/Makefile.am:
13150         * tests/examples/xml/createxml.c: (object_saved), (main):
13151         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13152         * tests/old/examples/Makefile.am:
13153         * tests/old/examples/TODO:
13154         * tests/old/examples/controller/.cvsignore:
13155         * tests/old/examples/controller/Makefile.am:
13156         * tests/old/examples/controller/audio-example.c:
13157         * tests/old/examples/helloworld/.cvsignore:
13158         * tests/old/examples/helloworld/Makefile.am:
13159         * tests/old/examples/helloworld/helloworld.c:
13160         * tests/old/examples/launch/.cvsignore:
13161         * tests/old/examples/launch/Makefile.am:
13162         * tests/old/examples/launch/mp3parselaunch.c:
13163         * tests/old/examples/launch/mp3play:
13164         * tests/old/examples/manual/Makefile.am:
13165         * tests/old/examples/metadata/Makefile.am:
13166         * tests/old/examples/metadata/read-metadata.c:
13167         * tests/old/examples/queue/.cvsignore:
13168         * tests/old/examples/queue/Makefile.am:
13169         * tests/old/examples/queue/queue.c:
13170         * tests/old/examples/typefind/.cvsignore:
13171         * tests/old/examples/typefind/Makefile.am:
13172         * tests/old/examples/typefind/typefind.c:
13173         * tests/old/examples/xml/.cvsignore:
13174         * tests/old/examples/xml/Makefile.am:
13175         * tests/old/examples/xml/createxml.c:
13176         * tests/old/examples/xml/runxml.c:
13177           applied some simple fixing to some examples
13178           re-enabled the working examples
13179
13180 2005-12-12  Wim Taymans  <wim@fluendo.com>
13181
13182         * gst/gstsegment.c: (gst_segment_init),
13183         (gst_segment_set_last_stop), (gst_segment_set_seek),
13184         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13185         (gst_segment_to_running_time):
13186         Added more documentation.
13187         Make sure the last_pos value is updated properly.
13188         Make sure to_stream_time and to_running_time don't
13189         operate on wrong values.
13190
13191         * tests/check/gst/gstsegment.c: (GST_START_TEST):
13192         Update check.
13193
13194 2005-12-12  Michael Smith  <msmith@fluendo.com>
13195
13196         * plugins/elements/gsttypefindelement.c: (free_entry),
13197         (gst_type_find_element_chain):
13198           Now that we're not leaking factories, make sure we keep references
13199           to them while we need them.
13200
13201 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13202
13203         * tests/check/gst/struct_i386.h:
13204           ifdef out the XML structs
13205
13206 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13207
13208         * gst/gstvalue.c: (gst_value_transform_double_fraction):
13209           floor is not needed, F is always positive; this obviates the
13210           need for adding -lm when building without libxml
13211
13212 2005-12-12  Wim Taymans  <wim@fluendo.com>
13213
13214         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13215         Take current playback rate into account when reporting
13216         the position.
13217
13218 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13219
13220         * docs/manual/mime-world.fig:
13221           Let's try this again, this time with a file that is
13222           actually in XFig format.
13223
13224 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13225
13226         * docs/manual/mime-world.fig:
13227           Add audioconvert element to diagram so that it
13228           matches the text and the code (fixes #319526).
13229
13230 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13231
13232         * docs/pwg/building-chainfn.xml:
13233         * docs/pwg/building-pads.xml:
13234         * docs/pwg/building-state.xml:
13235         * docs/pwg/other-source.xml:
13236           Update state change stuff for 0.10 (fixes #322969).
13237
13238 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13239
13240         * docs/manual/advanced-dataaccess.xml:
13241         * docs/manual/appendix-checklist.xml:
13242         * docs/manual/appendix-programs.xml:
13243         * docs/manual/basics-pads.xml:
13244         * docs/manual/highlevel-components.xml:
13245         * docs/manual/manual.xml:
13246           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13247           add converters in front of pipelines; remove curly
13248           brackets for threads stuff, they no longer exist; use
13249           GST_TYPE_FRACTION for framerates; update some pieces of
13250           code to 0.10, but there's plenty more to do.
13251
13252         * docs/manual/appendix-porting.xml:
13253           Expand on asynchroneous state changes; s/0.9/0.10/;
13254           mention disappearance of gst_init_get_popt_table()
13255           (fixes #322916).
13256
13257 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13258
13259         * docs/faq/using.xml:
13260           Spider no longer exists, and neither does gst-launch-ext.
13261           Update examples to use decodebin and playbin and put
13262           converters in front of sinks (fixes #323726).
13263
13264 2005-12-09  Michael Smith  <msmith@fluendo.com>
13265
13266         * plugins/elements/gsttypefindelement.c: (find_peek),
13267         (gst_type_find_element_chain):
13268           Fix leaking element factories in typefinding.
13269           Fix problem where we forgot about a probable type on non-seekable
13270           files, and thus later mis-typefound it.
13271
13272 2005-12-09  Michael Smith  <msmith@fluendo.com>
13273
13274         * common/m4/gst-makecontext.m4:
13275         * common/m4/gst-mcsc.m4:
13276         * configure.ac:
13277         * win32/common/config.h:
13278         * win32/common/config.h.in:
13279           Remove makecontext stuff; not used in 0.10 and causes problems on
13280           HPUX according to bug #322441
13281
13282 2005-12-07  Wim Taymans  <wim@fluendo.com>
13283
13284         * tests/check/Makefile.am:
13285         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13286         (main):
13287         * tests/check/libs/struct_i386.h:
13288         Added ABI check for libs
13289
13290 2005-12-07  Wim Taymans  <wim@fluendo.com>
13291
13292         * tests/check/Makefile.am:
13293         And add the struct_i386.h to dist.
13294
13295 2005-12-07  Wim Taymans  <wim@fluendo.com>
13296
13297         * tests/check/Makefile.am:
13298         * tests/check/gst/.cvsignore:
13299         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13300         (main):
13301         * tests/check/gst/struct_i386.h:
13302         Added check for ABI compatibility.
13303
13304 2005-12-07  Wim Taymans  <wim@fluendo.com>
13305
13306         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13307         (gst_fake_src_get_times), (gst_fake_src_create):
13308         Fix broken sync option, fixes #323259
13309
13310 2005-12-07  Wim Taymans  <wim@fluendo.com>
13311
13312         * gst/gstbuffer.c:
13313         Small docs update.
13314
13315         * gst/gstcaps.c: (gst_caps_is_equal):
13316         Don't assert on NULL <--> X. Fixes #323260
13317
13318         * gst/gstminiobject.c: (gst_mini_object_replace):
13319         If we're doing atomic operations, we might just as well use
13320         the proper way to get an atomic pointer.
13321
13322         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13323         Clean up debugging.
13324
13325 2005-12-07  Michael Smith  <msmith@fluendo.com>
13326
13327         * gst/parse/grammar.y:
13328           Remove handling of { } for threads.
13329
13330 2005-12-06  David Schleef  <ds@schleef.org>
13331
13332         * libs/gst/base/gstbasetransform.c: speling fix.
13333
13334 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13335
13336         * docs/libs/tmpl/gstdataprotocol.sgml:
13337         * docs/random/omega/testing/gstobject.c:
13338         * gst/gst.c:
13339         * gst/gstclock.c:
13340         * gst/gstelement.c:
13341         * gst/gstelementfactory.c:
13342         * gst/gsterror.c:
13343         * gst/gstevent.c:
13344         * gst/gstghostpad.c:
13345         * gst/gstinfo.c:
13346         * gst/gstpadtemplate.c:
13347         * gst/gstregistryxml.c:
13348         * gst/gsttaglist.c:
13349         * gst/gsttagsetter.c:
13350         * gst/gsttypefind.c:
13351         * gst/gstvalue.c:
13352         * libs/gst/base/gstbasesrc.c:
13353         * libs/gst/net/gstnetclientclock.c:
13354         * libs/gst/net/gstnettimeprovider.c:
13355         * plugins/elements/gstfakesrc.c:
13356         * plugins/elements/gstfdsrc.c:
13357         * plugins/elements/gstfilesrc.c:
13358         * plugins/elements/gstidentity.c:
13359         * plugins/elements/gstqueue.c:
13360         * plugins/elements/gsttypefindelement.c:
13361         * plugins/indexers/gstfileindex.c:
13362         * plugins/indexers/gstmemindex.c:
13363         * tests/check/gst/gsttag.c:
13364         * tests/old/examples/cutter/cutter.c:
13365         * tests/old/examples/mixer/mixer.c:
13366         * tests/old/examples/xml/runxml.c: (main):
13367         * tests/old/testsuite/caps/normalisation.c:
13368         * tests/old/testsuite/debug/global.c:
13369         * tests/old/testsuite/parse/parse1.c:
13370         * tools/gst-xmlinspect.c:
13371         * win32/common/dirent.c:
13372           expand tabs
13373
13374 === release 0.10.0 ===
13375
13376 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13377
13378         * configure.ac:
13379           releasing 0.10.0, "Maroilles"
13380
13381 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13382
13383         submitted by: Funda Wang <fundawang@linux.net.cn>
13384
13385         * po/LINGUAS:
13386         * po/zh_CN.po:
13387           added Chinese (Traditional) translation
13388
13389 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13390
13391         * docs/gst/gstreamer-sections.txt:
13392         * docs/libs/tmpl/gstdataprotocol.sgml:
13393         * docs/random/thomasvs/TODO:
13394         * gst/gstutils.c:
13395         * gst/gstutils.h:
13396           fix docs
13397
13398 2005-12-05  Andy Wingo  <wingo@pobox.com>
13399
13400         patch by: Wim Taymans <wim@fluendo.com>
13401
13402         * libs/gst/base/gstbasetransform.c
13403         (gst_base_transform_prepare_output_buf)
13404         (gst_base_transform_buffer_alloc):
13405         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13406         alloc_buffer_and_set_caps.
13407
13408         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13409         set_caps on the source pad.
13410         (gst_pad_alloc_buffer_and_set_caps): New function, does what
13411         alloc_buffer used to do. Fixes #322874.
13412
13413         * docs/gst/gstreamer-sections.txt: 
13414         * docs/design/part-negotiation.txt: 
13415         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13416         changes.
13417
13418 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13419
13420         patch by: Sebastien Moutte
13421
13422         * win32/MANIFEST:
13423         * win32/common/config.h.in:
13424         * win32/vs6/libgstcontroller.dsp:
13425           win32 build fixes
13426
13427 2005-12-05  Wim Taymans  <wim@fluendo.com>
13428
13429         * gst/gstcaps.c: (gst_caps_is_equal):
13430         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13431         (gst_fake_src_create):
13432         Back out previous code changes, leave doc updates, file bugs 
13433         instead. 
13434
13435 2005-12-05  Wim Taymans  <wim@fluendo.com>
13436
13437         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13438         (gst_fake_src_get_times), (gst_fake_src_create):
13439         * plugins/elements/gstfakesrc.h:
13440         Fix broken sync code.
13441
13442 2005-12-05  Wim Taymans  <wim@fluendo.com>
13443
13444         * gst/gstcaps.c: (gst_caps_is_equal):
13445         Comparing NULL against !NULL yields different caps, not a
13446         failure.
13447
13448 2005-12-05  Wim Taymans  <wim@fluendo.com>
13449
13450         * gst/gstpipeline.c:
13451         Fix small typo in docs.
13452
13453 2005-12-05  Andy Wingo  <wingo@pobox.com>
13454
13455         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
13456
13457         * gst/gst.c (init_post): remove hard-coded 0.9 location for
13458         registries/plugins with a MAJORMINOR one.
13459         (plugin_desc): Rename library from gstcoreleements to
13460         staticelements. Fixes #323222.
13461
13462 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
13463
13464         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13465           Change debug category to 'collectpads' from 'collect_pads'
13466           (fixes #323250).
13467
13468 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13469
13470         patch by: Sebastien Moutte
13471
13472         * libs/gst/controller/gstinterpolation.c:
13473           use convert function for uint64/double
13474         * win32/vs6/libgstcontroller.dsp:
13475           link to GLib
13476
13477 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13478
13479         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13480         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13481         * gst/gstutils.h:
13482         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13483           add tests that seem to show that the guint64/gdouble conversions
13484           are correct.
13485
13486 2005-12-02  Wim Taymans  <wim@fluendo.com>
13487
13488         * gst/gstregistry.c: (gst_registry_add_path):
13489         * gst/gstregistry.h:
13490         * gst/gstregistryxml.c:
13491         Fix docs again.
13492
13493 2005-12-02  Wim Taymans  <wim@fluendo.com>
13494
13495         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13496         (gst_util_uint64_scale_int):
13497         Small cleanup.
13498
13499         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13500         Add debug log line.
13501
13502         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13503         Add FIXME.
13504
13505 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13506
13507         * win32/MANIFEST:
13508         * win32/common/config.h:
13509         * win32/vs6/gstreamer.dsw:
13510         * win32/vs6/libgstcoreelements.dsp:
13511         * win32/vs6/libgstelements.dsp:
13512           renamed core elements plugin
13513
13514 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13515
13516         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13517         (get_candidates):
13518           do piece-wise major/minor comparison so 0.9 < 0.10
13519           also allow .exe extensions for tools
13520
13521 2005-12-02  Michael Smith  <msmith@fluendo.com>
13522
13523         * gst/gst.c:
13524           Escape a % to make gtkdoc happier; bug 322958.
13525
13526 === release 0.9.7 ===
13527
13528 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13529
13530         * configure.ac:
13531           releasing 0.9.7, "My Dog Has No Nose"
13532
13533 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13534
13535         * common/gst-xmlinspect.py:
13536         * configure.ac:
13537         * docs/libs/tmpl/gstdataprotocol.sgml:
13538         * docs/random/release:
13539         * po/af.po:
13540         * po/az.po:
13541         * po/bg.po:
13542         * po/ca.po:
13543         * po/cs.po:
13544         * po/de.po:
13545         * po/en_GB.po:
13546         * po/fr.po:
13547         * po/it.po:
13548         * po/nb.po:
13549         * po/nl.po:
13550         * po/ru.po:
13551         * po/sq.po:
13552         * po/sr.po:
13553         * po/sv.po:
13554         * po/tr.po:
13555         * po/uk.po:
13556         * po/vi.po:
13557         * win32/common/config.h:
13558         * win32/common/config.h.in:
13559         * win32/vs6/gst_inspect.dsp:
13560         * win32/vs6/gst_launch.dsp:
13561         * win32/vs6/libgstbase.dsp:
13562         * win32/vs6/libgstelements.dsp:
13563         * win32/vs6/libgstreamer.dsp:
13564         * win32/vs7/GStreamer.vcproj:
13565         * win32/vs7/gst-inspect.vcproj:
13566         * win32/vs7/gst-launch.vcproj:
13567         * win32/vs7/libgstbase.vcproj:
13568           bump GST_MAJORMINOR to 0.10
13569           reset libtool version
13570
13571 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13572
13573         * po/LINGUAS:
13574         * po/bg.po:
13575           Added Bulgarian translation by (Alexander Shopov)
13576
13577 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13578
13579         * tests/check/gst/gstplugin.c:
13580           fix test
13581
13582 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13583
13584         * common/gst-xmlinspect.py:
13585         * common/gtk-doc-plugins.mak:
13586         * configure.ac:
13587         * docs/Makefile.am:
13588         * docs/gst/Makefile.am:
13589         * docs/gst/gstreamer-docs.sgml:
13590         * docs/gst/gstreamer-sections.txt:
13591         * docs/gst/gstreamer.types:
13592         * docs/gst/gstreamer.types.in:
13593         * docs/plugins/Makefile.am:
13594         * docs/plugins/gstreamer-plugins-docs.sgml:
13595         * docs/plugins/gstreamer-plugins-sections.txt:
13596         * docs/plugins/gstreamer-plugins.types:
13597         * docs/plugins/inspect.stamp:
13598         * docs/plugins/inspect/plugin-coreelements.xml:
13599         * docs/plugins/inspect/plugin-coreindexers.xml:
13600         * docs/plugins/scanobj-build.stamp:
13601         * gstreamer.spec.in:
13602         * plugins/elements/Makefile.am:
13603         * plugins/elements/gstelements.c:
13604         * plugins/elements/gstfakesink.c:
13605         * plugins/elements/gstfakesrc.c:
13606         * plugins/elements/gstfilesink.c:
13607         * plugins/elements/gstfilesrc.c:
13608         * plugins/elements/gstqueue.c:
13609         * plugins/indexers/Makefile.am:
13610         * plugins/indexers/gstindexers.c:
13611           document core plugins in a separate document just like all the
13612           others
13613           rename these plugins to something starting with core
13614
13615 2005-12-01  Andy Wingo  <wingo@pobox.com>
13616
13617         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13618         padding here before, but it missed the commit.
13619
13620 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13621
13622         * libs/gst/controller/gstinterpolation.c:
13623           whitespace prices have crashed, we should feel free to use some now
13624           use gst_guint64_to_gdouble
13625
13626 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13627
13628         * libs/gst/controller/gstcontroller.c:
13629         * libs/gst/controller/gsthelper.c:
13630         * libs/gst/controller/gstinterpolation.c:
13631         * libs/gst/controller/lib.c:
13632           wrap config.h include
13633
13634 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13635
13636         * docs/gst/gstreamer-sections.txt:
13637           update docs
13638
13639 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13640
13641         * plugins/elements/gstelements.c:
13642         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13643         (gst_fd_sink__class_init), (gst_fd_sink__init),
13644         (gst_fd_sink__chain), (gst_fd_sink__set_property),
13645         (gst_fd_sink__get_property):
13646         * plugins/elements/gstfdsink.h:
13647         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13648         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13649         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13650         (gst_fd_src_unlock), (gst_fd_src_set_property),
13651         (gst_fd_src_get_property), (gst_fd_src_create),
13652         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13653         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13654         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13655         (gst_fd_src_uri_handler_init):
13656         * plugins/elements/gstfdsrc.h:
13657         * plugins/elements/gstqueue.c: (gst_queue_get_type):
13658           more anal cleanup
13659
13660 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13661
13662         * docs/gst/Makefile.am:
13663         * docs/gst/gstreamer.types.in:
13664         * gst/Makefile.am:
13665           fix the docs build
13666
13667 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13668
13669         * configure.ac:
13670         * gst/Makefile.am:
13671         * gst/gst.c:
13672         * gst/gstplugin.h:
13673         * gst/gstregistry.h:
13674         * tests/benchmarks/complexity.c:
13675         * tests/benchmarks/mass-elements.c:
13676         * tests/check/Makefile.am:
13677         * tools/Makefile.am:
13678         * tools/gst-inspect.c:
13679         * tools/gst-xmlinspect.c:
13680           various fixes to make
13681           --disable-nls --disable-registry --disable-loadsave
13682           --disable-parse --disable-gst-debug
13683           work and get the core .so down to 360444 bytes after stripping
13684
13685 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13686
13687         * Makefile.am:
13688         * configure.ac:
13689           descend into tests
13690         * docs/random/thomasvs/TODO:
13691         * tests/Makefile.am:
13692         * tests/README:
13693           add a README
13694
13695 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13696
13697         * win32/GStreamer.vcproj:
13698         * win32/MANIFEST:
13699         * win32/Makefile:
13700         * win32/Makefile.inspect:
13701         * win32/Makefile.launch:
13702         * win32/Makefile.register:
13703         * win32/README.txt:
13704         * win32/gst-inspect.vcproj:
13705         * win32/gst-launch.vcproj:
13706         * win32/gst-register.vcproj:
13707         * win32/gstelements.vcproj:
13708         * win32/gstgetbits.def:
13709         * win32/gstgetbits.vcproj:
13710         * win32/gstreamer-dbg.def:
13711         * win32/gstreamer.def:
13712         * win32/libgstbase.def:
13713         * win32/libgstbase.vcproj:
13714         * win32/link_oldruntime.c:
13715         * win32/mman.c:
13716         * win32/mman.h:
13717         * win32/mman.inl:
13718         * win32/msvc71.sln:
13719           move even more stuff, win32/ is nice and clean now
13720
13721 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13722
13723         * libs/gst/control/.cvsignore:
13724         * win32/MANIFEST:
13725         * win32/config.h:
13726         * win32/dirent.c:
13727         * win32/dirent.h:
13728         * win32/gstbytestream.def:
13729         * win32/gstbytestream.vcproj:
13730         * win32/gstconfig.h:
13731         * win32/gstenumtypes.c:
13732         * win32/gstenumtypes.h:
13733         * win32/gstoptimalscheduler.vcproj:
13734         * win32/gstversion.h:
13735         * win32/gtchar.h:
13736         * win32/testsuite/bins.vcproj:
13737         * win32/testsuite/bytestream.vcproj:
13738         * win32/testsuite/caps.vcproj:
13739         * win32/testsuite/cleanup.vcproj:
13740         * win32/testsuite/clock.vcproj:
13741         * win32/testsuite/debug.vcproj:
13742         * win32/testsuite/dlopen.vcproj:
13743         * win32/testsuite/dynparams.vcproj:
13744         * win32/testsuite/elements.vcproj:
13745         * win32/testsuite/ghostpads.vcproj:
13746         * win32/testsuite/indexers.vcproj:
13747         * win32/testsuite/negotiation.vcproj:
13748         * win32/testsuite/parse.vcproj:
13749         * win32/testsuite/plugin.vcproj:
13750         * win32/testsuite/refcounting.vcproj:
13751         * win32/testsuite/schedulers.vcproj:
13752         * win32/testsuite/states.vcproj:
13753         * win32/testsuite/tags.vcproj:
13754         * win32/testsuite/threads.vcproj:
13755           remove old win32 stuff that isn't maintained and should be
13756           reorganized
13757
13758 2005-11-30  Andy Wingo  <wingo@pobox.com>
13759
13760         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13761         loading the gst.interfaces python module bork.
13762
13763         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13764         available since GLib 2.2. Fixes #318031.
13765
13766 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13767
13768         * Makefile.am:
13769         * check/.cvsignore:
13770         * check/Makefile.am:
13771         * check/elements/.cvsignore:
13772         * check/elements/fakesrc.c:
13773         * check/elements/fdsrc.c:
13774         * check/elements/identity.c:
13775         * check/generic/.cvsignore:
13776         * check/generic/states.c:
13777         * check/gst-libs/.cvsignore:
13778         * check/gst-libs/controller.c:
13779         * check/gst-libs/gdp.c:
13780         * check/gst/.cvsignore:
13781         * check/gst/capslist.h:
13782         * check/gst/gst.c:
13783         * check/gst/gstbin.c:
13784         * check/gst/gstbuffer.c:
13785         * check/gst/gstbus.c:
13786         * check/gst/gstcaps.c:
13787         * check/gst/gstelement.c:
13788         * check/gst/gstevent.c:
13789         * check/gst/gstghostpad.c:
13790         * check/gst/gstiterator.c:
13791         * check/gst/gstmessage.c:
13792         * check/gst/gstminiobject.c:
13793         * check/gst/gstobject.c:
13794         * check/gst/gstpad.c:
13795         * check/gst/gstpipeline.c:
13796         * check/gst/gstplugin.c:
13797         * check/gst/gstsegment.c:
13798         * check/gst/gststructure.c:
13799         * check/gst/gstsystemclock.c:
13800         * check/gst/gsttag.c:
13801         * check/gst/gstutils.c:
13802         * check/gst/gstvalue.c:
13803         * check/net/.cvsignore:
13804         * check/net/gstnetclientclock.c:
13805         * check/net/gstnettimeprovider.c:
13806         * check/pipelines/.cvsignore:
13807         * check/pipelines/cleanup.c:
13808         * check/pipelines/simple_launch_lines.c:
13809         * check/pipelines/stress.c:
13810         * check/states/.cvsignore:
13811         * check/states/sinks.c:
13812         * configure.ac:
13813         * examples/Makefile.am:
13814         * examples/appreader/.cvsignore:
13815         * examples/appreader/Makefile.am:
13816         * examples/appreader/appreader.c:
13817         * examples/controller/.cvsignore:
13818         * examples/controller/Makefile.am:
13819         * examples/controller/audio-example.c:
13820         * examples/cutter/.cvsignore:
13821         * examples/cutter/Makefile.am:
13822         * examples/cutter/cutter.c:
13823         * examples/cutter/cutter.h:
13824         * examples/events/Makefile.am:
13825         * examples/events/seek.c:
13826         * examples/helloworld/.cvsignore:
13827         * examples/helloworld/Makefile.am:
13828         * examples/helloworld/helloworld.c:
13829         * examples/helloworld2/.cvsignore:
13830         * examples/helloworld2/Makefile.am:
13831         * examples/helloworld2/helloworld2.c:
13832         * examples/launch/.cvsignore:
13833         * examples/launch/Makefile.am:
13834         * examples/launch/mp3parselaunch.c:
13835         * examples/launch/mp3play:
13836         * examples/manual/.cvsignore:
13837         * examples/manual/Makefile.am:
13838         * examples/manual/extract.pl:
13839         * examples/metadata/Makefile.am:
13840         * examples/metadata/read-metadata.c:
13841         * examples/mixer/.cvsignore:
13842         * examples/mixer/Makefile.am:
13843         * examples/mixer/mixer.c:
13844         * examples/mixer/mixer.h:
13845         * examples/pingpong/.cvsignore:
13846         * examples/pingpong/Makefile.am:
13847         * examples/pingpong/pingpong.c:
13848         * examples/plugins/.cvsignore:
13849         * examples/plugins/Makefile.am:
13850         * examples/plugins/example.c:
13851         * examples/plugins/example.h:
13852         * examples/pwg/.cvsignore:
13853         * examples/pwg/Makefile.am:
13854         * examples/pwg/extract.pl:
13855         * examples/queue/.cvsignore:
13856         * examples/queue/Makefile.am:
13857         * examples/queue/queue.c:
13858         * examples/queue2/.cvsignore:
13859         * examples/queue2/Makefile.am:
13860         * examples/queue2/queue2.c:
13861         * examples/queue3/.cvsignore:
13862         * examples/queue3/Makefile.am:
13863         * examples/queue3/queue3.c:
13864         * examples/queue4/.cvsignore:
13865         * examples/queue4/Makefile.am:
13866         * examples/queue4/queue4.c:
13867         * examples/retag/.cvsignore:
13868         * examples/retag/Makefile.am:
13869         * examples/retag/retag.c:
13870         * examples/retag/transcode.c:
13871         * examples/thread/.cvsignore:
13872         * examples/thread/Makefile.am:
13873         * examples/thread/thread.c:
13874         * examples/typefind/.cvsignore:
13875         * examples/typefind/Makefile.am:
13876         * examples/typefind/typefind.c:
13877         * examples/xml/.cvsignore:
13878         * examples/xml/Makefile.am:
13879         * examples/xml/createxml.c:
13880         * examples/xml/runxml.c:
13881         * tests/Makefile.am:
13882         * tests/check/Makefile.am:
13883         * testsuite/.cvsignore:
13884         * testsuite/Makefile.am:
13885         * testsuite/Rules:
13886         * testsuite/caps/.cvsignore:
13887         * testsuite/caps/Makefile.am:
13888         * testsuite/caps/app_fixate.c:
13889         * testsuite/caps/audioscale.c:
13890         * testsuite/caps/caps.c:
13891         * testsuite/caps/caps.h:
13892         * testsuite/caps/caps_strings:
13893         * testsuite/caps/compatibility.c:
13894         * testsuite/caps/deserialize.c:
13895         * testsuite/caps/enumcaps.c:
13896         * testsuite/caps/eratosthenes.c:
13897         * testsuite/caps/filtercaps.c:
13898         * testsuite/caps/fixed.c:
13899         * testsuite/caps/fraction-convert.c:
13900         * testsuite/caps/fraction-multiply-and-zero.c:
13901         * testsuite/caps/intersect2.c:
13902         * testsuite/caps/intersection.c:
13903         * testsuite/caps/normalisation.c:
13904         * testsuite/caps/random.c:
13905         * testsuite/caps/renegotiate.c:
13906         * testsuite/caps/sets.c:
13907         * testsuite/caps/simplify.c:
13908         * testsuite/caps/string-conversions.c:
13909         * testsuite/caps/structure.c:
13910         * testsuite/caps/subtract.c:
13911         * testsuite/caps/union.c:
13912         * testsuite/debug/.cvsignore:
13913         * testsuite/debug/Makefile.am:
13914         * testsuite/debug/category.c:
13915         * testsuite/debug/commandline.c:
13916         * testsuite/debug/global.c:
13917         * testsuite/debug/output.c:
13918         * testsuite/debug/printf_extension.c:
13919         * testsuite/dlopen/.cvsignore:
13920         * testsuite/dlopen/Makefile.am:
13921         * testsuite/dlopen/dlopen_gst.c:
13922         * testsuite/dlopen/loadgst.c:
13923         * testsuite/elements/.cvsignore:
13924         * testsuite/elements/Makefile.am:
13925         * testsuite/elements/gst-inspect-check.in:
13926         * testsuite/elements/struct_i386.h:
13927         * testsuite/elements/struct_size.c:
13928         * testsuite/indexers/.cvsignore:
13929         * testsuite/indexers/Makefile.am:
13930         * testsuite/indexers/cache1.c:
13931         * testsuite/indexers/indexdump.c:
13932         * testsuite/parse/.cvsignore:
13933         * testsuite/parse/Makefile.am:
13934         * testsuite/parse/parse1.c:
13935         * testsuite/parse/parse2.c:
13936         * testsuite/plugin/.cvsignore:
13937         * testsuite/plugin/Makefile.am:
13938         * testsuite/plugin/README:
13939         * testsuite/plugin/dynamic.c:
13940         * testsuite/plugin/linked.c:
13941         * testsuite/plugin/loading.c:
13942         * testsuite/plugin/registry.c:
13943         * testsuite/plugin/static.c:
13944         * testsuite/plugin/static2.c:
13945         * testsuite/plugin/testplugin.c:
13946         * testsuite/plugin/testplugin2.c:
13947         * testsuite/plugin/testplugin2_s.c:
13948         * testsuite/plugin/testplugin_s.c:
13949         * testsuite/refcounting/.cvsignore:
13950         * testsuite/refcounting/Makefile.am:
13951         * testsuite/refcounting/bin.c:
13952         * testsuite/refcounting/element.c:
13953         * testsuite/refcounting/element_pad.c:
13954         * testsuite/refcounting/mainloop.c:
13955         * testsuite/refcounting/mem.c:
13956         * testsuite/refcounting/mem.h:
13957         * testsuite/refcounting/object.c:
13958         * testsuite/refcounting/pad.c:
13959         * testsuite/refcounting/sched.c:
13960         * testsuite/refcounting/thread.c:
13961         * testsuite/states/.cvsignore:
13962         * testsuite/states/Makefile.am:
13963         * testsuite/states/bin.c:
13964         * testsuite/states/locked.c:
13965         * testsuite/states/parent.c:
13966         * testsuite/threads/.cvsignore:
13967         * testsuite/threads/159566.c:
13968         * testsuite/threads/159852.c:
13969         * testsuite/threads/Makefile.am:
13970         * testsuite/threads/queue.c:
13971         * testsuite/threads/signals.c:
13972         * testsuite/threads/staticrec.c:
13973         * testsuite/threads/thread.c:
13974         * testsuite/threads/threadb.c:
13975         * testsuite/threads/threadc.c:
13976         * testsuite/threads/threadd.c:
13977         * testsuite/threads/threade.c:
13978         * testsuite/threads/threadf.c:
13979         * testsuite/threads/threadg.c:
13980         * testsuite/threads/threadh.c:
13981         * testsuite/threads/threadi.c:
13982           move all of these under tests
13983
13984 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13985
13986         * configure.ac:
13987         * tests/Makefile.am:
13988           fix distcheck
13989
13990 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13991
13992         * docs/gst/gstreamer-sections.txt:
13993         * tests/sched/.cvsignore:
13994         * tests/sched/Makefile.am:
13995         * tests/sched/cases/(fs-fs).xml:
13996         * tests/sched/cases/(fs-i-fs).xml:
13997         * tests/sched/cases/(fs-i-i-fs).xml:
13998         * tests/sched/cases/(fs-i-q[i-fs]).xml:
13999         * tests/sched/dynamic-pipeline.c:
14000         * tests/sched/interrupt1.c:
14001         * tests/sched/interrupt2.c:
14002         * tests/sched/interrupt3.c:
14003         * tests/sched/runtestcases:
14004         * tests/sched/runxml.c:
14005         * tests/sched/sched-stress.c:
14006         * tests/sched/sort.c:
14007         * tests/sched/testcases:
14008         * tests/sched/testcases1.tc:
14009         * tests/seeking/.cvsignore:
14010         * tests/seeking/Makefile.am:
14011         * tests/seeking/seeking1.c:
14012         * tests/threadstate/.cvsignore:
14013         * tests/threadstate/Makefile.am:
14014         * tests/threadstate/test1.c:
14015         * tests/threadstate/test2.c:
14016         * tests/threadstate/threadstate1.c:
14017         * tests/threadstate/threadstate2.c:
14018         * tests/threadstate/threadstate3.c:
14019         * tests/threadstate/threadstate4.c:
14020         * tests/threadstate/threadstate5.c:
14021           remove obsolete tests
14022         * configure.ac:
14023         * tests/bench-complexity.scm:
14024         * tests/bench-mass_elements.scm:
14025         * tests/complexity.c:
14026         * tests/complexity.gnuplot:
14027         * tests/instantiate/.cvsignore:
14028         * tests/instantiate/Makefile.am:
14029         * tests/instantiate/caps.c:
14030         * tests/mass_elements.c:
14031         * tests/network-clock-utils.scm:
14032         * tests/network-clock.scm:
14033         * tests/plot-data:
14034         First pass at cleaning up tests/ dir before moving the rest
14035         Combined with CVS surgery
14036
14037 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14038
14039         * po/POTFILES.in:
14040           queue has moved, update
14041
14042 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14043
14044         * docs/gst/gstreamer-sections.txt:
14045           remove double entries from the docs
14046         * gst/gst_private.h:
14047         * gst/gstinfo.c: (_gst_debug_init):
14048           remove the THREAD debug category
14049         * gst/Makefile.am:
14050         * gst/gstqueue.c:
14051         * gst/gstqueue.h:
14052         * docs/gst/gstreamer.types:
14053         * plugins/elements/gstqueue.c: (gst_queue_get_type),
14054         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
14055           completely move queue and fix up debugging categories
14056
14057 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14058
14059         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14060           make initialization portable, using LL is not
14061
14062 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14063
14064         * win32/common/gstconfig.h:
14065           add large padding
14066
14067 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14068
14069         * win32/common/libgstreamer.def:
14070           rename symbols; sort base section
14071
14072 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14073
14074         * gst/gstclock.c: (do_linear_regression):
14075           remove crack non-portable handrolled DEBUG macro
14076
14077 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14078
14079         * docs/random/release:
14080           update notes
14081         * win32/common/gstenumtypes.c: (register_gst_object_flags),
14082         (gst_object_flags_get_type), (register_gst_bin_flags),
14083         (gst_bin_flags_get_type), (register_gst_buffer_flag),
14084         (gst_buffer_flag_get_type), (register_gst_bus_flags),
14085         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14086         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
14087         (gst_caps_flags_get_type), (register_gst_clock_return),
14088         (gst_clock_return_get_type), (register_gst_clock_entry_type),
14089         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14090         (gst_clock_flags_get_type), (register_gst_state),
14091         (gst_state_get_type), (register_gst_state_change_return),
14092         (gst_state_change_return_get_type), (register_gst_state_change),
14093         (gst_state_change_get_type), (register_gst_element_flags),
14094         (gst_element_flags_get_type), (register_gst_core_error),
14095         (gst_core_error_get_type), (register_gst_library_error),
14096         (gst_library_error_get_type), (register_gst_resource_error),
14097         (gst_resource_error_get_type), (register_gst_stream_error),
14098         (gst_stream_error_get_type), (register_gst_event_type_flags),
14099         (gst_event_type_flags_get_type), (register_gst_event_type),
14100         (gst_event_type_get_type), (register_gst_seek_type),
14101         (gst_seek_type_get_type), (register_gst_seek_flags),
14102         (gst_seek_flags_get_type), (register_gst_format),
14103         (gst_format_get_type), (register_gst_index_certainty),
14104         (gst_index_certainty_get_type), (register_gst_index_entry_type),
14105         (gst_index_entry_type_get_type),
14106         (register_gst_index_lookup_method),
14107         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14108         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14109         (gst_index_resolver_method_get_type), (register_gst_index_flags),
14110         (gst_index_flags_get_type), (register_gst_debug_level),
14111         (gst_debug_level_get_type), (register_gst_debug_color_flags),
14112         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14113         (gst_iterator_result_get_type), (register_gst_iterator_item),
14114         (gst_iterator_item_get_type), (register_gst_message_type),
14115         (gst_message_type_get_type), (register_gst_mini_object_flags),
14116         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14117         (gst_pad_link_return_get_type), (register_gst_flow_return),
14118         (gst_flow_return_get_type), (register_gst_activate_mode),
14119         (gst_activate_mode_get_type), (register_gst_pad_direction),
14120         (gst_pad_direction_get_type), (register_gst_pad_flags),
14121         (gst_pad_flags_get_type), (register_gst_pad_presence),
14122         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14123         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14124         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14125         (gst_plugin_error_get_type), (register_gst_plugin_flags),
14126         (gst_plugin_flags_get_type), (register_gst_rank),
14127         (gst_rank_get_type), (register_gst_query_type),
14128         (gst_query_type_get_type), (register_gst_tag_merge_mode),
14129         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14130         (gst_tag_flag_get_type), (register_gst_task_state),
14131         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14132         (gst_alloc_trace_flags_get_type),
14133         (register_gst_type_find_probability),
14134         (gst_type_find_probability_get_type), (register_gst_uri_type),
14135         (gst_uri_type_get_type), (register_gst_parse_error),
14136         (gst_parse_error_get_type):
14137         * win32/common/gstenumtypes.h:
14138         * win32/common/gstversion.h:
14139           update visual studio generated files
14140
14141 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14142
14143         * win32/vs6/libgstbase.dsp:
14144         * win32/vs6/libgstelements.dsp:
14145           update project files for new locations
14146
14147 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14148
14149         * Makefile.am:
14150           remove some files
14151         * README:
14152           reinstate and update
14153         * DEVEL:
14154         * REQUIREMENTS:
14155           removed
14156         * LICENSE:
14157         * docs/random/LICENSE:
14158           moved to random
14159
14160 2005-11-30  Edward Hervey  <edward@fluendo.com>
14161
14162         * gst/gsttypefind.c: (gst_type_find_register):
14163         * gst/gsttypefind.h:
14164         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14165         (gst_type_find_factory_dispose):
14166         * gst/gsttypefindfactory.h:
14167         Fix memory leak in GstTypeFindFactory.
14168
14169 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14170
14171         * gst/gst.c:
14172         * plugins/elements/Makefile.am:
14173         * plugins/elements/gstelements.c:
14174         * plugins/elements/gstqueue.c:
14175           move queue from core to the elements plugin
14176
14177 2005-11-29  Andy Wingo  <wingo@pobox.com>
14178
14179         * libs/gst/base/gstbasetransform.h: 
14180         * libs/gst/base/gstbasesrc.h: 
14181         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14182
14183         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14184         of pointers by which to pad very extensible base classes (like the
14185         ones in libs/gst/base).
14186
14187 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14188
14189         * docs/gst/gstreamer-docs.sgml:
14190         * docs/gst/gstreamer-sections.txt:
14191         * docs/libs/gstreamer-libs-docs.sgml:
14192         * docs/libs/gstreamer-libs-sections.txt:
14193           moving documentation from core to lib
14194
14195 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14196
14197         * check/Makefile.am:
14198         * configure.ac:
14199         * docs/gst/Makefile.am:
14200         * gst/Makefile.am:
14201         * gst/base/.cvsignore:
14202         * gst/base/Makefile.am:
14203         * gst/base/README:
14204         * gst/base/gstadapter.c:
14205         * gst/base/gstadapter.h:
14206         * gst/base/gstbasesink.c:
14207         * gst/base/gstbasesink.h:
14208         * gst/base/gstbasesrc.c:
14209         * gst/base/gstbasesrc.h:
14210         * gst/base/gstbasetransform.c:
14211         * gst/base/gstbasetransform.h:
14212         * gst/base/gstcollectpads.c:
14213         * gst/base/gstcollectpads.h:
14214         * gst/base/gstpushsrc.c:
14215         * gst/base/gstpushsrc.h:
14216         * gst/base/gsttypefindhelper.c:
14217         * gst/base/gsttypefindhelper.h:
14218         * gst/check/Makefile.am:
14219         * gst/check/gstcheck.c:
14220         * gst/check/gstcheck.h:
14221         * gst/net/Makefile.am:
14222         * gst/net/gstnet.h:
14223         * gst/net/gstnetclientclock.c:
14224         * gst/net/gstnetclientclock.h:
14225         * gst/net/gstnettimepacket.c:
14226         * gst/net/gstnettimepacket.h:
14227         * gst/net/gstnettimeprovider.c:
14228         * gst/net/gstnettimeprovider.h:
14229         * libs/gst/Makefile.am:
14230         * libs/gst/base/Makefile.am:
14231         * libs/gst/base/gstbasetransform.c:
14232         * libs/gst/check/Makefile.am:
14233         * plugins/elements/Makefile.am:
14234         * po/POTFILES.in:
14235           CVS surgery + support to move base, check, and net out of gst
14236           and into libs/gst
14237
14238 2005-11-29  Andy Wingo  <wingo@pobox.com>
14239
14240         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14241
14242         * gst/gststructure.h (struct _GstStructure): Only one pointer of
14243         padding.
14244
14245         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14246
14247         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14248
14249         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14250
14251         * gst/gstobject.h: (struct _GstObject): Only one pointer of
14252         padding; reduces object size by about 30%. We don't expect
14253         anything else to go into gstobject.
14254
14255         * gst/gstminiobject.h (struct _GstMiniObject)
14256         (struct _GstMiniObjectClass): Only one pointer of padding; the
14257         payload is only a pointer and two ints anyway. For the class there
14258         are only two methods as well.
14259         
14260         * gst/gstelement.h (struct _GstElementClass): Removed
14261         the state_changed signal callback, it is not used.
14262
14263 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14264
14265         * docs/gst/gstreamer.types:
14266           fix includes, though they are a little dinky
14267
14268 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14269
14270         * check/Makefile.am:
14271           look in the right place for elements, a lot more chance of
14272           success
14273         * gst/Makefile.am:
14274           remove indexers and elements subdirs
14275         * plugins/Makefile.am:
14276           make indexers conditional
14277
14278 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14279
14280         * Makefile.am:
14281         * configure.ac:
14282         * plugins/elements/Makefile.am:
14283         * plugins/elements/gstcapsfilter.c:
14284         * plugins/elements/gstfilesink.c:
14285         * plugins/elements/gstfilesrc.c:
14286         * plugins/elements/gstidentity.c:
14287         * plugins/indexers/Makefile.am:
14288           do CVS surgery and related build fixery to move elements
14289           and indexers in a new gstreamer/plugins directory, out of the
14290           gst/ directory
14291
14292 2005-11-29  Andy Wingo  <wingo@pobox.com>
14293
14294         * check/Makefile.am:
14295         * pkgconfig/gstreamer-net-uninstalled.pc.in:
14296         * pkgconfig/gstreamer-net.pc.in:
14297         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14298         #322257.
14299
14300 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14301
14302         * tools/Makefile.am:
14303         * tools/gst-complete.1.in:
14304         * tools/gst-complete.c:
14305         * tools/gst-compprep.1.in:
14306         * tools/gst-compprep.c:
14307           removing -compprep and -complete
14308
14309 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14310
14311         * gst/gstevent.c: (gst_event_new_new_segment),
14312         (gst_event_parse_new_segment):
14313         * gst/gstevent.h:
14314           fix #320529 - clean up new_segment API and structure.
14315           Let's hope everyone was using the methods, and not the structure.
14316
14317 2005-11-29  Edward Hervey  <edward@fluendo.com>
14318
14319         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14320         (gst_base_sink_event), (gst_base_sink_do_sync),
14321         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14322         Properly handle non GST_FORMAT_TIME segment
14323         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14324         Properly handle non GST_FORMAT_TIME segment
14325         * gst/gstsegment.c:
14326         This function is valid if the accumulator is 0 and the format
14327         is different from the requested format.
14328         
14329 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14330
14331         * docs/gst/gstreamer-sections.txt:
14332         Add gst_query_new_seeking and gst_query_parse_seeking to the
14333         docs.
14334
14335 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14336
14337         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14338           Treat a pad alloc with new caps the same as if we were not
14339           negotiated, in order to allow a changing upstream output
14340           to produce a new format of data.
14341
14342 2005-11-29  Edward Hervey  <edward@fluendo.com>
14343
14344         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14345         (gst_base_transform_event), (gst_base_transform_eventfunc):
14346         The event virtual method is now properly implemented, with a default
14347         handler
14348         Sub classes should call the parent_class event method. They should
14349         return FALSE if they had a problem handling the given event, or don't
14350         want GstBaseTransform to send that even downstream
14351         * gst/elements/gstidentity.c: (gst_identity_class_init),
14352         (gst_identity_init), (gst_identity_event),
14353         (gst_identity_transform_ip), (gst_identity_set_property),
14354         (gst_identity_get_property):
14355         * gst/elements/gstidentity.h:
14356         Added the single-segment boolean property.
14357         If set to TRUE, it will output a single segment of data, starting from
14358         0, will eat up all incoming newsegment, and modify the timestamp of the
14359         buffers accordingly
14360
14361 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
14362
14363         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14364           Don't ref NULL target pad (#322751). Improve docs.
14365
14366 2005-11-29  Michael Smith  <msmith@fluendo.com>
14367
14368         * gst/gstregistryxml.c: (load_plugin):
14369           Don't crash if we failed to load a feature from a plugin. 
14370
14371 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14372
14373         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14374         (GST_START_TEST):
14375           use more check API and less GLib API
14376
14377 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14378
14379         * Makefile.am:
14380           don't run checks if we don't have check
14381         * common/check.mak:
14382           remove the registry when running make torture
14383         * docs/gst/gstreamer-sections.txt:
14384           remove second multiply
14385         * gst/gstqueue.c: (gst_queue_loop):
14386           fix a compile warning when disabling debug
14387
14388 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14389
14390         * gst/gstinfo.h:
14391         Hey! Let's print the pad name if the pointer != NULL instead
14392         of when it == NULL :-)
14393
14394 2005-11-28  Wim Taymans  <wim@fluendo.com>
14395
14396         * check/gst/gstutils.c: (GST_START_TEST):
14397         Updated check, add some scaling accuracy checking code.
14398
14399         * gst/gstutils.c: (gst_util_div128_64),
14400         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14401         (gst_util_uint64_scale_int):
14402         Fix 6 times faster division code. Optimize for common 
14403         1/1 and less common X/1 cases.
14404
14405 2005-11-28  Wim Taymans  <wim@fluendo.com>
14406
14407         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14408         More checks.
14409
14410         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14411         (do_linear_regression), (gst_clock_add_observation):
14412         Cleanups.
14413         Release lock when the clock cannot be slaved.
14414         Catch the case where the regression returned an invalid denominator.
14415
14416         * gst/gstutils.c: (gst_util_div128_64_iterate),
14417         (gst_util_div128_64), (gst_util_uint64_scale_int64),
14418         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14419         Add protentially more performant non-iterative 128/64 divide function
14420         that unfortunatly does not work yet.
14421         Shortcut the trivial 0/X = 0 case.
14422         Remove the warnings on overflow.
14423
14424 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14425
14426         * gst/gstplugin.c: (gst_plugin_register_func):
14427           everything causing a plugin not to load should be at least a WARNING
14428
14429 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
14430
14431         * docs/random/ensonic/dparams.txt:
14432           some TODOs for the next dev cycle
14433         * libs/gst/controller/gstcontroller.c:
14434         (gst_controlled_property_set_interpolation_mode),
14435         (gst_controlled_property_new):
14436         * libs/gst/controller/gstcontroller.h:
14437           use base type to assign acccessor functions
14438
14439 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14440
14441         * check/Makefile.am:
14442         Oops, that should have been top_srcdir
14443
14444 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14445
14446         * check/Makefile.am:
14447         * check/elements/fdsrc.c: (GST_START_TEST):
14448         Use a cmdline define to specify the location of a file to use for
14449         testing, to avoid breaking distcheck.
14450
14451 2005-11-28  Andy Wingo  <wingo@pobox.com>
14452
14453         * gst/gstpad.c (fixate_value): Use array functions for arrays.
14454
14455 2005-11-28  Edward Hervey  <edward@fluendo.com>
14456
14457         * tools/gst-launch.c: (main):
14458         Clarify the output strings, makes it easier to translate.
14459         Fixes #322626
14460
14461 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14462
14463         * gst/Makefile.am:
14464           don't try and build net if we don't even have <sys/socket.h>
14465
14466 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
14467
14468         * check/Makefile.am:
14469         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14470         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14471           Add tests for fdsrc seekability
14472
14473         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14474         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14475         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14476         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14477         * gst/elements/gstfdsrc.h:
14478           fdsrc should not be a 'live' source.
14479           Implement seeking on seekable fd's.
14480
14481         * gst/gstquery.c: (gst_query_new_seeking),
14482         (gst_query_parse_seeking):
14483         * gst/gstquery.h:
14484           Implement SEEKING query functions: 
14485             *_new_seeking and *_parse_seeking
14486
14487 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14488
14489         * gst/gstelement.c: (gst_element_dispose):
14490           don't loop forever
14491
14492         * gst/gstiterator.c:
14493         * gst/gststructure.c:
14494           doc fixes
14495
14496         * libs/gst/controller/gstcontroller.c:
14497         (gst_controlled_property_set_interpolation_mode):
14498         * libs/gst/controller/gstcontroller.h:
14499         * libs/gst/controller/gstinterpolation.c:
14500         (interpolate_none_get_enum_value_array):
14501           support controlling enums
14502
14503 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14504
14505         * gst/gstvalue.c:
14506           Improve documentation for gst_value_union().
14507
14508         * gst/gstvalue.h:
14509           Change return value for union, intersect and subtract functions
14510           from gint to gboolean.
14511
14512 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14513
14514         * gst/gstvalue.c: (gst_value_serialize_any_list),
14515         (gst_value_transform_any_list_string),
14516         (gst_value_deserialize_list), (gst_value_deserialize_array),
14517         (gst_value_set_int_range), (gst_value_deserialize_int_range),
14518         (gst_value_set_double_range), (gst_value_deserialize_double_range),
14519         (gst_value_set_fraction_range_full),
14520         (gst_value_deserialize_fraction_range),
14521         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14522         (gst_value_deserialize_boolean),
14523         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14524         (gst_value_serialize_float), (gst_value_deserialize_float),
14525         (gst_string_wrap), (gst_value_deserialize_string),
14526         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14527         (gst_value_union_int_range_int_range),
14528         (gst_value_intersect_int_range_int_range),
14529         (gst_value_intersect_double_range_double_range),
14530         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14531         (gst_value_subtract_int_range_int_range),
14532         (gst_value_subtract_double_double_range),
14533         (gst_value_subtract_double_range_double_range),
14534         (gst_value_deserialize_fraction):
14535         * gst/gstvalue.h:
14536           Use gint, gdouble and gchar in our API instead of int, double and
14537           char (and make usage in gstvalue.c more consistent).
14538
14539 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14540
14541         * check/Makefile.am:
14542         * libs/gst/controller/Makefile.am:
14543         * libs/gst/dataprotocol/Makefile.am:
14544           fix up Makefile.am and remove GST_ENABLE_NEW
14545
14546 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14547
14548         * configure.ac:
14549         * gst/Makefile.am:
14550         * gst/base/Makefile.am:
14551         * gst/check/Makefile.am:
14552         * gst/elements/Makefile.am:
14553         * gst/net/Makefile.am:
14554           update LDFLAGS use some more
14555
14556 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14557
14558         * common/m4/gst-doc.m4:
14559           Fixes #312589
14560
14561 2005-11-26  Edward Hervey  <edward@fluendo.com>
14562
14563         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14564         This shouldn't issue a g_warning since it returns NULL if it
14565         couldn't find the plugin, and all functions using this behave
14566         properly on a NULL return. Switching to a GST_WARNING.
14567
14568 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
14569
14570         * gst/gstbin.c: (gst_bin_handle_message_func):
14571         Don't leak clock messages.
14572
14573 2005-11-25  Wim Taymans  <wim@fluendo.com>
14574
14575         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14576         (gst_util_uint64_scale_int):
14577         Optimisations, remove unneeded vars.
14578
14579 2005-11-25  Wim Taymans  <wim@fluendo.com>
14580
14581         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14582         Added more checks for the high precision uint64 cases.
14583
14584         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14585         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14586         Implement high precision (guint64 * guint64) / guint64.
14587
14588 2005-11-24  Wim Taymans  <wim@fluendo.com>
14589
14590         * gst/base/gstbasesrc.c: (gst_base_src_query):
14591         Fix wrong percentage query.
14592
14593         * gst/gstutils.c: (gst_util_uint64_scale),
14594         (gst_util_uint64_scale_int):
14595         Add some more common cases that can be handled 
14596         efficiently to _scale.
14597
14598 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14599
14600         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14601         (gst_mini_object_suite):
14602           don't use check calls from threads; check probably isn't
14603           threadsafe and using a lock to make it threadsafe would
14604           defeat the purpose of this check
14605         * gst/check/gstcheck.c:
14606         * gst/check/gstcheck.h:
14607           use GST_DEBUG some more
14608
14609 2005-11-24  Wim Taymans  <wim@fluendo.com>
14610
14611         * gst/gstutils.c: (gst_util_uint64_scale),
14612         (gst_util_uint64_scale_int):
14613         Chain trivial case to _scale_int.
14614
14615 2005-11-24  Wim Taymans  <wim@fluendo.com>
14616
14617         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14618         Added test for scaling.
14619
14620         * gst/gstclock.h:
14621         Small doc fix.
14622
14623         * gst/gstutils.c: (gst_util_uint64_scale_int):
14624         Implemented high precision scaling code.
14625
14626 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
14627
14628         * gst/gstinfo.h:
14629           do not crash on pad==NULL
14630
14631 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14632
14633         Patch by: Stefan Kost
14634
14635         * common/gtk-doc.mak:
14636         * docs/gst/Makefile.am:
14637         * docs/libs/Makefile.am:
14638           Fix distcheck issues for the libraries docs build
14639           Closes #319599.
14640
14641 2005-11-24  Michael Smith <msmith@fluendo.com>
14642
14643         * docs/manual/basics-helloworld.xml:
14644           Fix bug #315027: memory leak in example code in docs.
14645
14646 2005-11-24  Michael Smith <msmith@fluendo.com>
14647
14648         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14649           Unlock the PREROLL_LOCK in a failure case.
14650
14651 2005-11-24  Wim Taymans  <wim@fluendo.com>
14652
14653         * docs/gst/gstreamer-sections.txt:
14654         * gst/base/gstadapter.h:
14655         * gst/base/gstbasesink.h:
14656         * gst/base/gstbasesrc.h:
14657         * gst/base/gstbasetransform.h:
14658         * gst/base/gstpushsrc.h:
14659         * gst/elements/gstfakesink.h:
14660         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14661         * gst/elements/gstfakesrc.h:
14662         * gst/elements/gstfilesink.h:
14663         * gst/elements/gstfilesrc.h:
14664         * gst/gst.c:
14665         * gst/gstbin.c:
14666         * gst/gstbuffer.c: (_gst_buffer_copy):
14667         * gst/gstbus.h:
14668         * gst/gstcaps.c:
14669         * gst/gstchildproxy.c:
14670         * gst/gstclock.c:
14671         * gst/gstelement.c:
14672         * gst/gstelementfactory.c:
14673         * gst/gstelementfactory.h:
14674         * gst/gstevent.c:
14675         * gst/gstghostpad.h:
14676         * gst/gstindex.h:
14677         * gst/gstinterface.h:
14678         * gst/gstminiobject.c:
14679         * gst/gstminiobject.h:
14680         * gst/gstpad.c:
14681         * gst/gstpad.h:
14682         * gst/gstpadtemplate.h:
14683         * gst/gstpipeline.h:
14684         * gst/gstpluginfeature.h:
14685         * gst/gstquery.h:
14686         * gst/gstqueue.h:
14687         * gst/gsttaglist.c:
14688         * gst/gsttaglist.h:
14689         * gst/gsttagsetter.c:
14690         * gst/gsttagsetter.h:
14691         * gst/gsttrace.c:
14692         * gst/gsttrace.h:
14693         * gst/gsttypefind.h:
14694         * gst/gsturi.h:
14695         * gst/gstvalue.c:
14696         * gst/net/gstnetclientclock.c:
14697         * gst/net/gstnetclientclock.h:
14698         * gst/net/gstnettimepacket.c:
14699         * gst/net/gstnettimeprovider.c:
14700         * gst/net/gstnettimeprovider.h:
14701         Doc fixes.
14702
14703 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14704
14705         * configure.ac: back to HEAD
14706
14707 === release 0.9.6 ===
14708
14709 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
14710
14711         * configure.ac:
14712           releasing 0.9.6, "Always On Time"
14713
14714 2005-11-23  Wim Taymans  <wim@fluendo.com>
14715
14716         * docs/gst/gstreamer-sections.txt:
14717         * gst/glib-compat.c:
14718         * gst/gsttagsetter.c:
14719         * gst/gstvalue.c:
14720         * gst/net/gstnetclientclock.c:
14721         * gst/net/gstnettimepacket.h:
14722         Doc updates.
14723
14724 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14725
14726         * docs/faq/using.xml:
14727         * docs/libs/tmpl/gstcontrol.sgml:
14728         * docs/manual/advanced-dparams.xml:
14729         * docs/manual/appendix-checklist.xml:
14730         * docs/manual/basics-elements.xml:
14731         * docs/pwg/other-source.xml:
14732         * docs/random/moving-plugins:
14733         * gst/gstpad.c:
14734         * tools/gst-launch.1.in:
14735           remove mentions of sinesrc
14736
14737 2005-11-23  Michael Smith <msmith@fluendo.com>
14738
14739         * docs/gst/gstreamer-sections.txt:
14740           Update for new API and API changes.
14741         * gst/gstobject.h:
14742           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14743         * gst/gstvalue.c:
14744           Documentation typo fix.
14745         * gst/net/gstnettimepacket.c:
14746           Documentation fixes for arguments.
14747
14748 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
14749
14750         * gst/gststructure.c: (gst_structure_get_fraction),
14751         (gst_structure_parse_value),
14752         (gst_structure_fixate_field_nearest_fraction):
14753         * gst/gststructure.h:
14754         * gst/gstutils.c: (gst_util_uint64_scale_int):
14755         * gst/gstutils.h:
14756         * scripts/update-funcnames:
14757         API Changes. 
14758         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14759         Make gst_structure_fixate_field_nearest_fraction take a numerator
14760         and denominator argument instead of a GValue
14761         add gst_structure_get_fraction helper function.
14762
14763 2005-11-23  Wim Taymans  <wim@fluendo.com>
14764
14765         * docs/design/part-TODO.txt:
14766         Update TODO.
14767
14768         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14769         * gst/net/gstnetclientclock.h:
14770         Use parent fields for timeout and window_size.
14771
14772 2005-11-23  Andy Wingo  <wingo@pobox.com>
14773
14774         * check/net/gstnetclientclock.c (test_functioning): Adjust to
14775         rate_num/rate_denom change.
14776
14777         * gst/net/gstnetclientclock.c
14778         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14779         OBJECT_LOCK. Don't call add_observation with the lock.
14780
14781         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14782         fraction.
14783         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14784         rate fraction.
14785         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14786         deal with rate as a fraction whose numerator and denominator are
14787         GstClockTime values.
14788         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14789         master; the other fields are protected by the SLAVE_LOCK.
14790         (do_linear_regression): Note that this must be called with the
14791         SLAVE_LOCK.
14792         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14793         OBJECT_LOCK. Call set_calibration instead of touching the
14794         variables directly.
14795         (gst_clock_set_property, gst_clock_get_property): Protect
14796         master/slave parameters with the SLAVE_LOCK.
14797
14798         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14799         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14800         note that all of the instance variables that add_observation and
14801         the set_master functions use are protected by that lock and not
14802         the OBJECT_LOCK.
14803         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14804
14805         * gst/gstclock.c (gst_clock_add_observation): No longer requires
14806         the caller to take the object lock.
14807
14808 2005-11-23  Wim Taymans  <wim@fluendo.com>
14809
14810         * gst/gsterror.c: (_gst_core_errors_init):
14811         * gst/gsterror.h:
14812         Add error for clock stuff.
14813
14814         * gst/gstpipeline.c: (gst_pipeline_change_state),
14815         (gst_pipeline_set_clock):
14816         Post clock error when clock cannot be used in a pipeline.
14817
14818 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
14819
14820         * docs/gst/gstreamer-sections.txt:
14821           make two symbols from gstinfo private for the docs
14822         * gst/base/gstcollectpads.h:
14823         * gst/gstutils.c:
14824           fix doc typos, update docs
14825
14826 2005-11-22  Wim Taymans  <wim@fluendo.com>
14827
14828         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14829         (gst_base_sink_wait), (gst_base_sink_do_sync),
14830         (gst_base_sink_handle_event):
14831         * gst/base/gstbasesink.h:
14832         No need to store the clock, the parent element class already
14833         has it.
14834
14835         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14836         Updates for clock_set returning a gboolean
14837
14838         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14839         (gst_clock_id_wait_async), (gst_clock_class_init),
14840         (gst_clock_init), (gst_clock_finalize),
14841         (gst_clock_get_internal_time), (gst_clock_get_time),
14842         (gst_clock_slave_callback), (gst_clock_set_master),
14843         (gst_clock_get_master), (do_linear_regression),
14844         (gst_clock_add_observation), (gst_clock_set_property),
14845         (gst_clock_get_property):
14846         * gst/gstclock.h:
14847         Implement master/slave. When setting a clock as a slave, a
14848         periodic timeout is scheduled to sample master and slave times.
14849         Then the slave clock is recalibrated to match offset and rate
14850         of the master clock.
14851         Update logging a bit.
14852         Add flag so that a clock can state that is cannot be slaved to
14853         another clock.
14854
14855         * gst/gstelement.c: (gst_element_set_clock):
14856         * gst/gstelement.h:
14857         The set clock returns a gboolean for when an element cannot
14858         deal with the selected clock in the pipeline. 
14859
14860         * gst/gstpipeline.c: (gst_pipeline_change_state),
14861         (gst_pipeline_set_clock):
14862         * gst/gstpipeline.h:
14863         Handle the case where the selected clock cannot be set on
14864         the pipeline.
14865
14866         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14867         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14868         (gst_net_client_clock_set_property),
14869         (gst_net_client_clock_get_property),
14870         (gst_net_client_clock_observe_times):
14871         * gst/net/gstnetclientclock.h:
14872         Use regression code in GstClock parent, remove duplicated
14873         functionality.
14874
14875 2005-11-22  Michael Smith <msmith@fluendo.com>
14876
14877         * gst/gstutils.c: (gst_util_clock_time_scale):
14878         * gst/gstutils.h:
14879         * docs/gst/gstreamer-sections.txt:
14880           Rename method to have extra underscore.
14881
14882 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14883
14884         * gst/elements/Makefile.am:
14885         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14886         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14887         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14888         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14889         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14890         * gst/elements/gstfakesrc.h:
14891         * gst/gstqueue.c: (queue_leaky_get_type):
14892           correctly fix GEnumValues so that nick is the short lowercase
14893           dashed tag
14894         * tools/gst-inspect.c: (print_element_properties_info):
14895           also show the nick, since it's useful to use from parse_launch
14896           syntax
14897           Fixes #322139
14898
14899 2005-11-22  Michael Smith <msmith@fluendo.com>
14900
14901         * gst/gstutils.c: (gst_util_clocktime_scale):
14902         * gst/gstutils.h:
14903         * docs/gst/gstreamer-sections.txt:
14904           Add util method for scaling a clocktime by a fraction. Useful 
14905           implementation is left as an exercise for the reader.
14906
14907 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14908
14909         * gst/gstvalue.c: (gst_value_collect_fraction_range):
14910         If needed, allocate storage in the destination value during
14911         collection.
14912
14913 2005-11-22  Edward Hervey  <edward@fluendo.com>
14914
14915         * docs/gst/gstreamer-sections.txt:
14916         * gst/Makefile.am:
14917         * gst/gst.h:
14918         * gst/gsturitype.c:
14919         * gst/gsturitype.h:
14920         * gst/gstutils.c: (gst_util_set_object_arg):
14921         * tools/gst-compprep.c: (main):
14922         * tools/gst-inspect.c: (print_element_properties_info):
14923         Removed GstURI, closes bug #321061
14924
14925 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14926
14927         * check/gst/gststructure.c: (GST_START_TEST):
14928         * gst/gststructure.c: (gst_structure_parse_value):
14929           Oops, broke automatic string type parsing.
14930           Add a test to catch it in future.
14931
14932 2005-11-22  Andy Wingo  <wingo@pobox.com>
14933
14934         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
14935         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14936         Actually rename the function implementations. Grr.
14937
14938 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14939
14940         * check/gst/capslist.h:
14941           Comment test cases
14942         * check/gst/gststructure.c: (GST_START_TEST),
14943         (gst_structure_suite):
14944           Test automatic value type detection in gst_structure_from_string.
14945         * gst/gststructure.c: (gst_structure_parse_value):
14946           Add fraction as a type we try and guess automatically in
14947           caps/structure strings.
14948
14949 2005-11-22  Andy Wingo  <wingo@pobox.com>
14950
14951         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14952
14953         * gst/gsttagsetter.h:
14954         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14955         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14956         (gst_tag_setter_add_tag_valist)
14957         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14958         _add_values, _add_valist, and _add_valist_values. Since this is an
14959         interface the function suffixes should be more explicit so
14960         language binding don't end up with element.add_valist ->
14961         gst_tag_setter_add_valist, for example. Fixes #322069.
14962
14963 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14964
14965         * check/gst/gstcaps.c: (GST_START_TEST):
14966           Extend caps string tests to check that a caps to string
14967           conversion is reversible and produces the same caps.
14968
14969         * gst/gststructure.c: (gst_structure_value_get_generic_type):
14970           Output "fraction" as the generic type fraction range, so caps
14971           serialisation and deserialisation works.
14972         * check/gst/capslist.h:
14973         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14974           Support 'MIN' and 'MAX' for deserialising fractions.
14975
14976 2005-11-22  Andy Wingo  <wingo@pobox.com>
14977
14978         * gst/gstevent.h (gst_event_new_new_segment)
14979         (gst_event_parse_new_segment, gst_event_new_buffer_size)
14980         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14981         Renamed from *_newsegment, *_buffersize, *_notarget.
14982
14983         * scripts/update-funcnames: New script, performs the changes
14984         listed above.
14985
14986 2005-11-22  Wim Taymans  <wim@fluendo.com>
14987
14988         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14989         Make sure the GstFlowReturn is returned.
14990
14991         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14992         (gst_bus_add_signal_watch):
14993         * gst/gstbus.h:
14994         add gst_bus_add_signal_watch_full.
14995
14996         * gst/gstplugin.c: (gst_plugin_load_file):
14997         Small style cleanup.
14998
14999 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15000
15001         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
15002           Block the fakesrc srcpad when we send an event, to avoid
15003           contention on the stream_lock causing random test failures.
15004
15005 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15006
15007         * check/gst/gstvalue.c: (GST_START_TEST):
15008         * gst/gstvalue.c: (gst_value_fraction_subtract):
15009           Fix subtraction.
15010
15011 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
15012
15013         * gst/gst.h:
15014           include "gstchildproxy.h"
15015         * gst/gstchildproxy.h:
15016         * libs/gst/controller/gstcontroller.h:
15017           use G_GNUC_NULL_TERMINATED
15018
15019 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15020
15021         * check/gst/capslist.h:
15022         * check/gst/gstcaps.c: (GST_START_TEST):
15023         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15024         * gst/gststructure.c: (gst_structure_parse_range),
15025         (gst_structure_fixate_field_nearest_fraction):
15026         * gst/gststructure.h:
15027         * gst/gstvalue.c: (gst_value_init_fraction_range),
15028         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
15029         (gst_value_collect_fraction_range),
15030         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
15031         (gst_value_set_fraction_range_full),
15032         (gst_value_get_fraction_range_min),
15033         (gst_value_get_fraction_range_max),
15034         (gst_value_serialize_fraction_range),
15035         (gst_value_transform_fraction_range_string),
15036         (gst_value_compare_fraction_range),
15037         (gst_value_deserialize_fraction_range),
15038         (gst_value_intersect_fraction_fraction_range),
15039         (gst_value_intersect_fraction_range_fraction_range),
15040         (gst_value_subtract_fraction_fraction_range),
15041         (gst_value_subtract_fraction_range_fraction),
15042         (gst_value_subtract_fraction_range_fraction_range),
15043         (gst_value_collect_fraction), (gst_value_fraction_multiply),
15044         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
15045         (gst_value_transform_string_fraction), (_gst_value_initialize):
15046         * gst/gstvalue.h:
15047           Implement fraction ranges and extend GstFraction to support
15048           arithmetic subtraction, as well as deserialization from integer
15049           strings such as "100"
15050           Add a testsuite as for int and double range set operations
15051
15052 2005-11-21  Andy Wingo  <wingo@pobox.com>
15053
15054         * gst/gsttaglist.h: 
15055         * gst/gstcaps.h: 
15056         * gst/gststructure.h: Add glib-compat.h.
15057
15058 2005-11-21  Wim Taymans  <wim@fluendo.com>
15059
15060         * gst/gstbin.c: (gst_bin_change_state_func):
15061         Fix for #321595
15062
15063 2005-11-21  Wim Taymans  <wim@fluendo.com>
15064
15065         * gst/gstsegment.h:
15066         And add a nice define too.
15067
15068 2005-11-21  Wim Taymans  <wim@fluendo.com>
15069
15070         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
15071         (gst_segment_new), (gst_segment_free), (gst_segment_init),
15072         (gst_segment_set_duration), (gst_segment_set_last_stop),
15073         (gst_segment_set_seek), (gst_segment_set_newsegment),
15074         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15075         (gst_segment_clip):
15076         * gst/gstsegment.h:
15077         Make binding friendly.
15078
15079 2005-11-21  Andy Wingo  <wingo@pobox.com>
15080
15081         * gst/gsttagsetter.h: 
15082         * gst/gsttaglist.h: 
15083         * gst/gststructure.h: 
15084         * gst/gstcaps.h: 
15085         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
15086         #319940.
15087
15088         * gst/gsterror.c (_gst_core_errors_init):
15089         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
15090         category.
15091
15092         * gst/Makefile.am (gst_headers): Add glib-compat.h.
15093         (noinst_HEADERS): noinst the -private.
15094
15095 2005-11-21  Michael Smith <msmith@fluendo.com>
15096
15097         * gst/gstplugin.h:
15098         * gst/gstregistry.h:
15099           Remove unimplemented declarations for which we can see no sensible
15100           use.
15101
15102 2005-11-21  Andy Wingo  <wingo@pobox.com>
15103
15104         * gst/gst.h: Include glib-compat.h.
15105
15106         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15107
15108         * gst/glib-compat.c: Include the public and the private header.
15109
15110         * gst/glib-compat-private.h: Copied here from glib-compat.h.
15111
15112         * gst/gstvalue.c: 
15113         * gst/gstpad.c: 
15114         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15115
15116         * check/gst/gstevent.c (create_custom_events): Check that
15117         FLUSH_STOP is serialized.
15118
15119         * check/elements/identity.c (event_func): 
15120         * check/elements/fakesrc.c (event_func): No stream lock, the core
15121         takes it.
15122
15123         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15124         stream lock taking, yay.
15125
15126         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15127         ensure that core takes the stream lock.
15128
15129         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15130         lock name change.
15131
15132         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15133         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15134         it already. For the flush start we do take it though so we get the
15135         right preroll state change messages.
15136
15137         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15138         the stream lock here, the core does it for us.
15139
15140         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15141         GST_STREAM_GET_LOCK.
15142         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
15143         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
15144         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15145         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15146         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
15147         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15148
15149         * gst/gstpad.c: Update for stream lock name change.
15150
15151         * gst/base/gstbasesink.c: Update for preroll lock name change.
15152
15153 2005-11-21  Wim Taymans  <wim@fluendo.com>
15154
15155         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15156         (gst_clock_get_master):
15157         * gst/gstclock.h:
15158         * gst/gstsystemclock.c: (gst_system_clock_init):
15159         Convert Clock flags to object flags.
15160         Added methods to manage master/slave clocks.
15161
15162 2005-11-21  Wim Taymans  <wim@fluendo.com>
15163
15164         * check/gst/gstsegment.c: (GST_START_TEST):
15165         * docs/design/part-TODO.txt:
15166         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15167         (gst_base_sink_event), (gst_base_sink_do_sync),
15168         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15169         (gst_base_sink_query), (gst_base_sink_change_state):
15170         * gst/base/gstbasesink.h:
15171         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15172         (gst_base_src_default_newsegment),
15173         (gst_base_src_configure_segment), (gst_base_src_do_seek),
15174         (gst_base_src_get_range), (gst_base_src_loop),
15175         (gst_base_src_change_state):
15176         * gst/base/gstbasesrc.h:
15177         * gst/base/gstbasetransform.c:
15178         (gst_base_transform_prepare_output_buf),
15179         (gst_base_transform_event), (gst_base_transform_change_state):
15180         * gst/base/gstbasetransform.h:
15181         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15182         (gst_collect_pads_event):
15183         * gst/base/gstcollectpads.h:
15184         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15185         (gst_fake_src_create):
15186         * gst/elements/gstfakesrc.h:
15187         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15188         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15189         (gst_segment_set_last_stop), (gst_segment_set_seek),
15190         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15191         (gst_segment_to_running_time), (gst_segment_clip):
15192         * gst/gstsegment.h:
15193         More segment updates, replace code in plugins with segment
15194         helper functions.
15195
15196 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15197
15198         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15199         Don't ignore sscanf results
15200
15201 2005-11-21  Andy Wingo  <wingo@pobox.com>
15202
15203         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15204
15205         * *.h:
15206         * *.c: Ran scripts/update-macros. Oh yes.
15207
15208         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15209         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15210         GST_GET_LOCK, etc.
15211
15212         * scripts/update-macros: New script. Run it on your files to
15213         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15214         well.
15215
15216 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15217
15218         * docs/gst/Makefile.am:
15219         * docs/gst/gstreamer-docs.sgml:
15220         * docs/gst/gstreamer-sections.txt:
15221         * docs/gst/gstreamer.types:
15222         * gst/gstinfo.h:
15223           more docs fixes, add new api to the docs
15224
15225 2005-11-21  Andy Wingo  <wingo@pobox.com>
15226
15227         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15228         state_broadcast call.
15229
15230         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15231
15232 2005-11-21  Julien MOUTTE  <julien@moutte.net>
15233
15234         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15235         function calls for arrays.
15236
15237 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15238
15239         * docs/random/ensonic/media-device-daemon.txt:
15240           wild idea, can this be done?
15241         * docs/gst/gstreamer-sections.txt:
15242         * gst/gsterror.h:
15243         * gst/gstfilter.c:
15244         * gst/gstfilter.h:
15245         * gst/gstplugin.h:
15246         * gst/gstpluginfeature.c:
15247         * gst/gsttrace.c:
15248         * gst/gstvalue.c:
15249         * gst/gstvalue.h:
15250           doc fixes and additions
15251
15252 2005-11-21  Andy Wingo  <wingo@pobox.com>
15253
15254         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
15255         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
15256         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
15257         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15258         private to the basesrc implementation.
15259
15260         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15261         behalf of event function if necessary. It should no longer be
15262         necessary to take the stream lock in pad's event functions. Fixes
15263         #320299.
15264
15265 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15266         * docs/gst/gstreamer-sections.txt:
15267         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15268         (gst_structure_fixate_field_nearest_double),
15269         (gst_structure_fixate_field_boolean):
15270         * gst/gststructure.h:
15271         * win32/common/libgstreamer.def:
15272         * win32/gstreamer.def:
15273
15274         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15275         (#322027)
15276
15277 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15278
15279         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15280         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15281         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15282         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15283         (gst_fdsrc_uri_handler_init):
15284         * gst/elements/gstfdsrc.h:
15285           Port fd:// URI handler from 0.8 to fdsrc
15286
15287 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15288
15289         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15290         (gst_value_serialize_fourcc):
15291         * gst/gstvalue.h:
15292           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15293           consistent with our other format defines (#320324).
15294
15295 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15296
15297         * gst/gstvalue.c: (gst_value_is_fixed):
15298           Revert previous commit. Value lists are by definition
15299           not fixed, as they are a list of possible values.
15300
15301 2005-11-21  Andy Wingo  <wingo@pobox.com>
15302
15303         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15304         during the stable series if we need it. Fixes #319178.
15305
15306         * gst/gstevent.c (gst_event_new_filler): Removed.
15307
15308         * check/gst/gstevent.c: Update comment about filler events.
15309
15310 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15311
15312         * gst/gstvalue.c: (gst_value_is_fixed):
15313           Should handle both value arrays and value lists.
15314
15315 2005-11-21  Andy Wingo  <wingo@pobox.com>
15316
15317         patch by: Alessandro Dessina <alessandro nnva org>
15318
15319         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15320         functions to access arrays. Fixes #321962.
15321
15322 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15323
15324         * docs/gst/gstreamer.types:
15325           gst_collectpads_get_type => gst_collect_pads_get_type.
15326           
15327         * gst/base/gstbasetransform.c:
15328           Remove unused SIGNAL_HANDOFF enum.
15329
15330 2005-11-21  Andy Wingo  <wingo@pobox.com>
15331
15332         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15333         the event type (upstream, downstream, serialized). Renamed
15334         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15335         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15336         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15337
15338         * gst/gstevent.c: Update for new CUSTOM event names.
15339
15340         * check/gst/gstevent.c: Update check for new CUSTOM event names.
15341
15342         * gst/gstevent.h:
15343         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15344         bug #319392.
15345
15346 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15347
15348         * docs/gst/gstreamer-sections.txt:
15349         * win32/common/libgstbase.def:
15350         * win32/libgstbase.def:
15351         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15352         (gst_collect_pads_class_init), (gst_collect_pads_init),
15353         (gst_collect_pads_finalize), (gst_collect_pads_new),
15354         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15355         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15356         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15357         (gst_collect_pads_start), (gst_collect_pads_stop),
15358         (gst_collect_pads_peek), (gst_collect_pads_pop),
15359         (gst_collect_pads_available), (gst_collect_pads_read),
15360         (gst_collect_pads_flush), (gst_collect_pads_event),
15361         (gst_collect_pads_chain):
15362         * gst/base/gstcollectpads.h:
15363           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15364           unimplemented functions as unimplemented. Add padding to
15365           GstCollectData. (#320766, #320423)
15366
15367 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15368
15369         * gst/gstmessage.c:
15370           Improve docs for DURATION message (usage of duration parameter)
15371           (#320113)
15372
15373 2005-11-20  Wim Taymans  <wim@fluendo.com>
15374
15375         * check/Makefile.am:
15376         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15377         (main):
15378         * gst/Makefile.am:
15379         * gst/gst.h:
15380         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15381         (gst_segment_set_seek), (gst_segment_set_newsegment),
15382         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15383         (gst_segment_clip):
15384         * gst/gstsegment.h:
15385         Added segment helper structure and methods. Not fully implemented
15386         yet.
15387         Added segment check.
15388
15389 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
15390
15391         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15392           Add a deserialisation test for fractions
15393         * examples/metadata/read-metadata.c: (message_loop),
15394         (make_pipeline), (main):
15395           Fix up metadata reading sample.
15396         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15397           Debug format fix
15398         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15399           Don't try and fixate empty caps
15400         * gst/gst_private.h:
15401           Wrap in G_BEGIN_DECLS/G_END_DECLS
15402         * gst/gstvalue.c: (gst_value_collect_fraction),
15403         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15404         (gst_value_transform_string_fraction),
15405         (gst_value_compare_fraction):
15406           Add some extra guards to ensure that we don't end up 
15407           with an invalid denominator of 0 in a gstfraction and
15408           that fractions always get reduced.
15409
15410 2005-11-20  Wim Taymans  <wim@fluendo.com>
15411
15412         * docs/gst/gstreamer-sections.txt:
15413         * gst/gstbuffer.h:
15414         * gst/gstelement.c:
15415         * gst/gstformat.c:
15416         * gst/gstformat.h:
15417         * gst/gstindex.h:
15418         * gst/gstquery.c:
15419         * gst/gstquery.h:
15420         * gst/gstvalue.c:
15421         Doc fixes.
15422
15423 2005-11-20  Wim Taymans  <wim@fluendo.com>
15424
15425         * docs/design/part-TODO.txt:
15426         * gst/gstcaps.h:
15427         Make a proper enum of the flag.
15428
15429 2005-11-19  Wim Taymans  <wim@fluendo.com>
15430
15431         * docs/design/part-TODO.txt:
15432         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15433         (gst_format_to_quark), (gst_format_register):
15434         * gst/gstformat.h:
15435         * gst/gstquery.c: (_gst_query_initialize),
15436         (gst_query_type_get_name), (gst_query_type_to_quark),
15437         (gst_query_type_register):
15438         * gst/gstquery.h:
15439         Add type to quark and type to string conversions.
15440
15441 2005-11-19  Andy Wingo  <wingo@pobox.com>
15442
15443         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15444         #320097.
15445
15446 2005-11-19  Wim Taymans  <wim@fluendo.com>
15447
15448         * docs/design/part-TODO.txt:
15449         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15450         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15451         (gst_bin_handle_message_func):
15452         * gst/gstbin.h:
15453         Make message handling overridable.
15454
15455 2005-11-19  Andy Wingo  <wingo@pobox.com>
15456
15457         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15458
15459         * gst/gstclock.h:
15460         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15461         be a GstClockTime.
15462         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15463         is a GstClockTime. Fixes #321710.
15464
15465         * gst/gstclock.h (GstClock): Remove offset property. Add
15466         internal_calibration and external_calibration. Fix padding. Pad
15467         also by GstClockTime so we don't run into problems.
15468
15469         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15470         (gst_clock_get_rate_offset): Remove.
15471         (gst_clock_set_time_adjust): Remove. Fixes #321712.
15472
15473         * gst/gstutils.h:
15474         * gst/gstutils.c (g_static_rec_cond_wait)
15475         (g_static_rec_cond_timed_wait): Removed, no longer needed.
15476
15477         * gst/gstbin.c: Remove terrible continue_state prototype.
15478
15479         * gst/gstelement.h (gst_element_continue_state): Make public.
15480
15481         * gst/gstelement.h:
15482         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15483         by continue_state. Fixes #319389.
15484
15485         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15486         Really fixes #168438. However I don't see anywhere where the
15487         filter function is called... stupid GStreamer...
15488         
15489         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15490         don't have a dispose function, so it won't get called when the
15491         object is unreffed, but oh well!
15492
15493         * gst/gstindex.c (gst_index_set_filter_full): New API function,
15494         allows a destroy function to be set so user_data can be freed.
15495         Fixes #168438.
15496         (gst_index_set_filter): Call gst_index_set_filter_full.
15497
15498         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15499
15500         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15501         string should produce an error, given the lack of a way to
15502         represent NULL strings. Fixes #165650.
15503         
15504         * gst/gstvalue.h: 
15505         * gst/gstvalue.c (gst_value_array_append_value) 
15506         (gst_value_array_prepend_value, gst_value_array_get_size) 
15507         (gst_value_array_get_value): New API, copied from
15508         gst_value_list_*, only operates on arrays.
15509         (gst_value_list_append_value, gst_value_list_prepend_value) 
15510         (gst_value_list_concat, gst_value_list_get_size) 
15511         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15512
15513         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15514         init_list, because it works on both.
15515         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15516         (gst_value_copy_list_or_array): Renamed from copy_list.
15517         (gst_value_free_list_or_array): Renamed from free_list.
15518         (gst_value_collect_list_or_array): Renamed from collect_list.
15519         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15520         (gst_value_list_or_array_peek_pointer): Renamed from
15521         list_peek_pointer.
15522         (_gst_value_array_value_table, _gst_value_list_value_table):
15523         Update value table functions.
15524         (gst_value_compare_list_or_array): Renamed from compare_list.
15525
15526         * gsttaglist.h: Whoops, foreach function returns void. Also fix
15527         some constness.
15528
15529         * gst/gsttaglist.c:
15530         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15531         GstTagList*. Fixes #143472.
15532
15533         * gst/gststructure.h: Clarify what the foreach/map functions can
15534         or can't do to their arguments.
15535
15536 2005-11-18  Wim Taymans  <wim@fluendo.com>
15537
15538         * gst/gstclock.c: (gst_clock_set_calibration),
15539         (gst_clock_get_calibration):
15540         Doc and API fixes.
15541         Calibration can be set with internal time equal to current
15542         internal time too.
15543
15544 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15545
15546         * gst/gsterror.c:
15547         * gst/gsterror.h:
15548           document
15549
15550 2005-11-18  Andy Wingo  <wingo@pobox.com>
15551
15552         * configure.ac: 
15553         * pkgconfig/gstreamer-net.pc.in:
15554         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15555         * pkgconfig/Makefile.am: Add net pkgconfig files.
15556
15557 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
15558
15559         * gst/gstcaps.c:
15560         * gst/gstghostpad.c:
15561         * gst/gsttrace.c:
15562         * gst/gstvalue.c:
15563         * gst/gstvalue.h:
15564           docs fixes
15565
15566 2005-11-18  Andy Wingo  <wingo@pobox.com>
15567
15568         * gst/net/gstnetclientclock.c: Turn off debugging.
15569
15570         * check/net/gstnetclientclock.c (test_functioning): Assert that the
15571         times connverge somewhat. Can't make a real test.
15572
15573         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15574         integer arithmetic. Return the minimum of the domain, which can be
15575         set as "internal" for gst_clock_set_calibration.
15576         (gst_net_client_clock_observe_times): Call _set_calibration.
15577         (gst_net_client_clock_new): Call _set_calibration instead of
15578         rate_offset.
15579
15580         * check/net/gstnetclientclock.c (test_functioning): Use the right
15581         adjustment api.
15582
15583         * gst/gstclock.h:
15584         * gst/gstclock.c (gst_clock_get_calibration) 
15585         (gst_clock_set_calibration): New functions, obsolete the ones I
15586         added yesterday. Doh. Precision issues mean we have to extrapolate
15587         from a point in the more recent past than 1970.
15588         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15589         obsolete.
15590         (gst_clock_adjust_unlocked): Use the right calibration data.
15591
15592 2005-11-18  Edward Hervey  <edward@fluendo.com>
15593
15594         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
15595         Also reset the ->current_* values in READY->PAUSED
15596
15597 2005-11-18  Andy Wingo  <wingo@pobox.com>
15598
15599         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15600         Whoops, check the right fd. Also add some debugging.
15601         (gst_net_client_clock_observe_times): Adjust for int64 offset.
15602         (do_linear_regression): Add a crapload of debugging. Subtract off
15603         the minimum values from the input series to discard unneeded bits.
15604         Use only int arithmetic. There is still double arithmetic when
15605         calculating the intercept that needs fixing. Return boolean to
15606         indicate success; FALSE would mean the domain or range is too
15607         great. Still needs fixes.
15608
15609 2005-11-18  Wim Taymans  <wim@fluendo.com>
15610
15611         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15612         For the current position in stream time, we need to subtract
15613         accumulated time.
15614         
15615         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15616         Release lock before calling the callback function of async
15617         entries.
15618
15619 2005-11-18  Andy Wingo  <wingo@pobox.com>
15620
15621         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15622         Port goes all the way to MAXUINT16.
15623
15624         * gst/net/gstnettimeprovider.c: Make the port range the same as
15625         for the kernel: 0 assigns, otherwise ports are less than
15626         MAXUINT16.
15627
15628         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15629         port change.
15630
15631         * check/net/gstnetclientclock.c (test_functioning): Add the start
15632         of another test. 
15633
15634 2005-11-18  Wim Taymans  <wim@fluendo.com>
15635
15636         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15637         (gst_bin_remove_func), (bin_bus_handler):
15638         * gst/gstbin.h:
15639         Removing a clock provider from a bin, triggers a clock lost message
15640         so that a new clock will be selected.
15641         Adding a clock to a bin triggers a clock provider message.
15642         Make sure we reselect a clock when we received a clock lost message.
15643         Keep a reference to the element that provided the clock.
15644
15645 2005-11-18  Andy Wingo  <wingo@pobox.com>
15646
15647         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15648         the clock initially so it produces values around the base time.
15649         (gst_net_client_clock_class_init): Typo fix.
15650         (gst_net_client_clock_thread): Add note on when the socket gets
15651         closed.
15652
15653 2005-11-17  Wim Taymans  <wim@fluendo.com>
15654
15655         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15656         Free remote and local time arrays.
15657
15658 2005-11-17  Wim Taymans  <wim@fluendo.com>
15659
15660         * gst/net/gstnetclientclock.c: (do_linear_regression),
15661         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15662         Fix compilation, uninitialized vars and a forgotten continue.
15663
15664 2005-11-17  Andy Wingo  <wingo@pobox.com>
15665
15666         * check/Makefile.am (check_PROGRAMS): 
15667         * check/net/gstnetclientclock.c: Add a most minimal test for the
15668         net client clock. More to come later.
15669
15670         * gst/net/gstnet.h: 
15671         * gst/net/Makefile.am: Add netclientclock.
15672
15673         * gst/net/gstnetclientclock.h:
15674         * gst/net/gstnetclientclock.c: New files, implement an untested
15675         GstClock that takes its time from a network time provider.
15676         Implements the algorithm in network-clock.scm.
15677
15678         * tests/network-clock.scm (*window-size*): Rename from
15679         *queue-length*.
15680         * tests/network-clock.scm (network-time): 
15681         * tests/network-clock-utils.scm (q-push): Update callers.
15682
15683 2005-11-17  Wim Taymans  <wim@fluendo.com>
15684
15685         * gst/gstbin.c: (gst_bin_provide_clock_func),
15686         (gst_bin_sort_iterator_new):
15687         And unref the child too..
15688
15689 2005-11-17  Wim Taymans  <wim@fluendo.com>
15690
15691         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15692         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15693         Refactor the sort iterator so it can be used while holding the
15694         LOCK too.
15695         Make clock selection select a clock closest to the source.
15696
15697 2005-11-17  Michael Smith <msmith@fluendo.com>
15698
15699         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15700         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15701         * gst/gstclock.h:
15702           Anonymous structs are a gcc (and some other compilers) extension, so
15703           don't use them. Since this is only for ABI-compatibility, and our
15704           API/ABI freeze is over in a few days, this whole thing will only
15705           last a few days, so don't bother trying to think up a meaningful
15706           name for the struct.
15707
15708 2005-11-17  Andy Wingo  <wingo@pobox.com>
15709
15710         * gst/gstclock.h (GstClock): Add rate and offset properties,
15711         preserving ABI stability. Add rate/offset accessors. Will file bug
15712         for the freeze break.
15713
15714         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15715         and offset, trying to keep precision and avoiding
15716         underflow/overflow.
15717         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15718         functions. Make gst_clock_set_time_adjust obsolete.
15719         (gst_clock_set_time_adjust): Note that this function is obsolete.
15720         Will file bug soon.
15721
15722         * gst/base/gstbasetransform.h: Make the ABI-stability hack
15723         greppable by using GST_PADDING-1+1.
15724
15725 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
15726
15727         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15728
15729         * gst/gstmessage.c: (gst_message_parse_clock_lost):
15730           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15731
15732         * gst/gstpadtemplate.h:
15733         * gst/gstpluginfeature.h:
15734           Don't use c++ style comments in headers (#321638).
15735
15736 2005-11-16  Andy Wingo  <wingo@pobox.com>
15737
15738         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15739         buffer.
15740
15741         * check/net/gstnettimeprovider.c: Check to see that the time
15742         provider actually provides times. Works, yo!
15743
15744 2005-11-16  Wim Taymans  <wim@fluendo.com>
15745
15746         * check/Makefile.am:
15747         Enable more tests.
15748
15749         * check/elements/fakesrc.c: (GST_START_TEST):
15750         Set element to NULL before disposing it.
15751
15752 2005-11-16  Andy Wingo  <wingo@pobox.com>
15753
15754         * gst/net/Makefile.am:
15755         * gst/net/gstnet.h:
15756         * gst/net/gstnettimeprovider.c: 
15757         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15758         provider, include it from gstnet.h, and add it to the build.
15759
15760         * gst/net/gstnettimepacket.h: 
15761         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15762         sending and receiving.
15763
15764 2005-11-16  Wim Taymans  <wim@fluendo.com>
15765
15766         * check/Makefile.am:
15767         Enable valgrind check.
15768
15769         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15770         (gst_fake_src_alloc_buffer):
15771         Fix memleak.
15772
15773 2005-11-16  Wim Taymans  <wim@fluendo.com>
15774
15775         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15776         Call parent finalize too.
15777
15778 2005-11-16  Wim Taymans  <wim@fluendo.com>
15779
15780         * check/Makefile.am:
15781         Enable valgrind check that should work fine now.
15782
15783         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15784         * gst/gstqueue.c: (gst_queue_init):
15785         Fix memleaks in pad allocation.
15786
15787 2005-11-16  Andy Wingo  <wingo@pobox.com>
15788
15789         * gst/net/Makefile.am:
15790         * gst/net/gstnet.h: New part of core to hold network elements and
15791         objects. Put in core because it exposes API that applications want
15792         to use. The library is named libgstnet-tempname right now because
15793         of the existing libgstnet in gst-plugins-base. Solution is
15794         probably to rename the one in plugins-base; will file a bug for
15795         the freeze break.
15796
15797         * gst/net/gstnettimeprovider.c: 
15798         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15799         get_time call over the network.
15800
15801         * configure.ac: 
15802         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15803
15804         * check/Makefile.am:
15805         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15806         get additions shortly.
15807
15808 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15809
15810         * gst/gstpad.c: (gst_pad_new_from_static_template):
15811         * gst/gstpad.h:
15812           add gst_pad_new_from_static_template functions
15813         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15814         (gst_check_setup_sink_pad):
15815         * gst/elements/gsttee.c: (gst_tee_init):
15816           and use them
15817
15818 2005-11-16  Wim Taymans  <wim@fluendo.com>
15819
15820         * gst/gstpad.c: (gst_pad_pause_task):
15821         Removed warning, it's not really an error either.
15822
15823 2005-11-16  Wim Taymans  <wim@fluendo.com>
15824
15825         * gst/base/gstbasetransform.c:
15826         (gst_base_transform_prepare_output_buf),
15827         (gst_base_transform_event):
15828         Check if the caps are NULL, this can happen if the element
15829         is shutting down and the pad caps are set to NULL.
15830
15831 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15832
15833         * gst/elements/gsttee.c: (gst_tee_init):
15834           fix pad template leak in tee
15835
15836 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15837
15838         * gst/glib-compat.c: (g_value_dup_gst_object):
15839         * gst/glib-compat.h:
15840         * gst/gstpad.c: (gst_pad_set_property):
15841           use gst_object_ref when setting the pad template; this will
15842           trigger the pad template leaks on GLib 2.6 and the slaves
15843
15844 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15845
15846         * gst/glib-compat.c: (gst_flags_get_first_value):
15847         * gst/glib-compat.h:
15848         * gst/gstregistryxml.c:
15849           remove functions copied from GLib 2.6
15850
15851 2005-11-16  Michael Smith <msmith@fluendo.com>
15852
15853         * gst/Makefile.am:
15854           Don't link against VALGRIND_LIBS. That was always the wrong thing to
15855           do, but only breaks with newer valgrind versions. We're not a
15856           valgrind tool, we have no link-time dependencies on libcoregrind.
15857
15858 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15859
15860         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15861           some debug changes
15862         * gst/gstmessage.h:
15863           typo fixes
15864
15865 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15866
15867         * gst/base/gstbasesrc.c: (gst_base_src_init):
15868         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15869         * gst/gstqueue.c: (gst_queue_init):
15870         * gst/gstregistryxml.c: (load_feature):
15871           Revert all these unrefs, they don't even pass make check !
15872
15873 2005-11-15  Johan Dahlin  <johan@gnome.org>
15874
15875         * gst/base/gstbasesrc.c: (gst_base_src_init):
15876         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15877         * gst/gstqueue.c: (gst_queue_init): 
15878         Free pad templates, fixes a couple of leaks.
15879
15880 2005-11-15  Daniel Fischer  <dan at f3c dot com>
15881
15882         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15883
15884         * gst/gstpad.c: (gst_pad_get_property):
15885           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15886           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15887           (#321452)
15888
15889 2005-11-15  Wim Taymans  <wim@fluendo.com>
15890
15891         * gst/gstevent.c:
15892         Small doc update.
15893
15894 2005-11-15  Andy Wingo  <wingo@pobox.com>
15895
15896         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15897
15898         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15899         using GST_CLOCK_TIME_NONE to disable base time management.
15900         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15901         time if it was NONE before.
15902         (gst_pipeline_change_state): Only munge the base time if
15903         stream_time != GST_CLOCK_TIME_NONE.
15904
15905         * check/gst/gstpipeline.c (test_base_time): Punt around the
15906         problem of the probe not being called, because that's not the
15907         issue I'm looking at. Add a check that setting stream_time to NONE
15908         disables base time management.
15909         
15910 2005-11-15  Wim Taymans  <wim@fluendo.com>
15911
15912         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15913         segment_stop == -1 at startup.
15914
15915         * gst/base/gstbasetransform.c: (gst_base_transform_event),
15916         (gst_base_transform_change_state):
15917         Init segment values at start.
15918
15919 2005-11-15  Wim Taymans  <wim@fluendo.com>
15920
15921         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15922         0 segment values are 0 in any format.
15923
15924         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15925         * gst/base/gstbasetransform.h:
15926         Parse newsegment correctly in basetransform
15927
15928         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15929         Sync to clock using updated segment values.
15930
15931 2005-11-15  Andy Wingo  <wingo@pobox.com>
15932
15933         * check/gst/gstpipeline.c (test_base_time): Add check that the
15934         base time and stream time are reset correctly.
15935
15936 2005-11-15  Wim Taymans  <wim@fluendo.com>
15937
15938         * docs/design/part-TODO.txt:
15939         Some more TODO items.
15940
15941 2005-11-15  Andy Wingo  <wingo@pobox.com>
15942
15943         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15944         error if the user selected "no clock" as the clocking method.
15945
15946         * check/gst/gstpipeline.c (test_base_time): New test for buffer
15947         timestamps with live capture.
15948
15949         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15950         is 0 but we are a live source, timestamp the buffers using the
15951         element's clock.
15952
15953 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
15954
15955         * docs/gst/gstreamer-sections.txt:
15956         * gst/gsterror.c:
15957         * gst/gstghostpad.c:
15958         * gst/gstobject.h:
15959         * gst/gstxml.c:
15960           more section docs
15961
15962 2005-11-14  Wim Taymans  <wim@fluendo.com>
15963
15964         * common/gst.supp:
15965           add suppressions from Wim's Debian machine
15966
15967 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15968
15969         * common/gst.supp:
15970           add suppressions from Andy's AMD64 Ubuntu machine
15971
15972 2005-11-14  Andy Wingo  <wingo@pobox.com>
15973
15974         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15975         STATE_LOCK not necessary. Fixes #311489.
15976
15977         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15978         #305291.
15979
15980         * gst/gstindex.c (gst_index_add_object): Note in the docs that
15981         this function is not implemented.
15982
15983 2005-11-14  Julien MOUTTE  <julien@moutte.net>
15984
15985         * gst/base/gstbasetransform.c:
15986         (gst_base_transform_prepare_output_buf):
15987         Ref the source pad caps while we need them.
15988         Fixes (#321386)
15989
15990 2005-11-11  Wim Taymans  <wim@fluendo.com>
15991
15992         * docs/gst/gstreamer-sections.txt:
15993         Added some docs for GstCollectData.
15994
15995         * gst/base/gstadapter.c:
15996         Some small code example fix.
15997
15998         * gst/base/gstcollectpads.c:
15999         * gst/base/gstcollectpads.h:
16000         Document some more.
16001
16002 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16003
16004         * configure.ac: back to HEAD
16005
16006 === release 0.9.5 ===
16007
16008 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
16009
16010         * configure.ac:
16011           releasing 0.9.5, "Bike Lunch Day"
16012
16013 2005-11-11  Wim Taymans  <wim@fluendo.com>
16014
16015         * gst/gstbuffer.c: (_gst_buffer_copy):
16016         Copy more flags.
16017
16018         * gst/gstcaps.c: (gst_caps_is_equal):
16019         Fix some docs.
16020         Make _is_equal fast in the trivial cases.
16021
16022         * gst/gstminiobject.c:
16023         * gst/gstminiobject.h:
16024         More docs. Spifify .h file.
16025
16026         * gst/gstutils.c:
16027         Small doc update.
16028
16029 2005-11-11  Wim Taymans  <wim@fluendo.com>
16030
16031         * gst/base/gstbasetransform.c:
16032         (gst_base_transform_prepare_output_buf),
16033         (gst_base_transform_handle_buffer):
16034         Small cleanups.
16035         If we're processing a buffer and need to allocate an output
16036         buffer, we cannot accept a format change. If we did get a 
16037         format change, we have to alloc a buffer ourselves of the 
16038         right size.
16039
16040 2005-11-11  Wim Taymans  <wim@fluendo.com>
16041
16042         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
16043         While checking the flag for reentrancy in the gstcaps function
16044         is nice to detect recursive invocations, it also makes it 
16045         impossible to call getcaps from multiple threads, which must be
16046         possible. So, checking for recursive calls has to go.
16047
16048 2005-11-11  Michael Smith <msmith@fluendo.com>
16049
16050         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16051           Don't sync on buffers that fall partially outside our current
16052           segment. Prevents an assertion failure/abort playing some files.
16053
16054 2005-11-10  Andy Wingo  <wingo@pobox.com>
16055
16056         * check/gst/gstbin.c (test_message_state_changed_children): Style
16057         fix..
16058
16059         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
16060         gst_bus_poll with the signal watch. Ensures that poll and a signal
16061         watch see the same messages.
16062
16063         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
16064         a poll and a watch at the same time get the same messages.
16065
16066 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16067
16068         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
16069         * gst/gstcaps.c: (gst_caps_intersect):
16070           Don't call gst_caps_do_simplify - it doesn't respect order of caps
16071           and it's not needed.
16072
16073 2005-11-10  Wim Taymans  <wim@fluendo.com>
16074
16075         * docs/design/part-TODO.txt:
16076         Updated todo.
16077
16078 2005-11-10  Wim Taymans  <wim@fluendo.com>
16079
16080         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16081         * gst/base/gstbasesrc.c: (gst_base_src_wait),
16082         (gst_base_src_do_sync), (gst_base_src_get_range):
16083         Implement clock sync in base class.
16084
16085 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16086
16087         patch by: Tim-Philipp Müller <tim at centricular dot net>
16088
16089         * gst/gststructure.c: (gst_structure_parse_field),
16090         (gst_structure_from_string):
16091           Forward-port a 0.8 patch to handle escaped spaces in structure string,
16092           so that gst_parse_launch() can deal with spaces in filtered link
16093           caps (fixes #164479)
16094         * check/gst/capslist.h:
16095         * check/gst/gststructure.c: (GST_START_TEST):
16096           add unit tests for this change
16097
16098 2005-11-10  Wim Taymans  <wim@fluendo.com>
16099
16100         * docs/gst/gstreamer-sections.txt:
16101         * gst/gstelement.c:
16102         * gst/gstelement.h:
16103         Fix docs, move some STATE macros to private.
16104
16105 2005-11-10  Wim Taymans  <wim@fluendo.com>
16106
16107         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16108         Added check for bug #317341
16109
16110         * gst/gstbuffer.c:
16111         * gst/gstbuffer.h:
16112         Some more spiffifying.
16113
16114         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16115         Call peer linkfunction if we are a source pad. Totally fixes
16116         #317341
16117
16118         * gst/gstpad.c:
16119         Update docs, source pads should call the peer linkfunction
16120         so they can atomically perform the pad link.
16121
16122 2005-11-09  Wim Taymans  <wim@fluendo.com>
16123
16124         * gst/gstbuffer.c:
16125         * gst/gstbuffer.h:
16126         Uber-spiffy-spiffify some more.
16127
16128 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
16129
16130         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16131         * gst/elements/gstfilesink.c: (gst_file_sink_init):
16132         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16133         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16134         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16135         * gst/gstpad.c: (gst_pad_init):
16136           Use GST_DEBUG_FUNCPTR() more extensively.
16137
16138 2005-11-09  Wim Taymans  <wim@fluendo.com>
16139
16140         * gst/gstobject.c: (gst_object_class_init):
16141         * gst/gstobject.h:
16142         Documentation fixes.
16143
16144 2005-11-09  Edward Hervey  <edward@fluendo.com>
16145
16146         * gst/gsttypefindfactory.c:
16147         Fix docs.
16148         
16149 2005-11-09  Edward Hervey  <edward@fluendo.com>
16150
16151         * gst/base/gsttypefindhelper.c:
16152         * gst/gsttypefind.c:
16153         * gst/gsttypefind.h:
16154         Fix docs.
16155
16156 2005-11-09  Wim Taymans  <wim@fluendo.com>
16157
16158         * gst/gstiterator.c:
16159         Fix revision data.
16160
16161         * gst/gsttask.c:
16162         * gst/gsttask.h:
16163         Fix docs.
16164
16165 2005-11-09  Wim Taymans  <wim@fluendo.com>
16166
16167         * gst/gstevent.h:
16168         * gst/gsturi.h:
16169         Fix docs.
16170
16171 2005-11-09  Wim Taymans  <wim@fluendo.com>
16172
16173         * docs/gst/gstreamer-sections.txt:
16174         Moved the message async delivery private lock and cond
16175         to the private section.
16176
16177         * gst/gstmessage.c:
16178         * gst/gstmessage.h:
16179         Fixed docs.
16180
16181 2005-11-09  Edward Hervey  <edward@fluendo.com>
16182
16183         * docs/gst/gstreamer-sections.txt:
16184         * gst/gsturi.c:
16185         * gst/gsturi.h:
16186         Document GstURIHandler
16187
16188 2005-11-09  Wim Taymans  <wim@fluendo.com>
16189
16190         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16191         (gst_iterator_find_custom):
16192         * gst/gstiterator.h:
16193         Fix iterator docs.
16194
16195 2005-11-09  Wim Taymans  <wim@fluendo.com>
16196
16197         * gst/gstbin.h:
16198         Document another field.
16199
16200         * gst/gststructure.c:
16201         * gst/gststructure.h:
16202         Document.
16203
16204 2005-11-09  Wim Taymans  <wim@fluendo.com>
16205
16206         * gst/gstbin.h:
16207         Documented structs.
16208
16209 2005-11-09  Wim Taymans  <wim@fluendo.com>
16210
16211         * docs/gst/gstreamer-sections.txt:
16212         Added some new macros.
16213
16214         * gst/gstclock.c:
16215         * gst/gstclock.h:
16216         * gst/gstobject.h:
16217         Docs updates.
16218
16219 2005-11-09  Wim Taymans  <wim@fluendo.com>
16220
16221         * docs/design/part-TODO.txt:
16222         Some more items for the TODO
16223
16224         * gst/gstcaps.c:
16225         * gst/gstcaps.h:
16226         Document GstCaps.
16227
16228 2005-11-09  Andy Wingo  <wingo@pobox.com>
16229
16230         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16231         to work on something else now tho...
16232
16233         * gst/base/gstadapter.c: More adapter docs.
16234
16235         * gst/elements/gstfilesink.c (gst_file_sink_start) 
16236         (gst_file_sink_stop): New functions, replace the state change
16237         handler.
16238         (gst_file_sink_class_init): Hook up the start and stop functions.
16239         (gst_file_sink_base_init): Don't set the state change handler any
16240         more. It was a bit ugly too, being set from here...
16241         (gst_file_sink_get_property, gst_file_sink_set_property):
16242         Cleanups...
16243         (gst_file_sink_set_location): More robust check that doesn't call
16244         GST_STATE. Ugggggg.
16245
16246 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
16247
16248         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16249           Hold STREAM_LOCK while pushing newsegment or tag events as well.
16250
16251 2005-11-08  Wim Taymans  <wim@fluendo.com>
16252
16253         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16254         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16255         (gst_base_sink_chain), (gst_base_sink_change_state):
16256         * gst/base/gstbasesink.h:
16257         * gst/base/gstbasesrc.h:
16258         * gst/gstelement.h:
16259         * gst/gstevent.h:
16260         Avoid excessive typechecking in macros.
16261
16262         * gst/gstminiobject.c: (gst_mini_object_get_type),
16263         (gst_mini_object_init), (gst_mini_object_new),
16264         (gst_mini_object_free):
16265         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16266         (gst_object_finalize):
16267         Remove cruft code, optimize alloc_trace.
16268
16269 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16270
16271         * docs/faq/gst-uninstalled:
16272           fix up PS1 for systems that try to reset it
16273
16274 2005-11-07  Wim Taymans  <wim@fluendo.com>
16275
16276         * gst/base/gstbasesrc.c: (gst_base_src_init),
16277         (gst_base_src_get_range):
16278         Set the segment_end to -1 initially. Fixed typefind.
16279
16280 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
16281
16282         * gst/base/gstadapter.c:
16283           Debug category should be 'adapter', not 'GstAdapter'.
16284           
16285         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16286         (gst_collectpads_class_init), (gst_collectpads_init),
16287         (gst_collectpads_peek), (gst_collectpads_pop),
16288         (gst_collectpads_event), (gst_collectpads_chain):
16289           Add debug category and some debugging output. Use boilerplate
16290           macros. Remove some extraneous words from docs.
16291
16292 2005-11-05  Andy Wingo  <wingo@pobox.com>
16293
16294         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16295         macro.
16296
16297 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16298
16299         * docs/gst/gstreamer-sections.txt:
16300         * gst/gstcaps.h:
16301         * gst/gstinfo.c:
16302         * gst/gstminiobject.h:
16303         * gst/gstobject.h:
16304         * gst/gstutils.h:
16305           more docs added
16306
16307 2005-11-04  Wim Taymans  <wim@fluendo.com>
16308
16309         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16310         Small update to stop at the configured segment_end
16311         position.
16312
16313 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16314
16315         * gst/gstregistry.c:
16316         * gst/gstregistry.h:
16317           added missing docs
16318
16319 2005-11-04  Edward Hervey  <edward@fluendo.com>
16320
16321         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16322         Check if we are doing a segment seek and have arrived at the
16323         end of that segment.
16324
16325 2005-11-04  Wim Taymans  <wim@fluendo.com>
16326
16327         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16328         Don't leak a mutex unlock in case of an error.
16329
16330         * gst/gstbus.h:
16331         Doc fixes.
16332
16333 2005-11-04  Wim Taymans  <wim@fluendo.com>
16334
16335         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16336         (gst_bus_post):
16337         Get the context to wake up only once.
16338
16339 2005-11-03  Wim Taymans  <wim@fluendo.com>
16340
16341         * check/states/sinks.c: (GST_START_TEST):
16342         Uncomment fixed check.
16343
16344         * docs/design/part-TODO.txt:
16345         Updated TODO.
16346
16347         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16348         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16349         (gst_base_sink_get_position):
16350         If we are going to PLAYING, post the right pending state
16351         when we post the intermediate paused message.
16352
16353         * gst/gstelement.c: (gst_element_continue_state),
16354         (gst_element_set_state_func), (gst_element_change_state):
16355         Don't post state changes that were between the same state
16356         and were not ASYNC.
16357
16358 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16359
16360         * docs/gst/gstreamer-sections.txt:
16361         * gst/gstcaps.h:
16362         * gst/gstinfo.c:
16363         * gst/gstminiobject.h:
16364         * gst/gstobject.h:
16365         * gst/gstutils.h:
16366           more docs and doc style fixes
16367
16368 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16369
16370         * docs/gst/gstreamer-sections.txt:
16371         * gst/gstelement.c:
16372         * gst/gstminiobject.c:
16373         doc fixes
16374
16375 2005-11-03  Andy Wingo  <wingo@pobox.com>
16376
16377         * check/states/sinks.c (test_livesrc_sink): Add checks that the
16378         state-changed messages actually have the right order and the right
16379         values.
16380
16381 2005-11-03  Wim Taymans  <wim@fluendo.com>
16382
16383         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16384         Added some more checks. Specifically the case where NO_PREROLL
16385         elements are in the pipeline.
16386
16387         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16388         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16389         (gst_base_sink_get_position):
16390         Post READY->PAUSED state change messages too.
16391         Fix bug where VOID was posted as pending state...
16392
16393         * gst/gstbin.c: (gst_bin_recalc_state):
16394         use _element_continue_state() to continue the state change.
16395
16396         * gst/gstelement.c: (gst_element_continue_state),
16397         (gst_element_commit_state), (gst_element_set_state_func),
16398         (gst_element_change_state), (gst_element_change_state_func):
16399         Lots of state change cleanups, assign the STATE_RETURN in
16400         a new continue_state() function that also propagates the
16401         last return value from a state change to the app.
16402         Update some debug statements with proper category.
16403
16404 2005-11-03  Wim Taymans  <wim@fluendo.com>
16405
16406         * docs/design/part-events.txt:
16407         * docs/design/part-gstpipeline.txt:
16408         * docs/design/part-messages.txt:
16409         * docs/design/part-overview.txt:
16410         * docs/design/part-seeking.txt:
16411         * docs/design/part-states.txt:
16412         * docs/design/part-trickmodes.txt:
16413         * docs/manual/advanced-position.xml:
16414         Small docs updates.
16415
16416         * gst/gstobject.h:
16417         People think !! is ugly, this looks better.
16418
16419         * gst/gstpad.c: (gst_pad_set_blocked_async):
16420         Remove !! since it's fixed elsewhere now.
16421
16422 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16423
16424         * gst/gstminiobject.h:
16425         * gst/gstobject.h:
16426           Add !! to _FLAG_IS_SET macros to make the result boolean.
16427
16428 2005-11-03  Edward Hervey  <edward@fluendo.com>
16429
16430         * gst/gstpad.c: (gst_pad_set_blocked_async):
16431         comparing a flag and a gboolean rarely returns coherent results...
16432         Added two characters (!!) to make that work correctly.
16433         
16434 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16435
16436         * gst/gstbus.c: (gst_bus_class_init):
16437           Fix some typos.
16438           
16439         * gst/gstqueue.c: (gst_queue_loop):
16440           Don't assume a miniobject that isn't a buffer is an
16441           event (it could be that there is a refcounting
16442           problem somewhere and the pointer is stale and
16443           refers to an already destroyed miniobject).
16444
16445 2005-11-03  Julien MOUTTE  <julien@moutte.net>
16446
16447         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16448
16449 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16450
16451         * docs/manual/advanced-position.xml:
16452           Update seek example and explanations to current 0.9 API.
16453
16454         * gst/elements/gsttypefindelement.c:
16455         (gst_type_find_element_activate):
16456           Remove FIXME comment now that the found caps
16457           are unreffed.
16458
16459 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16460
16461         * gst/gstregistryxml.c: (load_feature):
16462           Add another GST_STR_NULL instance
16463
16464 2005-11-02  Edward Hervey  <edward@fluendo.com>
16465
16466         * gst/gstpad.c: (handle_pad_block):
16467         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16468         
16469 2005-11-02  Wim Taymans  <wim@fluendo.com>
16470
16471         * gst/gstbin.c:
16472         Fix typo in docs.
16473
16474         * gst/gstelement.c: (gst_element_commit_state):
16475         Remove unused value.
16476
16477         * gst/gstiterator.c:
16478         Mention that the returned element is reffed in the docs.
16479
16480 2005-11-02  Wim Taymans  <wim@fluendo.com>
16481
16482         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16483         (gst_pad_push), (gst_pad_push_event):
16484         Unlock blocked pads when they are flushed.
16485
16486 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16487
16488         * docs/README:
16489         * docs/gst/gstreamer-sections.txt:
16490         * gst/gstbin.c:
16491           doc updates
16492         * gst/gstregistry.c: (gst_registry_scan_path_level):
16493           fix for a nasty little missed situation where an installed plug-in
16494           which was in the cache did not get overridden by an uninstalled one
16495           which was earlier in the plugin path because the newly created plugin
16496           for the uninstalled one (not in the registry) didn't get its
16497           ->registered set to TRUE
16498
16499 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16500
16501         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16502         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16503         (gst_collectpads_is_active), (gst_collectpads_collect),
16504         (gst_collectpads_collect_range), (gst_collectpads_start),
16505         (gst_collectpads_stop), (gst_collectpads_peek),
16506         (gst_collectpads_pop), (gst_collectpads_available),
16507         (gst_collectpads_read), (gst_collectpads_flush):
16508           Guard public API with assertions.
16509         
16510         * gst/gstpad.c:
16511           Fix docs for gst_pad_set_link_function().
16512
16513 2005-11-02  Johan Dahlin  <johan@gnome.org>
16514
16515         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
16516         Unref found_caps after we used it.
16517
16518 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16519
16520         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16521           Don't try to ref NULL.
16522
16523 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16524
16525         * win32/common/config.h.in:
16526           provide a GST_FUNCTION that just gives a string for now
16527
16528 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16529
16530         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16531         (gst_object_flags_get_type), (register_gst_bin_flags),
16532         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16533         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16534         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16535         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16536         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16537         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16538         (gst_clock_flags_get_type), (register_gst_state),
16539         (gst_state_get_type), (register_gst_state_change_return),
16540         (gst_state_change_return_get_type), (register_gst_state_change),
16541         (gst_state_change_get_type), (register_gst_element_flags),
16542         (gst_element_flags_get_type), (register_gst_core_error),
16543         (gst_core_error_get_type), (register_gst_library_error),
16544         (gst_library_error_get_type), (register_gst_resource_error),
16545         (gst_resource_error_get_type), (register_gst_stream_error),
16546         (gst_stream_error_get_type), (register_gst_event_type),
16547         (gst_event_type_get_type), (register_gst_seek_type),
16548         (gst_seek_type_get_type), (register_gst_seek_flags),
16549         (gst_seek_flags_get_type), (register_gst_format),
16550         (gst_format_get_type), (register_gst_index_certainty),
16551         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16552         (gst_index_entry_type_get_type),
16553         (register_gst_index_lookup_method),
16554         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16555         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16556         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16557         (gst_index_flags_get_type), (register_gst_debug_level),
16558         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16559         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16560         (gst_iterator_result_get_type), (register_gst_iterator_item),
16561         (gst_iterator_item_get_type), (register_gst_message_type),
16562         (gst_message_type_get_type), (register_gst_mini_object_flags),
16563         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16564         (gst_pad_link_return_get_type), (register_gst_flow_return),
16565         (gst_flow_return_get_type), (register_gst_activate_mode),
16566         (gst_activate_mode_get_type), (register_gst_pad_direction),
16567         (gst_pad_direction_get_type), (register_gst_pad_flags),
16568         (gst_pad_flags_get_type), (register_gst_pad_presence),
16569         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16570         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16571         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16572         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16573         (gst_plugin_flags_get_type), (register_gst_rank),
16574         (gst_rank_get_type), (register_gst_query_type),
16575         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16576         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16577         (gst_tag_flag_get_type), (register_gst_task_state),
16578         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16579         (gst_alloc_trace_flags_get_type),
16580         (register_gst_type_find_probability),
16581         (gst_type_find_probability_get_type), (register_gst_uri_type),
16582         (gst_uri_type_get_type), (register_gst_parse_error),
16583         (gst_parse_error_get_type):
16584         * win32/common/gstversion.h:
16585           update win32 copies
16586
16587 2005-11-01  Luca Ognibene  <luogni@tin.it>
16588
16589         * gst/gst.c:
16590           fix docs. popt is dead, long live GOption.
16591
16592 2005-10-31  Wim Taymans  <wim@fluendo.com>
16593
16594         * gst/gstbuffer.h:
16595         Small doc fix.
16596
16597 2005-10-31  Andy Wingo  <wingo@pobox.com>
16598
16599         * Boo!
16600
16601         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16602
16603         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16604         need to serialize property notifications on GLib 2.8. GLib 2.6 has
16605         the possibility of deadlocks here if code calling notify() or
16606         set() has a lock that can be taken in another notify handler (ABBA
16607         with class lock and e.g. python GIL state lock).
16608
16609 2005-10-28  Julien MOUTTE  <julien@moutte.net>
16610
16611         * gst/gstbus.c: Doc updates.
16612
16613 2005-10-28  Wim Taymans  <wim@fluendo.com>
16614
16615         * docs/design/part-TODO.txt:
16616         * gst/gstiterator.c:
16617         * gst/gstsystemclock.c:
16618         * gst/gstsystemclock.h:
16619         Doc updates.
16620
16621 2005-10-28  Edward Hervey  <edward@fluendo.com>
16622
16623         * docs/gst/gstreamer-docs.sgml:
16624         * docs/gst/gstreamer-sections.txt:
16625         the GstURIType documentation page is private, it only defines GstURIType
16626         which should be defined in the GstURIHandler page
16627         
16628 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16629
16630         * gst/gstbin.c: (gst_bin_class_init):
16631         * gst/gstbin.h:
16632         * gst/gstutils.c:
16633         Documentation updates.
16634
16635 2005-10-28  Wim Taymans  <wim@fluendo.com>
16636
16637         * docs/gst/gstreamer-sections.txt:
16638         * gst/gstclock.c:
16639         * gst/gstclock.h:
16640         Documented the clocks.
16641
16642 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
16643
16644         * docs/gst/gstreamer-sections.txt:
16645           move some macros to private sections
16646         * gst/gstminiobject.c:
16647         * gst/gstminiobject.h:
16648           add descriptions provided by ds and some more
16649         * gst/gstpad.h:
16650           mark macro as to be removed
16651
16652 2005-10-28  Wim Taymans  <wim@fluendo.com>
16653
16654         * docs/design/part-TODO.txt:
16655         Add an item to TODO.
16656
16657         * gst/gstiterator.c: (gst_iterator_fold),
16658         (gst_iterator_find_custom):
16659         * gst/gstiterator.h:
16660         Add iterator docs.
16661
16662 2005-10-28  Wim Taymans  <wim@fluendo.com>
16663
16664         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16665         (gst_base_transform_init):
16666         Don't leak class.
16667
16668         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16669         An EOS event marks the queue as completely filled.
16670
16671 2005-10-27  Wim Taymans  <wim@fluendo.com>
16672
16673         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16674         (gst_base_sink_do_sync), (gst_base_sink_get_position):
16675         Some more debugging.
16676
16677         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16678         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16679         (gst_base_transform_event), (gst_base_transform_getrange),
16680         (gst_base_transform_chain):
16681         * gst/base/gstbasetransform.h:
16682         Fix debugging,
16683         Protect transform and concurrent buffer alloc with a new lock.
16684         Try not to break ABI/API.
16685
16686 2005-10-27  Wim Taymans  <wim@fluendo.com>
16687
16688         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16689         (gst_base_src_init), (gst_base_src_query),
16690         (gst_base_src_default_newsegment),
16691         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16692         (gst_base_src_send_event), (gst_base_src_event_handler),
16693         (gst_base_src_pad_get_range), (gst_base_src_loop),
16694         (gst_base_src_unlock), (gst_base_src_default_negotiate),
16695         (gst_base_src_start), (gst_base_src_deactivate),
16696         (gst_base_src_activate_push), (gst_base_src_change_state):
16697         Move some stuff around and cleanup things.
16698
16699 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
16700
16701         * gst/base/gstbasesrc.c: (gst_base_src_query):
16702           Add missing break statements.
16703
16704 2005-10-27  Wim Taymans  <wim@fluendo.com>
16705
16706         * check/gst/gstbin.c: (GST_START_TEST):
16707         An extra refcount is taken in basesrc.
16708
16709         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16710         (gst_base_src_get_range), (gst_base_src_pad_get_range),
16711         (gst_base_src_loop):
16712         Small cleanups, check for flushing after being unlocked from the 
16713         LIVE_LOCK. take refcounts correctly (not yet everywhere).
16714         Don't send out EOS when going to READY.
16715
16716 2005-10-27  Wim Taymans  <wim@fluendo.com>
16717
16718         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16719         (gst_base_sink_get_position):
16720         Some more debug.
16721
16722         * gst/gstbin.c: (message_check), (bin_replace_message),
16723         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16724         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16725         (bin_query_duration_init), (bin_query_duration_fold),
16726         (bin_query_duration_done), (bin_query_generic_fold),
16727         (gst_bin_query):
16728         * tools/gst-launch.c: (main):
16729         Remove old option.
16730
16731 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
16732
16733         * examples/controller/audio-example.c: (main):
16734         * examples/queue/queue.c: (event_loop):
16735         * gst/base/gstbasetransform.h:
16736         * gst/gstelement.c: (gst_element_send_event):
16737         * gst/gstevent.h:
16738         * gst/gstpad.c: (gst_pad_send_event):
16739           fixing examples
16740           fixing docs typos
16741           changing log priority in error situations
16742
16743 2005-10-25  Wim Taymans  <wim@fluendo.com>
16744
16745         * gst/gstbin.c: (message_check), (bin_replace_message),
16746         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16747         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16748         (bin_query_duration_init), (bin_query_duration_fold),
16749         (bin_query_duration_done), (bin_query_generic_fold),
16750         (gst_bin_query):
16751         Some doc and debug updates.
16752         Cache previously requested query DURATION for speed. invalidate
16753         cached duration if element posts a DURATION message.
16754
16755 2005-10-25  Wim Taymans  <wim@fluendo.com>
16756
16757         * docs/design/part-TODO.txt:
16758         Update TODO.
16759
16760         * gst/gstbin.c: (message_check), (bin_replace_message),
16761         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16762         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16763         (bin_query_duration_init), (bin_query_duration_fold),
16764         (bin_query_duration_done), (bin_query_generic_fold),
16765         (gst_bin_query):
16766         Handle SEGMENT_START/DONE messages correctly.
16767         More evolved query algorithm that handles duration queries
16768         correctly.
16769
16770         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16771         (gst_element_get_state_func), (gst_element_abort_state),
16772         (gst_element_commit_state), (gst_element_lost_state):
16773         Some more debugging.
16774
16775         * gst/gstmessage.h:
16776         Added doc.
16777
16778 2005-10-25  Wim Taymans  <wim@fluendo.com>
16779
16780         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16781         Don't use invalid stream_time.
16782
16783         * gst/gstevent.c: (gst_event_new_newsegment):
16784         stream_time in newsegment cannot be undefined.
16785
16786 2005-10-24  Wim Taymans  <wim@fluendo.com>
16787
16788         * gst/gstbus.c:
16789         Doc fix.
16790
16791         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16792         (gst_queue_loop):
16793         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16794
16795 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
16796
16797         * docs/libs/tmpl/gstdparam.sgml:
16798         * docs/libs/tmpl/gstdplinint.sgml:
16799         * docs/libs/tmpl/gstdpman.sgml:
16800         * docs/libs/tmpl/gstdpsmooth.sgml:
16801         * docs/libs/tmpl/gstunitconvert.sgml:
16802           these are obsolete
16803
16804 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16805
16806         * configure.ac:
16807           back to HEAD
16808
16809 === release 0.9.4 ===
16810
16811 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16812
16813         * configure.ac:
16814           releasing 0.9.4, "Tyrannosaurus Rex"
16815
16816 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
16817
16818         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16819         (gst_file_sink_get_current_offset):
16820           Use fseeko() and ftello() if available. When falling back on
16821           lseek() to get the current offset, fflush() first to make sure
16822           everything is up-to-date and we get the right offset.
16823
16824 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16825
16826         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16827         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16828         * gst/gsterror.c: (_gst_stream_errors_init):
16829         * gst/gsterror.h:
16830         * gst/gstqueue.c: (gst_queue_loop):
16831         * po/POTFILES.in:
16832           remove prematurely added error category and clean up the instances
16833
16834 2005-10-21  Wim Taymans  <wim@fluendo.com>
16835
16836         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16837         (gst_base_sink_get_position), (gst_base_sink_query),
16838         (gst_base_sink_change_state):
16839         Simply set the right flag when going to playing, that's all
16840         we need to do instead of calling a function inside the object
16841         lock (that could take the lock as well and deadlock)
16842
16843 2005-10-21  Wim Taymans  <wim@fluendo.com>
16844
16845         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16846         (gst_base_src_loop):
16847         Don't warn, the peer element knows what to do best when
16848         the seek failed, it might try something else.
16849
16850 2005-10-21  Wim Taymans  <wim@fluendo.com>
16851
16852         * gst/base/gstbasesrc.c: (gst_base_src_init),
16853         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16854         Fix seeking.
16855
16856 2005-10-21  Wim Taymans  <wim@fluendo.com>
16857
16858         * docs/design/part-segments.txt:
16859         More docs.
16860
16861         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16862         Correctly set caps, even on the subbufer.
16863
16864 2005-10-21  Wim Taymans  <wim@fluendo.com>
16865
16866         * docs/gst/gstreamer-docs.sgml:
16867         * docs/gst/gstreamer-sections.txt:
16868         * gst/gstelement.h:
16869         * gst/gstevent.c:
16870         * gst/gstevent.h:
16871         * gst/gstmessage.h:
16872         * gst/gstpad.h:
16873         * gst/gstparse.h:
16874         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16875         * gst/gsttask.h:
16876         * gst/gstutils.c:
16877         * gst/gstutils.h:
16878         And 2% more doc coverage.
16879
16880 2005-10-21  Andy Wingo  <wingo@pobox.com>
16881
16882         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16883         position reporting.
16884
16885 2005-10-20  Wim Taymans  <wim@fluendo.com>
16886
16887         * gst/gsterror.c: (gst_error_get_message):
16888         * gst/gstparse.h:
16889         * gst/gstquery.h:
16890         * gst/gststructure.c:
16891         * gst/gsttrace.c:
16892         * gst/gstutils.c:
16893         More docs.
16894
16895 2005-10-20  Wim Taymans  <wim@fluendo.com>
16896
16897         * gst/gstbuffer.h:
16898         * gst/gstpad.c:
16899         * gst/gstparse.c:
16900         Another 1% more coverage.
16901
16902 2005-10-20  Wim Taymans  <wim@fluendo.com>
16903
16904         * docs/gst/gstreamer-sections.txt:
16905         * gst/gstelement.c: (gst_element_get_state_func),
16906         (gst_element_abort_state), (gst_element_commit_state),
16907         (gst_element_lost_state):
16908         * gst/gstevent.h:
16909         * gst/gstquery.c: (gst_query_set_position),
16910         (gst_query_parse_position), (gst_query_set_duration),
16911         (gst_query_parse_duration), (gst_query_new_convert):
16912         * gst/gstutils.c:
16913         Yay! 1% more docs coverage.
16914
16915 2005-10-20  Wim Taymans  <wim@fluendo.com>
16916
16917         * gst/gstpad.h:
16918         * gst/gstquery.c: (gst_query_set_position),
16919         (gst_query_parse_position), (gst_query_set_duration),
16920         (gst_query_parse_duration), (gst_query_new_convert):
16921         * gst/gstquery.h:
16922         * gst/gstutils.c: (gst_element_query_convert):
16923         * gst/gstutils.h:
16924         Docs and consistency fixes.
16925
16926 2005-10-20  Wim Taymans  <wim@fluendo.com>
16927
16928         * gst/gsttask.c:
16929         * gst/gsttask.h:
16930         More docs.
16931
16932 2005-10-20  Wim Taymans  <wim@fluendo.com>
16933
16934         * gst/gstbin.c: (message_check), (bin_replace_message),
16935         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16936         (update_degree), (gst_bin_sort_iterator_next),
16937         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16938         Reworked the message handling a bit, cache the messages instead of
16939         only the senders. alows us to do more in the future.
16940
16941 2005-10-20  Wim Taymans  <wim@fluendo.com>
16942
16943         * docs/design/part-TODO.txt:
16944         Update TODO
16945
16946         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16947         (gst_base_sink_query):
16948         Don't use clock time to report position when in EOS.
16949
16950 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
16951
16952         * tools/gst-inspect.c: (print_interfaces),
16953         (print_element_properties_info), (print_element_info):
16954           Fix interface output with gst-inspect -a; don't print
16955           newlines after double/float properties.
16956
16957 2005-10-20  Wim Taymans  <wim@fluendo.com>
16958
16959         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16960         (gst_base_sink_query):
16961         Speed up current position calculation.
16962
16963         * gst/base/gstbasesrc.c: (gst_base_src_query),
16964         (gst_base_src_default_newsegment):
16965         Correctly set stream position in newsegment.
16966
16967         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16968         (update_degree), (gst_bin_sort_iterator_next),
16969         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16970         * gst/gstmessage.c: (gst_message_new_custom):
16971         Clean up debugging info
16972
16973         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16974         (gst_queue_loop), (gst_queue_handle_src_query):
16975         Pause task faster.
16976
16977 2005-10-19  Wim Taymans  <wim@fluendo.com>
16978
16979         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16980         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16981         Fix query handling again.
16982
16983 2005-10-19  Wim Taymans  <wim@fluendo.com>
16984
16985         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16986         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16987         * gst/base/gstbasesrc.c: (gst_base_src_query):
16988         * gst/elements/gstfilesink.c: (gst_file_sink_query):
16989         * gst/elements/gsttypefindelement.c:
16990         (gst_type_find_handle_src_query), (find_element_get_length),
16991         (gst_type_find_element_activate):
16992         API change fix.
16993
16994         * gst/gstquery.c: (gst_query_new_position),
16995         (gst_query_set_position), (gst_query_parse_position),
16996         (gst_query_new_duration), (gst_query_set_duration),
16997         (gst_query_parse_duration), (gst_query_set_segment),
16998         (gst_query_parse_segment):
16999         * gst/gstquery.h:
17000         Bundling query position/duration is not a good idea since duration
17001         does not change much and we don't want to recalculate it for every
17002         position query, so they are separated again..
17003         Base value in segment query is not needed.
17004
17005         * gst/gstqueue.c: (gst_queue_handle_src_query):
17006         * gst/gstutils.c: (gst_element_query_position),
17007         (gst_element_query_duration), (gst_pad_query_position),
17008         (gst_pad_query_duration):
17009         * gst/gstutils.h:
17010         Updates for query API change.
17011         Added some docs here and there.
17012
17013 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17014
17015         * check/gst/gstbin.c: (GST_START_TEST):
17016         * check/gst/gstghostpad.c: (GST_START_TEST):
17017         * check/pipelines/cleanup.c: (GST_START_TEST):
17018           wait on thread to die so we can check refcount correctly
17019
17020 2005-10-18  Wim Taymans  <wim@fluendo.com>
17021
17022         * check/pipelines/stress.c: (GST_START_TEST):
17023         Make check a little more time consuming.
17024
17025 2005-10-18  Wim Taymans  <wim@fluendo.com>
17026
17027         * check/Makefile.am:
17028         * check/pipelines/stress.c: (GST_START_TEST),
17029         (simple_launch_lines_suite), (main):
17030         Small state change torture test.
17031
17032         * docs/design/part-states.txt:
17033         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17034         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
17035         (gst_base_sink_change_state):
17036         Never take state lock from streaming thread, clean up ugly
17037         hacks. Unfortunatly core does not yet support nice ways to
17038         async commit state.
17039         
17040         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
17041         (bin_bus_handler):
17042         Start state recalc if a STATE_DIRTY message is posted, but only
17043         on the toplevel bin.
17044
17045         * gst/gstelement.c: (gst_element_sync_state_with_parent),
17046         (gst_element_get_state_func), (gst_element_abort_state),
17047         (gst_element_commit_state), (gst_element_lost_state),
17048         (gst_element_set_state_func), (gst_element_change_state):
17049         * gst/gstelement.h:
17050         State variables are now protected with the LOCK, the state
17051         lock is only used to serialize _set_state().
17052
17053 2005-10-18  Wim Taymans  <wim@fluendo.com>
17054
17055         * check/gst/gstbin.c: (GST_START_TEST):
17056         * check/gst/gstmessage.c: (GST_START_TEST):
17057         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17058         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
17059         (bin_bus_handler):
17060         * gst/gstelement.c: (gst_element_abort_state),
17061         (gst_element_commit_state), (gst_element_lost_state):
17062         * gst/gstmessage.c: (gst_message_new_state_changed),
17063         (gst_message_new_state_dirty), (gst_message_new_segment_start),
17064         (gst_message_new_segment_done), (gst_message_new_duration),
17065         (gst_message_parse_state_changed),
17066         (gst_message_parse_segment_start),
17067         (gst_message_parse_segment_done), (gst_message_parse_duration):
17068         * gst/gstmessage.h:
17069         * tools/gst-launch.c: (event_loop):
17070         Seriously, this is better than a previous commit as we only need
17071         to notify the fact that an element changed state in a streaming
17072         thread, marking the state of the parents dirty, hence the 
17073         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
17074         message.
17075
17076 2005-10-18  Wim Taymans  <wim@fluendo.com>
17077
17078         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
17079         (gst_bin_recalc_func):
17080         * gst/gstelement.c: (gst_element_set_clock),
17081         (gst_element_abort_state), (gst_element_lost_state):
17082         Cleanups, prepare for state change fixes.
17083
17084 2005-10-18  Wim Taymans  <wim@fluendo.com>
17085
17086         * gst/gstbin.h:
17087         * gst/gstelement.c: (gst_element_class_init),
17088         (gst_element_set_state), (gst_element_set_state_func):
17089         * gst/gstelement.h:
17090         Pending ABI changes.
17091         GThreadPool in GstBinClass to monitor async state changes.
17092         state_cookie in GstElement to detect concurrent gst/set state.
17093         set_state is now virtual too in case a very complicated element
17094         has to be constructed.
17095
17096 2005-10-18  Wim Taymans  <wim@fluendo.com>
17097
17098         * check/gst/gstbin.c: (GST_START_TEST):
17099         * check/gst/gstmessage.c: (GST_START_TEST):
17100         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17101         * gst/gstbin.c: (bin_bus_handler):
17102         * gst/gstelement.c: (gst_element_commit_state),
17103         (gst_element_lost_state):
17104         * gst/gstmessage.c: (gst_message_new_state_changed),
17105         (gst_message_new_segment_start), (gst_message_new_segment_done),
17106         (gst_message_new_duration), (gst_message_parse_state_changed),
17107         (gst_message_parse_segment_start),
17108         (gst_message_parse_segment_done), (gst_message_parse_duration):
17109         * gst/gstmessage.h:
17110         * tools/gst-launch.c: (event_loop):
17111         Make messages future proof.
17112         state-change gets a flag if it was a message comming from the
17113         streaming thread.
17114         segment-start/stop can also be specified in other formats.
17115         A message to notify an app that a pipeline changed playback 
17116         duration.
17117         Also fix a GstMessage leak in -launch
17118
17119 2005-10-18  Andy Wingo  <wingo@pobox.com>
17120
17121         * gst/gstelement.c (gst_element_dispose): More helpful message.
17122
17123 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17124
17125         reviewed by: <delete if not using a buddy>
17126
17127         * common/gtk-doc.mak:
17128
17129 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17130
17131         * gst/gstregistry.c: (gst_registry_scan_path_level):
17132           unref a plug-in we get that was already initialized
17133
17134 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
17135
17136         * docs/gst/gstreamer-sections.txt:
17137         * docs/libs/gstreamer-libs-sections.txt:
17138         * gst/gstelement.h:
17139           add new api entries
17140           hide internal macro
17141
17142 2005-10-17  Andy Wingo  <wingo@pobox.com>
17143
17144         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17145         cleanup.
17146
17147         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17148
17149         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17150
17151         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17152         (gst_element_get_state_func): Better debug message.
17153         (gst_element_commit_state): s/INFO/DEBUG/.
17154         (gst_element_lost_state, gst_element_change_state): 
17155
17156         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17157         (gst_message_new_custom): s/INFO/LOG/.
17158
17159 2005-10-17  Michael Smith <msmith@fluendo.com>
17160
17161         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17162           Check if end time is valid using end time, not start time.
17163
17164 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
17165
17166         * check/gst-libs/controller.c: (GST_START_TEST),
17167         (gst_controller_suite):
17168         * libs/gst/controller/gstcontroller.c:
17169         (gst_controlled_property_set_interpolation_mode):
17170         * libs/gst/controller/gstcontroller.h:
17171         * libs/gst/controller/gstinterpolation.c:
17172         * testsuite/controller/.cvsignore:
17173         * testsuite/controller/Makefile.am:
17174         * testsuite/controller/interpolator.c:
17175           merge controller testsuites
17176           fix broken tests
17177           remove mem-chunk from docs
17178
17179 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17180
17181         * gst/gstmemchunk.c:
17182         * gst/gstmemchunk.h:
17183         * gst/gsttrashstack.c:
17184         * gst/gsttrashstack.h:
17185           out.  get out.  you're fired.  to the Attic !
17186
17187 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17188
17189         * gst/gstcaps.c: (gst_caps_intersect):
17190           fix signedness issues in a (hopefully) correct way
17191         * gst/gstelement.c: (gst_element_pads_activate):
17192           some debugging
17193         * gst/gstobject.c: (gst_object_set_parent):
17194           some debugging
17195
17196 2005-10-17  Julien MOUTTE  <julien@moutte.net>
17197
17198         * gst/gstvalue.h: Fix prototypes.
17199
17200 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17201
17202         * docs/gst/gstreamer-sections.txt:
17203         * gst/gst.c: (gst_version_string):
17204         * gst/gst.h:
17205         * gst/gstversion.h.in:
17206         * win32/common/libgstreamer.def:
17207           add gst_version_string ()
17208
17209 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17210
17211         * configure.ac:
17212           clean up further
17213         * gst/gst.c: (init_post):
17214         * win32/common/config.h.in:
17215           it's PLUGINDIR now
17216         * gst/gstcaps.c: (gst_caps_intersect):
17217           use gint64, the range could be bigger than a guint
17218
17219 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17220
17221         * gst/gstclock.h:
17222           document potential problem in 2038
17223
17224 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17225
17226         * gst/gstcaps.c: (gst_caps_intersect):
17227           Fix guint j diving under 0
17228
17229 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17230
17231         * configure.ac:
17232         * win32/common/config.h:
17233         * win32/common/config.h.in:
17234           check for process.h, declares getpid() on Windows
17235         * gst/gstinfo.c:
17236           include process.h if we have it
17237         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17238         * gst/gstmemchunk.h:
17239           fix signedness issues
17240         * win32/common/libgstreamer.def:
17241           fix get_type's
17242
17243 2005-10-16  Julien MOUTTE  <julien@moutte.net>
17244
17245         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17246         fix. Because of unsigned ints, caps intersection was going nuts and
17247         trying to access structures with G_MAXUINT index. That fixes
17248         videotestsrc ! ffmpegcolorspace ! fakesink
17249         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17250         consistency.
17251
17252 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17253
17254         * configure.ac:
17255           use the gettext macro
17256         * gst/elements/gstelements.c:
17257         * gst/gst.c:
17258         * gst/indexers/gstindexers.c:
17259           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17260         * win32/common/config.h:
17261           updated config.h
17262         * win32/common/config.h.in:
17263           add the template to generate config.h
17264         * win32/common/gstenumtypes.c:
17265         * win32/common/gstversion.h:
17266           updated copies
17267
17268 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17269
17270         * gst/gst.c: (gst_version):
17271         * gst/gstversion.h.in:
17272           add the nano
17273
17274 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17275
17276         * gst/gstevent.h:
17277           Oops, add missing closing bracket.
17278
17279 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17280
17281         * configure.ac:
17282           use common m4's for argument checking
17283
17284 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17285
17286         * docs/gst/gstreamer-sections.txt:
17287         * gst/gstevent.h:
17288           Add GST_EVENT_TYPE_NAME() macro.
17289
17290 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17291
17292         * gst/gstinfo.c:
17293         * gst/gstpluginfeature.c:
17294         * gst/gsttask.c:
17295           privatize more symbols
17296
17297 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17298
17299         * configure.ac:
17300           add srcdir, builddir includes to GST_ALL_CFLAGS, since
17301           everything that uses GStreamer API should have the includes
17302
17303 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17304
17305         * docs/gst/gstreamer-sections.txt:
17306         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17307         * gst/gstvalue.h:
17308           give each value a _get_type, removes the DATA exports
17309
17310 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17311
17312         * gst/gst.c:
17313         * gst/gst.h:
17314           remove _gst_registry_auto_load, not used anymore
17315         * gst/gstbin.c: (gst_bin_get_type):
17316         * gst/gstbin.h:
17317         * gst/gstelement.c: (gst_element_get_type):
17318         * gst/gstelement.h:
17319         * gst/gstobject.c: (gst_object_get_type):
17320         * gst/gstobject.h:
17321         * gst/gstpad.c: (gst_pad_get_type):
17322         * gst/gstpad.h:
17323           make _get_type functions similar, fixes data export from library
17324
17325 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17326
17327         * configure.ac:
17328           correctly make conditionals
17329         * gst/elements/Makefile.am:
17330         * gst/elements/gstelements.c:
17331           fix typo causing fdsrc not to build
17332
17333 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17334
17335         * testsuite/Makefile.am:
17336         * testsuite/bytestream/.cvsignore:
17337         * testsuite/bytestream/Makefile.am:
17338         * testsuite/bytestream/filepadsink.c:
17339         * testsuite/bytestream/gstbstest.c:
17340         * testsuite/bytestream/test1.c:
17341         * testsuite/bytestream/testfile1:
17342         * testsuite/caps/normalisation.c:
17343         * testsuite/caps/random.c: (main):
17344         * testsuite/cleanup/.cvsignore:
17345         * testsuite/cleanup/Makefile.am:
17346         * testsuite/cleanup/cleanup1.c:
17347         * testsuite/cleanup/cleanup2.c:
17348         * testsuite/cleanup/cleanup3.c:
17349         * testsuite/cleanup/cleanup4.c:
17350         * testsuite/cleanup/cleanup5.c:
17351         * testsuite/controller/interpolator.c:
17352         * testsuite/debug/printf_extension.c: (main):
17353         * testsuite/elements/tee.c:
17354         * testsuite/negotiation/.cvsignore:
17355         * testsuite/negotiation/Makefile.am:
17356         * testsuite/negotiation/pad_link.c:
17357         * testsuite/pad/Makefile.am:
17358         * testsuite/pad/chainnopull.c:
17359         * testsuite/pad/getnopush.c:
17360         * testsuite/pad/link.c:
17361         * testsuite/refcounting/sched.c: (create_pipeline):
17362         * testsuite/registry/Makefile.am:
17363         * testsuite/registry/gst-print-formats.c:
17364         * testsuite/schedulers/.cvsignore:
17365         * testsuite/schedulers/142183-2.c:
17366         * testsuite/schedulers/142183.c:
17367         * testsuite/schedulers/143777-2.c:
17368         * testsuite/schedulers/143777.c:
17369         * testsuite/schedulers/147713.c:
17370         * testsuite/schedulers/147819.c:
17371         * testsuite/schedulers/147894-2.c:
17372         * testsuite/schedulers/147894.c:
17373         * testsuite/schedulers/Makefile.am:
17374         * testsuite/schedulers/group_link.c:
17375         * testsuite/schedulers/queue_link.c:
17376         * testsuite/schedulers/relink.c:
17377         * testsuite/schedulers/unlink.c:
17378         * testsuite/schedulers/unref.c:
17379         * testsuite/schedulers/useless_iteration.c:
17380         * testsuite/states/bin.c:
17381           clean out/remove some stuff from the testsuite directories
17382
17383 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17384
17385         * configure.ac:
17386           check for some headers
17387         * gst/elements/Makefile.am:
17388         * gst/elements/gstelements.c:
17389           don't compile fdsrc without sys/socket.h
17390         * gst/indexers/Makefile.am:
17391         * gst/indexers/gstindexers.c: (plugin_init):
17392           don't compile fileindex without mmap
17393
17394 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17395
17396         * configure.ac:
17397           reorganize
17398           clean up
17399           document more
17400           remove cruft
17401         * check/Makefile.am:
17402         * docs/gst/Makefile.am:
17403         * examples/helloworld/Makefile.am:
17404         * gst/Makefile.am:
17405         * gst/base/Makefile.am:
17406         * gst/check/Makefile.am:
17407         * gst/elements/Makefile.am:
17408         * gst/indexers/Makefile.am:
17409         * gst/parse/Makefile.am:
17410         * libs/gst/controller/Makefile.am:
17411         * libs/gst/dataprotocol/Makefile.am:
17412         * examples/helloworld/helloworld.c: (event_loop):
17413           compile fixes, though it's not being compiled currently
17414
17415 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17416
17417         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17418           Add some simple tests for the new taglist date API.
17419
17420 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17421
17422         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17423         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17424           Beautify 'last-message' output: print 'none' for buffer timestamps
17425           and durations if none is set; improve alignment with next messages.
17426
17427 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17428
17429         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17430         * gst/gstpluginfeature.h:
17431         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17432         * gst/gstregistry.h:
17433         * docs/gst/gstreamer-sections.txt:
17434           Add new API to check plugin feature version requirements.
17435
17436         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17437           Some basic tests for the above.         
17438
17439 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17440
17441         * gst/gststructure.c: (gst_structure_to_string):
17442           guard against NULL printf - happens when for example
17443           a message structure with GstClock gets serialized
17444
17445 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17446
17447         * gst/base/gstcollectpads.c: (gst_collectpads_event):
17448           Fix presumable copy'n'pasto.
17449
17450 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17451
17452         * gst/elements/gstfakesrc.h:
17453         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17454         * gst/elements/gsttypefindelement.c:
17455           fix some signedness
17456         * gst/elements/gstfilesink.c: (gst_file_sink_render):
17457           I wonder if this could actually write +2GB files before
17458
17459 2005-10-13  Andy Wingo  <wingo@pobox.com>
17460
17461         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17462         Fix Timmeke Waymans bug.
17463         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17464         string of the proper length to gst_caps_from_string. There's a
17465         potential for, before this fix, that this could cause someone
17466         connecting over the network to cause a segfault if the payload is
17467         not NUL-terminated.
17468
17469 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17470
17471         * docs/design/draft-push-pull.txt:
17472         * docs/design/part-overview.txt:
17473         * docs/random/TODO-pre-0.9:
17474         * docs/random/old/ChangeLog.gstreamer:
17475         * gst/base/gstpushsrc.c:
17476         * gst/gstclock.c:
17477           fixed typos
17478
17479 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17480
17481         * gst/glib-compat.c: (gst_flags_get_first_value):
17482         * gst/glib-compat.h:
17483         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17484         (gst_value_compare_double), (gst_value_serialize_flags):
17485           GLib 2.6 g_flags_get_first_value has a bug that triggers an
17486           infinite loop
17487
17488 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17489
17490         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17491         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17492           fix up debugging
17493         * tools/gst-launch.c: (event_loop):
17494           print out clock nicely
17495
17496 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17497
17498         * docs/gst/gstreamer-sections.txt:
17499         * gst/gsttaglist.h:
17500         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17501         (gst_tag_list_get_date_index):
17502           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17503           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17504
17505 2005-10-13  Julien MOUTTE  <julien@moutte.net>
17506
17507         * gst/base/gstcollectpads.c: (gst_collectpads_event),
17508         (gst_collectpads_chain):
17509         * gst/base/gstcollectpads.h: Handle newsegment and store informations
17510         in CollectData.
17511
17512 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17513
17514         * docs/gst/gstreamer-sections.txt:
17515         * gst/gst.c:
17516         * gst/gsterror.h:
17517         * tools/gst-inspect.c: (main):
17518         * tools/gst-launch.c: (main):
17519         * tools/gst-run.c: (main):
17520         * tools/gst-xmlinspect.c: (main):
17521           fix GOption context leaks
17522           doc fixes
17523
17524 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17525
17526         * gst/gstbus.c:
17527           use HAVE_UNISTD_H
17528         * win32/common/config.h:
17529           update config
17530         * win32/vs6/grammar.dsp:
17531         * win32/vs6/libgstelements.dsp:
17532         * win32/vs6/libgstreamer.dsp:
17533           update vs6 files
17534
17535 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17536
17537         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17538         * gst/base/gstbasesrc.c: (gst_base_src_query):
17539           fix more guint64<->gdouble conversions
17540
17541 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17542
17543         * Makefile.am:
17544           add win32-update target
17545         * win32/common/gstconfig.h:
17546         * win32/common/gstenumtypes.c:
17547         * win32/common/gstenumtypes.h:
17548         * win32/common/gstversion.h:
17549           add files that visual studio can't generate
17550
17551 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17552
17553         * Makefile.am:
17554           add a win32-update target
17555         * configure.ac:
17556
17557 2005-10-12  Wim Taymans  <wim@fluendo.com>
17558
17559         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17560         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17561         * gst/gstelement.c: (gst_element_commit_state),
17562         (gst_element_set_state):
17563         Protect flags with proper lock.
17564         unref provided cached clock in dispose.
17565
17566 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17567
17568         * gst/gst.c:
17569         * gst/gstminiobject.h:
17570         * gst/gstpad.h:
17571         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17572           removed unused flags from miniobject
17573           doc fixes
17574
17575 2005-10-12  Wim Taymans  <wim@fluendo.com>
17576
17577         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17578         (gst_file_sink_event), (gst_file_sink_render):
17579         Flush before seeking.
17580
17581 2005-10-12  Andy Wingo  <wingo@pobox.com>
17582
17583         * gst/gst.c (gst_init_check): Ignore unknown options, as has
17584         always been the case.
17585
17586 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17587
17588         * check/gst/gstbin.c: (GST_START_TEST):
17589         * docs/gst/gstreamer-sections.txt:
17590         * gst/base/gstbasesink.c: (gst_base_sink_init):
17591         * gst/base/gstbasesrc.c: (gst_base_src_init),
17592         (gst_base_src_get_range), (gst_base_src_check_get_range),
17593         (gst_base_src_start), (gst_base_src_stop):
17594         * gst/base/gstbasesrc.h:
17595         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17596         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17597         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17598         (bin_bus_handler):
17599         * gst/gstbin.h:
17600         * gst/gstbuffer.h:
17601         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17602         * gst/gstbus.h:
17603         * gst/gstelement.c: (gst_element_is_locked_state),
17604         (gst_element_set_locked_state), (gst_element_commit_state),
17605         (gst_element_set_state):
17606         * gst/gstelement.h:
17607         * gst/gstindex.c: (gst_index_init):
17608         * gst/gstindex.h:
17609         * gst/gstminiobject.h:
17610         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17611         (gst_object_set_parent):
17612         * gst/gstobject.h:
17613         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17614         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17615         * gst/gstpad.h:
17616         * gst/gstpadtemplate.h:
17617         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17618         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17619         * gst/gstpipeline.h:
17620         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17621         (gst_file_index_commit):
17622         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17623         * testsuite/pad/link.c: (gst_test_src_init),
17624         (gst_test_filter_init), (gst_test_sink_init):
17625         * testsuite/states/locked.c: (main):
17626           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17627           moved bitshift from macro to enum definition
17628
17629 2005-10-12  Wim Taymans  <wim@fluendo.com>
17630
17631         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17632         * gst/elements/gstfilesink.c: (gst_file_sink_event),
17633         (gst_file_sink_render):
17634         Some more debugging info.
17635
17636 2005-10-12  Wim Taymans  <wim@fluendo.com>
17637
17638         * docs/design/part-states.txt:
17639         * tools/gst-launch.c: (main):
17640         Some doc updates.
17641         Revert non-intentional change.
17642
17643 2005-10-12  Wim Taymans  <wim@fluendo.com>
17644
17645         * check/gst/gstbin.c: (GST_START_TEST):
17646         * check/gst/gstelement.c: (GST_START_TEST):
17647         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17648         * check/gst/gstghostpad.c: (GST_START_TEST):
17649         * check/gst/gstpipeline.c: (GST_START_TEST):
17650         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17651         * check/states/sinks.c: (GST_START_TEST):
17652         * gst/elements/gsttypefindelement.c: (stop_typefinding):
17653         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17654         (gst_bin_remove_func), (gst_bin_get_state_func),
17655         (gst_bin_recalc_state), (gst_bin_change_state_func),
17656         (bin_bus_handler):
17657         * gst/gstelement.c: (gst_element_get_state_func),
17658         (gst_element_get_state), (gst_element_abort_state),
17659         (gst_element_commit_state), (gst_element_set_state),
17660         (gst_element_change_state), (gst_element_change_state_func):
17661         * gst/gstelement.h:
17662         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17663         (gst_pipeline_provide_clock_func):
17664         * gst/gstutils.c: (gst_element_link_pads_filtered):
17665         * tools/gst-launch.c: (main):
17666         * tools/gst-typefind.c: (main):
17667         Use GstClockTime in _get_state() instead of GTimeVal.
17668         Remove old code in gstutils.c
17669
17670 2005-10-12  Andy Wingo  <wingo@pobox.com>
17671
17672         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17673         removed.
17674
17675         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17676         there is no task. Shouldn't affect any code, as nothing in our
17677         plugins checks this return value.
17678         (gst_pad_stop_task): Also take the stream lock if the pad has no
17679         task. Docs updated.
17680
17681 2005-10-12  Wim Taymans  <wim@fluendo.com>
17682
17683         * gst/gstpad.c: (pre_activate), (post_activate),
17684         (gst_pad_activate_pull), (gst_pad_activate_push):
17685         Cleanup activation code. Reset old state if
17686         activation failed.
17687
17688 2005-10-12  Wim Taymans  <wim@fluendo.com>
17689
17690         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17691         (gst_base_sink_change_state):
17692         No need to prerol after receiving EOS.
17693
17694         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17695         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17696         * gst/elements/gstidentity.c: (gst_identity_event):
17697         Print events more verbosely.
17698
17699 2005-10-12  Wim Taymans  <wim@fluendo.com>
17700
17701         * check/Makefile.am:
17702         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17703         * check/states/sinks2.c:
17704         Moved sinks2 testcode in sinks check.
17705
17706         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17707         (gst_bin_remove_func), (gst_bin_recalc_state),
17708         (gst_bin_change_state_func), (bin_bus_handler):
17709         Fix potential race condition when _get_state() iterated over an
17710         ASYNC element right before it posted a state completion.
17711
17712         * gst/gstclock.h:
17713         Do proper cast here.
17714
17715         * gst/gstevent.c: (gst_event_new_newsegment),
17716         (gst_event_parse_newsegment):
17717         A playback rate of 0.0 is not allowed.
17718
17719 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17720
17721         * win32/common/config.h:
17722         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17723         (_trewinddir), (_ttelldir), (_tseekdir):
17724         * win32/common/dirent.h:
17725         * win32/common/gtchar.h:
17726         * win32/common/libgstbase.def:
17727         * win32/common/libgstreamer.def:
17728         * win32/vs6/grammar.dsp:
17729         * win32/vs6/gst_inspect.dsp:
17730         * win32/vs6/gst_launch.dsp:
17731         * win32/vs6/gstreamer.dsw:
17732         * win32/vs6/libgstbase.dsp:
17733         * win32/vs6/libgstelements.dsp:
17734         * win32/vs6/libgstreamer.dsp:
17735           Visual Studio 6 project files, and a new common directory.
17736           Phear.
17737
17738 2005-10-11  Wim Taymans  <wim@fluendo.com>
17739
17740         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17741         (gst_base_sink_do_sync), (gst_base_sink_query),
17742         (gst_base_sink_change_state):
17743         * gst/base/gstbasesink.h:
17744         Correctly parse newsegment info.
17745
17746 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17747
17748         * gst/gst.c: (init_post):
17749           split plugin paths correctly
17750
17751 2005-10-11  Wim Taymans  <wim@fluendo.com>
17752
17753         * check/gst/gstevent.c: (GST_START_TEST):
17754         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17755         (gst_base_sink_change_state):
17756         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17757         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17758         * gst/elements/gstfilesink.c: (gst_file_sink_event):
17759         * gst/gstevent.c: (gst_event_new_newsegment),
17760         (gst_event_parse_newsegment):
17761         * gst/gstevent.h:
17762         Added extra flag to newsegment for future API freeze.
17763         Updated check and base elements.
17764
17765 2005-10-11  Julien MOUTTE  <julien@moutte.net>
17766
17767         * gst/base/gstcollectpads.c: (gst_collectpads_init),
17768         (gst_collectpads_add_pad), (gst_collectpads_pop),
17769         (gst_collectpads_event), (gst_collectpads_chain):
17770         * gst/base/gstcollectpads.h: Handle EOS correctly.
17771
17772 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17773
17774         * tools/gst-launch.c: (main):
17775           more null protecting
17776
17777 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17778
17779         * gst/gst-i18n-lib.h:
17780           check for ENABLE_NLS, not GETTEXT_PACKAGE
17781         * gst/gstregistry.c: (gst_registry_add_plugin),
17782         (gst_registry_scan_path_level),
17783         (_gst_registry_remove_cache_plugins):
17784           protect possibly NULL strings
17785         * gst/parse/types.h:
17786           config.h already included before
17787         * tools/gst-inspect.c: (main):
17788           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17789           check for ENABLE_NLS, not GETTEXT_PACKAGE
17790         * tools/gst-launch.c: (main):
17791           check for ENABLE_NLS, not GETTEXT_PACKAGE
17792
17793 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17794
17795         * configure.ac:
17796           if we don't have glib, fail before testing 2.8
17797         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17798           fix a leak, should fix plugins-base testsuite
17799
17800 2005-10-11  Andy Wingo  <wingo@pobox.com>
17801
17802         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17803         take the mode we're going to as an arg. Go head and set the mode
17804         and flushing flags now, so that if the activate function starts a
17805         thread all the flags will be in the right state.
17806         (post_activate): Renamed also. Just handle making sure streaming
17807         finishes for the deactivation case, and setting the deactivated
17808         mode.
17809         (gst_pad_set_active): Complain loudly if deactivation fails.
17810         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17811         (gst_pad_activate_push): Adapt to pre/post_activate changes,
17812         remove the terrible hack.
17813
17814 2005-10-11  Wim Taymans  <wim@fluendo.com>
17815
17816         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17817         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17818         (gst_bin_recalc_state), (gst_bin_change_state_func),
17819         (gst_bin_dispose), (bin_bus_handler):
17820         * gst/gstbin.h:
17821         Prepare to make current EOS message queue more generic.
17822         Fix some typos.
17823
17824         * gst/gstevent.c: (gst_event_new_newsegment),
17825         (gst_event_parse_newsegment):
17826         * gst/gstevent.h:
17827         Rename base to stream_time.
17828
17829         * gst/gstmessage.h:
17830         Fix typo in docs.
17831
17832 2005-10-11  Wim Taymans  <wim@fluendo.com>
17833
17834         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17835         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17836         (gst_bin_change_state_func), (bin_bus_handler):
17837         * gst/gstbin.h:
17838         Work on proper clock selection.
17839
17840 2005-10-11  Edward Hervey  <edward@fluendo.com>
17841
17842         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
17843         * libs/gst/controller/gstcontroller.h:
17844         Added GList* version of _remove_properties() in order to be able to wrap
17845         it in bindings.
17846
17847 2005-10-11  Wim Taymans  <wim@fluendo.com>
17848
17849         * docs/design/part-states.txt:
17850         Some more docs.
17851
17852         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17853         (gst_bin_change_state_func), (bin_bus_handler):
17854         Doc updates. Don't distribute the same clock over and over again.
17855
17856         * gst/gstclock.c:
17857         * gst/gstclock.h:
17858         Doc updates.
17859
17860         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17861         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17862         (gst_pad_send_event):
17863         * gst/gstpad.h:
17864         Make probe emission threadsafe again.
17865         Register quarks and move _get_name() from utils.
17866         Doc updates.
17867
17868         * gst/gstpipeline.c: (gst_pipeline_class_init),
17869         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17870         Only redistribute the clock of it changed.
17871
17872         * gst/gstsystemclock.h:
17873         Doc updates. 
17874
17875         * gst/gstutils.c:
17876         * gst/gstutils.h:
17877         Moved the _flow_get_name() to GstPad.
17878
17879 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17880
17881         * check/gst-libs/gdp.c: (GST_START_TEST):
17882         * check/gst/gstcaps.c: (GST_START_TEST):
17883         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17884         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17885         (gst_dp_packet_from_caps):
17886           fix more valgrind warnings before turning up the heat
17887
17888 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17889
17890         * gst/parse/grammar.y:
17891           some cleanup before the hacking
17892
17893 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17894
17895         * gst/base/gstbasesrc.c: (gst_base_src_query):
17896           use conversions
17897         * gst/gstutils.c: (gst_guint64_to_gdouble),
17898         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17899         * gst/gstutils.h:
17900           externalize, basesrc uses it
17901           obviously the implementation needs testing
17902
17903 2005-10-10  Wim Taymans  <wim@fluendo.com>
17904
17905         * tests/sched/Makefile.am:
17906         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17907         (make_pipeline3), (make_pipeline4), (print_elem), (main):
17908
17909 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17910
17911         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17912           apparently converting from guint64 to double is not implemented
17913           on MSVC
17914
17915 2005-10-10  Wim Taymans  <wim@fluendo.com>
17916
17917         * check/Makefile.am:
17918         * check/generic/states.c: (GST_START_TEST):
17919         * check/gst/gstbin.c: (GST_START_TEST):
17920         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17921         * check/states/sinks.c: (GST_START_TEST):
17922         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17923         (main):
17924         Check fixes, use API as stated in design docs, remove hacks.
17925
17926         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17927         (gst_base_sink_change_state):
17928         Catch stopping our task while we're shutting down.
17929
17930         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17931         (gst_bin_remove_func), (gst_bin_get_state_func),
17932         (gst_bin_recalc_state), (gst_bin_change_state_func),
17933         (bin_bus_handler):
17934         * gst/gstbin.h:
17935         * gst/gstelement.c: (gst_element_init),
17936         (gst_element_get_state_func), (gst_element_abort_state),
17937         (gst_element_commit_state), (gst_element_lost_state),
17938         (gst_element_set_state), (gst_element_change_state),
17939         (gst_element_change_state_func):
17940         * gst/gstelement.h:
17941         New state change algorithm (see #318116)
17942
17943         * gst/gstpipeline.c: (gst_pipeline_class_init),
17944         (gst_pipeline_init), (gst_pipeline_set_property),
17945         (gst_pipeline_get_property), (do_pipeline_seek),
17946         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17947         * gst/gstpipeline.h:
17948         Remove crude state change hacks.
17949
17950         * gst/gstutils.h:
17951         Remove crude hacks.
17952
17953         * tools/gst-launch.c: (main):
17954         Fixes for state change. Needs some more work to fully use the
17955         new stuff.
17956
17957 2005-10-10  Andy Wingo  <wingo@pobox.com>
17958
17959         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17960
17961         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17962         this flag, but it's not even in GLib 2.6. Odd. Hack around the
17963         issue.
17964
17965 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17966
17967         * gst/gstiterator.c: (gst_iterator_new):
17968           Fix my previous commit: GTypes passed to gst_iterator_new()
17969           can be fundamental types.
17970
17971 2005-10-10  Wim Taymans  <wim@fluendo.com>
17972
17973         * gst/gstelement.c: (gst_element_iterate_pad_list),
17974         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17975         (gst_element_iterate_sink_pads):
17976         Use src/sink pads lists for the respective iterators instead
17977         of filtering.
17978
17979 2005-10-10  Andy Wingo  <wingo@pobox.com>
17980
17981         Merged in popt removal + GOption addition patch from Ronald, bug
17982         #169772.
17983
17984         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17985         GstElement macros around, remove popt-related symbols, add goption
17986         stuff.
17987
17988         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17989         
17990         * docs/gst/Makefile.am:
17991         * docs/libs/Makefile.am: No POPT_CFLAGS.
17992         
17993         * examples/manual/Makefile.am:
17994         * docs/manual/basics-init.xml: Doc updates with an example.
17995         
17996         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17997         (gst_init), (parse_one_option), (parse_goption_arg):
17998         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17999         bit of hand merging and debugging to get the GOption stuff working
18000         tho.
18001         
18002         * tests/Makefile.am:
18003         * tools/Makefile.am:
18004         * tools/gst-inspect.c: (main):
18005         * tools/gst-launch.c: (main):
18006         * tools/gst-run.c: (main):
18007         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
18008
18009 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18010
18011         * gst/gstiterator.c: (gst_iterator_new):
18012           Add assertions to make sure passed GType is likely to really
18013           be a GType (as the compiler won't catch it if the size and
18014           GType arguments get mixed up, see #318447).
18015
18016 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
18017
18018         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18019
18020         * gst/gstbin.c: (gst_bin_iterate_sorted):
18021           Pass GType and size arguments to gst_iterator_new() in the right
18022           order (maybe we should make _new() take the GType as first argument
18023           just like _new_list()?) (#318447).
18024           
18025
18026 2005-10-10  Wim Taymans  <wim@fluendo.com>
18027
18028         * gst/gstelement.c: (gst_element_finalize):
18029         And free the GStaticRecMutex too
18030
18031 2005-10-10  Andy Wingo  <wingo@pobox.com>
18032
18033         * gst/gstelement.c (gst_element_init, gst_element_finalize):
18034         Allocate and free the mutex properly.
18035
18036         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
18037         New macros.
18038         (GstElement): The state_lock is now recursive. Rebuild your
18039         plugins, suckers. Old macros adapted.
18040
18041         * docs/gst/gstreamer-sections.txt: Doc updates.
18042
18043         * gst/gstutils.h:
18044         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
18045         (g_static_rec_cond_wait): Ported from state changes patch, while
18046         we wait on bug #317802 to be solved in a well-distributed GLib.
18047
18048         * gst/gstelement.c (gst_element_change_state_func): Renamed from
18049         gst_element_change_state, variable name changes.
18050         (gst_element_change_state): Split out of gst_element_set_state in
18051         preparation for the state change merge. Doesn't pay attention to
18052         the 'transition' argument.
18053         (gst_element_set_state): Updates, hopefully purely cosmetic.
18054         (gst_element_sync_state_with_parent): MT-safety. Ported from the
18055         state change patch.
18056         (gst_element_get_state_func): Renamed from get_state, cosmetic
18057         changes.
18058
18059 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18060
18061         * gst/elements/gstelements.c:
18062         * win32/GStreamer.vcproj:
18063         * win32/config.h:
18064         * win32/dirent.c: (_tseekdir):
18065         * win32/gst-inspect.vcproj:
18066         * win32/gst-launch.vcproj:
18067         * win32/gstconfig.h:
18068         * win32/gstelements.vcproj:
18069         * win32/gstenumtypes.c: (gst_object_flags_get_type):
18070         * win32/gstreamer.def:
18071         * win32/msvc71.sln:
18072           updates for the win32 build (patch from Sebastien Moutte)
18073
18074 2005-10-10  Andy Wingo  <wingo@pobox.com>
18075
18076         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
18077         gst_bin_get_state, cleaned up (but no logic changes).
18078         (bin_element_is_sink): Comment updates.
18079         (sink_iterator_filter): Remove needless cast.
18080         (gst_bin_iterate_sinks): Doc update.
18081         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
18082         cleaned up (but no logic changes).
18083
18084         * check/states/sinks.c (test_src_sink): Cleanups from the state
18085         change patch.
18086         (test_livesrc_sink): Sync on the state.
18087
18088         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
18089         the state change patch.
18090
18091         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
18092         change patch.
18093
18094         * check/gst/gstbin.c: Merge in some style fixes and additional
18095         checks from Wim's state change patch.
18096
18097 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18098
18099         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18100         (gst_type_find_helper):
18101           Check whether we have the requested data already in our list of
18102           cached buffers before pulling a new buffer; also make the buffer
18103           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18104
18105 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18106
18107         * gst/gstcaps.c:
18108         * gst/gstevent.c:
18109           doc updates
18110         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18111           don't use long long, it's not portable.  Replacing with
18112           gint64 seems to work; let's hope no skeletons fall out of the closet.
18113
18114 2005-10-10  Andy Wingo  <wingo@pobox.com>
18115
18116         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18117
18118 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
18119
18120         * docs/gst/gstreamer-sections.txt:
18121         * gst/gstevent.c:
18122         * gst/gstevent.h:
18123         * gst/gstinfo.c:
18124         * gst/gstinfo.h:
18125         * gst/gstmessage.c: (gst_message_parse_state_changed):
18126         * gst/gstpad.c:
18127         * gst/gstpad.h:
18128           more docs, fix compilation
18129
18130 2005-10-09  Philippe Khalaf <burger@speedy.org>
18131         * gst/gstmessage.c:
18132           Fixed a few forgotten variables on previous commit
18133
18134 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
18135
18136         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18137           Fix evil typefind crasher: getrange() might return a short
18138           buffer at the end of a file, but gst_type_find_peek() must
18139           either return the full data as requested or NULL, but
18140           never a short buffer.
18141
18142 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18143
18144         * gst/gstmessage.c: (gst_message_new_state_changed),
18145         (gst_message_parse_state_changed):
18146         * gst/gstmessage.h:
18147           don't use "new", it's a C++ keyword
18148
18149 2005-10-08  Wim Taymans  <wim@fluendo.com>
18150
18151         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18152         * gst/gstelement.c: (gst_element_post_message):
18153         * gst/gstpipeline.c: (gst_pipeline_change_state):
18154         Small docs and debug updates.
18155
18156 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18157
18158         * docs/gst/gstreamer-sections.txt:
18159         * gst/gstelementfactory.c:
18160         * gst/gstevent.c:
18161         * gst/gsttaglist.c:
18162           more docs
18163
18164 2005-10-08  Wim Taymans  <wim@fluendo.com>
18165
18166         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18167         (gst_bin_dispose), (bin_bus_handler):
18168         Fix typos, add comments.
18169         Clear EOS list when going to PAUSED from any direction and do it
18170         in a threadsafe way.
18171         Get base time in a threadsafe way too.
18172         Fix confusing debug in the change_state function.
18173         Various other small cleanups.
18174         
18175         * gst/gstelement.c: (gst_element_post_message):
18176         Fix very verbose bus posting code.
18177
18178         * gst/gstpipeline.c: (gst_pipeline_class_init),
18179         (gst_pipeline_set_property), (gst_pipeline_get_property),
18180         (gst_pipeline_change_state):
18181         Small ARG_ -> PROP_ cleanup
18182
18183 2005-10-08  Wim Taymans  <wim@fluendo.com>
18184
18185         * gst/gstbin.c: (is_eos), (bin_bus_handler):
18186         Do a less CPU demanding EOS check because we can.
18187
18188 2005-10-08  Wim Taymans  <wim@fluendo.com>
18189
18190         * libs/gst/dataprotocol/dataprotocol.c:
18191         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18192         (gst_dp_packet_from_event):
18193         * libs/gst/dataprotocol/dataprotocol.h:
18194         * libs/gst/dataprotocol/dp-private.h:
18195         It's about time we bump the version number.
18196         Since event types don't fit in the guint8 anymore describing
18197         the payload type, make payload type 16 bits wide.
18198
18199 2005-10-08  Wim Taymans  <wim@fluendo.com>
18200
18201         * docs/design/part-TODO.txt:
18202         * docs/design/part-clocks.txt:
18203         * docs/design/part-events.txt:
18204         * docs/design/part-gstbin.txt:
18205         * docs/design/part-gstelement.txt:
18206         * docs/design/part-gstpipeline.txt:
18207         * docs/design/part-live-source.txt:
18208         * docs/design/part-messages.txt:
18209         * docs/design/part-overview.txt:
18210         * docs/design/part-states.txt:
18211         Many doc updates.
18212
18213 2005-10-08  Wim Taymans  <wim@fluendo.com>
18214
18215         * gst/gstevent.c:
18216         * gst/gstevent.h:
18217         Fix event quark registration.
18218         Add some space between events so we can insert them in the
18219         right groups.
18220
18221 2005-10-08  Wim Taymans  <wim@fluendo.com>
18222
18223         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18224         (gst_base_sink_handle_buffer):
18225         Better log message.
18226
18227         * gst/gstbus.h:
18228         * gst/gstelement.h:
18229         More docs.
18230
18231         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18232         (gst_queue_set_property), (gst_queue_get_property):
18233         * gst/gstqueue.h:
18234         Remove old unused properties.
18235
18236 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18237         * docs/gst/gstreamer-sections.txt:
18238         * gst/gstmessage.c:
18239         * gst/gstmessage.h:
18240         * gst/gstminiobject.c:
18241         * gst/gstminiobject.h:
18242         * gst/gstobject.h:
18243         * gst/gstpad.h:
18244         * gst/gstutils.h:
18245           lots of new docs and doc fixes
18246
18247 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18248
18249         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18250         * gst/gstplugin.h:
18251         * gst/gstregistry.c: (gst_registry_lookup_locked),
18252         (gst_registry_scan_path_level):
18253         * gst/gstregistryxml.c: (load_plugin):
18254           Only ever load one plugin for a given plugin basename.
18255           This ensures correct overriding of GST_PLUGIN_PATH over
18256           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18257           system installed plugins.
18258
18259 2005-10-08  Wim Taymans  <wim@fluendo.com>
18260
18261         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18262         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18263         Prepare for doing QOS.
18264
18265 2005-10-08  Wim Taymans  <wim@fluendo.com>
18266
18267         * check/gst/gstbin.c: (GST_START_TEST):
18268         * check/pipelines/cleanup.c: (GST_START_TEST):
18269         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18270         Allow new clock message too.
18271
18272 2005-10-08  Wim Taymans  <wim@fluendo.com>
18273
18274         * gst/gstmessage.c: (gst_message_new_error),
18275         (gst_message_new_warning), (gst_message_new_tag),
18276         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18277         (gst_message_new_clock_lost), (gst_message_new_new_clock),
18278         (gst_message_new_segment_start), (gst_message_new_segment_done),
18279         (gst_message_parse_state_changed),
18280         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18281         (gst_message_parse_new_clock):
18282         * gst/gstmessage.h:
18283         Also carry the clock in question.
18284
18285 2005-10-08  Wim Taymans  <wim@fluendo.com>
18286
18287         * gst/gstmessage.c: (gst_message_new_custom),
18288         (gst_message_new_eos), (gst_message_new_error),
18289         (gst_message_new_warning), (gst_message_new_tag),
18290         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18291         (gst_message_new_new_clock), (gst_message_new_segment_start),
18292         (gst_message_new_segment_done), (gst_message_parse_state_changed),
18293         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18294         * gst/gstmessage.h:
18295         Clean up.
18296         Added clock related messages.
18297
18298         * gst/gstpipeline.c: (gst_pipeline_change_state):
18299         Post message when the clock changed.
18300
18301         * tools/gst-launch.c: (event_loop):
18302         Print new clock.
18303
18304 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
18305
18306         * tools/gst-inspect.c: (print_element_properties_info):
18307           Can't pass NULL strings to g_print() on windows.
18308
18309 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18310
18311         * docs/Makefile.am:
18312         * docs/gst/Makefile.am:
18313         * docs/gst/gstreamer-docs.sgml:
18314         * docs/gst/running.xml:
18315         * docs/version.entities.in:
18316           add a chapter on running GStreamer.
18317           document GST_DEBUG and GST_PLUGIN* env vars
18318
18319 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18320
18321         * Makefile.am:
18322           remove include dir
18323         * configure.ac:
18324           remove PLUGINS_BUILDDIR stuff
18325         * gst/gst.c: (init_post):
18326           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18327         * idiottest.mak:
18328           remove, it was condescending and not needed
18329
18330 2005-10-08  Wim Taymans  <wim@fluendo.com>
18331
18332         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18333         (gst_base_sink_handle_object), (gst_base_sink_event),
18334         (gst_base_sink_wait), (gst_base_sink_handle_event),
18335         (gst_base_sink_change_state):
18336         * gst/base/gstbasesink.h:
18337         Repost EOS message while going to PLAYING if still EOS.
18338         Make sure that when receiving a FLUSH_START we don't attempt
18339         to sync on the clock anymore.
18340
18341 2005-10-08  Wim Taymans  <wim@fluendo.com>
18342
18343         * tools/gst-launch.c: (event_loop):
18344         Better message printout.
18345
18346 2005-10-08  Wim Taymans  <wim@fluendo.com>
18347
18348         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18349         (gst_bin_child_proxy_get_children_count):
18350         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18351         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18352         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18353         (gst_child_proxy_set_valist):
18354         * gst/parse/grammar.y:
18355         Make ChildProxy threadsafe and fix mem leaks.
18356
18357 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18358
18359         * gst/gst.c: (init_post):
18360           debug the GST_PLUGIN_ env vars
18361
18362 2005-10-08  Wim Taymans  <wim@fluendo.com>
18363
18364         * check/gst/gstbin.c: (GST_START_TEST):
18365         * check/gst/gstmessage.c: (GST_START_TEST):
18366         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18367         * gst/gstelement.c: (gst_element_commit_state),
18368         (gst_element_lost_state):
18369         * gst/gstmessage.c: (gst_message_new_state_changed),
18370         (gst_message_parse_state_changed):
18371         * gst/gstmessage.h:
18372         * tools/gst-launch.c: (event_loop):
18373         Added extra field to STATE_CHANGE message with the pending
18374         state, which will be different from the new state soon.
18375
18376 2005-10-08  Wim Taymans  <wim@fluendo.com>
18377
18378         * gst/gstbus.c: (gst_bus_pop):
18379         * gst/gstclock.c:
18380         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18381         Small cleanups and doc updates.
18382
18383 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18384
18385         * gst/gst.c: (init_pre):
18386         * gst/gstbin.c: (gst_bin_add_func):
18387           log distributing clocks and base time
18388         * gst/gstregistry.c: (gst_registry_add_plugin),
18389         (gst_registry_scan_path_level), (gst_registry_scan_path):
18390           clean up the debugging output a little
18391         * gst/gstutils.c: (gst_element_state_get_name):
18392           warn about a memleak (I've actually seen this be used, though
18393           it was probably a bug)
18394
18395 2005-10-07  Wim Taymans  <wim@fluendo.com>
18396
18397         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18398         (gst_base_src_init), (gst_base_src_default_newsegment),
18399         (gst_base_src_newsegment), (gst_base_src_do_seek),
18400         (gst_base_src_loop), (gst_base_src_start):
18401         * gst/base/gstbasesrc.h:
18402         Make the newsegment event customizable by subclasses.
18403
18404 2005-10-07  Wim Taymans  <wim@fluendo.com>
18405
18406         * gst/gstevent.c: (gst_event_new_buffersize),
18407         (gst_event_parse_buffersize):
18408         * gst/gstevent.h:
18409         New event for future idea.
18410
18411 2005-10-07  Andy Wingo  <wingo@pobox.com>
18412
18413         * gst/gstelement.c (gst_element_post_message): Doc update.
18414
18415         * docs/gst/gstreamer-sections.txt: Update.
18416
18417         * gst/gstmessage.c (gst_message_new_application): Made into a
18418         function like honest API calls.
18419         (gst_message_new_element): New message type.
18420
18421         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18422
18423         * check/elements/fakesrc.c (test_no_preroll): New check, checks
18424         that setting a live fakesrc to PAUSED returns NO_PREROLL both
18425         times.
18426
18427         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18428         NO_PREROLL from gst_element_change_state to fall through.
18429
18430 2005-10-07  Wim Taymans  <wim@fluendo.com>
18431
18432         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18433         (gst_ghost_pad_do_activate_push):
18434         Activating a ghostpad with no internal pad in push mode
18435         is ok.
18436
18437 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18438
18439         * gst/gstobject.h:
18440           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18441           Fixes compilation on Windows.
18442
18443 2005-10-07  Michael Smith <msmith@fluendo.com>
18444
18445         * tools/gst-inspect.c:
18446           Print out feature and plugin count at the end when printing out
18447           all features.
18448
18449 2005-10-04  Michael Smith <msmith@fluendo.com>
18450
18451         * gst/gsterror.c: (_gst_stream_errors_init):
18452           Add another error string used in a few existing plugins.
18453
18454         * gst/gstplugin.c:
18455         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18456         * tools/gst-inspect.c: (print_element_info):
18457           When a feature disappears from a plugin (and the feature exists in
18458           the cached registry file), things went horribly wrong. This isn't a
18459           complete fix, we should actually be removing the 'missing' features
18460           from the features list when we load the actual plugin. That's not
18461           yet implemented. 
18462
18463 2005-10-04  Johan Dahlin  <johan@gnome.org>
18464
18465         * check/gst/gstiterator.c: (GST_START_TEST):
18466         * gst/gstbin.c: (gst_bin_iterate_elements),
18467         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18468         * gst/gstelement.c: (gst_element_iterate_pads):
18469         * gst/gstformat.c: (gst_format_iterate_definitions):
18470         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18471         (gst_iterator_new_list), (gst_iterator_filter):
18472         * gst/gstiterator.h:
18473         * gst/gstquery.c: (gst_query_type_iterate_definitions):
18474         Add a GType to GstIterator, update callsites and tests.
18475
18476 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18477
18478         * gst/gstpad.c: (gst_pad_event_default_dispatch):
18479           give events a chance to be handled by event probes when the pad
18480           is not linked
18481
18482 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18483
18484         * gst/gstevent.c: (gst_event_type_get_name),
18485         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18486         * gst/gstevent.h:
18487           add string representations for event types
18488
18489 2005-10-06  Wim Taymans  <wim@fluendo.com>
18490
18491         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18492         Don't use NULL pointers.
18493
18494 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18495
18496         * gst/gst_private.h:
18497         * gst/gstbus.c:
18498         * gst/gstelement.c:
18499         * gst/gstinfo.c:
18500         * gst/gstpluginfeature.c:
18501           widen the debug category in output to fit the biggest one we have
18502           add a bus category and use it
18503           play with the colors
18504           fix up some categories
18505
18506 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18507
18508         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18509           add push activation of sink ghost pads.
18510           Andye, please verify
18511
18512 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18513
18514         * gst/gstutils.c: (gst_element_link_pads):
18515           fix a bug in the case where neither element has a pad
18516         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18517           add a test for that case
18518
18519 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18520
18521         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18522           emit have-data before checking for peers.  This allows
18523           for probe handlers to connect elements.  This helps autopluggers.
18524         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18525         (gst_pad_suite):
18526           add six checks, linked/unlinked with no/true/false probe
18527
18528 2005-10-04  Wim Taymans  <wim@fluendo.com>
18529
18530         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18531         (gst_fake_sink_event), (gst_fake_sink_preroll),
18532         (gst_fake_sink_render), (gst_fake_sink_change_state):
18533         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18534         (gst_fake_src_get_property), (gst_fake_src_create),
18535         (gst_fake_src_stop):
18536         * gst/elements/gstidentity.c: (gst_identity_stop):
18537         Protect last_message with lock.
18538
18539 2005-10-04  Edward Hervey  <edward@fluendo.com>
18540
18541         * gst/gstformat.h: 
18542         Added precision in the comments for GST_FORMAT_DEFAULT
18543
18544 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
18545
18546         * tools/gst-launch.c: (main):
18547           Don't try to run erroneous pipelines.
18548
18549 2005-10-04  Julien MOUTTE  <julien@moutte.net>
18550
18551         * gst/gstbus.c: We don't need this header.
18552
18553 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18554
18555         * configure.ac:
18556           back to development
18557
18558 === release 0.9.3 ===
18559
18560 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18561
18562         * README:
18563         * configure.ac:
18564           Releasing 0.9.3, "Unregistered"
18565
18566 2005-10-03  Andy Wingo  <wingo@pobox.com>
18567
18568         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18569         whereby calling a pad's activatepush() function can start a thread
18570         that starts to push or pull before the pad gets the FLUSHING flag
18571         unset. Hack around it by holding the stream lock until the flag is
18572         set. Need to replace this with a proper solution. Together with
18573         the ghost pad fixes, this fixes mp3 playing/tagreading.
18574
18575         * docs/design/part-gstghostpad.txt: Add a note about activation of
18576         proxy pads outside of ghost pads.
18577
18578         * gst/gstghostpad.c: Implement the ghost pad activation design.
18579
18580 2005-10-02  Andy Wingo  <wingo@pobox.com>
18581
18582         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18583         It is volatile, after all.
18584
18585         * docs/design/part-gstghostpad.txt: Flesh out activation with
18586         ghost pads.
18587
18588         * gst/base/gstbasesrc.c (gst_base_src_init): Use
18589         GST_DEBUG_FUNCPTR.
18590
18591 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
18592
18593         * configure.ac:
18594           Fix (unused) AM_CONDITIONAL tests.
18595
18596 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
18597
18598         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18599
18600         * gst/gstutils.c: (gst_pad_query_convert):
18601           Add assertion that makes sure src_val is >=0, just like
18602           gst_query_new_convert() has. (#315895)
18603
18604 2005-09-30  Edward Hervey  <edward@fluendo.com>
18605
18606         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18607         Let's not iterate pads we're not interested in, it avoids getting 
18608         sky-high refcounts on sinkpad.
18609
18610 2005-09-30  Wim Taymans  <wim@fluendo.com>
18611
18612         * gst/gstelement.c: (gst_element_set_state),
18613         (gst_element_change_state):
18614         Small tweak, element in ASYNC remains ASYNC.
18615
18616 2005-09-30  Wim Taymans  <wim@fluendo.com>
18617
18618         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18619         Only error is an error.
18620
18621         * gst/gstbin.c: (gst_bin_change_state):
18622         Better debugging.
18623
18624         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18625         Also call pad_block in pad alloc.
18626
18627         * gst/gstutils.c: (gst_flow_get_name):
18628         Better debugging.
18629
18630 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18631
18632         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18633         (gst_base_src_get_range):
18634           Fix documentation typos. Add some more debug info.
18635
18636 2005-09-29  David Schleef  <ds@schleef.org>
18637
18638         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18639           more end-user friendly.
18640         * tools/gst-inspect.c: (main): Check if command-line argument is
18641           a file and attempt to load that file as a plugin.
18642
18643 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18644
18645         * check/gst/gstbin.c:
18646         * check/states/sinks.c:
18647           fix tests for the new warning
18648         * check/gst/gstpipeline.c:
18649           add a test for pipeline and bus interaction
18650         * gst/gstelement.c:
18651           elements should be NULL if they get disposed; add a warning if not
18652
18653 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18654
18655         * gst/gstobject.c:
18656           for 2.6 refcounting, make debug log more correct by printing
18657           the actual refcounts at the time of swap (Wim)
18658
18659 2005-09-29  Andy Wingo  <wingo@pobox.com>
18660
18661         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18662         removes signal watches previously added via
18663         gst_bus_add_signal_watch.
18664         (gst_bus_add_signal_watch): Don't return the source id, just store
18665         it on the bus if there wasn't an id already.
18666
18667         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18668         add_signal_watch and remove_signal_watch.
18669
18670 2005-09-29  Edward Hervey  <edward@fluendo.com>
18671
18672         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
18673         Better if we actually iterate the list :)
18674
18675 2005-09-29  Wim Taymans  <wim@fluendo.com>
18676
18677         * check/gst/gstbin.c: (GST_START_TEST):
18678         Change for new bus API.
18679
18680         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18681         (send_messages), (GST_START_TEST), (gstbus_suite):
18682         Change for new bus signal API.
18683
18684         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18685         (gst_bus_source_prepare), (gst_bus_source_check),
18686         (gst_bus_create_watch), (gst_bus_add_watch_full),
18687         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18688         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18689         * gst/gstbus.h:
18690         Remove support for multiple GSources operating on different
18691         message types as it is too complex and unneeded when using
18692         signals.
18693         Added support for receiving signals from the bus.
18694
18695 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18696
18697         * docs/libs/tmpl/gstdataprotocol.sgml:
18698         * docs/manual/advanced-dataaccess.xml:
18699         * gst/elements/gstcapsfilter.c:
18700         * gst/gstutils.c:
18701           rename filter-caps to caps property
18702
18703 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18704
18705         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18706           More robust fraction string parsing.
18707
18708         * docs/pwg/appendix-porting.xml:
18709           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18710
18711 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18712
18713         * gst/gstcaps.c: (gst_caps_do_simplify):
18714           Thou shalt not free a structure and then continue using it
18715           in the next loop iteration.
18716
18717         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18718         (gst_caps_suite):
18719           Add test case for caps simplification.
18720
18721 2005-09-29  Wim Taymans  <wim@fluendo.com>
18722
18723         * check/gst/gstbin.c: (GST_START_TEST):
18724         Oops.
18725
18726 2005-09-29  Wim Taymans  <wim@fluendo.com>
18727
18728         * check/gst/gstbin.c: (GST_START_TEST):
18729         Add bus to bin.
18730
18731         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18732         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18733         (find_element), (gst_bin_sort_iterator_next),
18734         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18735         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18736         (gst_bin_change_state), (gst_bin_dispose):
18737         A bin does not have a bus, it gets the bus from the parent.
18738
18739         * gst/gstelement.c: (gst_element_requires_clock),
18740         (gst_element_provides_clock), (gst_element_is_indexable),
18741         (gst_element_is_locked_state), (gst_element_change_state),
18742         (gst_element_set_bus_func):
18743         Small cleanups.
18744
18745         * gst/gstpipeline.c: (gst_pipeline_class_init),
18746         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18747         The pipeline provides a bus.
18748
18749 2005-09-28  Johan Dahlin  <johan@gnome.org>
18750
18751         * gst/gstmessage.c (gst_message_parse_state_changed): Use
18752         gst_structure_get_enum instead of gst_structure_get_int
18753
18754         * gst/gststructure.c (gst_structure_get_enum): Impl.
18755
18756         * gst/gststructure.h (gst_structure_get_enum): Add
18757
18758         * docs/gst/gstreamer-sections.txt: Ditto
18759
18760         * gst/gstmessage.c (gst_message_new_state_changed): Use
18761         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18762         which does introspection.
18763         Reviewed by Christian Schaller
18764
18765 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18766
18767         * gst/gstinfo.c: (gst_debug_log_default):
18768           don't do dummy g_strdup()s
18769         * libs/gst/controller/gstcontroller.c:
18770         (on_object_controlled_property_changed),
18771         (gst_controlled_property_new), (gst_controller_new_valist),
18772         (gst_controller_new_list),
18773         (gst_controller_remove_properties_valist), (gst_controller_set),
18774         (gst_controller_get), (gst_controller_sync_values),
18775         (gst_controller_get_value_array), (_gst_controller_class_init),
18776         (gst_controller_get_type):
18777         * libs/gst/controller/gstcontroller.h:
18778         * libs/gst/controller/gstinterpolation.c:
18779         (gst_controlled_property_find_timed_value_node):
18780           convert // to /**/ comments
18781
18782 2005-09-28  Wim Taymans  <wim@fluendo.com>
18783
18784         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18785         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18786         (gst_bus_sync_signal_handler):
18787         * gst/gstbus.h:
18788         Added async-message and sync-message signals to the bus.
18789         Added helper BusFunc to emit signals for all posted messages.
18790
18791         * gst/gstmessage.c: (gst_message_type_get_name),
18792         (gst_message_type_to_quark), (gst_message_get_type):
18793         * gst/gstmessage.h:
18794         Register quarks for message names.
18795
18796 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18797
18798         * docs/libs/gstreamer-libs-sections.txt:
18799         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18800         (gst_controller_new_list):
18801         * libs/gst/controller/gstcontroller.h:
18802           added another constructor for language bindings
18803
18804 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18805
18806         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18807           add another check
18808         * gst/gstbus.c:
18809           add some doc
18810         * gst/gstinfo.c: (_gst_debug_init):
18811           slightly more readable color for refcount debugging
18812
18813 2005-09-28  Wim Taymans  <wim@fluendo.com>
18814
18815         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18816         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18817         (find_element), (gst_bin_sort_iterator_next),
18818         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18819         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18820         (gst_bin_change_state), (gst_bin_dispose):
18821         Small doc fixes. get_clock -> provide_clock.
18822
18823         * gst/gstelement.c: (gst_element_class_init),
18824         (gst_element_provides_clock), (gst_element_provide_clock),
18825         (gst_element_get_clock), (gst_element_commit_state),
18826         (gst_element_lost_state):
18827         * gst/gstelement.h:
18828         Make get/set_clock() symetric. Add provide_clock vmethod since
18829         that is actually what this function does.
18830
18831         * gst/gstpipeline.c: (gst_pipeline_class_init),
18832         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18833         (gst_pipeline_get_clock):
18834         get_clock -> provide_clock.
18835
18836 2005-09-28  Andy Wingo  <wingo@pobox.com>
18837
18838         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18839         lieu of real docs...
18840
18841         * gst/elements/gstfdsrc.c: Cleaned up a bit.
18842
18843 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
18844
18845         * gst/elements/gstcapsfilter.c:
18846         * gst/elements/gstfakesink.c:
18847         * gst/elements/gstfakesrc.c:
18848         * gst/elements/gstfdsink.c:
18849         * gst/elements/gstfdsrc.c:
18850         * gst/elements/gstfilesink.c:
18851         * gst/elements/gstfilesrc.c:
18852         * gst/elements/gstidentity.c:
18853         * gst/elements/gsttee.c:
18854         * gst/elements/gsttypefindelement.c:
18855           Make element details static.
18856
18857 2005-09-28  Wim Taymans  <wim@fluendo.com>
18858
18859         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18860         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18861         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18862         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18863         (gst_bin_change_state), (gst_bin_dispose):
18864         Some documentation updates.
18865         Clean up dispose handlers.
18866
18867         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18868         * gst/gstpad.c: (gst_pad_dispose):
18869         Clean up dispose handler.
18870
18871         * gst/gstpipeline.c: (gst_pipeline_change_state):
18872         Removed spurious UNLOCK.
18873
18874 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
18875
18876         * docs/gst/gstreamer-sections.txt:
18877         * gst/base/gstbasesrc.h:
18878         * gst/gstelement.h:
18879         * gst/gstevent.h:
18880         * gst/gstobject.h:
18881         * gst/gstpad.h:
18882         * gst/gstpipeline.c:
18883         * gst/gstpipeline.h:
18884         * gst/gstutils.h:
18885         * gst/gstxml.h:
18886           added two new functions to the docs
18887                 documents all undocumented GstXXXFlags
18888                 completed some incomplete docs 
18889
18890 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18891
18892         * gst/gstbin.c: (gst_bin_dispose):
18893         * gst/gstelement.c: (gst_element_dispose):
18894           remove now useless and leaky resurrection code in dispose
18895         * gst/base/gstbasesrc.c: (gst_base_src_init):
18896         * gst/gstelementfactory.c: (gst_element_factory_create):
18897         * gst/gstobject.c: (gst_object_set_parent):
18898           add some debugging
18899
18900 2005-09-27  Wim Taymans  <wim@fluendo.com>
18901
18902         * docs/design/part-TODO.txt:
18903         Update TODO.
18904
18905         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18906         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18907         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18908         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18909         (gst_bin_change_state):
18910         * gst/gstelement.h:
18911         Remove element variable, we keep element info in the iterator now.
18912
18913 2005-09-27  Andy Wingo  <wingo@pobox.com>
18914
18915         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18916         values.
18917
18918 2005-09-27  Wim Taymans  <wim@fluendo.com>
18919
18920         * check/gst/gstbin.c: (GST_START_TEST):
18921         Enable check that works now.
18922
18923         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18924         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18925         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18926         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18927         (gst_bin_change_state):
18928         * gst/gstbin.h:
18929         Redid the state change algorithm using a topological sort algo.
18930         Handles all cases correctly.
18931         Exposed iterator for state change order.
18932
18933         * gst/gstelement.h:
18934         Temp storage for state changes. Need to get rid of this soon.
18935
18936 2005-09-27  Wim Taymans  <wim@fluendo.com>
18937
18938         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18939         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18940         (link_fold_func), (gst_pad_proxy_setcaps):
18941         Leak fixes, the fold functions need to unref the passed object and
18942         _get_parent_*() returns ref to parent.
18943
18944 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18945
18946         * check/gst/gstbuffer.c: (test_make_writable):
18947           Plug leak in test case and fix 'make check-valgrind'
18948
18949 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18950
18951         * gst/gstbuffer.c: (gst_subbuffer_init):
18952           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18953           works correctly in all circumstances (we could have just copied
18954           the parent buffer's readonly flag, but conceptually it seems
18955           cleaner to mark all subbuffers as read-only). (based on patch
18956           by Alessandro Decina, #314710).
18957         
18958         * check/gst/gstbuffer.c: (create_read_only_buffer),
18959         (test_make_writable), (test_subbuffer_make_writable),
18960         (gst_test_suite):
18961           Add some tests for gst_buffer_make_writable().
18962
18963 2005-09-27  Wim Taymans  <wim@fluendo.com>
18964
18965         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18966         use gst_object_has_ancestor().
18967
18968         * gst/gstobject.c: (gst_object_has_ancestor):
18969         * gst/gstobject.h:
18970         gst_object_has_ancestor() copied from gstbin.c as it is a
18971         useful function.
18972
18973         * tests/instantiate/create.c: (create_all_elements):
18974         * tests/lat.c: (handoff_src), (handoff_sink):
18975         * tests/sched/runxml.c: (main):
18976         * tests/seeking/seeking1.c: (main):
18977         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18978         (main):
18979         Fix compilation of some tests.
18980
18981 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18982
18983         * gst/gsterror.h:
18984           Remove comment. GST_TYPE_G_ERROR is here to stay,
18985           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18986           (#316961, #300610).
18987
18988 2005-09-26  Wim Taymans  <wim@fluendo.com>
18989
18990         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18991         Added check that shows error in state change order.
18992
18993 2005-09-26  Wim Taymans  <wim@fluendo.com>
18994
18995         * gst/gstbin.c: (gst_bin_change_state):
18996         Make state change function use 3 queues again, we were
18997         adding elements in the wrong order.
18998
18999         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
19000         Some debug info,
19001
19002         * gst/gstpad.c: (gst_pad_dispose):
19003         Added some debug info first.
19004
19005 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
19006
19007         * docs/design/draft-push-pull.txt:
19008         * docs/design/part-events.txt:
19009         * docs/design/part-overview.txt:
19010         * docs/design/part-scheduling.txt:
19011           Replace all _pull_region() with _pull_range()
19012           
19013 2005-09-26  Andy Wingo  <wingo@pobox.com>
19014
19015         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
19016
19017         * check/gst-libs/controller.c: Update for controller api change.
19018
19019         * configure.ac: 
19020         * tests/Makefile.am:
19021         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
19022         over by GLib bug 118439.
19023         
19024         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
19025         routines to a function.
19026
19027         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
19028
19029         * libs/gst/controller/gsthelper.c:
19030         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
19031         (gst_object_sync_values): Renamed from sink_values. Ugh.
19032
19033         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
19034
19035         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
19036         Renamed from controller_key, as it is exported.
19037
19038         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
19039
19040 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
19041
19042         * gst/Makefile.am:
19043         * gst/gst.h:
19044         * gst/gstpad.h:
19045         * gst/gstpadtemplate.h:
19046         * gst/gstquery.c:
19047         * gst/gstquery.h:
19048         * gst/gstqueryutils.c:
19049         * gst/gstqueryutils.h:
19050           remove queryutils headers after moving the two used functions
19051           to gstquery.  also fixes build problem for gstsiddec
19052
19053 2005-09-26  Michael Smith <msmith@fluendo.com>
19054
19055         * tools/gst-launch.1.in:
19056         Correct documentation in manpage of debug syntax
19057
19058 2005-09-26  Wim Taymans  <wim@fluendo.com>
19059
19060         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19061         (gst_base_src_is_seekable), (gst_base_src_change_state):
19062         Some more debugging info.
19063
19064 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19065
19066         * docs/gst/gstreamer-sections.txt:
19067         * gst/base/gstbasetransform.h:
19068         * gst/gstindex.h:
19069           added more docs
19070
19071 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19072
19073         * docs/gst/.cvsignore:
19074         * docs/gst/tmpl/.cvsignore:
19075         * docs/gst/tmpl/gstpipeline.sgml:
19076         * docs/gst/tmpl/gstplugin.sgml:
19077         * gst/gstpipeline.c:
19078         * gst/gstplugin.c:
19079         * gst/gstplugin.h:
19080           inlined the last two docs files
19081           removed the tmpl directory from cvs (no more conflicts here!)
19082
19083 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19084
19085         * docs/gst/gstreamer-sections.txt:
19086         * docs/gst/tmpl/.cvsignore:
19087         * docs/gst/tmpl/gstpad.sgml:
19088         * docs/gst/tmpl/gstpadtemplate.sgml:
19089         * gst/Makefile.am:
19090         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
19091         (gst_pad_finalize), (gst_pad_set_pad_template):
19092         * gst/gstpad.h:
19093         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
19094         (gst_pad_template_class_init), (gst_pad_template_init),
19095         (gst_pad_template_dispose), (name_is_valid),
19096         (gst_static_pad_template_get), (gst_pad_template_new),
19097         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19098         (gst_pad_template_pad_created):
19099         * gst/gstpadtemplate.h:
19100           inlined two more docs
19101           factored gstpadtemplate out of gstpad
19102
19103 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
19104
19105         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19106         (test_children_state_change_order_semi_sink):
19107           Fix test case: we can't rely on a fixed state change order when
19108           going from READY => PAUSED because the sink might commit its 
19109           new state first when the first buffer created by the source 
19110           reaches the sink before the source has finished its change state.
19111           (Test case still fails at times, see #316856, comment 5 onwards)
19112
19113 2005-09-24  Wim Taymans  <wim@fluendo.com>
19114
19115         * docs/design/part-events.txt:
19116         * docs/design/part-gstbus.txt:
19117         * docs/design/part-gstpipeline.txt:
19118         * docs/design/part-messages.txt:
19119         * docs/design/part-overview.txt:
19120         * docs/design/part-segments.txt:
19121         * gst/gstbin.c:
19122         * gst/gstbuffer.c:
19123         * gst/gstclock.c:
19124         * gst/gstelement.c:
19125         * gst/gstevent.c:
19126         * gst/gstfilter.c:
19127         * gst/gstiterator.c:
19128         Various documentation updates.
19129
19130 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19131
19132         * gst/gstclock.h:
19133           Well, that's embarassing.  Luckily we weren't using
19134           GST_CLOCK_DIFF anywhere.
19135
19136 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19137
19138         * common/gtk-doc.mak:
19139           don't fail on building XML, FC4 slave shows a bunch of doc
19140           missing bits that I don't get
19141         * gst/gstpad.c:
19142         * gst/gstpipeline.c:
19143         * gst/gststructure.c:
19144           some doc updates
19145
19146 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19147
19148         * docs/design/part-gstbin.txt:
19149         * docs/design/part-gstbus.txt:
19150         * gst/gstbus.c:
19151           Add blurb about how the bus goes into flushing mode and
19152           drops all messages when its bin goes from READY into NULL 
19153           state.
19154
19155 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19156
19157         * docs/gst/gstreamer-sections.txt:
19158         * gst/gststructure.c: (gst_structure_get_clock_time):
19159         * gst/gststructure.h:
19160           add a method to get a GstClockTime out of a structure
19161
19162 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19163
19164         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19165         (test_children_state_change_order_semi_sink), (gst_bin_suite):
19166           Added test to check state change order in bins (can still be made
19167           to fail here under heavy disk load; bails out with 'Push on pad
19168           fakesink:sink0, but it was not activated in push mode').
19169
19170         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19171           Fix state change order when there is only a semi sink (#316856)
19172
19173         * gst/gstbus.c: (gst_bus_class_init):
19174           Use _class_peek_parent(), not _class_ref(); fix docs to say
19175           'default main context' instead of 'mainloop' where that is
19176           what's meant.
19177
19178         * gst/gstelement.c: (gst_element_commit_state),
19179         (gst_element_set_state):
19180           Fix typos in debug messages
19181
19182 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19183
19184         * docs/README:
19185         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19186         * gst/gstpluginfeature.c:
19187         * gst/gstutils.c:
19188           various doc updates
19189         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19190           change an assert into an error until it gets fixed properly
19191
19192 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
19193
19194         * docs/gst/gstreamer-sections.txt:
19195         * docs/gst/tmpl/.cvsignore:
19196         * docs/gst/tmpl/gstelement.sgml:
19197         * docs/gst/tmpl/gstinfo.sgml:
19198         * docs/gst/tmpl/gstobject.sgml:
19199         * gst/gstelement.c:
19200         * gst/gstelement.h:
19201         * gst/gstinfo.c:
19202         * gst/gstinfo.h:
19203         * gst/gstobject.c: (gst_object_class_init):
19204         * gst/gstobject.h:
19205           inlined 3 more biiiig doc files and added some missing docs on the fly
19206
19207 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19208
19209         * check/gst/.cvsignore:
19210         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19211         * gst/gstregistryxml.c: (load_plugin),
19212         (gst_registry_xml_save_plugin):
19213           put back source in registry.  add checks for find_plugin.
19214         * testsuite/states/bin.c: (assert_state), (empty_bin),
19215         (test_adding_one_element), (main):
19216         * testsuite/states/locked.c: (main):
19217           some compile/run fixes
19218
19219 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19220
19221         * check/gst/gstvalue.c: (GST_START_TEST):
19222           fix leaks in the test itself
19223
19224 2005-09-22  Wim Taymans  <wim@fluendo.com>
19225
19226         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19227         (gst_base_sink_send_event), (gst_base_sink_peer_query),
19228         (gst_base_sink_query):
19229         Prepare for more accurate position reporting and query
19230         handling.
19231
19232         * gst/gstelement.c: (gst_element_send_event),
19233         (gst_element_set_state):
19234         Add some comment.
19235
19236 2005-09-22  Wim Taymans  <wim@fluendo.com>
19237
19238         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19239         (gst_query_parse_segment):
19240         * gst/gstquery.h:
19241         More documentation.
19242         Add segment query for future use.
19243
19244 2005-09-22  Wim Taymans  <wim@fluendo.com>
19245
19246         * gst/gstbin.c: (gst_bin_add_func):
19247         Some more debug info.
19248
19249         * gst/gstelement.c: (gst_element_send_event):
19250         Simplify send_event
19251
19252         * gst/gstelement.h:
19253         Don't know how flags got broken.
19254
19255         * gst/gstquery.h:
19256         Added new query.
19257
19258 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19259
19260         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19261           Add simplistic test suite for GST_TYPE_DATE serialisation and
19262           deserialisation.
19263
19264 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19265
19266         * docs/gst/gstreamer-sections.txt:
19267         * gst/gststructure.c: (gst_structure_set_valist),
19268         (gst_structure_get_date):
19269         * gst/gststructure.h:
19270         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19271         (gst_date_copy), (gst_value_compare_date),
19272         (gst_value_serialize_date), (gst_value_deserialize_date),
19273         (gst_value_transform_date_string),
19274         (gst_value_transform_string_date), (_gst_value_initialize):
19275         * gst/gstvalue.h:
19276           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19277           bunch of utility functions along with a hack that checks that
19278           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19279           is required. Part of the grand scheme in #170777.
19280
19281 2005-09-22  Andy Wingo  <wingo@pobox.com>
19282
19283         * gst/gstconfig.h.in: Psych out gtk-doc.
19284
19285         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19286
19287         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19288
19289         * tools/gst-inspect.c (print_element_list): Plug some
19290         inconsequential leaks.
19291
19292         * gst/gstregistry.c (gst_registry_get_default): Doc.
19293
19294         * check/gst/gstplugin.c: 
19295         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19296         * gst/gstelementfactory.c (gst_element_factory_create): 
19297         * gst/gstindexfactory.c (gst_index_factory_create): Update for
19298         refcount changes.
19299
19300         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19301         (gst_plugin_feature_load): Doc, don't eat refs.
19302
19303         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19304         (gst_plugin_list_free): Doc.
19305         (gst_plugin_load_file): Doc updates.
19306
19307         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19308         accessors returning refcounted objects, return a ref.
19309
19310         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19311         accessor for caps. IDEMPOTENCE. Oh yes.
19312
19313 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
19314
19315         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19316
19317         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19318         (_gst_debug_register_funcptr):
19319           Add mutex to serialise access to the hash table with
19320           the function pointer => function name string mapping;
19321           make that hash table static scope (#316809).
19322
19323         * gst/registries/.cvsignore:
19324           Remove left-over file.
19325
19326 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19327
19328         * docs/pwg/appendix-porting.xml:
19329           And something about newsegment events and caps-on-buffers to
19330           the porting guide (feel free to improve).
19331
19332 2005-09-21  Andy Wingo  <wingo@pobox.com>
19333
19334         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19335         data and event probes on the same pad.
19336         (test_buffer_probe_once): Test that removing probes from within
19337         the probe functions works.
19338
19339 2005-09-21  Andy Wingo  <wingo@pobox.com>
19340
19341         * check/gst/gstutils.c: New file.
19342         (test_buffer_probe_n_times): A simple buffer probe test. More to
19343         come, foolios.
19344
19345         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19346         have-data::buffer, not have-data.
19347         (gst_pad_add_event_probe): Likewise for have-data::event.
19348         (gst_pad_add_data_probe): More docs. The part about 'resolving the
19349         peer' isn't quite right yet though.
19350         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
19351         (gst_pad_remove_data_probe): Change to take the guint handler_id
19352         as their arg, not the function+data, which is more glib-like.
19353
19354         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19355         the signal emission to indicate if the data is a buffer or an
19356         event.
19357         (gst_pad_get_type): Initialize buffer and event quarks.
19358         (gst_pad_class_init): have-data is now a detailed signal, yes it
19359         is.
19360
19361 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19362
19363         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19364         * gst/gstutils.c: (gst_util_set_value_from_string),
19365         (gst_util_set_object_arg):
19366           Don't put functional code in g_return_if_fail() or
19367           g_return_val_if_fail() statements, otherwise things will 
19368           break when G_DISABLE_CHECKS is defined during compilation.
19369
19370 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19371
19372         * docs/gst/tmpl/.cvsignore:
19373         * docs/gst/tmpl/gstvalue.sgml:
19374         * gst/gstvalue.c:
19375         * gst/gstvalue.h:
19376           inlied another one and added  some obvious docs
19377
19378 2005-09-21  Wim Taymans  <wim@fluendo.com>
19379
19380         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19381         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19382         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19383         (gst_fdsrc_get_property), (gst_fdsrc_create):
19384         * gst/elements/gstfdsrc.h:
19385         Properly implement fdsrc. Removed signal and timeout,
19386         better implemented somewhere else.
19387
19388 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19389
19390         * docs/gst/tmpl/.cvsignore:
19391         * docs/gst/tmpl/gstimplementsinterface.sgml:
19392         * gst/gstinterface.c:
19393           inlined more docs
19394
19395 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19396
19397         * docs/gst/gstreamer-sections.txt:
19398         * docs/gst/tmpl/.cvsignore:
19399         * docs/gst/tmpl/gstenumtypes.sgml:
19400           remove obsolete doc file
19401
19402 2005-09-21  David Schleef  <ds@schleef.org>
19403
19404         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19405         little beer, fix a little leak.
19406
19407 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19408
19409         * docs/gst/gstreamer-docs.sgml:
19410         * docs/gst/gstreamer-sections.txt:
19411         * docs/gst/tmpl/.cvsignore:
19412         * gst/Makefile.am:
19413         * gst/gst.h:
19414         * gst/gstbin.c:
19415         * gst/gstelement.h:
19416         * gst/gstindex.c: (gst_index_class_init):
19417         * gst/gstindex.h:
19418         * gst/gstindexfactory.c: (gst_index_factory_get_type),
19419         (gst_index_factory_class_init), (gst_index_factory_init),
19420         (gst_index_factory_finalize), (gst_index_factory_new),
19421         (gst_index_factory_destroy), (gst_index_factory_find),
19422         (gst_index_factory_create), (gst_index_factory_make):
19423         * gst/gstindexfactory.h:
19424         * gst/gstpluginfeature.c:
19425         * gst/gstpluginfeature.h:
19426         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19427           more docs inlined, splitted gstindex.{c,h}
19428
19429 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19430
19431         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19432           fix a leak
19433
19434 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19435
19436         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19437           Set sync to FALSE by default.
19438
19439 2005-09-20  Wim Taymans  <wim@fluendo.com>
19440
19441         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19442         (gst_base_sink_init):
19443         Make sync property settable from subclass.
19444
19445         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19446         (gst_fake_sink_change_state):
19447         Set sync to FALSE by default.
19448
19449 2005-09-20  Wim Taymans  <wim@fluendo.com>
19450
19451         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19452         * tools/gst-launch.c: (main):
19453         The timeout handler should have lower priority than the source
19454         so we don't timeout before popping a message with 0 timeout.
19455         Dump error messages after failed state change.
19456
19457 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19458
19459         * tools/gst-inspect.c: (print_element_properties_info):
19460           Fix two typos.
19461
19462 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19463
19464         * check/gst/gstevent.c:
19465         * gst/elements/gstfakesink.c:
19466         * gst/elements/gstfakesink.h:
19467           remove the sync property from fakesink.
19468           has the side effect of setting sync TRUE
19469           for fakesink, which is a change.  Anyone who knows how
19470           to fix this nicely in a GObject-y way, feel free.
19471
19472 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19473
19474         * docs/gst/gstreamer-docs.sgml:
19475           remove probe refsection
19476
19477 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19478
19479         * check/Makefile.am:
19480           disable valgrinding the controller test again
19481         * docs/gst/gstreamer-sections.txt:
19482           update for api-changes
19483
19484 2005-09-20  Wim Taymans  <wim@fluendo.com>
19485
19486         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19487         (gst_base_sink_set_property), (gst_base_sink_get_property),
19488         (gst_base_sink_do_sync):
19489         * gst/base/gstbasesink.h:
19490         Added sync property to basesink to disable clock sync.
19491
19492 2005-09-20  Andy Wingo  <wingo@pobox.com>
19493
19494         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19495         eating the caller's refcount.
19496
19497         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
19498         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19499         refcount.
19500
19501         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19502         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19503         of GLib 2.8 public, so we can know which refcount to check in
19504         tests.
19505
19506         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19507         (gst_object_init): Only set the gst refcount if we're going ahead
19508         with the refcount hack.
19509
19510 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19511
19512         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19513         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19514           more leaks plumbed, added more debug-logging
19515         * gst/gstmacros.h:
19516           whitespace fix
19517
19518 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19519
19520         * gst/gstmessage.c:
19521           remove include of gstmemchunk.h
19522
19523 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19524
19525         * gst/gstclock.c: (_gst_clock_id_free):
19526           Commit from the Political Party For More Atomic CVS Commits,
19527           so that people don't waste too much of their day fishing
19528           out obvious leaks out of massive commits.
19529           Oh, and fix a pretty damn obvious leak in the memchunk
19530           removal code.
19531
19532 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19533
19534         * check/Makefile.am:
19535         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19536           plug mem-leak, re-add to valgrindable tests
19537
19538 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19539
19540         * gst/gstplugin.h:
19541           unbreak the build for those who have chronic arthritis
19542           and typing "make check" is just too taxing on the hands
19543
19544 2005-09-20  Andy Wingo  <wingo@pobox.com>
19545
19546         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19547         really want it out, you should fix plugins at the same time.
19548
19549 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
19550
19551         * configure.ac:
19552         * docs/gst/gstreamer-sections.txt:
19553         * gst/gstobject.c:
19554           added missing symbols to api docs
19555           disable ref-count hack if we have glib >= 2.8
19556
19557 2005-09-19  David Schleef  <ds@schleef.org>
19558
19559         * docs/gst/Makefile.am: Ignore a few more internal headers
19560         * docs/gst/gstreamer-docs.sgml: Remove old sections
19561         * docs/gst/gstreamer-sections.txt: Remove old sections
19562         * docs/gst/tmpl/gstobject.sgml: update
19563         * docs/gst/tmpl/gstplugin.sgml: update
19564         * docs/gst/tmpl/gstpluginfeature.sgml: update
19565         * docs/random/ds/0.9-suggested-changes: update.
19566         * gst/Makefile.am: remove memchunk and trashstack, since they're
19567           not used.
19568         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19569         * gst/gst.h: don't include some headers
19570         * gst/gstchildproxy.c: add gstmarshal.h
19571         * gst/gstclock.c: Don't use memchunks
19572         * gst/gstminiobject.c: Add some docs
19573         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19574         * gst/gstobject.h: same
19575         * gst/gstplugin.c: include gstmacros.h
19576         * gst/gstplugin.h: don't include gstmacros.h, since it's private
19577         * gst/gstquery.c: don't use memchunks
19578         * gst/gstregistry.c: rename gst_registry_deinit()
19579         * gst/gstregistry.h: same
19580
19581 2005-09-19  David Schleef  <ds@schleef.org>
19582
19583         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19584         * docs/libs/gstreamer-libs-sections.txt:
19585         * docs/libs/tmpl/gstgetbits.sgml:
19586         * docs/libs/tmpl/gstputbits.sgml:
19587
19588 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
19589
19590         * win32/gstenumtypes.c:
19591         * win32/gstenumtypes.h:
19592           Update.
19593
19594 2005-09-19  Wim Taymans  <wim@fluendo.com>
19595
19596         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19597         Automatically PAUSE and RESUME a pipeline when a flushing seek
19598         is performed.
19599
19600 2005-09-19  Andy Wingo  <wingo@pobox.com>
19601
19602         * gst/gstregistry.h: Spacing fixen.
19603
19604 2005-09-19  Wim Taymans  <wim@fluendo.com>
19605
19606         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19607         Handle state change failure more correctly.
19608
19609 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19610
19611         * check/Makefile.am:
19612         * check/pipelines/cleanup.c: (run_pipeline):
19613         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19614         (GST_START_TEST):
19615           enable cleanup again after fixing the leak
19616         * docs/README:
19617           some more info on docs
19618
19619 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19620
19621         * check/Makefile.am:
19622           re-enable tests now that leaks are plugged
19623         * check/gst/gst.c:
19624         * check/gst/gstbin.c:
19625         * check/gst/gstpipeline.c:
19626           add some more tests while fixing leaks
19627         * common/check.mak:
19628           make sure binaries are uptodate when valgrinding/gdbing
19629         * gst/gst.c:
19630         * gst/gstelementfactory.c:
19631           remove a ref too many, and add a FIXME for when we get
19632           round to disposing of classes
19633         * gst/gstplugin.c:
19634           fix the refcounting when loading a plugin from a file and
19635           the code pretends that the pointer is the same even though
19636           of course it can change
19637         * gst/gstpluginfeature.c:
19638           unref plugins marked cached (a bit confusing as a name)
19639           as the docs state should be done
19640           various doc additions to explain refcounting
19641         * gst/gstregistry.c:
19642         * gst/gstregistryxml.c:
19643           debugging
19644
19645 2005-09-19  Wim Taymans  <wim@fluendo.com>
19646
19647         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19648         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19649         (send_messages), (GST_START_TEST), (gstbus_suite):
19650         * check/gst/gstpipeline.c: (GST_START_TEST):
19651         * check/pipelines/cleanup.c: (run_pipeline):
19652         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19653         (GST_START_TEST):
19654         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19655         (gst_bus_source_check), (gst_bus_source_dispatch),
19656         (gst_bus_create_watch), (gst_bus_add_watch_full),
19657         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19658         * gst/gstbus.h:
19659         * tools/gst-launch.c: (event_loop):
19660         * tools/gst-md5sum.c: (event_loop):
19661         GstBusHandler -> GstBusFunc, return value has the same meaning as
19662         any other GSource (FALSE == remove source).
19663         _add_watch() and _add_watch_full() now take a MessageType mask to
19664         only handle specific types of messages.
19665         _poll() returns the GstMessage instead of the message type to avoid
19666         race conditions.
19667         _have_pending() takes a MessageType mask now too.
19668         Added testsuite for multiple bus watches.
19669         Fix testsuites and applications for new bus API.
19670
19671 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19672
19673         * check/Makefile.am:
19674           mark a bunch of the tests as to fix until we fix them
19675
19676 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19677
19678         * common/check.mak:
19679           use GST_PLUGIN settings for valgrind tests as well, so we're
19680           valgrinding the correct thing
19681         * gst/gst.c: (init_post):
19682           plug another leak
19683
19684 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19685
19686         * gst/gst.c: (init_post), (gst_deinit):
19687         * gst/gstelementfactory.c: (gst_element_factory_class_init),
19688         (gst_element_factory_finalize), (gst_element_factory_cleanup):
19689         * gst/gstindex.c: (gst_index_factory_class_init),
19690         (gst_index_factory_finalize):
19691         * gst/gstobject.c: (gst_object_dispose):
19692         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19693         (gst_plugin_load_file), (gst_plugin_desc_free):
19694         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19695         (gst_plugin_feature_finalize):
19696         * gst/gstregistry.c: (gst_registry_class_init),
19697         (gst_registry_init), (gst_registry_finalize),
19698         (gst_registry_get_default), (gst_registry_deinit):
19699         * gst/gstregistry.h:
19700         * gst/gstregistryxml.c: (load_feature), (load_plugin):
19701           various cleanups and memleak plugging.  make valgrind is happy now.
19702
19703 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19704
19705         * common/check.mak:
19706           add a check-valgrind target
19707
19708 2005-09-18  David Schleef  <ds@schleef.org>
19709
19710         * tools/gst-inspect.c: Revert the GOption code.
19711
19712 2005-09-17  David Schleef  <ds@schleef.org>
19713
19714         * check/Makefile.am: Fix environment variables.
19715         * check/gst/gstplugin.c: Fix for API changes.
19716         * tools/gst-inspect.c: Fix for API changes.
19717         * tools/gst-xmlinspect.c: Fix for API changes.
19718         * gst/gstelementfactory.c:
19719         * gst/gstplugin.c:
19720         * gst/gstplugin.h:
19721         * gst/gstpluginfeature.c:
19722         * gst/gstpluginfeature.h:
19723         * gst/gstregistry.c:
19724         * gst/gstregistry.h:
19725         * gst/gstregistryxml.c:
19726         * gst/gsttypefind.c:
19727         * gst/gsttypefindfactory.c:
19728         * gst/indexers/gstfileindex.c:
19729         * gst/indexers/gstmemindex.c:
19730         * gst/schedulers/Makefile.am:
19731           Change registry to keep track of both plugins and features,
19732           removing the feature tracking from plugins themselves.
19733
19734 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19735
19736         * check/Makefile.am:
19737         * tools/gst-register.1.in:
19738           remove gst-register
19739
19740 2005-09-15  David Schleef  <ds@schleef.org>
19741
19742         * check/gst/gstplugin.c:
19743         * gst/gstelementfactory.c:
19744         * gst/gstplugin.c:
19745         * gst/gstpluginfeature.c:
19746         * gst/gstregistry.c:
19747           Getting tired of debugging.  Disabled all the unreffing of
19748           plugins and features, which fixes the segfaults, but of
19749           course leaks like crazy.  At least playbin works.
19750
19751 2005-09-15  David Schleef  <ds@schleef.org>
19752
19753         * check/gst/gstplugin.c: (register_check_elements),
19754         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19755         More testing
19756         * gst/elements/gsttypefindelement.c: Fix refcounting.
19757         * gst/gsttypefind.c:
19758         * gst/gsttypefindfactory.c:
19759         * gst/gsttypefindfactory.h:
19760
19761 2005-09-15  David Schleef  <ds@schleef.org>
19762
19763         * gst/gstindex.c: get refcounting correct.
19764         * gst/gstregistry.c: Handle the case where a feature/plugin is
19765           not found.
19766
19767 2005-09-15  David Schleef  <ds@schleef.org>
19768
19769         * check/Makefile.am:
19770         * check/gst/gstplugin.c: Add test
19771         * gst/gstplugin.c: Fix problems noticed by testsuite
19772         * gst/gstplugin.h:
19773         * gst/gstregistry.c: 
19774         * gst/gstregistry.h:
19775
19776 2005-09-15  David Schleef  <ds@schleef.org>
19777
19778         * gst/gstplugin.c: Implement semi-decent recounting and locking
19779           in plugins and plugin features.
19780         * gst/gstplugin.h:
19781         * gst/gstpluginfeature.c:
19782         * gst/gstpluginfeature.h:
19783         * gst/gstregistry.c:
19784
19785 2005-09-15  Michael Smith <msmith@fluendo.com>
19786
19787         * gst/gstregistry.c: (gst_registry_get_feature_list):
19788           Implement this. Makes oggdemux work; decodebin still broken.
19789
19790 2005-09-14  David Schleef  <ds@schleef.org>
19791
19792         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19793           #316076)
19794         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19795         * gst/check/Makefile.am:
19796         * libs/gst/controller/Makefile.am:
19797         * libs/gst/dataprotocol/Makefile.am:
19798
19799 2005-09-14  David Schleef  <ds@schleef.org>
19800
19801         * configure.ac: Remove getbits library.  Nothing uses it, and
19802           it should be in something like liboil if someone did want
19803           to use it.
19804         * libs/gst/Makefile.am:
19805         * libs/gst/getbits/Makefile.am:
19806         * libs/gst/getbits/gbtest.c:
19807         * libs/gst/getbits/getbits.c:
19808         * libs/gst/getbits/getbits.h:
19809         * libs/gst/getbits/gstgetbits_generic.c:
19810         * libs/gst/getbits/gstgetbits_i386.s:
19811         * libs/gst/getbits/gstgetbits_inl.h:
19812
19813 2005-09-14  David Schleef  <ds@schleef.org>
19814
19815         * gst/Makefile.am: Dist glib-compat.h
19816
19817 2005-09-14  David Schleef  <ds@schleef.org>
19818
19819         * configure.ac: Remove gst/registries, since it's no longer used.
19820         * gst/registries/Makefile.am:
19821         * gst/registries/gstlibxmlregistry.c:
19822         * gst/registries/gstlibxmlregistry.h:
19823         * gst/registries/gstxmlregistry.c:
19824         * gst/registries/gstxmlregistry.h:
19825         * gst/registries/registrytest.c:
19826
19827 2005-09-14  David Schleef  <ds@schleef.org>
19828
19829         * gst/glib-compat.h:
19830         * gst/gstregistryxml.c:
19831           Convergence is near.  Seriously.
19832
19833 2005-09-14  David Schleef  <ds@schleef.org>
19834
19835         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19836         * gst/glib-compat.h:
19837           Attempt #4 to appease the buildbots.
19838
19839 2005-09-14  David Schleef  <ds@schleef.org>
19840
19841         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19842           Attempt #3.
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         Attempt #2.
19848
19849 2005-09-14  David Schleef  <ds@schleef.org>
19850
19851         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19852           the new functions.
19853
19854 2005-09-14  David Schleef  <ds@schleef.org>
19855
19856         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19857         * gst/glib-compat.h: Add some functions that are in newer versions
19858           of glib than we care to require.
19859         * gst/gstregistryxml.c: Use them.
19860
19861 2005-09-14  David Schleef  <ds@schleef.org>
19862
19863         * po/POTFILES.in: remove gst-register.c
19864
19865 2005-09-14  David Schleef  <ds@schleef.org>
19866
19867         * docs/gst/gstreamer-docs.sgml:
19868         * docs/gst/gstreamer-sections.txt:
19869         * docs/gst/gstreamer.types:
19870         * docs/gst/tmpl/gstelement.sgml:
19871         * docs/gst/tmpl/gstplugin.sgml:
19872         * docs/gst/tmpl/gstpluginfeature.sgml:
19873           Documentation updates for registry changes.
19874
19875 2005-09-14  David Schleef  <ds@schleef.org>
19876
19877         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19878           because we don't require glib-2.8.
19879
19880 2005-09-14  David Schleef  <ds@schleef.org>
19881
19882         * gst/gstregistryxml.c: Added.  Essentially moved out of the
19883           registries directory.
19884
19885 2005-09-14  David Schleef  <ds@schleef.org>
19886
19887         * check/Makefile.am:
19888         * check/generic/states.c:
19889         * gst/Makefile.am:
19890         * gst/gst.c:
19891         * gst/gst.h:
19892         * gst/gst_private.h:
19893         * gst/gstelementfactory.c:
19894         * gst/gstindex.c:
19895         * gst/gstinfo.c:
19896         * gst/gstplugin.c:
19897         * gst/gstplugin.h:
19898         * gst/gstpluginfeature.c:
19899         * gst/gstpluginfeature.h:
19900         * gst/gstregistry.c:
19901         * gst/gstregistry.h:
19902         * gst/gstregistrypool.c: remove
19903         * gst/gstregistrypool.h: remove
19904         * gst/gsttypefind.c:
19905         * gst/gsttypefindfactory.c:
19906         * gst/gsturi.c:
19907         * tools/Makefile.am:
19908         * tools/gst-compprep.c:
19909         * tools/gst-inspect.c:
19910         * tools/gst-register.c: remove
19911         * tools/gst-xmlinspect.c:
19912           Registry rewrite.  Changes registry from being a file created
19913           by a tool into a simple cache file created automatically by 
19914           libgstreamer.  Removed gst-register (because it's no longer
19915           needed).  Remove registry pools, because we only have one
19916           registry implementation (XML).  Fix up other subsystems as
19917           necessary.
19918
19919 2005-09-13  Michael Smith <msmith@fluendo.com>
19920
19921         * gst/gstconfig.h.in:
19922           Don't Use windows linking attributes for MinGW. Fixes #316157
19923
19924 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19925
19926         * gst/gstutils.c: (set_state_async_thread_func),
19927         (gst_element_set_state_async):
19928           Apparently people think it's better if this function doesn't
19929           try to set the state to whatever state was asked for on the first
19930           call to this function for any object.  Seriously.
19931
19932 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19933
19934         * check/gst/gstpipeline.c: (GST_START_TEST):
19935         * docs/gst/gstreamer-sections.txt:
19936         * gst/gstutils.c: (set_state_async_thread_func),
19937         (gst_element_set_state_async):
19938         * gst/gstutils.h:
19939           add a "gst_element_set_state_async" method that
19940           sets the state and starts a thread to make sure the state
19941           change completes as best as it can
19942
19943 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19944
19945         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19946           codify design+behaviour in testsuite after discussion
19947
19948 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19949
19950         * docs/gst/tmpl/gstelement.sgml:
19951         * docs/manual/appendix-quotes.xml:
19952           add a quote
19953         * gst/gstelement.c: (gst_element_set_state):
19954           add some debug
19955
19956 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
19957
19958         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19959         (gst_base_transform_prepare_output_buf),
19960         (gst_base_transform_handle_buffer):
19961         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19962         (gst_capsfilter_prepare_buf):
19963           Remove the requirement for sub-classes to call the parent
19964           implementation of prepare_output_buffer with a wrapper function.
19965           
19966         * gst/gsttaglist.h:
19967         * gst/gsttagsetter.h:
19968           Fix #define wrapper
19969
19970 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
19971
19972         * docs/gst/gstreamer-sections.txt:
19973           more doc cleanups
19974
19975 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19976
19977         * docs/gst/gstreamer-sections.txt:
19978         * docs/gst/tmpl/gstelement.sgml:
19979         * docs/gst/tmpl/gstplugin.sgml:
19980         * gst/gstminiobject.c:
19981         * gst/gstvalue.h:
19982           docs now stop throwing warnings
19983
19984 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19985
19986         * docs/gst/gstreamer-sections.txt:
19987         * docs/gst/gstreamer.types:
19988         * docs/gst/tmpl/gstpad.sgml:
19989         * docs/gst/tmpl/gsttypes.sgml:
19990         * gst/base/gstadapter.h:
19991         * gst/base/gstbasesink.h:
19992         * gst/base/gstbasesrc.h:
19993         * gst/gstbin.h:
19994         * gst/gstbuffer.h:
19995         * gst/gstbus.h:
19996         * gst/gstcaps.h:
19997         * gst/gstclock.h:
19998         * gst/gstelement.h:
19999         * gst/gstevent.h:
20000         * gst/gstmessage.h:
20001         * gst/gstpad.h:
20002         * gst/gststructure.c:
20003         * gst/registries/gstlibxmlregistry.h:
20004           various documentation fixes
20005
20006 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20007
20008         * docs/gst/gstreamer-sections.txt:
20009         * docs/gst/tmpl/gstvalue.sgml:
20010           rearrange gstvalue section
20011         * gst/gstutils.c: (gst_element_state_get_name):
20012           NONE -> VOID
20013         * gst/gstvalue.c: (_gst_value_initialize):
20014         * gst/gstvalue.h:
20015           doc updates
20016
20017 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
20018
20019         * check/gst-libs/controller.c:
20020           Header include fix.
20021         * gst/base/gstbasetransform.c:
20022         (gst_base_transform_default_prepare_buf),
20023         (gst_base_transform_handle_buffer):
20024         * gst/base/gstbasetransform.h:
20025           Some more basetransform changes and fixes to enable sub-classes
20026           that modify buffer metadata only.
20027         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20028         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
20029         (gst_capsfilter_prepare_buf):
20030           If the output pad has fixed allowed caps and input buffers 
20031           don't have any, set the fixed caps on outgoing buffers.
20032
20033 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
20034         * check/elements/identity.c: (GST_START_TEST):
20035           Make the error a little clearer when the test fails because
20036           identity made a copy of the buffer.
20037         * docs/gst/gstreamer-sections.txt:
20038           New symbols in gstbasetransform.h
20039         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20040         (gst_base_transform_init), (gst_base_transform_transform_size),
20041         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20042         (gst_base_transform_default_prepare_buf),
20043         (gst_base_transform_get_unit_size),
20044         (gst_base_transform_buffer_alloc),
20045         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
20046         (gst_base_transform_change_state),
20047         (gst_base_transform_set_passthrough),
20048         (gst_base_transform_set_in_place),
20049         (gst_base_transform_is_in_place):
20050         * gst/base/gstbasetransform.h:
20051           Change BaseTransform to separate in_place operate from same_caps
20052           output. in_place implies that the element can perform the transform
20053           on incoming buffers in-place, even if the caps on the output are
20054           different.
20055           Sub-class elements can now implement special buffer allocation
20056           methods for outgoing buffers if they wish to.
20057           Big documentation addition.
20058         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
20059         * gst/elements/gstelements.c:
20060           Changes for basetransform modifications.
20061         * gst/elements/Makefile.am:
20062         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
20063           Compile fix. Extra debug output.
20064
20065 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20066
20067         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
20068         (gst_pad_suite):
20069           add tests for valid pad naming
20070         * gst/check/gstcheck.c: (gst_check_log_message_func),
20071         (gst_check_log_critical_func):
20072           add ASSERT_WARNING
20073           remove printing of code, it is fragile when the code contains
20074           % and the line number is enough info
20075         * gst/check/gstcheck.h:
20076         * gst/gstpad.c: (gst_pad_template_new):
20077           fix memleaks
20078
20079 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20080
20081         * configure.ac:
20082           say what CHECK flags we use
20083         * docs/libs/gstreamer-libs.types:
20084         * libs/gst/controller/Makefile.am:
20085         * libs/gst/controller/gst-controller.c:
20086         * libs/gst/controller/gst-controller.h:
20087         * libs/gst/controller/gst-helper.c:
20088         * libs/gst/controller/gst-interpolation.c:
20089         * libs/gst/controller/gstcontroller.c:
20090         * libs/gst/controller/gsthelper.c:
20091         * libs/gst/controller/gstinterpolation.c:
20092         * tools/gst-inspect.c: (print_plugin_info):
20093           we don't use dashes in header names
20094
20095 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20096
20097         * check/Makefile.am:
20098         * check/gst/.cvsignore:
20099         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20100         (gst_pipeline_suite), (main):
20101           adding a test for pipelines and state changes
20102         * gst/gstutils.c: (get_state_func):
20103           add some debugging
20104         * gstreamer.spec.in:
20105           fix up spec file
20106
20107 2005-09-08  Michael Smith <msmith@fluendo.com>
20108
20109         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20110         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20111         (gst_file_src_is_seekable), (gst_file_src_get_size),
20112         (gst_file_src_start):
20113         * gst/elements/gstfilesrc.h:
20114           Various fixes for unseekable, unmmapable, and non-normal files, so
20115           that fallback to read() rather than mmap() works.
20116         * gst/gstevent.c: (gst_event_new_newsegment):
20117           Allow newsegment events with segment_start == segment_end, as will
20118           correctly happen if you use filesrc on a zero-size file, for
20119           example.
20120
20121 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20122
20123         * gst/gstplugin.c: (gst_plugin_load_file):
20124           Call g_module_close when we don't load the module
20125
20126         * gst/registries/gstlibxmlregistry.c:
20127         (gst_xml_registry_get_property):
20128           Port leak fix from 0.8
20129
20130 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20131
20132         * docs/gst/gstreamer-docs.sgml:
20133         * docs/gst/tmpl/.cvsignore:
20134         * docs/gst/tmpl/gsttrace.sgml:
20135         * docs/gst/tmpl/gsttrashstack.sgml:
20136         * gst/Makefile.am:
20137         * gst/gst.h:
20138         * gst/gstelement.h:
20139         * gst/gstevent.h:
20140         * gst/gstmessage.c:
20141         * gst/gstmessage.h:
20142         * gst/gsttag.c:
20143         * gst/gsttag.h:
20144         * gst/gsttaginterface.c:
20145         * gst/gsttaginterface.h:
20146         * gst/gsttaglist.c:
20147         * gst/gsttaglist.h:
20148         * gst/gsttagsetter.c:
20149         * gst/gsttagsetter.h:
20150         * gst/gsttrace.c:
20151         * gst/gsttrace.h:
20152         * gst/gsttrashstack.c:
20153           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20154           inlined docs for gsttrace, gsttrashstack
20155
20156 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20157
20158         * gst/Makefile.am:
20159         * gst/elements/gstbufferstore.h:
20160         * gst/elements/gsttypefindelement.c:
20161         * gst/elements/gsttypefindelement.h:
20162         * gst/gst.h:
20163         * gst/gsttypefind.c:
20164         * gst/gsttypefind.h:
20165         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20166         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20167         (gst_type_find_factory_dispose),
20168         (gst_type_find_factory_unload_thyself),
20169         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20170         (gst_type_find_factory_get_caps),
20171         (gst_type_find_factory_get_extensions),
20172         (gst_type_find_factory_call_function):
20173         * gst/gsttypefindfactory.h:
20174         * gst/registries/gstlibxmlregistry.c:
20175         * gst/registries/gstxmlregistry.c:
20176           splitted gsttypefind into gsttypefind, gsttypefindfactory
20177
20178 2005-09-07  Andy Wingo  <wingo@pobox.com>
20179
20180         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20181         condition whereby the pad's task function is entered before the
20182         pad_mode variable was set.
20183
20184 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20185
20186         * gst/gstpad.c: (gst_pad_alloc_buffer):
20187           Catch misbehaving pad_alloc functions that don't
20188           set up caps and do it for them.
20189
20190 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20191
20192         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20193           test for pipe!=NULL
20194         * docs/gst/tmpl/.cvsignore:
20195         * docs/gst/tmpl/gstmemchunk.sgml:
20196         * docs/gst/tmpl/gstparse.sgml:
20197         * docs/gst/tmpl/gsttaglist.sgml:
20198         * docs/gst/tmpl/gsttagsetter.sgml:
20199         * docs/gst/tmpl/gsttypefind.sgml:
20200         * docs/gst/tmpl/gsttypefindfactory.sgml:
20201         * gst/gstmemchunk.c:
20202         * gst/gstparse.c:
20203         * gst/gsttag.c:
20204         * gst/gsttaginterface.c:
20205         * gst/gsttypefind.c:
20206         * gst/gsttypefind.h:
20207           inlined more docs
20208
20209 === release 0.9.2 ===
20210
20211 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20212
20213         * NEWS:
20214         * RELEASE:
20215         * configure.ac:
20216           releasing 0.9.2, "South"
20217
20218 2005-09-05  Andy Wingo  <wingo@pobox.com>
20219
20220         * gst/registries/gstxmlregistry.h:
20221         * gst/registries/gstxmlregistry.c: Um... resurrect...
20222         
20223         * gst/registries/gstxmlregistry.h:
20224         * gst/registries/gstxmlregistry.c: and update to newer API.
20225         Incidentally they should be a bit faster now that they don't have
20226         to parse the caps.
20227         
20228 2005-09-05  Andy Wingo  <wingo@pobox.com>
20229
20230         * gst/registries/gstxmlregistry.h:
20231         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20232         replaced by the libxml registry a while back
20233
20234 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20235
20236         * docs/gst/tmpl/gstplugin.sgml:
20237         * gst/elements/gstelements.c:
20238         * gst/gst.c:
20239         * gst/gstplugin.c: (gst_plugin_register_func),
20240         (gst_plugin_desc_copy), (gst_plugin_desc_free),
20241         (gst_plugin_get_source):
20242         * gst/gstplugin.h:
20243         * gst/registries/gstlibxmlregistry.c: (load_plugin),
20244         (gst_xml_registry_save_plugin):
20245         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20246         (gst_xml_registry_save_plugin):
20247         * tools/gst-inspect.c: (print_plugin_info):
20248           add a "source" plugin description field, to represent the source
20249           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
20250           will set it to PACKAGE, which is automake's idea of the name of
20251           the source project.
20252
20253 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20254
20255         * Makefile.am:
20256         * autogen.sh:
20257         * configure.ac:
20258         * docs/Makefile.am:
20259         * docs/faq/Makefile.am:
20260         * docs/gst/tmpl/gstelement.sgml:
20261         * docs/gst/tmpl/gsttypes.sgml:
20262         * docs/htmlinstall.mak:
20263         * docs/manual/Makefile.am:
20264         * docs/pwg/Makefile.am:
20265           reorganize doc build a little
20266           split out docbook and gtk-doc stuff
20267           have two separate --enable's and enable them through autogen
20268           but disable by default in configure (to be similar to other
20269           projects)
20270         * gstreamer.spec.in:
20271           clean up docs install
20272         * po/af.po:
20273         * po/az.po:
20274         * po/ca.po:
20275         * po/cs.po:
20276         * po/de.po:
20277         * po/en_GB.po:
20278         * po/fr.po:
20279         * po/it.po:
20280         * po/nb.po:
20281         * po/nl.po:
20282         * po/ru.po:
20283         * po/sq.po:
20284         * po/sr.po:
20285         * po/sv.po:
20286         * po/tr.po:
20287         * po/uk.po:
20288         * po/vi.po:
20289           translation updates
20290
20291 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
20292
20293         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20294           Add comment.
20295           
20296         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20297         (gst_fake_sink_change_state):
20298           Make state change function thread-safe.
20299           
20300         * gst/gstpad.c: (gst_pad_alloc_buffer):
20301           Set offset on generic buffer allocated by fallback.
20302
20303 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
20304
20305         * docs/gst/gstreamer-sections.txt:
20306         * docs/gst/tmpl/gstelement.sgml:
20307         * gst/gstpad.c:
20308         * libs/gst/controller/gst-controller.c:
20309         (gst_controlled_property_set_interpolation_mode),
20310         (gst_controlled_property_new),
20311         (gst_controller_find_controlled_property):
20312          run the wingo-magic script against the docs
20313
20314 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20315
20316         * docs/gst/gstreamer-docs.sgml:
20317         * docs/gst/gstreamer-sections.txt:
20318         * docs/gst/tmpl/.cvsignore:
20319         * docs/gst/tmpl/gstelementdetails.sgml:
20320         * docs/gst/tmpl/gstelementfactory.sgml:
20321         * gst/gst.c:
20322         * gst/gstbus.c:
20323         * gst/gstelementfactory.c:
20324         * gst/gstelementfactory.h:
20325           merged elementdetails docs into elementfactory docs
20326           inlined both
20327
20328 2005-09-02  Andy Wingo  <wingo@pobox.com>
20329
20330         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20331         consider this enum an enum and not a flags.
20332
20333 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20334
20335         * docs/gst/gstreamer-docs.sgml:
20336         * docs/gst/tmpl/.cvsignore:
20337         * docs/gst/tmpl/gstghostpad.sgml:
20338         * docs/gst/tmpl/gstiterator.sgml:
20339         * docs/gst/tmpl/gstmacros.sgml:
20340         * docs/gst/tmpl/gstrealpad.sgml:
20341         * docs/gst/tmpl/gstregistry.sgml:
20342         * docs/gst/tmpl/gstregistrypool.sgml:
20343         * docs/gst/tmpl/gststructure.sgml:
20344         * docs/gst/tmpl/gstsystemclock.sgml:
20345         * docs/gst/tmpl/gsttrace.sgml:
20346         * gst/gstghostpad.c:
20347         * gst/gstmacros.h:
20348         * gst/gstmemchunk.c:
20349         * gst/gstmemchunk.h:
20350         * gst/gstqueue.c:
20351         * gst/gstregistry.c:
20352         * gst/gstregistrypool.c:
20353         * gst/gststructure.c:
20354         * gst/gstsystemclock.c:
20355           more docs inlined
20356
20357 2005-09-02  Andy Wingo  <wingo@pobox.com>
20358
20359         * gst/gstelement.h (GstState): Renamed from GstElementState,
20360         changed to be a normal enum instead of flags.
20361         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20362         munged to be GST_STATE_CHANGE_*.
20363         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20364         work with the new state representation.
20365         (GstStateChange): New enumeration of possible state transitions.
20366         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20367         (GstElementClass::change_state): Pass the GstStateChange along as
20368         an argument. Helps language bindings, so they don't have to use
20369         tricky lock-needing macros like GST_STATE_CHANGE ().
20370
20371         * scripts/update-states (file): New script. Run it on a file to
20372         update it for state naming and API changes. Updates files in
20373         place.
20374
20375         * All files updated for the new API.
20376
20377 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20378
20379         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20380         * gst/gstutils.c: (gst_util_set_value_from_string),
20381         (gst_util_set_object_arg):
20382           fix a bunch of unchecked return values
20383         * tools/gst-complete.c: (main):
20384         * gstreamer.spec.in:
20385           clean up a little
20386
20387 2005-09-01  Wim Taymans  <wim@fluendo.com>
20388
20389         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20390         (gst_base_sink_event), (gst_base_sink_do_sync),
20391         (gst_base_sink_handle_event):
20392         * gst/base/gstbasesink.h:
20393         Handle newsegments more correctly.
20394
20395         * gst/gstbus.c:
20396         Fix docs.
20397
20398         * gst/gstevent.c: (gst_event_new_newsegment):
20399         A newsegment cannot have a start_time of -1
20400
20401 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
20402
20403         * win32/gstenumtypes.c:
20404         * win32/gstenumtypes.h:
20405           Update
20406
20407 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20408
20409         * libs/gst/controller/gst-controller.c:
20410         (gst_controlled_property_set_interpolation_mode),
20411         (gst_controlled_property_new):
20412          fixed boolean again
20413
20414 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
20415
20416         * docs/faq/gst-uninstalled:
20417           add -good
20418         * gst/gstevent.c:
20419         * gst/gstevent.h:
20420           remove wrong docs
20421         * gst/gstutils.c: (gst_element_link_filtered):
20422         * gst/gstutils.h:
20423           add gst_element_link_filtered
20424
20425 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20426
20427         * docs/gst/gstreamer-docs.sgml:
20428         * docs/gst/gstreamer-sections.txt:
20429         * docs/gst/tmpl/.cvsignore:
20430         * docs/gst/tmpl/gsterror.sgml:
20431         * docs/gst/tmpl/gstfilter.sgml:
20432         * docs/gst/tmpl/gsturihandler.sgml:
20433         * docs/gst/tmpl/gsturitype.sgml:
20434         * docs/gst/tmpl/gstutils.sgml:
20435         * docs/gst/tmpl/gstxml.sgml:
20436         * gst/gsterror.c:
20437         * gst/gsterror.h:
20438         * gst/gstfilter.c:
20439         * gst/gsturi.c:
20440         * gst/gsturitype.c:
20441         * gst/gstutils.c:
20442         * gst/gstxml.c:
20443           inlined more docs, fixed double id-ref
20444
20445 2005-08-31  Wim Taymans  <wim@fluendo.com>
20446
20447         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20448         (gst_base_transform_handle_buffer):
20449         Passthrough elements don't need the caps as they don't care.
20450
20451 2005-08-31  Wim Taymans  <wim@fluendo.com>
20452
20453         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20454         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20455         Don't leak refcounts on buffers.
20456
20457 2005-08-31  Wim Taymans  <wim@fluendo.com>
20458
20459         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20460         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20461         (gst_base_transform_chain), (gst_base_transform_change_state):
20462         * gst/base/gstbasetransform.h:
20463         Handle the case where we are not negotiated more gracefully.
20464
20465 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
20466
20467         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20468         (gst_file_src_map_region):
20469           Set READONLY flag on mmap'ed buffers, otherwise
20470           gst_buffer_make_writable() won't work properly (#314708).
20471
20472 2005-08-31  Wim Taymans  <wim@fluendo.com>
20473
20474         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20475         passthrough elements can even do inplace on non writable
20476         buffers (as they don't touch them).
20477
20478 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20479
20480         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20481         (gst_test_mono_source_set_property),
20482         (gst_test_mono_source_class_init), (GST_START_TEST),
20483         (gst_controller_suite):
20484           more tests (hehe I have the most)
20485         * gst/gstbus.c:
20486           describe popping messages whenusing mulltiple sources
20487         * libs/gst/controller/gst-controller.c:
20488         (gst_controlled_property_set_interpolation_mode),
20489         (gst_controlled_property_new):
20490         * libs/gst/controller/gst-controller.h:
20491         * libs/gst/controller/gst-interpolation.c:
20492           implement boolean properties
20493
20494 2005-08-31  Wim Taymans  <wim@fluendo.com>
20495
20496         * gst/gstminiobject.c: (gst_mini_object_ref):
20497         Cannot assert that the refcount has to be positive
20498         since a disposed object can be resurrected.
20499
20500 2005-08-31  Wim Taymans  <wim@fluendo.com>
20501
20502         * gst/gstpad.c: (gst_pad_init):
20503         Revert change, need to first fix badly behaving 
20504         apps.
20505
20506 2005-08-30  Wim Taymans  <wim@fluendo.com>
20507
20508         * check/elements/fakesrc.c: (setup_fakesrc):
20509         * check/elements/identity.c: (setup_identity):
20510         Activate pads before using them.
20511
20512 2005-08-30  Wim Taymans  <wim@fluendo.com>
20513
20514         * gst/base/gstadapter.c: (gst_adapter_flush):
20515         Flushing out 0 bytes is ok for this function.
20516
20517         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20518         no newsegment gives a warning and sets the start/stop to 
20519         invalid.
20520
20521         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20522         (gst_base_transform_set_passthrough):
20523         Some debug info.
20524
20525         * gst/gstminiobject.c: (gst_mini_object_ref):
20526         Check refcount here too.
20527
20528         * gst/gstpad.c: (gst_pad_init):
20529         Pads are initially flushing and refusing data.
20530
20531         * gst/gstutils.c: (gst_element_link_pads_filtered):
20532         When adding a capsfilter element make sure it has the
20533         same state as the parent bin.
20534
20535 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20536
20537         * docs/gst/tmpl/.cvsignore:
20538         * docs/gst/tmpl/gstformat.sgml:
20539         * docs/gst/tmpl/gstversion.sgml:
20540         * gst/gstbus.h:
20541         * gst/gstformat.c:
20542         * gst/gstformat.h:
20543         * gst/gstversion.h.in:
20544           more docs and two more inlined
20545
20546 2005-08-30  Wim Taymans  <wim@fluendo.com>
20547
20548         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20549         Don't sync to clock.
20550
20551 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20552
20553         * docs/gst/gstreamer-sections.txt:
20554           ultral33t func10ns deserve to appear in the docs actually
20555         * docs/gst/tmpl/.cvsignore:
20556         * docs/gst/tmpl/gstcompat.sgml:
20557         * docs/gst/tmpl/gstconfig.sgml:
20558         * gst/check/gstcheck.c:
20559         * gst/gstcompat.h:
20560         * gst/gstconfig.h.in:
20561           inlined more docs
20562
20563 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20564
20565         * docs/gst/tmpl/.cvsignore:
20566         * docs/gst/tmpl/gstquery.sgml:
20567         * docs/gst/tmpl/gstutils.sgml:
20568         * gst/gstquery.c:
20569         * gst/gstquery.h:
20570           inlined and extended docs
20571
20572 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20573
20574         * check/gst-libs/controller.c: (GST_START_TEST),
20575         (gst_controller_suite):
20576           more tests
20577         * docs/gst/tmpl/gstutils.sgml:
20578         * docs/libs/gstreamer-libs-sections.txt:
20579         * docs/libs/tmpl/gstdataprotocol.sgml:
20580           include path fixes
20581         * examples/controller/audio-example.c: (main):
20582           controller example works now
20583         * gst/gstclock.h:
20584           doc fixes
20585         * tools/gst-inspect.c: (print_element_properties_info):
20586           show param spec flags
20587
20588 2005-08-29  Andy Wingo  <wingo@pobox.com>
20589
20590         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20591
20592 2005-08-28  Andy Wingo  <wingo@pobox.com>
20593
20594         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20595         as having two arguments instead of just one. Allows superclasses
20596         to access information on subclasses -- see the terrible for() loop
20597         in gtype.c:g_type_create_instance for the reason why. All callers
20598         changed.
20599
20600 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20601
20602         * docs/design/part-messages.txt:
20603           update info
20604         * docs/gst/tmpl/.cvsignore:
20605         * docs/gst/tmpl/gstcaps.sgml:
20606         * docs/gst/tmpl/gstclock.sgml:
20607         * gst/gstbus.c:
20608         * gst/gstcaps.c:
20609         * gst/gstcaps.h:
20610         * gst/gstclock.c:
20611         * gst/gstclock.h:
20612         * gst/gstmessage.c:
20613           added descriptions for bus and message
20614           inline caps and clock docs
20615
20616 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20617
20618         * gst/gstmessage.c:
20619         * gst/gstmessage.h:
20620           doc fixes
20621
20622 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20623
20624         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20625           fix div-by-zero
20626
20627 2005-08-26  Andy Wingo  <wingo@pobox.com>
20628
20629         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20630         element_set_state's return val.
20631         (test_2_elements): Add test that's been disabled for months.
20632
20633         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20634         can-activate-pull properties.
20635
20636         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20637         can-activate-pull properties. Implement is_seekable so fakesrc can
20638         operate in pull mode.
20639
20640         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20641         properties.
20642         (gst_base_sink_activate, gst_base_sink_activate_pull)
20643         (gst_base_sink_activate_push): Make activation mode choosing work.
20644         Cleanups.
20645         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20646         is right. Make pull mode work. Post an eos before pausing in pull
20647         mode.
20648         (gst_base_sink_change_state): Pay attention to the core's
20649         change_state() return val.
20650         
20651         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20652         has-getrange properties. Cleanups.
20653         
20654         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20655         has_getrange and replace with can_activate_pull and
20656         can_activate_push.
20657
20658         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20659         locking comments. Remove has_loop, has_chain and replace with
20660         can_activate_pull and can_activate_push.
20661
20662 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
20663
20664         * configure.ac:
20665         * examples/Makefile.am:
20666         * examples/metadata/Makefile.am:
20667         * examples/metadata/read-metadata.c: (message_loop),
20668         (have_pad_handler), (make_pipeline), (print_tag), (main):
20669           Add metadata reading example that loops over a list of filenames,
20670           dumping any tags found.
20671
20672         * gst/gstbus.c: (gst_bus_dispose):
20673         * gst/gstelement.c: (gst_element_dispose):
20674           Release a few potentially-held references in dispose.
20675
20676 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20677
20678         * docs/gst/tmpl/gstminiobject.sgml:
20679           do *not* add tmpl/*.sgml files to CVS!
20680
20681 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20682
20683         * libs/gst/bytestream/.cvsignore:
20684         * libs/gst/bytestream/Makefile.am:
20685         * libs/gst/bytestream/adapter.c:
20686         * libs/gst/bytestream/adapter.h:
20687         * libs/gst/bytestream/bytestream.c:
20688         * libs/gst/bytestream/bytestream.h:
20689         * libs/gst/bytestream/filepad.c:
20690         * libs/gst/bytestream/filepad.h:
20691           removing obsolete files
20692
20693 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20694
20695         * docs/gst/gstreamer-docs.sgml:
20696         * docs/libs/gstreamer-libs-docs.sgml:
20697           disabed additional index entries again, as this makes docs-gen just
20698           slow and they aren't useful yet
20699         * docs/libs/gstreamer-libs-sections.txt:
20700           little -section.txt cleanup for libs
20701
20702 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20703
20704         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20705         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20706           fix up some debugging
20707         (gst_base_transform_get_unit_size),
20708         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20709         (gst_base_transform_handle_buffer):
20710         * gst/base/gstbasetransform.h:
20711           handle and store timed NEWSEGMENT events so that subclasses that
20712           calculate time by counting samples have a segment_start time they
20713           need to add to their timestamps - see audioresample
20714
20715 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20716
20717         * gst/gstbin.h:
20718           removed ';' from the end of macro defs
20719         * docs/gst/gstreamer-docs.sgml:
20720         * docs/gst/gstreamer-sections.txt:
20721         * docs/gst/tmpl/.cvsignore:
20722         * gst/gstbus.h:
20723         * gst/gstelement.c: (gst_element_class_init),
20724         (gst_element_set_state), (activate_pads),
20725         (gst_element_save_thyself):
20726         * gst/gstevent.c: (gst_event_new_newsegment):
20727         * gst/gstevent.h:
20728         * gst/gstiterator.c:
20729         * gst/gstiterator.h:
20730         * gst/gstpad.c:
20731         * gst/gstprobe.h:
20732         * gst/gstutils.c: (gst_pad_query_convert):
20733         * gst/gstutils.h:
20734           fixed parameter name mismatches between source, header and docs
20735           added some more docs, resolved the last batch of unused elements in
20736           docs (now someone needs to doc them)
20737
20738 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20739
20740         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20741         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20742           don't walk through the plugins backwards.  Where is all this
20743           reversed logic coming from ?
20744
20745 2005-08-25  Wim Taymans  <wim@fluendo.com>
20746
20747         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20748         (gst_base_transform_transform_size),
20749         (gst_base_transform_configure_caps),
20750         (gst_base_transform_get_unit_size),
20751         (gst_base_transform_buffer_alloc),
20752         (gst_base_transform_change_state):
20753         * gst/base/gstbasetransform.h:
20754         Cache caps unit_size.
20755         Make sure we cannot negotiate up and downstream at the
20756         same time.
20757
20758 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20759
20760         * gst/gst.c: (init_pre), (init_post):
20761           register the installed plugin path after the env var
20762         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20763         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20764           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20765           directories, so the tests can prefer uninstalled over installed
20766
20767 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20768
20769         * gst/base/gstbasetransform.h:
20770           comment
20771         * gst/gstpad.c:
20772           add to docs
20773
20774 2005-08-25  Wim Taymans  <wim@fluendo.com>
20775
20776         * gst/gstbin.c: (bin_bus_handler):
20777         Be a bit more conservative about the posted message.
20778         
20779         * gst/gstbus.c: (gst_bus_post):
20780         Some cleanups, warn wrong return values.
20781
20782 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
20783
20784         * check/gst/gstbin.c: (GST_START_TEST):
20785         * gst/gstbin.c: (bin_bus_handler):
20786         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20787         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20788         (gst_message_new_warning), (gst_message_new_tag),
20789         (gst_message_new_state_changed), (gst_message_new_segment_start),
20790         (gst_message_new_segment_done), (gst_message_new_custom):
20791         * gst/gstmessage.h:
20792         * tools/gst-launch.c: (event_loop):
20793         * tools/gst-md5sum.c: (event_loop):
20794           Revert unpopular change for GST_MESSAGE_SRC to GObject.
20795
20796 2005-08-25  Wim Taymans  <wim@fluendo.com>
20797
20798         * check/generic/states.c: (GST_START_TEST):
20799         Cleanup can be done at the end.
20800
20801         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20802         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20803         (gst_task_get_state), (gst_task_start), (gst_task_pause):
20804         Oh boy.. Thanks for finding this, Thomas. 
20805
20806 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20807
20808         * docs/gst/gstreamer.types:
20809           added missing types
20810
20811 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20812
20813         * docs/gst/gstreamer-docs.sgml:
20814         * docs/gst/gstreamer-sections.txt:
20815         * docs/gst/tmpl/.cvsignore:
20816         * gst/gstbin.c:
20817         * gst/gstiterator.c:
20818         * gst/gstutils.c:
20819         * gst/registries/gstxmlregistry.h:
20820           added missing classes and symbols (123 more to go)
20821           removed removed symbols from section file
20822           fixed many doc-comments
20823
20824 2005-08-24  Wim Taymans  <wim@fluendo.com>
20825
20826         * check/generic/states.c: (GST_START_TEST):
20827         Make sure all tasks are stopped.
20828
20829         * check/gst/gstbin.c: (GST_START_TEST):
20830         Unref after usage for proper valgrinding.
20831
20832         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20833         Really wait for the task to stop before destroying the
20834         mutex.
20835
20836         * gst/gstqueue.c: (gst_queue_sink_activate_push),
20837         (gst_queue_src_activate_push):
20838         Small cleanups. Don't stop the task when we did not start
20839         it.
20840
20841         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20842         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20843         (gst_task_get_state), (gst_task_start), (gst_task_pause),
20844         (gst_task_join):
20845         * gst/gsttask.h:
20846         Protect the stream lock with the object lock.
20847         Disallow setting the stream lock when running.
20848         Add cleanup_all to wait for the threadpool to finish.
20849         Remove code to autoallocate a mutex if none was provided.
20850         Add _join() to wait for a task to stop.
20851         Protect the thread pool with a global lock.
20852
20853 2005-08-24  Wim Taymans  <wim@fluendo.com>
20854
20855         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20856         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20857         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20858         * gst/base/gstbasesink.h:
20859         Handle newsegment events correctly.
20860         Drop buffers out of the segment range.
20861
20862 2005-08-22  Andy Wingo  <wingo@pobox.com>
20863
20864         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20865         macro, implements an interface and gstimplementsinterface for a
20866         new type.
20867
20868 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20869
20870         * check/Makefile.am:
20871         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20872           add a test that does a bunch of state changes on elements
20873           needs some fixing for valgrind
20874         * check/states/sinks.c: (gst_object_suite):
20875           whitespace
20876         * gst/gstcaps.h:
20877           add prototype for gst_caps_is_equal_fixed
20878         * gst/gstplugin.c:
20879         * gst/gstregistrypool.c:
20880           doc fixes
20881
20882 2005-08-24  Andy Wingo  <wingo@pobox.com>
20883
20884         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20885         convert a negative value. Doesn't make much sense. Mostly this is
20886         here to force callers to ensure -1 maps to -1.
20887
20888 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20889
20890         * docs/pwg/advanced-types.xml:
20891           Well done to Michael for catching my deliberate introduction
20892           of this spelling mistake. 
20893         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20894         * gst/gstelement.h:
20895           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20896           unlink pads before removing the element from the bin.
20897
20898 2005-08-24  Andy Wingo  <wingo@pobox.com>
20899
20900         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20901         the same thing as GST_DEBUG=*:4.
20902         (parse_debug_level, parse_debug_category): New helper parsers.
20903
20904 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20905
20906         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20907         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20908         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20909         (gst_base_transform_buffer_alloc),
20910         (gst_base_transform_handle_buffer):
20911           use gboolean return values and pointers to size so we can use the
20912           full GST_BUFFER_SIZE range (guint) for buffer sizes
20913           use GstPadDirection for transform_caps
20914         * gst/base/gstbasetransform.h:
20915           rename get_size to get_unit_size since that's what it is
20916         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20917           use GstPadDirection for transform_caps
20918         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20919         * gst/gstutils.h:
20920           cleanup and debugging
20921
20922 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20923
20924         * gst/gstelement.c: (gst_element_class_init),
20925         (gst_element_set_state), (activate_pads),
20926         (gst_element_save_thyself):
20927         * tools/gst-compprep.c: (main):
20928         * tools/gst-inspect.c: (print_element_properties_info):
20929         * tools/gst-xmlinspect.c: (print_element_properties):
20930           Fixed long standing mem-leak
20931
20932 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20933
20934         * check/gst/gstbin.c: (GST_START_TEST):
20935         * gst/gstbin.c: (bin_bus_handler):
20936         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20937         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20938         (gst_message_new_warning), (gst_message_new_tag),
20939         (gst_message_new_state_changed), (gst_message_new_segment_start),
20940         (gst_message_new_segment_done), (gst_message_new_custom):
20941         * gst/gstmessage.h:
20942         * tools/gst-launch.c: (event_loop):
20943         * tools/gst-md5sum.c: (event_loop):
20944           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20945           that applications can sensibly post custom messages with references
20946           to their own objects.
20947
20948 2005-08-24  Andy Wingo  <wingo@pobox.com>
20949
20950         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20951         already.
20952
20953 2005-08-24  Wim Taymans  <wim@fluendo.com>
20954
20955         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20956         (gst_base_transform_transform_caps),
20957         (gst_base_transform_transform_size),
20958         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20959         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20960         (gst_base_transform_handle_buffer):
20961         * gst/base/gstbasetransform.h:
20962         Many fixes and new features added by Thomas. Can now also do
20963         transforms with variable sizes and a custom fixate_caps function.
20964
20965 2005-08-24  Wim Taymans  <wim@fluendo.com>
20966
20967         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20968         Some debugging.
20969
20970         * gst/gstclock.h:
20971         Cast to ClockTime before formatting to time.
20972
20973         * gst/gstutils.h:
20974         Cleanups.
20975
20976 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20977
20978         * check/gst-libs/controller.c: (GST_START_TEST),
20979         (gst_controller_suite):
20980         * docs/gst/tmpl/gstcaps.sgml:
20981         * docs/gst/tmpl/gstghostpad.sgml:
20982         * docs/gst/tmpl/gstquery.sgml:
20983         * docs/gst/tmpl/gstutils.sgml:
20984         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20985         (gst_object_sink_values), (gst_object_get_value_arrays),
20986         (gst_object_get_value_array):
20987           gracefully handle helper method calls to objects that are not beeing
20988           controlled, added test case for that          
20989
20990 2005-08-23  Wim Taymans  <wim@fluendo.com>
20991
20992         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20993         (gst_event_new_newsegment), (gst_event_parse_newsegment),
20994         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20995         (gst_event_parse_qos), (gst_event_new_seek),
20996         (gst_event_parse_seek):
20997         * gst/gstevent.h:
20998         Some more debugging output and doc cleanups.
20999
21000         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21001         Fix possible deadlock.
21002
21003 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21004
21005         * docs/gst/gstreamer-docs.sgml:
21006         * docs/gst/gstreamer-sections.txt:
21007         * docs/gst/gstreamer.types:
21008         * docs/gst/tmpl/.cvsignore:
21009         * gst/gstbin.h:
21010         * gst/gstbus.c:
21011         * gst/gstelement.c:
21012         * gst/gstevent.h:
21013           added 100 symbols from gstreamer-unused.txt to the right sections
21014           fixed more broken comments
21015           added GstBus to docs
21016
21017 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21018
21019         * docs/gst/gstreamer-sections.txt:
21020         * docs/gst/tmpl/.cvsignore:
21021         * docs/gst/tmpl/gstbin.sgml:
21022         * docs/gst/tmpl/gstbuffer.sgml:
21023         * gst/base/gstbasesrc.c:
21024         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
21025         * gst/gstbuffer.c:
21026         * gst/gstbuffer.h:
21027         * tools/gst-launch.1.in:
21028           inlined more doc comments, added missing comments and fixed comments
21029           fixed typos
21030
21031 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21032
21033         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21034           some debugging
21035         * gst/gstcaps.h:
21036           whitespace fixes
21037         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
21038           more debugging
21039         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
21040         * gst/gststructure.h:
21041           add a fixate function for booleans; add a FIXME that these func
21042           names should probably be gst_structure_fixate_*
21043
21044 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21045
21046         * docs/gst/gstreamer-docs.sgml:
21047         * docs/gst/gstreamer-sections.txt:
21048         * gst/Makefile.am:
21049         * gst/gstbin.c: (gst_bin_get_type),
21050         (gst_bin_child_proxy_get_child_by_index),
21051         (gst_bin_child_proxy_get_children_count),
21052         (gst_bin_child_proxy_init):
21053         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21054         (gst_child_proxy_get_child_by_index),
21055         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
21056         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
21057         (gst_child_proxy_get), (gst_child_proxy_set_property),
21058         (gst_child_proxy_set_valist), (gst_child_proxy_set),
21059         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
21060         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
21061         * gst/gstchildproxy.h:
21062         * gst/parse/grammar.y:
21063         * tools/gst-inspect.c: (print_interfaces),
21064         (print_element_properties_info), (print_element_info):
21065           ported gstchildproxy over from 0.8
21066           ported gst-inspect fixes and enhancements over from 0.8
21067
21068 2005-08-22  Wim Taymans  <wim@fluendo.com>
21069
21070         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21071         (gst_base_transform_handle_buffer):
21072         Also call the transform function if we have ANY caps.
21073
21074         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
21075         Fix debug info.
21076
21077 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21078
21079         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
21080           Don't pretend to handle seek events if the source is not seekable
21081
21082 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21083
21084         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21085           Remove extra parameter to debug output
21086
21087         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21088         (gst_base_src_do_seek), (gst_base_src_activate_push):
21089           Fix seek event handling.
21090
21091         * gst/gstpipeline.c: (gst_pipeline_change_state):
21092         * gst/gstqueue.c: (gst_queue_handle_sink_event),
21093         (gst_queue_src_activate_push):
21094           Don't start the src pad task on FLUSH_STOP if the pad
21095           isn't linked.
21096           Debug changes.
21097
21098 2005-08-22  Wim Taymans  <wim@fluendo.com>
21099
21100         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21101         Added check for gst_static_caps_get() refcounting.
21102
21103 2005-08-22  Wim Taymans  <wim@fluendo.com>
21104
21105         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21106         Make _static_caps_get() refcounting sane.
21107         
21108         * gst/gstelement.c: (gst_element_set_state):
21109         Add g_return_val_if_fail() to protect against segfaults.
21110
21111 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
21112
21113         * docs/gst/tmpl/gstevent.sgml:
21114         * gst/gstevent.c:
21115         * gst/gstevent.h:
21116           inlined remaining docs, added missing doc comments
21117
21118 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21119
21120         * check/gst/gstbin.c: (GST_START_TEST):
21121           since we don't know when preroll is done, use refcount range
21122           check for the sink
21123         * gst/check/gstcheck.h:
21124           add macro for checking refcount range
21125
21126 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21127
21128         * check/Makefile.am:
21129           clean up environment for when registry gets built versus
21130           when actual tests are run; valgrind seems to not report
21131           leaks if GST_PLUGIN_PATH is set to some specific values
21132         * check/gst/gstbin.c: (GST_START_TEST):
21133           add more refcounting checks; maybe this exposes a
21134           preroll lock bug ?
21135         * common/check.mak:
21136         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21137         * gst/check/gstcheck.h:
21138         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21139         (gst_bin_change_state):
21140         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21141           add/fix debugging/whitespace
21142
21143 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21144
21145         * check/gst/gstevent.c: (event_probe), (test_event),
21146         (GST_START_TEST):
21147          Er, don't call gst_bin_watch_for_state_change you idiot.
21148
21149 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21150
21151         * check/Makefile.am:
21152           Use CHECK_CFLAGS and CHECK_LIBS
21153         * check/gst/gstevent.c: (event_probe), (test_event),
21154         (GST_START_TEST):
21155           Don't leak events.
21156         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21157         (gst_base_src_start), (gst_base_src_stop),
21158         (gst_base_src_activate_push), (gst_base_src_activate_pull),
21159         (gst_base_src_change_state):
21160           Sprinkle gst_base_src_stop liberally around error paths to fix
21161           problems reusing a source after failed state changes.
21162         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21163         (helper_find_suggest), (gst_type_find_helper):
21164           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21165         * gst/gstevent.h:
21166         * docs/gst/tmpl/gstevent.sgml:
21167           Migrate part of the docs from the SGML file. Wait for ensonic to
21168           tell me how I did it wrong ;)
21169         * tools/gst-typefind.c: (main):
21170           Extra robustness to state changes between files.
21171
21172 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21173
21174         * check/Makefile.am:
21175           don't valgrind the controller test - it's leaking - Stefan, HELP
21176         * gst/check/gstcheck.c: (gst_check_message_error),
21177         (gst_check_chain_func), (gst_check_setup_element),
21178         (gst_check_teardown_element), (gst_check_setup_src_pad),
21179         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21180         (gst_check_teardown_sink_pad):
21181         * gst/check/gstcheck.h:
21182           add a bunch of methods to set up elements, and src and sink pads
21183         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21184         * check/elements/identity.c: (setup_identity), (cleanup_identity),
21185         (GST_START_TEST):
21186           use them
21187         * gst/gstmessage.c:
21188         * gst/gsttag.h:
21189           whitespace/doc fixes
21190
21191 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21192
21193         * gst/gstelement.h:
21194           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21195           be handled by the application and not always printed as well
21196
21197 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21198
21199         * check/Makefile.am:
21200           set GST_TOOLS_DIR
21201         * gst/check/gstcheck.c: (gst_check_message_error):
21202         * gst/check/gstcheck.h:
21203           add a fail_unless_equals_int
21204           add fail_unless for error messages
21205
21206 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21207
21208         * check/Makefile.am:
21209         * check/gst.supp:
21210         * common/Makefile.am:
21211         * common/check.mak:
21212         * common/gst.supp:
21213           factor out some of the common stuff so we can use it
21214
21215 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21216
21217         * check/Makefile.am:
21218         * check/gst/gstiterator.c: (GST_START_TEST):
21219         * check/gst/gstsystemclock.c: (GST_START_TEST),
21220         (gst_systemclock_suite):
21221         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21222         * gst/gstclock.c:
21223           valgrind more tests
21224
21225 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21226
21227         * check/elements/.cvsignore:
21228         * check/elements/gstfakesrc.c:
21229           rename to name of element
21230         * check/elements/identity.c: (chain_func), (event_func),
21231         (setup_identity), (cleanup_identity), (GST_START_TEST),
21232         (identity_suite), (main):
21233           add a test for identity
21234         * check/Makefile.am:
21235         * pkgconfig/Makefile.am:
21236         * pkgconfig/gstreamer-check.pc.in:
21237         * pkgconfig/gstreamer-check-uninstalled.pc.in:
21238         * gst/check:
21239         * gst/Makefile.am:
21240         * configure.ac:
21241           move the check stuff to a library that gets installed
21242         * check/gst-libs/controller.c: (GST_START_TEST):
21243         * check/gst-libs/gdp.c:
21244         * check/gst/gst.c: (GST_START_TEST):
21245         * check/gst/gstbin.c:
21246         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21247         * check/gst/gstbus.c:
21248         * check/gst/gstcaps.c: (GST_START_TEST):
21249         * check/gst/gstelement.c:
21250         * check/gst/gstghostpad.c:
21251         * check/gst/gstiterator.c:
21252         * check/gst/gstmessage.c:
21253         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21254         * check/gst/gstobject.c:
21255         * check/gst/gstpad.c: (GST_START_TEST):
21256         * check/gst/gststructure.c: (GST_START_TEST):
21257         * check/gst/gstsystemclock.c: (GST_START_TEST),
21258         (gst_systemclock_suite):
21259         * check/gst/gsttag.c: (gst_tag_suite):
21260         * check/gst/gstvalue.c:
21261         * check/pipelines/cleanup.c:
21262         * check/pipelines/simple_launch_lines.c:
21263         * check/states/sinks.c:
21264           change include statement
21265
21266         * docs/gst/gstreamer-sections.txt:
21267         * docs/gst/tmpl/gstpad.sgml:
21268           document more pad stuff
21269         * gst/gstminiobject.c: (gst_mini_object_ref),
21270         (gst_mini_object_unref):
21271           debug refcounting
21272
21273 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
21274
21275         * docs/gst/tmpl/gst.sgml:
21276         * gst/gst.c:
21277           eliminate another tmpl file, fix spelling in the long-description
21278
21279 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21280
21281         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21282         (test_event), (timediff), (gstevents_suite):
21283           Should fix build on 64-bit arch's
21284
21285 2005-08-18  Andy Wingo  <wingo@pobox.com>
21286
21287         Make sure that when a pipeline goes to PLAYING, that data has
21288         actually hit the sink.
21289
21290         * check/states/sinks.c (test_sink): A sink that doesn't get any
21291         data shouldn't return SUCCESS for going to either PLAYING or
21292         PAUSED. Test also the return values on the way back down.
21293
21294         * gst/gstelement.c (gst_element_set_state): When changing the
21295         state of an element currently changing state asynchronously, go to
21296         lost-state after commiting the pending state. Makes future calls
21297         to get_state continue to return ASYNC.
21298
21299         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21300         ASYNC when going to PLAYING if we still don't have preroll, as can
21301         happen with live sources.
21302
21303 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21304
21305         * docs/pwg/advanced-types.xml:
21306           Hack long paragraph into 2 chunks as a workaround for buggy
21307           jadetex version in sid and breezy that loops infinitely and
21308           eats all RAM.
21309
21310 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21311
21312         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21313         (test_event), (timediff), (gstevents_suite):
21314           Provide more error margin in clock measurements to allow for 
21315           g_get_current_time inaccuracies.
21316
21317 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21318
21319         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21320         (test_event), (timediff), (gstevents_suite):
21321            Fix error message output so I might be able to tell why the
21322            test works here but fails on the build farm.
21323
21324 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21325
21326         * check/Makefile.am:
21327         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21328         (test_event), (timediff), (gstevents_suite), (main):
21329           I wrote a test!
21330
21331         * docs/design/part-seeking.txt:
21332           Spelling correction
21333
21334         * docs/gst/tmpl/gstevent.sgml:
21335         * docs/gst/tmpl/gstfakesrc.sgml:
21336           Docs updates.
21337
21338         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21339           Treat a buffer-without-newsegment the same as a receiving 
21340           a newsegment not in time format, and disable syncing to the clock
21341           with a warning.
21342
21343         * gst/gstbus.c: (gst_bus_set_sync_handler):
21344           Assert if anyone tries to replace the existing sync_handler for bus, 
21345           as only the owner should be setting it.
21346
21347         * gst/gstevent.h:
21348           Have a fixed set of custom event enums with events identified by
21349           their structure name (as in 0.8), rather than a free-for-all
21350           allowing collisions between enum values from different plugins.
21351
21352         * gst/gstpad.c: (gst_pad_class_init):
21353           Docs change.
21354           
21355         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21356           Handle out-of-band downstream events from the sending thread.
21357
21358 2005-08-17  Andy Wingo  <wingo@pobox.com>
21359
21360         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21361         play-timeout==0 to mean no timeout at all. In that case, don't
21362         bother with a get_state or a warning, just return directly, even
21363         if it's ASYNC.
21364
21365         * gst/base/gstbasetransform.c: Debug changes.
21366
21367         * gst/gstutils.h:
21368         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21369         ensure bins post state change messages. A bit of a hack but I can't
21370         think of a way to avoid it.
21371
21372         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21373
21374 2005-08-16  Andy Wingo  <wingo@pobox.com>
21375
21376         * gst/base/gstadapter.h:
21377         * gst/base/gstadapter.c (gst_adapter_take): New function, like
21378         peek() but you own the data. Not terribly efficient atm.
21379
21380 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21381
21382         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21383         (gst_element_found_tags):
21384         * gst/gstutils.h:
21385           Add two utility functions for tag handling.
21386
21387 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21388
21389         * docs/manual/advanced-dataaccess.xml:
21390         * docs/manual/basics-helloworld.xml:
21391           Fix docs to use _bin_add() before _link(), which fixes the examples
21392           with recent core versions (reported by Madhan Raj M
21393           <raj_madan@rediffmail.com>, #313199).
21394
21395 2005-08-16  Wim Taymans  <wim@fluendo.com>
21396
21397         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21398         Added subtract checks.
21399
21400         * docs/design/part-events.txt:
21401         Some more docs about newsegment
21402
21403         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21404         Fix FIXME
21405
21406         * gst/gstcaps.c: (gst_caps_to_string):
21407         Add comments, cleanups.
21408         
21409         * gst/gstelement.c: (gst_element_save_thyself):
21410         cleanups
21411         
21412         * gst/gstvalue.c: (gst_value_collect_int_range),
21413         (gst_string_unwrap), (gst_value_union_int_int_range),
21414         (gst_value_union_int_range_int_range),
21415         (gst_value_intersect_int_int_range),
21416         (gst_value_intersect_int_range_int_range),
21417         (gst_value_intersect_double_double_range),
21418         (gst_value_intersect_double_range_double_range),
21419         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21420         (gst_value_subtract_int_range_int),
21421         (gst_value_subtract_double_range_double),
21422         (gst_value_subtract_double_range_double_range),
21423         (gst_value_subtract_from_list), (gst_value_subtract_list),
21424         (gst_value_can_compare), (gst_value_compare_fraction):
21425         Cleanups, add comments, remove unneeded asserts.
21426
21427 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21428
21429         * tools/gst-launch.c: (event_loop):
21430           don't convert NULL structures to strings
21431
21432 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
21433
21434         * docs/gst/gstreamer-sections.txt:
21435           made some defines private
21436         * docs/gst/tmpl/gstconfig.sgml:
21437         * docs/gst/tmpl/gstqueue.sgml:
21438         * docs/gst/tmpl/gsttaglist.sgml:
21439         * docs/gst/tmpl/gsttypes.sgml:
21440         * docs/gst/tmpl/gstutils.sgml:
21441         * docs/pwg/appendix-porting.xml:
21442         * gst/base/gstbasesink.h:
21443         * gst/base/gstbasesrc.c:
21444         * gst/base/gstbasesrc.h:
21445         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21446         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21447         * gst/gstelement.c: (gst_element_class_init):
21448         * gst/gstpad.c: (gst_pad_class_init):
21449         * gst/gstqueue.c: (gst_queue_class_init):
21450         * gst/gstxml.c: (gst_xml_class_init):
21451           documented all undocumented signal inline
21452         * libs/gst/controller/gst-controller.h:
21453           added padding
21454
21455 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21456
21457         * docs/pwg/appendix-porting.xml:
21458           Document _set_link_function -> _set_setcaps_function.
21459
21460 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21461
21462         * check/Makefile.am:
21463           add a .check target for running the check
21464         * check/gst-libs/controller.c: (GST_START_TEST):
21465           cosmetic fixups
21466         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21467           complete checks for gstbuffer; would be nice if I could get the
21468           gcov stuff to work so I can see if I actually completed gstbuffer.c
21469         * check/gstcheck.h:
21470           add ASSERT_BUFFER_REFCOUNT
21471
21472 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
21473
21474         * docs/gst/gstreamer-sections.txt:
21475         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21476         * gst/gsttag.h:
21477           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21478           spew out a warning if a tag that is already registered
21479           is re-registered, unless it is re-registered with a 
21480           different type (#308438).
21481
21482 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
21483
21484         * docs/pwg/appendix-porting.xml:
21485         * docs/pwg/building-state.xml:
21486           Add some paragraphs about state changes in 0.9 to the PWG
21487           and the porting guide, in particular about the new meaning
21488           of GST_STATE_PAUSED and how to write state change functions
21489           with concurrent access by multiple threads in mind.
21490
21491 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21492
21493         * docs/gst/gstreamer-docs.sgml:
21494         * docs/libs/gstreamer-libs-docs.sgml:
21495           added deprecation and since indexes
21496         * libs/gst/controller/gst-controller.c:
21497         * libs/gst/controller/gst-helper.c:
21498           added since tags
21499
21500
21501 2005-08-11  Wim Taymans  <wim@fluendo.com>
21502
21503         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21504         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21505         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21506         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21507         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21508         (gst_ghost_pad_set_target):
21509         Actually implement (re)setting the target on a ghostpad
21510         as described in the docs.
21511
21512 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21513
21514         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21515           Check whether GST_DEBUG_NO_COLOR environment variable is
21516           set and disable coloured debug output if that is the case.
21517
21518 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21519
21520         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21521         (gst_type_find_helper):
21522           The memory returned by gst_type_find_peek() needs to
21523           stay valid until the end of a typefind function, and
21524           typefind functions may keep results from different 
21525           offsets around, so we can't just unref the buffer from
21526           the previous _peek(), but have to save all buffers 
21527           returned by _peek() until typefinding is done and only
21528           free them then.
21529
21530 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
21531
21532         * docs/gst/gstreamer-sections.txt:
21533         * gst/gstutils.h:
21534           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21535
21536 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21537
21538         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21539           Fix a pretty good memleak.
21540
21541 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21542
21543         * gst/gstiterator.h:
21544           Fix wrong include and 'make distcheck'.
21545
21546 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21547
21548         * gst/gstbin.c: (bin_bus_handler):
21549           Use gst_element_post_message() instead.
21550
21551 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21552
21553         * gst/base/gstadapter.h:
21554         * gst/base/gstbasesink.h:
21555         * gst/base/gstbasesrc.h:
21556         * gst/base/gstbasetransform.h:
21557         * gst/base/gstcollectpads.h:
21558         * gst/base/gstpushsrc.h:
21559         * gst/gstiterator.h:
21560           Add padding to our base elements' class and instance structs and
21561           to GstIterator (you will need to rebuild all plugins and apps!)
21562
21563 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21564
21565         * gst/gstbin.c: (bin_bus_handler):
21566           Make default message forwarding from child->bus to bin->bus
21567           threadsafe and make it not emit warnings if the parent has no bus.
21568
21569 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21570
21571         * gst/gstelement.c: (activate_pads):
21572           On paused->ready, set pad->caps to NULL, as is the documented
21573           behaviour in this state change. Fixes playback of series of
21574           media files when visualization is enabled in Totem.
21575
21576 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21577
21578         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21579           Allow NULL as filter-caps (which means "any").
21580
21581 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21582
21583         * docs/libs/gstreamer-libs-sections.txt:
21584         * libs/gst/controller/gst-controller.c:
21585         * libs/gst/controller/gst-controller.h:
21586         * libs/gst/controller/gst-helper.c:
21587           adding more entries to the docs and fix small doc-bugs
21588
21589 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21590
21591         * docs/gst/gstreamer-docs.sgml:
21592         * docs/gst/gstreamer-sections.txt:
21593         * docs/gst/gstreamer.types:
21594         * docs/gst/tmpl/gstbasesink.sgml:
21595         * docs/gst/tmpl/gstbasesrc.sgml:
21596         * docs/gst/tmpl/gstbasetransform.sgml:
21597         * docs/gst/tmpl/gstfakesrc.sgml:
21598         * gst/base/gstcollectpads.c:
21599         * gst/base/gstcollectpads.h:
21600         * libs/gst/controller/gst-controller.c:
21601         * libs/gst/controller/gst-controller.h:
21602         * libs/gst/controller/gst-helper.c:
21603         * libs/gst/controller/gst-interpolation.c:
21604         * libs/gst/controller/lib.c:
21605           added long/short desc for controller docs
21606           added collectpads base class docs
21607           added correct includes to base-class docs
21608
21609 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21610
21611         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21612         (gst_test_mono_source_set_property),
21613         (gst_test_mono_source_class_init), (GST_START_TEST),
21614         (gst_controller_suite):
21615         * docs/gst/gstreamer-docs.sgml:
21616         * docs/gst/gstreamer-sections.txt:
21617         * docs/gst/gstreamer.types:
21618         * docs/libs/gstreamer-libs-docs.sgml:
21619         * docs/libs/gstreamer-libs-sections.txt:
21620         * gst/base/gstadapter.c:
21621         * libs/gst/controller/gst-controller.c:
21622         (gst_controlled_property_new), (gst_controlled_property_free),
21623         (gst_controller_new_valist),
21624         (gst_controller_remove_properties_valist),
21625         (gst_controller_sink_values), (_gst_controller_finalize):
21626         * libs/gst/controller/gst-controller.h:
21627         * libs/gst/controller/gst-helper.c:
21628         (gst_object_control_properties), (gst_object_uncontrol_properties),
21629         (gst_object_get_controller), (gst_object_set_controller),
21630         (gst_object_sink_values), (gst_object_get_value_arrays),
21631         (gst_object_get_value_array):
21632           more tests (and fixes) for the controller
21633           more docs for the controller
21634           integrated companies docs for the adapter 
21635
21636 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21637
21638         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21639         (GST_START_TEST), (fakesrc_suite):
21640           add tests for sizetype
21641
21642 2005-08-04  Andy Wingo  <wingo@pobox.com>
21643
21644         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21645         fixes buffer_alloc proxying among other things.
21646
21647         * gst/base/gstbasetransform.c:
21648         * gst/base/gstbasetransform.h:
21649         Revert patch to gstbasetransform from 7-28 removing
21650         delay_configure.
21651
21652         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21653         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21654         Semantics changed, should return not the size of the output buffer
21655         but the byte size of a buffer with a given caps.
21656
21657         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21658         debug object.
21659         (gst_base_transform_configure_caps): Don't set out_size here: (in,
21660         out) are not the pad caps until setcaps finishes.
21661         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21662         not-in-place case as well. Deal with changing from in-place to
21663         not-in-place within calling pad_alloc_buffer. Still a bit
21664         concerned about the overhead here...
21665
21666 2005-08-03  Andy Wingo  <wingo@pobox.com>
21667
21668         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21669         fixating is an error.
21670
21671 2005-08-04  Edward Hervey  <edward@fluendo.com>
21672
21673         * gst/base/gstadapter.h: 
21674         Added gst_adapter_get_type() to the header
21675
21676 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21677
21678         * check/Makefile.am:
21679         * check/gst-libs/controller.c:
21680         * libs/gst/controller/gst-controller.c:
21681         (gst_controller_new_valist):
21682           added check test suite for the controller
21683         * gst/base/gstpushsrc.c:
21684           fixed a doc typo
21685
21686 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21687
21688         * docs/gst/Makefile.am:
21689         * docs/gst/gstreamer-docs.sgml:
21690         * docs/gst/gstreamer-sections.txt:
21691         * docs/gst/gstreamer.types:
21692         * docs/gst/tmpl/gstfakesrc.sgml:
21693         * gst/base/README:
21694         * gst/base/gstbasesink.c:
21695         * gst/base/gstbasesink.h:
21696         * gst/base/gstbasesrc.c:
21697         * gst/base/gstbasesrc.h:
21698         * gst/base/gstbasetransform.c:
21699         * gst/base/gstpushsrc.c:
21700         * gst/base/gstpushsrc.h:
21701           add short/long description docs to base classes
21702           add pushsrc to the docs
21703           remove consolidated doc fragments
21704
21705 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21706
21707         * configure.ac:
21708         * docs/libs/Makefile.am:
21709         * docs/libs/gstreamer-libs-docs.sgml:
21710         * docs/libs/gstreamer-libs-sections.txt:
21711         * docs/libs/gstreamer-libs.types:
21712         * examples/Makefile.am:
21713         * examples/controller/.cvsignore:
21714         * examples/controller/Makefile.am:
21715         * examples/controller/audio-example.c: (main):
21716         * libs/gst/Makefile.am:
21717         * libs/gst/controller/.cvsignore:
21718         * libs/gst/controller/Makefile.am:
21719         * libs/gst/controller/gst-controller.c:
21720         (on_object_controlled_property_changed), (gst_timed_value_compare),
21721         (gst_timed_value_find),
21722         (gst_controlled_property_set_interpolation_mode),
21723         (gst_controlled_property_new), (gst_controlled_property_free),
21724         (gst_controller_find_controlled_property),
21725         (gst_controller_new_valist), (gst_controller_new),
21726         (gst_controller_remove_properties_valist),
21727         (gst_controller_remove_properties), (gst_controller_set),
21728         (gst_controller_set_from_list), (gst_controller_unset),
21729         (gst_controller_get), (gst_controller_get_all),
21730         (gst_controller_sink_values), (gst_controller_get_value_arrays),
21731         (gst_controller_get_value_array),
21732         (gst_controller_set_interpolation_mode),
21733         (_gst_controller_finalize), (_gst_controller_init),
21734         (_gst_controller_class_init), (gst_controller_get_type):
21735         * libs/gst/controller/gst-controller.h:
21736         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21737         (g_object_uncontrol_properties), (g_object_get_controller),
21738         (g_object_set_controller), (g_object_sink_values),
21739         (g_object_get_value_arrays), (g_object_get_value_array):
21740         * libs/gst/controller/gst-interpolation.c:
21741         (gst_controlled_property_find_timed_value_node),
21742         (interpolate_none_get), (interpolate_trigger_get),
21743         (interpolate_trigger_get_value_array):
21744         * libs/gst/controller/lib.c: (gst_controller_init):
21745         * pkgconfig/Makefile.am:
21746         * pkgconfig/gstreamer-control-uninstalled.pc.in:
21747         * pkgconfig/gstreamer-control.pc.in:
21748         * testsuite/Makefile.am:
21749         * testsuite/controller/.cvsignore:
21750         * testsuite/controller/Makefile.am:
21751         * testsuite/controller/interpolator.c: (main):
21752           added controller code
21753           removed dparam pc files
21754
21755 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21756         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21757         (gst_collectpads_stop):
21758           Broadcast the condition when shutting down, to make sure we wake all
21759           threads up. Shut down pads on finalize, for safety.
21760
21761 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21762         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21763         (gst_base_transform_handle_buffer),
21764         (gst_base_transform_change_state):
21765           Handle PAUSED->READY->PAUSED transition after negotiation
21766           occurred already.
21767         * gst/gstmessage.c: (gst_message_init):
21768           Extra piece of debug for new messages.
21769
21770 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
21771
21772         * configure.ac:
21773         * docs/gst/tmpl/gstbasesrc.sgml:
21774         * docs/gst/tmpl/gstelement.sgml:
21775         * docs/gst/tmpl/gstevent.sgml:
21776         * docs/gst/tmpl/gstfakesrc.sgml:
21777         * docs/gst/tmpl/gstformat.sgml:
21778         * docs/gst/tmpl/gstghostpad.sgml:
21779         * docs/gst/tmpl/gstpad.sgml:
21780         * docs/gst/tmpl/gstquery.sgml:
21781         * docs/gst/tmpl/gststructure.sgml:
21782         * docs/gst/tmpl/gsttaglist.sgml:
21783         * docs/gst/tmpl/gstvalue.sgml:
21784         * docs/libs/gstreamer-libs-docs.sgml:
21785         * docs/libs/gstreamer-libs-sections.txt:
21786         * docs/libs/gstreamer-libs.types:
21787         * libs/gst/Makefile.am:
21788         * libs/gst/control/.cvsignore:
21789         * libs/gst/control/Makefile.am:
21790         * libs/gst/control/control.c:
21791         * libs/gst/control/control.h:
21792         * libs/gst/control/dparam.c:
21793         * libs/gst/control/dparam.h:
21794         * libs/gst/control/dparam_smooth.c:
21795         * libs/gst/control/dparam_smooth.h:
21796         * libs/gst/control/dparamcommon.h:
21797         * libs/gst/control/dparammanager.c:
21798         * libs/gst/control/dparammanager.h:
21799         * libs/gst/control/dplinearinterp.c:
21800         * libs/gst/control/dplinearinterp.h:
21801         * libs/gst/control/unitconvert.c:
21802         * libs/gst/control/unitconvert.h:
21803         * testsuite/Makefile.am:
21804         * testsuite/dynparams/.cvsignore:
21805         * testsuite/dynparams/Makefile.am:
21806         * testsuite/dynparams/dparamstest.c:
21807         * tools/Makefile.am:
21808         * tools/gst-inspect.c: (print_element_info), (main):
21809         * tools/gst-xmlinspect.c: (print_element_info), (main):
21810           deactivate and remove dparams (libgstcontrol)
21811
21812 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21813
21814         * gst/elements/gsttypefindelement.c:
21815         (gst_type_find_element_have_type), (gst_type_find_element_init),
21816         (stop_typefinding), (gst_type_find_element_handle_event),
21817         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21818         * gst/elements/gsttypefindelement.h:
21819           Set caps on all outgoing buffers, not just the first one.
21820
21821 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21822
21823         * gst/elements/gsttypefindelement.c:
21824         (gst_type_find_element_have_type),
21825         (gst_type_find_element_check_set_buffer_caps),
21826         (gst_type_find_element_init), (stop_typefinding),
21827         (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 first outgoing buffer when we've found the type.
21831
21832 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21833
21834         * docs/gst/gstreamer-docs.sgml:
21835         * docs/gst/gstreamer-sections.txt:
21836         * docs/gst/tmpl/gstscheduler.sgml:
21837         * docs/gst/tmpl/gstschedulerfactory.sgml:
21838           Remove some old cruft from docs.
21839
21840 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
21841
21842         * gst/gstpad.h:
21843           Fix inline docs for GstPadLinkReturn.
21844           
21845         * gst/gststructure.c: (gst_structure_has_name):
21846         * gst/gststructure.h:
21847         * docs/gst/gstreamer-sections.txt:
21848           New API: gst_structure_has_name().
21849
21850 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
21851
21852         * configure.ac:
21853           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21854           and _LARGEFILE_SOURCE in config.h as required. Do not 
21855           export those flags in our .pc files any longer (#142209).
21856
21857           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21858
21859         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21860         (gst_file_sink_do_seek), (gst_file_sink_event),
21861         (gst_file_sink_get_current_offset), (gst_file_sink_render):
21862           Redo seek/tell calls with large file support in mind; add some
21863           debugging messages; add log message that tells us when large
21864           file support is unavailable or not enabled for some reason.
21865
21866         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21867           Add log message that tells us when large file support 
21868           is unavailable or not enabled for some reason.
21869
21870 2005-07-29  Wim Taymans  <wim@fluendo.com>
21871
21872         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21873         Added test for removing an element with ghostpad from a bin.
21874         Fixed test as current implementation does the right thing.
21875
21876         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21877         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21878         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21879         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21880         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21881         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21882         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21883         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21884         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21885         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21886         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21887         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21888         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21889         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21890         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21891         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21892         * gst/gstghostpad.h:
21893         Clean up ghostpads, remove properties for internal stuff.
21894         Make threadsafe.
21895         Fix refcounting.
21896         Prepare for switching targets, not all use cases work yet.
21897
21898 2005-07-29  Wim Taymans  <wim@fluendo.com>
21899
21900         * docs/design/part-gstghostpad.txt:
21901         Small update.
21902
21903         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21904         (gst_bin_remove_func):
21905         Unlinking pads while holding the bin LOCK is not a good
21906         idea.
21907
21908         * gst/gstpad.c: (gst_pad_class_init),
21909         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21910         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21911         No prob setting template after creating the pad.
21912
21913 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
21914
21915         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21916         (gst_bus_peek), (gst_bus_source_dispatch),
21917         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21918         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21919           gst_bus_poll may be called from other threads. Handle
21920           this nicely by not making poll_data disappear off the
21921           stack once gst_bus_poll returns.
21922           gst_bus_peek now increments the refcount on the returned
21923           message.
21924
21925 2005-07-29  Wim Taymans  <wim@fluendo.com>
21926
21927         * docs/design/part-gstghostpad.txt:
21928         Overview of current GhostPad datastructures and use
21929         cases for changing the target.
21930
21931 2005-07-28  Wim Taymans  <wim@fluendo.com>
21932
21933         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21934         Added checks for hierarchy consistency whan adding linked
21935         elements to bins.
21936
21937         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21938         Added check to test element scheduling without bin/pipeline.
21939
21940         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21941         First add elements to bin, then link.
21942         
21943         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21944         (gst_bin_remove_func):
21945         Unlink pads from elements added/removed from bin to maintain
21946         hierarchy consistency.
21947
21948 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21949
21950         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21951         (gst_base_transform_handle_buffer):
21952         * gst/base/gstbasetransform.h:
21953           Remove broken delay_configure (fixes renegotiation of software
21954           scaling pipelines); remove some leftover printf()s.
21955
21956 2005-07-28  Wim Taymans  <wim@fluendo.com>
21957
21958         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21959         Added some more tests for wrong hierarchy
21960
21961         * docs/design/part-overview.txt:
21962         Some updates.
21963
21964         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21965         Cleanups.
21966
21967         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21968         (gst_element_dispose):
21969         Some more cleanups.
21970
21971         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21972         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21973         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21974         (gst_pad_set_caps), (gst_pad_send_event):
21975         Check for correct hierarchy when linking pads. Moving to
21976         strict requirement for ghostpads when linking elements in
21977         different bins.
21978
21979         * gst/gstpad.h:
21980         Clean ups. Added WRONG_HIERARCHY return value.
21981
21982 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21983
21984         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21985           Better debug if no transform is possible.
21986
21987 2005-07-27  Wim Taymans  <wim@fluendo.com>
21988
21989         * docs/random/wtay/network-transp:
21990         Some old doc I had.
21991
21992 2005-07-27  Wim Taymans  <wim@fluendo.com>
21993
21994         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21995         (gst_dp_event_from_packet):
21996         Fix serialization of seek events.
21997
21998 2005-07-27  Wim Taymans  <wim@fluendo.com>
21999
22000         * check/gst-libs/gdp.c: (GST_START_TEST):
22001         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22002         Fix compilation and fix event serialization.
22003
22004 2005-07-27  Wim Taymans  <wim@fluendo.com>
22005
22006         * CHANGES-0.9:
22007         * docs/design/part-TODO.txt:
22008         * docs/design/part-events.txt:
22009         Some docs updates
22010
22011         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22012         (gst_base_sink_event), (gst_base_sink_do_sync),
22013         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22014         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22015         (gst_base_src_do_seek), (gst_base_src_event_handler),
22016         (gst_base_src_loop):
22017         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22018         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22019         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22020         (gst_base_transform_event), (gst_base_transform_handle_buffer),
22021         (gst_base_transform_set_passthrough),
22022         (gst_base_transform_is_passthrough):
22023         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22024         * gst/elements/gstfilesink.c: (gst_file_sink_event):
22025         Event updates.
22026
22027         * gst/gstbuffer.h:
22028         Use faster casts.
22029
22030         * gst/gstelement.c: (gst_element_seek):
22031         * gst/gstelement.h:
22032         Update gst_element_seek.
22033
22034         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
22035         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
22036         (gst_event_new_flush_start), (gst_event_new_flush_stop),
22037         (gst_event_new_eos), (gst_event_new_newsegment),
22038         (gst_event_parse_newsegment), (gst_event_new_tag),
22039         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
22040         (gst_event_parse_qos), (gst_event_new_seek),
22041         (gst_event_parse_seek), (gst_event_new_navigation):
22042         * gst/gstevent.h:
22043         Make GstEvent use GstStructure. Add parsing code, make sure the
22044         API is sufficiently generic.
22045         Mark possible directions of events and serialization.
22046
22047         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
22048         (_gst_message_copy), (gst_message_new_segment_start),
22049         (gst_message_new_segment_done), (gst_message_new_custom),
22050         (gst_message_parse_segment_start),
22051         (gst_message_parse_segment_done):
22052         Small cleanups.
22053
22054         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22055         (gst_pad_set_caps), (gst_pad_send_event):
22056         Update for new events. 
22057         Catch events sent in wrong directions.
22058
22059         * gst/gstqueue.c: (gst_queue_link_src),
22060         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22061         (gst_queue_handle_src_query):
22062         Event updates.
22063
22064         * gst/gsttag.c:
22065         * gst/gsttag.h:
22066         Remove event code from this file.
22067
22068         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22069         (gst_dp_event_from_packet):
22070         Event updates.
22071
22072 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22073
22074         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
22075         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22076         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
22077           Make debugging actually useful.
22078
22079 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22080
22081         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
22082         (gst_pad_fixate_caps):
22083           Implement default fixation once again, so that gst_pad_fixate()
22084           actually does anything at all. This probably needs to be some
22085           sort of a last resort, and use profile-based fixation first, but
22086           since that doesn't exist yet, this is the best we have. Fixes
22087           visualization in Totem.
22088
22089 2005-07-22  Wim Taymans  <wim@fluendo.com>
22090
22091         * docs/design/part-events.txt:
22092         Small update.
22093
22094         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22095         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
22096         (gst_base_sink_activate_pull):
22097         Some more comments.
22098
22099         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22100         (gst_fake_src_create):
22101         Fix handoff marshall.
22102
22103         * gst/elements/gstidentity.c: (gst_identity_class_init),
22104         (gst_identity_transform_ip):
22105         We're a real inplace element.
22106
22107         * gst/gstbus.c: (gst_bus_post):
22108         Added some comments.
22109
22110         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22111         * tests/muxing/case1.c: (main):
22112         * tests/sched/dynamic-pipeline.c: (main):
22113         * tests/sched/interrupt1.c: (main):
22114         * tests/sched/interrupt2.c: (main):
22115         * tests/sched/interrupt3.c: (main):
22116         * tests/sched/runxml.c: (main):
22117         * tests/sched/sched-stress.c: (main):
22118         * tests/seeking/seeking1.c: (event_received), (main):
22119         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22120         (main):
22121         * tests/threadstate/threadstate3.c: (main):
22122         * tests/threadstate/threadstate4.c: (main):
22123         * tests/threadstate/threadstate5.c: (main):
22124         Fix the tests.
22125
22126 2005-07-21  Wim Taymans  <wim@fluendo.com>
22127
22128         * docs/design/part-seeking.txt:
22129         Some small additions.
22130
22131         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22132         (gst_base_sink_get_times), (gst_base_sink_do_sync),
22133         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22134         * gst/base/gstbasesink.h:
22135         discont values are gint64, handle the math correctly.
22136
22137         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22138         Make the basesrc report error if the source pad is not linked.
22139
22140         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22141         (gst_queue_loop), (gst_queue_handle_src_query),
22142         (gst_queue_src_activate_push):
22143         Make queue collect data even if the srcpad is not linked.
22144         Start pushing out data as soon as it is linked.
22145
22146         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22147         * gst/gstutils.h:
22148         Added gst_flow_get_name() to ease error reporting.
22149
22150 2005-07-20  Wim Taymans  <wim@fluendo.com>
22151
22152         * gst/gstmessage.c: (gst_message_new_segment_start),
22153         (gst_message_new_segment_done), (gst_message_parse_segment_start),
22154         (gst_message_parse_segment_done):
22155         * gst/gstmessage.h:
22156         Added a bunch of messages for advanced seeking.
22157
22158         * gst/parse/grammar.y:
22159         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22160         (gst_dpman_state_changed):
22161         Fix some new-pad -> pad-added signals
22162
22163 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22164
22165         * docs/manual/appendix-porting.xml:
22166         * docs/pwg/appendix-porting.xml:
22167           Document new-pad/state-change signal renames and the FixedList
22168           type rename.
22169
22170 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22171
22172         * docs/manual/advanced-autoplugging.xml:
22173         * docs/manual/basics-helloworld.xml:
22174         * docs/manual/basics-pads.xml:
22175         * docs/random/ds/0.9-suggested-changes:
22176         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22177         * gst/gstelement.h:
22178         * gst/gstevent.h:
22179         * gst/gstformat.h:
22180         * gst/gstquery.h:
22181         * gst/gststructure.c: (gst_structure_value_get_generic_type),
22182         (gst_structure_parse_array), (gst_structure_parse_value):
22183         * gst/gstvalue.c: (gst_type_is_fixed),
22184         (gst_value_list_prepend_value), (gst_value_list_append_value),
22185         (gst_value_list_get_size), (gst_value_list_get_value),
22186         (gst_value_transform_array_string), (gst_value_serialize_array),
22187         (gst_value_deserialize_array), (gst_value_intersect_array),
22188         (gst_value_is_fixed), (_gst_value_initialize):
22189         * gst/gstvalue.h:
22190           GstElement::new-pad -> pad-added, GstElement::state-change ->
22191           state-changed, GstValueFixedList -> GstValueArray, add format and
22192           flags as their own arguments in gst_element_seek() (should improve
22193           "bindeability"), remove function generators since they don't work
22194           under a whole bunch of compilers (they were deprecated already
22195           anyway).
22196
22197 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22198
22199         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22200         (_gst_debug_register_funcptr):
22201         * gst/gstinfo.h:
22202           Fix illegal cast on some platforms (#309253).
22203
22204 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22205
22206         * gst/gstmessage.c: (gst_message_new_custom):
22207         * gst/gstmessage.h:
22208           Add _new_custom, make _new_application a macro to _new_custom.
22209
22210 2005-07-20  Wim Taymans  <wim@fluendo.com>
22211
22212         * gst/base/gstbasesrc.c: (gst_base_src_init),
22213         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22214         * gst/base/gstbasesrc.h:
22215         Add a gboolean to decide when to push out a discont.
22216
22217         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22218         (gst_queue_loop), (gst_queue_handle_src_query),
22219         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22220         (gst_queue_set_property), (gst_queue_get_property):
22221         Some cleanups.
22222
22223         * tests/threadstate/threadstate1.c: (main):
22224         Make a thread test compile and run... very silly..
22225
22226
22227 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22228
22229         * docs/manual/appendix-porting.xml:
22230           Mention removal of libgstgconf-0.9.la and existence of gconf
22231           elements.
22232
22233 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22234
22235         * docs/pwg/advanced-clock.xml:
22236         * docs/pwg/appendix-porting.xml:
22237         * docs/pwg/intro-preface.xml:
22238         * docs/pwg/other-base.xml:
22239         * docs/pwg/other-manager.xml:
22240         * docs/pwg/other-nton.xml:
22241         * docs/pwg/other-ntoone.xml:
22242         * docs/pwg/other-oneton.xml:
22243         * docs/pwg/pwg.xml:
22244           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22245           demuxer), remove n-to-n (was never written), fix some code examples
22246           and links and update the porting section to include all this.
22247
22248 2005-07-19  Wim Taymans  <wim@fluendo.com>
22249
22250         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22251         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22252         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22253         (gst_queue_src_activate_push), (gst_queue_change_state),
22254         (gst_queue_get_property):
22255         * gst/gstqueue.h:
22256         Propagate GstFlowReturn more intelligently upstream and output
22257         an ERROR/EOS when streaming stopped due to fatal error.
22258
22259 2005-07-19  Wim Taymans  <wim@fluendo.com>
22260
22261         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22262         Don't block forever for the state change to complete, the
22263         pipeline already did with a sensible timeout.
22264
22265 2005-07-19  Wim Taymans  <wim@fluendo.com>
22266
22267         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22268         Make sure we never call the create function is we
22269         got deactivated.
22270
22271 2005-07-19  Andy Wingo  <wingo@pobox.com>
22272
22273         * gst/parse/parse.l: Attempt to solve bug #172815.
22274
22275 2005-07-19  Wim Taymans  <wim@fluendo.com>
22276
22277         * docs/design/part-clocks.txt:
22278         * docs/design/part-events.txt:
22279         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22280         Small docs updates.
22281         Only update the seeking values when we are not
22282         busy streaming.
22283
22284 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22285
22286         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22287           Oops, ignore the result of gst_pad_push_event here.
22288
22289 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22290
22291         * gst/base/gstbasesrc.c: (gst_base_src_loop),
22292         (gst_base_src_activate_push):
22293           Send discont event from the loop function, as pads
22294           aren't activated yet in the activate_push handler.
22295
22296         * gst/gstbin.c: (bin_bus_handler):
22297           Don't leak element name.
22298
22299 2005-07-18  Andy Wingo  <wingo@pobox.com>
22300
22301         * configure.ac: Use AS_LIBTOOL_TAGS.
22302
22303 2005-07-18  Wim Taymans  <wim@fluendo.com>
22304
22305         * docs/gst/gstreamer.types:
22306         Remove deleted types.
22307
22308 2005-07-18  Wim Taymans  <wim@fluendo.com>
22309
22310         * check/elements/gstfakesrc.c: (GST_START_TEST):
22311         * configure.ac:
22312         * gst/Makefile.am:
22313         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22314         (init_popt_callback):
22315         * gst/gst.h:
22316         * gst/gst_private.h:
22317         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22318         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22319         * gst/gstbin.h:
22320         * gst/gstbus.h:
22321         * gst/gstconfig.h.in:
22322         * gst/gstelement.c: (gst_element_class_init),
22323         (gst_element_set_base_time), (gst_element_get_base_time),
22324         (iterator_fold_with_resync), (gst_element_change_state),
22325         (gst_element_dispose), (gst_element_get_bus):
22326         * gst/gstelement.h:
22327         * gst/gstelementfactory.h:
22328         * gst/gsterror.c: (_gst_core_errors_init):
22329         * gst/gsterror.h:
22330         * gst/gstevent.h:
22331         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22332         * gst/gstindex.c:
22333         * gst/gstinfo.c: (_gst_debug_init):
22334         * gst/gstmessage.c: (_gst_message_copy):
22335         * gst/gstmessage.h:
22336         * gst/gstminiobject.h:
22337         * gst/gstobject.c:
22338         * gst/gstobject.h:
22339         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22340         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22341         * gst/gstpad.h:
22342         * gst/gstparse.h:
22343         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22344         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22345         (gst_pipeline_get_last_stream_time):
22346         * gst/gstpipeline.h:
22347         * gst/gstpluginfeature.h:
22348         * gst/gstquery.h:
22349         * gst/gstscheduler.c:
22350         * gst/gstscheduler.h:
22351         * gst/gststructure.h:
22352         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22353         (gst_task_finalize), (gst_task_func), (gst_task_create),
22354         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22355         (gst_task_stop), (gst_task_pause):
22356         * gst/gsttask.h:
22357         * gst/gsttypefind.h:
22358         * gst/gsttypes.h:
22359         * gst/registries/gstlibxmlregistry.c: (load_feature),
22360         (gst_xml_registry_load), (gst_xml_registry_save_feature):
22361         * gst/registries/gstxmlregistry.c:
22362         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22363         * gst/schedulers/threadscheduler.c:
22364         * libs/gst/control/dparammanager.h:
22365         * tools/gst-inspect.c: (print_element_list),
22366         (print_plugin_features), (print_element_features):
22367         * tools/gst-xmlinspect.c: (print_element_list),
22368         (print_plugin_info), (main):
22369         Removed plugable schedulers.
22370         Removed Scheduler/Manager from elements.
22371         Removed gsttypes.h, rearranged includes.
22372         Removed dependency pad<->element, element<>pipeline, and
22373         various others,  fix includes.
22374         implement gst_pad_get_parent() with gst_object_get_parent()
22375         Make GstTask sefcontained.
22376         Fix _get_state() on GstBin, it did not return ASYNC with a 0
22377         timeout.
22378         Fix endless loop in iterator_fold_with_resync.
22379
22380
22381 2005-07-18  Wim Taymans  <wim@fluendo.com>
22382
22383         * gst/Makefile.am:
22384         * gst/gstarch.h:
22385         Remove old file.
22386
22387 2005-07-18  Wim Taymans  <wim@fluendo.com>
22388
22389         * gst/Makefile.am:
22390         No more cothreads.h
22391
22392 2005-07-18  Wim Taymans  <wim@fluendo.com>
22393
22394         * gst/cothreads.c:
22395         * gst/cothreads.h:
22396         Let's remove these.
22397
22398 2005-07-18  Wim Taymans  <wim@fluendo.com>
22399
22400         * docs/design/part-dynamic.txt:
22401         * docs/design/part-events.txt:
22402         * docs/design/part-seeking.txt:
22403         Some more docs in the works.
22404
22405         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22406         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22407         (gst_base_transform_setcaps), (gst_base_transform_get_size),
22408         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22409         (gst_base_transform_handle_buffer),
22410         (gst_base_transform_sink_activate_push),
22411         (gst_base_transform_src_activate_pull),
22412         (gst_base_transform_set_passthrough),
22413         (gst_base_transform_is_passthrough):
22414         Refcounting fixes.
22415
22416         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22417         Cleanups.
22418
22419         * gst/gstevent.c: (gst_event_finalize):
22420         Set SRC to NULL.
22421
22422         * gst/gstutils.c: (gst_element_unlink),
22423         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22424         (gst_pad_proxy_setcaps):
22425         * gst/gstutils.h:
22426         Add _get_parent_element() to get a pads parent as an element.
22427
22428 2005-07-18  Wim Taymans  <wim@fluendo.com>
22429
22430         * check/gst/gstbin.c: (GST_START_TEST):
22431         Remove bogus test.
22432
22433 2005-07-18  Wim Taymans  <wim@fluendo.com>
22434
22435         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22436         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22437         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22438         (gst_base_sink_event), (gst_base_sink_do_sync),
22439         (gst_base_sink_chain), (gst_base_sink_loop),
22440         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22441         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22442         Refcounting fixes.
22443         Fix logic for returning ASYNC when not prerolled.
22444
22445 2005-07-18  Wim Taymans  <wim@fluendo.com>
22446
22447         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22448         Fix nasty refcount bug.
22449
22450 2005-07-16 Philippe Khalaf <burger@speedy.org>
22451
22452         * gst/elements/gstfdsrc.c:
22453         * gst/elements/gstfdsrc.h:
22454         * gst/elements/gstelements.c:
22455         * gst/elements/Makefile.am:
22456         Ported fdsrc to 0.9.
22457
22458 2005-07-16  Wim Taymans  <wim@fluendo.com>
22459
22460         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22461         (gst_base_sink_do_sync):
22462         Fix compile error.
22463
22464 2005-07-16  Wim Taymans  <wim@fluendo.com>
22465
22466         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22467         (gst_base_sink_event), (gst_base_sink_get_times),
22468         (gst_base_sink_do_sync), (gst_base_sink_change_state):
22469         * gst/base/gstbasesink.h:
22470         Store and use discont values when syncing buffers as described
22471         in design docs.
22472         
22473         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22474         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22475         (gst_base_src_activate_push):
22476         Push discont event when starting.
22477
22478         * gst/elements/gstidentity.c: (gst_identity_transform):
22479         Small cleanups.
22480
22481         * gst/gstbin.c: (gst_bin_change_state):
22482         Small cleanups in base_time  distribution.
22483
22484         * gst/gstelement.c: (gst_element_set_base_time),
22485         (gst_element_get_base_time), (gst_element_change_state):
22486         * gst/gstelement.h:
22487         Added methods for the base_time of the element.
22488         Some MT fixes.
22489
22490         * gst/gstpipeline.c: (gst_pipeline_send_event),
22491         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22492         (gst_pipeline_get_last_stream_time):
22493         * gst/gstpipeline.h:
22494         MT fixes.
22495         Handle seeking as described in design doc, remove stream_time
22496         hack.
22497         Cleanups clock and stream_time selection code. Added accessors
22498         for the stream_time.
22499         
22500
22501 2005-07-16  Andy Wingo  <wingo@pobox.com>
22502
22503         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22504         (#305291).
22505
22506 2005-07-16  Wim Taymans  <wim@fluendo.com>
22507
22508         * check/gst/gstbin.c: (GST_START_TEST):
22509         Make elements silent as the deep_notify refs the
22510         parent, which might make the test fail.
22511
22512         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22513         Don't hold the lock for too long.
22514
22515 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
22516
22517         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22518           Don't unref the caps we passed to gst_caps_make_writable() after
22519           passing them. gst_caps_make_writable() will do that for us.
22520
22521 2005-07-15  Andy Wingo  <wingo@pobox.com>
22522
22523         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22524         (#157311).
22525
22526         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22527         own marshalling function for the handoff signal. Properly type the
22528         buffer as a buffer. Fixes some warnings. Should do a more general
22529         solution.
22530         (gst_identity_class_init): Plug into the right marshaller.
22531
22532 2005-07-15  Wim Taymans  <wim@fluendo.com>
22533
22534         * docs/design/part-TODO.txt:
22535         * docs/design/part-clocks.txt:
22536         * docs/design/part-element-sink.txt:
22537         * docs/design/part-events.txt:
22538         * docs/design/part-gstpipeline.txt:
22539         Updated docs, mostly DISCONT related.
22540
22541 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
22542
22543         * docs/pwg/building-pads.xml:
22544           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22545
22546 2005-07-15  Andy Wingo  <wingo@pobox.com>
22547
22548         * tools/gst-typefind.c: Update, add copyright block.
22549
22550         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22551         Normalize and truncate caps before fixation.
22552
22553         * gst/gstcaps.h:
22554         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22555         discards all but the first structure from its argument.
22556
22557 2005-07-15  Wim Taymans  <wim@fluendo.com>
22558
22559         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22560         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22561         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22562         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22563         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22564         (gst_base_transform_chain), (gst_base_transform_change_state),
22565         (gst_base_transform_set_passthrough),
22566         (gst_base_transform_is_passthrough):
22567         * gst/base/gstbasetransform.h:
22568         Make passthrough work using the bufferpools.
22569         Changed API a bit, subclasses have to write into a buffer
22570         provided by the base class.
22571         More debug info in nego functions.
22572         
22573         * gst/elements/gstidentity.c: (gst_identity_init),
22574         (gst_identity_transform):
22575         Port to new base class.
22576
22577 2005-07-15  Wim Taymans  <wim@fluendo.com>
22578
22579         * gst/gstmessage.c: (gst_message_new_state_changed):
22580         * tools/gst-launch.c: (event_loop), (main):
22581         Totally dump messages in -launch with the -m option.
22582         Fix message name for State messages,
22583
22584 2005-07-14  Wim Taymans  <wim@fluendo.com>
22585
22586         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22587         Post error messages on errors.
22588
22589 2005-07-14  Wim Taymans  <wim@fluendo.com>
22590
22591         * gst/gstcaps.c: (gst_caps_do_simplify):
22592         Remove debug info.
22593
22594         * gst/gsterror.h:
22595         Define error for stream stopped.
22596
22597         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22598         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22599         Do proper return values.
22600
22601         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22602         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22603         (gst_pad_get_range):
22604         Better return values.
22605
22606         * gst/gstpad.h:
22607         Reorganise return values, add macro to check for fatal errors.
22608
22609         * gst/gstqueue.c: (gst_queue_chain):
22610         Return proper GstFlowReturn values,
22611
22612 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
22613
22614         * docs/gst/gstreamer-sections.txt:
22615         * docs/gst/gstreamer.types:
22616         * docs/gst/tmpl/gst.sgml:
22617         * docs/gst/tmpl/gstbasesink.sgml:
22618         * docs/gst/tmpl/gstbasesrc.sgml:
22619         * docs/gst/tmpl/gstbasetransform.sgml:
22620         * docs/gst/tmpl/gstbin.sgml:
22621         * docs/gst/tmpl/gstbuffer.sgml:
22622         * docs/gst/tmpl/gstcaps.sgml:
22623         * docs/gst/tmpl/gstclock.sgml:
22624         * docs/gst/tmpl/gstcompat.sgml:
22625         * docs/gst/tmpl/gstconfig.sgml:
22626         * docs/gst/tmpl/gstelement.sgml:
22627         * docs/gst/tmpl/gstelementdetails.sgml:
22628         * docs/gst/tmpl/gstelementfactory.sgml:
22629         * docs/gst/tmpl/gstenumtypes.sgml:
22630         * docs/gst/tmpl/gsterror.sgml:
22631         * docs/gst/tmpl/gstevent.sgml:
22632         * docs/gst/tmpl/gstfakesink.sgml:
22633         * docs/gst/tmpl/gstfakesrc.sgml:
22634         * docs/gst/tmpl/gstfilesink.sgml:
22635         * docs/gst/tmpl/gstfilesrc.sgml:
22636         * docs/gst/tmpl/gstfilter.sgml:
22637         * docs/gst/tmpl/gstformat.sgml:
22638         * docs/gst/tmpl/gstghostpad.sgml:
22639         * docs/gst/tmpl/gstimplementsinterface.sgml:
22640         * docs/gst/tmpl/gstindex.sgml:
22641         * docs/gst/tmpl/gstindexfactory.sgml:
22642         * docs/gst/tmpl/gstinfo.sgml:
22643         * docs/gst/tmpl/gstiterator.sgml:
22644         * docs/gst/tmpl/gstmacros.sgml:
22645         * docs/gst/tmpl/gstmemchunk.sgml:
22646         * docs/gst/tmpl/gstminiobject.sgml:
22647         * docs/gst/tmpl/gstobject.sgml:
22648         * docs/gst/tmpl/gstpad.sgml:
22649         * docs/gst/tmpl/gstpadtemplate.sgml:
22650         * docs/gst/tmpl/gstparse.sgml:
22651         * docs/gst/tmpl/gstpipeline.sgml:
22652         * docs/gst/tmpl/gstplugin.sgml:
22653         * docs/gst/tmpl/gstpluginfeature.sgml:
22654         * docs/gst/tmpl/gstquery.sgml:
22655         * docs/gst/tmpl/gstqueue.sgml:
22656         * docs/gst/tmpl/gstregistry.sgml:
22657         * docs/gst/tmpl/gstregistrypool.sgml:
22658         * docs/gst/tmpl/gstscheduler.sgml:
22659         * docs/gst/tmpl/gstschedulerfactory.sgml:
22660         * docs/gst/tmpl/gststructure.sgml:
22661         * docs/gst/tmpl/gstsystemclock.sgml:
22662         * docs/gst/tmpl/gsttaglist.sgml:
22663         * docs/gst/tmpl/gsttagsetter.sgml:
22664         * docs/gst/tmpl/gsttrace.sgml:
22665         * docs/gst/tmpl/gsttrashstack.sgml:
22666         * docs/gst/tmpl/gsttypefind.sgml:
22667         * docs/gst/tmpl/gsttypefindfactory.sgml:
22668         * docs/gst/tmpl/gsttypes.sgml:
22669         * docs/gst/tmpl/gsturihandler.sgml:
22670         * docs/gst/tmpl/gsturitype.sgml:
22671         * docs/gst/tmpl/gstutils.sgml:
22672         * docs/gst/tmpl/gstvalue.sgml:
22673         * docs/gst/tmpl/gstversion.sgml:
22674         * docs/gst/tmpl/gstxml.sgml:
22675         * docs/libs/tmpl/gstcontrol.sgml:
22676         * docs/libs/tmpl/gstdataprotocol.sgml:
22677         * docs/libs/tmpl/gstdparam.sgml:
22678         * docs/libs/tmpl/gstdplinint.sgml:
22679         * docs/libs/tmpl/gstdpman.sgml:
22680         * docs/libs/tmpl/gstdpsmooth.sgml:
22681         * docs/libs/tmpl/gstgetbits.sgml:
22682         * docs/libs/tmpl/gstunitconvert.sgml:
22683         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22684         (gst_push_src_base_init), (gst_push_src_class_init),
22685         (gst_push_src_init), (gst_push_src_create):
22686         * gst/base/gstpushsrc.h:
22687         * gst/elements/gstelements.c:
22688         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22689         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22690         (gst_fake_sink_init), (gst_fake_sink_set_property),
22691         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22692         (gst_fake_sink_event), (gst_fake_sink_preroll),
22693         (gst_fake_sink_render), (gst_fake_sink_change_state):
22694         * gst/elements/gstfakesink.h:
22695         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22696         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22697         (gst_fake_src_base_init), (gst_fake_src_class_init),
22698         (gst_fake_src_init), (gst_fake_src_event_handler),
22699         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22700         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22701         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22702         (gst_fake_src_create_buffer), (gst_fake_src_create),
22703         (gst_fake_src_start), (gst_fake_src_stop):
22704         * gst/elements/gstfakesrc.h:
22705         * gst/elements/gstfilesink.c: (_do_init),
22706         (gst_file_sink_base_init), (gst_file_sink_class_init),
22707         (gst_file_sink_init), (gst_file_sink_dispose),
22708         (gst_file_sink_set_location), (gst_file_sink_set_property),
22709         (gst_file_sink_get_property), (gst_file_sink_open_file),
22710         (gst_file_sink_close_file), (gst_file_sink_query),
22711         (gst_file_sink_event), (gst_file_sink_render),
22712         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22713         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22714         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22715         * gst/elements/gstfilesink.h:
22716         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22717         (gst_file_src_class_init), (gst_file_src_init),
22718         (gst_file_src_finalize), (gst_file_src_set_location),
22719         (gst_file_src_set_property), (gst_file_src_get_property),
22720         (gst_file_src_map_region), (gst_file_src_map_small_region),
22721         (gst_file_src_create_mmap), (gst_file_src_create_read),
22722         (gst_file_src_create), (gst_file_src_is_seekable),
22723         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22724         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22725         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22726         (gst_file_src_uri_handler_init):
22727         * gst/elements/gstfilesrc.h:
22728           more autistic cleanliness in functions/names/defines
22729
22730 2005-07-13  Andy Wingo  <wingo@pobox.com>
22731
22732         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22733         source couldn't negotiate.
22734
22735         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22736         connections again.
22737
22738         * gst/gstutils.h:
22739         * gst/gstutils.c (gst_element_link_pads_filtered): New old
22740         function. I am channeling Hades. Put your boots on suckers!!!
22741
22742 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22743
22744         * testsuite/caps/Makefile.am:
22745         * testsuite/caps/value_compare.c:
22746         * testsuite/caps/value_intersect.c:
22747         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22748           move two testsuite apps over to the check dir
22749
22750 2005-07-12  Wim Taymans  <wim@fluendo.com>
22751
22752         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22753         Added more debug info in the negotiate process.
22754
22755         * gst/gstmessage.h:
22756         Prepare for segment playback.
22757
22758         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22759         Better debugging.
22760
22761         * gst/gstutils.c:
22762         Some more docs.
22763
22764         * tools/gst-launch.c: (main):
22765         NULL pipeline on errors.
22766
22767 2005-07-12  Andy Wingo  <wingo@pobox.com>
22768
22769         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22770         not it comes from a malloc region. Make sure our copy gets freed.
22771
22772 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22773
22774         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22775         * check/gst/gstmessage.c: (GST_START_TEST):
22776         * check/gst/gststructure.c: (GST_START_TEST),
22777         (gst_structure_suite), (main):
22778           more testing
22779         * gst/gstelement.c: (gst_element_message_full):
22780           clean up GError and debug string now that they get copied
22781         * gst/gstmessage.c: (gst_message_new_error),
22782         (gst_message_new_warning), (gst_message_parse_error),
22783         (gst_message_parse_warning):
22784           use GST_TYPE_G_ERROR for structure_new, and take copies of
22785           arguments, so that we don't mess up refcounting
22786
22787 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22788
22789         * check/Makefile.am:
22790           add per-test valgrind targets
22791         * check/gst-libs/gdp.c: (GST_START_TEST),
22792         (gst_data_protocol_suite), (main):
22793           clean up
22794
22795 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22796
22797         * check/Makefile.am:
22798           instate more valgrindable tests
22799         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22800         (GST_START_TEST), (fakesrc_suite):
22801         * check/gst/gstpad.c: (GST_START_TEST):
22802         * check/gst/gststructure.c: (GST_START_TEST):
22803           fix test leaks
22804         * docs/gst/tmpl/gstminiobject.sgml:
22805         * gst/gstpad.c: (gst_pad_finalize):
22806           fix the static mutex leak
22807
22808 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22809
22810         * check/Makefile.am:
22811           add two more tests for valgrinding
22812         * check/gst/gstvalue.c: (GST_START_TEST):
22813           test refcount of deserialized buffer, found a leak
22814         * docs/gst/gstreamer-docs.sgml:
22815         * docs/gst/gstreamer-sections.txt:
22816         * docs/gst/gstreamer.types:
22817         * docs/gst/tmpl/gstminiobject.sgml:
22818           add miniobject to docs
22819         * gst/gstminiobject.c:
22820           add some docs
22821         * gst/gstvalue.c: (gst_value_deserialize_buffer),
22822         (gst_string_unwrap):
22823           fix a hard-to-find invalid write for one of the tests
22824           fix a leak for deserialized buffers
22825
22826 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22827
22828         * docs/pwg/advanced-events.xml:
22829         * docs/pwg/advanced-request.xml:
22830         * docs/pwg/advanced-scheduling.xml:
22831         * docs/pwg/appendix-porting.xml:
22832         * docs/pwg/building-boiler.xml:
22833         * docs/pwg/intro-preface.xml:
22834         * docs/pwg/other-ntoone.xml:
22835           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22836           of example code and explanation for pad activation, loop() and
22837           getrange() functions and a bit more. Remove old comments pointing
22838           to loop-functions.
22839         * examples/pwg/Makefile.am:
22840           Add loop/getrange examples.
22841
22842 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22843
22844         * configure.ac:
22845           check for valgrind binary + some fixes
22846         * check/gst.supp:
22847           valgrind suppressions for the tests
22848         * check/Makefile.am:
22849           add a valgrind: target that valgrinds the unit tests
22850         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22851         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22852         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22853         * check/gst/gstghostpad.c:
22854           added some cleanup
22855         * check/gst/gstdata.c:
22856           removed
22857         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22858         (thread_unref), (gst_mini_object_suite), (main):
22859           added
22860         * gst/gst.c: (gst_deinit):
22861         * gst/gst.h:
22862           add a method to clean up.
22863         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22864         (gst_system_clock_obtain):
22865           allow for disposing the system clock.
22866         * tools/gst-launch.c: (main):
22867           deinit
22868
22869 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22870
22871         * docs/gst/tmpl/gstbasesrc.sgml:
22872         * docs/gst/tmpl/gstfakesrc.sgml:
22873         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22874         (gst_base_src_init), (gst_base_src_set_property),
22875         (gst_base_src_get_property), (gst_base_src_get_range),
22876         (gst_base_src_start):
22877         * gst/base/gstbasesrc.h:
22878           add num-buffers property
22879         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22880         (gst_fakesrc_init), (gst_fakesrc_set_property),
22881         (gst_fakesrc_get_property), (gst_fakesrc_create),
22882         (gst_fakesrc_start):
22883           remove num-buffers property
22884
22885 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22886
22887         * docs/gst/gstreamer-sections.txt:
22888         * docs/gst/tmpl/gstbasesink.sgml:
22889         * docs/gst/tmpl/gstbasesrc.sgml:
22890         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22891         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22892         (gst_base_sink_finalize), (gst_base_sink_set_clock),
22893         (gst_base_sink_set_property), (gst_base_sink_get_property),
22894         (gst_base_sink_handle_object), (gst_base_sink_event),
22895         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22896         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22897         (gst_base_sink_loop), (gst_base_sink_deactivate),
22898         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22899         (gst_base_sink_change_state):
22900         * gst/base/gstbasesink.h:
22901         * gst/base/gstbasesrc.h:
22902         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22903         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22904         (gst_filesink_init):
22905           more macro splitting
22906
22907 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22908
22909         * gst/gstelement.c: (gst_element_get_bus):
22910           add debug
22911         * tools/gst-launch.c: (check_intr), (event_loop):
22912           fix bus leaks
22913
22914 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22915
22916         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22917           fix a caps leak
22918
22919 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22920
22921         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22922         (gst_base_src_finalize):
22923           add finalize method and clean up properly
22924         * gst/gstpipeline.c: (gst_pipeline_dispose):
22925           add debug
22926
22927 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22928
22929         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22930         (gst_bin_suite):
22931           add more things to check
22932         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22933         * gst/gstelement.c:
22934           more debug
22935
22936 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22937
22938         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22939         (GST_START_TEST), (fakesrc_suite):
22940         * check/gst-libs/gdp.c: (GST_START_TEST):
22941         * check/gst/gst.c: (GST_START_TEST):
22942         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22943         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22944         * check/gst/gstbus.c: (GST_START_TEST):
22945         * check/gst/gstcaps.c: (GST_START_TEST):
22946         * check/gst/gstdata.c: (GST_START_TEST):
22947         * check/gst/gstelement.c: (GST_START_TEST):
22948         * check/gst/gstghostpad.c: (GST_START_TEST):
22949         * check/gst/gstiterator.c: (GST_START_TEST):
22950         * check/gst/gstmessage.c: (GST_START_TEST):
22951         * check/gst/gstobject.c: (GST_START_TEST):
22952         * check/gst/gstpad.c: (GST_START_TEST):
22953         * check/gst/gststructure.c: (GST_START_TEST):
22954         * check/gst/gstsystemclock.c: (GST_START_TEST),
22955         (gst_systemclock_suite):
22956         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22957         * check/gst/gstvalue.c: (GST_START_TEST):
22958         * check/pipelines/cleanup.c: (GST_START_TEST):
22959         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22960         * check/states/sinks.c: (GST_START_TEST):
22961         * check/gstcheck.c: (gst_check_init):
22962         * check/gstcheck.h:
22963           add debugging category
22964           use GST_START_TEST now, so we add a debug line
22965
22966 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22967
22968         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22969           add test for state change message on a bin
22970         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22971           add another test
22972         * gst/gstbin.c: (gst_bin_init):
22973         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22974         * gst/gstelement.c: (gst_element_post_message),
22975         (gst_element_set_state):
22976         * gst/gstelementfactory.c: (gst_element_factory_create):
22977         * gst/gstmessage.c: (gst_message_new):
22978         * gst/gstscheduler.c:
22979           various debugging additions and cleanups
22980
22981 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22982
22983         * check/Makefile.am:
22984         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22985         (main):
22986           adding tests for elements
22987         * gst/gstelement.c: (gst_element_dispose):
22988
22989 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22990
22991         * gst/registries/gstlibxmlregistry.c: (load_feature):
22992           plug more leaks.  A simple gst_init() now is leakfree, yay.
22993
22994 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22995
22996         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22997         (gst_xml_registry_load):
22998           plug another memleak
22999
23000 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23001
23002         * configure.ac:
23003           use GST_SET_ERROR_CFLAGS
23004         * docs/faq/cvs.xml:
23005           change to ERROR_CFLAGS
23006
23007 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23008
23009         * configure.ac:
23010           make GST_ERROR_CFLAGS overridable and re-enable Werror
23011         * docs/faq/cvs.xml:
23012           add a note about error CFLAGS
23013         * docs/gst/tmpl/gstfakesrc.sgml:
23014         * gst/elements/gstfakesrc.c:
23015           comment out some unused code
23016         * gst/gst.c: (split_and_iterate):
23017         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
23018         (load_feature):
23019           plug some memleaks
23020
23021 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23022
23023         * common/Makefile.am:
23024         * common/gtk-doc.mak:
23025         * docs/gst/Makefile.am:
23026           factor out gtk-doc.mak
23027
23028 2005-07-07  Wim Taymans  <wim@fluendo.com>
23029
23030         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
23031         (gst_thread_scheduler_dispose):
23032         Unlock the STREAM_LOCK completely.
23033
23034 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23035
23036         * check/Makefile.am:
23037         * check/elements/.cvsignore:
23038         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23039         (START_TEST), (fakesrc_suite), (main):
23040         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23041         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23042         (gst_fakesrc_create), (gst_fakesrc_start):
23043         * gst/elements/gstfakesrc.h:
23044           adding a first element test
23045
23046 2005-07-07  Andy Wingo  <wingo@pobox.com>
23047
23048         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
23049         debug message.
23050
23051 2005-07-07  Wim Taymans  <wim@fluendo.com>
23052
23053         * gst/gstquery.c:
23054         * gst/gstquery.h:
23055         Remove old types
23056
23057 2005-07-07  Wim Taymans  <wim@fluendo.com>
23058
23059         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23060         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
23061         Allow subclasses to implement their own negotiation.
23062
23063 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23064
23065         * docs/design/part-gstbin.txt:
23066         * docs/design/part-gstpipeline.txt:
23067           Update design notes to reflect the movement of
23068           responsibility for bus handling from GstPipeline to
23069           GstBin
23070
23071 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23072
23073         * configure.ac:
23074           Remove unnecessary queue2/3/4 examples.
23075
23076 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23077
23078         * examples/Makefile.am:
23079         * examples/helloworld/helloworld.c: (event_loop), (main):
23080         * examples/queue/queue.c: (event_loop), (main):
23081         * examples/queue2/queue2.c: (main):
23082           Update a couple of the examples to work again.
23083
23084         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23085         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
23086          Spelling corrections and extra debug.
23087         
23088         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
23089         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
23090         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
23091         * gst/gstbin.h:
23092         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23093         (gst_pipeline_change_state):
23094         * gst/gstpipeline.h:
23095           Move the bus handler for children to the GstBin, and create a
23096           separate bus for receiving messages from children to the one the
23097           bus sends 'upwards' on.
23098
23099 2005-07-06  Wim Taymans  <wim@fluendo.com>
23100
23101         * gst/base/README:
23102         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23103         (gst_base_sink_handle_object), (gst_base_sink_loop),
23104         (gst_base_sink_change_state):
23105         * gst/base/gstbasesink.h:
23106         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23107         (gst_base_src_init), (gst_base_src_setcaps),
23108         (gst_base_src_getcaps), (gst_base_src_loop),
23109         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23110         (gst_base_src_start), (gst_base_src_change_state):
23111         * gst/base/gstbasesrc.h:
23112         Make basesrc negotiate.
23113         Handle the case where preroll fails in basesink.
23114         Update README.
23115
23116 2005-07-06  Wim Taymans  <wim@fluendo.com>
23117
23118         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23119         Implement the fixate function.
23120         Clean up acceptcaps.
23121
23122 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23123
23124         * docs/pwg/building-filterfactory.xml:
23125         * docs/pwg/pwg.xml:
23126           Remove never-written filter-factory chapter; I'll add the various
23127           base classes to part 4 ("other element types") later on.
23128
23129 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23130
23131         * docs/pwg/advanced-negotiation.xml:
23132         * docs/pwg/building-boiler.xml:
23133         * docs/pwg/building-pads.xml:
23134         * docs/pwg/pwg.xml:
23135         * examples/pwg/Makefile.am:
23136           Add a chapter on caps negotiation, simplify the original code
23137           samples a bit w.r.t. caps negotiation, add link to the advanced
23138           section. Add a bunch of examples showing different use cases of
23139           different types of caps negotiation. Upstream renegotiation isn't
23140           fully documented yet since nobody knows how that works.
23141
23142 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23143
23144         * check/gst/gstpad.c:
23145         * check/gstcheck.c:
23146         * gst/gstpad.c: (gst_pad_get_internal_links_default):
23147           if pad has no parent, return NULL as list of internal links
23148
23149 2005-07-05  Andy Wingo  <wingo@pobox.com>
23150
23151         * gst/elements/gstfilesrc.c:
23152         * gst/elements/gstfakesrc.c: 
23153         * gst/base/gstpushsrc.c:
23154         * gst/base/gstbasesrc.h: 
23155         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23156         
23157 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
23158
23159         * Makefile.am:
23160           better report generation target (lcov needs a patch)
23161
23162 2005-07-05  Andy Wingo  <wingo@pobox.com>
23163
23164         * gst/elements, testsuite: Null if we got it...
23165
23166 2005-07-05  Wim Taymans  <wim@fluendo.com>
23167
23168         * configure.ac:
23169         * libs/gst/dataprotocol/Makefile.am:
23170         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23171         * libs/gst/dataprotocol/dataprotocol.h:
23172         * pkgconfig/Makefile.am:
23173         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23174         * pkgconfig/gstreamer-dataprotocol.pc.in:
23175         Ported dataprotol to 0.9. 
23176         Added pkgconfig files.
23177
23178 2005-07-05  Andy Wingo  <wingo@pobox.com>
23179
23180         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23181         Default to returning TRUE for the case when tranform_caps returns
23182         a fixed caps, like for identity or volume.
23183
23184         * check/gst/gstbus.c (pound_bus_with_messages): 
23185         * check/gst/gstmessage.c (START_TEST): 
23186         * check/pipelines/simple_launch_lines.c (got_handoff): Application
23187         message API change.
23188
23189         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23190         logic weaks here: always run transform_caps, trying passthrough
23191         operation only if the original caps intersects with the transform.
23192
23193         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23194         source and sink caps.
23195
23196         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23197         Intersect the peer caps with the pad template before going into
23198         transform_caps.
23199         (gst_base_transform_transform_caps): More debugging.
23200
23201         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23202         src argument.
23203
23204 2005-07-04  Edward Hervey  <edward@fluendo.com>
23205
23206         * gst/gstutils.c:
23207         * gst/gstutils.h:
23208         (gst_pad_add_*_probe): now returns the signal id for better wrapping
23209         in bindings.
23210
23211 2005-07-04  Andy Wingo  <wingo@pobox.com>
23212
23213         * check/gst/gstpad.c: Only set explicit caps on pads.
23214
23215 2005-07-01  Andy Wingo  <wingo@pobox.com>
23216
23217         * tests/network-clock.scm: Commentary update.
23218
23219         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23220         Didn't really make sense, not implementable with basetransform,
23221         etc.
23222         (gst_identity_transform): Unref inbuf via make_writable. Feeble
23223         attempt at implementing the sync property, needs an unlock method.
23224
23225         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23226         New func, by default returns the same caps (the identity
23227         transformation).
23228         (gst_base_transform_getcaps): Uses transform_caps to return
23229         something sensible.
23230         (gst_base_transform_setcaps): Complicated logic to get caps on
23231         both pads, even if they are different, and to call set_caps once
23232         for every time both pads get their caps set.
23233         (gst_base_transform_handle_buffer): Give the ref to the transform
23234         function. Allows in-place modification of the buffer.
23235
23236         * gst/base/gstbasetransform.h (transform_caps): New class method.
23237         Given caps on one side, what can I do on the other.
23238         (set_caps): Take two caps, one for each side of the element.
23239
23240         * gst/gstpad.h:
23241         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23242         caps in place. This is safe because we can check the mutability of
23243         the caps, and a good idea because fixate functions are just called
23244         as a matter of last resort. (Not actually implemented.)
23245         (gst_pad_set_caps): If the caps we're setting is actually the same
23246         as the existing pad caps, just update the pointer without calling
23247         setcaps. Assert that caps is either NULL or fixed, as per the
23248         docs.
23249
23250         * gst/gstghostpad.c: Update for fixate changes.
23251
23252 2005-07-02  Andy Wingo  <wingo@pobox.com>
23253
23254         * gst/gstcaps.c:
23255         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23256         two refcounts makes it immutable, which is enough. Doc more.
23257
23258 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
23259
23260         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23261           Put the mini_object into GValue as a mini_object,
23262           not a gpointer, since that's how we declared
23263           the signal.
23264
23265 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23266
23267         * examples/pwg/Makefile.am:
23268           Fix buildbot again.
23269
23270 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23271
23272         * docs/pwg/building-testapp.xml:
23273           Add extra check.
23274         * examples/pwg/Makefile.am:
23275           Fix buildbot.
23276
23277 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23278
23279         * configure.ac:
23280         * examples/Makefile.am:
23281         * examples/pwg/Makefile.am:
23282         * examples/pwg/extract.pl:
23283           Enable building the PWG examples.
23284         * docs/pwg/advanced-interfaces.xml:
23285           Add URI interface stub.
23286         * docs/pwg/advanced-types.xml:
23287         * docs/pwg/other-autoplugger.xml:
23288         * docs/pwg/appendix-porting.xml:
23289         * docs/pwg/pwg.xml:
23290           Add porting guide (mostly stubs), remove autoplugging (see ADM).
23291         * docs/pwg/building-boiler.xml:
23292         * docs/pwg/building-chainfn.xml:
23293         * docs/pwg/building-pads.xml:
23294         * docs/pwg/building-props.xml:
23295         * docs/pwg/building-state.xml:
23296         * docs/pwg/building-testapp.xml:
23297           Update the building-*.xml parts for 0.9 changes. All examples
23298           code blocks compile in examples/pwg/*.
23299
23300 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23301
23302         * docs/manual/advanced-autoplugging.xml:
23303         * docs/manual/appendix-checklist.xml:
23304         * docs/manual/appendix-integration.xml:
23305         * docs/manual/highlevel-components.xml:
23306           Fix playbin/decodebin examples, update docs a bit, mention bus
23307           instead of signals in various places, mention kmplayer and
23308           kaffeine since they have a working GStreamer backend in the KDE
23309           section.
23310
23311 2005-06-30  Wim Taymans  <wim@fluendo.com>
23312
23313         * CHANGES-0.9:
23314         * docs/design/draft-ghostpads.txt:
23315         * docs/design/draft-push-pull.txt:
23316         * docs/design/draft-query.txt:
23317         * docs/design/part-TODO.txt:
23318         * docs/design/part-query.txt:
23319         Added CHANGES-0.9 doc, updated status of other docs.
23320         
23321         * gst/gstquery.h:
23322         Remove "hmm" macro
23323
23324 2005-06-30  Wim Taymans  <wim@fluendo.com>
23325
23326         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23327         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23328         (gst_base_sink_change_state):
23329         * gst/base/gstbasesink.h:
23330         Some tweaks, only EOS and a buffer complete a preroll.
23331
23332 2005-06-30  Andy Wingo  <wingo@pobox.com>
23333
23334         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23335         activate_push down to the internal pad as well.
23336
23337 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
23338
23339         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23340
23341         * gst/gsttaginterface.c:
23342           Some documentation fixes (#307394 and #307397).
23343
23344 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
23345
23346         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23347
23348         * gst/gstvalue.c: (gst_value_intersect_list):
23349           Fix memleak (#309125).
23350
23351 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23352
23353         * docs/manual/advanced-dataaccess.xml:
23354           Fix fakesrc example to compile; doesn't work, bug somewhere...?
23355         * docs/manual/basics-pads.xml:
23356           Add reference for filtered caps to above chapter.
23357
23358 2005-06-30  Wim Taymans  <wim@fluendo.com>
23359
23360         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23361         (gst_bin_change_state):
23362         Probes are gone.
23363         Lame attempt at making the state change function a bit
23364         more readable.
23365
23366 2005-06-30  Wim Taymans  <wim@fluendo.com>
23367
23368         * docs/design/part-clocks.txt:
23369         * docs/design/part-element-sink.txt:
23370         * docs/design/part-events.txt:
23371         * docs/design/part-preroll.txt:
23372         * docs/design/part-states.txt:
23373         Some more tweeks and additions to the docs.
23374
23375 2005-06-30  Wim Taymans  <wim@fluendo.com>
23376
23377         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23378         (default_have_data), (gst_pad_class_init), (gst_pad_init),
23379         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23380         (gst_pad_check_pull_range), (gst_pad_get_range),
23381         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23382         * gst/gstpad.h:
23383         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23384         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23385         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23386         (gst_pad_remove_buffer_probe):
23387         Removed atomic operations, use existing LOCK.
23388         Move exception handling out of main code path.
23389
23390 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23391
23392         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23393         (silly_return_true_function), (gst_pad_class_init),
23394         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23395         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23396         (gst_pad_send_event):
23397           Fix accumulator, add default value by using _emitv() instead
23398           of _emit() for signal emission.
23399
23400 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23401
23402         * docs/manual/advanced-dataaccess.xml:
23403         * examples/manual/Makefile.am:
23404           Add probe example.
23405         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23406           Make work (??).
23407
23408 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
23409
23410         * gst/elements/gstfilesink.c: (gst_filesink_render):
23411           Simplify code so that we don't have to handle short
23412           writes and return GST_FLOW_ERROR if an error occured.
23413
23414 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23415
23416         * docs/gst/gstreamer-docs.sgml:
23417           Remove probes more.
23418
23419 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23420
23421         * docs/gst/gstreamer-sections.txt:
23422         * docs/gst/tmpl/gstpad.sgml:
23423         * docs/gst/tmpl/gstprobe.sgml:
23424         * gst/Makefile.am:
23425         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23426         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23427         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23428         (gst_pad_push_event), (gst_pad_send_event):
23429         * gst/gstpad.h:
23430         * gst/gstutils.c: (gst_pad_add_data_probe),
23431         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23432         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23433         (gst_pad_remove_buffer_probe):
23434         * gst/gstutils.h:
23435           Remove old probes, add new g-signal-based probes and some utility
23436           functions.
23437
23438 2005-06-29  Edward Hervey  <edward@fluendo.com>
23439
23440         * gst/gstelementfactory.c:
23441         * gst/gstutils.h:
23442         * gst/gstutils.c:
23443         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23444         the definition to the header file.
23445
23446 2005-06-29  Andy Wingo  <wingo@pobox.com>
23447
23448         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23449         plugins from the source directory.
23450
23451 2005-06-29  Wim Taymans  <wim@fluendo.com>
23452
23453         * docs/gst/tmpl/gstbuffer.sgml:
23454         * docs/gst/tmpl/gstclock.sgml:
23455         Some fixings for blantently wrong text.
23456
23457 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23458
23459         * check/Makefile.am:
23460         * gst/gst.c: (add_path_func), (init_pre):
23461         * gst/gstregistry.c: (gst_registry_add_path):
23462           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23463           only scan the GST_PLUGIN_PATH locations, and not add
23464           system locations
23465
23466 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23467
23468         * docs/gst/gstreamer-sections.txt:
23469         * docs/gst/tmpl/gstbasesrc.sgml:
23470         * gst/gstelement.c:
23471         * gst/gstelement.h:
23472         * gst/gstevent.c:
23473         * gst/gstutils.c:
23474           doc fixes
23475
23476 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23477
23478         * docs/manual/advanced-autoplugging.xml:
23479           Fix autoplugging example.
23480
23481 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23482
23483         * docs/manual/advanced-autoplugging.xml:
23484         * docs/manual/mime-world.fig:
23485           Try to get autoplugging working, fix type detection. Fix text
23486           in hello-world image.
23487
23488 2005-06-29  Wim Taymans  <wim@fluendo.com>
23489
23490         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23491         (gst_base_sink_change_state):
23492         Small debug line.
23493
23494         * gst/gstclock.h:
23495         map SIGNAL and BROADCAST to the right function.
23496
23497         * gst/gstobject.h:
23498         Remove redundant braces.
23499
23500         * gst/gstpad.c: (gst_pad_set_caps):
23501         Don't call setcaps function when reseting caps to NULL.
23502
23503         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23504         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23505         (gst_system_clock_id_unschedule):
23506         Use BROADCAST as this is what we do.
23507
23508 2005-06-29  Wim Taymans  <wim@fluendo.com>
23509
23510         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23511         We are actually prerolling before commiting the state
23512         change. 
23513
23514 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23515
23516         * docs/manual/advanced-clocks.xml:
23517         * docs/manual/advanced-interfaces.xml:
23518         * docs/manual/advanced-metadata.xml:
23519         * docs/manual/advanced-position.xml:
23520         * docs/manual/advanced-schedulers.xml:
23521         * docs/manual/advanced-threads.xml:
23522         * docs/manual/appendix-porting.xml:
23523         * docs/manual/basics-bins.xml:
23524         * docs/manual/basics-bus.xml:
23525         * docs/manual/basics-elements.xml:
23526         * docs/manual/basics-helloworld.xml:
23527         * docs/manual/basics-pads.xml:
23528         * docs/manual/highlevel-components.xml:
23529         * docs/manual/manual.xml:
23530         * docs/manual/thread.fig:
23531           Update (until threads/scheduling) Application Development Manual;
23532           remove GstThread, add GstBus, add simple porting checklist, add
23533           documentation for tag writing, clocks, make all examples until this
23534           part compile and run.
23535         * examples/manual/Makefile.am:
23536           Update from changes to Application Development Manual; add bus
23537           example, remove thread example.
23538
23539 2005-06-28  Wim Taymans  <wim@fluendo.com>
23540
23541         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23542         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23543         (gst_bus_source_dispatch):
23544         Add debugging messages.
23545         Make internal methods static.
23546         Handle the case where the bus is flushed in the handler.
23547         
23548         * gst/gstelement.c: (gst_element_get_bus):
23549         Fix refcount in _get_bus();
23550
23551         * gst/gstpipeline.c: (gst_pipeline_change_state),
23552         (gst_pipeline_get_clock_func):
23553         Clock refcounting fixes.
23554         Handle the case where preroll timed out more gracefully.
23555         
23556         * gst/gstsystemclock.c: (gst_system_clock_dispose):
23557         Clean up the internal thread in dispose. This is needed
23558         for subclasses that actually get disposed.
23559         
23560         * gst/schedulers/threadscheduler.c:
23561         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23562         (gst_thread_scheduler_dispose):
23563         Free thread pool in dispose.
23564
23565 2005-06-28  Andy Wingo  <wingo@pobox.com>
23566
23567         * tests/network-clock-utils.scm (debug, print-event): New utils.
23568
23569         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23570         (*packet-loss*): Unified loss probability.
23571         (network-time): Report out-of-band events.
23572
23573         * tests/plot-data: Add support for out-of-band events. Hack it
23574         into this script instead of passing it down the pipe; should fix
23575         this later.
23576
23577 2005-06-28  Wim Taymans  <wim@fluendo.com>
23578
23579         * docs/gst/gstreamer.types:
23580         * docs/gst/tmpl/gstbasesrc.sgml:
23581         * docs/gst/tmpl/gstpad.sgml:
23582         Docs fixes.
23583
23584 2005-06-28  Wim Taymans  <wim@fluendo.com>
23585
23586         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23587         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23588         (gst_proxy_pad_do_fixatecaps):
23589         Correctly proxy the check_pull_range function.
23590
23591 2005-06-28  Andy Wingo  <wingo@pobox.com>
23592
23593         * tests/network-clock.scm: Removed need for slib.
23594         
23595 2005-06-28  Wim Taymans  <wim@fluendo.com>
23596
23597         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23598         (gst_basesink_preroll_queue_flush):
23599         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23600         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23601         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23602         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23603         (gst_proxy_pad_set_property):
23604         * gst/gstpad.c:
23605         * gst/gstpad.h:
23606         * gst/gstqueue.c: (gst_queue_init):
23607         The deprecated pad loop function is removed now.
23608
23609 2005-06-28  Andy Wingo  <wingo@pobox.com>
23610
23611         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23612         New parameters, simulate network packet loss.
23613
23614         * tests/network-clock-utils.scm: Initialize the RNG.
23615
23616 2005-06-28  Wim Taymans  <wim@fluendo.com>
23617
23618         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23619         (gst_basesink_event), (gst_basesink_deactivate):
23620         Flushing the preroll queue always needs to unlock the waiters.
23621
23622 2005-06-28  Edward Hervey  <edward@fluendo.com>
23623
23624         * gst/gstpipeline.c: (gst_pipeline_send_event): 
23625         Wheen a seek was successful on a pipeline, set the stream_time to the
23626         seek offset in order to have a synchronized stream_time.
23627
23628 2005-06-28  Wim Taymans  <wim@fluendo.com>
23629
23630         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23631         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23632         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23633         (gst_proxy_pad_do_fixatecaps):
23634         Call wrapper function instead of just calling the function
23635         pointers. This takes care of any locking and whatmore.
23636
23637 2005-06-28  Wim Taymans  <wim@fluendo.com>
23638
23639         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23640         (gst_pad_pull_range):
23641         * gst/gstpad.h:
23642         CONNECTED -> LINKED.
23643
23644 2005-06-28  Andy Wingo  <wingo@pobox.com>
23645
23646         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23647         source-munging commit!!!
23648
23649         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
23650         (gst_object_sink): Take gpointer arguments, not GstObject --
23651         avoids casts. Like GLib.
23652
23653         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23654         activate.
23655
23656 2005-06-27  Andy Wingo  <wingo@pobox.com>
23657
23658         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23659         remaining buffer.
23660
23661         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23662         returns a sorted copy of the trace list.
23663         (gst_alloc_trace_print_live): New API, only prints traces with
23664         live objects. Sort the list.
23665         (gst_alloc_trace_print_all): Sort the list.
23666         (gst_alloc_trace_print): Align columns.
23667
23668         * gst/elements/gstttypefindelement.c:
23669         * gst/elements/gsttee.c:
23670         * gst/base/gstbasesrc.c:
23671         * gst/base/gstbasesink.c:
23672         * gst/base/gstbasetransform.c:
23673         * gst/gstqueue.c: Adapt for pad activation changes.
23674
23675         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23676         sched.
23677         (gst_pipeline_dispose): Drop ref on sched.
23678
23679         * gst/gstpad.c (gst_pad_init): Set the default activate func.
23680         (gst_pad_activate_default): Push mode by default.
23681         (pre_activate_switch, post_activate_switch): New stubs, things to
23682         do before and after switching activation modes on pads.
23683         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23684         the pad's activate function to choose which mode to activate.
23685         Shortcut on deactivation and call the right function directly.
23686         (gst_pad_activate_pull): New API, (de)activates a pad in pull
23687         mode.
23688         (gst_pad_activate_push): New API, same for push mode.
23689         (gst_pad_set_activate_function) 
23690         (gst_pad_set_activatepull_function) 
23691         (gst_pad_set_activatepush_function): Setters for new API.
23692
23693         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23694         Trace all miniobjects.
23695         (gst_mini_object_make_writable): Unref the arg if we copy, like
23696         gst_caps_make_writable.
23697
23698         * gst/gstmessage.c (_gst_message_initialize): No trace init.
23699
23700         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
23701         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23702         Adapt for new pad API.
23703
23704         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23705
23706         * gst/gstelement.h:
23707         * gst/gstelement.c (gst_element_iterate_src_pads) 
23708         (gst_element_iterate_sink_pads): New API functions.
23709         
23710         * gst/gstelement.c (iterator_fold_with_resync): New utility,
23711         should fold into gstiterator.c in some form.
23712         (gst_element_pads_activate): Simplified via use of fold and
23713         delegation of decisions to gstpad->activate.
23714
23715         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23716         help in debugging.
23717
23718         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23719         class once in init, like gstmessage. Didn't run into this issue
23720         but it seems correct. Don't initialize a trace, gstminiobject does
23721         that.
23722
23723         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23724         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23725         to the bus.
23726         (assert_live_count): New util function, uses alloc traces to check
23727         cleanup.
23728
23729         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23730         To be modified when unlink drops the internal pad.
23731
23732 2005-06-27  Wim Taymans  <wim@fluendo.com>
23733
23734         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23735         (gst_bin_change_state):
23736         Cleanup the get_state() function a little, make sure it
23737         iterates the same set of elements.
23738         Added stub iterate_state_order().
23739
23740 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
23741
23742         * docs/gst/gstreamer-docs.sgml:
23743         * docs/gst/gstreamer-sections.txt:
23744         * docs/gst/gstreamer.types:
23745         * docs/gst/tmpl/gstbasesink.sgml:
23746         * docs/gst/tmpl/gstbasesrc.sgml:
23747         * docs/gst/tmpl/gstbasetransform.sgml:
23748         * docs/gst/tmpl/gstelement.sgml:
23749         * docs/gst/tmpl/gstiterator.sgml:
23750         * gst/base/gstbasesrc.c:
23751         * gst/base/gstbasesrc.h:
23752         * gst/base/gstbasetransform.h:
23753         * gst/gstelement.c:
23754         * gst/gstiterator.h:
23755           adding basetransform and iterator docs
23756
23757 2005-06-27  Andy Wingo  <wingo@pobox.com>
23758
23759         * docs/design/part-activation.txt: Notes on how activation should
23760         work -- not quite implemented yet.
23761
23762 2005-06-25  Wim Taymans  <wim@fluendo.com>
23763
23764         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23765         At least get the chain function correct, needs more
23766         fixing.
23767
23768 2005-06-25  Wim Taymans  <wim@fluendo.com>
23769
23770         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23771         (gst_basesink_handle_object), (gst_basesink_event),
23772         (gst_basesink_do_sync), (gst_basesink_handle_event),
23773         (gst_basesink_change_state):
23774         * gst/gsttask.h:
23775         Right, two problems here: ghostpads don't take locks and
23776         glib _rec_mutex_lock_full() with depth==0 still locks.
23777         Catch illegal locking and g_warn them.
23778
23779 2005-06-25  Wim Taymans  <wim@fluendo.com>
23780
23781         * check/states/sinks.c: (START_TEST), (gst_object_suite):
23782         Have to check for completion now...
23783
23784 2005-06-25  Wim Taymans  <wim@fluendo.com>
23785
23786         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23787         (gst_basesink_handle_object), (gst_basesink_event),
23788         (gst_basesink_do_sync), (gst_basesink_handle_event),
23789         (gst_basesink_change_state):
23790         * gst/gstpad.h:
23791         Unlock STREAM_LOCK whatever the recursion was.
23792
23793 2005-06-25  Wim Taymans  <wim@fluendo.com>
23794
23795         * gst/base/gstbasesink.c: (gst_basesink_set_property),
23796         (gst_basesink_preroll_queue_empty),
23797         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23798         (gst_basesink_event), (gst_basesink_do_sync),
23799         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23800         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23801         (gst_basesink_change_state):
23802         Reworked the base sink, handle event and buffer serialisation
23803         correctly and removed possible deadlock.
23804         Handle EOS correctly.
23805
23806 2005-06-25  Wim Taymans  <wim@fluendo.com>
23807
23808         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23809         (gst_pipeline_change_state):
23810         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23811         Allow elements to post EOS in the state change function.
23812         Fix up -launch, make it exit the poll loop when the
23813         pipeline actually changed state.
23814         Fix up warning parsing in -launch.
23815
23816 2005-06-25  Wim Taymans  <wim@fluendo.com>
23817
23818         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23819         (gst_tee_sink_activate):
23820         Core takes STREAM_LOCK for us now.
23821
23822 2005-06-25  Wim Taymans  <wim@fluendo.com>
23823
23824         * gst/gstelement.c: (gst_element_get_state_func),
23825         (gst_element_set_state):
23826         * gst/gstelement.h:
23827         * gst/gstmessage.c: (gst_message_parse_error),
23828         (gst_message_parse_warning):
23829         Keep track of current target state while performing a state
23830         change so that subclasses can do something interesting.
23831         Fix parsing of warning/error messages when GError is NULL.
23832
23833 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23834
23835         * docs/gst/Makefile.am:
23836         * docs/gst/gstreamer-docs.sgml:
23837         * docs/gst/gstreamer-sections.txt:
23838         * docs/gst/gstreamer.types:
23839         * docs/gst/tmpl/gstbasesink.sgml:
23840         * docs/gst/tmpl/gstbasesrc.sgml:
23841         * docs/gst/tmpl/gstbin.sgml:
23842         * docs/gst/tmpl/gstcompat.sgml:
23843         * docs/gst/tmpl/gstfakesink.sgml:
23844         * docs/gst/tmpl/gstfakesrc.sgml:
23845         * docs/gst/tmpl/gstfilesink.sgml:
23846         * docs/gst/tmpl/gstfilesrc.sgml:
23847         * docs/gst/tmpl/gstindex.sgml:
23848         * docs/manual/appendix-quotes.xml:
23849         * gst/base/gstbasesrc.h:
23850         * gst/elements/gstfakesrc.h:
23851         * gst/gstmessage.h:
23852           start pulling in base classes and elements in our docs
23853
23854 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
23855
23856         * docs/gst/Makefile.am:
23857         * docs/libs/Makefile.am:
23858           fixed make distcheck with gtk-doc 1.3
23859
23860 2005-06-23  Wim Taymans  <wim@fluendo.com>
23861
23862         * gst/gstelement.c: (gst_element_get_state_func),
23863         (gst_element_set_state), (gst_element_change_state):
23864         When the state did not change, also report NO_PREROLL
23865         when it matters.
23866
23867 2005-06-23  Wim Taymans  <wim@fluendo.com>
23868
23869         * gst/gstpad.c: (gst_pad_event_default):
23870         * gst/gstqueue.c: (gst_queue_loop):
23871         No unsafe task pausing please.
23872
23873 2005-06-23  Wim Taymans  <wim@fluendo.com>
23874
23875         * gst/schedulers/threadscheduler.c:
23876         (gst_thread_scheduler_task_start),
23877         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23878         Ref the task before pushing it on the threadpool. This
23879         makes sure that we have a ref when the threadfunction is
23880         actually called.
23881
23882 2005-06-23  Andy Wingo  <wingo@pobox.com>
23883
23884         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23885         offset is greater than the file's size.
23886
23887         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
23888         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23889         * gst/gstobject.c (gst_object_class_init): Make the class lock
23890         recursive. Wim won't let me drop deep_notify. Decodebin works
23891         again, whoopdy doo.
23892
23893         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23894         internal pad, and hacks accordingly. Doesn't do it on the target
23895         pad because we change its caps. Probably catches all cases of
23896         interest tho.
23897         (gst_ghost_pad_set_property): Connect to notify::caps as
23898         appropritate.
23899
23900         * tests/network-clock.scm (plot-simulation): Pipe data to the
23901         elite python skript.
23902
23903         * tests/network-clock-utils.scm (define-parameter): New macro,
23904         defines a parameter that can be set via the command line.
23905         (set-parameter!, parse-parameter-arguments): Command line args
23906         parser.
23907
23908         * tests/plot-data: Simple matplotlib-based plotter, takes input on
23909         stdin.
23910
23911 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
23912
23913         * gst/elements/gsttypefindelement.c:
23914         (gst_type_find_element_handle_event):
23915           Don't restart typefinding on a discont.
23916         * gst/gstelement.c: (gst_element_set_state):
23917           Debug spelling fix.
23918         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23919           Allow changing mode of an active pad.
23920           Debug output fixes.
23921         * gst/registries/gstlibxmlregistry.c: (load_feature):
23922           Don't cast a static pad template to a normal pad template.
23923
23924 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23925
23926         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23927         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23928           remove gst_strtoll completely, since it didn't actually do
23929           anything more than what g_ascii_strtoull already does.
23930           check for range errors when deserializing
23931           do a cast for the unsigned cases; but further fixing needs
23932           a decision on what the interpretation of "(int)" and
23933           deserialization should be for values that fall outside the
23934           type's boundaries (ie, refuse, or interpret as casting)
23935
23936 2005-06-23  Wim Taymans  <wim@fluendo.com>
23937
23938         * check/Makefile.am:
23939         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23940         * docs/design/part-live-source.txt:
23941         * docs/design/part-states.txt:
23942         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23943         (gst_basesrc_set_live), (gst_basesrc_is_live),
23944         (gst_basesrc_get_range), (gst_basesrc_activate),
23945         (gst_basesrc_change_state):
23946         * gst/base/gstbasesrc.h:
23947         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23948         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23949         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23950         * gst/gstelement.c: (gst_element_get_state_func),
23951         (gst_element_set_state):
23952         * gst/gstelement.h:
23953         * gst/gsttypes.h:
23954         * tools/gst-launch.c: (event_loop), (main):
23955         Added support for live sources and other elements that
23956         cannot do preroll.
23957         Updated design docs, added live-source design doc.
23958         Implemented live source functionality in basesrc
23959         Fix error condition in _bin_get_state()
23960         Implement live source handling in -launch.
23961         Added check for live sources.
23962         Fixed case in GstBin where elements were changed state
23963         multiple times.
23964
23965
23966 2005-06-23  Andy Wingo  <wingo@pobox.com>
23967
23968         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23969         borken refcounting.
23970
23971         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23972         gst_caps_replace takes care of this for us.
23973
23974         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23975         gst_pad_set_caps on the target, not just its setcaps() function.
23976
23977         * tests/network-clock.scm: 
23978         * tests/network-clock-utils.scm: A network clock simulator.
23979         Something of an algorithmic testbed before doing something in C.
23980
23981 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23982
23983         * check/Makefile.am:
23984         * check/gst/capslist.h:
23985           copy over from 0.8, and add two with bitmasks specified with
23986           (int) 0xFF...
23987         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23988           add test to parse everything from capslist.h
23989         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23990         (main):
23991           add test for structure deserialization
23992         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23993           add tests for deserialization of strings to int types
23994         * gst/gststructure.c: (gst_structure_nth_field_name):
23995         * gst/gststructure.h:
23996           add a way to get the name of a field referenced by index
23997         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23998           instead of checking if the resulting long long lies between
23999           min and max, we check if the long long would fit into
24000           a number of bytes for the final type.
24001           This fixes cases where a string represents 2^32 - 1, which
24002           when cast to int would be the (valid) -1, but is bigger than
24003           G_MAXINT
24004
24005 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24006
24007         * gst/parse/grammar.y:
24008           add a log line for type deserialization
24009
24010 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24011
24012         * check/gst/gstvalue.c: (START_TEST):
24013         * gst/gstvalue.c: (gst_value_deserialize):
24014           return long long, not int, so gint64 deserialization actually
24015           works.  Is there any flag that makes the compiler check this ?
24016           Fixes #308559
24017
24018 2005-06-22  Wim Taymans  <wim@fluendo.com>
24019
24020         * gst/gstbuffer.h:
24021         Added convenience macros for setting buffers in GValue.
24022
24023 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24024
24025         * check/gst/.cvsignore:
24026         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24027           add a test deserializing int64, and comment part out because
24028           it fails, yay !
24029
24030 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24031
24032         * check/Makefile.am:
24033         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
24034         * testsuite/Makefile.am:
24035         * testsuite/caps/Makefile.am:
24036         * testsuite/caps/value_serialize.c:
24037         * testsuite/test_gst_init.c:
24038           move a value_serialize test over
24039
24040 2005-06-20  Wim Taymans  <wim@fluendo.com>
24041
24042         * gst/gstpad.c:
24043         Small doc updates.
24044         
24045         * gst/gstvalue.c: (gst_value_compare_buffer),
24046         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
24047         (gst_value_compare_flags), (gst_value_serialize_flags),
24048         (gst_value_deserialize_flags), (_gst_value_initialize):
24049         Fix serialisation of buffers, they are not boxed types anymore
24050
24051 2005-06-20  Wim Taymans  <wim@fluendo.com>
24052
24053         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24054         Testcase to show error in buffer-on-caps serialisation.
24055
24056 2005-06-20  Andy Wingo  <wingo@pobox.com>
24057
24058         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
24059         will be adding to later.
24060
24061         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
24062         if its socks fill with rocks.
24063         (gst_system_clock_obtain): Set the name on object construction.
24064         Avoid double-checked locking.
24065
24066 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
24067
24068         * gst/gsturi.c: (gst_element_make_from_uri):
24069           Fix potential endless loop.
24070
24071 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24072
24073         * check/Makefile.am:
24074           add gsttag
24075         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
24076         (main):
24077           move over from testsuite dir and clean up
24078         * configure.ac:
24079         * gst/gsttag.c:
24080         * testsuite/Makefile.am:
24081         * testsuite/tags/.cvsignore:
24082         * testsuite/tags/Makefile.am:
24083         * testsuite/tags/merge.c:
24084           remove testsuite/tags
24085
24086 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24087
24088         * docs/gst/gstreamer-sections.txt:
24089         * docs/gst/tmpl/gstenumtypes.sgml:
24090         * win32/gstenumtypes.c:
24091           clean up documentation build a little
24092
24093 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24094
24095         * check/gstcheck.h:
24096           add macros for checking refcounts on objects and caps
24097         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24098           add some more unit tests
24099         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24100         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24101           fix leaked refcounts (I hope :)) so unittest works
24102         * gst/gstpad.h:
24103           whitespace removal
24104
24105 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24106
24107         * configure.ac: back to HEAD
24108
24109 === release 0.9.1 ===
24110
24111 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24112
24113         * NEWS:
24114         * RELEASE:
24115           updated
24116
24117 2005-06-17  Andy Wingo  <wingo@pobox.com>
24118
24119         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24120         assert; it's always possible that the pad gets deactivated in
24121         between the checks in gstpad.c and the implementation. Rely on
24122         finish_preroll() to return a FLUSHING or similar instead of on the
24123         assert.
24124         
24125         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24126         clock and post an EOS message if we come out of finish_preroll in
24127         the playing state.
24128
24129 2005-06-16  David Schleef  <ds@schleef.org>
24130
24131         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24132         (gst_capsfilter_set_property): Allow NULL as possible value
24133         for filter_caps property, indicating GST_CAPS_ANY.
24134
24135 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24136
24137         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24138           fix debug output
24139         * gst/schedulers/Makefile.am:
24140           use libgst prefix
24141         * gstreamer.spec.in:
24142           fix spec for it
24143
24144 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24145
24146         * gstreamer.spec.in:
24147           clean up
24148
24149 2005-06-08  Andy Wingo  <wingo@pobox.com>
24150
24151         * gst/gstutils.c: RPAD fixes all around.
24152         (gst_element_link_pads): Refcounting fixes.
24153
24154         * tools/gst-inspect.c:
24155         * tools/gst-xmlinspect.c:
24156         * parse/grammar.y:
24157         * gst/base/gsttypefindhelper.c:
24158         * gst/base/gstbasesink.c:
24159         * gst/gstqueue.c: RPAD fixes.
24160
24161         * gst/gstghostpad.h:
24162         * gst/gstghostpad.c: New ghost pad implementation as full proxy
24163         pads. The tricky thing is they provide both source and sink
24164         interfaces, since they proxy the internal pad for the external
24165         pad, and vice versa. Implement with lower-level ProxyPad objects,
24166         with the interior proxy pad as a child of the exterior ghost pad.
24167         Should write a doc on this.
24168         
24169         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24170         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24171         gst_object API.
24172         
24173         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24174         pads are real pads. No ghost pads in this file. Not documenting
24175         the myriad s/RPAD/PAD/ and REALIZE fixes.
24176         (gst_pad_class_init): Add properties for "direction" and
24177         "template". Both are construct-only, so they can't change during
24178         the life of the pad. Fixes properly deriving from GstPad.
24179         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24180         derived objects, just set properties when creating the objects via
24181         g_object_new.
24182         (gst_pad_get_parent): Implement as a function, return NULL if the
24183         parent is not an element.
24184         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24185         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24186         
24187         * gst/gstobject.c (gst_object_class_init): Make name a construct
24188         property. Don't set it in the object init.
24189
24190         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24191         with UNKNOWN direction.
24192         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24193         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24194         (gst_element_remove_pad): Remove ghost-pad special cases.
24195         (gst_element_pads_activate): Remove rpad cruft.
24196
24197         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24198         catch the pad's-parent-not-an-element case.
24199
24200         * gst/gst.h: Include gstghostpad.h.
24201
24202         * gst/gst.c (init_post): No more real, ghost pads.
24203
24204         * gst/Makefile.am: Add gstghostpad.[ch].
24205
24206         * check/Makefile.am:
24207         * check/gst/gstbin.c:
24208         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24209         into a bin creates ghost pads, and that the refcounts are right.
24210         Partly moved from gstbin.c.
24211
24212 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24213
24214         * check/gst-libs/.cvsignore:
24215         * check/gst/.cvsignore:
24216         * check/pipelines/.cvsignore:
24217           ignore more
24218         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24219         (START_TEST), (cleanup_suite), (main):
24220           add some tests related to cleanup after running pipelines
24221
24222 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24223
24224         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24225           add a testsuite for GstBuffer
24226
24227 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24228
24229         * gst/gstminiobject.h:
24230           add defines for accessing the refcount
24231
24232 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
24233
24234         * Makefile.am: added support for html unit test coverage reports
24235
24236 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
24237
24238         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24239           Free existing caps if the capsfilter changes. Add a FIXME about
24240           setting those caps on the pads.
24241
24242         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24243           Before adding a ghost pad to a parent bin, check that there isn't
24244           already one for the element on the bin. Prevents infinite recursion
24245           when using decodebin in parse pipelines. Andy says he'll rewrite the
24246           way this works anyway, so ignore the hack.
24247
24248 2005-06-02  Andy Wingo  <wingo@pobox.com>
24249
24250         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24251         file size, pass it on to the type find helper.
24252
24253         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24254         segment_start and segment_end properly according to the seek
24255         method. Segment_end is still a bit flaky because offset can be
24256         negative for CUR and END cases, but it takes -1 as an "unset"
24257         value.
24258
24259 2005-06-02  Wim Taymans  <wim@fluendo.com>
24260
24261         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24262         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24263         (gst_basesink_activate):
24264         * gst/base/gstbasesink.h:
24265         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24266         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24267         (gst_pad_query), (gst_pad_start_task):
24268         * gst/gstpad.h:
24269         * gst/gstqueue.c: (gst_queue_bufferalloc),
24270         (gst_queue_handle_sink_event), (gst_queue_chain):
24271         Bufferalloc: return GstFlowReturn to more accuratly report
24272         why allocation failed.
24273
24274 2005-06-02  Wim Taymans  <wim@fluendo.com>
24275
24276         * gst/gstpipeline.c: (gst_pipeline_send_event):
24277         Take snapshot of state without blocking.
24278
24279 2005-06-02  Wim Taymans  <wim@fluendo.com>
24280
24281         * docs/design/part-TODO.txt:
24282         * docs/design/part-caps.txt:
24283         * docs/design/part-clocks.txt:
24284         * docs/design/part-negotiation.txt:
24285         * docs/design/part-preroll.txt:
24286         Small doc updates 
24287
24288 2005-05-30  Wim Taymans  <wim@fluendo.com>
24289
24290         * gst/elements/gstidentity.c: (gst_identity_event),
24291         (gst_identity_transform), (gst_identity_get_property):
24292         Protect last_message property as it is accessed from
24293         multiple threads.
24294
24295 2005-05-30  Wim Taymans  <wim@fluendo.com>
24296
24297         * gst/gstelement.c: (gst_element_init),
24298         (gst_element_pads_activate), (gst_element_change_state):
24299         Slicker pad activation code.
24300
24301 2005-05-30  Wim Taymans  <wim@fluendo.com>
24302
24303         * gst/Makefile.am:
24304         * gst/gstelement.h:
24305         * gst/gstelementfactory.h:
24306         * gst/gsttypes.h:
24307         Move elementfactory methods to separate .h file.
24308
24309 2005-05-30  Wim Taymans  <wim@fluendo.com>
24310
24311         * docs/design/part-overview.txt:
24312         * gst/gstsystemclock.h:
24313         Small typo fixes, doc updates.
24314
24315 2005-05-30  Wim Taymans  <wim@fluendo.com>
24316
24317         * gst/gst.c: (gst_init_get_popt_table), (init_post),
24318         (init_popt_callback):
24319         Remove cpu-opt flag.
24320
24321 2005-05-30  Wim Taymans  <wim@fluendo.com>
24322
24323         * gst/gstbuffer.c: (gst_subbuffer_finalize),
24324         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24325         * gst/gstbuffer.h:
24326         Avoid typechecking in places where not needed.
24327         Added accessor for malloc_data.
24328
24329 2005-05-30  Wim Taymans  <wim@fluendo.com>
24330
24331         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24332         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24333         (gst_pad_configure_sink), (gst_pad_configure_src),
24334         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24335         (gst_pad_start_task):
24336         Propagate errors from _set_caps() in configure_src/sink
24337         functions instead of returning TRUE.
24338         FLUSH events can travel up and downstream
24339
24340
24341 2005-05-30  Wim Taymans  <wim@fluendo.com>
24342
24343         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24344         (gst_basesink_activate):
24345         Handle EOS in preroll.
24346
24347 2005-05-30  Wim Taymans  <wim@fluendo.com>
24348
24349         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24350         (gst_queue_loop), (gst_queue_handle_src_event):
24351         Remove old pieces of code
24352         Flushing the queue in an upstream event is a very bad idea.
24353
24354 2005-05-26  Andy Wingo  <wingo@pobox.com>
24355
24356         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24357         gst_value_set_mini_object so as to add a ref on the object (which
24358         will be removed when the value is unset).
24359
24360         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24361         arg type in ::handoff.
24362
24363         * gst/gstelement.c (gst_element_change_state): Also deactivate
24364         pads in READY->NULL, just in case the element didn't make it to
24365         PAUSED. Wingo tested, Wim approved.
24366
24367 2005-05-26  Wim Taymans  <wim@fluendo.com>
24368
24369         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24370         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24371         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24372         A flushing pad cannot be used to alloc_buffer from.
24373
24374 2005-05-26  Wim Taymans  <wim@fluendo.com>
24375
24376         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24377         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24378         (gst_bus_source_dispatch), (gst_bus_source_finalize),
24379         (gst_bus_create_watch), (gst_bus_add_watch_full):
24380         * gst/gstbus.h:
24381         Implement a real GSource and use g_main_context_wakeup() to
24382         signal new messages instead of the socketpair.
24383
24384 2005-05-25  Wim Taymans  <wim@fluendo.com>
24385
24386         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24387         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24388         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24389         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24390         (gst_pad_send_event), (gst_pad_start_task):
24391         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24392         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24393         (gst_queue_sink_activate), (gst_queue_src_activate),
24394         (gst_queue_change_state):
24395         * gst/gstqueue.h:
24396         Fix state changes for non sinks. We now change sinks, then elements
24397         with unconnected srcpads, then the rest.
24398         More efficient queue unlocking in flush and state changes.
24399         Set the pad activate mode even if it does not have an activate
24400         function.
24401
24402 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24403
24404         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24405           Don't go in pull mode for non-seekable sources.
24406         * gst/elements/gsttypefindelement.h:
24407         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24408         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24409         (free_entry), (stop_typefinding),
24410         (gst_type_find_element_handle_event), (find_peek),
24411         (gst_type_find_element_chain), (do_pull_typefind),
24412         (gst_type_find_element_change_state):
24413           Allow typefinding (w/o seeking) in push-mode, simplified version
24414           of what was in 0.8.
24415         * gst/gstutils.c: (gst_buffer_join):
24416         * gst/gstutils.h:
24417           gst_buffer_join() from 0.8.
24418
24419 2005-05-25  Wim Taymans  <wim@fluendo.com>
24420
24421         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24422         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24423         (gst_pad_send_event), (gst_pad_start_task):
24424         Disable attempt at mode switching until it is figured out.
24425
24426 2005-05-25  Wim Taymans  <wim@fluendo.com>
24427
24428         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24429         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24430         (gst_basesink_finish_preroll), (gst_basesink_chain),
24431         (gst_basesink_loop), (gst_basesink_activate),
24432         (gst_basesink_change_state):
24433         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24434         (gst_basesrc_get_range), (gst_basesrc_loop),
24435         (gst_basesrc_activate):
24436         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24437         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24438         (gst_real_pad_init), (gst_real_pad_set_property),
24439         (gst_real_pad_get_property), (gst_pad_set_active),
24440         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24441         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24442         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24443         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24444         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24445         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24446         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24447         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24448         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24449         (gst_pad_stop_task):
24450         * gst/gstpad.h:
24451         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24452         (gst_queue_loop), (gst_queue_src_activate):
24453         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24454         (gst_task_get_state):
24455         * gst/gsttask.h:
24456         * gst/schedulers/threadscheduler.c:
24457         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24458         Implement gst_pad_pause/start/stop_task(), take STREAM lock
24459         in task function.
24460         Remove ACTIVE pad flag, use FLUSHING everywhere
24461         Added _pad_chain(), _pad_get_range() to call chain/getrange 
24462         functions.
24463         Add locks around IS_FLUSHING when reading.
24464         Take STREAM lock in chain(), get_range() functions so plugins
24465         don't need to take it anymore.
24466         
24467
24468
24469 2005-05-25  Wim Taymans  <wim@fluendo.com>
24470
24471         * tools/gst-launch.c: (event_loop):
24472         Unref message after using its contents instead of
24473         before.
24474
24475 2005-05-24  Wim Taymans  <wim@fluendo.com>
24476
24477         * docs/design/draft-ghostpads.txt:
24478         * docs/design/draft-push-pull.txt:
24479         * docs/design/draft-query.txt:
24480         * docs/design/part-overview.txt:
24481         Docs updates, added general overview doc.
24482
24483 2005-05-21  David Schleef  <ds@schleef.org>
24484
24485         * docs/gst/tmpl/old/GstBin.sgml:
24486         * docs/gst/tmpl/old/GstBuffer.sgml:
24487         * docs/gst/tmpl/old/GstCaps.sgml:
24488         * docs/gst/tmpl/old/GstClock.sgml:
24489         * docs/gst/tmpl/old/GstCompat.sgml:
24490         * docs/gst/tmpl/old/GstData.sgml:
24491         * docs/gst/tmpl/old/GstElement.sgml:
24492         * docs/gst/tmpl/old/GstEvent.sgml:
24493         * docs/gst/tmpl/old/GstIndex.sgml:
24494         * docs/gst/tmpl/old/GstStructure.sgml:
24495         * docs/gst/tmpl/old/GstTag.sgml:
24496         * docs/gst/tmpl/old/cothreads.sgml:
24497         * docs/gst/tmpl/old/cothreads_compat.sgml:
24498         * docs/gst/tmpl/old/gettext.sgml:
24499         * docs/gst/tmpl/old/gobject2gtk.sgml:
24500         * docs/gst/tmpl/old/grammar.tab.sgml:
24501         * docs/gst/tmpl/old/gst-i18n-app.sgml:
24502         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24503         * docs/gst/tmpl/old/gst_private.sgml:
24504         * docs/gst/tmpl/old/gstaggregator.sgml:
24505         * docs/gst/tmpl/old/gstarch.sgml:
24506         * docs/gst/tmpl/old/gstatomic_impl.sgml:
24507         * docs/gst/tmpl/old/gstbufferstore.sgml:
24508         * docs/gst/tmpl/old/gstdata_private.sgml:
24509         * docs/gst/tmpl/old/gstdisksink.sgml:
24510         * docs/gst/tmpl/old/gstdisksrc.sgml:
24511         * docs/gst/tmpl/old/gstelementfactory.sgml:
24512         * docs/gst/tmpl/old/gstextratypes.sgml:
24513         * docs/gst/tmpl/old/gstfakesink.sgml:
24514         * docs/gst/tmpl/old/gstfakesrc.sgml:
24515         * docs/gst/tmpl/old/gstfdsink.sgml:
24516         * docs/gst/tmpl/old/gstfdsrc.sgml:
24517         * docs/gst/tmpl/old/gstfilesink.sgml:
24518         * docs/gst/tmpl/old/gstfilesrc.sgml:
24519         * docs/gst/tmpl/old/gsthttpsrc.sgml:
24520         * docs/gst/tmpl/old/gstidentity.sgml:
24521         * docs/gst/tmpl/old/gstindexfactory.sgml:
24522         * docs/gst/tmpl/old/gstmarshal.sgml:
24523         * docs/gst/tmpl/old/gstmd5sink.sgml:
24524         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24525         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24526         * docs/gst/tmpl/old/gstpadtemplate.sgml:
24527         * docs/gst/tmpl/old/gstpipefilter.sgml:
24528         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24529         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24530         * docs/gst/tmpl/old/gstshaper.sgml:
24531         * docs/gst/tmpl/old/gstspider.sgml:
24532         * docs/gst/tmpl/old/gstspideridentity.sgml:
24533         * docs/gst/tmpl/old/gststatistics.sgml:
24534         * docs/gst/tmpl/old/gsttee.sgml:
24535         * docs/gst/tmpl/old/gsttimecache.sgml:
24536         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24537         * docs/gst/tmpl/old/gstxmlregistry.sgml:
24538         * docs/gst/tmpl/old/gthread-cothreads.sgml:
24539         * docs/gst/tmpl/old/types.sgml:
24540           I didn't intend to add these or check them in.
24541
24542 2005-05-19  David Schleef  <ds@schleef.org>
24543
24544         * configure.ac: Use -no-common everywhere.  In a sane world, it
24545           would be the default in libtool, because without it, you can't
24546           build DLLs on Windows.
24547         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24548         * docs/gst/gstreamer-sections.txt:
24549         * docs/gst/tmpl/gstcpu.sgml:
24550         * docs/gst/tmpl/gstdata.sgml:
24551         * docs/gst/tmpl/gstthread.sgml:
24552
24553 2005-05-19  David Schleef  <ds@schleef.org>
24554
24555         * gst/gstminiobject.c: (gst_value_set_mini_object),
24556         (gst_value_take_mini_object), (gst_value_get_mini_object):
24557         * gst/gstminiobject.h: Add GValue set/get functions.
24558
24559 2005-05-19  Wim Taymans  <wim@fluendo.com>
24560
24561         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24562         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24563         (gst_subbuffer_init), (gst_buffer_is_span_fast):
24564         * gst/gstbuffer.h:
24565         * gst/gstbus.c: (gst_bus_post):
24566         * gst/gstelement.c: (gst_element_get_random_pad):
24567         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24568         Make subbufer unref the parent in finalize.
24569         some more debugging info.
24570
24571
24572 2005-05-19  Wim Taymans  <wim@fluendo.com>
24573
24574         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24575         (gst_basesink_init), (gst_basesink_finalize),
24576         (gst_basesink_activate), (gst_basesink_change_state):
24577         Don't free preroll queue too early.
24578
24579 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24580
24581         * gst/Makefile.am:
24582         * gst/ROADMAP:
24583           Hi, I'm outdated. Please shoot me.
24584
24585 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24586
24587         * gst/gstpipeline.c: (gst_pipeline_send_event):
24588           Do not access variables after they have been deleted.
24589
24590 2005-05-19  Wim Taymans  <wim@fluendo.com>
24591
24592         * tools/gst-inspect.c: (print_plugin_features):
24593         A plugin feature does unfortunatly not use the
24594         object name yet...
24595
24596 2005-05-18  Wim Taymans  <wim@fluendo.com>
24597
24598         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24599         Port _span() functions to new subbuffers.
24600
24601 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24602
24603         * gst/gstbin.c: (gst_bin_add_func):
24604           Fix clock settery in bins when adding kids after the clock has
24605           been selected.
24606
24607 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24608
24609         * gst/elements/gstidentity.c: (gst_identity_class_init):
24610           Workaround until signals support GstMiniObject.
24611
24612 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
24613
24614         * gst/gstbuffer.c:
24615         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24616
24617 2005-05-18  Wim Taymans  <wim@fluendo.com>
24618
24619         * gst/base/Makefile.am:
24620         * gst/base/gstadapter.c: (gst_adapter_base_init),
24621         (gst_adapter_class_init), (gst_adapter_init),
24622         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24623         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24624         (gst_adapter_flush), (gst_adapter_available),
24625         (gst_adapter_available_fast):
24626         * gst/base/gstadapter.h:
24627         Ported and added adapter to the base classes.
24628
24629 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24630
24631         * gst/gst.c:
24632         * gst/gstmessage.c:
24633           Make sure the class is reffed/unreffed once before threads can be
24634           used.  Fixes #304551.
24635
24636 2005-05-17  Wim Taymans  <wim@fluendo.com>
24637
24638         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24639         (gst_basesink_chain_unlocked), (gst_basesink_activate):
24640         * gst/gstminiobject.c: (gst_mini_object_get_type),
24641         (gst_mini_object_free):
24642         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24643         (gst_pad_push), (gst_pad_push_event):
24644         * gst/gstqueue.c: (gst_queue_change_state):
24645         Don't queue buffers in basesink when we are flushing.
24646         Unref buffer when flushing in basesink.
24647         Flush queue when going to READY
24648         Unref buffer when _push() returns an error.
24649         Don't free MiniObject instance when refcount is incremented
24650         in _finalize() so that we can recover objects.
24651
24652 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24653
24654         * docs/manual/advanced-schedulers.xml:
24655         * docs/manual/appendix-checklist.xml:
24656         * docs/pwg/advanced-clock.xml:
24657         * docs/pwg/advanced-interfaces.xml:
24658         * docs/pwg/advanced-request.xml:
24659         * docs/pwg/advanced-types.xml:
24660         * docs/pwg/intro-preface.xml:
24661         * examples/plugins/example.c: (gst_example_get_type),
24662         (gst_example_class_init), (gst_example_chain),
24663         (gst_example_set_property), (gst_example_get_property),
24664         (gst_example_change_state), (plugin_init):
24665         * examples/plugins/example.h:
24666           small doc fixes
24667
24668 2005-05-17  Wim Taymans  <wim@fluendo.com>
24669
24670         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24671         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24672         * gst/gstqueue.c: (gst_queue_change_state):
24673         Clear queue when going to READY.
24674         Remove IN_SETCAPS flag too.
24675
24676 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
24677
24678         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24679           Remove implicit cast from gboolean to GstElementStateReturn;
24680           make sure we still return failure in paused => ready case if
24681           the parent class fails to change state and our own stop 
24682           vfunc succeeds.
24683
24684 2005-05-17  Wim Taymans  <wim@fluendo.com>
24685
24686         * tools/gst-launch.c: (event_loop):
24687         Message was unreffed too soon.
24688
24689 2005-05-16  Andy Wingo  <wingo@pobox.com>
24690
24691         * gst/gstbin.c (sink_iterator_filter): Err... um...
24692
24693         * check/gst/gstbin.c (test_ghost_pads): New test for the
24694         ghosting-if-elements-not-in-same-bin behavior.
24695
24696 2005-05-16  David Schleef  <ds@schleef.org>
24697
24698         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24699         accessing refcount directly.
24700
24701 2005-05-15  David Schleef  <ds@schleef.org>
24702
24703         * check/Makefile.am: remove GstData checks
24704         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24705         * gst/Makefile.am: add miniobject, remove data
24706         * gst/gst.h: add miniobject, remove data
24707         * gst/gstdata.c: remove
24708         * gst/gstdata.h: remove
24709         * gst/gstdata_private.h: remove
24710         * gst/gsttypes.h: remove GstEvent and GstMessage
24711         * gst/gstelement.c: (gst_element_post_message): fix for API changes
24712         * gst/gstmarshal.list: change BOXED -> OBJECT
24713
24714         Implement GstMiniObject.
24715         * gst/gstminiobject.c:
24716         * gst/gstminiobject.h:
24717
24718         Modify to be subclasses of GstMiniObject.
24719         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24720         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24721         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24722         (gst_subbuffer_get_type), (gst_subbuffer_init),
24723         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24724         (gst_buffer_span):
24725         * gst/gstbuffer.h:
24726         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24727         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24728         (_gst_event_copy), (gst_event_new):
24729         * gst/gstevent.h:
24730         * gst/gstmessage.c: (_gst_message_initialize),
24731         (gst_message_get_type), (gst_message_class_init),
24732         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24733         (gst_message_new), (gst_message_new_error),
24734         (gst_message_new_warning), (gst_message_new_tag),
24735         (gst_message_new_state_changed), (gst_message_new_application):
24736         * gst/gstmessage.h:
24737         * gst/gstprobe.c: (gst_probe_perform),
24738         (gst_probe_dispatcher_dispatch):
24739         * gst/gstprobe.h:
24740         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24741         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24742         (_gst_query_copy), (gst_query_new):
24743
24744         Update elements for GstData -> GstMiniObject changes
24745         * gst/gstquery.h:
24746         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24747         (gst_queue_chain), (gst_queue_loop):
24748         * gst/elements/gstbufferstore.c:
24749         (gst_buffer_store_add_buffer_func),
24750         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24751         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24752         (gst_fakesink_render):
24753         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24754         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24755         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24756         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24757         (gst_filesrc_create_read):
24758         * gst/elements/gstidentity.c: (gst_identity_class_init):
24759         * gst/elements/gsttypefindelement.c:
24760         (gst_type_find_element_src_event), (free_entry_buffers),
24761         (gst_type_find_element_handle_event):
24762         * libs/gst/dataprotocol/dataprotocol.c:
24763         (gst_dp_header_from_buffer):
24764         * libs/gst/dataprotocol/dataprotocol.h:
24765         * libs/gst/dataprotocol/dp-private.h:
24766
24767 2005-05-15  David Schleef  <ds@schleef.org>
24768
24769         * gst/elements/gstelements.c: Don't include headers that were
24770         just removed.
24771
24772 2005-05-15  David Schleef  <ds@schleef.org>
24773
24774         * gst/elements/Makefile.am: Remove some elements that don't
24775         need to be in the core (or even exist at all).
24776         * gst/elements/gstaggregator.c:
24777         * gst/elements/gstaggregator.h:
24778         * gst/elements/gstmd5sink.c:
24779         * gst/elements/gstmd5sink.h:
24780         * gst/elements/gstmultifilesrc.c:
24781         * gst/elements/gstmultifilesrc.h:
24782         * gst/elements/gstpipefilter.c:
24783         * gst/elements/gstpipefilter.h:
24784         * gst/elements/gstshaper.c:
24785         * gst/elements/gstshaper.h:
24786         * gst/elements/gststatistics.c:
24787         * gst/elements/gststatistics.h:
24788         * po/POTFILES.in: Remove above files.
24789
24790 2005-05-14  Andy Wingo  <wingo@pobox.com>
24791
24792         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24793         so as to get the refs right.
24794         (sink_iterator_filter): New function, wraps bin_element_is_sink,
24795         unreffing objects that don't pass the filter.
24796
24797         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24798         gst_element_set_bus.
24799         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24800         normal cases, this will destroy the bus.
24801
24802         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24803         object.
24804
24805         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24806         has no sinks.
24807
24808 2005-05-13  Andy Wingo  <wingo@pobox.com>
24809
24810         * gst/gstutils.c (gst_element_link_pads): Instead of calling
24811         gst_pad_link, call pad_link_maybe_ghosting,
24812         (pad_link_maybe_ghosting): Links pads, making sure that the
24813         elements being linked are in the same bin.
24814         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24815         Helpers for pad_link_maybe_ghosting.
24816
24817 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24818
24819         * configure.ac:
24820           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24821
24822 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24823
24824         * docs/design/part-element-source.txt:
24825           Mention GstPushSrc
24826
24827 2005-05-12  Wim Taymans  <wim@fluendo.com>
24828
24829         * gst/base/gstbasesink.c: (gst_basesink_init),
24830         (gst_basesink_activate):
24831         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24832         (gst_basesrc_is_seekable):
24833         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24834         (bin_element_is_sink), (gst_bin_change_state):
24835         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24836         * gst/gstelement.h:
24837         Identify sinks by their flag to avoid overly complicated
24838         checks (fow now).
24839         Do state changes even for elements not reachable from the
24840         sinks.
24841         BaseSink is a sink now :)
24842         Some more debugging info in the basesrc.
24843
24844
24845 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24846
24847         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24848           Implement _query on a bin, similar to _send_event.
24849
24850 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
24851
24852         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24853           Discont event offset format should be GST_FORMAT_BYTES,
24854           not GST_FORMAT_TIME.
24855
24856 2005-05-12  Wim Taymans  <wim@fluendo.com>
24857
24858         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24859         Same fix as Ronald's but without the signal. 
24860
24861 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24862
24863         * gst/gstutils.c: (gst_element_query_position):
24864           No, an element is not a pad.
24865
24866 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24867
24868         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24869         (gst_bin_get_state):
24870           If a child is removed from a bin while we remove the child from
24871           the bin and while we're retrieving its state, signal this to the
24872           get_state function so we abort the wait (instead of waiting for
24873           a timeout) and can immediately re-iterate over all other elements.
24874
24875 2005-05-12  Wim Taymans  <wim@fluendo.com>
24876
24877         * gst/base/Makefile.am:
24878         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24879         (gst_basesrc_start):
24880         * gst/base/gstbasesrc.h:
24881         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24882         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24883         (gst_pushsrc_init), (gst_pushsrc_create):
24884         * gst/base/gstpushsrc.h:
24885         Added is_seekable to BaseSrc
24886         Added simple PushSrc.
24887
24888 2005-05-11  Wim Taymans  <wim@fluendo.com>
24889
24890         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24891         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24892         (gst_element_link_pads), (gst_element_query_position),
24893         (gst_element_query_convert), (intersect_caps_func),
24894         (gst_pad_query_position), (gst_pad_query_convert):
24895         Fix refcounting in utils function.
24896         No point in trying to activate a pad when it's added, it could
24897         be added from the state change function and then we deadlock, the
24898         element has to decide what to do.
24899
24900 2005-05-10  Andy Wingo  <wingo@pobox.com>
24901
24902         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24903         *all* the arguments.
24904
24905         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24906         stream lock if it's a FLUSH_DONE; normal flushes don't get the
24907         lock (according to the docs -- if this is wrong change the docs).
24908
24909         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24910         flush messages in the NULL state.
24911
24912         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24913         message immediately and return.
24914         (gst_bus_set_flushing): New function. If a bus is flushing, it
24915         flushes out any queued messages and immediately unrefs new
24916         messages. This is so when an element goes to NULL, all of the
24917         unhandled messages coming from it can be freed, and their
24918         references to the element dropped. In other words: message source
24919         ref considered harmful :P
24920
24921         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24922         we're finished with it.
24923
24924         * gst/gstmessage.c (gst_message_new_state_changed): 
24925
24926 2005-05-10  Wim Taymans  <wim@fluendo.com>
24927
24928         * gst/gstvalue.c: (gst_value_compare_flags),
24929         (gst_value_serialize_flags), (gst_value_deserialize_flags),
24930         (_gst_value_initialize):
24931         Added flags serialize/deserialize/compare code.
24932
24933 2005-05-09  Andy Wingo  <wingo@pobox.com>
24934
24935         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24936         Intersect the peer's caps with our caps.
24937
24938 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24939
24940         * gst/base/gsttypefindhelper.c: (helper_find_peek):
24941         * gst/elements/gsttypefindelement.c: (find_peek):
24942           Handle negative offsets better. Fixes decodebin.
24943
24944 2005-05-09  Wim Taymans  <wim@fluendo.com>
24945
24946         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24947         (gst_base_transform_event):
24948         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24949         Implement accept_caps.
24950         Fix silly lock/unlock mismatch in base class.
24951
24952 2005-05-09  Wim Taymans  <wim@fluendo.com>
24953
24954         * docs/design/draft-push-pull.txt:
24955         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24956         * gst/elements/gstfilesink.c: (gst_filesink_init),
24957         (gst_filesink_query):
24958         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24959         (gst_type_find_handle_src_query), (find_element_get_length):
24960         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24961         * gst/gstelement.h:
24962         * gst/gstmessage.c:
24963         * gst/gstmessage.h:
24964         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24965         (gst_real_pad_get_caps_unlocked),
24966         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24967         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24968         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24969         (gst_real_pad_dispose), (gst_real_pad_finalize),
24970         (gst_pad_load_and_link), (gst_pad_save_thyself),
24971         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24972         (gst_pad_check_pull_range), (gst_pad_pull_range),
24973         (gst_pad_template_get_type), (gst_pad_template_class_init),
24974         (gst_pad_template_init), (gst_pad_template_dispose),
24975         (name_is_valid), (gst_static_pad_template_get),
24976         (gst_pad_template_new), (gst_static_pad_template_get_caps),
24977         (gst_pad_template_get_caps), (gst_pad_set_element_private),
24978         (gst_pad_get_element_private), (gst_pad_start_task),
24979         (gst_pad_pause_task), (gst_pad_stop_task),
24980         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24981         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24982         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24983         (gst_ghost_pad_new):
24984         * gst/gstpad.h:
24985         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24986         (gst_query_new_position), (gst_query_set_position),
24987         (gst_query_parse_position), (gst_query_new_convert),
24988         (gst_query_set_convert), (gst_query_parse_convert):
24989         * gst/gstquery.h:
24990         * gst/gstqueryutils.c:
24991         * gst/gstqueryutils.h:
24992         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24993         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24994         (gst_queue_handle_src_query):
24995         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24996         (gst_element_query_position), (gst_element_query_convert),
24997         (intersect_caps_func), (gst_pad_query_position),
24998         (gst_pad_query_convert):
24999         * gst/gstutils.h:
25000         * tools/gst-inspect.c: (print_pad_info):
25001         * tools/gst-xmlinspect.c: (print_element_info):
25002         Remove old query functions. Ported old code.
25003         Added position/convert helper functions to gstutils.
25004         Reordered gstpad.c code, grouping relevant things.
25005         Remove gst_message_new(), always need to speficy a specific
25006         message.
25007
25008
25009 2005-05-09  Andy Wingo  <wingo@pobox.com>
25010
25011         * gst/gstiterator.h: Add some includes.
25012
25013         * gst/gstqueryutils.h: Include more headers.
25014
25015         * gst/gstpad.h:
25016         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
25017         some uses of gst_pad_query.
25018
25019         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
25020         NULL out parameters.
25021         (gst_query_new_position): New proc, allocates a new position
25022         query.
25023
25024         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
25025         gstqueryutils.c to the build.
25026
25027         * gst/gststructure.c (gst_structure_set_valist): Implement with
25028         the generic G_VALUE_COLLECT.
25029         
25030 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
25031
25032         * gst/Makefile.am: (gst_headers):
25033         Added gstqueryutils.h to the list of headers to install, that was
25034         a 'nachty' move wingo :)
25035
25036 2005-05-06  Andy Wingo  <wingo@pobox.com>
25037
25038         * gst/gstquery.h
25039         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
25040         GstData, init a memchunk.
25041         (standard_definitions): Add a few query types, deprecate a few.
25042         (gst_query_get_type): New proc.
25043         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
25044         implementation.
25045         (gst_query_new_application, gst_query_get_structure): New public
25046         procs.
25047
25048         * docs/design/draft-query.txt: Removed LINKS from the query types,
25049         because all the rest can be dispatched to other pads -- seemed
25050         ugly to have a query that couldn't be dispatched. internal_links
25051         is fine as a pad method.
25052
25053         * gst/gstpad.h: Add query2 as a pad method, add the new functions
25054         in gstpad.c, but maintain binary compatibility for the moment.
25055         Will fix before 0.9 is out.
25056
25057         * gst/gstqueryutils.c: 
25058         * gst/gstqueryutils.h: New files, implement 3 methods for each
25059         query type: parse_query, parse_response, and set. Probably need an
25060         allocator as well.
25061
25062         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
25063
25064         * gst/elements/gstfilesink.c (gst_filesink_query2):
25065         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
25066         query_types, and formats methods.
25067
25068         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
25069         (gst_pad_set_query2_function): New functions.
25070         (gst_real_pad_init): Set query2_default as the default query2
25071         function. Basically just dispatches to internally linked pads.
25072
25073         Needs review!
25074         
25075         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
25076         without using the atomic operations. Only one thread can possibly
25077         be accessing the data at this point. Changed so as to avoid
25078         gst_atomic operations.
25079
25080 2005-05-06  Wim Taymans  <wim@fluendo.com>
25081
25082         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
25083         Also set caps if we use the fallback buffer alloc.
25084
25085 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
25086
25087         * docs/gst/Makefile.am:
25088         * docs/gst/gstreamer-docs.sgml:
25089         * docs/gst/gstreamer-sections.txt:
25090         * docs/gst/tmpl/gstatomic.sgml:
25091         * docs/gst/tmpl/gstmemchunk.sgml:
25092         * testsuite/elements/struct_i386.h:
25093         * win32/GStreamer.vcproj:
25094         * win32/Makefile:
25095           Purge GstAtomic stuff from docs and win32 makefiles as well
25096
25097 2005-05-06  Wim Taymans  <wim@fluendo.com>
25098
25099         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25100         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25101         * gst/gstpad.c: (gst_pad_peer_get_caps):
25102         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25103         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25104         (gst_queue_src_activate), (gst_queue_change_state):
25105         * gst/gstqueue.h:
25106         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25107         (intersect_caps_func):
25108         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25109         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25110         Some fixes for the peer_get_caps() change.
25111
25112 2005-05-06  Wim Taymans  <wim@fluendo.com>
25113
25114         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25115         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25116         (gst_basesink_activate):
25117         Actually do something with error codes returned from the push
25118         functions.
25119
25120 2005-05-06  Wim Taymans  <wim@fluendo.com>
25121
25122         * docs/design/part-element-sink.txt:
25123         * docs/design/part-element-source.txt:
25124         * gst/base/gstbasesink.c: (gst_basesink_class_init),
25125         (gst_basesink_event), (gst_basesink_activate):
25126         * gst/base/gstbasesink.h:
25127         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25128         (gst_basesrc_activate):
25129         * gst/base/gstbasesrc.h:
25130         * gst/gstelement.c: (gst_element_pads_activate):
25131         Some more documentation.
25132         Fixed scheduling decision in _pads_activate().
25133
25134 2005-05-05  Andy Wingo  <wingo@pobox.com>
25135
25136         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25137         the test suite.
25138
25139 2005-05-05  Wim Taymans  <wim@fluendo.com>
25140
25141         * gst/base/Makefile.am:
25142         * gst/base/gstbasesink.h:
25143         * gst/base/gstbasesrc.c: (gst_basesrc_init),
25144         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25145         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25146         (gst_collectpads_class_init), (gst_collectpads_init),
25147         (gst_collectpads_finalize), (gst_collectpads_new),
25148         (gst_collectpads_set_function), (gst_collectpads_add_pad),
25149         (find_pad), (gst_collectpads_remove_pad),
25150         (gst_collectpads_is_active), (gst_collectpads_collect),
25151         (gst_collectpads_collect_range), (gst_collectpads_start),
25152         (gst_collectpads_stop), (gst_collectpads_peek),
25153         (gst_collectpads_pop), (gst_collectpads_available),
25154         (gst_collectpads_read), (gst_collectpads_flush),
25155         (gst_collectpads_chain):
25156         * gst/base/gstcollectpads.h:
25157         * gst/elements/Makefile.am:
25158         * gst/elements/gstelements.c:
25159         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25160         (gst_fakesink_get_times), (gst_fakesink_event),
25161         (gst_fakesink_preroll), (gst_fakesink_render):
25162         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25163         (gst_filesink_init), (gst_filesink_set_location),
25164         (gst_filesink_open_file), (gst_filesink_close_file),
25165         (gst_filesink_pad_query), (gst_filesink_event),
25166         (gst_filesink_render), (gst_filesink_change_state):
25167         * gst/elements/gstfilesink.h:
25168         Added object to help in making collect pad based elements.
25169         Ported filesink.
25170         Make event function in sink baseclass return gboolean.
25171
25172 2005-05-05  Wim Taymans  <wim@fluendo.com>
25173
25174         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25175         (gst_bin_get_by_name):
25176         * gst/gstbuffer.h:
25177         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25178         (gst_clock_finalize):
25179         * gst/gstdata.c: (gst_data_replace):
25180         * gst/gstdata.h:
25181         * gst/gstelement.c: (gst_element_request_pad),
25182         (gst_element_pads_activate):
25183         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25184         (gst_object_unref):
25185         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25186         (gst_pad_set_checkgetrange_function),
25187         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25188         (gst_pad_check_pull_range), (gst_pad_pull_range),
25189         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25190         (gst_pad_pause_task), (gst_pad_stop_task):
25191         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25192         (gst_element_request_pad), (gst_pad_proxy_getcaps):
25193         Fix name lookup in GstBin.
25194         Added _data_replace() function and _buffer_replace()
25195         Use finalize method to clean up clock.
25196         Fix refcounting on request pads.
25197         Fix pad schedule mode error.
25198         Some more object refcounting debug info,
25199
25200
25201 2005-05-04  Andy Wingo <wingo@pobox.com>
25202
25203         * check/Makefile.am:
25204         * docs/gst/tmpl/gstatomic.sgml:
25205         * docs/gst/tmpl/gstplugin.sgml:
25206         * gst/base/gstbasesink.c: (gst_basesink_activate):
25207         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25208         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25209         (gst_basesrc_query), (gst_basesrc_set_property),
25210         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25211         (gst_basesrc_activate):
25212         * gst/base/gstbasesrc.h:
25213         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25214         (gst_base_transform_src_activate):
25215         * gst/elements/gstelements.c:
25216         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25217         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25218         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25219         * gst/elements/gsttypefindelement.c: (find_element_get_length),
25220         (gst_type_find_element_checkgetrange),
25221         (gst_type_find_element_activate):
25222         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25223         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25224         (gst_caps_load_thyself):
25225         * gst/gstelement.c: (gst_element_pads_activate),
25226         (gst_element_save_thyself), (gst_element_restore_thyself):
25227         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25228         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25229         * gst/gstpad.h:
25230         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25231         (gst_xml_parse_file), (gst_xml_parse_memory),
25232         (gst_xml_get_element), (gst_xml_make_element):
25233         * gst/indexers/gstfileindex.c: (gst_file_index_load),
25234         (_file_index_id_save_xml), (gst_file_index_commit):
25235         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25236         (read_enum), (load_pad_template), (load_feature), (load_plugin),
25237         (load_paths):
25238         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25239         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25240         * tools/gst-complete.c: (main):
25241         * tools/gst-compprep.c: (main):
25242         * tools/gst-inspect.c: (print_element_properties_info):
25243         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25244         * tools/gst-xmlinspect.c: (print_element_properties):
25245         GCC 4 fixen.
25246         
25247 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25248
25249         * gst/gstplugin.c: (gst_plugin_check_module),
25250         (gst_plugin_check_file), (gst_plugin_load_file):
25251             apply patch from #172526 to make register work on MacOSX
25252
25253 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25254
25255         * docs/gst/tmpl/gstconfig.sgml:
25256         * gst/gstconfig.h.in:
25257           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
25258         * testsuite/debug/printf_extension.c: (main):
25259           Do not use GST_PTR_FORMAT on pointers to types with
25260           sizeof < sizeof(gpointer).  Fixes test on 64-bit
25261         * testsuite/elements/property.h:
25262           use correct printf format
25263
25264 2005-05-02  Wim Taymans  <wim@fluendo.com>
25265
25266         * docs/design/draft-push-pull.txt:
25267         * docs/design/draft-query.txt:
25268         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25269         (gst_basesrc_start):
25270         Added draft for new query API.
25271         Added draft for better selecting scheduling methods.
25272         Make basesrc ignore length if the subclass does not support
25273         it.
25274
25275 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25276
25277         * gst/Makefile.am:
25278           possible fixes for automake-1.5 - _LIBADD is reserved
25279
25280 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25281
25282         * docs/faq/Makefile.am:
25283         * docs/manual/Makefile.am:
25284         * docs/manuals.mak:
25285         * docs/pwg/Makefile.am:
25286         * gst/Makefile.am:
25287           possible fixes for automake-1.5
25288
25289 2005-04-28  Wim Taymans  <wim@fluendo.com>
25290
25291         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25292         (gst_basesink_pad_getcaps), (gst_basesink_init),
25293         (gst_basesink_do_sync):
25294         * gst/gstclock.c: (gst_clock_entry_new):
25295         * gst/gstevent.c: (gst_event_discont_get_value):
25296         * gst/gstpipeline.c: (pipeline_bus_handler),
25297         (gst_pipeline_change_state):
25298         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25299         Better debugging of clocking info.
25300         Allow NULL values when getting discont values.
25301
25302 2005-04-27  Wim Taymans  <wim@fluendo.com>
25303
25304         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25305         * check/gst/gstpad.c: (gst_pad_suite):
25306         Increase timeout for checks.
25307
25308 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25309
25310         * check/Makefile.am:
25311           fix the broken rule for cleanup.  Apparently this rule is
25312           only needed on FC2, so maybe this warrants further autotool
25313           inspection.
25314
25315 2005-04-26  Wim Taymans  <wim@fluendo.com>
25316
25317         * gst/gsttrashstack.h:
25318         Ooohh. a nasty one! After having a failed pop() from the stack,
25319         it's possible that the stack is empty. In that case, don't
25320         follow the NULL pointer.
25321
25322 2005-04-25  Wim Taymans  <wim@fluendo.com>
25323
25324         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25325         (gst_pad_set_checkgetrange_function),
25326         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25327         (gst_pad_check_pull_range), (gst_pad_pull_range),
25328         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25329         (gst_pad_pause_task), (gst_pad_stop_task):
25330         * gst/gstplugin.c: (gst_plugin_load):
25331         * gst/gstplugin.h:
25332         Remove gst_library_load as it does more harm than good with
25333         the new g_module flags.
25334         Revert bogus caps template check in pad linking, pad caps
25335         are important when linking not the template, which is more
25336         general than the current caps.
25337
25338 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25339
25340         * gst/autoplug/.cvsignore:
25341         * gst/autoplug/Makefile.am:
25342         * gst/autoplug/gstsearchfuncs.c:
25343         * gst/autoplug/gstsearchfuncs.h:
25344         * gst/autoplug/gstspider.c:
25345         * gst/autoplug/gstspider.h:
25346         * gst/autoplug/gstspideridentity.c:
25347         * gst/autoplug/gstspideridentity.h:
25348         * gst/autoplug/spidertest.c:
25349           Die, spider, die.
25350
25351 2005-04-25  Wim Taymans  <wim@fluendo.com>
25352
25353         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25354         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25355         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25356         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25357         * gst/gstpad.h:
25358         Added stubs for unimplemented functions. 
25359
25360 2005-04-24  David Schleef  <ds@schleef.org>
25361
25362         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
25363         please fix.
25364
25365 2005-04-24  David Schleef  <ds@schleef.org>
25366
25367         Convert everything from GstAtomicInt to g_atomic_int_*, and
25368         remove gstatomic.
25369         * gst/Makefile.am:
25370         * gst/gstatomic.c:
25371         * gst/gstatomic.h:
25372         * gst/gstatomic_impl.h:
25373         * gst/gstbuffer.c:
25374         * gst/gstcaps.c:
25375         * gst/gstcaps.h:
25376         * gst/gstclock.c:
25377         * gst/gstclock.h:
25378         * gst/gstdata.c:
25379         * gst/gstdata.h:
25380         * gst/gstdata_private.h:
25381         * gst/gstevent.c:
25382         * gst/gstinfo.c:
25383         * gst/gstinfo.h:
25384         * gst/gstmessage.c:
25385         * gst/gstobject.c:
25386         * gst/gstobject.h:
25387         * gst/gststructure.c:
25388         * gst/gststructure.h:
25389         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25390         * gst/gstutils.h:
25391
25392 2005-04-24  David Schleef  <ds@schleef.org>
25393
25394         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25395         make the regressions tests work.  Remove some code that is no
25396         longer true.
25397         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25398         Disable warning for pads without templates.
25399
25400 2005-04-24  David Schleef  <ds@schleef.org>
25401
25402         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
25403         functions that handle filtered links.
25404         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25405         removed functions.
25406         * gst/gstutils.c: Fix/remove utility functions that handle
25407         filtered caps.
25408         * gst/gstutils.h:
25409         * gst/gstvalue.c: Add serialization/deserialization of caps
25410         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
25411         requires fixing so that the filter caps notation creates
25412         a capsfilter element and sets the filter_caps property.  I
25413         think everyone probably wants to keep the shorthand notation.
25414         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25415         * docs/gst/tmpl/gstpad.sgml:
25416
25417         * gst/elements/gstelements.c: Register capsfilter element.
25418         * gst/Makefile.am: fix spacing
25419         * docs/random/ds/0.9-suggested-changes: random
25420
25421 2005-04-23  David Schleef  <ds@schleef.org>
25422
25423         * gst/elements/Makefile.am:
25424         * gst/elements/gstcapsfilter.c: New element that acts like an
25425         identity, but filters caps.  Will eventually replace filtered
25426         caps in pad linking.
25427         * gst/gstutils.c: (gst_element_create_all_pads): New function
25428         to create all the ALWAYS pads that are registered with an
25429         element class.  This functionality should eventually be
25430         merged in with GstElement initialization.
25431         * gst/gstutils.h:
25432         * testsuite/trigger/README: part of trigger test code that should
25433         have been checked in a long time ago.
25434
25435 2005-04-23  David Schleef  <ds@schleef.org>
25436
25437         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
25438         needed with new versions of libtool (nobody will confirm this),
25439         and hard to carry around.
25440         * gst/autoplug/Makefile.am:
25441         * gst/base/Makefile.am:
25442         * gst/elements/Makefile.am:
25443         * gst/indexers/Makefile.am:
25444         * gst/schedulers/Makefile.am:
25445         * libs/gst/bytestream/Makefile.am:
25446         * libs/gst/control/Makefile.am:
25447         * libs/gst/dataprotocol/Makefile.am:
25448         * libs/gst/getbits/Makefile.am:
25449
25450 2005-04-21  Wim Taymans  <wim@fluendo.com>
25451
25452         * docs/design/draft-push-pull.txt:
25453         * docs/design/part-MT-refcounting.txt:
25454         * docs/design/part-TODO.txt:
25455         * docs/design/part-caps.txt:
25456         * docs/design/part-events.txt:
25457         * docs/design/part-gstbus.txt:
25458         * docs/design/part-gstpipeline.txt:
25459         * docs/design/part-messages.txt:
25460         * docs/design/part-push-pull.txt:
25461         * docs/design/part-query.txt:
25462         Some more docs.
25463
25464 2005-04-21  Wim Taymans  <wim@fluendo.com>
25465
25466         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25467         (gst_message_new), (gst_message_new_error),
25468         (gst_message_new_warning), (gst_message_new_tag),
25469         (gst_message_new_state_changed), (gst_message_new_application),
25470         (gst_message_get_structure):
25471         * gst/gstmessage.h:
25472         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25473         (gst_structure_copy_conditional):
25474         Use parent refcount in GstMessage to ensure GstStructure
25475         consistency.
25476         Cleaned up headers a bit.
25477         
25478
25479 2005-04-20  Wim Taymans  <wim@fluendo.com>
25480
25481         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25482         (gst_basesink_pad_getcaps), (gst_basesink_init),
25483         (gst_basesink_chain_unlocked):
25484         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25485         (gst_type_find_helper):
25486         * gst/elements/gsttypefindelement.c:
25487         (gst_type_find_element_have_type), (gst_type_find_element_init),
25488         (stop_typefinding), (gst_type_find_element_handle_event),
25489         (find_suggest), (gst_type_find_element_chain),
25490         (gst_type_find_element_checkgetrange),
25491         (gst_type_find_element_getrange), (do_typefind),
25492         (gst_type_find_element_activate):
25493         * gst/gstbuffer.c: (_gst_buffer_sub_free),
25494         (gst_buffer_default_free), (gst_buffer_default_copy),
25495         (gst_buffer_set_caps):
25496         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25497         (gst_caps_replace):
25498         * gst/gstmessage.c: (gst_message_new),
25499         (gst_message_new_state_changed):
25500         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25501         (gst_pad_set_checkgetrange_function),
25502         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25503         (gst_pad_set_caps), (gst_pad_check_pull_range),
25504         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25505         * gst/gstpad.h:
25506         * gst/gsttypefind.c: (gst_type_find_register):
25507         Make gst_caps_replace() work like other _replace() functions.
25508         Use _caps_replace() where possible.
25509         Make sure _message_new() initialises its field.
25510         Add gst_static_pad_template_get_caps()
25511
25512
25513 2005-04-18  Andy Wingo  <wingo@pobox.com>
25514
25515         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25516         on the peer, not the pad. I think that was a typo. Pass an extra
25517         arg to see if random access is possible. Activate the pads as
25518         PULL_RANGE if possible.
25519
25520         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25521
25522         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
25523         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25524         to PROP_....
25525
25526 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25527
25528         * docs/faq/using.xml:
25529           Add note on gstreamer-properties (#154996).
25530
25531 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25532
25533         * docs/random/bbb/optional-properties:
25534           Some analysis on optional properties.
25535
25536 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25537
25538         * docs/gst/tmpl/gstelementfactory.sgml:
25539         * gst/gstelement.h:
25540         * gst/gstelementfactory.c: (gst_element_factory_init),
25541         (gst_element_factory_cleanup), (gst_element_register),
25542         (__gst_element_factory_add_static_pad_template),
25543         (gst_element_factory_get_static_pad_templates),
25544         (gst_element_factory_can_src_caps),
25545         (gst_element_factory_can_sink_caps):
25546         * gst/registries/Makefile.am:
25547         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25548         (gst_xml_registry_class_init), (gst_xml_registry_init),
25549         (gst_xml_registry_new), (gst_xml_registry_set_property),
25550         (gst_xml_registry_get_property), (get_time), (make_dir),
25551         (gst_xml_registry_get_perms_func),
25552         (plugin_times_older_than_recurse), (plugin_times_older_than),
25553         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25554         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25555         (add_to_char_array), (read_string), (read_uint), (read_enum),
25556         (load_pad_template), (load_feature), (load_plugin), (load_paths),
25557         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25558         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25559         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25560         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25561         (gst_xml_registry_rebuild):
25562         * gst/registries/gstlibxmlregistry.h:
25563         * tools/gst-compprep.c: (main):
25564         * tools/gst-inspect.c: (print_pad_templates_info):
25565         * tools/gst-xmlinspect.c: (print_element_info):
25566           Use libxml2 for registry parsing, use staticpadtemplates in
25567           elementfactories. Makes gst_init() +/- 10x faster.
25568
25569 2005-04-12  Wim Taymans  <wim@fluendo.com>
25570
25571         * gst/base/Makefile.am:
25572         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25573         (gst_basesink_pad_getcaps), (gst_basesink_init),
25574         (gst_basesink_event), (gst_basesink_change_state):
25575         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25576         (gst_basesrc_init), (gst_basesrc_query),
25577         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25578         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25579         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25580         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25581         (gst_basesrc_stop), (gst_basesrc_activate),
25582         (gst_basesrc_change_state):
25583         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25584         (helper_find_suggest), (gst_type_find_helper):
25585         * gst/base/gsttypefindhelper.h:
25586         * gst/elements/Makefile.am:
25587         * gst/elements/gstelements.c:
25588         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25589         (gst_fakesink_get_times), (gst_fakesink_event),
25590         (gst_fakesink_preroll), (gst_fakesink_render):
25591         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25592         (gst_fakesrc_init), (gst_fakesrc_event_handler),
25593         (gst_fakesrc_get_property), (gst_fakesrc_create),
25594         (gst_fakesrc_start), (gst_fakesrc_stop):
25595         * gst/elements/gstfakesrc.h:
25596         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25597         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25598         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25599         (gst_filesrc_create_read), (gst_filesrc_create),
25600         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25601         (gst_filesrc_start):
25602         * gst/elements/gsttypefindelement.c:
25603         (gst_type_find_element_have_type), (gst_type_find_element_init),
25604         (start_typefinding), (stop_typefinding), (push_buffer_store),
25605         (gst_type_find_element_handle_event),
25606         (gst_type_find_element_chain),
25607         (gst_type_find_element_checkgetrange),
25608         (gst_type_find_element_getrange), (do_typefind),
25609         (gst_type_find_element_activate),
25610         (gst_type_find_element_change_state):
25611         * gst/elements/gsttypefindelement.h:
25612         * gst/gstpipeline.c: (pipeline_bus_handler):
25613         Added typefind helper.
25614         Small preroll fix in the base sink.
25615         Disable typefind code in basesrc.
25616         Crude port of typefindelement.
25617         Fakesrc cleanups.
25618
25619
25620 2005-04-11  Wim Taymans  <wim@fluendo.com>
25621
25622         * check/gst/gstbus.c: (gstbus_suite):
25623         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25624         * check/gstcheck.h:
25625           Fix up the timeout so that the test does not fail.
25626
25627 2005-04-06  Wim Taymans  <wim@fluendo.com>
25628
25629         * gst/base/README:
25630         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25631         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25632         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25633         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25634         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25635         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25636         (gst_basesrc_stop), (gst_basesrc_activate),
25637         (gst_basesrc_change_state), (basesrc_find_peek),
25638         (basesrc_find_suggest), (gst_basesrc_type_find):
25639         * gst/base/gstbasesrc.h:
25640         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25641         (gst_filesrc_class_init), (gst_filesrc_init),
25642         (gst_filesrc_finalize), (gst_filesrc_set_location),
25643         (gst_filesrc_set_property), (gst_filesrc_get_property),
25644         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25645         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25646         (gst_filesrc_create_read), (gst_filesrc_create),
25647         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25648         * gst/elements/gstfilesrc.h:
25649         * gst/gstelement.c: (gst_element_get_state_func),
25650         (gst_element_lost_state), (gst_element_pads_activate):
25651         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25652         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25653         (gst_pad_pull_range):
25654         * gst/gstpad.h:
25655         More work on the generic source base class, implement seeking,
25656         query.
25657         Make filesrc extend the base source class.
25658         Added gst_pad_set_checkgetrange_function to GstPad.
25659
25660 2005-04-06  Andy Wingo  <wingo@pobox.com>
25661
25662         * pkgconfig/gstreamer-base.pc.in:
25663         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25664
25665         * pkgconfig/Makefile.am:
25666         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25667
25668 2005-04-04  Wim Taymans  <wim@fluendo.com>
25669
25670         * gst/base/Makefile.am:
25671         * gst/base/README:
25672         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25673         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25674         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25675         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25676         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25677         (gst_basesrc_base_init), (gst_basesrc_class_init),
25678         (gst_basesrc_init), (gst_basesrc_get_formats),
25679         (gst_basesrc_get_query_types), (gst_basesrc_query),
25680         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25681         (gst_basesrc_set_property), (gst_basesrc_get_property),
25682         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25683         (gst_basesrc_loop), (gst_basesrc_activate),
25684         (gst_basesrc_change_state):
25685         * gst/base/gstbasesrc.h:
25686         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25687         (gst_fakesrc_class_init), (gst_fakesrc_init),
25688         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25689         (gst_fakesrc_get_property), (gst_fakesrc_create):
25690         * gst/elements/gstfakesrc.h:
25691         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25692         (gst_filesrc_open_file), (gst_filesrc_loop),
25693         (gst_filesrc_activate), (filesrc_find_peek),
25694         (gst_filesrc_type_find):
25695         Made base source class, make fakesrc extend it.
25696         Add comments to basesink class.
25697         Some filesrc cleanup.
25698
25699 2005-03-31  David Schleef  <ds@schleef.org>
25700
25701         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25702         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25703         expected to link against libgstreamer.
25704         * gst/base/Makefile.am: link against libgstreamer
25705         * gst/elements/Makefile.am: same
25706
25707 2005-03-31  Andy Wingo  <wingo@pobox.com>
25708
25709         * tests/instantiate/Makefile.am:
25710         * tests/instantiate/caps.c: Add test to test speed of caps copy
25711         and free.
25712
25713         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25714         GMemChunk to be fair.
25715
25716         * gst/gsttrashstack.h: Remove warning about using the fallback
25717         trash stack implementation, it's still faster than malloc.
25718
25719 2005-03-30  Andy Wingo  <wingo@pobox.com>
25720
25721         * tests/complexity.c: Add a copyright.
25722
25723 2005-03-31  Wim Taymans  <wim@fluendo.com>
25724
25725         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25726         (gst_base_transform_class_init), (gst_base_transform_init),
25727         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25728         (gst_base_transform_get_property),
25729         (gst_base_transform_sink_activate),
25730         (gst_base_transform_src_activate),
25731         (gst_base_transform_change_state):
25732         * gst/base/gstbasetransform.h:
25733         * gst/elements/gstidentity.c: (gst_identity_class_init),
25734         (gst_identity_event), (gst_identity_check_perfect),
25735         (gst_identity_transform), (gst_identity_start),
25736         (gst_identity_stop):
25737         Added start/stop methods to transform base class so subclasses 
25738         don't need to deal with state changes even.
25739
25740 2005-03-31  Wim Taymans  <wim@fluendo.com>
25741
25742         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25743         (gst_event_new_discontinuous), (gst_event_discont_get_value):
25744         * gst/gstevent.h:
25745         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25746         (gst_pad_pull_range):
25747         Added rate to the discont event to prepare for variable speed
25748         and reverse playback.
25749
25750 2005-03-29  David Schleef  <ds@schleef.org>
25751
25752         * configure.ac:
25753         * testsuite/trigger/Makefile.am:
25754         * testsuite/trigger/trigger.c: A little example program to show
25755         how trigger-based elements can work.
25756
25757 2005-03-29  Wim Taymans  <wim@fluendo.com>
25758
25759         * gst/base/Makefile.am:
25760         * gst/base/README:
25761         * gst/base/gstbasesink.c: (gst_basesink_get_type),
25762         (gst_basesink_base_init), (gst_basesink_class_init),
25763         (gst_basesink_pad_getcaps), (gst_basesink_init),
25764         (gst_basesink_activate), (gst_basesink_change_state):
25765         * gst/base/gstbasesink.h:
25766         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25767         (gst_base_transform_base_init), (gst_base_transform_finalize),
25768         (gst_base_transform_class_init), (gst_base_transform_init),
25769         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25770         (gst_base_transform_event), (gst_base_transform_getrange),
25771         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25772         (gst_base_transform_set_property),
25773         (gst_base_transform_get_property),
25774         (gst_base_transform_sink_activate),
25775         (gst_base_transform_src_activate),
25776         (gst_base_transform_change_state):
25777         * gst/base/gstbasetransform.h:
25778         * gst/elements/gstidentity.c: (gst_identity_finalize),
25779         (gst_identity_class_init), (gst_identity_init),
25780         (gst_identity_event), (gst_identity_check_perfect),
25781         (gst_identity_transform), (gst_identity_set_property),
25782         (gst_identity_get_property), (gst_identity_change_state):
25783         * gst/elements/gstidentity.h:
25784         * gst/gstelement.c: (gst_element_get_state_func),
25785         (gst_element_lost_state), (gst_element_pads_activate):
25786         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25787         (gst_pad_check_pull_range), (gst_pad_pull_range):
25788         * gst/gstpad.h:
25789         Simplify pad activation.
25790         Added function to check if pull_range can be performed.
25791         Error out when pulling inactive or flushing pads.
25792         Removed const from refcounted types as it does not make sense.
25793         Simplify pad templates in basesink
25794         Added base class for simple 1-to-1 transforms.
25795         Make identity subclass the base transform.
25796
25797 2005-03-29  Andy Wingo  <wingo@pobox.com>
25798
25799         * docs/libs/gstreamer-libs-overrides.txt: 
25800         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25801         really don't understand what's going on, but like whatever. I want
25802         green buildbot!
25803
25804         * docs/gst/Makefile.am:
25805         * docs/libs/Makefile.am: Dist the overrides files.
25806
25807         * check/Makefile.am (clean-local): Remove .libs directories.
25808
25809         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25810         elements to EXTRA_DIST, so po/ files are happy.
25811
25812         * po/POTFILES.in: Er, remove it here.
25813
25814         * po/POTFILES: Remove gstspider.c.
25815
25816         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25817
25818         * docs/libs/gstreamer-libs-docs.sgml: 
25819         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25820         bytestream.
25821
25822         * tests/complexity.c (main): Set the length of the preroll queue
25823         on the sinks to prevent a lockup.
25824
25825         * libs/gst/dataprotocol/Makefile.am: 
25826         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25827         the same as the one in check/gst-libs/gdp.c.
25828
25829         * po/, docs/gst/: Commit automatic changes to docs and po files.
25830
25831         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25832         the versioned libgstbase.
25833
25834         * check/Makefile.am: Depend on an unversioned gst-register, seems
25835         to make autoconf happier.
25836
25837         * gst/base/Makefile.am: Make libgstbase a versioned lib.
25838
25839 2005-03-28  Wim Taymans  <wim@fluendo.com>
25840
25841         * configure.ac:
25842         * docs/design/part-gstelement.txt:
25843         * docs/design/part-negotiation.txt:
25844         * docs/design/part-preroll.txt:
25845         * docs/design/part-scheduling.txt:
25846         * docs/design/part-states.txt:
25847         * gst/Makefile.am:
25848         * gst/base/Makefile.am:
25849         * gst/base/README:
25850         * gst/base/gstbasesink.c: (gst_basesink_get_template),
25851         (gst_basesink_base_init), (gst_basesink_class_init),
25852         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25853         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25854         (gst_basesink_set_pad_functions),
25855         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25856         (gst_basesink_set_property), (gst_basesink_get_property),
25857         (gst_base_sink_get_template), (gst_base_sink_get_caps),
25858         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25859         (gst_basesink_preroll_queue_push),
25860         (gst_basesink_preroll_queue_empty),
25861         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25862         (gst_basesink_event), (gst_basesink_get_times),
25863         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25864         (gst_basesink_chain_unlocked), (gst_basesink_chain),
25865         (gst_basesink_loop), (gst_basesink_activate),
25866         (gst_basesink_change_state):
25867         * gst/base/gstbasesink.h:
25868         * gst/elements/Makefile.am:
25869         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25870         (gst_fakesink_class_init), (gst_fakesink_init),
25871         (gst_fakesink_set_property), (gst_fakesink_get_property),
25872         (gst_fakesink_get_times), (gst_fakesink_event),
25873         (gst_fakesink_preroll), (gst_fakesink_render),
25874         (gst_fakesink_change_state):
25875         * gst/elements/gstfakesink.h:
25876         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25877         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25878         * gst/gstelement.c: (gst_element_add_pad),
25879         (gst_element_get_state_func), (gst_element_abort_state),
25880         (gst_element_commit_state), (gst_element_lost_state),
25881         (gst_element_set_state), (gst_element_pads_activate):
25882         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25883         * gst/gstpipeline.c: (gst_pipeline_send_event),
25884         (gst_pipeline_change_state):
25885         Added state change code.
25886         Added/updated docs.
25887         Added sink base class, make fakesink extend the base class.
25888         Small cleanups in GstPipeline.
25889
25890 2005-03-26  David Schleef  <ds@schleef.org>
25891
25892         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
25893         is broken and should be implemented in a different library.
25894         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25895         * gst/gst.h: remove gstcpu.h
25896         * gst/gstcpu.c: remove
25897         * gst/gstcpu.h: remove
25898         * gst/Makefile.am.future: Remove this file.  It's ancient.
25899
25900 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25901
25902         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25903         (gst_bin_send_event):
25904           Add default event/set_manager handlers. The set_manager handler
25905           takes care that the manager is distributed over kids that were
25906           already in the bin before the manager was set. The event handler
25907           is a utility virtual function that sends the event over all sinks,
25908           so that gst_element_send_event (bin, event); has the expected
25909           behaviour.
25910         * gst/gstpad.c: (gst_pad_event_default):
25911           Re-install default event handling for discontinuities, so that
25912           seeking works without requiring hacks in applications or extra
25913           code in sinks.
25914         * gst/gstpipeline.c: (gst_pipeline_class_init),
25915         (gst_pipeline_send_event):
25916           Half hack, half utility: set a pipeline to PAUSED for seek events,
25917           since that is the only way we can guarantee a/v sync. Means that
25918           you can do gst_element_seek (pipeline, method, pos); on a pipeline
25919           and it "just works".
25920
25921 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25922
25923         * gst/gstpipeline.c: (gst_pipeline_use_clock):
25924           Lock/unlock mismatch.
25925
25926 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25927
25928         * docs/faq/gst-uninstalled:
25929           add gst-plugins-base
25930         * docs/gst/Makefile.am:
25931           don't error out until docs are fixed
25932         * docs/gst/gstreamer.types:
25933           remove thread
25934
25935 2005-03-22  Wim Taymans  <wim@fluendo.com>
25936
25937         * check/Makefile.am:
25938         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25939         * gst/gststructure.c: (gst_structure_set_valist),
25940         (gst_structure_copy_conditional):
25941         Activated more tests.
25942         Added message test.
25943         Added G_TYPE_POINTER to GstStructure.
25944         
25945
25946 2005-03-22  Wim Taymans  <wim@fluendo.com>
25947
25948         * docs/design/part-TODO.txt:
25949         * docs/design/part-events.txt:
25950         * docs/design/part-gstbin.txt:
25951         * docs/design/part-gstbus.txt:
25952         * docs/design/part-gstpipeline.txt:
25953         * docs/design/part-messages.txt:
25954         * gst/gstbus.c:
25955         * gst/gstmessage.c:
25956         Docs updates
25957
25958 2005-03-21  Wim Taymans  <wim@fluendo.com>
25959
25960         * gst/gstbus.c: (gst_bus_post):
25961         Fix copy-and-paste error.
25962
25963 2005-03-21  Wim Taymans  <wim@fluendo.com>
25964
25965         * check/Makefile.am:
25966         * gst/Makefile.am:
25967         * gst/elements/Makefile.am:
25968         * gst/elements/gstelements.c:
25969         * gst/elements/gstfakesink.c: (gst_fakesink_init),
25970         (gst_fakesink_event), (gst_fakesink_chain):
25971         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25972         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25973         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25974         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25975         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25976         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25977         (gst_fakesrc_loop), (gst_fakesrc_activate),
25978         (gst_fakesrc_change_state):
25979         * gst/elements/gstfakesrc.h:
25980         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25981         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25982         (gst_filesrc_open_file), (gst_filesrc_loop),
25983         (gst_filesrc_activate), (gst_filesrc_change_state),
25984         (filesrc_find_peek), (filesrc_find_suggest),
25985         (gst_filesrc_type_find):
25986         * gst/elements/gstidentity.c: (gst_identity_finalize),
25987         (gst_identity_class_init), (gst_identity_init),
25988         (gst_identity_proxy_getcaps), (identity_queue_push),
25989         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25990         (gst_identity_getrange), (gst_identity_chain),
25991         (gst_identity_sink_loop), (gst_identity_src_loop),
25992         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25993         (gst_identity_set_property), (gst_identity_get_property),
25994         (gst_identity_change_state):
25995         * gst/elements/gstidentity.h:
25996         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25997         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25998         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25999         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
26000         (gst_tee_sink_activate):
26001         * gst/elements/gsttee.h:
26002         * gst/gst.c: (gst_register_core_elements), (init_post):
26003         * gst/gst.h:
26004         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
26005         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
26006         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
26007         (gst_bin_change_state):
26008         * gst/gstbin.h:
26009         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
26010         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
26011         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
26012         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
26013         (gst_bus_set_sync_handler), (gst_bus_create_watch),
26014         (bus_watch_callback), (bus_watch_destroy),
26015         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
26016         (poll_timeout), (gst_bus_poll):
26017         * gst/gstbus.h:
26018         * gst/gstcaps.h:
26019         * gst/gstdata.h:
26020         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26021         (gst_element_post_message), (gst_element_message_full),
26022         (gst_element_get_state_func), (gst_element_get_state),
26023         (gst_element_abort_state), (gst_element_commit_state),
26024         (gst_element_lost_state), (gst_element_set_state),
26025         (gst_element_pads_activate), (gst_element_change_state),
26026         (gst_element_dispose), (gst_element_set_manager_func),
26027         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
26028         (gst_element_set_manager), (gst_element_get_manager),
26029         (gst_element_set_bus), (gst_element_get_bus),
26030         (gst_element_set_scheduler), (gst_element_get_scheduler):
26031         * gst/gstelement.h:
26032         * gst/gstevent.c: (gst_event_new_segment_seek),
26033         (gst_event_new_flush):
26034         * gst/gstevent.h:
26035         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
26036         (_gst_message_free), (gst_message_get_type), (gst_message_new),
26037         (gst_message_new_eos), (gst_message_new_error),
26038         (gst_message_new_warning), (gst_message_new_tag),
26039         (gst_message_new_state_changed), (gst_message_new_application),
26040         (gst_message_get_structure), (gst_message_parse_tag),
26041         (gst_message_parse_state_changed), (gst_message_parse_error),
26042         (gst_message_parse_warning):
26043         * gst/gstmessage.h:
26044         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
26045         (gst_real_pad_set_property), (gst_pad_set_active),
26046         (gst_pad_is_active), (gst_pad_set_blocked_async),
26047         (gst_pad_set_blocked), (gst_pad_is_blocked),
26048         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
26049         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
26050         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
26051         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
26052         (gst_pad_link_filtered), (gst_pad_relink_filtered),
26053         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
26054         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
26055         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
26056         (gst_pad_set_caps), (gst_pad_configure_sink),
26057         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
26058         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
26059         (gst_real_pad_dispose), (gst_real_pad_finalize),
26060         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
26061         (gst_pad_event_default_dispatch), (gst_pad_event_default),
26062         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
26063         * gst/gstpad.h:
26064         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
26065         (pipeline_bus_handler), (gst_pipeline_change_state),
26066         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
26067         * gst/gstpipeline.h:
26068         * gst/gstprobe.h:
26069         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
26070         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
26071         (gst_queue_link_src), (gst_queue_bufferalloc),
26072         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
26073         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
26074         (gst_queue_loop), (gst_queue_handle_src_event),
26075         (gst_queue_handle_src_query), (gst_queue_src_activate),
26076         (gst_queue_change_state):
26077         * gst/gstqueue.h:
26078         * gst/gstscheduler.c: (gst_scheduler_init),
26079         (gst_scheduler_dispose), (gst_scheduler_create_task),
26080         (gst_scheduler_factory_create):
26081         * gst/gstscheduler.h:
26082         * gst/gststructure.c: (gst_structure_get_type),
26083         (gst_structure_copy_conditional):
26084         * gst/gststructure.h:
26085         * gst/gsttaginterface.h:
26086         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26087         (gst_task_init), (gst_task_dispose), (gst_task_create),
26088         (gst_task_get_state), (gst_task_start), (gst_task_stop),
26089         (gst_task_pause):
26090         * gst/gsttask.h:
26091         * gst/gstthread.c:
26092         * gst/gstthread.h:
26093         * gst/gsttypes.h:
26094         * gst/schedulers/Makefile.am:
26095         * gst/schedulers/cothreads_compat.h:
26096         * gst/schedulers/entryscheduler.c:
26097         * gst/schedulers/faircothreads.c:
26098         * gst/schedulers/faircothreads.h:
26099         * gst/schedulers/fairscheduler.c:
26100         * gst/schedulers/gstbasicscheduler.c:
26101         * gst/schedulers/gstoptimalscheduler.c:
26102         * gst/schedulers/gthread-cothreads.h:
26103         * gst/schedulers/threadscheduler.c:
26104         (gst_thread_scheduler_task_get_type),
26105         (gst_thread_scheduler_task_class_init),
26106         (gst_thread_scheduler_task_init),
26107         (gst_thread_scheduler_task_start),
26108         (gst_thread_scheduler_task_stop),
26109         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26110         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26111         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26112         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26113         (plugin_init):
26114         * libs/gst/Makefile.am:
26115         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26116         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26117         (gst_file_pad_parent_set):
26118         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26119         (gst_dp_event_from_packet):
26120         * tests/complexity.c: (main):
26121         * tests/mass_elements.c: (main):
26122         * testsuite/states/locked.c: (message_received), (main):
26123         * testsuite/states/parent.c: (main):
26124         * tools/gst-inspect.c: (print_element_flag_info),
26125         (print_implementation_info), (print_pad_info):
26126         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26127         (main):
26128         * tools/gst-md5sum.c: (event_loop), (main):
26129         * tools/gst-typefind.c: (main):
26130         * tools/gst-xmlinspect.c: (print_element_info):
26131         Next big merge.
26132         Added GstBus for mainloop integration.
26133         Added GstMessage for sending notifications on the bus.
26134         Added GstTask as an abstraction for pipeline entry points.
26135         Removed GstThread.
26136         Removed Schedulers.
26137         Simplified GstQueue for multithreaded core.
26138         Made _link threadsafe, removed old capsnego.
26139         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26140         Added pad blocking functions.
26141         Reworked scheduling functions in GstPad to prepare for
26142         scheduling updates soon.
26143         Moved events out of data stream.
26144         Simplified GstEvent types.
26145         Added return values to push/pull.
26146         Removed clocking from GstElement.
26147         Added prototypes for state change function for next merge.
26148         Removed iterate from bins and state change management.
26149         Fixed some elements, disabled others for now.
26150         Fixed -inspect and -launch.
26151         Added check for GstBus.
26152
26153 2005-03-10  Wim Taymans  <wim@fluendo.com>
26154
26155         * docs/design/part-MT-refcounting.txt:
26156         * docs/design/part-clocks.txt:
26157         * docs/design/part-gstelement.txt:
26158         * docs/design/part-gstobject.txt:
26159         * docs/design/part-standards.txt:
26160         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26161         (gst_bin_remove_func), (gst_bin_remove):
26162         * gst/gstbin.h:
26163         * gst/gstbuffer.c:
26164         * gst/gstcaps.h:
26165         * testsuite/clock/clock1.c: (main):
26166         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26167         (main):
26168         * testsuite/dlopen/loadgst.c: (do_test):
26169         * testsuite/refcounting/bin.c: (add_remove_test1),
26170         (add_remove_test2), (main):
26171         * testsuite/refcounting/element.c: (main):
26172         * testsuite/refcounting/element_pad.c: (main):
26173         * testsuite/refcounting/pad.c: (main):
26174         * tools/gst-launch.c: (sigint_handler_sighandler):
26175         * tools/gst-typefind.c: (main):
26176         Doc updates.
26177         Added doc about clock.
26178         removed gst_bin_iterate_recurse_up(), marked methods
26179         for removal.
26180         Fix more testsuites.
26181
26182 2005-03-09  Wim Taymans  <wim@fluendo.com>
26183
26184         * gst/gstpad.c: (gst_pad_get_direction),
26185         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26186         (gst_pad_collect_valist):
26187         * testsuite/bins/interface.c: (main):
26188         * testsuite/caps/audioscale.c: (test_caps):
26189         * testsuite/caps/caps.c: (test1), (test2), (test3):
26190         * testsuite/caps/deserialize.c: (main):
26191         * testsuite/caps/enumcaps.c: (main):
26192         * testsuite/caps/filtercaps.c: (main):
26193         * testsuite/caps/intersect2.c: (main):
26194         * testsuite/caps/random.c: (main):
26195         * testsuite/caps/renegotiate.c: (my_fixate), (main):
26196         * testsuite/caps/sets.c: (check_caps):
26197         * testsuite/caps/simplify.c: (check_caps), (main):
26198         * testsuite/caps/subtract.c: (check_caps):
26199         Fix _pad_get_direction wrt ghostpads.
26200         Fix caps testsuite.
26201
26202 2005-03-09  Wim Taymans  <wim@fluendo.com>
26203
26204         * check/Makefile.am:
26205         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26206         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26207         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26208         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26209         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26210         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26211         (gst_bin_remove), (gst_bin_iterate_recurse_up),
26212         (bin_element_is_sink), (gst_bin_iterate_sinks),
26213         (gst_bin_iterate_all_by_interface):
26214         * gst/gstbin.h:
26215         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26216         (gst_element_change_state), (gst_element_dispose),
26217         (gst_element_finalize), (gst_element_set_loop_function):
26218         * gst/gstelement.h:
26219         * gst/gstiterator.c: (find_custom_fold_func):
26220         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26221         (gst_pad_collectv), (gst_pad_collect_valist),
26222         (gst_pad_template_new):
26223         * gst/gstpipeline.c: (gst_pipeline_class_init),
26224         (gst_pipeline_dispose), (gst_pipeline_set_property),
26225         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26226         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26227         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26228         * gst/gstutils.h:
26229         * gst/schedulers/entryscheduler.c:
26230         * gst/schedulers/gstbasicscheduler.c:
26231         (gst_basic_scheduler_cothreaded_chain),
26232         (gst_basic_scheduler_chain_add_element):
26233         * testsuite/bins/interface.c: (main):
26234         Added GstBin test.
26235         Added GstSystemClock test.
26236         Implemented clock distribution code in GstBin.
26237         Implemented iterate sinks method for future use.
26238         Rearranged gstelement.h
26239         Fix GstIterator comparison bug.
26240         Moved some code to GstPipeline, mostly clocking related.
26241
26242 2005-03-09  Wim Taymans  <wim@fluendo.com>
26243
26244         * configure.ac:
26245         * gst/gst_private.h:
26246         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26247         (gst_bin_remove_func), (gst_bin_remove),
26248         (gst_bin_get_by_name_recurse_up):
26249         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26250         (gst_clock_id_compare_func), (gst_clock_id_wait),
26251         (gst_clock_id_wait_async), (gst_clock_init),
26252         (gst_clock_adjust_unlocked), (gst_clock_get_time):
26253         * gst/gstelement.h:
26254         * gst/gstinfo.c: (_gst_debug_init):
26255         * gst/gstobject.h:
26256         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26257         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26258         * gst/gstpad.h:
26259         Bump version number, we're now 0.9.0
26260         Add future debugging category.
26261         Fix NULL _unref() in _get_by_name_recurse_up
26262         Rearrange gstpad.h.
26263         Update some docs.
26264
26265 2005-03-08  Wim Taymans  <wim@fluendo.com>
26266
26267         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26268         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26269         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26270         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26271         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26272         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26273         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26274         * gst/elements/gstidentity.c: (gst_identity_class_init):
26275         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26276         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26277         * gst/elements/gstshaper.c: (gst_shaper_class_init):
26278         * gst/elements/gststatistics.c: (gst_statistics_class_init):
26279         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26280         (gst_tee_link):
26281         * gst/gstelement.c: (gst_element_class_init),
26282         (gst_element_base_class_init), (gst_element_init),
26283         (gst_element_get_random_pad), (gst_element_wait_state_change),
26284         (gst_element_change_state), (gst_element_dispose),
26285         (gst_element_finalize), (gst_element_set_loop_function):
26286         * gst/gstelement.h:
26287         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26288         * gst/gstthread.c: (gst_thread_class_init),
26289         (gst_thread_release_children_locks), (gst_thread_change_state):
26290         * gst/schedulers/gstbasicscheduler.c:
26291         (gst_basic_scheduler_loopfunc_wrapper),
26292         (gst_basic_scheduler_chain_wrapper),
26293         (gst_basic_scheduler_src_wrapper),
26294         (gst_basic_scheduler_remove_element):
26295         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26296         Remove threadsafe properties. Fix elements because GObject
26297         complains when installing a property before declaring a
26298         set/get_property handler.
26299         Rearrange gstelement.h file, use STATE macros for state locks.
26300         Free mutexes in the finalize method instead of dispose.
26301
26302 2005-03-08  Wim Taymans  <wim@fluendo.com>
26303
26304         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26305         * gst/gstthread.c: (gst_thread_release_children_locks):
26306         Added parentage check.
26307         Fix build og GstThread again.
26308
26309 2005-03-08  Wim Taymans  <wim@fluendo.com>
26310
26311         * docs/design/part-MT-refcounting.txt:
26312         * docs/design/part-conventions.txt:
26313         * docs/design/part-gstobject.txt:
26314         * docs/design/part-relations.txt:
26315         * docs/design/part-standards.txt:
26316         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26317         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26318         (gst_bin_get_by_name), (gst_bin_get_by_interface),
26319         (gst_bin_iterate_all_by_interface):
26320         * gst/gstbuffer.h:
26321         * gst/gstclock.h:
26322         * gst/gstelement.c: (gst_element_class_init),
26323         (gst_element_change_state), (gst_element_set_loop_function):
26324         * gst/gstelement.h:
26325         * gst/gstiterator.c:
26326         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26327         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26328         (gst_object_dispatch_properties_changed), (gst_object_set_name),
26329         (gst_object_set_parent), (gst_object_unparent),
26330         (gst_object_check_uniqueness):
26331         * gst/gstobject.h:
26332         Docs updates, clean up some headers.
26333
26334 2005-03-07  Wim Taymans  <wim@fluendo.com>
26335
26336         * check/.cvsignore:
26337         * check/Makefile.am:
26338         * check/gst-libs/.cvsignore:
26339         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26340         * check/gst/.cvsignore:
26341         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26342         (START_TEST), (gstbus_suite), (main):
26343         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26344         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26345         (gst_data_suite), (main):
26346         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26347         (add_fold_func), (gstiterator_suite), (main):
26348         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26349         (thread_name_object), (thread_name_object_default),
26350         (gst_object_name_compare), (gst_object_suite), (main):
26351         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26352         (gst_pad_suite), (main):
26353         * check/gstcheck.c: (gst_check_log_message_func),
26354         (gst_check_log_critical_func), (gst_check_init):
26355         * check/gstcheck.h:
26356         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26357         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26358         Added checks.
26359
26360 2005-03-07  Wim Taymans  <wim@fluendo.com>
26361
26362         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26363         (gst_list_iterator_next), (gst_list_iterator_resync),
26364         (gst_list_iterator_free), (gst_iterator_new_list),
26365         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26366         (gst_iterator_free), (gst_iterator_push), (filter_next),
26367         (filter_resync), (filter_uninit), (filter_free),
26368         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26369         (gst_iterator_foreach), (find_custom_fold_func),
26370         (gst_iterator_find_custom):
26371         * gst/gstiterator.h:
26372         Added missing files.
26373
26374 2005-03-07  Wim Taymans  <wim@fluendo.com>
26375
26376         * Makefile.am:
26377         * configure.ac:
26378         * docs/design/part-MT-refcounting.txt:
26379         * docs/design/part-conventions.txt:
26380         * docs/design/part-gstobject.txt:
26381         * docs/design/part-relations.txt:
26382         * examples/mixer/mixer.c: (main):
26383         * examples/thread/thread.c: (eos), (main):
26384         * gst/Makefile.am:
26385         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26386         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26387         (gst_spider_plug_from_srcpad):
26388         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26389         (gst_spider_identity_change_state),
26390         (gst_spider_identity_sink_loop_type_finding):
26391         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26392         * gst/elements/gstidentity.c: (gst_identity_init):
26393         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26394         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26395         * gst/elements/gsttypefindelement.c: (free_entry):
26396         * gst/gst.c:
26397         * gst/gst.h:
26398         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26399         (gst_bin_set_clock_func), (gst_bin_auto_clock),
26400         (gst_bin_set_index), (gst_bin_set_element_sched),
26401         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26402         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26403         (gst_bin_iterate_elements), (iterate_child_recurse),
26404         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26405         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26406         (compare_interface), (gst_bin_get_by_interface),
26407         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26408         * gst/gstbin.h:
26409         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26410         (gst_buffer_default_free), (gst_buffer_default_copy),
26411         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26412         (gst_buffer_create_sub):
26413         * gst/gstbuffer.h:
26414         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26415         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26416         (gst_caps_unref), (gst_static_caps_get),
26417         (gst_caps_remove_and_get_structure), (gst_caps_append),
26418         (gst_caps_append_structure), (gst_caps_remove_structure),
26419         (gst_caps_copy_nth), (gst_caps_set_simple),
26420         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26421         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26422         (gst_caps_structure_intersect_field), (gst_caps_intersect),
26423         (gst_caps_structure_subtract_field), (gst_caps_subtract),
26424         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26425         (gst_caps_structure_figure_out_union),
26426         (gst_caps_switch_structures), (gst_caps_do_simplify),
26427         (gst_caps_replace), (gst_caps_from_string),
26428         (gst_caps_copy_conditional):
26429         * gst/gstcaps.h:
26430         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26431         (_gst_clock_id_free), (gst_clock_id_unref),
26432         (gst_clock_id_compare_func), (gst_clock_id_wait),
26433         (gst_clock_id_wait_async), (gst_clock_class_init),
26434         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26435         (gst_clock_get_time), (gst_clock_set_time_adjust),
26436         (gst_clock_set_property), (gst_clock_get_property):
26437         * gst/gstclock.h:
26438         * gst/gstcompat.h:
26439         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26440         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26441         * gst/gstdata.h:
26442         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26443         (gst_element_requires_clock), (gst_element_provides_clock),
26444         (gst_element_set_clock), (gst_element_clock_wait),
26445         (gst_element_wait), (gst_element_set_time_delay),
26446         (gst_element_is_indexable), (gst_element_add_pad),
26447         (gst_element_add_ghost_pad), (gst_element_remove_pad),
26448         (pad_compare_name), (gst_element_get_static_pad),
26449         (gst_element_request_pad), (gst_element_get_request_pad),
26450         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26451         (gst_element_class_get_pad_template_list),
26452         (gst_element_class_get_pad_template), (gst_element_error_func),
26453         (gst_element_get_random_pad), (gst_element_get_event_masks),
26454         (gst_element_send_event), (gst_element_seek),
26455         (gst_element_get_query_types), (gst_element_query),
26456         (gst_element_get_formats), (gst_element_convert),
26457         (gst_element_is_locked_state), (gst_element_set_locked_state),
26458         (gst_element_sync_state_with_parent), (gst_element_change_state),
26459         (gst_element_finalize), (gst_element_yield),
26460         (gst_element_interrupt), (gst_element_set_scheduler),
26461         (gst_element_get_scheduler), (gst_element_set_loop_function):
26462         * gst/gstelement.h:
26463         * gst/gstevent.h:
26464         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26465         (gst_format_get_by_nick), (gst_format_get_details),
26466         (gst_format_iterate_definitions):
26467         * gst/gstformat.h:
26468         * gst/gstindex.c: (gst_index_gtype_resolver):
26469         * gst/gstinfo.c:
26470         * gst/gstinfo.h:
26471         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26472         (gst_mem_chunk_free):
26473         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26474         (gst_object_ref), (gst_object_unref), (gst_object_sink),
26475         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26476         (gst_object_dispatch_properties_changed),
26477         (gst_object_set_name_default), (gst_object_set_name),
26478         (gst_object_get_name), (gst_object_set_name_prefix),
26479         (gst_object_get_name_prefix), (gst_object_set_parent),
26480         (gst_object_get_parent), (gst_object_unparent),
26481         (gst_object_check_uniqueness), (gst_object_save_thyself),
26482         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26483         (gst_object_set_property), (gst_object_get_property),
26484         (gst_object_get_path_string):
26485         * gst/gstobject.h:
26486         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26487         (gst_real_pad_init), (gst_real_pad_get_property),
26488         (gst_pad_custom_new), (gst_pad_get_direction),
26489         (gst_pad_set_active), (gst_pad_is_active),
26490         (gst_pad_set_event_function), (gst_pad_is_linked),
26491         (gst_pad_link_free), (gst_pad_link_intersect),
26492         (gst_pad_link_fixate), (gst_pad_set_caps),
26493         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26494         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26495         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26496         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26497         (gst_pad_get_caps), (gst_pad_peer_get_caps),
26498         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26499         (gst_pad_realize), (gst_pad_get_allowed_caps),
26500         (gst_real_pad_dispose), (gst_real_pad_finalize),
26501         (gst_pad_collectv), (gst_pad_collect_valist),
26502         (gst_pad_template_dispose), (gst_pad_template_new),
26503         (gst_pad_get_internal_links):
26504         * gst/gstpad.h:
26505         * gst/gstpipeline.c: (gst_pipeline_dispose),
26506         (gst_pipeline_change_state):
26507         * gst/gstpipeline.h:
26508         * gst/gstplugin.c:
26509         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26510         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26511         * gst/gstpluginfeature.h:
26512         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26513         * gst/gstquery.c: (_gst_query_type_initialize),
26514         (gst_query_type_register), (gst_query_type_get_by_nick),
26515         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26516         * gst/gstquery.h:
26517         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26518         * gst/gstscheduler.c: (gst_scheduler_add_element),
26519         (gst_scheduler_factory_create):
26520         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26521         (gst_structure_free), (gst_structure_set_name),
26522         (gst_structure_id_set_value), (gst_structure_set_value),
26523         (gst_structure_set_valist), (gst_structure_remove_field),
26524         (gst_structure_remove_fields),
26525         (gst_structure_remove_fields_valist),
26526         (gst_structure_remove_all_fields), (gst_structure_foreach),
26527         (gst_structure_map_in_place),
26528         (gst_caps_structure_fixate_field_nearest_int),
26529         (gst_caps_structure_fixate_field_nearest_double):
26530         * gst/gststructure.h:
26531         * gst/gstsystemclock.c: (gst_system_clock_class_init),
26532         (gst_system_clock_init), (gst_system_clock_dispose),
26533         (gst_system_clock_async_thread),
26534         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26535         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26536         * gst/gstsystemclock.h:
26537         * gst/gsttag.c: (gst_tag_list_add_value_internal),
26538         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26539         * gst/gsttaginterface.c:
26540         * gst/gstthread.c: (gst_thread_dispose),
26541         (gst_thread_release_children_locks), (gst_thread_change_state),
26542         (gst_thread_main_loop):
26543         * gst/gsttrashstack.h:
26544         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26545         * gst/gsttypes.h:
26546         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26547         (gst_element_request_pad), (gst_element_get_pad_from_template),
26548         (gst_element_request_compatible_pad),
26549         (gst_element_get_compatible_pad_filtered),
26550         (gst_element_get_compatible_pad), (gst_element_state_get_name),
26551         (gst_element_link_pads_filtered), (gst_element_link_filtered),
26552         (gst_element_link_many), (gst_element_link),
26553         (gst_element_link_pads), (gst_element_unlink_pads),
26554         (gst_element_unlink_many), (gst_element_unlink),
26555         (gst_pad_can_link_filtered), (gst_pad_can_link),
26556         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26557         (gst_object_default_error), (gst_bin_add_many),
26558         (gst_bin_remove_many), (gst_element_populate_std_props),
26559         (gst_element_class_install_std_props), (gst_buffer_merge),
26560         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26561         (link_fold_func), (gst_pad_proxy_setcaps):
26562         * gst/gstutils.h:
26563         * gst/gstvalue.c: (gst_value_deserialize_string):
26564         * gst/parse/grammar.y:
26565         * gst/schedulers/gstbasicscheduler.c:
26566         (gst_basic_scheduler_cothreaded_chain),
26567         (gst_basic_scheduler_chain_recursive_add),
26568         (gst_basic_scheduler_pad_link):
26569         * gst/schedulers/gstoptimalscheduler.c:
26570         (get_group_schedule_function),
26571         (gst_opt_scheduler_state_transition),
26572         (gst_opt_scheduler_add_element), (element_get_reachables_func):
26573         * libs/gst/bytestream/bytestream.c:
26574         * libs/gst/dataprotocol/dataprotocol.c:
26575         (gst_dp_header_from_buffer):
26576         * po/nb.po:
26577         * po/ru.po:
26578         * tests/threadstate/threadstate2.c: (eos):
26579         * tools/gst-compprep.c: (main):
26580         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26581         (print_pad_info), (print_children_info):
26582         * tools/gst-launch.c: (idle_func), (main):
26583         * tools/gst-md5sum.c: (idle_func), (main):
26584         * tools/gst-xmlinspect.c: (print_element_info):
26585         First THREADED backport attempt, focusing on adding locks and
26586         making sure the API is threadsafe. Needs more work. More docs
26587         follow this week.
26588
26589 2005-02-24  Andy Wingo  <wingo@pobox.com>
26590
26591         * tests/bench-complexity.scm:
26592         * tests/complexity.gnuplot: New files, good for running complexity
26593         benchmarks.
26594
26595         * tests/Makefile.am:
26596         * tests/complexity.c: New test, sets up N elements, at each level
26597         teeing into M streams per element. Eeeenteresting.
26598
26599         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26600         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26601         running bench-mass_elements.scm.
26602
26603         * tests/bench-mass_elements.scm: New script, runs mass_elements
26604         for various numbers of identities, outputting the results to a
26605         file. Requires guile 1.6. Just for testing.
26606
26607 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26608
26609         * gst/schedulers/fairscheduler.c:
26610           compile with debug disabled
26611
26612 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26613
26614         * configure.ac:
26615           hunting season on 0.9 is now OPEN