4d3e97a068db6db0cf5e5442e169a2c5ddea782a
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
2
3         * gst/gstutils.c:
4         * gst/gstutils.h:
5           Actually its not PURE as it gets the time from elsewhere.
6
7 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
8
9         * docs/gst/gstreamer-sections.txt:
10         * gst/gstclock.h:
11         * gst/gstdebugutils.c:
12         * gst/gstinfo.c:
13         * gst/gstutils.c:
14         * gst/gstutils.h:
15         * libs/gst/base/gstbasesink.c:
16         * tools/gst-launch.c:
17           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
18           uses as we don't have HAVE_POSIX_TIMERS in public headers.
19           Thanks Tim for spotting.
20
21 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
22
23         * configure.ac:
24           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
25
26 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
27
28         * gst/gststructure.c: (gst_structure_validate_name),
29           (gst_structure_new_valist), (gst_structure_parse_value),
30           (gst_structure_from_string):
31           Don't crash in _from_string() if the structure name is not valid
32           (fixes #501560).  Allow structure names to start with a number
33           again (this apparently broke the ubuntu codec installer).
34
35         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
36           (GST_START_TEST):
37           Add unit test for the crash; update unit tests for new behaviour.
38
39 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
40
41         * gst/gstutils.c:
42         Clarify gst_element_get_compatible_pad() documentation.
43         Fixes #500919.
44
45 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
46
47         * tests/check/Makefile.am:
48           Don't forget to dist {gst,libs}/struct_hppa.h.
49
50 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
51
52         * libs/gst/base/gstbasesink.c:
53           Use new API to get elapsed time.
54
55 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
56
57         * gst/gstdebugutils.c:
58         * gst/gstinfo.c:
59           Fix wrong order of args in GST_CLOCK_DIFF() usage.
60
61         * tools/gst-launch.c:
62           Use new API to get elapsed time.
63
64 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
65
66         * docs/gst/gstreamer-sections.txt:
67         * gst/gstclock.h:
68         * gst/gstdebugutils.c:
69         * gst/gstinfo.c:
70           Rename new API + ChangeLog surgery to remove old name from last entry..
71           API: GST_GET_TIMESTAMP
72
73 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
74
75         * docs/gst/gstreamer-sections.txt:
76         * gst/gstclock.h:
77         * gst/gstdebugutils.c:
78         * gst/gstinfo.c:
79           Now hide the different clock stuff behind a macro.
80
81 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
82
83         * configure.ac:
84         * gst/gstdebugutils.c:
85         * gst/gstinfo.c:
86           Apply the posix-timer check from #361155. Conditionally use the posix
87           timer for logging. This gives better timestamp precission, less
88           overhead and no ntp jitter.
89
90 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
91
92         * gst/gstminiobject.c: (gst_mini_object_get_type),
93         (gst_mini_object_class_init), (gst_mini_object_copy_default),
94         (gst_mini_object_finalize), (gst_mini_object_copy),
95         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
96         (gst_mini_object_replace), (param_mini_object_validate),
97         (gst_param_spec_mini_object_get_type):
98         Some cleanup and checking against invalid function parameters.
99
100 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
101
102         * docs/gst/gstreamer-sections.txt:
103         * gst/gstclock.h:
104         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
105         (gst_systemclock_suite):
106         Start merging in the easy bits of #361155, the monotonic clock patch.
107         This one adds a few handy macros with docs and a testsuite.
108
109 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
110
111         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
112         Be a bit smarter when seeking, like, don't try to do a seek when it's
113         not needed. This avoids errors when the file is not seekable.
114         Fixes #499771.
115
116 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
117
118         * docs/gst/gstreamer-docs.sgml:
119         * docs/gst/gstreamer-sections.txt:
120         * docs/gst/gstreamer.types.in:
121         * gst/Makefile.am:
122         * gst/gst.h:
123         * gst/gstpreset.c:
124         * gst/gstpreset.h:
125         * plugins/elements/gstqueue.c:
126           Due to popular request remove preset interface again. :-(.
127
128 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
129
130         * tools/gst-inspect.c:
131           Print 'default value' for enums and flags too.
132
133 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
134
135         * docs/random/ensonic/profiling.txt:
136           More ideas.
137
138         * gst/gstbin.c:
139           Fix typo and give better log output.
140
141         * gst/gstdebugutils.c:
142         * gst/gstdebugutils.h:
143           More ideas, make graphs a bit smaller and fix param name in macro.
144
145 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
146
147         * gst/gstpreset.c:
148           Try harder to use the return value from fgets().
149
150 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
151
152         * gst/gstpreset.c:
153           For theses two fgets we handle the error below.
154
155 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
156
157         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
158         Only send upstream events upstream. Fixes #498746.
159
160 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
161
162         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
163
164         * plugins/elements/gstidentity.c: (gst_identity_class_init),
165         (gst_identity_init), (gst_identity_transform_ip),
166         (gst_identity_set_property), (gst_identity_get_property):
167         * plugins/elements/gstidentity.h:
168         Add property to disable handoff signal emission. Fixes #498694.
169         API: GstIdentity::signal-handoffs
170
171 2007-11-21  Julien Moutte  <julien@fluendo.com>
172
173         * docs/faq/gst-uninstalled: Yet another missing library for the
174         uninstalled script (fft)
175
176 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
177
178         * docs/faq/developing.xml:
179         Add a question about how to submit new translations.
180
181         * docs/random/release:
182         Update the contact email address for the Translation Project
183
184         * plugins/elements/gstfdsrc.c:
185         The parent_class for fdsrc is pushsrc, not GstElement.
186
187 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
188
189         * gst/gstpreset.c:
190           Plug a leak and fix saving.
191
192 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
193
194         * docs/gst/gstreamer-sections.txt:
195         Add new gst_preset__get_property_names() function to the docs
196         to fix the build.
197
198 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
199
200         * gst/gstpreset.c:
201         * gst/gstpreset.h:
202           Change _get_preset_names API to return a strv with copies. Add
203           _get_property_names to allow implementations to filter and provide
204           good default implementation.
205
206 2007-11-20  Julien MOUTTE  <julien@moutte.net>
207
208         * docs/faq/gst-uninstalled: Add another library to the uninstalled
209         script (sdp).
210
211 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
212
213         * gst/gstpreset.c:
214           More cleanups, docs, and TODOs from comments that now slowly come in.
215
216 2007-11-19  Julien MOUTTE  <julien@moutte.net>
217
218         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
219         search path.
220
221 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
222
223         * gst/gstpreset.c:
224           Fix bogus warning and make the property type specific code more
225           similar.
226
227 2007-11-19  Julien MOUTTE  <julien@moutte.net>
228
229         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
230         it build on OS X.
231
232 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
233
234         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
235         (gst_bin_add_func), (gst_bin_remove_func),
236         (gst_bin_change_state_func), (gst_bin_continue_func):
237         Change email, cleanups add some more debug and comments.
238         Also set bus and clock on new elements when the pipeline was in error.
239
240 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
241
242         * gst/gstbin.c:
243         * gst/gstdebugutils.c:
244           Fix build with --disable-gst-debug. Fixes #497859.
245           Spotted by Sameer Naik.
246
247 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
248
249         * gst/gstevent.c:
250           Little documentation improvment.
251
252         * gst/gstpreset.c:
253           More TODO cleanups. Remove c++ comments.
254
255         * libs/gst/controller/gstcontroller.c:
256           Add TODO and use quark from static string.
257
258         * tests/check/gst/gstmessage.c:
259         * tests/check/gst/gststructure.c:
260           Use quark from static string.
261
262 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
263
264         * gst/gstpreset.c:
265           Add some comments and TODOs.
266
267         * gst/gstpreset.h:
268           Add padding for future changes.
269
270         * plugins/elements/gstqueue.c:
271           Implement the iface.    
272
273 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
274
275         * docs/gst/gstreamer-docs.sgml:
276         * docs/gst/gstreamer-sections.txt:
277         * docs/gst/gstreamer.types.in:
278         * gst/Makefile.am:
279         * gst/gst.h:
280         * gst/gstpreset.c:
281         * gst/gstpreset.h:
282           Add the preset interface (Fixes #396779). Do some doc cleanups along.
283
284 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
285
286         * configure.ac:
287
288         Back to CVS
289
290 === release 0.10.15 ===
291
292 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
293
294         * configure.ac:
295           releasing 0.10.15, "October"
296
297 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
298
299         * win32/vs6/libgstreamer.dsp:
300         Convert line endings back to DOS.
301
302 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
303
304         * docs/design/draft-tagreading.txt:
305         * docs/random/ensonic/profiling.txt:
306         Update fast tagreading draft and performance profiling ideas.
307
308 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
309
310         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
311         Don't hold the object lock when unreffing a buffer because it could
312         cause a deadlock when the finalize function wants to grab the object
313         lock too. Fixes #495133.
314
315 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
316
317         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
318         (gst_segment_to_stream_time), (gst_segment_to_running_time):
319         Also accumulate time correctly when doing reverse playback. Fixes
320         #488201,
321         When converting to running and stream time, use default values for
322         start/stop/time/accum when comparing different formats. Fixes #494245.
323
324         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
325         Do running/stream time in TIME format.
326
327         * tests/check/gst/gstsegment.c: (GST_START_TEST),
328         (gst_segment_suite):
329         2 new unit tests for segment accumulation.
330
331 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
332
333         * gst/gst.c: (init_pre):
334         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
335           (_gst_debug_bin_to_dot_file):
336           Move getenv() back into gst_init, so everyone can live happily
337           ever after. Make sure the symbol isn't exported though.
338
339 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
340
341         Patch by: Sebastien Moutte  <sebastien moutte net>
342
343         * win32/common/gstenumtypes.c:
344         * win32/common/gstenumtypes.h:
345           Update enum types.
346
347         * win32/vs6/libgstreamer.dsp:
348           Update vs6 project files (#494343).
349
350 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
351
352         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
353         (gst_base_src_perform_seek), (gst_base_src_default_event),
354         (gst_base_src_set_flushing), (gst_base_src_activate_push),
355         (gst_base_src_activate_pull):
356         Unify flushing code, remove some old unlock code that is no longer used.
357         Take the streaming lock when seeking to avoid races. Fixes #492729.
358         Added some more comments.
359
360 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
361
362         * gst/gst.c: (_gst_disable_segtrap):
363           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
364           we can use gst_segtrap_is_enabled() there now that we have that API.
365           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
366           to do the getenv here (and export the variable).
367
368         * gst/gstdebugutils.c: (debug_dump_element),
369           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
370           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
371
372         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
373           (gst_debug_log_default):
374           Rename _gst_info_start_time to priv_gst_info_start_time so it
375           doesn't get exported (was never in any header).
376
377         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
378           (gst_plugin_loading_mutex):
379           Make static mutex gst_plugin_loading_mutex really static (was never
380           in any header), and use gst_segtrap_is_enabled() instead of
381           _gst_disable_segtrap.
382
383         * gst/gsttrace.c: (_gst_trace_default):
384           Make local _gst_trace_default static (was never in any header).
385
386 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
387
388         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
389
390         * win32/common/libgstbase.def:
391         * win32/common/libgstcontroller.def:
392         * win32/common/libgstdataprotocol.def:
393         * win32/common/libgstnet.def:
394         * win32/common/libgstreamer.def:
395           Add more missing symbols, remove some duplicates, and sort
396           as the 'sort' command sorts it (partially fixes #493983).
397
398 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
399
400         * gst/gstelement.c: (gst_element_set_state_func):
401         Only change the state cookie if a different state was set on the
402         element. See #492729.
403
404 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
405
406         * gst/gstvalue.c:
407           Remove unused and uninitialised type variables that were still
408           exported for some reason (they were never in any header files
409           though).
410
411 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
412
413         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
414         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
415         (gst_base_sink_event), (gst_base_sink_get_position_last),
416         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
417         (gst_base_sink_change_state):
418         Don't try to report a 0 position when we don't know, return -1 and FALSE
419         instead. This mostly happens when we are prerolling.
420         Make sure we can report the right position before we post the ASYNC_DONE
421         message so that a message handler can query position without races.
422
423         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
424         (async_done_handoff), (async_done_func), (send_buffer),
425         (async_done_eos_func), (gst_sinks_suite):
426         Add two tests for the above.
427
428 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
429
430         * MAINTAINERS:
431         Update with new email address.
432
433         * docs/design/part-TODO.txt:
434         Add some more info about future pad-block and negotiation changes.
435
436         * docs/design/part-buffering.txt:
437         Add some ideas about buffering reporting.
438
439 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
440
441         * tests/check/gst/gstobject.c:
442         Disable silly racy test that always fails on this combination of CPU
443         and kernel.
444
445 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
446
447         Patch by: Murray Cumming  <murrayc@murrayc.com>
448
449         * gst/gstobject.c:
450           Corrected the registration of the parent-set and parent-unset
451           signals: The parameter is a GstObject, not a GObject (#493134).
452
453 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
454
455         * gst/gst_private.h:
456         * gst/gstbuffer.h:
457         * gst/gstevent.h:
458         * gst/gstformat.h:
459         * gst/gstmessage.h:
460         * gst/gstplugin.h:
461         * gst/gstquery.h:
462         * gst/gsttaglist.h:
463         * gst/gstvalue.h:
464           Move declaration of private _gst_foo_initialize() functions into
465           our private header file where they should have been all along.
466
467 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
468
469         * docs/plugins/gstreamer-plugins-sections.txt:
470         * gst/gstdebugutils.h:
471         * gst/gstxml.h:
472         * plugins/elements/gstqueue.c:
473           gtk-doc fixes; trailing-comma-in-enum fix.
474
475 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
476
477         * gst/gst.c: (gst_deinit):
478           Clean up on deinit (not the external ones though, doesn't seem to be
479           needed for some reason).
480
481 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
482
483         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
484           Remove __declspec(dllimport) for MSVC that was copied over into core
485           from a plugin, obviously without ever having been tested (note the
486           single underscore in _declspec in the initial commit), and that doesn't
487           really make sense.  See #492077.
488
489 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
490
491         * gst/gst.c: (init_post):
492         * gst/gstevent.c: (_gst_event_initialize):
493         * gst/gstquery.c: (_gst_query_initialize):
494         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
495           g_type_class_ref() other types as well, see #349410 and #64764.
496
497         * gst/gstbuffer.c: (_gst_buffer_initialize):
498         * gst/gstmessage.c: (_gst_message_initialize):
499           Simplify existing g_type_class_ref().
500
501 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
502
503         * gst/gstformat.c: (_gst_format_initialize):
504           g_type_class_ref() our GstFormat type to make sure we avoid the
505           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
506           bug #64764. Should fix intermittent tee unit test failures (#474823).
507
508 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
509
510         * tests/check/elements/tee.c: (test_num_buffers):
511           Simplify, simplify, simplify - or not.  Rewrite unit test
512           not to use gst_parse_launch(); allow N sub-streams. Increasing
513           the number of sub-streams seems to reproduce #474823 more easily.
514
515 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
516
517         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
518
519         * gst/gsttrace.c:
520         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
521         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
522         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
523           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
524           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
525           so use _pipe() directly (#492077).
526
527         * win32/common/dirent.c: (_treaddir):
528           Add a couple of casts to make it build without warnings with MSVC.
529
530         * win32/common/libgstreamer.def:
531           Add some more symbols that need to be exported.
532
533 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
534
535         * tests/examples/metadata/read-metadata.c: (message_loop):
536           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
537           arriving in a second or third tag message are added to
538           the tag list as well.
539
540 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
541
542         * libs/gst/base/gstbasesrc.c:
543           Its "Since:" and not "@Since:". And remove an superflous cast.
544
545 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
546
547         * docs/libs/gstreamer-libs-sections.txt:
548         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
549         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
550         (gst_base_sink_get_property), (gst_base_sink_render_object),
551         (gst_base_sink_preroll_object),
552         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
553         (gst_base_sink_change_state):
554         * libs/gst/base/gstbasesink.h:
555         Add a new last-buffer property that contains the last buffer used in
556         basesink for preroll or rendering. useful for making snapshots.
557         API: gst_base_sink_get_last_buffer()
558         API: GstBaseSink::last-buffer
559
560 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
561
562         * docs/gst/running.xml:
563         * gst/gst.c:
564         * gst/gstdebugutils.c:
565         * gst/gstdebugutils.h:
566         * tools/gst-launch.c:
567           Improve bin graph dumping, by using the envvar to specify a path.
568           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
569
570 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
571
572         * plugins/elements/gsttypefindelement.c:
573           (gst_type_find_element_handle_event),
574           (gst_type_find_element_activate):
575           Post special error message if we can't determine the type of a stream
576           because it's empty.
577
578 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
579
580         * docs/gst/running.xml:
581         * gst/gstdebugutils.c:
582           Document new env-var. Add one log-line after dumpng a graph.
583
584 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
585
586         * configure.ac:
587           Ugly hack to put the (recently removed and non-portable, apparently)
588           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
589           GNU ld, because without that 'make check' fails miserably on my debian
590           stable box.  Someone with more knowledge of linker intricacies and
591           portability issues than me fix this properly please.
592
593 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
594
595         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
596         Reset last seen position after flushing so that we don't report the old
597         position anymore.
598
599 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
600
601         * gst/gstelementfactory.c: (gst_element_register):
602         * gst/gsturi.h:
603         Patch from Alessandro Decina adding get_type_full and
604         get_protocols_full private vfuncs to the URIHandler interface
605         to allow bindings to support creating URI handlers. 
606         Partially fixes: #339279
607         API: GstURIHandlerInterface::get_type_full
608         API: GstURIHandlerInterface::get_protocols_full
609
610 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
611
612         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
613         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
614         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
615         Make it so that pads are considered linked until a buffer is pushed
616         and discovered otherwise. This avoids problems with decodebin2 hanging
617         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
618         case.
619
620         Make sure we lock the multiqueue when updating the max-size properties.
621         
622         Fix a crash on Solaris in a debug statement in get_request_pad that
623         passes a NULL string to GST_DEBUG. 
624
625         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
626         (run_output_order_test):
627         Fix the test to allow the first buffer on not-linked pads to come out
628         of sequence while multiqueue discovers that they are not-linked.
629
630 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
631
632         * configure.ac:
633         * libs/gst/check/Makefile.am:
634         Use a custom export symbol regex for libgstcheck, as it needs
635         to export symbols that don't match the standard GStreamer gst_*
636         pattern, and  --export-dynamic is not portable (only works on 
637         GNU ld)
638
639         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
640         (gst_check_setup_sink_pad):
641         Make sure to pass a message parameter to the fail_* macros.
642
643         * tests/check/gst/gstinfo.c: (GST_START_TEST):
644         Fix some compiler warnings.
645
646 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
647
648         * tests/check/gst/gststructure.c: (test_to_string):
649           Disable test that checks that white spaces are not allowed
650           in structure names or field names, since we need to
651           support that for now for backwards compatibility reasons.
652
653 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
654
655         * docs/gst/gstreamer-sections.txt:
656         * gst/gsttaglist.c:
657         * gst/gsttaglist.h:
658           API: add GST_TAG_ARTIST_SORTNAME
659           API: add GST_TAG_ALBUM_SORTNAME
660           API: add GST_TAG_TITLE_SORTNAME
661           Add tag variants for sorting (#414539).
662
663 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
664
665         * gst/gststructure.c:
666           Also allow white space for names so we don't break
667           backwards compatibility.
668
669 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
670
671         * docs/design/part-TODO.txt:
672         * docs/design/part-segments.txt:
673         * docs/design/part-streams.txt:
674         Small updates.
675
676 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
677
678         * docs/gst/gstreamer-sections.txt:
679          Fixed documentation from my previous commit (added new API add
680          gst_value_set_structure(), add gst_value_get_structure() and
681          GST_VALUE_HOLDS_STRUCTURE).
682
683 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
684
685         * gst/gstdebugutils.c:
686           Reflow code to fix uninitialized variable warning.
687
688 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
689
690         * gst/gstcaps.c: (gst_caps_to_string),
691         (gst_caps_from_string_inplace):
692         * gst/gststructure.c: (gst_structure_get_abbrs),
693         (gst_structure_to_string), (gst_structure_from_string):
694         * gst/gstvalue.c: (gst_value_set_structure),
695         (gst_value_get_structure), (gst_value_serialize_structure),
696         (gst_value_deserialize_structure), (_gst_value_initialize):
697         * gst/gstvalue.h:
698         * tests/check/gst/gststructure.c: (GST_START_TEST),
699         (gst_structure_suite):
700         * tests/check/gst/gstvalue.c: (GST_START_TEST):
701          Added GstStructure to gst_value_table and its related functions.
702          Changed gst_structure_to_string to print ';' in the end.
703          Changed gst_caps_to_string to not print ';' beteween its
704          fields (structures) anymore and remove the lastes ';' from latest
705          structure. Now it is possible to have nested structures.
706          In addition, backward compatibilty is assured by accepting '\0' as
707          end delimiter. Fixes: #487969.
708          API: add gst_value_set_structure()
709          API: add gst_value_get_structure()
710          API: add GST_VALUE_HOLDS_STRUCTURE
711
712 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
713
714         * gst/gstbus.c:
715           When no GSource callback has been set up, tell developer
716           to use a function that actually exists.
717
718 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
719
720         * docs/gst/gstreamer-sections.txt:
721         * gst/Makefile.am:
722         * gst/gst.c:
723         * gst/gst.h:
724         * gst/gstdebugutils.c:
725         * gst/gstdebugutils.h:
726         * gst/gstinfo.c:
727         * gst/gstinfo.h:
728         * tools/gst-launch.c:
729           Allow dumping pipelines as dot graphs. Fixes #456573.
730
731 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
732
733         * gst/gststructure.c:
734           Allow '+' as well, it can be part of media or mime types
735           such as image/svg+xml.
736
737 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
738
739         * docs/gst/gstreamer-sections.txt:
740         * gst/gstbus.c:
741         * gst/gstbus.h:
742           API: add gst_bus_pop_filtered
743           API: add gst_bus_timed_pop_filtered
744           Two new functions for waiting for specific message types on the
745           bus for a specified amount of time without iterating any main
746           loops or main contexts.
747
748         * tests/check/gst/gstbus.c:
749           Some tests for the new functions.
750
751 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
752
753         * docs/libs/gstreamer-libs-sections.txt:
754           Make gtk-doc ignore stuff it should ignore.
755
756 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
757
758         * libs/gst/check/gstcheck.c:
759         * libs/gst/check/gstcheck.h:
760           Allow runtime selection of unit tests to run via the GST_CHECKS
761           environment variable (test case function names, comma-separated).
762
763 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
764
765         * gst/gststructure.c:
766         * tests/check/gst/gststructure.c:
767           Revert serialisation change and constrain structure-names after
768           consensus on irc. Update api documentation to reflect the change.
769
770 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
771
772         * gst/gststructure.c:
773           Improve serialization and fix tests.
774
775         * tests/check/gst/gststructure.c:
776           Add another test that covers why I actually did the previous structure
777           change.
778
779 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
780
781         * tools/gst-inspect.c: (print_element_info):
782         Don't crash when inspecting an element.
783
784 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
785
786         * tests/check/gst/gststructure.c:
787           Add unit test for escaping of structure name when serialising
788           and deserialising to/from strings.
789
790 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
791
792         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
793         (gst_single_queue_new):
794         * plugins/elements/gstqueue.c: (gst_queue_init),
795         (gst_queue_push_one):
796         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
797         upstream is tricked into thinking it can suggest a format downstream
798         while downstream does not support that format. The real problem is that
799         core calls acceptcaps when pushing a buffer with new caps, for which we
800         do a little workaround by setting the caps on the srcpad ourselves
801         before pushing the buffer (until this is figured out). Fixes #486758.
802
803 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
804
805         * gst/gststructure.c:
806         * gst/gstvalue.c:
807           Add some more comments and debug output. Quote structure name to fix
808           deserialisation of some strings.
809
810 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
811
812         * gst/gstbuffer.h:
813           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
814           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
815
816 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
817
818         * tools/gst-inspect.c:
819           Save approx. 400 1 byte allocs when printing. Use API to acces element
820           details.
821
822         * tools/gst-run.c:
823           Avoid a strdup.
824
825         * tools/gst-xmlinspect.c:
826           Use API to acces element details.
827
828 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
829
830         * gst/gstinfo.c:
831           Fix some spelling errors.
832
833 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
834
835         * gst/gstbin.c: (bin_handle_async_done):
836         Correctly set the next state if all of our async children commited their
837         state. This makes sure we can actually cancel the state change in
838         progress. Fixes a regression in Rhythmbox when seeking.
839
840 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
841
842         * gst/gstbin.c:
843           Don't shadow local variable.
844
845         * gst/gstinfo.c:
846           Don't shadow global function name.
847
848 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
849
850         * gst/gstelementfactory.c:
851         * gst/gstpluginfeature.c:
852         * gst/gstpluginfeature.h:
853         * gst/gstregistrybinary.c:
854         * gst/gstregistryxml.c:
855         * gst/gsttypefind.c:
856           Use already-interned string for the private GstPluginFeature
857           plugin_name field.
858
859 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
860
861         * docs/libs/gstreamer-libs-sections.txt:
862           Add new API to docs; fixes the build.
863
864 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
865         
866         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
867
868         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
869         (gst_base_sink_event):
870         * libs/gst/base/gstbasesink.h:
871         Add function to wait for EOS, subclasses can use this to correctly wait
872         for devices to drain before performing the EOS logic. Fixes #485343.
873         API: gst_base_sink_wait_eos()
874
875 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
876
877         * gst/gstplugin.h:
878           Cast description string constants in GST_PLUGIN_DEFINE macros
879           to a (gchar*) to make C++ code using these macros compile
880           without warning with g++-4.2 (see #462737).  Even if slightly
881           ugly, this seems preferable to putting the description strings
882           into the GLib quark table or making the structure member a
883           const gchar * and doing casts in core code that allocs and
884           frees these strings, or requiring a cast in the C++ code.
885
886 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
887
888         * gst/gstinfo.h:
889           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
890           to print the entire class/function signature into the log
891           file for C++ code.  This only affects C++ code, for C code
892           everything remains the same.
893
894 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
895
896         * gst/gstbin.c: (remove_from_queue):
897         Work around a problem with pipelines containing (semi)loops until a
898         proper, more complicated solution is ready. See #475455.
899
900 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
901
902         * gst/gstplugin.c:
903         * gst/gstplugin.h:
904         * gst/gstregistrybinary.c:
905         * gst/gstregistryxml.c:
906           Put more strings into the GLib quark table. No need to keep
907           a hundred-something copies of identical version strings,
908           license strings, package name strings and package origin
909           strings around. 
910
911 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
912
913         * docs/manual/advanced-dataaccess.xml:
914           Don't imply that it's okay to unconditionally change
915           buffer data or buffer metadata in a pad probe callback,
916           and a bunch of other comments. Fixes #430031.
917
918 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
919
920         * win32/common/gstenumtypes.c:
921         * win32/common/gstenumtypes.h:
922         * win32/common/gstversion.h:
923           Update generated files.
924
925 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
926
927         * docs/manual/advanced-autoplugging.xml:
928           Prefix section with broken code with a warning (see #342432).
929
930 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
931
932         * docs/manual/appendix-integration.xml:
933         * docs/manual/basics-init.xml:
934           Call g_thread_init() before g_option_context_new() to
935           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
936
937 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
938
939         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
940         (gst_base_sink_queue_object_unlocked),
941         (gst_base_sink_queue_object), (gst_base_sink_event),
942         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
943         When we received EOS and are waiting for when to post the EOS message,
944         our state is prerolled and we should not return ASYNC.
945         Reorganize some code paths to implement this behavior.
946
947         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
948         (gst_sinks_suite):
949         Add unit test to verify above EOS fix.
950
951 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
952
953         * plugins/elements/gsttypefindelement.c:
954         (gst_type_find_element_have_type), (gst_type_find_element_init),
955         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
956         Move detecting the input caps of the sinkpad to the setcaps function.
957         This allows us to update the output caps when we receive new input caps
958         instead of always using the first detected caps.
959
960 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
961
962         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
963         (gst_base_sink_get_position):
964         Don't try to preroll non-async elements after a flush.
965         Subtract latency form clock times when reporting position.
966
967 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
968
969         * gst/gstpad.c: (gst_pad_pause_task):
970         * gst/gstutils.c:
971         Small comment and documentation update.
972
973 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
974
975         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
976         (gst_base_src_set_live), (gst_base_src_is_live),
977         (gst_base_src_query_latency), (gst_base_src_perform_seek),
978         (gst_base_src_default_event), (gst_base_src_wait),
979         (gst_base_src_do_sync), (gst_base_src_get_range),
980         (gst_base_src_pad_get_range), (gst_base_src_loop),
981         (gst_base_src_unlock), (gst_base_src_unlock_stop),
982         (gst_base_src_set_flushing), (gst_base_src_set_playing),
983         (gst_base_src_activate_push), (gst_base_src_activate_pull),
984         (gst_base_src_change_state):
985         Rework the locking of basesrc in a similar fashion to basesink. We
986         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
987         us to handle live sources and semi live ones much better.
988         Simplify flushing.
989         Fix unlocking when seeking, shutting down and pausing in live sources.
990
991 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
992
993         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
994         Fix compilation again.
995
996 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
997
998         * gst/gstelement.c:
999           Use meaningful categories for the logs to clean the default one.
1000
1001 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1002
1003         * tests/check/pipelines/cleanup.c:
1004           Print message name and not just number.
1005
1006 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1007
1008         * docs/design/draft-tagreading.txt:
1009           Add some more thoughts.
1010
1011 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1012
1013         * tests/check/pipelines/simple-launch-lines.c:
1014           Print message name and not just number.
1015
1016 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1017
1018         * libs/gst/base/gsttypefindhelper.c:
1019           Speedup typefinding. This is work in progress (see #459862).
1020
1021 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1022
1023         * gst/gstplugin.c:
1024           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1025           Spotted by Josep Torra Valles <josep@fluendo.com>.
1026
1027 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
1028
1029         * gst/gstclock.h:
1030           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1031           field has moved to GstObject.
1032
1033 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
1034
1035         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1036         (gst_base_src_get_range), (gst_base_src_change_state):
1037         Call unlock for live sources so that they can't get stuck in _create and
1038         produce a buffer before they are set back to PLAYING.
1039
1040 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
1041
1042         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1043         (gst_queue_locked_dequeue):
1044         Comment the segment-related code... in the PROPER function.
1045         See #482147 and my commit from yesterday.
1046
1047 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
1048
1049         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1050         Also initialize the counter that calculates the first timestamp on a
1051         buffer correctly for non-live sources.
1052
1053 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
1054
1055         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1056         Disable code that's breaking the current-time-level reporting.
1057         See #482147
1058
1059 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
1060
1061         * docs/gst/gstreamer-sections.txt:
1062         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1063         as they shouldn't show up. Fixes the docs build.
1064
1065 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
1066         
1067         * gst/gstinfo.h:
1068         Add an explicit variable importation needed on VS6 (only for MSC_VER)
1069         Define M_PI which is used in files which are including gstinfo.h. 
1070         VS6 includes doesn't define it.
1071         * win32/common/libgstbase.def:
1072         * win32/common/libgstcontroller.def:
1073         * win32/common/libgstreamer.def:
1074         Add new exported functions and variables.
1075         * win32/vs6/libgstcontroller.dsp:
1076         * win32/vs6/libgstreamer.dsp:
1077         Update the list of files to build.
1078         
1079 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1080
1081         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1082
1083         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1084         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1085         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1086         Improve debugging. Fixes #480858.
1087
1088 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1089
1090         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1091
1092         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1093         First patch of code cleanups, use the macros and right arguments in the
1094         macros to signal and lock the queue. See #480858.
1095
1096 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
1097
1098         * gst/gstbus.c: (poll_func):
1099         Improve debugging when dealing with _poll().
1100
1101 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
1102
1103         * gst/gstregistryxml.c:
1104           Fix memory leak I introduced a few days ago.
1105
1106 2007-09-26  Michael Smith <msmith@fluendo.com>
1107
1108         * gst/gstbuffer.c: (gst_buffer_finalize):
1109           Make it once again possible to free GstBuffers in the default
1110           build.
1111           The poisoning scribbles on parts of the miniobject we need in
1112           order to free it.
1113           Fixes #480341
1114
1115 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
1116
1117         * docs/gst/gstreamer-sections.txt:
1118         * gst/gsttaglist.c:
1119         * gst/gsttaglist.h:
1120         API: add GST_TAG_COMPOSER, fixes #459809.
1121
1122 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
1123
1124         * gst/gstplugin.c:
1125         * gst/gstplugin.h:
1126         Add the 3-clause BSD license and the MIT/X11 license to the license
1127         list. Fixes #479784.
1128
1129 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
1130
1131         * docs/faq/getting.xml:
1132           Add Q+A about different GStreamer versions (#364056).
1133
1134 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1135
1136         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1137         (gst_base_sink_event), (gst_base_sink_change_state):
1138         Return correct gboolean from query function.
1139
1140 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1141
1142         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1143         (gst_base_sink_event), (gst_base_sink_query),
1144         (gst_base_sink_change_state):
1145         Simplify latency query.
1146         When not synchronizing, we can report latency without querying the peer
1147         element.
1148
1149 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1150
1151         * gst/gstobject.h:
1152         * gst/gstvalue.c:
1153         Fix small typos in the docs.
1154
1155 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1156
1157         * docs/design/draft-latency.txt:
1158         * docs/design/draft-push-pull.txt:
1159         * docs/design/draft-tagreading.txt:
1160         * docs/design/part-MT-refcounting.txt:
1161         * docs/design/part-activation.txt:
1162         * docs/design/part-block.txt:
1163         * docs/design/part-element-source.txt:
1164         * docs/design/part-events.txt:
1165         * docs/design/part-gstbin.txt:
1166         * docs/design/part-gstelement.txt:
1167         * docs/design/part-gstobject.txt:
1168         * docs/design/part-gstpipeline.txt:
1169         * docs/design/part-messages.txt:
1170         * docs/design/part-preroll.txt:
1171         * docs/design/part-push-pull.txt:
1172         * docs/design/part-qos.txt:
1173         * docs/design/part-query.txt:
1174         * docs/design/part-scheduling.txt:
1175         * docs/design/part-seeking.txt:
1176         * docs/design/part-segments.txt:
1177         * docs/design/part-states.txt:
1178         Documentation updates and typo fixes.
1179
1180 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
1181
1182         * plugins/elements/gstfakesink.c:
1183           Add some debug text to error message to indicate that
1184           we errored out on request.
1185
1186         * tools/gst-launch.c:
1187           When the state change to PLAYING fails, check for an
1188           error message on the bus and print it.
1189
1190 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1191
1192         translated by: Jorge González González <aloriel@gmail.com>
1193
1194         * po/LINGUAS:
1195         * po/es.po:
1196           Added Spanish translation.
1197
1198 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
1199
1200         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1201         Fix printf arguments.
1202
1203 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1204
1205         * tests/check/generic/states.c:
1206           Improved state change unit test.
1207
1208 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1209
1210         * gst/gstbin.h:
1211           Move priv to the right place.
1212
1213         * gst/gstsystemclock.c:
1214           Add FIXME: and improve log.
1215
1216         * tests/check/Makefile.am:
1217         * tests/examples/manual/Makefile.am:
1218           Work with all types of registries.
1219
1220 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
1221
1222         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1223         Don't unref the event after pushing it. Fixes #478401.
1224
1225 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1226
1227         * .cvsignore:
1228         * tests/examples/manual/.cvsignore:
1229           Ignore registries in any format.
1230
1231 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
1232
1233         * gst/glib-compat-private.h:
1234           Add compatibility macro for g_intern_string() for
1235           GLib-2.8 (any reason we can't just bump the
1236           requirement to at least 2.10?)
1237
1238         * gst/gstpadtemplate.h:
1239         * gst/gstelementfactory.c:
1240         * gst/gstregistryxml.c:
1241         * gst/gstregistrybinary.c:
1242           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1243           up the internal code accordingly.  This shouldn't be a problem, since
1244           there is no reason external code could ever assume the string in such
1245           a structure is dynamically allocated unless it did that itself;  the
1246           use of g_strdup() is private to element factories.  The new code also
1247           saves some memory by putting pad template name strings into the GLib
1248           quark table instead of allocating them dynamically.
1249           Declaring this field constant fixes warnings with g++-4.2 when using
1250           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1251
1252 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1253
1254         * gst/gstelementfactory.c:
1255           Release static caps. Fixes #475723.
1256
1257 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
1258
1259         * gst/gstinfo.c:
1260         * gst/gstinfo.h:
1261           Make some internal API take const gchar * instead of just
1262           gchar * to avoid compiler warnings with g++-4.2.2 when
1263           passing string constants (partially fixes #478092).
1264
1265 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1266
1267         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1268         A latency query fails when one of the sinks fail.
1269
1270         * gst/gstelement.c: (gst_element_set_base_time):
1271         Improve debugging.
1272
1273 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1274
1275         * gst/gstbin.c: (gst_bin_continue_func):
1276         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1277         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1278         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1279
1280         Fix minor compilation warnings shown with Forte.
1281
1282 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1283
1284         * plugins/elements/gstqueue.c: (apply_buffer),
1285         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1286         Measure queue level based on the diff between head and tail timestamps
1287         even when pushing the first buffer.
1288
1289 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1290
1291         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1292         (gst_base_sink_event), (gst_base_sink_change_state):
1293         Sinks that don't preroll can always be queried for the latency.
1294         Don't post ASYNC start when we are not async.
1295
1296 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1297
1298         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1299         (gst_queue_handle_sink_event), (gst_queue_chain),
1300         (gst_queue_push_one), (gst_queue_handle_src_query),
1301         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1302         * plugins/elements/gstqueue.h:
1303         When downstream returns UNEXPECTED from pushing a buffer, don't try to
1304         push more buffers but allow pushing of EOS and NEWSEGMENT.
1305         Add some more debug info here and there. Fixes #476514.
1306
1307 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1308
1309         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1310         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1311         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1312         (gst_base_sink_set_flushing), (gst_base_sink_query),
1313         (gst_base_sink_change_state):
1314         Latency query is allowed after we are prerolled. Introduce a new flag
1315         for this and stop abusing other variables.
1316
1317 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1318
1319         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1320         Push OOB events downstream when we get them in send_event. This allows
1321         the application to insert events in the pipeline.
1322         Add some more comments.
1323
1324 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1325
1326         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1327         (do_bin_latency), (gst_bin_change_state_func):
1328         * gst/gstpipeline.c: (gst_pipeline_change_state):
1329         Move latency query from GstPipeline to GstBin so that we can also
1330         use it when async-handling is enabled on bins.
1331
1332 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1333
1334         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1335         (gst_base_src_do_sync), (gst_base_src_change_state):
1336         Update docs.
1337         Clean up the timestamping and syncing code for pseudo live sources.
1338
1339 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
1340
1341         Patch by: Steve Fink  <sphink gmail com>
1342
1343         * docs/manual/appendix-checklist.xml:
1344           Mention less -R switch in the section about debug output (#474055).
1345
1346 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1347
1348         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1349         Queue can latency to the pipeline up to the configured max size in time.
1350         Report this fact in the latency query.
1351
1352 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1353
1354         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1355
1356         * libs/gst/controller/gstinterpolation.c:
1357         * libs/gst/controller/gstlfocontrolsource.c:
1358         Use gst_guint64_to_gdouble() when converting from a uint64 or
1359         GstClockTime to double to fix the build on win32. Fixes #474371.
1360
1361 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1362
1363         * gst/gstbuffer.c: (gst_buffer_finalize):
1364         Implement poisoning for GstBuffer if --enable-poisoning is specified.
1365         When finalizing a buffer the complete struct is filled with 0xff,
1366         thus making a use of the buffer after the final unref impossible.
1367
1368 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1369
1370         * tests/check/libs/controller.c: (GST_START_TEST):
1371         Use fail_unless_equals_int(a, b) instead of
1372         fail_unless_equals (a == b) to get better output on failures.
1373
1374 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1375
1376         * tests/check/gst/gsturi.c:
1377           Also check for the other file URI variant on win32.
1378
1379 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1380
1381         * gst/gsturi.c: (gst_uri_get_location):
1382           If there's no hostname, we want to return 'c:/foo/bar.txt'
1383           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1384
1385         * tests/check/gst/gsturi.c:
1386           Unit test for the above and a few more things.
1387
1388 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1389
1390         * docs/design/part-live-source.txt:
1391         Add docs on how live sources should timestamp.
1392
1393         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1394         Add some more debug info.
1395         For subclasses that are live and like to sync, add aditional startup
1396         latency to sync time and timestamps so that we timstamp according to the
1397         design doc.
1398
1399 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1400
1401         * gst/gstbuffer.c:
1402           Also do a g_type_class_ref() for the subbuffer type in
1403           the init function.
1404
1405 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1406
1407         * docs/gst/gstreamer-sections.txt:
1408         * gst/gstpad.c: (gst_pad_peer_query):
1409         * gst/gstpad.h:
1410         Add function to perform a query on the peer of a pad.
1411         API: gst_pad_peer_query()
1412
1413 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1414
1415         * tests/check/gst/gstsystemclock.c:
1416           Cleanup the test a little (use gst-logging and not g_message). Improve
1417           test to check if a wait reached the target.
1418
1419 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1420
1421         * docs/libs/gstreamer-libs-sections.txt:
1422           Add new API to docs and fix the build.
1423
1424 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
1425
1426         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1427         (gst_base_src_init), (gst_base_src_set_do_timestamp),
1428         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1429         (gst_base_src_get_property), (gst_base_src_do_sync):
1430         * libs/gst/base/gstbasesrc.h:
1431         Add property to make the basesrc timestamp buffers based on the current
1432         running time.
1433         API: GstBaseSrc::do-timestamp
1434         API: gst_base_src_set_do_timestamp()
1435         API: gst_base_src_get_do_timestamp()
1436
1437 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
1438
1439         * docs/random/release:
1440           Really make sure translations are up-to-date before
1441           a release (#465010).
1442
1443 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
1444
1445         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1446         Always destroy the timer, also in error cases.
1447
1448 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1449
1450         * docs/manual/highlevel-xml.xml:
1451         Fix XML example code. Fixes #472714.
1452
1453 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1454
1455         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1456         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1457         (gst_base_sink_query):
1458         Protect eos and have_preroll with the OBJECT lock so we don't need to
1459         take the PREROLL lock when querying the latency. Fixes #473846.
1460
1461 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
1462
1463         * gst/gstelement.c:
1464           Give some log-messages a category.
1465
1466 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
1467
1468         * gst/gststructure.c:
1469         (gst_structure_fixate_field_nearest_fraction):
1470         Fix fraction list fixation code. Take the fraction with the smallest
1471         difference with the target instead of the first one in the list.
1472
1473         * tests/check/gst/gststructure.c: (GST_START_TEST),
1474         (gst_structure_suite):
1475         Added test to verify correct fraction list fixation behaviour.
1476
1477 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
1478
1479         * win32/common/libgstreamer.def:
1480           Export gst_bus_add_signal_watch too.
1481
1482 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
1483
1484         * docs/libs/gstreamer-libs-sections.txt:
1485         Add new methods to docs.
1486
1487         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1488         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1489         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1490         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1491         * libs/gst/base/gstbasesink.h:
1492         Add ts-offset property to fine-tune the synchronisation.
1493         API: GstBaseSink::ts-offset property
1494         API: gst_base_sink_set_ts_offset()
1495         API: gst_base_sink_get_ts_offset()
1496
1497 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
1498
1499         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1500         (gst_base_sink_init), (gst_base_sink_set_sync),
1501         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1502         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1503         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1504         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1505         (gst_base_sink_get_property), (gst_base_sink_change_state):
1506         * libs/gst/base/gstbasesink.h:
1507         Add async property to instruct the sink never to inform the parent about
1508         ASYNC state changes, update docs.
1509         Check argument with g_return_* for the public functions.
1510         API: GstBaseSink::async property
1511         API: gst_base_sink_set_async_enabled()
1512         API: gst_base_sink_is_async_enabled()
1513
1514 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
1515
1516         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1517         Improve debugging.
1518
1519         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1520         (gst_base_src_default_query), (gst_base_src_wait),
1521         (gst_base_src_do_sync), (gst_base_src_change_state):
1522         Rearrange some code so that we can add support for measuring the 
1523         startup latency.
1524
1525 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
1526
1527         * docs/random/ensonic/dynlink.txt:
1528           More thoughs on this.
1529
1530         * plugins/elements/gstcapsfilter.c:
1531           Add bugzilla ticket number to FIXME comment.
1532
1533 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
1534
1535         * docs/design/part-TODO.txt:
1536         * docs/design/part-block.txt:
1537         Update some docs.
1538
1539 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1540
1541         * gst/Makefile.am:
1542           Revert patch which uses $(gst_headers) instead of $^ because it
1543           breaks make dist.
1544
1545 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1546
1547         * tests/check/gst/gstbin.c: (GST_START_TEST):
1548           Fix leaks in the new unit test.
1549
1550 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
1551
1552         * gst/gst.c:
1553           Don't use GST_INFO before the debug system is actually initialised
1554           (shouldn't do any harm, but won't print anything either, so we can
1555           just as well remove it).
1556
1557         * gst/gstinfo.h:
1558           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1559           compilers that don't support variadic macros (such as MSVC), should
1560           check for debug_level <= __gst_debug_min as well, since that's the
1561           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1562           inline helper functions. Should improve performance a bit, but also
1563           makes sure uses of GST_INFO et.al are ignored if the debugging
1564           system isn't initialised yet (instead of printing an assertion
1565           failure).
1566
1567 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
1568
1569         patch by: David Nečas <yeti@physics.muni.cz>
1570
1571         * gst/Makefile.am:
1572           Replace some non portable makefile constructs.
1573
1574 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
1575
1576         * common/gtk-doc-plugins.mak:
1577           Grrrrr. Don't remove the types file on make clean.
1578
1579 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
1580
1581         * tools/gst-launch.1.in:
1582         Add colorspace to example pipeline. Fixes #458274.
1583
1584 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
1585
1586         * docs/random/release:
1587           The release manager should run 'make download-po' before making a
1588           release to make sure translations are up-to-date.
1589
1590         * po/LINGUAS:
1591         * po/be.po:
1592         * po/pl.po:
1593         * po/rw.po:
1594           Add some new translations.
1595
1596 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
1597
1598         * tools/gst-launch.c: (event_loop), (main):
1599         Don´t try to do any state management when a live pipeline posts
1600         buffering messages.
1601         Also make the buffering string translatable.
1602
1603 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1604
1605         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1606         (bin_handle_async_start), (gst_bin_handle_message_func):
1607         Improve debugging.
1608         When adding elements, insert messages into the bus of the newly added
1609         element and make sure the element is the source of the message. This
1610         allows the parent bin to intercept the message and do the
1611         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1612         messages to the app (which is not allowed).
1613         Update some docs.
1614
1615         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1616         Fix testsuite so that is does not work around messages that should not
1617         have been posted in the first place.
1618
1619 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1620
1621         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1622         (update_degree), (gst_bin_sort_iterator_next):
1623         Fix annoying bug in the sorted iterator where a sink that is not really
1624         a sink (when it has downstream links) screwed up the iterator.
1625
1626         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1627         Unit test to verify the fix.
1628
1629 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1630
1631         * gst/gstmessage.h:
1632         Add some more docs for the messages.
1633
1634         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1635         (gst_base_sink_query):
1636         Add some more debugging.
1637
1638         * tools/gst-launch.c: (event_loop):
1639         When interrupting, don't try to set pipeline to PAUSED twice.
1640
1641 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1642
1643         
1644         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1645         (bin_handle_async_start), (gst_bin_handle_message_func):
1646         Move ASYNC_START message posting to where it belongs, similar to
1647         async_done. 
1648         Don't post ASYNC_START when we are in error. 
1649         Post ASYNC_START when we added an async element to a bin.
1650
1651 2007-08-14  Julien MOUTTE  <julien@moutte.net>
1652
1653         * gst/gstindex.c: (gst_index_add_association): Fix index entry
1654         generation from vargs. Fixes #466595.
1655
1656 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1657
1658         * gst/gstbin.c: (gst_bin_element_set_state):
1659         Always change the state of a NO_PREROLL element even if it has ASYNC
1660         elements inside (in case of a bin).
1661
1662         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1663         Unit test for this case.
1664
1665 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
1666
1667         * libs/gst/check/gstbufferstraw.c:
1668         * libs/gst/check/gstcheck.h:
1669         * libs/gst/controller/gstcontroller.c:
1670         * libs/gst/controller/gstcontrolsource.h:
1671         * libs/gst/controller/gstlfocontrolsource.h:
1672         * plugins/elements/gstcapsfilter.h:
1673         * plugins/elements/gstfdsink.h:
1674         * plugins/elements/gstfdsrc.h:
1675           Add more missing docs.
1676
1677 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1678
1679         * gst/gststructure.c:
1680         Add Since tag to docs.
1681
1682 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1683
1684         * docs/gst/gstreamer-sections.txt:
1685         * gst/gststructure.c: (gst_structure_get_uint):
1686         * gst/gststructure.h:
1687         Add function to get uint from a structure.
1688         API: gst_structure_get_uint()
1689
1690 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1691
1692         * gst/gstcaps.c: (gst_caps_set_simple_valist),
1693         (gst_caps_intersect):
1694         Fix proper check for simple caps.
1695
1696 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
1697
1698         * docs/gst/Makefile.am:
1699         * docs/libs/Makefile.am:
1700           Remove cruft and do some cleanups.
1701
1702         * docs/gst/gstreamer-docs.sgml:
1703         * docs/libs/gstreamer-libs-docs.sgml:
1704           Prepare for comming gtkdoc features (rebase against online docs).
1705
1706 2007-08-10  Michael Smith <msmith@fluendo.com>
1707
1708         * docs/gst/gstreamer-sections.txt:
1709           Add gst_registry_add_path to docs.
1710
1711 2007-08-10  Michael Smith <msmith@fluendo.com>
1712
1713         * gst/gstregistry.h:
1714           Add gst_registry_add_path, which was missing from this header.
1715
1716 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
1717
1718         * libs/gst/controller/gstlfocontrolsource.c:
1719           Printf format fix.
1720
1721 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1722
1723         * libs/gst/base/gstbasesink.c:
1724           Don't send an async_start message during downwards state change if 
1725           target state is less than READY
1726
1727 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1728
1729         translated by: Gabor Kelemen <kelemeng@gnome.hu>
1730
1731         * po/LINGUAS:
1732         * po/hu.po:
1733           Added Hungarian translation.
1734
1735 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1736
1737         * po/fi.po:
1738         * po/it.po:
1739         * po/nl.po:
1740         * po/sv.po:
1741         * po/uk.po:
1742           Updated translations.
1743
1744 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1745
1746         * libs/gst/controller/Makefile.am:
1747         Dist gstlfocontrolsourceprivate.h
1748
1749 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1750
1751         * docs/libs/gstreamer-libs.types:
1752         Don't register the enum type gst_lfo_waveform_get_type() in the
1753         .types file - only GObject derived types belong.
1754
1755 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1756
1757         Patch by: <arenevier at fdn dot fr>
1758
1759         * gst/gstbuffer.h:
1760         Remove comma from last element in enum to avoid compile errors when
1761         using -pendantic. Fixes #464366.
1762
1763 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1764
1765         * docs/design/part-TODO.txt:
1766         Add some more TODO items
1767
1768         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1769         Improve debugging.
1770
1771         * gst/gstcaps.c: (gst_caps_intersect):
1772         Optimize trivial intersection case between identical caps pointers.
1773
1774         * gst/gstelement.c: (gst_element_continue_state),
1775         (gst_element_set_state_func):
1776         * gst/gstpad.c:
1777         Fix spelling and grammar mistakes.
1778
1779 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
1780
1781         * po/POTFILES.in:
1782         * po/POTFILES.skip:
1783           Update POTFILES. Fixes #461599.
1784
1785 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1786
1787         * gst/gst.c:
1788         Fix confusing typo in debug output.
1789
1790 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1791
1792         reviewed by: Stefan Kost <ensonic@users.sf.net>
1793
1794         * libs/gst/controller/Makefile.am:
1795         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1796         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1797         (gst_lfo_control_source_new),
1798         (gst_lfo_control_source_set_waveform),
1799         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1800         (gst_lfo_control_source_finalize),
1801         (gst_lfo_control_source_dispose),
1802         (gst_lfo_control_source_set_property),
1803         (gst_lfo_control_source_get_property),
1804         (gst_lfo_control_source_class_init):
1805         * libs/gst/controller/gstlfocontrolsource.h:
1806         * libs/gst/controller/gstlfocontrolsourceprivate.h:
1807         API: Add GstLFOControlSource, a control source that gives values
1808         for specific timestamps based on several periodic waveforms.
1809         Fixes #459717.
1810
1811         * tests/check/libs/controller.c: (GST_START_TEST),
1812         (gst_controller_suite):
1813         * docs/libs/gstreamer-libs-docs.sgml:
1814         * docs/libs/gstreamer-libs-sections.txt:
1815         * docs/libs/gstreamer-libs.types:
1816         Add documentation and unit tests for GstLFOControlSource.
1817
1818 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
1819
1820         * configure.ac:
1821         Back to CVS
1822
1823 === release 0.10.14 ===
1824
1825 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
1826
1827         * configure.ac:
1828           releasing 0.10.14, "Breathing Vacuum"
1829
1830 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
1831
1832         * gst/gstelement.c: (gst_element_class_set_details_simple):
1833         * gst/gstelement.h:
1834           Make strings passed to gst_element_class_set_details_simple()
1835           constant, as they should be (#462752).
1836
1837 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
1838
1839         * gst/gstbin.c: (gst_bin_change_state_func),
1840         (bin_handle_async_done), (gst_bin_handle_message_func):
1841         Don't forget about the fact that some element went ASYNC even after a
1842         resync. This makes us post the ASYNC_DONE message correctly.
1843         Fixes #462558.
1844
1845 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1846
1847         * gst/gstregistry.c: (gst_registry_add_feature):
1848         When replacing an existing feature in the registry, make sure to
1849         continue holding a reference until we've replaced the name string
1850         within our feature hash table. Make sure to use g_hash_table_replace
1851         instead of g_hash_table_insert to ensure the new name string is used
1852         as a key instead of the old one that we're about to free.
1853         Fixes: #462085
1854
1855 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1856
1857         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1858         (gst_plugin_feature_set_name):
1859         Revert patch from #459466 until after the release and we can work
1860         out exactly what the problem is (if any).
1861
1862 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1863
1864         * docs/gst/gstreamer-sections.txt:
1865         * gst/gsttaglist.c:
1866         * gst/gsttaglist.h:
1867           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1868
1869 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1870
1871         * docs/libs/Makefile.am:
1872         Include our build-prefix libs and includes before the generic ones to
1873         avoid linking against the installed libs when we want the build-tree
1874         ones.
1875
1876 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1877
1878         Patch by: Steve Fink  <sphink gmail com>
1879
1880         * docs/pwg/building-testapp.xml:
1881           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1882           if people try to build or install the example from the plugin
1883           template against a GStreamer from package using the configure
1884           defaults.
1885
1886 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1887
1888         Patch by: Steve Fink  <sphink gmail com>
1889
1890         * tools/gst-inspect.1.in:
1891           Document --print-all and --print-plugin-auto-install-info command
1892           line options in man page.
1893
1894 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1895
1896         * docs/gst/gstreamer-sections.txt:
1897         Add docs for new api function.
1898
1899 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1900
1901         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1902         * gst/gstelementfactory.h:
1903         API: gst_element_factory_has_interface()
1904         Added method to check if an element factory implements a named
1905         interface.
1906
1907 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
1908
1909         * configure.ac:
1910         * docs/gst/gstreamer.types.in:
1911           Another conditional doc check.
1912
1913         * gst/gstmessage.c:
1914         * gst/gstparamspecs.h:
1915         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1916         * gst/gstvalue.c:
1917         * gst/gstxml.h:
1918           API-doc fixes.
1919
1920 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1921
1922         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1923         (gst_registry_binary_load_feature),
1924         (gst_registry_binary_load_plugin),
1925         (gst_registry_binary_read_cache):
1926           Print error just once and with additional info.
1927
1928 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1929
1930         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1931         (helper_find_suggest), (helper_find_get_length),
1932         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1933         (gst_type_find_helper_for_buffer):
1934           Cleanup the typefindhelper code and add private doc comments.
1935
1936 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
1937
1938         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1939         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1940         Fix capsfilter for cases where the caps set on capsfilter will provide
1941         additional information.
1942         Fixes #449197
1943
1944 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1945
1946         * gst/gsttypefindfactory.c:
1947           Fix docs that recommened wrong function to use.
1948
1949 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1950
1951         * tools/gst-inspect.c: (print_plugin_features):
1952           Also give media-type for typefinders in element output.
1953
1954 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1955
1956         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1957         (gst_registry_remove_features_for_plugin_unlocked),
1958         (gst_registry_add_feature), (gst_registry_remove_feature),
1959         (gst_registry_lookup_feature_locked):
1960         * gst/gstregistry.h:
1961           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1962           Fixes #459501.
1963
1964 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1965
1966         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1967         (gst_plugin_feature_set_name):
1968           Avoid double memory usage for pluginfeature names. Fixes #459466.
1969
1970 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1971
1972         * gst/gstpad.h:
1973           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1974           driving the pipeline may need to explicitly check for NOT_LINKED as
1975           well, since IS_FATAL doesn't cover that.
1976
1977 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1978
1979         * docs/pwg/advanced-types.xml:
1980           Fix typo and duplicate entry in video formats list.
1981
1982 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
1983
1984         * libs/gst/controller/gstinterpolation.c:
1985         Also round to the nearest int when using cubic interpolation.
1986
1987 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
1988
1989         * libs/gst/controller/gstinterpolation.c:
1990         When linearly interpolating integer types, round to the nearest int
1991         by adding 0.5. Don't do it for float/double types.
1992         Fixes the failing controller test on my machine, which is somehow
1993         rounding differently than on the buildbots.
1994
1995 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1996
1997         * tools/gst-plot-timeline.py:
1998           Better log parsing (categories can have -). Adjust text vs. lines, so
1999           that they span the same y-range.        
2000
2001 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2002
2003         * docs/random/ensonic/audiobaseclasses.txt:
2004         * docs/random/ensonic/dynlink.txt:
2005         * docs/random/ensonic/profiling.txt:
2006           Save my thoughts.
2007
2008         * docs/random/moving-plugins:
2009           Add note to use g_assert type macros.
2010
2011 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2012
2013         * configure.ac:
2014         * libs/gst/check/Makefile.am:
2015           Add libm check as we use in for plugins.
2016
2017 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
2018
2019         * gst/gstbin.c: (gst_bin_continue_func):
2020         Check that the state_cookie hasn't changed since the continue_func
2021         was scheduled. Avoids problems where the state changes back to
2022         something it shouldn't be because it was changed in the meantime.
2023
2024 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
2025
2026         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2027         (gst_registry_binary_save_string),
2028         (gst_registry_binary_save_pad_template),
2029         (gst_registry_binary_save_feature),
2030         (gst_registry_binary_save_plugin),
2031         (gst_registry_binary_load_feature),
2032         (gst_registry_binary_load_plugin),
2033         (gst_registry_binary_read_cache):
2034           Fix memory leak. Be less verbose in the log.
2035
2036 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2037
2038         * tests/check/elements/.cvsignore:
2039         Add file to cvsignore as commanded.
2040
2041 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2042
2043         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2044         (mq_dummypad_event), (run_output_order_test):
2045         Use a GStaticMutex to protect all cases where libcheck
2046         fail_if/fail_unless macros might be called from multiple threads
2047         simultaneously to avoid errors like:
2048           "check_pack.c:107: :-1081725400:Bad message type arg"
2049
2050 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2051
2052         * tests/check/pipelines/stress.c: (GST_START_TEST):
2053         Make sure we set the pipeline back to the NULL state before
2054         dropping our final reference.
2055
2056 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2057
2058         * tests/check/elements/tee.c: (GST_START_TEST):
2059         Make the tee stress-test a little less stressful so it doesn't just
2060         time out on slow-machines, and remove a small race when it's starting 
2061         up by adding a get_state() call.
2062
2063 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
2064
2065         * gst/gst.c:
2066           Avoid reading registry twice on startup. Fixes #457322.
2067
2068 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2069
2070         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2071         * pkgconfig/gstreamer-check.pc.in:
2072         Substitute the CFLAGS for libcheck into our .pc file too so that
2073         dependent modules will pick it up properly if libcheck is installed
2074         into some other prefix.
2075
2076 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2077
2078         * configure.ac:
2079         Revert the pkg-config check for libcheck, since it pulls in the
2080         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2081         a proper solution, either from the check project, or something else.
2082
2083 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
2084
2085         * configure.ac:
2086           Use pkg-config to locate check.
2087
2088 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
2089
2090         * gst/gsttaglist.c:
2091           Fix doc syntax.
2092
2093         * gst/gstutils.c:
2094         * gst/gstutils.h:
2095           Add deprecation guards.
2096
2097         * libs/gst/base/gstcollectpads.h:
2098           Don't document object (this is implicitly private).
2099
2100 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
2101
2102         * gst/gststructure.c: (gst_structure_parse_value):
2103           When deserialising foo=bar without a type cast, check if it's a
2104           boolean before falling back to a string type, otherwise things like
2105           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2106           because the filtercaps end up having a signed=(string)true field,
2107           which causes problems later when intersection caps.
2108
2109         * tests/check/gst/gststructure.c: (GST_START_TEST):
2110           Add a unit test for this.
2111
2112 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
2113
2114         Reviewed by: Stefan Kost <ensonic@users.sf.net>
2115
2116         * libs/gst/controller/Makefile.am:
2117         * libs/gst/controller/gstcontroller.c:
2118         (gst_controlled_property_add_interpolation_control_source),
2119         (gst_controlled_property_new), (gst_controlled_property_free),
2120         (gst_controller_find_controlled_property),
2121         (gst_controller_new_valist), (gst_controller_new_list),
2122         (gst_controller_new), (gst_controller_remove_properties_valist),
2123         (gst_controller_remove_properties_list),
2124         (gst_controller_remove_properties),
2125         (gst_controller_set_property_disabled),
2126         (gst_controller_set_disabled), (gst_controller_set_control_source),
2127         (gst_controller_get_control_source), (gst_controller_get),
2128         (gst_controller_sync_values), (gst_controller_get_value_array),
2129         (_gst_controller_dispose), (gst_controller_get_type),
2130         (gst_controlled_property_set_interpolation_mode),
2131         (gst_controller_set), (gst_controller_set_from_list),
2132         (gst_controller_unset), (gst_controller_unset_all),
2133         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2134         * libs/gst/controller/gstcontroller.h:
2135         * libs/gst/controller/gstcontrollerprivate.h:
2136         * libs/gst/controller/gstcontrolsource.c:
2137         (gst_control_source_class_init), (gst_control_source_init),
2138         (gst_control_source_get_value),
2139         (gst_control_source_get_value_array), (gst_control_source_bind):
2140         * libs/gst/controller/gstcontrolsource.h:
2141         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2142         (gst_object_get_control_source):
2143         * libs/gst/controller/gstinterpolation.c:
2144         (gst_interpolation_control_source_find_control_point_node),
2145         (gst_interpolation_control_source_get_first_value),
2146         (_interpolate_none_get), (interpolate_none_get),
2147         (interpolate_none_get_boolean_value_array),
2148         (interpolate_none_get_enum_value_array),
2149         (interpolate_none_get_string_value_array),
2150         (_interpolate_trigger_get), (interpolate_trigger_get),
2151         (interpolate_trigger_get_boolean_value_array),
2152         (interpolate_trigger_get_enum_value_array),
2153         (interpolate_trigger_get_string_value_array):
2154         * libs/gst/controller/gstinterpolationcontrolsource.c:
2155         (gst_control_point_free), (gst_interpolation_control_source_reset),
2156         (gst_interpolation_control_source_new),
2157         (gst_interpolation_control_source_set_interpolation_mode),
2158         (gst_interpolation_control_source_bind),
2159         (gst_control_point_compare), (gst_control_point_find),
2160         (gst_interpolation_control_source_set_internal),
2161         (gst_interpolation_control_source_set),
2162         (gst_interpolation_control_source_set_from_list),
2163         (gst_interpolation_control_source_unset),
2164         (gst_interpolation_control_source_unset_all),
2165         (gst_interpolation_control_source_get_all),
2166         (gst_interpolation_control_source_get_count),
2167         (gst_interpolation_control_source_init),
2168         (gst_interpolation_control_source_finalize),
2169         (gst_interpolation_control_source_dispose),
2170         (gst_interpolation_control_source_class_init):
2171         * libs/gst/controller/gstinterpolationcontrolsource.h:
2172         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2173         API: Refactor GstController into the core controller which can take
2174         a GstControlSource for providing actual values for timestamps.
2175         Implement a interpolation control source and use this for backward
2176         compatibility, deprecate a bunch of functions that are now handled
2177         by GstControlSource or GstInterpolationControlSource.
2178         Make it possible to disable the controller completely or only for
2179         specific properties. Fixes #450711.
2180         * docs/libs/gstreamer-libs-docs.sgml:
2181         * docs/libs/gstreamer-libs-sections.txt:
2182         * docs/libs/gstreamer-libs.types:
2183         Add new functions and classes to the docs.
2184         * tests/check/libs/controller.c: (GST_START_TEST),
2185         (gst_controller_suite):
2186         * tests/examples/controller/audio-example.c: (main):
2187         Port unit test and example to the new API and add some new
2188         unit tests.
2189
2190 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
2191
2192         Patch by: Mark Nauwelaerts <manauw at skynet be>
2193
2194         * plugins/elements/gstmultiqueue.c:
2195         (gst_multi_queue_get_internal_links), (apply_buffer),
2196         (single_queue_overrun_cb), (gst_single_queue_new):
2197         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2198         the pipeline layout can be tracked correctly. Fixes #453732.
2199
2200 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
2201
2202         * docs/gst/Makefile.am:
2203         * docs/libs/Makefile.am:
2204         * docs/plugins/Makefile.am:
2205           Simplify --extra-dir as gtkdoc scans recursively.
2206
2207 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2208
2209         * tools/gst-launch.c: (main):
2210         When we got an error, there is no point in waiting for preroll when
2211         shutting down.
2212
2213 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2214
2215         * plugins/elements/gsttee.c: (gst_tee_base_init),
2216         (gst_tee_request_new_pad), (gst_tee_release_pad),
2217         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2218         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2219         (gst_tee_chain):
2220         Be a lot smarter when deciding what srcpad to use for proxying
2221         the buffer_alloc. Also handle pad added/removed when doing so.
2222         Fixes #357959.
2223         Keep track of what pads we already pushed on in case we have pads
2224         added/removed while pushing. Fixes #374639 
2225
2226         * tests/check/Makefile.am:
2227         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2228         (tee_suite):
2229         Added unit test for pad resync.
2230
2231 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2232
2233         * po/nl.po:
2234         * po/sv.po:
2235           Updated translations.
2236
2237 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2238
2239         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2240
2241         * po/LINGUAS:
2242         * po/fi.po:
2243           Added new Finnish translation.
2244
2245 2007-06-28  Wim Taymans  <wim@fluendo.com>
2246
2247         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2248         (single_queue_overrun_cb):
2249         When figuring out when a queue is filled, use our internal time estimate
2250         based on segments, just like check_full does.
2251
2252 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2253
2254         * gst/gstminiobject.c: (gst_mini_object_get_type):
2255           Remove 3 do-nothing methods.
2256
2257 2007-06-27  Wim Taymans  <wim@fluendo.com>
2258
2259         Patch by: Tim Angus <tim at ngus dot net>
2260
2261         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2262         (gst_capsfilter_set_property):
2263         Take a reference instead of a copy when setting "caps".
2264         Fix documentation to clarify this behaviour. Fixes #449414.
2265
2266 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2267
2268         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2269         * gst/gstplugin.c: (gst_plugin_init):
2270         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2271         * gst/gstquery.c: (gst_query_get_type):
2272         * gst/gstregistry.c: (gst_registry_init):
2273         * gst/gsturi.c: (gst_uri_handler_base_init):
2274           Remove empty instance_init() functions to save relocs and lessen the
2275           noise. Remove some of the function prototypes that are doubled by
2276           G_DEFINE_TYPE.
2277           
2278 2007-06-27  Wim Taymans  <wim@fluendo.com>
2279
2280         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2281
2282         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2283         Add peer and direction in the XML serialisation of ghostpads.
2284         Fixes #449226.
2285
2286 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2287
2288         * configure.ac:
2289           Preserve useful information, thanks Tim.
2290
2291 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
2292
2293         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2294         (gst_single_queue_flush), (apply_segment), (apply_buffer),
2295         (gst_single_queue_push_one), (gst_multi_queue_loop),
2296         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2297         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2298         (compute_high_id), (gst_single_queue_new):
2299         * plugins/elements/gstmultiqueue.h:
2300         Take the multiqueue lock when updating the fill level so we don't get
2301         confused. 
2302
2303         After applying a buffer or event on the src pad segment, make sure to
2304         call gst_data_queue_limits_changed() to get the data queue to unblock
2305         and check the filled state again.
2306         
2307         Rework the not-linked pad handling so the logic is that not-linked 
2308         pads can push as fast as they like, but only so they never get 
2309         ahead of any linked pads.
2310
2311         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2312         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2313         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2314
2315         Add a test to check that not-linked pads always stay behind
2316         linked pads.
2317
2318         Fixes: #430682
2319
2320 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
2321
2322         * docs/random/release:
2323           Some updates to the release procedure.
2324
2325 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2326
2327         * gst/gstelementfactory.c: (__gst_element_details_clear):
2328           Microoptimization that saves stunning 80 bytes.
2329
2330 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
2331
2332         * docs/plugins/gstreamer-plugins.args:
2333         * docs/plugins/inspect/plugin-coreelements.xml:
2334         * docs/plugins/inspect/plugin-coreindexers.xml:
2335           Update docs with caps info.
2336
2337 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2338
2339         * po/it.po:
2340           Updated Italian translation.
2341
2342 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2343
2344         * ChangeLog:
2345         * po/vi.po:
2346           Update Vietnamese translations.
2347
2348 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2349
2350         * libs/gst/base/gstbasesink.c:
2351           Remove unused signal enum.
2352
2353 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2354
2355         * docs/gst/gstreamer-sections.txt:
2356         * gst/gstelement.c:
2357         * gst/gstutils.c: (gst_type_register_static_full):
2358         Beef up and include the docs for gst_type_register_static_full and
2359         gst_element_class_set_details_simple and add the API keyword
2360         in the ChangeLog.
2361
2362 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2363
2364         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2365         (update_time_level), (gst_single_queue_push_one),
2366         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2367         (single_queue_overrun_cb), (single_queue_underrun_cb),
2368         (single_queue_check_full):
2369         Fix setting max-* properties after adding queues.
2370         Use IS_FILLED for checking visible items.
2371         Signal overrun if multiple queues overrun.
2372         Add extra debug output.
2373         Patch by: Wim Taymans <wim@fluendo.com>
2374
2375 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
2376
2377         * gst/gstelement.c: (gst_element_class_set_details_simple):
2378         * gst/gstelement.h:
2379         * gst/gstutils.c: (gst_type_register_static_full):
2380         * gst/gstutils.h:
2381         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2382         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2383         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2384         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2385         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2386         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2387         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2388         * plugins/elements/gstidentity.c: (gst_identity_base_init):
2389         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2390         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2391         (apply_buffer), (gst_queue_chain):
2392         * plugins/elements/gsttee.c: (gst_tee_base_init):
2393         * plugins/elements/gsttypefindelement.c:
2394         (gst_type_find_element_base_init),
2395         (gst_type_find_element_class_init):
2396           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2397           API: add gst_type_register_static_full
2398           API: add gst_element_class_set_details_simple
2399
2400 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2401
2402         * docs/pwg/advanced-types.xml:
2403           Fix typo in iana.org URI.
2404
2405 2007-06-19  Andy Wingo  <wingo@pobox.com>
2406
2407         * tests/check/pipelines/simple-launch-lines.c
2408         (test_state_change_returns): Enable pull-mode tests now that
2409         basesink has been fixed.
2410
2411         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2412         Changed from gst_base_sink_is_prerolled, reversing the sense of
2413         the return value. Returns FALSE also if the sink is in pull mode,
2414         in which case it needs no preroll.
2415         (gst_base_sink_query, gst_base_sink_change_state): Update for
2416         needs_preroll change.
2417         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2418         chaining up, in which we return SUCCESS directly if we activated
2419         in pull mode instead of ASYNC. Involves countering an async_start
2420         message sent before chaining up; not sure if this is correct, in
2421         an ideal world we only send async-start when activating in push
2422         mode.
2423
2424         * tests/check/pipelines/simple-launch-lines.c
2425         (test_state_change_returns): New test, partially disabled until
2426         basesink is fixed.
2427
2428 2007-06-19  Wim Taymans  <wim@fluendo.com>
2429
2430         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2431         (gst_multi_queue_sink_event):
2432         Fix event leak.
2433
2434 2007-06-19  Wim Taymans  <wim@fluendo.com>
2435
2436         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2437         (gst_bin_change_state_func), (bin_push_state_continue),
2438         (bin_handle_async_start), (bin_handle_async_done),
2439         (gst_bin_handle_message_func):
2440         Move the common code for posting state-change messages into
2441         one function.
2442         Broadcast the state signal after we posted the messages.
2443         Mark the bin as busy when it's doing a state-change.
2444         Make sure async-start/done messages don't interfere with the bin's
2445         state when it's busy.
2446         After the state change, let the bin check which elements completed the
2447         state change while it was busy so that it can update its state.
2448
2449 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
2450
2451         * docs/random/release:
2452         Add a note about updating the doap file to the release checklist
2453
2454 2007-06-18  Wim Taymans  <wim@fluendo.com>
2455
2456         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2457         (gst_single_queue_push_one), (gst_multi_queue_chain),
2458         (gst_multi_queue_sink_event):
2459         Make sure we don't reference the buffer/event after we have given away
2460         ownership in the queue.
2461
2462 2007-06-18  Wim Taymans  <wim@fluendo.com>
2463
2464         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2465         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2466         Update queue state _after_ adding the item in the queue because else we
2467         could end up being full without the element added yet.
2468
2469 2007-06-18  Wim Taymans  <wim@fluendo.com>
2470
2471         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2472         (gst_bin_remove_func), (gst_bin_get_state_func),
2473         (gst_bin_element_set_state), (gst_bin_continue_func),
2474         (bin_push_state_continue), (bin_handle_async_start),
2475         (bin_handle_async_done), (gst_bin_handle_message_func):
2476         * gst/gstbin.h:
2477         Immediatly commit the toplevel bin state when receiving an async-done
2478         message. This enables us to avoid spawning a thread to commit the state
2479         in some common cases and it also avoids some races.
2480         Avoid spawning a state thread when adding/removing async elements to a
2481         toplevel bin. Instead we immediatly update the bin state.
2482         Get rid of iterating all the children when getting the state in the bin
2483         because it is now always up-to-date.
2484         Fix bug where locked elements would always return _SUCCESS even it they
2485         returned NO_PREROLL before being locked.
2486         Fix the order of the state_change, async-start/done messages that was
2487         sometimes incorrect.
2488         Mark the state_dirty field as deprecated, we don't need it anymore as we
2489         are always up-to-date.
2490
2491         * gst/gstelement.c: (gst_element_get_state_func),
2492         (gst_element_continue_state):
2493         Small debug inprovements.
2494         Return the previous element state return when nothing is pending instead
2495         of blindly returning SUCCESS.
2496
2497         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2498         (gst_sinks_suite):
2499         Add a whole bunch of new testcases.
2500
2501 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2502
2503         * po/uk.po:
2504         * po/vi.po:
2505           Update translations.
2506
2507 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
2508
2509         * gst/gstpad.c:
2510         Fix typo in the docs.
2511
2512 2007-06-15  Wim Taymans  <wim@fluendo.com>
2513
2514         * docs/libs/gstreamer-libs-sections.txt:
2515         Add docs for new methods.
2516
2517 2007-06-15  Wim Taymans  <wim@fluendo.com>
2518
2519         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2520         (gst_multi_queue_item_new):
2521         Don't use GSlice because we don't depend on >= 2.10 yet.
2522
2523 2007-06-15  Wim Taymans  <wim@fluendo.com>
2524
2525         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2526         (update_time_level), (apply_segment), (apply_buffer),
2527         (gst_single_queue_push_one), (gst_multi_queue_item_new),
2528         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2529         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2530         (single_queue_underrun_cb), (single_queue_check_full):
2531         Remove debug printf.
2532
2533 2007-06-15  Wim Taymans  <wim@fluendo.com>
2534
2535         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2536         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2537         (gst_data_queue_set_flushing), (gst_data_queue_push),
2538         (gst_data_queue_pop), (gst_data_queue_drop_head),
2539         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2540         * libs/gst/base/gstdataqueue.h:
2541         Various cleanups.
2542         Added methods to get the current levels and to inform the queue that the
2543         'full' limits changed.
2544
2545         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2546         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2547         (gst_single_queue_flush), (update_time_level), (apply_segment),
2548         (apply_buffer), (gst_single_queue_push_one),
2549         (gst_multi_queue_item_steal_object),
2550         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2551         (gst_multi_queue_loop), (gst_multi_queue_chain),
2552         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2553         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2554         (gst_multi_queue_src_query), (single_queue_overrun_cb),
2555         (single_queue_underrun_cb), (single_queue_check_full),
2556         (gst_single_queue_new):
2557         Keep track of time in the queue by measuring the difference between
2558         running_time on input and output. This gives more accurate results and
2559         can compensate for segments correctly.
2560         Make a queue by default only 5 buffers deep. We will now increase the
2561         buffer size depending on the filledness of the other queues.
2562         Factor out commong flush code.
2563         Make sure we don't add additional refcounts to buffers when we can avoid
2564         it.
2565         Propagate GstFlowReturn differently.
2566         Use GSlice for intermediate GstMultiQueueItems.
2567         Keep track of EOS.
2568         Resize queues on over and underruns based on filled level of other
2569         queues.
2570         When checking if the queue is filled, prefer to measure in time if we
2571         can and fall back to bytes when no time is known.
2572
2573         * plugins/elements/gstqueue.c:
2574         Fix return value.
2575
2576 2007-06-15  Wim Taymans  <wim@fluendo.com>
2577
2578         * libs/gst/base/gstbasetransform.c:
2579         (gst_base_transform_sink_event):
2580         Work around the brokenness of the event vmethod in basetransform. Prefer
2581         to return TRUE when the subclass returned FALSE (meaning don't forward
2582         the event). 
2583
2584         * libs/gst/base/gstbasetransform.h:
2585         Clarify the docs.
2586
2587 2007-06-15  Wim Taymans  <wim@fluendo.com>
2588
2589         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2590         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2591         (gst_base_src_default_query), (gst_base_src_get_range),
2592         (gst_base_src_start):
2593         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2594         Improve debugging.
2595
2596 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2597
2598         * docs/pwg/advanced-types.xml:
2599           Added more formats to caps table.
2600
2601 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2602
2603         * tools/gst-launch.c: (main):
2604           Remove crufy code. GOption does not need this workaround.
2605
2606 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2607
2608         * libs/gst/controller/gstcontroller.c:
2609         (gst_controlled_property_set_interpolation_mode):
2610           Fix wrong getter for enums in controller.
2611
2612 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2613
2614         * libs/gst/check/gstcheck.c: (gst_check_init):
2615           Intercept criticals and warnings in the Gst-Phonon log domain, so
2616           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2617           well.
2618         
2619 2007-06-14  Edward Hervey  <edward@fluendo.com>
2620
2621         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2622         Since this file doesn't include "gst.h" it will not go through the
2623         macros that disable GST_LOG if debugging was disabled.
2624
2625 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2626
2627         * libs/gst/check/Makefile.am:
2628         * libs/gst/check/gstcheck.h:
2629         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2630         * pkgconfig/gstreamer-check.pc.in:
2631           Ugly 'fix' for the controller unit test on the p5 bot: in
2632           fail_unless_equals_float() check whether the values are 'almost
2633           equal' by allowing a small absolute error, which should be good
2634           enough for our use cases (normal numbers and values close to 0).
2635           Proper fixage left to floating point arithmetic aficionados.
2636
2637 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2638
2639         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2640         (gst_base_sink_render_object), (gst_base_sink_get_position):
2641           Add two breaks thats where missing.
2642
2643 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2644
2645         * docs/libs/gstreamer-libs-sections.txt:
2646         * libs/gst/check/gstcheck.h:
2647           API: add fail_unless_equals_float() and assert_equals_float().
2648           Add documentation for some of the macros.
2649
2650         * tests/check/libs/controller.c: (GST_START_TEST):
2651           Use newly-added asserts.
2652
2653 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2654
2655         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2656           Show the caps change in the log to help spotting the case of not
2657           exactly matching caps.
2658
2659 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2660
2661         * docs/pwg/building-boiler.xml:
2662           Fix typos, spotted by Thijs Vermeir (#447190).
2663
2664 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2665
2666         * docs/plugins/tmpl/.cvsignore:
2667         Ignore file to keep the buildbots happy
2668
2669 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2670
2671         * docs/plugins/Makefile.am:
2672         * docs/plugins/gstreamer-plugins-docs.sgml:
2673         * docs/plugins/gstreamer-plugins-sections.txt:
2674         Pull fdsink into the docs too.
2675
2676 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
2677
2678         * libs/gst/controller/gstinterpolation.c:
2679         Actually use the new functions with min/max checks for the trigger and
2680         none interpolation modes for get() and get_value_array() instead of
2681         just the latter.
2682
2683 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
2684
2685         * libs/gst/controller/gstcontroller.c:
2686         (gst_controlled_property_free):
2687         Unset the minimum and maximum GValues when freeing the corresponding
2688         GstControllerProperty struct.
2689
2690 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
2691
2692         * libs/gst/controller/gstcontroller.c:
2693         (gst_controlled_property_new):
2694         * libs/gst/controller/gstcontrollerprivate.h:
2695         * libs/gst/controller/gstinterpolation.c:
2696         (gst_controlled_property_find_control_point_node),
2697         (interpolate_none_get), (interpolate_none_get_enum_value_array),
2698         (interpolate_none_get_string_value_array),
2699         (interpolate_trigger_get),
2700         (interpolate_trigger_get_enum_value_array),
2701         (interpolate_trigger_get_string_value_array):
2702         Protect against values larger or smaller than the minimum or maximum
2703         allowed value for the property when using values that can be compared.
2704
2705         Optimize trigger interpolator a bit by taking the last requested value
2706         into account instead of always looping through the complete list.
2707
2708         Fix coding style a bit, everywhere else we use "return foo" instead
2709         of "return (foo)".
2710         
2711         * tests/check/libs/controller.c: (GST_START_TEST),
2712         (gst_controller_suite):
2713         Add unit test for the protection against too large or too small
2714         values.
2715
2716 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
2717
2718         * docs/random/slomo/controller.txt:
2719         Add some thoughts about the future of the controller.
2720
2721 2007-06-08  Wim Taymans  <wim@fluendo.com>
2722
2723         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2724         Don't overflow in retimestamping code.
2725
2726 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
2727
2728         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2729         Use gst_util_guint64_to_gdouble for conversions.
2730         * win32/common/libgstreamer.def:
2731         Add new exported functions.
2732
2733 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
2734
2735         * gst/gstutils.c:
2736           Small docs addition.
2737
2738 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2739
2740         * README:
2741           Remove that test line again.
2742
2743 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2744
2745         * README:
2746           Test commit mail sending.
2747
2748 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2749
2750         * configure.ac:
2751           Fix typo and test commit mail sending.
2752
2753 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2754
2755         * tests/examples/controller/audio-example.c:
2756           Improve comment and test commit mail sending.
2757
2758 2007-06-07  Wim Taymans  <wim@fluendo.com>
2759
2760         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2761         (gst_bin_remove_func), (gst_bin_element_set_state),
2762         (bin_handle_async_start), (bin_handle_async_done),
2763         (gst_bin_handle_message_func):
2764         Add helper function to find messages.
2765         Generate the async-done messages together with the state change
2766         messages.
2767         Small cleanups in handling toplevel bins.
2768
2769 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2770
2771         * libs/gst/base/gstdataqueue.c:
2772         * libs/gst/base/gstdataqueue.h:
2773         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2774         (gst_multi_queue_item_new), (gst_multi_queue_chain),
2775         (gst_multi_queue_sink_event):
2776         * tests/check/elements/multiqueue.c: (multiqueue_suite):
2777           Fix multiqueue leaking buffers and events when downstream or the
2778           queue are flushing. Make refcounting assumptions explicit and
2779           document them (shouldn't break existing code that uses it other than
2780           maybe leak miniobjects, but that already happens anyway). Add unit
2781           test for the most common flushing case. Fixes #423700.
2782           
2783 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2784
2785         * libs/gst/controller/gstcontroller.c:
2786         Clarify docs: The get_all, get_value_array(s) functions
2787         don't modify the GObject properties.
2788
2789 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2790
2791         * libs/gst/controller/gstcontroller.c:
2792         (gst_controlled_property_set_interpolation_mode),
2793         (gst_controlled_property_prepend_default),
2794         (gst_controlled_property_new), (gst_controller_set_unlocked),
2795         (gst_controller_set), (gst_controller_set_from_list),
2796         (gst_controller_unset), (gst_controller_unset_all):
2797         * libs/gst/controller/gstcontrollerprivate.h:
2798         * libs/gst/controller/gstinterpolation.c:
2799         Factor out the 'set' logic into gst_controller_set_unlocked for the
2800         gst_controller_set and gst_controller_set_from_list functions.
2801
2802         To make life of the interpolators easier always add a control point
2803         at timestamp zero with the default value.
2804
2805         In the linear interpolator make things more obvious by better variable
2806         naming (slope).
2807
2808         Implement cubic interpolation mode (by using a natural cubic spline)
2809         and map the quadratic interpolation mode to this too (as quadratic
2810         doesn't make much sense, see discussion on the list).
2811
2812         * tests/check/libs/controller.c: (GST_START_TEST),
2813         (gst_controller_suite):
2814         Add unit test for the cubic interpolation mode and check everywhere
2815         if the interpolation mode could be set as expected.
2816
2817 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2818
2819         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2820           Don't use GLib-2.10 functions, we still depend on
2821           GLib-how-old-is-it-again-2.8.
2822
2823 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2824
2825         * docs/gst/gstreamer-sections.txt:
2826         * gst/Makefile.am:
2827         * gst/gst.c:
2828         * gst/gst.h:
2829         * gst/gstparamspecs.c: (_gst_param_fraction_init),
2830         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2831         (_gst_param_fraction_values_cmp),
2832         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2833         * gst/gstparamspecs.h:
2834         * gst/gstvalue.c:
2835         * tests/check/Makefile.am:
2836         * tests/check/gst/.cvsignore:
2837         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2838         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2839         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2840         (GST_START_TEST), (gst_param_spec_suite):
2841           API: add GstParamSpecFraction, so elements can have fraction
2842           properties without lots of painful string parsing (#444648).
2843
2844 2007-06-05  Wim Taymans  <wim@fluendo.com>
2845
2846         * gst/gstobject.c: (gst_object_class_init):
2847         Fix signal signature.
2848
2849         * gst/gstsegment.c:
2850         Add small clarification in the api docs.
2851
2852         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2853         States are protected with object lock.
2854
2855 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2856
2857         * AUTHORS:
2858         I should probably be listed as an author by now.
2859
2860         * docs/random/release:
2861         Update the release doc
2862
2863 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
2864
2865         * gst/gstvalue.c:
2866           Make docs for gst_value_compare() mention return enums that
2867           actually exist.
2868
2869 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2870
2871         * configure.ac:
2872           Back to CVS
2873
2874 === release 0.10.13 ===
2875
2876 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
2877
2878         * configure.ac:
2879           releasing 0.10.13, "With or without you"
2880
2881 2007-05-25  Wim Taymans  <wim@fluendo.com>
2882
2883         * gst/gstbin.c: (bin_handle_async_done):
2884         Make sure that the child bin stops after completing the async state
2885         change so that the parent can continue the state change to PLAYING.
2886         Fixes #441159.
2887
2888 2007-05-25  Wim Taymans  <wim@fluendo.com>
2889
2890         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2891         (unref_data), (gst_collect_pads_remove_pad),
2892         (gst_collect_pads_check_pads):
2893         Use additional refcounting to avoid crashes when dynamically adding and
2894         removing pads. Fixes #420206.
2895
2896 2007-05-24  Wim Taymans  <wim@fluendo.com>
2897
2898         * tools/gst-launch.c: (event_loop):
2899         When buffering goes from a two digit to a single digit number, make sure
2900         to remove the old second digit by writing a blank over it.
2901
2902 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2903
2904         * libs/gst/base/gstdataqueue.c:
2905           Eliminate tabs and trailing comma in enum list; fix some typos.
2906
2907 2007-05-24  Wim Taymans  <wim@fluendo.com>
2908
2909         * tests/check/gst/gstbin.c: (GST_START_TEST):
2910         Allow refcount of 3 and 4 because some state thread might still be busy
2911         with it.
2912
2913 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2914
2915         * plugins/elements/Makefile.am:
2916         * plugins/elements/gstmultiqueue.h:
2917         * plugins/elements/gstqueue.h:
2918           These are not installed headers, no need for padding.
2919
2920 2007-05-24  Wim Taymans  <wim@fluendo.com>
2921
2922         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2923         (gst_bin_continue_func):
2924         Enable latency for next release.
2925         Restore STATE_LOCK around recalc_state that was left out during the
2926         rewrite and could result in racy behaviour when _get_state and
2927         recalc_state are run concurrently. See #440463.
2928
2929 2007-05-23  Wim Taymans  <wim@fluendo.com>
2930
2931         * tests/check/gst/gstsystemclock.c: (store_callback),
2932         (GST_START_TEST):
2933         Improve test_async_order to also work when both timers are already
2934         expired when we get scheduled to check it.
2935
2936 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2937
2938         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2939         (gst_bin_set_property), (gst_bin_get_property),
2940         (gst_bin_remove_func), (gst_bin_handle_message_func):
2941         * gst/gstbin.h:
2942           'private' is a c++ keyword, let's not use that in header files,
2943           otherwise c++ compilers will throw a tantrum.
2944
2945 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2946
2947         * plugins/elements/gstelements.c:
2948         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2949         (gst_file_sink_get_current_offset):
2950         * plugins/indexers/gstindexers.c: (plugin_init):
2951           Use #ifdef for HAVE_XYZ for consistency.
2952
2953         * tests/check/Makefile.am:
2954         * tests/check/elements/.cvsignore:
2955         * tests/check/elements/filesink.c: (setup_filesink),
2956         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2957           Add some unit tests for filesink.
2958
2959 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2960
2961         Patch by: Mark Nauwelaerts <manauw at skynet be>
2962
2963         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2964         (gst_file_sink_query), (gst_file_sink_do_seek),
2965         (gst_file_sink_get_current_offset), (gst_file_sink_render):
2966         * plugins/elements/gstfilesink.h:
2967           Fix position reporting; rename data_written member to current_pos to
2968           reflect its real meaning (fixes #412648).
2969
2970 2007-05-22  Edward Hervey  <edward@fluendo.com>
2971
2972         * docs/gst/gstreamer-sections.txt:
2973         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2974         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2975         (gst_bin_remove_func), (gst_bin_handle_message_func):
2976         * gst/gstbin.h:
2977         Add a property for bins that handle the state change of their childs.
2978         Fixes #435880
2979
2980 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2981
2982         * libs/gst/controller/gstinterpolation.c:
2983         Use an array of the correct type when using _get_value_array with
2984         linear interpolation.
2985
2986 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
2987
2988         * gst/gstelement.c (gst_element_requires_clock,
2989           gst_element_provides_clock, gst_element_request_pad,
2990           gst_element_class_set_details, gst_element_class_set_details_simple,
2991           gst_element_default_send_event, gst_element_abort_state,
2992           gst_element_continue_state, gst_element_set_state,
2993           gst_element_set_state_func, iterator_activate_fold_with_resync):
2994         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2995           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2996           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2997           gst_pad_get_range, gst_pad_pull_range):
2998         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2999           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
3000           GstPadActivateModeFunction, GstPadChainFunction,
3001           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
3002           GstPadFixateCapsFunction, GstPadTemplate):
3003         * gst/gstpipeline.c (gst_pipeline_change_state,
3004           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
3005           gst_pipeline_set_clock, gst_pipeline_auto_clock,
3006           gst_pipeline_get_delay):
3007           Whitespace and docs fixes.
3008
3009 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3010
3011         * libs/gst/controller/gstinterpolation.c:
3012         (interpolate_trigger_get_enum_value_array),
3013         (interpolate_trigger_get_string_value_array):
3014         Add support for retrieving value arrays when using the trigger
3015         interpolation mode. 
3016
3017 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3018
3019         * libs/gst/controller/gstcontroller.c:
3020         (gst_controller_get_value_array):
3021         * libs/gst/controller/gstcontroller.h:
3022         Clarify the docs of gst_controller_get_value_array(): The array where
3023         the values should be written to must be allocated as there seems to be
3024         no way to get the size of a random GType. This doesn't change any
3025         behaviour. Also fix some typos all over the place and remove an unused,
3026         commented function that is not necessary as g_object_set() could be
3027         used instead.
3028         * tests/check/libs/controller.c: (GST_START_TEST),
3029         (gst_controller_suite):
3030         Add unit test for gst_controller_get_value_array().
3031
3032 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
3033
3034         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3035
3036         Disable part of the gst_buffer_try_new_and_alloc test, because
3037         it can happily succeed on 64-bit systems where there's more address
3038         space available.
3039
3040 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3041
3042         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3043         Add unit test for the improved caps checking from bug #421543.
3044
3045 2007-05-21  Wim Taymans  <wim@fluendo.com>
3046
3047         * docs/design/part-synchronisation.txt:
3048         Small addition.
3049
3050         * gst/gstbin.c: (gst_bin_query):
3051         * plugins/elements/gstqueue.c: (apply_segment):
3052         Improve debugging.
3053
3054         * gst/gstmessage.h:
3055         Improve docs.
3056
3057 2007-05-21  Wim Taymans  <wim@fluendo.com>
3058
3059         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3060         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3061         (gst_pad_configure_src):
3062         Added simple version of improved caps checking. It was previously
3063         assumed that a setcaps function would check the validity of the caps but
3064         people prefer us to check caps against the template automatically. 
3065         Fixes #421543.
3066
3067 2007-05-21  Wim Taymans  <wim@fluendo.com>
3068
3069         * libs/gst/base/gstbasetransform.h:
3070         Fix macro for locking/unlocking the transform lock.
3071
3072 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3073
3074         * docs/plugins/tmpl/.cvsignore:
3075           Ignore more.
3076
3077 2007-05-18  Edward Hervey  <edward@fluendo.com>
3078
3079         * plugins/elements/gstqueue.c: (gst_queue_loop):
3080         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3081         for the subtle art of warning a potentially blocking thread that it
3082         should check the source pad return value, and relay the information
3083         upstream.
3084
3085 2007-05-18  Edward Hervey  <edward@fluendo.com>
3086
3087         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3088         Release the queue lock !
3089
3090 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3091
3092         * docs/libs/gstreamer-libs-sections.txt:
3093         Add the two new controller functions to the appropiate places.
3094
3095 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3096
3097         reviewed by: Stefan Kost <ensonic@users.sf.net>
3098
3099         * libs/gst/controller/gstcontroller.c:
3100         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3101         (_gst_controller_get_property), (_gst_controller_set_property),
3102         (_gst_controller_init), (_gst_controller_class_init):
3103         * libs/gst/controller/gstcontroller.h:
3104         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3105         (gst_object_get_control_rate), (gst_object_set_control_rate):
3106         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3107         Add API that provides sync suggestion timestamps for elements that
3108         call gst_object_sync_values() from which those elements can subdivide
3109         their processing loop to get the best results for the controlled
3110         properties. For now it just suggests last_sync + control_rate as
3111         new timestamp but this will be improved in the future.
3112
3113         While doing that change the control-rate property to a GstClockTime
3114         from guint and change it's meaning from samples to nanoseconds as
3115         the GstController doesn't know anything about sampling rate. Strictly
3116         speaking this breaks ABI but as the control-rate property didn't do
3117         anything in the past and as such couldn't be used this should be no
3118         problem.        
3119
3120 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3121
3122         reviewed by: Stefan Kost <ensonic@users.sf.net>
3123
3124         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3125         (gst_controller_unset_all):
3126         * libs/gst/controller/gstcontrollerprivate.h:
3127         * libs/gst/controller/gstinterpolation.c:
3128         (gst_controlled_property_find_control_point_node):
3129         Save last synced value from the list to continue searching from there
3130         in future syncs. This speeds everything up a bit.
3131         
3132 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3133
3134         reviewed by: Stefan Kost <ensonic@users.sf.net>
3135
3136         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3137         (gst_control_point_find), (gst_controlled_property_new),
3138         (gst_control_point_free), (gst_controlled_property_free),
3139         (gst_controller_set), (gst_controller_set_from_list),
3140         (gst_controller_unset), (gst_controller_unset_all),
3141         (gst_controller_sync_values):
3142         * libs/gst/controller/gstcontroller.h:
3143         * libs/gst/controller/gstcontrollerprivate.h:
3144         * libs/gst/controller/gstinterpolation.c:
3145         (gst_controlled_property_find_control_point_node),
3146         (interpolate_none_get), (interpolate_trigger_get):
3147         Add a new private GstControlPoint struct which "inherits" from
3148         GstTimedValue to allow different interpolators to store internal
3149         values next to each control point. From the outside everything is
3150         still a GstControlPoint so we don't loose binary compatibility.
3151         Also fixup all the GValue handling to not leak GValues or list nodes.
3152         * tests/check/libs/controller.c: (GST_START_TEST):
3153         Free the list nodes and GValues in the controller_misc test.
3154
3155 2007-05-17  Edward Hervey  <edward@fluendo.com>
3156
3157         * gst/gstsegment.c:
3158         Small doc fix.
3159
3160 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3161
3162         * gst/gstplugin.c: (gst_plugin_load_file):
3163           If we fail to load a plugin because of unresolved symbols or missing
3164           libraries and spew a warning to stderr, we may just as well mention
3165           which plugin it was that failed to load.
3166
3167 2007-05-13  David Schleef  <ds@schleef.org>
3168
3169         * docs/Makefile.am: the gtk-doc makefile snippet correctly
3170           handles the case when ENABLE_GTK_DOC is false, and installs
3171           the prebuilt documentation.  So gtk-doc subdirs are 
3172           unconditionally enabled.  Fixes: #349099.
3173
3174 2007-05-13  David Schleef  <ds@schleef.org>
3175
3176         * gst/gstutils.h: Reword some documentation.
3177
3178 2007-05-12  David Schleef  <ds@schleef.org>
3179
3180         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3181           do anything with the passed "module" parameter, so remove it.
3182           Allows removal of additional vestigal code.
3183
3184 2007-05-12  David Schleef  <ds@schleef.org>
3185
3186         * gst/gstplugin.c:
3187           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3188           Switch to using g_stat() because it's more portable.
3189
3190 2007-05-12  David Schleef  <ds@schleef.org>
3191
3192         * gst/gst.c:
3193           Add GST_DISABLE_OPTION_PARSING, in order to disable option
3194           parsing for embedded systems.
3195         * gst/gstelementfactory.c:
3196           Allow gst_element_register() to be called with plugin==NULL.
3197           Did nobody notice that static elements were broken?
3198
3199 2007-05-12  Wim Taymans  <wim@fluendo.com>
3200
3201         * tools/gst-launch.c: (event_loop):
3202         Give more interesting info when buffering starts and stops.
3203         Fix case where buffering starts but we fail to update the buffering flag
3204         because the target state is not PLAYING.
3205
3206 2007-05-12  Wim Taymans  <wim@fluendo.com>
3207
3208         * plugins/elements/gstqueue.c: (gst_queue_init),
3209         (gst_queue_finalize), (update_time_level), (apply_segment),
3210         (apply_buffer), (gst_queue_locked_flush),
3211         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3212         (gst_queue_handle_sink_event), (gst_queue_chain),
3213         (gst_queue_push_one), (gst_queue_loop):
3214         * plugins/elements/gstqueue.h:
3215         Refactor an cleanup queue a bit.
3216         Do better time level calculations that also work when the srcpad is not
3217         yet running.
3218         Remove some unneeded debug lines.
3219
3220         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3221         Added testcase for time level measurement.
3222         Try to make some stuff more racefree.
3223
3224 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3225
3226         * gst/gsturi.c: (gst_element_make_from_uri):
3227           Don't leak plugin feature.
3228
3229         * tests/check/Makefile.am:
3230         * tests/check/gst/.cvsignore:
3231         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3232           Add brain-dead unit test.
3233
3234 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3235
3236         Patch by: Jeroen Wouters <woutersj at gmail com>
3237
3238         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3239           Treat protocol strings in a case-insensitive way (#437563).
3240
3241 2007-05-11  Michael Smith <msmith@fluendo.com>
3242
3243         * gst/gstplugin.c: (gst_plugin_load_file):
3244         * gst/gstregistry.c: (gst_registry_scan_path_level):
3245           Don't print a g_warning for any failure to load a shared object.
3246           Instead, push this down into gstplugin.c, and warn _only_ if we
3247           failed to open the module (i.e. failure to link).
3248           Avoids warnings on normal, working, non-plugin .so files.
3249
3250 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
3251
3252         * gst/gstplugin.c (gst_plugin_load_file):
3253         * gst/gstregistry.c (GST_CAT_DEFAULT,
3254           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3255           Print a g_warning if there was an error when loading a plugins during
3256           registry scan. The shuld help beginners starting with gst-plugin
3257           template.
3258
3259 2007-05-10  Wim Taymans  <wim@fluendo.com>
3260
3261         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3262         (update_time_level), (gst_queue_locked_flush),
3263         (gst_queue_handle_sink_event), (gst_queue_chain),
3264         (gst_queue_push_one), (gst_queue_loop):
3265         * plugins/elements/gstqueue.h:
3266         Be smarter when calculating the current amount of data in the queue by
3267         measuring the difference between start and end timestamps (in running
3268         time) inside the queue. Fixes #432876.
3269         API: GstQueue::pushing to notify elements that we are pushing data again
3270         since the running signal is rather broken for this purpose.
3271
3272 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
3273
3274         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3275           gst_queue_base_init, gst_queue_init):
3276           use GST_BOILERPLATE
3277
3278 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
3279
3280         * win32/common/libgstreamer.def:
3281         Add new exported functions.
3282         * win32/vs6/grammar.dsp:
3283         Use grammar pre-generated files.
3284
3285 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3286
3287         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
3288
3289         * gst/Makefile.am:
3290         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3291         * gst/gstparse.h:
3292         * gst/gstutils.c: (gst_parse_bin_from_description):
3293         * gst/gstutils.h:
3294           Maintain API and ABI when --disable-parse is used. Now that
3295           we have an appropriate error code, we can just return NULL and the
3296           appropriate error when gst_parse_launch() is used despite it having
3297           been disabled (#342564).
3298
3299         * tests/check/Makefile.am:
3300         * tests/check/pipelines/.cvsignore:
3301         * tests/check/pipelines/parse-disabled.c:
3302           Make sure these functions exist and return NULL plus a GError when
3303           --disable-parse is used.
3304
3305 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3306
3307         * tests/benchmarks/complexity.c: (main):
3308         * tests/benchmarks/mass-elements.c: (main):
3309           Set a good example and don't leak messages.
3310
3311 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
3312
3313         * docs/gst/Makefile.am:
3314         * docs/libs/Makefile.am:
3315           Correct fixxrefs options.
3316
3317         * docs/plugins/Makefile.am:
3318         * docs/plugins/gstreamer-plugins-docs.sgml:
3319         * docs/plugins/gstreamer-plugins-sections.txt:
3320         * plugins/elements/Makefile.am:
3321         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3322         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3323           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3324           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3325           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3326           _GstCapsFilterClass, trans_class):
3327         * plugins/elements/gstelements.c (name, rank, type, _elements):
3328         * plugins/elements/gstidentity.c
3329           (gst_identity_check_imperfect_timestamp,
3330           gst_identity_check_imperfect_offset):
3331           Document capsfilter and add doc-blurb to identity.
3332
3333 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3334
3335         * libs/gst/controller/gstcontroller.c:
3336         (gst_controlled_property_set_interpolation_mode):
3337         * libs/gst/controller/gstinterpolation.c:
3338           Don't crash if someone tries to set an interpolation mode that
3339           is invalid or that isn't supported yet. Fixes #422295.
3340
3341         * tests/check/libs/controller.c: (GST_START_TEST),
3342         (gst_controller_suite):
3343           Add a test case for the above.
3344
3345 2007-05-03  Edward Hervey  <edward@fluendo.com>
3346
3347         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3348         Properly set the last_stop position on GstSegment. This will only happen
3349         if there is a buffer to push out.
3350
3351 2007-05-03  Wim Taymans  <wim@fluendo.com>
3352
3353         * libs/gst/base/gstbasetransform.c:
3354         (gst_base_transform_buffer_alloc):
3355         always_in_place does not mean that the sink and source caps are the
3356         same! Make sure we don't blindly proxy the buffer_alloc in this case.
3357
3358 2007-05-03  Wim Taymans  <wim@fluendo.com>
3359
3360         * docs/libs/gstreamer-libs-sections.txt:
3361         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3362         (gst_base_src_default_query), (gst_base_src_get_range):
3363         * libs/gst/base/gstbasesrc.h:
3364         API: gst_base_src_query_latency(). Added method so that subclasses can
3365         easily get the latency values of the base source class.
3366
3367 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
3368
3369         * tools/gst-inspect.c (print_implementation_info):
3370         Remove 0.8 cruft.
3371
3372 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
3373
3374         * tools/Makefile.am:
3375         * tools/gst-launch.1.in:
3376           Don't create a customised man page based on the host architecture,
3377           describe the default registry path generically. That way the man
3378           page is the same for all architectures and packagers have one
3379           multilib issue less to deal with. Fixes #434926.
3380
3381 2007-05-02  Wim Taymans  <wim@fluendo.com>
3382
3383         * gst/gstpad.c:
3384         Fix documentation as spotted by rg on IRC. 
3385
3386 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
3387
3388         * gst/gstutils.c:
3389           Improve docs for gst_element_{link,unlink}.
3390
3391 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
3392
3393         * docs/design/part-events.txt:
3394         * docs/design/part-overview.txt:
3395         * gst/gstevent.c:
3396         * gst/gsturi.c:
3397         * gst/gsturi.h:
3398         * libs/gst/base/gstbasesink.c:
3399           Typo fixes; minor docs addition.
3400
3401 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3402
3403         * docs/gst/gstreamer-sections.txt:
3404         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3405         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3406         * gst/gsturi.h:
3407         API: Add gst_uri_protocol_is_supported(), which checks if a sink
3408         or src that supports a given URI protocol exists.
3409
3410 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3411
3412         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3413         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3414         Set the location to NULL if "file://" is set as URI. Otherwise
3415         some random previous URI would still be set if "file://" is
3416         set on an already used filesink/filesrc.
3417
3418 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3419
3420         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3421         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3422         Special case the "file://" URI as as this is used by some
3423         applications to test with gst_element_make_from_uri if there's
3424         an element that supports the URI protocol.
3425         Also move the g_path_is_absolute() check for the location part
3426         of the URI to also check this for "file://localhost/bla" URIs.
3427
3428 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
3429
3430         * docs/gst/gstreamer-sections.txt:
3431         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3432         * gst/gstbuffer.h:
3433         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3434         (gst_buffer_suite):
3435           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3436
3437 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
3438
3439         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3440         (gst_registry_binary_load_pad_template),
3441         (gst_registry_binary_load_plugin),
3442         (gst_registry_binary_read_cache):
3443         * gst/gstregistrybinary.h:
3444           Implement no-mmap alternative for registry reading. Do code cleanups.
3445           Add more comments about avoiding strdups for all text data. Comments
3446           welcome.
3447
3448 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3449
3450         * gst/gstregistrybinary.h (GstBinaryPluginElement,
3451           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3452           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3453           Comment structs and reformat to fix the build (that stuff should go
3454           into a priv. header).
3455
3456 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3457
3458         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3459         (gst_registry_binary_load_feature):
3460         * gst/gstregistrybinary.h:
3461           Refactor so that we can implement multiple features. Add support for
3462           TypeFindFactory features.
3463
3464 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
3465
3466         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3467
3468         * configure.ac:
3469           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3470
3471 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
3472
3473         * gst/gstbin.c: (gst_bin_element_set_state),
3474         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3475         (bin_handle_async_done), (gst_bin_handle_message_func):
3476           Fix build with --gst-disable-gst-debug
3477
3478 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3479
3480         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3481           Make sure streaming has finished before calling the ::stop() vfunc,
3482           since that vfunc might clear state which is being used in the
3483           streaming thread. This fixes a race that caused crashes in
3484           audioresample when shutting down a pipeline (#420106).
3485
3486 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3487
3488         * docs/gst/gstreamer-sections.txt:
3489           That was one byte missing.
3490
3491 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3492
3493         * configure.ac:
3494         * docs/gst/gstreamer-sections.txt:
3495         * gst/Makefile.am:
3496         * gst/gstconfig.h.in:
3497         * gst/gstobject.c: (gst_object_class_init),
3498         (gst_signal_object_class_init):
3499         * gst/gstobject.h:
3500           2nd attempt to have a xml-less build as a joined effort of #413123
3501           and #421480.
3502
3503 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3504
3505         * docs/design/draft-tagreading.txt:
3506           Added open issues/thoughts to draft.
3507
3508 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3509
3510         * gst/parse/grammar.tab.pre.c:
3511         * gst/parse/grammar.tab.pre.h:
3512         * gst/parse/lex._gst_parse_yy.pre.c:
3513         Update the prebuild parser sources.
3514
3515 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3516
3517         * gst/parse/Makefile.am:
3518         And now fix the building of the flex sources. Now everything should
3519         work as expected.
3520
3521 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3522
3523         * gst/parse/Makefile.am:
3524         Now hopefully fix the build failures by setting proper rule
3525         dependencies and moving instead of copying.
3526
3527 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3528
3529         * tests/benchmarks/complexity.gnuplot:
3530         * tests/benchmarks/complexity.scm:
3531         * tests/benchmarks/mass-elements.gnuplot:
3532         * tests/benchmarks/mass-elements.scm:
3533           Total licensification.
3534
3535 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3536
3537         * gst/parse/Makefile.am:
3538           Fix the build by correcting the rule that gave wrong files to flex.
3539
3540 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3541
3542         * tests/benchmarks/complexity.c:
3543         * tests/benchmarks/mass-elements.c:
3544           Change licence to LGPL as granted by Benjamin and Andy.
3545
3546 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3547
3548         * gst/parse/Makefile.am:
3549         Add correct grammar.tab.h dependency if compiling without new enough
3550         flex. Fixes #431150.
3551
3552 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3553
3554         * gst/parse/Makefile.am:
3555         Fix typo and use outdated sources if the flex/bison sources are newer
3556         than the pregenerated ones but flex is too old. Print a warning in
3557         that case. This should fix the build on the build bot.
3558
3559 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3560
3561         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3562         * gst/parse/Makefile.am:
3563         * gst/parse/grammar.y:
3564         * gst/parse/parse.l:
3565         Make the parser reentrant and recursively callable. This requires flex
3566         >= 2.5.31, for older versions pregenerated sources are used as we
3567         can't bump the build dependency. Finally fixes #349180.
3568
3569         * gst/gstparse.c: (gst_parse_launch):
3570         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3571         now anyway.
3572
3573         * docs/gst/Makefile.am:
3574         * docs/gst/Makefile.am:
3575         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3576         (__gst_parse_strfree), (__gst_parse_link_new),
3577         (__gst_parse_link_free), (__gst_parse_chain_new),
3578         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3579         (gst_parse_element_set), (gst_parse_free_link),
3580         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3581         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3582         (_gst_parse_launch):
3583         * gst/parse/grammar.tab.pre.h:
3584         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3585         (yy_get_previous_state), (yy_try_NUL_trans), (input),
3586         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3587         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3588         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3589         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3590         (_gst_parse_yypop_buffer_state),
3591         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3592         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3593         (yy_fatal_error), (_gst_parse_yyget_extra),
3594         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3595         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3596         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3597         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3598         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3599         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3600         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3601         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3602         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3603         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3604         (_gst_parse_yyfree):
3605         If the installed flex version is too old use pre-generated parser
3606         sources. These pre-generated parser sources are always updated when
3607         the actual flex/bison sources change but require everybody who wants
3608         to change something in the parser to have flex >= 2.5.31 installed.
3609
3610 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
3611
3612         * common/m4/gst-gettext.m4:
3613         * gst/gst-i18n-lib.h:
3614           Make --disable-nls to work
3615
3616 2007-04-17  Wim Taymans  <wim@fluendo.com>
3617
3618         * gst/gstconfig.h.in:
3619         Revert previous change that broke the build.
3620
3621 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
3622
3623         * configure.ac:
3624         * gst/Makefile.am:
3625         * gst/gstconfig.h.in:
3626           Drop libxml2 dependency when building with 
3627           --enable-binary-registry --disable-loadsave
3628
3629 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
3630
3631         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3632         (gst_registry_binary_read_cache):
3633         * gst/gstregistrybinary.h:
3634           Remove unnecessary <sys/mman.h> include which broke the win32 build
3635           with MingW; move includes from header file to .c file, even if the
3636           header file isn't installed; use g_strerror() where UTF-8 strings
3637           are expected, such as in GST_DEBUG messages.
3638
3639 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3640
3641         * docs/libs/gstreamer-libs-sections.txt:
3642         Remove bogus addition for API I didn't end up keeping.
3643
3644         * libs/gst/base/gstbasesrc.h:
3645         Mention Since: 0.10.13 in the documentation.
3646
3647         Add the API keyword to the previous ChangeLog entry.
3648
3649 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3650
3651         * docs/libs/gstreamer-libs-sections.txt:
3652         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3653         (gst_base_src_default_prepare_seek_segment),
3654         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3655         * libs/gst/base/gstbasesrc.h:
3656         Allow basesrc derived classes to execute seeks in other formats
3657         by providing a prepare_seek_segment vmethod. Sub-classes can choose
3658         to prepare the GstSegment in any format that their perform_seek method
3659         will be able to understand. The default implementation provides the
3660         old behaviour of attempting to convert the seek offsets to the 
3661         configured native format.
3662
3663         API: basesrc::prepare_seek_segment vmethod.
3664
3665 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3666
3667         * gst/gstelement.c: (gst_element_get_state_func):
3668         Don't output the same debug statement twice.
3669
3670         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3671         (gst_adapter_peek), (gst_adapter_take_buffer):
3672         Optimise the case where we have buffers at the head of the queue that
3673         can be joined quickly (because they're contiguous sub-buffers) by
3674         merging them together rather than copying data out into new memory.
3675
3676         * gst/parse/grammar.y:
3677         * tests/check/pipelines/parse-launch.c:
3678         Fix a leak in an error path for parse_launch, and add a check 
3679         for it to the testsuite.
3680
3681 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3682
3683         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3684           Don't deadlock when releasing a pad - gst_pad_set_active may try
3685           and take the multiqueue lock too.
3686
3687 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3688
3689         * gst/gsterror.c: (_gst_core_errors_init):
3690         * gst/gsterror.h:
3691           API: add GST_CORE_ERROR_DISABLED (#392804).
3692
3693 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3694
3695         * docs/faq/gst-uninstalled:
3696           don't get empty paths on the PATH variables
3697         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3698           Don't format for the uncommon terminal width of 84 characters.
3699
3700 2007-04-06  Wim Taymans  <wim@fluendo.com>
3701
3702         * gst/gstpipeline.c: (reset_stream_time),
3703         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3704         Only try to select a different pipeline clock when we went back to
3705         PAUSED and not when we merely got flushed.
3706
3707 2007-04-05  Michael Smith  <msmith@fluendo.com>
3708
3709         * tools/gst-launch.1.in:
3710           fractions are better supported in gstreamer than ractions, so
3711           suggest using those.
3712
3713 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3714
3715         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3716
3717         * po/LINGUAS:
3718         * po/da.po:
3719           Added Danish translation.
3720
3721 2007-04-05  Wim Taymans  <wim@fluendo.com>
3722
3723         * libs/gst/base/gstbasesink.c:
3724         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3725         Fix leak caused when refusing newsegment after EOS.
3726
3727         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3728         (gst_fake_sink_init), (gst_fake_sink_set_property),
3729         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3730         (gst_fake_sink_render), (gst_fake_sink_change_state):
3731         * plugins/elements/gstfakesink.h:
3732         Add num-buffers property to make the element generate EOS after a
3733         configurable amount of buffers.
3734         API: fakesink::num-buffers property.
3735
3736         * tests/check/elements/fakesink.c: (GST_START_TEST),
3737         (fakesink_suite):
3738         Fix GstBus leak in test.
3739         Test for fakesink num-buffers.
3740
3741 2007-04-05  Wim Taymans  <wim@fluendo.com>
3742
3743         * libs/gst/base/gstbasesink.c:
3744         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3745         (gst_base_sink_change_state):
3746         Don't accept anything after an EOS, return UNEXPECTED instead.
3747
3748         * tests/check/elements/fakesink.c: (GST_START_TEST),
3749         (fakesink_suite):
3750         Unit test for new EOS behaviour.
3751
3752 2007-04-05  Wim Taymans  <wim@fluendo.com>
3753
3754         * gst/gstelement.c: (gst_element_get_request_pad):
3755         Make padtemplates also work when they don't contain %s or %d.
3756
3757 2007-04-05  Wim Taymans  <wim@fluendo.com>
3758
3759         * docs/gst/gstreamer-sections.txt:
3760         * gst/gstclock.c: (gst_clock_adjust_unlocked),
3761         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3762         * gst/gstclock.h:
3763         Improve _adjust_unlocked() so that it overflows less.
3764         Add gst_clock_unadjust_unlocked to convert from external time to
3765         internal time based on calibration.
3766         Add some more debug.
3767         API: GstClock::gst_clock_unadjust_unlocked()
3768
3769 2007-04-03  Wim Taymans  <wim@fluendo.com>
3770
3771         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3772
3773         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3774         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3775         when releasing sink pad. Fixes #425400.
3776
3777 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
3778
3779         * docs/random/ensonic/dynlink.txt:
3780           More work on proposal for new core api.
3781
3782         * docs/libs/gstreamer-libs-sections.txt:
3783         * libs/gst/base/gstbasetransform.h:
3784           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3785           
3786         * libs/gst/controller/gstcontroller.c:
3787         (on_object_controlled_property_changed),
3788         (gst_controller_sync_values),
3789         (gst_controller_set_interpolation_mode):
3790         * libs/gst/controller/gstcontroller.h:
3791           Less verbose logging add docs for unimplemented parts and correctly
3792           return when using unavailable parts.
3793
3794 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3795
3796         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3797         Move all the debug to the CLOCK category, and associate it with
3798         the clock object.
3799
3800 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3801
3802         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3803         Make take_buffer a bit quicker by removing redundant checks
3804         caused by calling gst_adapter_take.
3805
3806 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3807
3808         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3809           Don't leak GCond.
3810
3811         * tests/check/Makefile.am:
3812         * tests/check/elements/.cvsignore:
3813         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3814         (GST_START_TEST), (multiqueue_suite):
3815           Add some dead simple unit tests for the 'multiqueue' element
3816           (some bits don't work yet and are disabled for now).
3817
3818 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3819
3820         * gst/gstelement.c: (gst_element_get_request_pad),
3821         (gst_element_class_get_request_pad_template):
3822           Make gst_element_get_request_pad() create request pads only for
3823           request pad templates and not for, say, sometimes pad templates.
3824
3825 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
3826
3827         * docs/design/draft-klass.txt:
3828           Add example that needs more thinking.
3829         
3830         * docs/design/draft-missing-plugins.txt:
3831           More thoughts about wrapper plugins.
3832         
3833         * docs/random/ensonic/embedded.txt:
3834         * docs/random/ensonic/profiling.txt:
3835           More design work.
3836
3837 2007-03-25  Wim Taymans  <wim@fluendo.com>
3838
3839         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3840         (gst_base_src_loop):
3841         Only push the segment events in the PLAYING state for live sources.
3842
3843 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
3844
3845         * gst/gstpipeline.c: (gst_pipeline_change_state):
3846         Modify the clock distribution path in PAUSED->PLAYING so that we 
3847         never attempt to choose a new clock unless we're actually leaving
3848         the PAUSED state for the first time. This prevents choosing a
3849         different clock when the state_change gets called for a 2nd time due
3850         to some element doing an async state change.
3851
3852 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3853
3854         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3855         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3856         (gst_pad_chain_unchecked), (gst_pad_push):
3857         Revert last commit. This needs some more thoughts.
3858
3859 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3860
3861         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3862         (gst_pad_chain_unchecked), (gst_pad_push):
3863         Check in set_caps if the caps are compatible with the pad and remove
3864         two functions that are redundant now. Fixes #421543.
3865
3866 2007-03-22  Wim Taymans  <wim@fluendo.com>
3867
3868         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3869         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3870         Unref some more to make valgrind happy.
3871
3872 2007-03-22  Wim Taymans  <wim@fluendo.com>
3873
3874         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3875         (gst_system_clock_id_wait_jitter),
3876         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3877         Fix anoying regression that survived a few releases. When adding an
3878         async entry while blocking on a sync entry, the sync entry will unblock
3879         but still be busy, so it should continue to wait instead of returning
3880         _BUSY to the app.
3881         Add some comments here and there.
3882
3883         * tests/check/gst/gstsystemclock.c: (mixed_thread),
3884         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3885         Add testcase for this.
3886
3887 2007-03-22  Wim Taymans  <wim@fluendo.com>
3888
3889         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3890         Handle errors from the clock sync better, only UNSCHEDULED indicates a
3891         WRONG_STATE and can silently pause the task. All other cases should
3892         error out.
3893
3894 2007-03-22  Wim Taymans  <wim@fluendo.com>
3895
3896         Patch by: Ville Syrjala <syrjala at sci dot fi>
3897
3898         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3899         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
3900         Improve debugging.
3901
3902 2007-03-21  Michael Smith  <msmith@fluendo.com>
3903
3904         * docs/pwg/advanced-types.xml:
3905           Fix some errors in the typefinding docs pointed out on irc.
3906
3907 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
3908
3909         * libs/gst/base/gstbasesrc.c:
3910         Clarify FIXME comment in the face of having added unlock_stop()
3911
3912 2007-03-21  Wim Taymans  <wim@fluendo.com>
3913
3914         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3915         Prepare for release where we warn against possible app breakage in the
3916         case of live pipelines along with an env var to enable/disable live
3917         preroll mode (GST_COMPAT=[no-]live-preroll).
3918
3919 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3920
3921         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3922         So we should use correct constants for checking for None offset.
3923
3924 2007-03-20  Wim Taymans  <wim@fluendo.com>
3925
3926         * docs/design/part-block.txt:
3927         Mention the fact that the newly switched element should be set to at
3928         least PAUSED.
3929
3930 2007-03-20  Wim Taymans  <wim@fluendo.com>
3931
3932         * gst/gst.c:
3933         Fix compilation with registry disabled as spotted by Saur.
3934
3935 2007-03-20  Wim Taymans  <wim@fluendo.com>
3936
3937         Patch by: Olivier Crete <tester at tester dot ca>
3938
3939         * gst/gstelement.c: (gst_element_sync_state_with_parent):
3940         Look at the pending state too when syncing the element state to the
3941         parent. Fixes #420133.
3942
3943 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
3944
3945         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3946         (gst_base_sink_change_state):
3947         * libs/gst/base/gstbasesink.h:
3948         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3949         (gst_base_src_default_event), (gst_base_src_unlock_stop),
3950         (gst_base_src_deactivate):
3951         * libs/gst/base/gstbasesrc.h:
3952         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3953         for sub-classes to correctly clear any state they set trying to
3954         unlock, such as clearing out unlock commands from a command fd.
3955         API: basesrc::unlock_stop
3956         API: basesink::unlock_stop
3957
3958         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3959         (gst_fd_sink_render), (gst_fd_sink_unlock),
3960         (gst_fd_sink_unlock_stop):
3961         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3962         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3963         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3964
3965         Implement unlock_stop in fdsrc and fdsink.
3966         Implement seeking in fdsrc when a seekable fd is passed, as in
3967         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3968
3969 2007-03-19  Wim Taymans  <wim@fluendo.com>
3970
3971         Patch by: Evan Nemerson <evan at coeus dash group dot com>
3972
3973         * gst/gstelement.c: (gst_element_class_init):
3974         Fix pad-added and pad-removed signal signatures so that the pad type is
3975         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3976
3977 2007-03-19  Wim Taymans  <wim@fluendo.com>
3978
3979         * docs/gst/gstreamer-sections.txt:
3980         Add new element field and method.
3981
3982         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3983         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3984         (gst_bin_recalc_state), (gst_bin_get_state_func),
3985         (gst_bin_element_set_state), (gst_bin_change_state_func),
3986         (gst_bin_continue_func), (bin_bus_handler),
3987         (bin_push_state_continue), (bin_handle_async_start),
3988         (bin_handle_async_done), (gst_bin_handle_message_func):
3989         Make async state changes a bit smarter by using new ASYNC_START and
3990         ASYNC_DONE messages. This reduces the number of times we run the state
3991         recalculation thread.
3992         Don't change state of element with a pending ASYNC_START message.
3993         Deprecate STATE_DIRTY messages.
3994         
3995         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3996         (gst_element_get_state_func), (gst_element_continue_state),
3997         (gst_element_lost_state), (gst_element_set_state_func),
3998         (gst_element_change_state):
3999         * gst/gstelement.h:
4000         Keep the state that was last set by the app in a new element field.
4001         Don't allow state changes when handling an element event.
4002         Post ASYNC_START and ASYNC_DONE messages.
4003         Change lost_state so that we go to PAUSED and wait for the parent to set
4004         us to PLAYING again (so latency calculation can be performed)
4005         Export gst_element_change_state() method so that subclasses can use it.
4006         API: gst_element_change_state()
4007         API: GST_STATE_TARGET
4008
4009         * gst/gstpipeline.c: (gst_pipeline_class_init),
4010         (reset_stream_time), (gst_pipeline_change_state),
4011         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
4012         Using the new ASYNC_START message we can reset the base_time when
4013         needed. This can then be used to implement base_time redistribution in
4014         flushing seeks so that we can remove the explicit seek handling.
4015         Perform latency query and configuration when going to PLAYING.
4016
4017         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4018         (gst_base_sink_query), (gst_base_sink_change_state):
4019         Post new ASYNC_START/ASYNC_DONE messages.
4020
4021         * tests/check/generic/sinks.c: (GST_START_TEST):
4022         Fix test because the bin will not set the async element to PLAYING right
4023         away.
4024
4025         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4026         Make the message check a little stronger.
4027         Handle ASYNC messages.
4028
4029         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4030         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4031         Expect ASYNC_DONE messages.
4032
4033 2007-03-19  Wim Taymans  <wim@fluendo.com>
4034
4035         * docs/gst/gstreamer-sections.txt:
4036         * gst/gstmessage.c: (gst_message_new_async_start),
4037         (gst_message_new_async_done), (gst_message_parse_info),
4038         (gst_message_parse_async_start):
4039         * gst/gstmessage.h:
4040         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4041         support.
4042
4043 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4044
4045         * tools/gst-inspect.c:
4046         (print_plugin_automatic_install_info_codecs):
4047           Now that we don't check for the 'Codec' keyword any longer in the
4048           klass, we shouldn't spew a warning if the klass isn't a decoder or
4049           encoder (since it might be a Source/Network, for example).
4050
4051 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4052
4053         * tools/gst-inspect.c:
4054         (print_plugin_automatic_install_info_codecs):
4055           Don't require decoder/demuxer/depayloader elements or
4056           encoder/muxer/paylader elements to have 'Codec' as part of their
4057           factory class string when introspecting a plugin's capabilities.
4058           draft-klass.txt mentions that it might be removed in future, and
4059           flump3dec doesn't have it as part of its class string, so chances
4060           are others might also not have it.
4061
4062 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4063
4064         * po/af.po:
4065         * po/az.po:
4066         * po/bg.po:
4067         * po/ca.po:
4068         * po/cs.po:
4069         * po/de.po:
4070         * po/en_GB.po:
4071         * po/fr.po:
4072         * po/it.po:
4073         * po/nb.po:
4074         * po/nl.po:
4075         * po/ru.po:
4076         * po/sq.po:
4077         * po/sr.po:
4078         * po/sv.po:
4079         * po/tr.po:
4080         * po/uk.po:
4081         * po/vi.po:
4082         * po/zh_CN.po:
4083         * po/zh_TW.po:
4084           Update translations from translation project
4085
4086 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
4087
4088         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4089         (gst_child_proxy_set_property):
4090           Invert precondition check to be alike the ones in the mimiced gobject
4091           api.
4092
4093 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
4094
4095         * docs/design/draft-tagreading.txt:
4096         * docs/random/ensonic/audiobaseclasses.txt:
4097           Do some Architect work.
4098
4099         * gst/gstobject.c: (gst_object_set_name):
4100           Add a WARNING.
4101
4102         * gst/gstpad.c:
4103           Add docs that point from gst_pad_get_range to gst_pad_pull_range
4104
4105 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
4106
4107         * gst/gstsystemclock.c: (gst_system_clock_init),
4108         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4109         Defer starting the async system clock thread until the first async
4110         wait is scheduled. Fixes #414986.
4111
4112 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4113
4114         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4115         (gst_single_queue_free):
4116           Fix small leak (free GstSingleQueue structure too, not only contents).
4117
4118 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
4119
4120         * gst/gstbin.c:(gst_bin_add):
4121         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4122         * win32/common/libgstbase.def:
4123         * win32/common/libgstreamer.def:
4124         Add new exported functions.
4125
4126 2007-03-09  Wim Taymans  <wim@fluendo.com>
4127
4128         * docs/plugins/gstreamer-plugins-sections.txt:
4129         Fix GstTee docs.
4130
4131 2007-03-09  Wim Taymans  <wim@fluendo.com>
4132
4133         * docs/gst/gstreamer-sections.txt:
4134         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4135         * gst/gstbuffer.h:
4136         Add metadata copy functions. Fixes #393099.
4137         API: gst_buffer_copy_metadata()
4138
4139         * gst/gstutils.c: (gst_buffer_stamp):
4140         * libs/gst/base/gstbasetransform.c:
4141         (gst_base_transform_prepare_output_buffer):
4142         Use new metadata copy functions.
4143
4144 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4145
4146         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4147         (gst_identity_init), (gst_identity_check_perfect),
4148         (gst_identity_check_imperfect_timestamp),
4149         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4150         (gst_identity_set_property), (gst_identity_get_property):
4151         * plugins/elements/gstidentity.h:
4152         Separate out check-imperfect-timestamp and check-imperfect-offset.
4153         Put back check-perfect as it was to keep compatibility.
4154
4155 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
4156
4157         * gst/gstelement.c: (gst_element_dispose):
4158         There's no need to warn if VOID_PENDING is not NONE here, as
4159         long as the state is NULL it's ok, and that's checked immediately
4160         above.
4161
4162 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4163
4164         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4165         Fix check for perfect stream to ignore buffers with -1 
4166         offsets/offset ends when checking data contiguity.
4167
4168 2007-03-08  Wim Taymans  <wim@fluendo.com>
4169
4170         * tools/gst-launch.c: (event_loop):
4171         Print INFO messages.
4172
4173 2007-03-08  Wim Taymans  <wim@fluendo.com>
4174
4175         * libs/gst/base/gstbasetransform.c:
4176         (gst_base_transform_sink_eventfunc),
4177         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4178         (gst_base_transform_activate):
4179         * libs/gst/base/gstbasetransform.h:
4180         Add support for dropping buffers with custom GstFlowReturn.
4181         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4182         buffers or dropped buffers.
4183
4184         * docs/libs/gstreamer-libs-sections.txt:
4185         docs for new custom return code.
4186
4187         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4188         Use drop support in base class to implement drop-probability.
4189
4190 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4191
4192         * gst/gst.c: (load_plugin_func):
4193         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4194         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4195         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4196           Remove newlines at end of debug log strings.
4197
4198 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4199
4200         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4201         Only post bus message at max, once per buffer received.
4202
4203 2007-03-07  Wim Taymans  <wim@fluendo.com>
4204
4205         * docs/design/Makefile.am:
4206         * docs/design/part-synchronisation.txt:
4207         Add doc about synchronisation
4208
4209         * docs/design/draft-latency.txt:
4210         * docs/design/part-TODO.txt:
4211         * docs/design/part-clocks.txt:
4212         * docs/design/part-events.txt:
4213         * docs/design/part-gstbus.txt:
4214         * docs/design/part-gstpipeline.txt:
4215         * docs/design/part-live-source.txt:
4216         * docs/design/part-messages.txt:
4217         * docs/design/part-overview.txt:
4218         * docs/design/part-streams.txt:
4219         * docs/design/part-trickmodes.txt:
4220         Documentation updates.
4221
4222 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4223
4224         * gstreamer.doap:
4225         Update the doap file.
4226
4227 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4228
4229         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4230         Rename non-perfect to imperfect for Mike and for the sanctity of the
4231         language.
4232         Also make sure bus message gets emitted for data-incontiguities.
4233
4234 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4235
4236         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4237         (gst_identity_start):
4238         * plugins/elements/gstidentity.h:
4239         Emit bus message if check-perfect is true and we encounter a
4240         non-perfect stream between 2 consecutive buffers.
4241         Fixes #415394.
4242
4243 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4244
4245         * configure.ac:
4246         Back to CVS
4247
4248 === release 0.10.12 ===
4249
4250 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
4251
4252         * configure.ac:
4253           releasing 0.10.12, "Inevitable Demise"
4254
4255 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
4256
4257         * configure.ac:
4258          Version 0.10.11.2 (0.10.12 pre-release)
4259          Bump libtool versioning.
4260
4261 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
4262
4263         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4264           Log flow-names and not numbers.
4265
4266 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4267
4268         * configure.ac:
4269           Convert to new AG_GST style.
4270
4271 2007-02-28  Wim Taymans  <wim@fluendo.com>
4272
4273         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4274         Don't unref query twice.
4275
4276 2007-02-28  Wim Taymans  <wim@fluendo.com>
4277
4278         * gst/gstvalue.c: (gst_value_transform_object_string),
4279         (_gst_value_initialize):
4280         Implement GstObject -> string transform so we print object names
4281         when serializing GValues containing GstObjects.
4282
4283 2007-02-28  Wim Taymans  <wim@fluendo.com>
4284
4285         * docs/gst/gstreamer-sections.txt:
4286         Add new stuff to docs.
4287
4288 2007-02-28  Wim Taymans  <wim@fluendo.com>
4289
4290         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4291         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4292         (gst_base_sink_change_state):
4293         Improve latency query code.
4294         Don't leak latency events.
4295
4296         * tests/check/gst/gstbin.c: (GST_START_TEST):
4297         Improve debugging.
4298
4299 2007-02-28  Wim Taymans  <wim@fluendo.com>
4300
4301         * gst/gstelement.c: (gst_element_message_full),
4302         (gst_element_get_state_func):
4303         * gst/gstelement.h:
4304         Improve docs a little. Added Since: for new macro.
4305
4306         * gst/gstobject.c: (gst_object_sink):
4307         * gst/gstpipeline.c: (gst_pipeline_change_state),
4308         (gst_pipeline_set_new_stream_time):
4309         * gst/gstpipeline.h:
4310         Improve debugging and docs.
4311
4312         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4313         Improve debugging.
4314
4315 2007-02-28  Wim Taymans  <wim@fluendo.com>
4316
4317         * gst/gstelement.c: (gst_element_message_full),
4318         (gst_element_set_locked_state), (gst_element_get_state_func),
4319         (gst_element_change_state):
4320         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4321         Documentation updates.
4322         Small code cleanups.
4323
4324         * gst/gstmessage.c: (gst_message_new_info),
4325         (gst_message_parse_info):
4326         * gst/gstmessage.h:
4327         API: gst_message_new_info()
4328         API: gst_message_parse_info()
4329         Add INFO message create and parse code.
4330
4331 2007-02-28  Wim Taymans  <wim@fluendo.com>
4332
4333         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4334         (bin_query_latency_done):
4335         Also report the live parameter of a latency query.
4336
4337 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4338
4339         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4340           Copy the current generic/states example from -base and adapt so
4341           we can use the exact same code everywhere.
4342           Check a STATES_IGNORE_ELEMENTS env var which can be used
4343           to ignore certain element factories for this test, which is
4344           what is being done in -base
4345         * tests/check/Makefile.am:
4346           Mention this environment variable.
4347
4348 2007-02-27  Wim Taymans  <wim@fluendo.com>
4349
4350         * docs/gst/gstreamer-sections.txt:
4351         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4352         (gst_bus_timed_pop), (gst_bus_pop):
4353         * gst/gstbus.h:
4354         API: gst_bus_timed_pop()
4355         Implement gst_bus_timed_pop() to do a blocking timed wait for a
4356         message to arrive on the bus.
4357
4358         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4359         (gst_bus_suite):
4360         Two unit tests for new _timed_pop() function.
4361
4362 2007-02-23  Wim Taymans  <wim@fluendo.com>
4363
4364         * gst/gstpipeline.c: (gst_pipeline_change_state),
4365         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4366         Don't ref a NULL clock in _provide_clock_func().
4367         Don't allow an INVALID delay.
4368         Don't try to calculate base_time with an invalid start_time.
4369         Also distribute and notify a NULL clock when it was selected.
4370
4371         * tools/gst-launch.c: (event_loop):
4372         Don't crash when a NULL clock was selected in the pipeline.
4373
4374 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4375
4376         * docs/design/Makefile.am:
4377         * docs/design/draft-missing-plugins.txt:
4378         * docs/random/draft-missing-plugins.txt:
4379           Some small updates: update plugin system identifier prefix
4380           ('gstreamer.net' to 'gstreamer'), mention our new install
4381           API in libgstbaseutils rather than libgimme-codec, add
4382           reference to the online docs.
4383
4384 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4385
4386         * win32/common/config.h:
4387           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
4388           use moap cl ci to only check in what is mentioned in the ChangeLog.
4389
4390 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4391
4392         * docs/gst/gstreamer-sections.txt:
4393         * gst/gstelement.h:
4394           Fix up documentation to link to the correct GstGError section.
4395           Add GST_ELEMENT_INFO macro since someone else added a Info message.
4396
4397 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4398
4399         * tools/gst-launch.c: (event_loop):
4400           Make sure that we actually show the important message part of a
4401           warning message.
4402           No need to check if the gerror is not NULL to free; first of all
4403           g_free accepts NULL; and second the default error handler would
4404           segfault if gerror was NULL.
4405
4406 2007-02-21  Wim Taymans  <wim@fluendo.com>
4407
4408         * docs/gst/gstreamer-sections.txt:
4409         Removed docs as well.
4410
4411 2007-02-21  Wim Taymans  <wim@fluendo.com>
4412
4413         * gst/gstmessage.c: (gst_message_parse_duration):
4414         * gst/gstmessage.h:
4415         Remove new messages for release.
4416
4417 2007-02-20  Wim Taymans  <wim@fluendo.com>
4418
4419         * docs/design/part-gstghostpad.txt:
4420         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4421         (gst_ghost_pad_new_full):
4422         Make the ghostpad a parent of the internal pad again for better backward
4423         compatibility. Don't write code that relies on this however.
4424
4425         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4426         (gst_pad_link_check_hierarchy):
4427         Require that parents should be GstElements in the hierarchy check.
4428
4429 2007-02-20  Wim Taymans  <wim@fluendo.com>
4430
4431         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4432         (gst_bin_change_state_func), (bin_query_min_max_init),
4433         (bin_query_latency_fold), (bin_query_latency_done),
4434         (gst_bin_query):
4435         Improve debug info.
4436         Implement latency query.
4437
4438 2007-02-20  Wim Taymans  <wim@fluendo.com>
4439
4440         * docs/design/part-gstghostpad.txt:
4441         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4442         (gst_ghost_pad_internal_do_activate_push),
4443         (gst_ghost_pad_internal_do_activate_pull),
4444         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4445         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4446         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4447         Do not set the internal pad as a parent anymore so we can avoid
4448         hierarchy linking errors when the ghostpad has no parent yet. This also
4449         fixes failed activation because of unlinked internal pads, which in
4450         turn fixes the impossible case where you have to activate a pad before
4451         you can add it to a running element.
4452         Also fix the docs.
4453
4454         * gst/gstpad.c: (pre_activate), (post_activate),
4455         (gst_pad_set_active), (gst_pad_activate_pull),
4456         (gst_pad_activate_push), (gst_pad_check_pull_range):
4457         Add some more debug info.
4458         Mark activation mode in pre_activate so that we don't try to activate in
4459         endless loops. Fixes #385084.
4460
4461 2007-02-19  Wim Taymans  <wim@fluendo.com>
4462
4463         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4464         (gst_base_transform_check_get_range):
4465         Implement a checkgetrange function instead of relying on the default
4466         core behaviour that assumes we can operate in pull mode if we have a
4467         getrange function. First step at fixing #385084.
4468
4469 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
4470
4471         * gst/gstchildproxy.h:
4472         * libs/gst/base/gstbasesink.h:
4473         * libs/gst/base/gstbasesrc.h:
4474         * libs/gst/base/gstbasetransform.h:
4475         More docs coverage and some ChangeLog surgery (add missing names)
4476
4477 2007-02-15  Wim Taymans  <wim@fluendo.com>
4478
4479         * docs/design/part-TODO.txt:
4480         * docs/design/part-activation.txt:
4481         * docs/design/part-block.txt:
4482         * docs/design/part-buffering.txt:
4483         * docs/design/part-clocks.txt:
4484         * docs/design/part-element-source.txt:
4485         * docs/design/part-events.txt:
4486         * docs/design/part-gstbin.txt:
4487         * docs/design/part-gstbus.txt:
4488         * docs/design/part-gstpipeline.txt:
4489         * docs/design/part-live-source.txt:
4490         * docs/design/part-messages.txt:
4491         * docs/design/part-overview.txt:
4492         * docs/design/part-qos.txt:
4493         * docs/design/part-query.txt:
4494         * docs/design/part-states.txt:
4495         * docs/design/part-trickmodes.txt:
4496         Some doc updates. Start renaming from stream_time to running_time where
4497         it was used wrongly.
4498
4499 2007-02-15  Wim Taymans  <wim@fluendo.com>
4500
4501         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4502         Answer LATENCY query.
4503
4504 2007-02-15  Wim Taymans  <wim@fluendo.com>
4505
4506         * tests/check/gst/gstevent.c: (event_probe), (test_event),
4507         (GST_START_TEST):
4508         Improve debugging.
4509
4510 2007-02-15  Wim Taymans  <wim@fluendo.com>
4511
4512         * gst/gstpad.c: (gst_pad_get_internal_links_default),
4513         (gst_pad_dispatcher):
4514         Improve debugging of default pad dispatcher and query functions.
4515
4516 2007-02-15  Wim Taymans  <wim@fluendo.com>
4517
4518         * docs/gst/gstreamer-sections.txt:
4519         Remove old unused method.
4520
4521 2007-02-13  Wim Taymans  <wim@fluendo.com>
4522
4523         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4524         Fix check
4525
4526 2007-02-13  Wim Taymans  <wim@fluendo.com>
4527
4528         * docs/design/part-seeking.txt:
4529         Some small update.
4530
4531         * gst/gstsegment.c: (gst_segment_set_seek):
4532         Revert old bogus change that should make seeking work again.
4533
4534 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4535
4536         * docs/random/ensonic/dynlink.txt:
4537         * docs/random/ensonic/interfaces.txt:
4538         * docs/random/ensonic/receipies.txt:
4539           Possible dynamic reconnection api, plus some type fixes the other two
4540           docs.
4541
4542 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
4543
4544         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4545         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4546         Also check for an absolute path following file:// in the filesrc
4547         element. Remove redundant check and call g_path_is_absolute() on the
4548         unescaped location.
4549
4550 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4551
4552         * docs/design/draft-klass.txt:
4553           Add existing category analysis.
4554           
4555         * gst/gstcaps.c:
4556           Fix doc example, framerate is a fraction.
4557
4558 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4559
4560         * configure.ac:
4561         * docs/gst/Makefile.am:
4562         * docs/gst/gstreamer-sections.txt:
4563         * docs/libs/Makefile.am:
4564           Erm, forgot a bunch of --extra-dir.
4565
4566 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4567
4568         * configure.ac:
4569         * docs/gst/Makefile.am:
4570         * docs/libs/Makefile.am:
4571         * docs/plugins/Makefile.am:
4572           Add crossreferences to glib/gobject docs.
4573
4574 2007-02-12  Wim Taymans  <wim@fluendo.com>
4575
4576         * docs/design/draft-latency.txt:
4577         Small update.
4578
4579         * docs/libs/gstreamer-libs-sections.txt:
4580         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4581         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4582         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4583         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4584         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4585         (gst_base_sink_get_position), (gst_base_sink_query),
4586         (gst_base_sink_change_state):
4587         * libs/gst/base/gstbasesink.h:
4588         API: gst_base_sink_query_latency() to let subclasses query the upstream
4589         latency.
4590         API: gst_base_sink_get_latency() to let subclasses query the configured
4591         latency in the sink.
4592         Implement query and set latency.
4593         Update some docs.
4594         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4595         don't continue preroll when we are flushing. Fixes #405284.
4596
4597         * tests/check/pipelines/stress.c: (change_state_timeout),
4598         (quit_timeout), (GST_START_TEST), (stress_suite):
4599         Test for #405284.
4600
4601 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4602
4603         Patch by: René Stadler <mail at renestadler de>
4604
4605         * docs/gst/gstreamer-sections.txt:
4606         * gst/gsttaglist.c: (_gst_tag_initialize):
4607         * gst/gsttaglist.h:
4608           API: add GST_TAG_REFERENCE_LEVEL (#403597).
4609
4610 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
4611
4612         * docs/libs/Makefile.am:
4613           Fix path to core docs.
4614
4615         * gst/gstbin.c: (gst_bin_get_by_interface),
4616         (gst_bin_iterate_all_by_interface):
4617           Refix docs by also renaming 'interface' to 'iface' in implementation.
4618
4619         * docs/gst/gstreamer-sections.txt:
4620         * gst/gstcaps.c:
4621         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4622         * gst/gstchildproxy.h:
4623         * gst/gstelementfactory.c:
4624         * gst/gstpadtemplate.h:
4625         * libs/gst/controller/gstcontroller.c:
4626         (gst_controlled_property_new):
4627           Document more.
4628
4629 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
4630
4631         * gst/gstbin.h:(gst_bin_get_by_interface),
4632         (gst_bin_iterate_all_by_interface):
4633         Replace interface parameter name by iface as interface is 
4634         a reserved keyword in Visual Studio for C++ projects so it removes
4635         a build error for application developpers using VS.
4636         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4637         Fix a bug on Windows in uri format check. Now the prefix checked
4638         is file:// and next we check if the path after file:// is absolute.
4639         * win32/common/libgstbase.def:
4640         * win32/common/libgstdataprotocol.def:
4641         * win32/common/libgstgstreamer.def:
4642         Add new exported functions.
4643
4644 2007-02-09  Andy Wingo  <wingo@pobox.com>
4645
4646         * tests/check/pipelines/simple-launch-lines.c
4647         (simple_launch_lines_suite, test_tee): Disable tee test until I
4648         have time to fix it :-(
4649
4650         * tests/check/Makefile.am (noinst_HEADERS): 
4651         * tests/check/libs/libsabi.c: 
4652         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4653         * tests/check/gst/gstabi.c: 
4654         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4655
4656         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4657         tests for push and pull tee behavior.
4658
4659         * plugins/elements/gsttee.h: 
4660         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4661         mark as deprecated as well as unimplemented. It was a crack idea.
4662         Add support for tee operating in pull mode, off by default.
4663
4664         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4665         normal-case logs down to LOG, raise errors to WARNING.
4666         (gst_registry_xml_read_cache): Don't log before calling a function
4667         that logs.
4668
4669         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4670         exit (registry finalize).
4671         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4672         DEBUG log when we emit signals that people don't even have the
4673         chance to connect to.
4674         (gst_registry_scan_path_level): Less logging in the normal case.
4675
4676 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4677
4678         Patch by: Michal Benes <michal dot benes at itonis dot tv>
4679
4680         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4681         Correctly generate EOS for non-seekable files. We don't have a total
4682         length for them and would get an unexpected end of file if we only
4683         special-cased for regular files. (Fixes: #404569)
4684
4685 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4686
4687         * tests/check/elements/filesrc.c: (GST_START_TEST),
4688         (filesrc_suite):
4689         Add unit test for the GstURIHandler interface in filesrc. This also
4690         tests the newly added file://localhost/foo/bar support.
4691
4692 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4693
4694         * gst/gstelementfactory.h:
4695           The klass string is not a hierarchy. Add reference to the design doc
4696           for more information and common types.
4697
4698 2007-02-02  Wim Taymans  <wim@fluendo.com>
4699
4700         * gst/gstquery.c: (gst_query_new_latency):
4701         Remove old structure field.
4702
4703 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
4704
4705         * tools/gst-launch.1.in:
4706           Give example for network streaming (#351998)
4707
4708 2007-02-02  Wim Taymans  <wim@fluendo.com>
4709
4710         * docs/gst/gstreamer-sections.txt:
4711         Add docs for new methods.
4712
4713         * gst/gstevent.c: (gst_event_new_latency),
4714         (gst_event_parse_latency):
4715         * gst/gstevent.h:
4716         Add new LATENCY event to configure latency in a pipeline.
4717         API: gst_event_new_latency
4718         API: gst_event_parse_latency
4719
4720         * gst/gstmessage.c: (gst_message_new_buffering),
4721         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4722         (gst_message_new_latency), (gst_message_parse_buffering),
4723         (gst_message_parse_lost_preroll):
4724         * gst/gstmessage.h:
4725         Added messages used in draft-latency.
4726         API: gst_message_new_lost_preroll
4727         API: gst_message_parse_lost_preroll
4728         API: gst_message_new_prerolled
4729         API: gst_message_new_latency
4730
4731         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4732         (gst_query_parse_latency):
4733         * gst/gstquery.h:
4734         Implemented new latency query as in design doc.
4735         API: gst_query_new_latency
4736         API: gst_query_set_latency
4737         API: gst_query_parse_latency
4738
4739 2007-02-02  Wim Taymans  <wim@fluendo.com>
4740
4741         * docs/design/draft-latency.txt:
4742         Slight redesign to allow for dynamic latency adjustments.
4743
4744         * docs/design/part-negotiation.txt:
4745         Fix some typos.
4746
4747 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4748
4749         reviewed by: Wim Taymans <wim@fluendo.com>
4750
4751         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4752         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4753         Allow file://localhost/foo/bar URLs and correctly fail for every other
4754         hostname that one sets. This was gnomevfssrc is linked for those if
4755         installed as it can handle it (#403172)
4756
4757 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4758
4759         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4760
4761         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4762         (unref_data), (gst_collect_pads_add_pad_full):
4763         * libs/gst/base/gstcollectpads.h:
4764         Don't put the previously added destroy notify in the GstCollectData
4765         struct as all it's padding is already used and we don't want to break
4766         ABI. Instead put in the pad's GObject data for now. This should be
4767         cleaned up for 0.11 (#402393).
4768
4769 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4770
4771         reviewed by: Wim Taymans <wim@fluendo.com>
4772
4773         * docs/libs/gstreamer-libs-sections.txt:
4774         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4775         (unref_data), (gst_collect_pads_add_pad),
4776         (gst_collect_pads_add_pad_full):
4777         * libs/gst/base/gstcollectpads.h:
4778         API: Add function to specify a destroy notification for custom
4779         GstCollectData when adding new pads in GstCollectPads (#402393).
4780
4781 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
4782
4783         * po/sv.po:
4784           Update Swedish translation (#378255).
4785
4786 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4787
4788         * docs/design/draft-klass.txt:
4789           Fix the previous change, this is a list of categories and not a hierarchy.
4790
4791 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4792
4793         * docs/design/draft-klass.txt:
4794           Add info about how to get a list of used classes.
4795
4796 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
4797
4798         * plugins/elements/gsttypefindelement.c:
4799         (gst_type_find_element_chain_do_typefinding),
4800         (gst_type_find_element_change_state):
4801           Don't leak found caps in chain function (no idea why that never
4802           showed up as a leak anywhere).
4803
4804 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
4805
4806         * gst/gstplugin.h:
4807           Fix and expand GstPluginDesc API docs.
4808
4809 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4810
4811         * gst/gstcaps.c:
4812         * gst/gstelementfactory.c:
4813         * gst/gstpadtemplate.h:
4814           api doc fixes
4815
4816         * libs/gst/controller/gstcontroller.c:
4817         (gst_controlled_property_new):
4818         * tests/examples/controller/audio-example.c:
4819           comment fixes
4820
4821 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4822
4823         * configure.ac:
4824           comment about refining the xml deps
4825
4826         * docs/manuals.mak:
4827           comments about moving away from jade for docs
4828         
4829         * gst/gst.c:
4830           recommit the ifdefs to use the binary registry
4831         
4832         * gst/gstbin.c: (gst_bin_change_state_func):
4833           this break is obsolete
4834
4835         * gst/gstelementfactory.h:
4836           better GST_ELEMENT_DETAILS docs, add comment about translation
4837
4838         * gst/gstinfo.h:
4839           remove eol slash
4840
4841         * gst/gstobject.c: (gst_signal_object_get_type):
4842           add G_UNLIKELY as usual
4843
4844         * gst/gstpad.c: (gst_pad_event_default):
4845           add fall trhu comment
4846
4847         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4848         (gst_registry_binary_initialize_magic),
4849         (gst_registry_binary_save_string),
4850         (gst_registry_binary_save_pad_template),
4851         (gst_registry_binary_save_feature),
4852         (gst_registry_binary_save_plugin),
4853         (gst_registry_binary_write_cache),
4854         (gst_registry_binary_check_magic),
4855         (gst_registry_binary_load_pad_template),
4856         (gst_registry_binary_load_feature),
4857         (gst_registry_binary_load_plugin),
4858         (gst_registry_binary_read_cache):
4859           comment typo and formatting
4860
4861         * gst/gstutils.c: (gst_element_state_get_name),
4862         (gst_element_state_change_return_get_name):
4863           remove obsolete breaks
4864
4865         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4866           add FIXME 0.11 and remove cpp comment
4867
4868 2007-01-29  Edward Hervey  <edward@fluendo.com>
4869
4870         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4871         Fix print statement in an even more portable way.
4872
4873 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
4874
4875         * docs/gst/gstreamer-sections.txt:
4876         * gst/gstutils.h:
4877           API: add GST_ROUND_DOWN_* macros (#401781).
4878
4879 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
4880
4881         * docs/gst/gstreamer.types.in:
4882         * gst/gstregistry.c: (gst_registry_class_init):
4883           Document registry signals and make gtk-doc pick them up (#401381).
4884
4885 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4886
4887         * docs/pwg/building-testapp.xml:
4888           Add some audioconverts and audioresample to the pipeline, and some
4889           more comments and error handling.
4890
4891 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4892
4893         * docs/manual/manual.xml:
4894         * docs/pwg/pwg.xml:
4895           Fix typo (#400987).
4896
4897 2007-01-26  Wim Taymans  <wim@fluendo.com>
4898
4899         * gst/gstcaps.c: (gst_static_caps_get):
4900         Init caps flags too.
4901
4902 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
4903
4904         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4905
4906         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4907         If not using mmap'ed files try to seek to the end instead of the
4908         start to determine whether we can seek at all. This fixes the case
4909         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4910         seeks for everything afterwards fail. Fixes #400656
4911
4912 2007-01-25  Wim Taymans  <wim@fluendo.com>
4913
4914         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4915         Add some refcount debugging.
4916         Make gst_static_caps_get threadsafe, which is needed when autoplugging
4917         in multiple streaming threads.
4918
4919 2007-01-25  Wim Taymans  <wim@fluendo.com>
4920
4921         Patch by: David Schleef <ds at schleef dot org>
4922
4923         * docs/libs/gstreamer-libs-sections.txt:
4924         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4925         * libs/gst/base/gstadapter.h:
4926         API: gst_adapter_copy() that can reduce the amount of memcpy when
4927         getting data from the adapter. Fixes #388201.
4928
4929 2007-01-25  Edward Hervey  <edward@fluendo.com>
4930
4931         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4932         In print statements, "%x" is for guint. Fixes build on macosx.
4933
4934 2007-01-24  Edward Hervey  <edward@fluendo.com>
4935
4936         * plugins/elements/gstmultiqueue.c:
4937         (gst_multi_queue_loop):
4938         Small fix.
4939         (single_queue_overrun_cb), (single_queue_underrun_cb),
4940         (single_queue_check_full), (gst_single_queue_new):
4941         Implement single queue growth system.
4942         This uses the extra-size properties, and will grow single queues by
4943         that much if one goes full whereas there are others empty. This is
4944         called extra-mode in the code.
4945         When a single queue's levels go back below the initial max-size
4946         limits, it is no longer in extra-mode. This is to ensure we don't
4947         consume too much memory.
4948         Fixes #399875
4949
4950 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
4951
4952         * gst/gst.c: (gst_init_get_option_group):
4953           Make warning about late g_thread_init() calls a bit more explicit,
4954           so that it's more obvious to application developers what they need
4955           to do if a user files a bug against their application.
4956
4957 2007-01-22  Edward Hervey  <edward@fluendo.com>
4958
4959         * plugins/elements/gstmultiqueue.c:
4960         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4961         Remove previous hack of unsetting the flushing flag for the source pad
4962         instead of activating it. Instead, fix the source pad activate function
4963         so that it no longer depends on having a parent set or not.
4964
4965 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
4966
4967         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4968
4969         * docs/manual/basics-bus.xml:
4970           Fix example code, gst_element_unref() doesn't exist any longer.
4971
4972 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
4973
4974         Patch by: Mark Nauwelaerts <manauw at skynet be>
4975
4976         * gst/gstpad.c:
4977           Fix two docs typoes (#399094).
4978
4979 2007-01-19  Edward Hervey  <edward@fluendo.com>
4980
4981         * docs/faq/gst-uninstalled:
4982         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4983         depending on libgstbaseutils can work in uninstalled environment.
4984
4985 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
4986
4987         * gst/gsttaglist.h:
4988         * gst/gsttagsetter.c:
4989         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4990         statement for new tag.
4991
4992 2007-01-17  Edward Hervey  <edward@fluendo.com>
4993
4994         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4995         When dynamically creating single queues, activate sinkpad before adding
4996         it.
4997         We should be doing the same thing for the source pad, but we can't
4998         since it would call a method which needs the parent to be set in order
4999         to work propertly. Instead of activating the source pad, we just unset
5000         the flushing flag, which is the minimal requirement for adding a pad
5001         to an element in a state greater than READY.
5002
5003 2007-01-17  Edward Hervey  <edward@fluendo.com>
5004
5005         * docs/faq/gst-uninstalled:
5006         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
5007         Mac OS X.
5008
5009 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5010
5011         * tests/check/gst/gstabi.c:
5012         * tests/check/gst/struct_hppa.h:
5013         * tests/check/libs/libsabi.c:
5014         * tests/check/libs/struct_hppa.h:
5015           Add ABI structs for HPPA (see #393796).
5016
5017 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
5018
5019         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5020           Actually write ABI structs to the file specified in the GST_ABI
5021           environment variable, as the message we print claims we would.
5022
5023 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5024
5025         * tests/check/gst/gsttask.c:
5026           Fix header comment.
5027
5028 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5029
5030         * gst/gsttaglist.c: (_gst_tag_initialize):
5031           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5032           previous two entries.
5033
5034 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5035
5036         * docs/gst/gstreamer-sections.txt:
5037         * gst/gsttaglist.c: (_gst_tag_initialize):
5038         * gst/gsttaglist.h:
5039           Add tag support for beat-per-minute.
5040
5041 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5042
5043         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5044         (gst_registry_binary_initialize_magic),
5045         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5046         (gst_registry_binary_save_pad_template),
5047         (gst_registry_binary_save_feature),
5048         (gst_registry_binary_save_plugin),
5049         (gst_registry_binary_write_cache),
5050         (gst_registry_binary_check_magic),
5051         (gst_registry_binary_load_pad_template),
5052         (gst_registry_binary_load_feature),
5053         (gst_registry_binary_load_plugin),
5054         (gst_registry_binary_read_cache):
5055         * gst/gstregistrybinary.h:
5056           Use glib types, cleanup comments, impement interfaces and uri-types.
5057
5058 2007-01-13  Andy Wingo  <wingo@pobox.com>
5059
5060         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5061         getrange() to return buffers with other caps, while we fix
5062         demuxers and typefind, or otherwise change part-negotiation.txt.
5063
5064 2007-01-12  Andy Wingo  <wingo@pobox.com>
5065
5066         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5067         Factor start/stop into this private function instead of partially
5068         in activate functions and partially in the change_state function.
5069         Fixes setup before the element has changed from READY->PAUSED, as
5070         is the case in pull-mode pipelines.
5071         (gst_base_transform_sink_activate_push)
5072         (gst_base_transform_src_activate_pull): Refactor to use
5073         gst_base_transform_activate().
5074         (gst_base_transform_change_state): Removed, not needed any more.
5075
5076         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5077         Truncate before fixating.
5078         
5079         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5080         Don't set_caps() if the result of fixating is ANY, as it's not
5081         supported, and not necessary in the case of a link with no
5082         template caps on either side. Fixes tests/check/libs/basesrc in
5083         some pull-mode tests.
5084
5085         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5086         (gst_base_transform_init, gst_base_transform_sink_activate_push)
5087         (gst_base_transform_src_activate_pull): 
5088         Track the activation mode.
5089         (gst_base_transform_setcaps): In pull mode, when activating the
5090         src pad, after activating the sink pad, activate the sink pad's
5091         peer, as discussed in part-negotiation.txt.
5092
5093         * libs/gst/base/gstbasesrc.h: 
5094         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5095         vmethod, as in basesink.
5096
5097         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5098
5099         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5100         mode, first proxy the setcaps to the peer pad.
5101         (gst_base_sink_pad_fixate): Add a fixate function that calls the
5102         new fixate vmethod.
5103         (gst_base_sink_default_activate_pull): Rename from
5104         gst_base_sink_activate_pull.
5105         (gst_base_sink_negotiate_pull): New function, performs negotiation
5106         in pull mode before calling ::activate_pull().
5107         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5108         vmethod instead of the default implementation. I have no idea how
5109         this worked before. Negotiate before calling activate_pull.
5110
5111         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5112         sink pads in pull mode. In addition to being correct, fixes
5113         filesrc ! decodebin ! identity ! fakesink.
5114         (gst_pad_get_range, gst_pad_pull_range): Don't call
5115         gst_pad_set_caps() if the caps changes; instead error out with
5116         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5117
5118 2007-01-12  Andy Wingo  <wingo@pobox.com>
5119
5120         * docs/design/part-negotiation.txt: Update with more policy.
5121
5122 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5123
5124         * libs/gst/check/gstbufferstraw.h:
5125         * libs/gst/check/gstcheck.h:
5126           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5127           belongs.
5128
5129 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5130
5131         * tests/check/Makefile.am:
5132         * tests/check/gst/.cvsignore:
5133         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5134         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5135         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5136         (GST_START_TEST), (gst_tag_setter_suite):
5137           Add minimal unit test for beforementioned GstTagSetter bug.
5138
5139 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5140
5141         Patch by: René Stadler <mail at renestadler dot de>
5142
5143         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5144           gst_tag_list_merge() returns a new list, so it's not the best idea
5145           to ingore its return value. Effectively meant that tags could only
5146           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5147           Also add function guard to require a non-NULL taglist as input (has
5148           always been so due to gst_tag_list_copy(), just making it explicit).
5149
5150 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5151
5152         * docs/random/draft-missing-plugins.txt:
5153           Some additions: mention new API that is supposed to be used at the
5154           various stages; short blob about new gst-inspect introspection
5155           option; mention potential future problem with plugins that have
5156           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5157
5158 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5159
5160         * tools/gst-inspect.c:
5161         (print_plugin_automatic_install_info_codecs),
5162         (print_plugin_automatic_install_info_protocols),
5163         (print_plugin_automatic_install_info), (main):
5164         Add --print-plugin-auto-install-info option to gst-inspect, so we can
5165         introspect plugin files and get machine-parsable output that corresponds
5166         to the last bit of the missing-plugin installer string (small gotcha:
5167         doesn't take into account ranks).
5168
5169 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
5170
5171         * configure.ac:
5172         * docs/gst/gstreamer-sections.txt:
5173         * gst/Makefile.am:
5174         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5175         (gst_registry_lookup_locked):
5176         * gst/gstregistry.h:
5177         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5178         (gst_registry_binary_initialize_magic),
5179         (gst_registry_binary_save_string),
5180         (gst_registry_binary_save_pad_template),
5181         (gst_registry_binary_save_feature),
5182         (gst_registry_binary_save_plugin),
5183         (gst_registry_binary_write_cache),
5184         (gst_registry_binary_check_magic),
5185         (gst_registry_binary_load_pad_template),
5186         (gst_registry_binary_load_feature),
5187         (gst_registry_binary_load_plugin),
5188         (gst_registry_binary_read_cache):
5189         * gst/gstregistrybinary.h:
5190         * gst/gstregistryxml.c: (load_feature),
5191         (gst_registry_xml_read_cache):
5192           commit binary registry (disabled by default, see #359653)
5193
5194 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5195
5196         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5197           Fix 'make check' too.
5198
5199 2007-01-10  Andy Wingo  <wingo@pobox.com>
5200
5201         * docs/design/part-negotiation.txt: Fix a typo, add a couple
5202         notes.
5203         
5204         * docs/design/part-negotiation.txt: Update with, um, one way that
5205         pull-mode negotiation might work?
5206
5207         * gst/gstpad.h: 
5208         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5209         that the pad must be a src pad; makes sense to call it the other
5210         way in pull mode, and the logic is symmetric anyway.
5211
5212 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5213
5214         * plugins/elements/gstfilesink.c:
5215           Include <stdio.h> for fseeko().
5216
5217 2007-01-10  Wim Taymans  <wim@fluendo.com>
5218
5219         * gst/gstevent.c:
5220         * gst/gstevent.h:
5221         Reserve LATENCY event.
5222
5223 2007-01-09  Wim Taymans  <wim@fluendo.com>
5224
5225         * docs/design/draft-latency.txt:
5226         Updates.
5227
5228 2007-01-09  Wim Taymans  <wim@fluendo.com>
5229
5230         * docs/design/draft-latency.txt:
5231         Updates.
5232
5233         * gst/gstelement.h:
5234         * gst/gststructure.c:
5235         * gst/gsttrace.c:
5236         Small typo fixes.
5237
5238 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5239
5240         * tests/check/.cvsignore:
5241           Ignore test-registry.xml as well.
5242
5243 2007-01-09  Wim Taymans  <wim@fluendo.com>
5244
5245         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5246         unref data at the end when we are done with the pad.
5247
5248 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5249
5250         * docs/gst/gstreamer-sections.txt:
5251         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5252         (init_post), (gst_deinit), (gst_update_registry):
5253         * gst/gst.h:
5254           API: add gst_update_registry() (#391296).
5255
5256         * tests/check/Makefile.am:
5257         * tests/check/gst/gstregistry.c:
5258         * tests/check/gst/.cvsignore:
5259           Simple unit test for the above.
5260
5261 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5262
5263         * gst/gstregistry.c: (gst_registry_scan_path_level):
5264           Plugin extension on HP-UX is .sl, add that to the list of approved
5265           plugin extensions (see #393796).
5266
5267         * tests/check/gst/gstpad.c: (GST_START_TEST):
5268           ulong => gulong. Fixes compilation with HP-UX compiler.
5269
5270         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5271           Fix compilation if valgrind headers are not available.
5272
5273 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
5274
5275         * win32/common/libgstreamer.def: 
5276           Add new exported function.
5277         * win32/vs6/libgstbase.dsp: 
5278           Add gstdataqueue.c to the build.
5279         * win32/vs6/libgstcoreelements.dsp:
5280           Add gstmultiqueue.c to the build.
5281         
5282 2007-01-06  Andy Wingo  <wingo@pobox.com>
5283
5284         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5285         activate_pull(), providing for a way to specialize the process of
5286         spawning a thread to pull on the sink pad. There is a default
5287         implementation.
5288
5289         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5290         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5291         (gst_base_sink_init): Renamed pad activation functions (inserting
5292         "_pad" in their names). Refactor to use the new activate_pull
5293         vmethod, as appropriate.
5294         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5295         default activate_pull function to start a task pulling from the
5296         sink pad, as before.
5297
5298         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5299         on the pads if necessary, as in push()/chain(). Update docs.
5300         Shouldn't affect existing pull() usage as it is currently only
5301         being used on buffers without caps.
5302
5303 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5304
5305         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5306         (init_pre):
5307           Call g_thread_init() first thing in gst_init() / gst_check_init().
5308           When initialisation is done via gst_init_get_option_group() and
5309           GOption parsing, issue a warning if the GLib thread system has not
5310           been initialised yet by the time gst_init_get_option_group() is
5311           called, as it's quite likely other GLib functions such as
5312           g_option_context_new() have been called already then, and
5313           g_thread_init() must be called before any other GLib function. The
5314           application in question must be fixed in that case, since memory
5315           corruption might happen otherwise.
5316           We issue the warning because even if the GLib folks decide to work
5317           around the problem on their end in future, this is still an issue
5318           with all GLib versions >= 2.10.0, so we should warn until we depend
5319           on a GLib version we know to be safe.
5320           Update documentation as well.
5321           Closes bug #391278.
5322
5323 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5324
5325         * tools/gst-inspect.c: (main):
5326         * tools/gst-launch.c: (main):
5327         * tools/gst-typefind.c: (main):
5328         * tools/gst-xmlinspect.c: (main):
5329           Call g_thread_init() really really early, before any other GLib
5330           function (see #342564 and recent discussion on gtk-devel-list).
5331
5332 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5333
5334         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
5335
5336         * gst/gst_private.h:
5337         * gst/gstconfig.h.in:
5338         * gst/gstinfo.h:
5339           On win32, all the __declspec stuff for symbol exporting is
5340           apparently only needed with MSVC, but doesn't work with MingW.
5341           Fixes compilation with MingW and #391909.
5342
5343 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5344
5345         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5346           Change some GST_ERROR_OBJECT that aren't really errors to
5347           GST_WARNING_OBJECT in order to reduce terminal spam.
5348
5349 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5350
5351         * tests/check/Makefile.am:
5352           disable test again, as there seem to be still race problems
5353
5354 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5355
5356         * tests/check/Makefile.am:
5357         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5358         (GST_START_TEST), (queue_suite):
5359           enable queue test again, add tests for the leaky behaviour
5360
5361 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
5362
5363         * configure.ac:
5364         * tests/examples/Makefile.am:
5365           Compile adapter test/example only if the required headers are
5366           available (fixes #391915).
5367
5368 2007-01-01  David Schleef  <ds@schleef.org>
5369
5370         * gst/gstplugin.c:
5371           Restore the previous signal handler for SIGSEGV instead of
5372           setting to default, since we may have stolen it away from
5373           someone.  (i.e., Mono)
5374
5375 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5376
5377         * docs/random/draft-missing-plugins.txt:
5378           Some small additions and clarifications.
5379
5380 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5381
5382         * gst/gstregistryxml.c: (gst_registry_save_escaped):
5383           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5384           since that can lead to random memory corruptions and crashes
5385           (may or may not be related to #383244, #386711, and #386711).
5386
5387 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5388
5389         * tests/check/.cvsignore:
5390         * tests/check/Makefile.am:
5391           sync .cvsignome and CLEANFILES
5392
5393 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5394
5395         * tests/check/Makefile.am:
5396           fix distcheck
5397
5398 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5399
5400         * docs/design/part-states.txt:
5401           two tiny additional comments
5402         
5403         * gst/gststructure.c:
5404           doc fixing
5405
5406         * tests/check/Makefile.am:
5407         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5408         (GST_START_TEST):
5409           disable test for now, unless it gets fixed
5410
5411 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5412
5413         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5414         (GST_START_TEST):
5415           fix race in underrun test
5416
5417 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5418
5419         * tests/check/elements/.cvsignore:
5420           ignore more
5421
5422         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5423         (GST_START_TEST):
5424           try to narrow test failure
5425
5426 2006-12-21  David Schleef  <ds@schleef.org>
5427
5428         * plugins/elements/gstfakesrc.c:
5429           Use g_random_int_range(), since it produces better random
5430           numbers in a range than almost-correct floating point code.
5431
5432 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5433
5434         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5435         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5436         (gst_check_teardown_sink_pad):
5437           do not automatically (de)activate pads
5438
5439         * tests/check/Makefile.am:
5440         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5441         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5442           add new, yet simple tests for queue
5443
5444         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5445         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5446         * tests/check/elements/filesrc.c: (cleanup_filesrc),
5447         (GST_START_TEST):
5448         * tests/check/elements/identity.c: (cleanup_identity):
5449           consistent pad (de)activation
5450
5451 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5452
5453         Patch by: Sebastian Dröge  <slomo ubuntu com>
5454
5455         * libs/gst/base/gstcollectpads.c:
5456           Fix two doc typos (#387866).
5457
5458 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5459
5460         * docs/manual/advanced-dparams.xml:
5461           Fix typo (g_object_control_properties() doesn't exist).
5462
5463 2006-12-19  Edward Hervey  <edward@fluendo.com>
5464
5465         * gst/gstsegment.c: (gst_segment_set_seek):
5466         Fine tune the cases where the segment start/stop values are really
5467         updated.
5468         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5469         Add tests for the return values of gst_segment_set_seek().
5470
5471 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5472
5473         * gst/gst.c:
5474           Docs typo fix.
5475
5476         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5477         (gst_queue_init):
5478           Fix incorrect documentation and flesh it out a bit more.
5479           Set default values for the max properties on the GParamSpec as well,
5480           so it shows up correctly in gst-inspect.
5481
5482 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
5483
5484         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5485           Correct docs of queue, add more detail and crosslink it more.
5486
5487 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5488
5489         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5490           Print additional debug info when the stream isn't perfectly
5491           timestamped; don't try to use invalid durations.
5492
5493 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5494
5495         * docs/design/Makefile.am:
5496           Dist new design docs.
5497
5498 2006-12-16  Wim Taymans  <wim@fluendo.com>
5499
5500         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5501
5502         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5503         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5504         (gst_collect_pads_stop), (gst_collect_pads_event),
5505         (gst_collect_pads_chain):
5506         * libs/gst/base/gstcollectpads.h:
5507         Add refcounting to the collectpads data so we can track when it's safe
5508         to free the data. Fixes #383382.
5509
5510 2006-12-15  Wim Taymans  <wim@fluendo.com>
5511
5512         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5513         (gst_collect_pads_remove_pad):
5514         Automatically activate/deactivate pads when they are added to a
5515         started/stoped collectpads.
5516
5517 2006-12-15  Wim Taymans  <wim@fluendo.com>
5518
5519         * gst/gstelement.c: (gst_element_add_pad):
5520         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5521         * gst/gstpad.c: (gst_pad_init):
5522         Set pads to FLUSHING when they are created. Check, warn and fix when a
5523         demuxer adds an inactive pad to itself when running. Fixes #339326.
5524
5525 2006-12-15  Wim Taymans  <wim@fluendo.com>
5526
5527         * gst/gstelement.c: (gst_element_class_init),
5528         (gst_element_default_send_event), (gst_element_send_event),
5529         (gst_element_default_query), (gst_element_query):
5530         Expose default element send_event and query handling as vmethods that
5531         subclasses can chain up to.
5532
5533 2006-12-15  Wim Taymans  <wim@fluendo.com>
5534
5535         * gst/gstelement.c: (gst_element_set_state_func):
5536         Small documentation fixes.
5537
5538 2006-12-15  Wim Taymans  <wim@fluendo.com>
5539
5540         * docs/design/draft-latency.txt:
5541         Checked in draft for handling latency in pipelines.
5542
5543 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5544
5545         * Makefile.am:
5546         * gstreamer.doap:
5547         * gstreamer.spec.in:
5548           adding .doap file
5549
5550 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
5551
5552         * gst/gst.c: (init_pre), (init_post):
5553           init_pre() and init_post() might be called via our GOptionGroup or
5554           from gst_init(), and we should skip both of them if we've already
5555           been initialised, otherwise we will init some things twice or add
5556           two default log functions.
5557
5558 2006-12-13  Edward Hervey  <edward@fluendo.com>
5559
5560         * docs/manual/basics-bus.xml:
5561         No, gst_main_loop does not exist. Its g_main_loop.
5562         Discovered by somebody who abused the copy-paste technique of coding :)
5563
5564 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5565
5566         * gst/gstghostpad.c:
5567           Log ghostpad debug stuff to the GST_PADS category as well rather
5568           than just to the default category.
5569
5570 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5571
5572         * configure.ac:
5573         * gst/gst.c: (init_pre):
5574           Add some basic system details such as OS and architecture
5575           to the debug output if possible, courtesy of uname().
5576
5577 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5578
5579         * docs/gst/running.xml:
5580           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5581           environment variables.
5582
5583 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5584
5585         * tests/check/gst/gstbin.c: (GST_START_TEST):
5586         It is acceptable to have a refcount of 2 or 3 at this point in the
5587         test, because the pipeline might be just posting its state_change
5588         message. The next line then waits for that message to appear using
5589         bus_poll, so that should be fine too.
5590
5591 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5592
5593         * gst/gst.c: (ensure_current_registry_forking):
5594         Ignore EINTR when reading from the child registry pipe.
5595         Explicitly ignore the return value from close, since it makes no
5596         difference.
5597
5598         * gst/gstminiobject.c: (gst_mini_object_ref),
5599         (gst_mini_object_unref):
5600         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5601
5602         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5603         When removing cached plugins, remove their features too, so they're
5604         not visible after they've disappeared.
5605
5606         * gst/gstutils.c: (prepare_link_maybe_ghosting):
5607         In the unlikely case that we are linking pads with no parents, don't
5608         crash trying to get the non-existent parent bin.
5609
5610         * gst/parse/grammar.y:
5611         Output debug in the PIPELINE category
5612
5613 2005-03-08  Wim Taymans  <wim@fluendo.com>
5614
5615         Patch by: René Stadler <mail at renestadler dot de>
5616
5617         * gst/gstclock.c: (gst_clock_new_periodic_id):
5618         Reject invalid clock times for interval of periodic ids.
5619         Fixes ##383506.
5620
5621 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5622
5623         * gst/gstelementfactory.c: (gst_element_factory_create):
5624         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5625         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5626         * tools/gst-inspect.c: (print_element_info):
5627         Fix refcounting of gst_plugin_feature_load to match the docs. 
5628         Fixes: #380129
5629
5630 2006-12-07  Wim Taymans  <wim@fluendo.com>
5631
5632         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5633         (gst_base_sink_get_position):
5634         Improve debugging of events.
5635
5636 2006-12-07  Wim Taymans  <wim@fluendo.com>
5637
5638         Patch by: René Stadler <mail at renestadler dot de>
5639
5640         * gst/gstclock.c: (gst_clock_id_wait):
5641         Make period ids add the interval to the origial requested time instead
5642         of the possibly updated time which can be wrong when there are multiple
5643         waiters for the same id. Fixes #382592.
5644
5645         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5646         (gst_system_clock_id_wait_jitter_unlocked),
5647         (gst_system_clock_id_wait_jitter):
5648         Fix restart in the async notify thread when an async entry is added to
5649         the front of the list. Fixes #381492. 
5650
5651         * tests/check/gst/gstsystemclock.c: (store_callback),
5652         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5653         Added test for multiple async waits.
5654         Added test for async wait order.
5655
5656 2006-12-07  Wim Taymans  <wim@fluendo.com>
5657
5658         * gst/gstbin.c: (gst_bin_query):
5659         Add some more docs about the POSITION query.
5660
5661 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5662
5663         * configure.ac:
5664         Bump version nano - back to CVS.
5665
5666 === release 0.10.11 ===
5667
5668 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
5669
5670         * configure.ac:
5671           releasing 0.10.11, "Love never runs on time"
5672
5673 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
5674
5675         * win32/common/libgstbase.def:
5676         * win32/common/libgstreamer.def:
5677         * win32/vs8/libgstbase.vcproj:
5678         * win32/vs8/libgstcoreelements.vcproj:
5679         * win32/vs8/libgstreamer.vcproj:
5680         Fix compilation on win32 under VS8
5681         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5682         Partially fixes #381175
5683
5684 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5685
5686         * gst/gstvalue.c: (gst_value_compare_fraction):
5687         If someone is foolish enough to compare 2 fractions with denominator =
5688         0, return UNORDERED rather than aborting.
5689
5690 2006-11-28  Edward Hervey  <edward@fluendo.com>
5691
5692         * libs/gst/base/Makefile.am:
5693         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5694         (gst_data_queue_base_init), (gst_data_queue_class_init),
5695         (gst_data_queue_init), (gst_data_queue_new),
5696         (gst_data_queue_cleanup), (gst_data_queue_finalize),
5697         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5698         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5699         (gst_data_queue_is_empty), (gst_data_queue_is_full),
5700         (gst_data_queue_set_flushing), (gst_data_queue_push),
5701         (gst_data_queue_pop), (gst_data_queue_drop_head),
5702         (gst_data_queue_set_property), (gst_data_queue_get_property):
5703         * libs/gst/base/gstdataqueue.h:
5704         New GstDataQueue object for threadsafe queueing. Most useful for
5705         elements that need some queueing functionnality.
5706         * docs/libs/gstreamer-libs-docs.sgml:
5707         * docs/libs/gstreamer-libs-sections.txt:
5708         Insert documentation for GstDataQueue
5709         * plugins/elements/Makefile.am:
5710         * plugins/elements/gstelements.c:
5711         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5712         (gst_multi_queue_class_init), (gst_multi_queue_init),
5713         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5714         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5715         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5716         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5717         (gst_multi_queue_loop), (gst_multi_queue_chain),
5718         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5719         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5720         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5721         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5722         (wake_up_next_non_linked), (compute_next_non_linked),
5723         (single_queue_overrun_cb), (single_queue_underrun_cb),
5724         (single_queue_check_full), (gst_single_queue_new):
5725         * plugins/elements/gstmultiqueue.h:
5726         New multiqueue element, using GstDataQueue. Used for queuing multiple
5727         streams.
5728         Closes #344639 and #347785
5729
5730 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
5731
5732         * docs/pwg/advanced-types.xml:
5733           add more missing type details
5734
5735         * tools/gst-run.c: (main):
5736           remove unused variable
5737
5738 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
5739
5740         * docs/libs/Makefile.am:
5741         * docs/libs/gstreamer-libs.types:
5742           add types of base classes to enable gobject specific stuff in the docs
5743
5744         * docs/random/ensonic/embedded.txt:
5745           more ideas about isolating platform specific things
5746
5747 2006-11-20  Wim Taymans  <wim@fluendo.com>
5748
5749         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5750
5751         * libs/gst/check/gstcheck.h:
5752         Fix compilation and running against 0.9.4. Fixes #377332.
5753
5754 2006-11-20  Wim Taymans  <wim@fluendo.com>
5755
5756         * gst/gstsegment.c: (gst_segment_set_seek),
5757         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5758         (gst_segment_to_running_time):
5759         Fix boundary checking in to_running_time() and to_stream_time().
5760         Fixes #377183.
5761
5762         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5763         stream and running time can now be calculated for the complete
5764         clipped segment.
5765
5766 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
5767
5768         * gst/gstpad.c: (gst_pad_push_event):
5769           Can't access event structure after giving away ownership of
5770           the event.
5771
5772 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
5773
5774         * docs/random/ensonic/embedded.txt:
5775         * docs/random/ensonic/profiling.txt:
5776         * docs/random/ensonic/receipies.txt:
5777           more thinking
5778
5779 2006-11-13  Wim Taymans  <wim@fluendo.com>
5780
5781         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5782
5783         * gst/gstpad.c:
5784         Fix documentation for gst_pad_dispatcher. Fixes #374475.
5785
5786 2006-11-13  Wim Taymans  <wim@fluendo.com>
5787
5788         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5789
5790         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5791         Store new length in segment duration so we don't keep on calling the
5792         potentially expensize get_size() call. Fixes #370865.
5793
5794 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
5795
5796         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
5797
5798         * win32/common/libgstreamer.def:
5799           Add two missing symbols (#366492).
5800
5801 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
5802
5803         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5804         (gst_adapter_take_buffer):
5805         Fix format string to use all its arguments.
5806         Remove useless >= check on a guint
5807
5808 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5809
5810         * tests/examples/adapter/.cvsignore:
5811         Ignore build file as commanded by the build-bot
5812
5813 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5814
5815         * tests/examples/adapter/Makefile.am:
5816         * tests/examples/adapter/adapter_test.c: (run_test_take),
5817         (run_test_take_buffer), (run_tests), (main):
5818
5819         Add new files from the previous commit
5820
5821 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5822
5823         * Makefile.am:
5824         * configure.ac:
5825         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5826         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5827         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5828         * libs/gst/base/gstadapter.h:
5829         * tests/check/libs/adapter.c: (create_and_fill_adapter),
5830         (GST_START_TEST), (gst_adapter_suite):
5831         * tests/examples/Makefile.am:
5832         Do some optimisation work in GstAdapter to avoid copies in more cases.
5833         It could still do slightly better by merging buffers when
5834         gst_buffer_is_span_fast is true, but is already faster. 
5835
5836         Also, avoid traversing a single-linked list to append each incoming 
5837         buffer inside the adapter.
5838
5839         Add simple test app that times the adapter behaviour in different
5840         situations, and extend the unit test to check that bytes enter and
5841         exit the adapter in their original order.
5842
5843 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
5844
5845         * docs/random/draft-missing-plugins.txt:
5846           Update: use element message instead of adding a new message
5847           type to the core; don't provide GStreamer API to initiate the
5848           plugin download, just provide API to compose the strings needed
5849           and let an external libgimmestuff handle the rest.
5850
5851 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
5852
5853         * tools/gst-inspect.c: (print_element_properties_info):
5854         Print a string instead of 'unknown type' for GValueArray properties
5855
5856 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
5857
5858         * docs/random/draft-missing-plugins.txt:
5859         More small fixes.
5860
5861 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5862
5863         * tests/examples/typefind/typefind.c: (type_found), (main):
5864           Make typefind element example work again (#371894); add a
5865           license header.
5866
5867 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5868
5869         * docs/random/draft-missing-plugins.txt:
5870           Commit initial draft about how to deal with missing plugins,
5871           needs work (API too).
5872
5873 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
5874
5875         * docs/pwg/advanced-types.xml:
5876           documents the new caps elements (see #363118)
5877
5878 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5879
5880         * gst/gstplugin.c: (gst_plugin_load_file):
5881         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5882         (gst_file_src_map_region), (gst_file_src_start):
5883         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5884         (gst_file_index_commit):
5885           Use g_strerror() instead of strerror() - we want UTF-8.
5886
5887 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5888
5889         Patch by: Peter Kjellerstedt <pkj at axis com>
5890
5891         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5892           Another printf fix (#371493).
5893
5894 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5895
5896         * tests/check/gst/gsttag.c:
5897           relicence (okay with author=company)
5898
5899 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5900
5901         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5902         (gst_pad_push_event):
5903           Enhance debug and improve docs
5904         
5905         * gst/gsturi.c:
5906           Fix docs
5907
5908 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5909
5910         * docs/random/ensonic/distributed.txt:
5911         * docs/random/ensonic/profiling.txt:
5912           more ideas
5913
5914 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5915
5916         * docs/gst/gstreamer-sections.txt:
5917           add new API and fix the build
5918           
5919         * gst/gstbin.c: (gst_bin_recalc_state):
5920         * gst/gstelement.c: (gst_element_message_full),
5921         (gst_element_get_state_func), (gst_element_set_state_func):
5922           use new API and improve logging
5923         
5924         * gst/gstutils.c: (gst_element_state_change_return_get_name):
5925         * gst/gstutils.h:
5926           API: add function to get StateChangereturn names to improve logs 
5927
5928 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5929
5930         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5931           I'm considering shooting the next person to put strerror stuff
5932           in the translateable part of the message.
5933
5934 2006-11-03  Wim Taymans  <wim@fluendo.com>
5935
5936         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5937         Get the type and printf conversion specifiers right.
5938
5939 2006-11-03  Wim Taymans  <wim@fluendo.com>
5940
5941         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5942
5943         * gst/gstpad.c: (gst_pad_init), (pre_activate),
5944         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5945         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5946         Some small cleanups. Improve debugging.
5947         * gst/gstpad.h:
5948         Signal all waiting threads with a broadcast instead of just one.
5949         Fixes #369942.
5950
5951 2006-11-03  Wim Taymans  <wim@fluendo.com>
5952
5953         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5954         (gst_fd_src_create):
5955         Add some debugging. 
5956         Only update fd when it's different from the old.
5957
5958 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5959
5960         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5961           Printf fixes for PPC/OSX, take two (#369366).
5962
5963 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5964
5965         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
5966
5967         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5968         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5969         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5970           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5971           don't cast to long long for portability reasons, but use
5972           GLib's types instead.
5973
5974 2006-10-30  Michael Smith  <msmith@fluendo.com>
5975
5976         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5977           Get the arguments to lseek() the right way around.
5978           Fixes 367677.
5979
5980 2006-10-30  Wim Taymans  <wim@fluendo.com>
5981
5982         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5983
5984         * gst/gstinfo.h:
5985         _declspec should be __declspec (two underscores, not one). Fixes 366572.
5986
5987 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5988
5989         Patch by: Kjartan Maraas  <kmaraas at gnome org>
5990
5991         * docs/design/part-MT-refcounting.txt:
5992         * docs/random/wtay/capsnego2-docs:
5993         * gst/gstclock.c:
5994         * gst/gstxml.c:
5995           Typo fixes (#366212).
5996
5997 2006-10-28  Wim Taymans  <wim@fluendo.com>
5998
5999         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6000
6001         * gst/gst.c:
6002         * win32/common/libgstbase.def:
6003         * win32/common/libgstreamer.def:
6004         * win32/vs8/libgstbase.vcproj:
6005         * win32/vs8/libgstcontroller.vcproj:
6006         Add needed entries in .def files.
6007         Use HAVE_UNISTD_H.
6008         Rearrange def files in vs8 solutions. Fixes #366286.
6009
6010 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
6011
6012         * win32/common/gstconfig.h:
6013           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
6014           hand-made win32 gstconfig.h. Fixes #366321.
6015
6016 2006-10-27  Wim Taymans  <wim@fluendo.com>
6017
6018         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
6019         (gst_ghost_pad_new_full):
6020         Make acceptcaps return TRUE when we don't have a target, just like
6021         setcaps does.
6022
6023 2006-10-27  Wim Taymans  <wim@fluendo.com>
6024
6025         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6026         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6027
6028 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6029
6030         * gst/gststructure.c: (gst_structure_id_set_value):
6031           If someone tries to set a non-UTF8 string field on a structure,
6032           don't just print a warning, but also ignore the request and do
6033           not change/add that field to the structure.
6034
6035         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6036           Test for the above.
6037
6038 2006-10-25  David Schleef  <ds@schleef.org>
6039
6040         * gst/gstinfo.c:
6041           g_hash_table_insert() needs a cast to a non-const pointer duh.
6042
6043 2006-10-25  David Schleef  <ds@schleef.org>
6044
6045         * gst/gstinfo.c:
6046         * gst/gstinfo.h:
6047           Change name parameter of _gst_debug_register_funcptr to const
6048           to reflect the constness of its use in the function as well
6049           as to quiet a gcc warning.
6050
6051 2006-10-25  Edward Hervey  <edward@fluendo.com>
6052
6053         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6054         Don't push the buffer if it's empty.
6055         Closes #363095
6056
6057 2006-10-24  Wim Taymans  <wim@fluendo.com>
6058
6059         * gst/gstevent.h:
6060         Add small comment.
6061
6062         * libs/gst/base/gstbasetransform.c:
6063         (gst_base_transform_sink_eventfunc):
6064         Debug segment values *after* updating them as this is more
6065         interesting.
6066
6067 2006-10-23  Wim Taymans  <wim@fluendo.com>
6068
6069         * docs/design/part-events.txt:
6070         Update some docs.
6071
6072         * docs/design/part-block.txt:
6073         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6074         (gst_pad_push_event):
6075         Revert BLOCKING patch, it tries to be smart without really having a
6076         clear idea what or how. So, now we discard all FLUSHING events again on
6077         a blocking pad. Should fix gnonlin again.
6078
6079 2006-10-23  Wim Taymans  <wim@fluendo.com>
6080
6081         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6082
6083         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6084         (gst_base_src_start), (gst_base_src_activate_push):
6085         Make sure size is always initialized. Fixes #364388.
6086
6087 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
6088
6089         * docs/random/ensonic/distributed.txt:
6090           add some ideas about doing distributed processing
6091
6092         * docs/random/ensonic/profiling.txt:
6093           get_rusage look promising
6094
6095 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6096
6097         * docs/manual/basics-helloworld.xml:
6098           Add a cast in example to fix compile warning
6099
6100 2006-10-18  Wim Taymans  <wim@fluendo.com>
6101
6102         * gst/gstsegment.c: (gst_segment_set_last_stop),
6103         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6104         Relax arg checking again, -1 is allowed.
6105
6106 2006-10-18  Wim Taymans  <wim@fluendo.com>
6107
6108         * gst/gstsegment.c: (gst_segment_set_last_stop),
6109         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6110         _set_last_stop() must be with a value != -1
6111         A _TYPE_SET to -1 means seek to 0.
6112         Calc last_stop correctly for negative rates.
6113         Make sure we work with positive durations when updating a segment.
6114
6115 2006-10-18  Wim Taymans  <wim@fluendo.com>
6116
6117         * docs/design/part-live-source.txt:
6118         * gst/gstclock.h:
6119         Small docs fixes.
6120
6121 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
6122
6123         * gst/gstbuffer.h:
6124           Add an explicit cast to GstBuffer** to keep old code that added an
6125           explicit cast to GstMiniObject** for gst_mini_object_replace()
6126           compiling without warning.
6127
6128 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6129
6130         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6131           check for validity of dates
6132
6133 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6134
6135         * docs/gst/gstreamer-sections.txt:
6136           Forgot this one, makes gtk-doc shut up.
6137
6138 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6139
6140         Patch by: Peter Kjellerstedt <pkj at axis com>
6141
6142         * gst/gstobject.h:
6143           Don't define xmlNodePtr to gpointer if the core was built with
6144           --disable-loadsave and --disable-registry, this will break
6145           applications that want to use libxml2 but are buildling against a
6146           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6147           instead so we don't have to mess with the libxml2 namespace
6148           (#361675).
6149
6150 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6151
6152         * gst/gstbuffer.h:
6153           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6154           type-punned pointer warnings.
6155
6156 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6157
6158         * gst/gstelement.h:
6159           Add casts to the correct return type to state <=> state transition
6160           macros.
6161
6162 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
6163
6164         * docs/design/part-live-source.txt:
6165           describe howto handle latency
6166         
6167         * docs/random/ensonic/profiling.txt:
6168           more ideas
6169
6170         * tools/gst-plot-timeline.py:
6171           fix log parsing for solaris, remove unused function
6172
6173 2006-10-16  Wim Taymans  <wim@fluendo.com>
6174
6175         * docs/design/part-trickmodes.txt:
6176         * gst/gstevent.c:
6177         Update some docs regarding reverse playback.
6178
6179 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6180
6181         Patch by: Marcus Granado  <mrc dot gran at gmail com>
6182
6183         * win32/vs8/grammar.vcproj:
6184           Error out with a warning if glib-genmarshal.exe is not in path,
6185           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6186
6187 2006-10-13  Wim Taymans  <wim@fluendo.com>
6188
6189         * gst/gstsegment.c: (gst_segment_set_seek):
6190         When seeking to stop -1, set last_stop (current position) to the
6191         duration of the segment.
6192
6193 2006-10-13  Wim Taymans  <wim@fluendo.com>
6194
6195         * gst/gstelement.h:
6196         Clarify _NO_PREROLL a bit more.
6197
6198         * gst/gstevent.c:
6199         Fix docs.
6200
6201         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6202         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6203         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6204         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6205         due to wrong locking order. Fixes #361769.
6206         Remove some redundant/misplaced checks in pad_block.
6207
6208         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6209         For negative rates, count backwards from the duration.
6210
6211 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6212
6213         * gst/gsterror.c: (_gst_library_errors_init):
6214           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6215           up with something better).
6216
6217 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6218
6219         * win32/vs6/libgstreamer.dsp:
6220         * win32/vs7/libgstreamer.vcproj:
6221         * win32/vs8/libgstreamer.vcproj:
6222           Don't reference glib-compat.c which is currently not used and not
6223           disted; add gstquark.c which was recently added. Fixes #361730.
6224
6225 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6226
6227         * win32/common/libgstbase.def:
6228         * win32/common/libgstcontroller.def:
6229         * win32/common/libgstreamer.def:
6230           Add gst_caps_merge() and a bunch of other recently-added functions.
6231           Fixes #361732.
6232
6233 2006-10-11  Wim Taymans  <wim@fluendo.com>
6234
6235         * docs/plugins/gstreamer-plugins.args:
6236         * docs/plugins/inspect/plugin-coreelements.xml:
6237         * docs/plugins/inspect/plugin-coreindexers.xml:
6238         Update element args.
6239
6240         * gst/gstsystemclock.c:
6241         Small comment update.
6242
6243         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6244         (gst_tee_request_new_pad), (gst_tee_release_pad),
6245         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6246         (gst_tee_sink_activate_pull):
6247         * plugins/elements/gsttee.h:
6248         Some tee loving:
6249         Add default property defines.
6250         Implement release pad function.
6251         Give properties better blubs etc.
6252         Activate pads before adding them to a running tee.
6253         Do simple buffer_alloc on the first requested pad.
6254         Post error when activation fails.
6255
6256 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6257
6258         * gst/gst.c: (ensure_current_registry_forking):
6259           Check return value of write() to make compiler happy.
6260
6261 2006-10-11  Wim Taymans  <wim@fluendo.com>
6262
6263         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6264
6265         * plugins/elements/gstqueue.c: (gst_queue_chain):
6266         Recheck queue filledness after signalling the overrun when we're about
6267         to leak downstream because we released the lock when emitting the signal
6268         and the queue could be empty again. Fixes #352345.
6269
6270 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6271
6272         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6273           Fix refcounting here too, just like we did for _new_valist() a few
6274           days ago (#357180) (thanks to René Stadler). Also remove all those
6275           'Since: 0.9' from the gtk-doc blobs.
6276
6277         * tests/check/libs/controller.c: (controller_refcount_new_list),
6278         (gst_controller_suite):
6279           Unit test for the above.
6280
6281 2006-10-10  Wim Taymans  <wim@fluendo.com>
6282
6283         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6284
6285         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6286         (gst_pad_save_thyself):
6287         Update some docs.
6288         Write pad direction in XML output. Fixes #345496.
6289
6290 2006-10-10  Wim Taymans  <wim@fluendo.com>
6291
6292         Patch by: René Stadler <mail at renestadler dot de>
6293
6294         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6295         (gst_controller_new_list), (_gst_controller_dispose),
6296         (_gst_controller_finalize), (_gst_controller_class_init):
6297         Take ref to controlled object so that it cannot disappear. 
6298         Fixes #357432.
6299
6300 2006-10-10  Wim Taymans  <wim@fluendo.com>
6301
6302         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6303         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6304         (gst_check_teardown_sink_pad):
6305         Activate/deactivate pads in setup/teardown respectively.
6306
6307 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6308
6309         Patch by: Josep Torre Valles <josep@fluendo.com>
6310
6311         * gst/Makefile.am:
6312         Cast values when making gstenumtypes.h.  This pacifies Forte
6313         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6314         in the enumeration.
6315
6316 2006-10-09  Wim Taymans  <wim@fluendo.com>
6317
6318         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6319         Rename some more @cur to @start to fix docs. 
6320
6321         * gst/gstsegment.c: (gst_segment_set_seek):
6322         Fix typo.
6323         time and start must always stay in sync as defined in design doc.
6324
6325         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6326         Rename param to fix docs.
6327
6328         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6329         Check that start and time are in sync.
6330
6331         * tests/check/pipelines/parse-launch.c:
6332         (gst_parse_test_element_change_state):
6333         Activate pad before adding to the element.
6334
6335 2006-10-09  Wim Taymans  <wim@fluendo.com>
6336
6337         * docs/design/part-qos.txt:
6338         Fix typo.
6339
6340         * gst/gstevent.c:
6341         * gst/gstevent.h:
6342         Update seek event docs regarding negative rates.
6343         Rename @cur to @start. 
6344
6345         * gst/gstsegment.c: (gst_segment_set_seek):
6346         * gst/gstsegment.h:
6347         Update set_seek docs regarding negative rates.
6348         Correctly update last_stop to @stop when dealing with negative
6349         rates.
6350         Rename @cur to @start. 
6351
6352         * tests/check/gst/gstpad.c: (GST_START_TEST):
6353         Activate pads before trying to use them.
6354
6355         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6356         (gst_segment_suite):
6357         Add simple check for segments and negative rates.
6358
6359 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6360
6361         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6362         * gst/gsttaglist.h:
6363         * docs/gst/gstreamer-sections.txt:
6364           API: add gst_tag_list_is_empty() (#360467).
6365
6366         * tests/check/gst/gsttag.c: (GST_START_TEST):
6367           And a test case.
6368
6369 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6370
6371         * gst/gstmessage.h:
6372         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6373         a value that doesn't fit on enumeration.
6374
6375 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6376
6377         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6378         Remove local debugging system and use Gstreamer's instead.
6379
6380 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6381
6382         Patch by: Josep Torre Valles <josep@fluendo.com>
6383
6384         * common/m4/gst-error.m4:
6385         Disable warning of statement not reached on Forte.
6386         * gst/gstmessage.h:
6387         Fix warning on Forte (value doesn't fit on enumeration).
6388         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6389         Fix warning on Forte (value doesn't fit on enumeration).
6390         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6391         DEBUG macro says it takes minimum of 2 args and so Forte
6392         complains about the use with just 1 arg.
6393         * plugins/elements/gstfdsink.c:
6394         * plugins/elements/gstfdsrc.c:
6395         * plugins/elements/gstfilesink.c:
6396         * plugins/elements/gstfilesrc.c:
6397         Use correct return type for the uri handler implementations.
6398
6399         All these fix warnings in Forte.  Fixes bug #360860.
6400
6401 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6402
6403         * gst/gstelement.h:
6404           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6405           format string, so don't use G_GNUC_PRINTF for those versions.
6406
6407 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6408
6409         * gst/gsttaglist.c: (gst_is_tag_list):
6410         * gst/gsttaglist.h:
6411           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6412
6413         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6414           Small test for the above.
6415
6416 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6417
6418         * gst/gsttaglist.h:
6419           Less tabs, more spaces.
6420
6421 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
6422
6423         * gst/gstinfo.h:
6424           Those two function declarations do actually belong there, revert
6425           commit from yesterday that turned them intro macros.
6426
6427 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6428
6429         Patch by: Josep Torre Valles <josep@fluendo.com>
6430
6431         * gst/gst.c: (gst_init_get_option_group):
6432         Fix empty declaration and type mismatch.
6433         * gst/gstbin.c: (gst_bin_change_state_func):
6434         Fix type mismatch.
6435         * gst/gstelement.c: (gst_element_continue_state),
6436         (gst_element_set_state_func), (gst_element_change_state),
6437         (gst_element_change_state_func):
6438         Fix type mismatches.
6439         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6440         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6441         Cast as appropriate.
6442         * gst/gstobject.c: (gst_class_signal_connect):
6443         Cast as appropriate.  The function pointer parameter really
6444         has the wrong type but would break API if we change it.
6445         * gst/gstquery.c:
6446         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6447         order of including string.h.
6448         * gst/gstutils.c: (gst_element_state_get_name):
6449         Remove unreachable line.
6450         * gst/gstxml.c: (gst_xml_parse_doc):
6451         Fix type mismatch.
6452         All these caught by Forte.
6453
6454 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6455
6456         Patch by: Josep Torre Valles <josep@fluendo.com>
6457
6458         * common/m4/gst-error.m4:
6459         Fixed bug #360151.
6460         We need to disable warnings on Forte for empty declarations
6461         due to gst-indent adding ;s to lines that just use macros
6462         where the macro actually doesn't need a ; at end to end
6463         statement.
6464
6465 2006-10-06  Wim Taymans  <wim@fluendo.com>
6466
6467         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6468         (gst_file_sink_close_file), (gst_file_sink_event),
6469         (gst_file_sink_render):
6470         Add some FIXME for the NEWSEGMENT handling.
6471
6472 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6473
6474         * gst/parse/grammar.y:
6475         Remove static function gst_parse_element_lock as all it does
6476         is return.  Looks like cruft from 0.8.
6477
6478 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6479
6480         Patch by: Josep Torre Valles <josep@fluendo.com>
6481
6482         * common/m4/gst-error.m4:
6483         * configure.ac:
6484         * libs/gst/net/Makefile.am:
6485         Fix a compilation issue with Forte on Solaris.  inet_aton is in
6486         libresolv.
6487
6488 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6489
6490         * gst/gstpad.c: (pre_activate):
6491         * gst/gstregistry.c: (gst_registry_scan_path_level):
6492         * gst/gstregistryxml.c: (load_plugin):
6493         * libs/gst/controller/gstcontroller.c:
6494         (gst_controlled_property_set_interpolation_mode):
6495         * libs/gst/dataprotocol/dataprotocol.c:
6496         (gst_dp_packet_from_event_1_0):
6497         * libs/gst/net/gstnetclientclock.c:
6498         (gst_net_client_clock_observe_times):
6499         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6500           Printf fixes.
6501
6502 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6503
6504         * configure.ac:
6505         * docs/gst/gstreamer-sections.txt:
6506         * gst/gstconfig.h.in:
6507         * gst/gstelement.h:
6508         * gst/gstinfo.h:
6509           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6510           whether we can use G_GNUC_PRINTF in other header files and at
6511           least check the printf format/arguments of debug messages and
6512           GST_ELEMENT_ERROR messages when the printf extension is not
6513           being used.
6514           Replace more tabs with spaces in gstinfo.h and remove two spurious
6515           function declarations in GST_DISABLE_DEBUG part with macros.
6516
6517 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6518
6519         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6520           More docs for the sync-message signal (mention that it is not
6521           emitted by default); log message structures of messages posted on
6522           the bus as well.
6523
6524 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
6525
6526         * gst/gst.c: (ensure_current_registry_forking):
6527         Use a pipe pair to receive status results from the forked child, and
6528         ignore the result from waitpid. Fixes #355499
6529
6530 2006-10-02  Wim Taymans  <wim@fluendo.com>
6531
6532         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6533         (gst_ghost_pad_suite):
6534         Fix leak in check.
6535
6536 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6537
6538         * gst/gstpad.c:
6539           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6540
6541 2006-10-02  Edward Hervey  <edward@fluendo.com>
6542
6543         * docs/design/part-block.txt:
6544         Further explain the use of flushing on blocked pads.
6545         * docs/gst/gstreamer-sections.txt:
6546         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6547         (gst_pad_push_event):
6548         * gst/gstpad.h:
6549         Added new GstPadFlag : GST_PAD_BLOCKING.
6550         Adds the notion of pads really blocking, which enables to properly
6551         handle FLUSH_START/FLUSH_STOP events on blocked pads.
6552         Fixes #358999
6553         API: gst_pad_is_blocking()
6554         API: GST_PAD_IS_BLOCKING() macro
6555         API: GST_PAD_BLOCKING GstPadFlag
6556         
6557 2006-10-02  Wim Taymans  <wim@fluendo.com>
6558
6559         Patch by: mrcgran <mrc.gran at gmail dot com>
6560
6561         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6562         Filter the proxied caps against the padtemplate if we have one.
6563
6564         * gst/gstquery.c: (gst_query_new_segment):
6565         Add include for gstinfo.h so that compilation with
6566         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6567
6568 2006-10-02  Wim Taymans  <wim@fluendo.com>
6569
6570         Patch by: Alessandro Decina  <alessandro at nnva org>
6571
6572         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6573         (gst_file_sink_set_location), (gst_file_sink_open_file),
6574         (gst_file_sink_close_file), (gst_file_sink_event),
6575         (gst_file_sink_render):
6576         Set file to NULL when closing filesink so that we can set a new filename
6577         in READY. Fixes #358613.
6578
6579 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6580
6581         Patch by: Alessandro Decina  <alessandro at nnva org>
6582
6583         * gst/gstevent.c: (_gst_event_copy):
6584           Fix gst_mini_object_make_writable() and gst_event_copy() for events
6585           with event structures by setting the parent refcount address of the
6586           copied structure to the address of the refcount member of the newly
6587           copied event rather than the address of the refcount member of the
6588           original event. Fixes #358737.
6589
6590         * tests/check/gst/gstevent.c: (GST_START_TEST):
6591           Unit test for the above.
6592
6593 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
6594
6595         * docs/design/Makefile.am:
6596           Dist some more files.
6597
6598 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6599
6600         * tests/check/libs/controller.c: (GST_START_TEST),
6601         (gst_controller_suite):
6602           Add test for the previous fix; add some more tests
6603           for correct refcounting behaviour; fix a few leaks
6604           in test cases; call gst_controller_init() at start
6605           of all tests.
6606
6607 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6608
6609         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6610         (gst_controller_set_from_list):
6611           Don't g_return_val_if_fail() on timed values with invalid timestamps
6612           inside a critical section without unlocking the mutex. Spotted by
6613           René Stadler. (#357617)
6614           Also, fix up refcounting properly: when returning an existing
6615           controller, we should increase the reference only once and not
6616           once per property and when trying to control a property again
6617           we should also increase the refcount.
6618
6619 2006-09-29  Wim Taymans  <wim@fluendo.com>
6620
6621         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6622         * libs/gst/net/gstnettimeprovider.c:
6623         (gst_net_time_provider_thread):
6624         Stop reading commands when EOF as well.
6625
6626         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6627         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6628         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6629         Unify description of the dump property.
6630
6631 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6632
6633         * tests/examples/manual/.cvsignore:
6634         OK, so it's actually cvsignore that needs changing. Stop laughing.
6635
6636 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6637
6638         * tests/examples/manual/Makefile.am:
6639         Gah, declare vars *before* using them
6640
6641 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6642
6643         * gst/gst.c: (init_pre), (scan_and_update_registry),
6644         (ensure_current_registry_nonforking),
6645         (ensure_current_registry_forking), (ensure_current_registry),
6646         (init_post), (gst_debug_help), (gst_deinit):
6647         * gst/gst_private.h:
6648         * gst/gstregistry.c: (gst_registry_finalize),
6649         (gst_registry_remove_features_for_plugin_unlocked),
6650         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6651         (gst_registry_scan_path),
6652         (_priv_gst_registry_remove_cache_plugins),
6653         (_priv_gst_registry_cleanup):
6654         * gst/gstregistry.h:
6655         Re-commit the registry changes, along with an extra fix:
6656           When a cached plugin is encountered at a different file path,
6657           update the stored path in the registry cache so that the parent
6658           process knows where it actually is now when it re-reads the registry
6659           cache. Fixes the thing that broke distcheck with the previous commit.
6660
6661         * tests/check/Makefile.am:
6662         Clean up files named 'core' too when running make clean.
6663
6664         * tests/examples/manual/Makefile.am:
6665         Set up a registry path for running these tests, and clean it properly
6666         for distcheck.
6667
6668 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6669
6670         * configure.ac:
6671         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6672         want gmodule-no-export-2.0.pc instead so that we don't drag in
6673         --export-dynamic on every project that links to GStreamer.
6674
6675         Also, make our export regex only match the start of symbols, rather 
6676         than any symbol that contains '_gst' somewhere.
6677
6678         * libs/gst/check/Makefile.am:
6679         The libgstcheck we build does however need export-dynamic, as it
6680         produces some symbols that don't match our _gst... style regex.
6681         Fixes: #318031
6682
6683 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6684
6685         * gst/gst.c: (init_pre), (scan_and_update_registry),
6686         (ensure_current_registry_nonforking),
6687         (ensure_current_registry_forking), (ensure_current_registry),
6688         (init_post), (gst_debug_help), (gst_deinit):
6689         * gst/gst_private.h:
6690         * gst/gstregistry.c: (gst_registry_finalize),
6691         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6692         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6693         (_gst_registry_cleanup):
6694         * gst/gstregistry.h:
6695           Revert previous change until I figure out why it breaks distcheck.
6696
6697 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6698
6699         * gst/gst.c: (init_pre), (scan_and_update_registry),
6700         (ensure_current_registry_nonforking),
6701         (ensure_current_registry_forking), (ensure_current_registry),
6702         (init_post), (gst_debug_help), (gst_deinit):
6703
6704           Make init_pre and init_post take the full complement of GOptionFunc
6705           args so they can return useful GErrors. Make the registry updating
6706           functions do so.
6707
6708           Call _priv_gst_registry_remove_cache_plugins after scanning files to
6709           ensure that the registry we're about to write out doesn't contain
6710           stale information about old-deleted plugin files.
6711
6712           Make _priv_gst_registry_remove_cache_plugins return a boolean so
6713           that deletion of plugin files is considered a registry change.
6714
6715         * gst/gst_private.h:
6716         * gst/gstregistry.c: (gst_registry_finalize),
6717         (gst_registry_remove_features_for_plugin_unlocked),
6718         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6719         (gst_registry_scan_path),
6720         (_priv_gst_registry_remove_cache_plugins),
6721         (_priv_gst_registry_cleanup):
6722         * gst/gstregistry.h:
6723         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6724         by adding _priv prefix, so that they won't appear in the global
6725         symbol table. They still do atm though because of #318031. Move the
6726         prototypes to gst_private.h
6727
6728         When removing a plugin, remove all features for that plugin too. 
6729         Fixes #340878.
6730
6731 2006-09-27  Wim Taymans  <wim@fluendo.com>
6732
6733         * docs/random/moving-plugins:
6734         Make it clear that the "compiled-in descriptions" really mean
6735         the element details.
6736
6737         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6738         (gst_base_sink_wait_preroll):
6739         Update docs.
6740
6741         * docs/libs/gstreamer-libs-sections.txt:
6742         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6743         (gst_base_src_get_range), (gst_base_src_activate_push):
6744         * libs/gst/base/gstbasesrc.h:
6745         Added function to block while waiting for PLAYING, this function
6746         is used by live sources that block on the clock.
6747         API: gst_base_src_wait_playing()
6748
6749 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6750
6751         Patch by: Peter Kjellerstedt <pkj at axis com>
6752
6753         * Makefile.am:
6754           gst-element-check.m4 is generated and should therefore be
6755           copied from the build dir rather than the source dir (#357593).
6756           'make distcheck' hasn't noticed this because we were disting
6757           the file as well, so stop doing that.
6758
6759 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6760
6761         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6762           Add some tests for gst_caps_intersect().
6763
6764         * tools/gst-launch.c: (event_loop):
6765           Print all buffering percentages we get, even the 100% one.
6766
6767 2006-09-26  Wim Taymans  <wim@fluendo.com>
6768
6769         * tools/gst-inspect.c: (print_element_properties_info),
6770         (print_signal_info):
6771         Fix printing of flags to match the look of enums.
6772
6773 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6774
6775         * gst/gstelementfactory.c:
6776           Fix typo in docs blurb.
6777
6778 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6779
6780         * gst/gsturi.c: (search_by_entry):
6781           Don't assert/crash here if a uri handler doesn't return any
6782           supported protocols. The list of protocols could be generated
6783           dynamically at runtime or at plugin registration, and an error
6784           in the underlying library shouldn't be fatal (#353301).
6785
6786 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6787
6788         * gst/gstinfo.c:
6789           Fix warning if HAVE_PRINTF_EXTENSION is undefined
6790           (spotted by Peter Kjellerstedt).
6791
6792 2006-09-23  Wim Taymans  <wim@fluendo.com>
6793
6794         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6795
6796         * libs/gst/base/gstbasesrc.c:
6797         (gst_base_src_default_check_get_range), (gst_base_src_start),
6798         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6799         (gst_base_src_change_state):
6800         Match _start/_stop calls in the activate functions. Remove redundant
6801         _stop call from the state change function. Fixes #356910.
6802         Turn failure DEBUG into ERROR. 
6803
6804 2006-09-22  Wim Taymans  <wim@fluendo.com>
6805
6806         * docs/design/part-buffering.txt:
6807         * gst/gstmessage.c: (gst_message_new_buffering),
6808         (gst_message_parse_buffering):
6809         Update docs about buffering.
6810
6811         * docs/design/part-trickmodes.txt:
6812         Fix typo.
6813
6814 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
6815
6816         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6817         (gst_controller_new_list):
6818           Ref instances when returning them again (fixes #357180)
6819
6820 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6821
6822         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6823           Don't forget to release proxy lock when there's an error.
6824
6825 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
6826
6827         * gst/gstcaps.h:
6828           Add extra initialisers for Caps things, to fix some plugin warnings
6829           when using -Wextra
6830
6831 2006-09-18  Wim Taymans  <wim@fluendo.com>
6832
6833         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6834           Also set template on the internal pad so that a getcaps from the 
6835           target pad returns the template caps.
6836
6837 2006-09-18  Wim Taymans  <wim@fluendo.com>
6838
6839         * gst/gstelement.c: (gst_element_post_message),
6840         (gst_element_dispose):
6841         Use _DEBUG_OBJECT some more.
6842
6843         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6844         Avoid typechecks.
6845
6846         * tools/gst-launch.c: (main):
6847         If the toplevel element is not a GstPipeline, it must be put in a
6848         pipeline so that a bus and clock is selected.
6849
6850 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6851
6852         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6853           JITTER, RATE, and LATENCY query should be handled by the
6854           default case and not by the CONVERT query code.
6855
6856 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6857
6858         * gst/gstformat.c: (gst_format_register):
6859           Fix locking order (must take lock before using n_values).
6860
6861         * gst/gstvalue.c: (gst_value_serialize_enum),
6862         (gst_value_deserialize_enum_iter_cmp),
6863         (gst_value_deserialize_enum):
6864           Fix serialisation/deserialisation of custom registered GstFormats.
6865
6866         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6867           Unit test for custom format serialisation/deserialisation.
6868
6869 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
6870
6871         * docs/pwg/building-boiler.xml:
6872         * plugins/elements/gstcapsfilter.c:
6873         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6874         section.
6875
6876 2006-09-16  Edward Hervey  <edward@fluendo.com>
6877
6878         * libs/gst/base/gstbasetransform.c:
6879         (gst_base_transform_buffer_alloc):
6880         Check if requested caps are the same as the sinks caps IF
6881         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6882         is FALSE.
6883         This fixes the renegotiation issues stated in #352827.
6884
6885 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6886
6887         * configure.ac:
6888         * docs/manual/advanced-autoplugging.xml:
6889         * tests/examples/Makefile.am:
6890         * tests/examples/manual/.cvsignore:
6891         * tests/examples/manual/Makefile.am:
6892         * tests/examples/manual/extract.pl:
6893           Extract the manual examples again like we used to do.
6894           Fix one of them.
6895
6896 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6897
6898         * win32/common/config.h:
6899           update for version
6900
6901 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
6902
6903         * gst/gsterror.c:
6904           Documents how to receive errors.
6905
6906 2006-09-15  Wim Taymans  <wim@fluendo.com>
6907
6908         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6909         (event_loop), (main):
6910         Added some comments here and there.
6911         Post an application message when an interrupt is caught instead of doing
6912         an uncontrolled state change.
6913         Clean up the event loop.
6914         Handle buffering messages, pause/resume the pipeline.
6915         Make shutdown because of an interrupt more reliable.
6916
6917 2006-09-15  Wim Taymans  <wim@fluendo.com>
6918
6919         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6920         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6921         (gst_base_sink_preroll_object):
6922         Make sure that our internal state is correct when we commit our state
6923         asynchronously. This solves a race where a state change to PLAYING
6924         could cause the sink to remain blocked in preroll in some situations.
6925
6926 2006-09-15  Wim Taymans  <wim@fluendo.com>
6927
6928         * tools/gst-inspect.c: (print_element_properties_info),
6929         (print_signal_info):
6930         List flags as hex so it's easier to deal with.
6931
6932 2006-09-15  Wim Taymans  <wim@fluendo.com>
6933
6934         * docs/libs/gstreamer-libs-sections.txt:
6935         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6936         (gst_base_sink_do_sync):
6937         * libs/gst/base/gstbasesink.h:
6938         Expose logic to wait for preroll so that subclasses such as audiosink
6939         can also use this method.
6940         API: gst_base_sink_wait_preroll()
6941
6942 2006-09-15  Wim Taymans  <wim@fluendo.com>
6943
6944         * gst/gstobject.c: (gst_object_set_parent):
6945         * gst/gstpipeline.c: (do_pipeline_seek):
6946         Small cleanups in docs and code.
6947
6948         * gst/gstsegment.c: (gst_segment_clip):
6949         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6950         if stop == start and start is in the segment, no clipping should be
6951         done. Also add a test for this.
6952
6953 2006-09-15  Wim Taymans  <wim@fluendo.com>
6954
6955         * docs/design/part-buffering.txt:
6956         * docs/gst/gstreamer-sections.txt:
6957         * gst/gstmessage.c: (gst_message_new_buffering),
6958         (gst_message_parse_buffering):
6959         * gst/gstmessage.h:
6960         Added methods to create and parse BUFFERING messages.
6961         Added preliminary docs about buffering.
6962         API: gst_message_new_buffering
6963         API: gst_message_parse_buffering
6964
6965 2006-09-06  Wim Taymans  <wim@fluendo.com>
6966
6967         * gst/gstbin.c:
6968         Update documentation.
6969
6970         * gst/gstelement.c: (gst_element_class_init),
6971         (gst_element_release_request_pad), (gst_element_set_clock),
6972         (gst_element_get_index), (gst_element_add_pad),
6973         (gst_element_remove_pad), (gst_element_get_random_pad),
6974         (gst_element_send_event), (gst_element_get_query_types),
6975         (gst_element_query), (gst_element_post_message),
6976         (gst_element_message_full), (gst_element_continue_state),
6977         (gst_element_lost_state), (gst_element_save_thyself),
6978         (gst_element_restore_thyself):
6979         Documentation updates.
6980         Rename last bit of the new-pad -> pad-added signal rename.
6981         Fix the case where an element query would only work if the source
6982         pad was linked.
6983         Avoid some useless type checking in message handling.
6984
6985         * gst/gstevent.c:
6986         * gst/gstevent.h:
6987         * gst/gstutils.c:
6988         Documentation updates.
6989
6990 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6991
6992         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6993           add an INFO line for when we actually update the fd
6994
6995 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6996
6997         * configure.ac:
6998           back to TRUNK
6999
7000 === release 0.10.10 ===
7001
7002 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
7003
7004         * configure.ac:
7005           releasing 0.10.10, "Pais"
7006
7007 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
7008
7009         * docs/manual/advanced-position.xml:
7010           Fix typo in sample code.
7011
7012 2006-09-05  Wim Taymans  <wim@fluendo.com>
7013
7014         * libs/gst/net/gstnetclientclock.c: (inet_aton),
7015         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7016         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
7017         * libs/gst/net/gstnetclientclock.h:
7018         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7019         * libs/gst/net/gstnettimepacket.h:
7020         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7021         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7022         (gst_net_time_provider_thread), (gst_net_time_provider_new):
7023         * libs/gst/net/gstnettimeprovider.h:
7024         Make stuff compile on windows. Fixes #345295.
7025
7026 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7027
7028         * gst/gst.c: (ensure_current_registry_forking):
7029           Print better details when child was terminated by signal.
7030
7031 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7032
7033         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7034           Print a warning rather than g_assert() if a plugin feature
7035           is a URI handler but returns no protocols (#353976).
7036
7037 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
7038
7039         * docs/random/moving-plugins:
7040         Fix two typos.         
7041
7042 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7043
7044         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7045           Fix locking order, handle NULL function values properly.
7046
7047         * gst/gstinfo.h:
7048           Fix docs.
7049
7050         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7051           Initialise variable before using it and fix debug statement to
7052           print the address of the function rather than the address of the
7053           variable on the stack holding the address of the function.
7054
7055 2006-09-01  Wim Taymans  <wim@fluendo.com>
7056
7057         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7058         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7059         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7060         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7061         (gst_ghost_pad_parent_unset),
7062         (gst_ghost_pad_internal_do_activate_push),
7063         (gst_ghost_pad_internal_do_activate_pull),
7064         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7065         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7066         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7067         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7068         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7069         (gst_ghost_pad_new_no_target_from_template),
7070         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7071         More cleanups.
7072         Avoid needless typechecking in macros.
7073         Since the internal pad is always present and never changes, there is
7074         no need to locking or ref when retrieving it.
7075         Improve debugging a bit.
7076         Handle link errors when setting the target. Fixes #341029.
7077
7078 2006-09-01  Wim Taymans  <wim@fluendo.com>
7079
7080         * docs/libs/gstreamer-libs-sections.txt:
7081         * docs/plugins/gstreamer-plugins-sections.txt:
7082         Fix docs some more.
7083
7084         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7085         (gst_collect_pads_event):
7086         * libs/gst/base/gstcollectpads.h:
7087         Documentation updates.
7088         Free queued buffer when removing a pad.
7089
7090 2006-08-31  Michael Smith  <msmith@fluendo.com>
7091
7092         * gst/gstutils.c: (gst_element_link_pads),
7093         (gst_element_link_pads_filtered):
7094           Ensure that we set a capsfilter to NULL if we failed to link it
7095           when doing filtered linking, to avoid criticals.
7096
7097           No need to check for unreffing srcpad, which is explicly NULLed
7098           above (a trivial code cleanup).
7099
7100 2006-08-31  Wim Taymans  <wim@fluendo.com>
7101
7102         * docs/design/part-gstghostpad.txt:
7103         Update ascii art in documentation.
7104
7105         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7106         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7107         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7108         (gst_ghost_pad_internal_do_activate_push),
7109         (gst_ghost_pad_internal_do_activate_pull),
7110         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7111         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7112         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7113         (gst_ghost_pad_set_target):
7114         Small cleanups and leak fixes.
7115         Remove some checks now that the internal pad is never NULL.
7116         Fix the case where linking pads without a target would create nasty
7117         criticals. Fixes #341029.
7118         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7119         value of _set_target().
7120
7121         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7122         (gst_ghost_pad_suite):
7123         Some more tests for creating and linking untargeted ghostpads.
7124
7125 2006-08-31  Edward Hervey  <edward@fluendo.com>
7126
7127         * docs/gst/gstreamer-sections.txt:
7128         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7129         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7130         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7131         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7132         (gst_ghost_pad_new_from_template),
7133         (gst_ghost_pad_new_no_target_from_template):
7134         * gst/gstghostpad.h:
7135         Refactored *_new() functions.
7136         Templates are now used as a g_object_new() parameter.
7137         Use template in _do_getcaps() if we don't have a target.
7138         Small documentation cleanups.
7139         Added two new constructors:
7140         gst_ghost_pad_new_from_template()
7141         gst_ghost_pad_new_no_target_from_template()
7142         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7143         (gst_ghost_pad_suite):
7144         Added tests for new ghostpad instanciation functions.
7145
7146         API additions: gst_ghost_pad_new_from_template,
7147         gst_ghost_pad_new_no_target_from_template
7148
7149 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
7150
7151         * docs/random/ensonic/profiling.txt:
7152           Ideas about qos profiling.
7153
7154 2006-08-29  Wim Taymans  <wim@fluendo.com>
7155
7156         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7157         Code cleanups.
7158         Fix memleak.
7159
7160 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
7161
7162         * gst/gstxml.c:
7163           Improve and detypofy docs.
7164
7165         * tests/check/Makefile.am:
7166         * tests/check/gst/.cvsignore:
7167         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7168           Add a basic test suite for GstXML.
7169
7170 2006-08-29  Wim Taymans  <wim@fluendo.com>
7171
7172         * gst/gstelement.c: (activate_pads), (clear_caps),
7173         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7174         Clear the pad caps when the element shut down all of the pads and
7175         is not streaming data that could modify the caps. 
7176         Fixes #352958.
7177
7178 2006-08-28  Michael Smith  <msmith@fluendo.com>
7179
7180         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7181           Revert previous change; I misunderstood single-segment mode.
7182
7183 2006-08-28  Michael Smith  <msmith@fluendo.com>
7184
7185         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7186           Unset DISCONT on buffers when using single-segment mode.
7187
7188 2006-08-28  Wim Taymans  <wim@fluendo.com>
7189
7190         * gst/gstcaps.c: (gst_caps_merge_structure):
7191         * gst/gstcaps.h:
7192         Fix docs and indentation again.
7193
7194         * tests/check/gst/gstquery.c: (GST_START_TEST):
7195         Fix leak in tests and add some more tests.
7196
7197 2006-08-28  Edward Hervey  <edward@fluendo.com>
7198
7199         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7200         Inform GstSegment of the last stop position in order for the current
7201         segment to have a proper duration if it doesn't have a specific stop
7202         position from which a duration could be calculated.
7203         This bug was noticeable when a non-flushing, non-update new segment was
7204         followed by another segment (all buffers from the new segment were being
7205         dropped).
7206
7207 2006-08-28  Wim Taymans  <wim@fluendo.com>
7208
7209         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7210         Small comment update.
7211
7212         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7213         (gst_identity_transform_ip):
7214         Drop-probability is broken, mention this in the code with a 
7215         FIXME and also in the property description.
7216         Make silent also be silent about the drop messages.
7217
7218 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
7219
7220         * docs/manual/appendix-win32.xml:
7221           Remove mention of popt, we don't depend on that any
7222           longer (#353136). Add some comments pointing out that
7223           this section is slightly outdated.
7224
7225 2006-08-28  Wim Taymans  <wim@fluendo.com>
7226
7227         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7228
7229         * gst/gstquery.c: (gst_query_new_segment):
7230         * tests/check/gst/gstquery.c: (GST_START_TEST):
7231         Initialize variables when creating a new segment query.
7232         Fixes #353121.
7233
7234 2006-08-28  Wim Taymans  <wim@fluendo.com>
7235
7236         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7237
7238         * gst/gstelement.c: (gst_element_get_bus):
7239         * tests/check/gst/gstelement.c: (GST_START_TEST):
7240         Check for NULL before _reffing the bus. Fixes #353122.
7241
7242 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
7243
7244         * docs/manual/basics-bus.xml:
7245           Docs update: fix wrong callback return value explanation; add
7246           some lines about the implicit relationship between main loop
7247           and main context; remove duplicate main loop variable declaration.
7248
7249 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
7250
7251         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7252           Don't leak caps in unit test; add a few more simple
7253           checks. 
7254
7255 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
7256
7257         * docs/gst/gstreamer-sections.txt:
7258         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7259         (gst_caps_structure_is_subset), (gst_caps_merge),
7260         (gst_caps_merge_structure):
7261         * gst/gstcaps.h:
7262         * libs/gst/base/gstbasetransform.c:
7263         (gst_base_transform_transform_caps):
7264         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7265           implement caps merging (fixes #352580)
7266
7267 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
7268
7269         * tools/Makefile.am:
7270         * tools/gst-plot-timeline.py:
7271           add debug-log plotting developer tool (#340674)
7272
7273 2006-08-23  Wim Taymans  <wim@fluendo.com>
7274
7275         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7276         (gst_pad_stop_task):
7277         Improve debugging for task functions.
7278
7279         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7280         (gst_task_start), (gst_task_pause), (gst_task_join):
7281         Make sure that the task function started and finished after a 
7282         join(). 
7283         Don't try to push the task function on the threadpool multiple
7284         times.
7285         Improve the g_warning message with some useful suggestions
7286         about how to fix the problem. 
7287
7288 2006-08-23  Wim Taymans  <wim@fluendo.com>
7289
7290         * gst/gstutils.c: (gst_pad_proxy_getcaps):
7291         Handle RESYNC correctly in _proxy_getcaps.
7292
7293 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
7294
7295         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7296         (gst_xml_parse_memory), (gst_xml_get_element):
7297           Chain up to parent class in dispose function and also
7298           unref the elements in the toplevel_elements GList.
7299           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7300           Always return a reference in gst_xml_get_element() rather
7301           than only sometimes.
7302
7303         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7304           Don't leak GstXml object.
7305
7306 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
7307
7308         * docs/gst/gstreamer-sections.txt:
7309         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7310         (gst_caps_merge):
7311         * gst/gstcaps.h:
7312         * libs/gst/base/gstbasetransform.c:
7313         (gst_base_transform_transform_caps):
7314           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7315           in a better way
7316
7317 2006-08-21  Edward Hervey  <edward@fluendo.com>
7318
7319         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7320         Implement GObject::dispose virtual method in GstXML so we can free the
7321         top_elements GList.
7322
7323 2006-08-21  Wim Taymans  <wim@fluendo.com>
7324
7325         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7326         (gst_buffer_create_sub):
7327         Copy duration/offset_end/caps when creating a subbuffer of the
7328         complete parent.
7329         Make the subbuffer read-only when we make the metadata writable for
7330         now. Fixes #351768.
7331
7332         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7333         Added check for metadata copy when creating subbuffers.
7334
7335 2006-08-21  Edward Hervey  <edward@fluendo.com>
7336
7337         * libs/gst/base/gstbasetransform.c:
7338         (gst_base_transform_buffer_alloc):
7339         Only call downstream buffer_alloc if transform element is passthrough
7340         or always_in_place. Closes #350449.
7341
7342 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7343
7344         * ChangeLog:
7345           ChangeLog surgery to add comments to previous changes
7346
7347 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7348
7349         * gst/gst.c:
7350           Add comments
7351
7352         * gst/gstpad.c: (gst_pad_set_active):
7353           Be more verbose in the log
7354
7355         * libs/gst/base/gstbasetransform.c:
7356         (gst_base_transform_transform_caps):
7357           Simplify caps to get rid of duplicates, fixes #345444
7358
7359 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7360
7361         * gst/gstvalue.c:
7362         * gst/gstvalue.h:
7363           Use these optimizations only internally.
7364
7365 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7366
7367         * gst/gstvalue.c: (gst_value_compare_list),
7368         (gst_value_compare_fraction_range),
7369         (gst_value_intersect_fraction_fraction_range),
7370         (gst_value_intersect_fraction_range_fraction_range),
7371         (gst_value_subtract_fraction_fraction_range),
7372         (gst_value_subtract_fraction_range_fraction_range),
7373         (gst_value_get_compare_func), (gst_value_compare),
7374         (gst_value_compare_with_func):
7375         * gst/gstvalue.h:
7376           Saves the expensive lookup of the compare function in many cases
7377          (#345444)
7378
7379 2006-08-18  Edward Hervey  <edward@fluendo.com>
7380
7381         * tests/check/gst/gstinfo.c: (gst_info_suite):
7382         Disable test that require gstdebug if it wasn't built in core.
7383
7384 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7385
7386         * docs/random/ensonic/logging.txt:
7387           update ideas
7388           
7389         * gst/gstinfo.c: (gst_debug_log_default):
7390           reorder fields, save some columns, add optional color codes for log
7391           levels
7392
7393 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7394
7395         * docs/random/ensonic/logging.txt:
7396           add ideas about making the logs a bit more useful
7397
7398 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7399
7400         * docs/pwg/advanced-events.xml:
7401         * docs/pwg/titlepage.xml:
7402           Update for 0.10 API (#340627). Add myself
7403           to authors list.
7404
7405 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7406
7407         * docs/libs/gstreamer-libs-docs.sgml:
7408         * docs/libs/gstreamer-libs-sections.txt:
7409         * libs/gst/check/gstbufferstraw.c:
7410           Make gstcheck stuff show up in docs (still needs to
7411           be documented properly though).
7412
7413 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7414
7415         * docs/gst/gstreamer-sections.txt:
7416         * gst/Makefile.am:
7417         * gst/gst.c: (init_post):
7418         * gst/gst_private.h:
7419         * gst/gstquark.c: (_priv_gst_quarks_initialize):
7420         * gst/gstquark.h:
7421         * gst/gstquery.c: (gst_query_new_position),
7422         (gst_query_set_position), (gst_query_parse_position),
7423         (gst_query_new_duration), (gst_query_set_duration),
7424         (gst_query_parse_duration), (gst_query_new_convert),
7425         (gst_query_set_convert), (gst_query_parse_convert),
7426         (gst_query_new_segment), (gst_query_set_segment),
7427         (gst_query_parse_segment), (gst_query_new_seeking),
7428         (gst_query_set_seeking), (gst_query_parse_seeking):
7429         Add internal helpers for pre-registering quarks from static strings
7430         and using the quark values directly instead of looking them up when
7431         creating and parsing queries. Can be used for event construction too.
7432         Closes #350432.
7433
7434 2006-08-16  Wim Taymans  <wim@fluendo.com>
7435
7436         * gst/gstbin.c:
7437         Fix bogus docs.
7438
7439 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7440
7441         * gst/gstutils.c: (gst_util_set_value_from_string):
7442           Fix memleak (#351502).
7443
7444         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7445           Add unit test for most of gst_util_set_value_from_string()
7446           (not that one would want to encourage use of this function).
7447
7448 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7449
7450         * libs/gst/check/gstcheck.h:
7451           Use const gchar * variables in fail_unless_equals_string
7452           macro to avoid compiler warnings (and don't use tabs for
7453           indenting).
7454
7455 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7456
7457         * tools/gst-launch.c: (print_tag):
7458           More space on the left for the tag names, to cater
7459           for the 'extended comment' tag (not touching the
7460           string for the first line since it's translated).
7461
7462 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7463
7464         * libs/gst/check/gstcheck.h:
7465           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7466           print something when they fail.
7467
7468 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7469
7470         * docs/gst/gstreamer-sections.txt:
7471         * gst/gsttaglist.c: (_gst_tag_initialize):
7472         * gst/gsttaglist.h:
7473           API: add GST_TAG_EXTENDED_COMMENT (#350935).
7474           Also change merge function for GST_TAG_COMMENT to
7475           use_first.
7476
7477 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7478
7479         * gst/gstinfo.c: (gst_debug_print_object):
7480           Make GST_PTR_FORMAT print messages as well.
7481
7482         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7483         (GST_START_TEST), (gst_info_suite):
7484           More tests.
7485
7486 2006-08-14  Edward Hervey  <edward@fluendo.com>
7487
7488         * gst/gstelementfactory.c: (gst_element_register):
7489         If the GstElementClass doesn't have a GstElementDetails with all fields
7490         filled up correctly (longname, description AND author), then error out
7491         nicely instead of crashing.
7492
7493 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7494
7495         * gst/gststructure.c:
7496           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7497
7498         * gst/gstvalue.h:
7499           Expand on the difference between arrays and lists as we use them.
7500           
7501 2006-08-14  Wim Taymans  <wim@fluendo.com>
7502
7503         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7504         If the parent state change function failed, don't assume we can safely
7505         stop the source, this will be done when the pads are deactivated.
7506
7507 2006-08-14  Wim Taymans  <wim@fluendo.com>
7508
7509         * gst/gstbuffer.c:
7510         * gst/gsttask.c: (gst_task_join):
7511         Small doc updates.
7512
7513         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7514         (gst_pad_stop_task):
7515         When pad (de)activation failed for some reason, restore the old
7516         activation mode and set the pad to flushing instead of assuming the
7517         pad is deactivated.
7518         If the _task_join() failed, reinstall the task on the pad so that it can
7519         be stopped later and return an error.
7520
7521 2006-08-11  Andy Wingo  <wingo@pobox.com>
7522
7523         * configure.ac:
7524         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7525         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7526         is only for users of API that don't want to see deprecated
7527         functions in the headers; people that want to compile out
7528         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7529         CFLAGS. Fixes the build of multifdsink, or will soon..
7530
7531 2006-08-11  Wim Taymans  <wim@fluendo.com>
7532
7533         * docs/gst/gstreamer-sections.txt:
7534         Add GstClockClass vmethod docs.
7535
7536         * gst/gstcaps.h:
7537         Mark #endif with comment for associated #if
7538
7539         * gst/gstclock.c: (gst_clock_id_wait):
7540         * gst/gstclock.h:
7541         Add vmethod wait_jitter to avoid an unneeded _get_time() for
7542         most clock implementations.
7543         Document vmethods.
7544         Flesh out docs about resolution methods.
7545         API: GstClockClass::wait_jitter
7546
7547         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7548         (gst_system_clock_async_thread),
7549         (gst_system_clock_id_wait_jitter_unlocked),
7550         (gst_system_clock_id_wait_jitter):
7551         Use base class wait_jitter variant for improved performance
7552         due to less clock polling.
7553
7554 2006-08-11  Edward Hervey  <edward@fluendo.com>
7555
7556         * gst/gst.c: (gst_init_check), (init_post):
7557         Set gst as being initialized before scanning/updating the registry,
7558         since there might be my python plugin loader that calls gst_init() and
7559         we don't want to loop back in.
7560         Closes #350879
7561
7562 2006-08-11  Wim Taymans  <wim@fluendo.com>
7563
7564         * docs/design/part-qos.txt:
7565         Bring docs in line with the code. Mostly the sign of the jitter was
7566         wrong in the docs. Fixes #349943.
7567
7568         * gst/gstclock.c:
7569         Fix the docs for the jitter.
7570
7571         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7572         (gst_event_parse_tag), (gst_event_new_buffer_size),
7573         (gst_event_parse_buffer_size), (gst_event_parse_qos),
7574         (gst_event_new_seek), (gst_event_parse_seek),
7575         (gst_event_new_navigation):
7576         Make sure the GstStructure has no parent when creating custom
7577         events.
7578         Add some more argument checking so that we avoid 0.0 rates.
7579         Flesh out the docs for the QoS event some more.
7580
7581 2006-08-11  Wim Taymans  <wim@fluendo.com>
7582
7583         * docs/gst/gstreamer-sections.txt:
7584         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7585         (ensure_current_registry_forking), (ensure_current_registry),
7586         (parse_one_option), (parse_goption_arg), (gst_deinit),
7587         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7588         * gst/gst.h:
7589         Doc updates.
7590         Added API and command line option to disable registry forking in
7591         addition to the environment variable.
7592         Constify some static arrays.
7593         Added some more debug.
7594         Don't deinit twice.
7595         API: gst_registry_fork_is_enabled()
7596         API: gst_registry_fork_set_enabled()
7597         API: --gst-disable-registry-fork command line option
7598         Fixes #348918.
7599
7600 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
7601
7602         * gst/gst.c: (gst_init):
7603           Fix typo in error message.
7604
7605 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7606
7607         * libs/gst/controller/gstcontroller.h:
7608           fix ABI size-correction
7609
7610         * tests/check/libs/gdp.c: (gst_dp_suite):
7611           make tests that use deprecated API conditional
7612
7613 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7614
7615         * docs/libs/gstreamer-libs-sections.txt:
7616         * libs/gst/controller/gstcontroller.c:
7617         (_gst_controller_get_property), (_gst_controller_set_property),
7618         (_gst_controller_init), (_gst_controller_class_init):
7619         * libs/gst/controller/gstcontroller.h:
7620         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7621         (gst_object_set_control_rate):
7622           API: add gst_object_{s,g}et_control_rate(), add private data section,
7623           fix docs
7624
7625         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7626         * libs/gst/dataprotocol/dataprotocol.h:
7627           add deprecation guards to make gtk-doc happy and allow disabling cruft
7628
7629 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7630
7631         * tests/check/Makefile.am:
7632         * tests/check/gst/.cvsignore:
7633           Let's enable the new unit test as well.
7634
7635 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7636
7637         * configure.ac:
7638         * docs/gst/gstreamer-sections.txt:
7639         * gst/gstconfig.h.in:
7640         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7641         (_gst_info_printf_extension_ptr),
7642         (_gst_info_printf_extension_segment):
7643           API: add GST_SEGMENT_FORMAT, which is a printf extension we
7644           register that lets us easily dump GstSegments into debug
7645           logs (#350419).
7646
7647         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7648         (info_segment_format_printf_extension), (gst_info_suite):
7649           Add simple unit test that logs a bunch of different segments (not
7650           valgrinded at the moment because of leaks in
7651           gst_debug_add_log_function).
7652
7653 2006-08-09  Edward Hervey  <edward@fluendo.com>
7654
7655         * libs/gst/base/gstbasetransform.c:
7656         (gst_base_transform_buffer_alloc):
7657         Even if we can't figure out the proper format to request downstream,
7658         call buffer_alloc() downstream with the input parameters without setting
7659         the caps on the srcpad. This will force negotiation in the chain
7660         function.
7661         Closes #350449
7662
7663 2006-08-08  Edward Hervey  <edward@fluendo.com>
7664
7665         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7666         Unlinking from a pad without a target is now a perfectly valid case
7667         which should NOT raise an assertion.
7668         This case would happen if a linked ghostpad its target set to NULL after
7669         it was previously linked.
7670
7671 2006-08-08  Edward Hervey  <edward@fluendo.com>
7672
7673         * tests/check/libs/gdp.c:
7674         Also comment out the test (see below).
7675
7676 2006-08-08  Edward Hervey  <edward@fluendo.com>
7677
7678         * tests/check/libs/gdp.c: (gst_dp_suite):
7679         Use the architecture information from config.h and not gcc macros
7680         in order to properly disable a test that fails on PPC64.
7681
7682 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
7683
7684         * gst/gstelement.c: (gst_element_remove_pad):
7685           Don't crash printing the warning if the pad has no parent.
7686
7687 2006-08-02  Wim Taymans  <wim@fluendo.com>
7688
7689         * libs/gst/dataprotocol/dataprotocol.c:
7690         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7691         (gst_dp_crc), (gst_dp_header_payload_length),
7692         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7693         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7694         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7695         (gst_dp_event_from_packet), (gst_dp_validate_header),
7696         (gst_dp_validate_payload):
7697         Make debug category static
7698         Constify the crc table.
7699         Do some more arg checking in public functions.
7700         Fix some docs and do some small cleanups.
7701
7702         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7703         Add some more checks to see if GDP deals with bogus input.
7704
7705 2006-07-31  Wim Taymans  <wim@fluendo.com>
7706
7707         * gst/gstvalue.c: (gst_value_compare_list):
7708         Fix GstValueList comparison code. Fixes #347293.
7709
7710         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7711         Check to test GstValueList comparison.
7712
7713 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7714
7715         * gst/gstelementfactory.c: (gst_element_factory_create):
7716         Remove unnecessary ref/unref pair
7717
7718         * gst/parse/grammar.y:
7719         Make sure to free the parse buffer on all code paths.
7720         Move a g_free up to the error handler where it's easier to see.
7721
7722         * tests/check/gst/gstevent.c: (test_event):
7723         Extending timeout for downstream travelling events to 10 seconds to
7724         hopefully avoid intermittent failure on the buildbots.
7725
7726         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7727         Don't manually set the state of the src element - it will happen as a
7728         natural consequence of the pipeline changing state, and that way it
7729         will do it in the right order too.
7730
7731 2006-07-31  Wim Taymans  <wim@fluendo.com>
7732
7733         * libs/gst/base/gstbasetransform.c:
7734         (gst_base_transform_buffer_alloc):
7735         Use OBJECT_LOCK and refcounting to get the pad caps in the
7736         buffer_alloc function because the caps could change while we are
7737         busy with them. Fixes #349105
7738
7739 2006-07-31  Wim Taymans  <wim@fluendo.com>
7740
7741         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7742         Protect _PAD_CAPS with OBJECT_LOCK.
7743
7744 2006-07-31  Wim Taymans  <wim@fluendo.com>
7745
7746         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7747         (gst_pad_get_property), (gst_pad_activate_pull),
7748         (gst_pad_activate_push), (gst_pad_set_blocked_async),
7749         (gst_pad_set_activate_function),
7750         (gst_pad_set_activatepull_function),
7751         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7752         (gst_pad_set_getrange_function),
7753         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7754         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7755         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7756         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7757         (gst_pad_set_acceptcaps_function),
7758         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7759         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7760         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7761         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7762         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7763         (gst_pad_configure_sink), (gst_pad_configure_src),
7764         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7765         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7766         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7767         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7768         (gst_pad_send_event):
7769         Use _DEBUG_OBJECT when it makes sense.
7770         Protect GST_PAD_CAPS with the OBJECT_LOCK.
7771         Small cleanups and code reflows.
7772         Avoid caps refcounting in _accept_caps.
7773         Refactor alloc_buffer so that the code performed on the peer is in a
7774         separate function. Also if the pad does not implement a buffer alloc
7775         function, we should still check if the pad is flushing before falling
7776         back to the default allocator.
7777
7778 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7779
7780         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7781         Make all uses of identity and fakesink have silent=true to avoid
7782         serialising every passing data structure, which is breaking tests
7783         on FC4 for some unknown reason.
7784
7785 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7786
7787         * gst/parse/Makefile.am:
7788         * gst/parse/grammar.y:
7789         * gst/parse/parse.l:
7790           Reverted previous patch as it required to bump the flex dependency to
7791           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7792
7793 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7794
7795         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7796
7797         * gst/parse/Makefile.am:
7798         * gst/parse/grammar.y:
7799         * gst/parse/parse.l:
7800           push & pop the state of the lexer for reentrant use case
7801           Fixes #349180
7802
7803 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
7804
7805         * libs/gst/base/gstbasesrc.h:
7806           Note in the docs that the ::newsegment vfunc is not actually used by
7807           GstBaseSrc.
7808
7809 2006-07-28  Wim Taymans  <wim@fluendo.com>
7810
7811         * libs/gst/base/gstcollectpads.c:
7812         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7813         (gst_collect_pads_clear), (gst_collect_pads_flush),
7814         (gst_collect_pads_event), (gst_collect_pads_chain):
7815         When flushing a pad, also clear the queued buffer so that we don't
7816         accidentally use it when we shouldn't.
7817         Fix leaks by inreffing incomming buffer.
7818         Flush out queued buffers in case of errors.
7819         Fixes #347452.
7820
7821 2006-07-28  Wim Taymans  <wim@fluendo.com>
7822
7823         * docs/random/phonon-gst:
7824         Random notes about a Phonon backend.
7825
7826 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7827
7828         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7829         Extra debug output
7830         * tests/check/libs/gdp.c: (gst_dp_suite):
7831         Take a whack at fixing the ppc compile using a different define to
7832         disable the broken test.
7833
7834         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7835         Remove excess g_print()
7836
7837 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7838
7839         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7840         Oops, meant to uncomment this line too to dampen the noise a bit.
7841
7842 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7843
7844         * gst/parse/grammar.y:
7845         * gst/parse/parse.l:
7846         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7847         (GST_START_TEST), (parse_suite):
7848         Fix some of the leaks exposed by extending the parse-launch testsuite,
7849         and move the 3 I can't figure out into a separate test that won't run
7850         the pipelines unless the appropriate line is uncommented.
7851
7852 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7853
7854         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7855           Requesting 0 bytes before the end of the file should result in
7856           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7857           unit test.
7858
7859 2006-07-27  Wim Taymans  <wim@fluendo.com>
7860
7861         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7862         Fix useless assert, a uint is always positive.
7863
7864         * gst/gststructure.c: (gst_structure_nth_field_name),
7865         (gst_structure_foreach), (gst_structure_map_in_place):
7866         Check input arguments for public functions to avoid obvious crashes.
7867
7868         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7869         * plugins/elements/gstfakesink.h:
7870         Do less useless typechecking.
7871
7872 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7873
7874         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7875           Do not use mmap() by default since there are a number of error
7876           conditions that we would like to handle in a non-fatal way that
7877           will result in a SIGBUS if we use mmap(). Examples: external
7878           devices (USB harddrive, portable music player) being unplugged
7879           while in use; file on mounted CD/DVD that can't be read because
7880           the medium is partly damaged. Fixes #348455 and #348475.
7881
7882 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7883
7884         * gst/gstquery.h:
7885         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7886         rates are a gdouble
7887
7888 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
7889
7890         * gst/gstregistry.c:
7891           Move big documentation comment into class section header, so that it
7892           appears in the API docs.
7893
7894 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7895
7896         * docs/gst/gstreamer-sections.txt:
7897         Oops. Commit the docs additions too for new API.
7898         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7899
7900 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7901
7902         * gst/gststructure.c: (gst_structure_id_set),
7903         (gst_structure_id_set_valist):
7904         * gst/gststructure.h:
7905         Add API for setting values into structures without performing
7906         a quark lookup, if the appropriate quark is already known.
7907
7908         API: gst_structure_id_set
7909         API: gst_structure_id_set_valist
7910
7911         * gst/parse/grammar.y:
7912         * gst/parse/parse.l:
7913         Remove some dead code shown by the coverage information.
7914         Don't throw a critical g_warning when encountering a syntax error,
7915         just warn and let the normal error path handle it.
7916
7917         * plugins/elements/gstelements.c:
7918         Bump the rank of filesink up to PRIMARY so that it is preferred over
7919         gnomevfssink for file:// sink uri's
7920
7921         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7922         (GST_START_TEST), (run_delayed_test),
7923         (gst_parse_test_element_base_init),
7924         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7925         (gst_parse_test_element_change_state),
7926         (gst_register_parse_element), (parse_suite):
7927         Beef up the tests for parse syntax to check that more error cases
7928         fail as they are supposed to. Increases the test coverage a bit.
7929
7930 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7931
7932         * docs/manual/basics-elements.xml:
7933           Fix gst_element_link() example.
7934
7935         * gst/gstutils.c:
7936           Mention in API docs that one should usually gst_bin_add()
7937           elements to a bin or pipeline before doing the linking.
7938           
7939 2006-07-26  Wim Taymans  <wim@fluendo.com>
7940
7941         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7942         (gst_subbuffer_get_type), (gst_buffer_create_sub):
7943         Avoid function call for known types by keeping the buffer and
7944         subbuffer GType global.
7945
7946         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7947         Random silly optimisations in read() path.
7948
7949 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7950
7951         * tools/gst-launch.c: (main):
7952           If the top-level of the parse is a normal bin, it doesn't do the
7953           right logic to run as a top-level element, so place it inside a
7954           pipeline.
7955
7956 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7957
7958         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7959           Remove superfluous g_object_notify() calls, GObject does
7960           that for us automatically.
7961
7962 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
7963
7964         * gst/gstinfo.h:
7965           on Win32, use dllspec to export the debug category symbols
7966
7967 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
7968
7969         * gst/gsttaglist.c: (_gst_tag_initialize):
7970           Allow more than one GST_TAG_IMAGE per taglist.
7971
7972 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7973
7974         * gst/gstminiobject.c:
7975           update docs
7976         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7977         (gst_fd_src_create):
7978           log recurring events at LOG level
7979           add more debug for when the fd gets set
7980
7981 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7982
7983         * gst/gstparse.c: (gst_parse_launch):
7984           Also remove reentrance checks if flex is MT safe (#348179)
7985          Fix my empty ChangeLog entry below
7986
7987 2006-07-21  Andy Wingo  <wingo@pobox.com>
7988
7989         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7990
7991         * libs/gst/check/Makefile.am
7992         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7993         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
7994         * libs/gst/check/gstbufferstraw.h:
7995         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7996         functions, thus proving I am still a GStreamer haxor. OK I wrote
7997         them a long time ago, but anyways.
7998
7999 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
8000
8001         * configure.ac:
8002         * gst/gstparse.c: (gst_parse_launch):
8003           Check for flex version and omit mutex if we have a MT save flex
8004           (fixes #348179)
8005
8006 2006-07-21  Wim Taymans  <wim@fluendo.com>
8007
8008         * gst/gstparse.c: (gst_parse_launch):
8009         Protect recursive calls to _parse with a recursive mutex
8010         and busy flag.
8011
8012 2006-07-21  Wim Taymans  <wim@fluendo.com>
8013
8014         * tests/check/gst/gstpad.c: (GST_START_TEST):
8015         Fix leak in test.
8016
8017 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
8018
8019         * gst/gstparse.c: (gst_parse_launch):
8020           Do not hang on recursive usage of gst_parse_launch()
8021
8022 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8023
8024         * gst/gsttaglist.c:
8025           Add some more docs, comments and FIXME 0.11s here and there
8026           and also fix some typos.
8027
8028 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8029
8030         * gst/gstsegment.h:
8031           Convert tabs to spaces for better readability. 
8032
8033 2006-07-20  Edward Hervey  <edward@fluendo.com>
8034
8035         * tests/check/libs/gdp.c: (gst_dp_suite):
8036         the test_buffer test fails at line 140 on ppc64 at the following
8037         check:
8038         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8039                 GST_BUFFER_FLAG_IN_CAPS),
8040                 "GST_BUFFER_IN_CAPS flag should have been copied !");
8041         See bug #348114 for more details.
8042
8043 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
8044
8045         * docs/pwg/advanced-scheduling.xml:
8046         * gst/gstpad.c:
8047           Fix typos (#348000).
8048
8049 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
8050
8051         * docs/pwg/intro-basics.xml:
8052           Fix wrong links (#347927).
8053
8054 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
8055
8056         * gst/gstregistry.h:
8057         * gst/gstregistryxml.c: (load_feature),
8058         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8059         * win32/common/config.h:
8060           make --disable-index work (#342564)
8061
8062 2006-07-18  Wim Taymans  <wim@fluendo.com>
8063
8064         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8065
8066         * gst/Makefile.am:
8067         * gst/gsttrace.h:
8068         The attached patch adds two missing defines to gsttrace.h when tracing
8069         is disabled.  It also corrects one existing define.
8070         Fixes #347756.
8071
8072 2006-07-17  Wim Taymans  <wim@fluendo.com>
8073
8074         * docs/gst/gstreamer-sections.txt:
8075         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8076         * gst/gst.h:
8077         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8078         Add two functions to check and change the SIGSEGV behaviour
8079         when loading plugins.
8080         Don't mess with the SIGSEGV handler when we were told not to.
8081         Fixes #347794.
8082         API: gst_segtrap_is_enabled
8083         API: gst_segtrap_set_enabled
8084
8085 2006-07-14  Wim Taymans  <wim@fluendo.com>
8086
8087         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8088         * tests/check/elements/filesrc.c: (GST_START_TEST):
8089         Revert fix for regression in #347408 after release.
8090
8091 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
8092
8093         Patch by: Antoine Tremblay <hexa00 at gmail com>
8094
8095         * gst/gstutils.c: (gst_element_unlink):
8096           Free iterator when done (#347311).
8097
8098         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8099           And add a test case for this.
8100
8101 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
8102
8103         * configure.ac:
8104         Bump nano back to CVS
8105
8106 === release 0.10.9 ===
8107
8108 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
8109
8110         * configure.ac:
8111           releasing 0.10.9, "On the road again"
8112
8113 2006-07-13  Wim Taymans  <wim@fluendo.com>
8114
8115         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8116         * tests/check/elements/filesrc.c: (GST_START_TEST):
8117         Revert pull-0 fix for release. Disable check. Fixes #347408.
8118
8119 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8120
8121         * libs/gst/dataprotocol/dataprotocol.c:
8122         (gst_dp_event_from_packet_1_0):
8123           Fixes #347337: failure to deserialize event packets with
8124           empty payload (only event type)
8125
8126 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8127
8128         * gst/Makefile.am:
8129           do not install a .c file in the header directory
8130
8131 2006-07-13  Edward Hervey  <edward@fluendo.com>
8132
8133         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8134         GhostPad no longer implicitely use the padtemplates of the targets.
8135         Fixes #347384
8136
8137 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
8138
8139         * gst/gstvalue.c: (gst_value_compare_list),
8140         (gst_value_compare_array), (_gst_value_initialize):
8141         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8142         Make GstValueArray comparison be order dependent as designed.
8143         Add checks for value lists and value array comparisons.
8144         Fixes #347221
8145
8146 2006-07-11  Edward Hervey  <edward@fluendo.com>
8147
8148         * gst/gstbin.c: (activate_pads),
8149         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8150         (gst_bin_change_state_func):
8151         (de)activate src pads before calling state_change on the childs.
8152         This is to avoid the case where a src ghostpad is blocked (holding the
8153         stream lock), which would block the deactivation of the ghostpad's
8154         target pad.
8155         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8156         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8157         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8158         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8159         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8160         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8161         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8162         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8163         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8164         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8165         (gst_ghost_pad_class_init),
8166         (gst_ghost_pad_internal_do_activate_push),
8167         (gst_ghost_pad_internal_do_activate_pull),
8168         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8169         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8170         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8171         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8172         GhostPads now create their internal GstProxyPad at creation (and not
8173         when they're linked, as it was being done previously).
8174         The internal and target pads are linked straight away.
8175         The data will also travel through the other pad in order to make
8176         pad blocking and probes non-hackish (the probe/block now really happens
8177         on the GhostPad and not on the target).
8178         * gst/gstpad.c: (gst_pad_set_blocked_async),
8179         (gst_pad_link_prepare), (gst_pad_push_event):
8180         Remove previous ghostpad cruft.
8181         * gst/gstutils.c: (gst_pad_add_data_probe),
8182         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8183         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8184         (gst_pad_remove_buffer_probe):
8185         Remove previous ghost pad cruft.
8186         Added more detailed debug statements.
8187         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8188         Fix the testsuite for refcounting changes.
8189         The comments about who has references were correct, but the refcount
8190         being checked wasn't the same (!?!).
8191
8192         Fixes #341029
8193
8194 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8195
8196         * docs/gst/gstreamer-sections.txt:
8197         * gst/gstconfig.h.in:
8198         More docs for configuration options, add docs to gtk-doc.
8199
8200 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8201
8202         * gst/Makefile.am:
8203         * gst/gstconfig.h.in:
8204         * win32/common/config.h:
8205         Fix build when disabling tracing (fixes #344016). Also start to document
8206         the defines that disable the sub-systems.
8207
8208 2006-07-10  Edward Hervey  <edward@fluendo.com>
8209
8210         * gst/gst.c: (ensure_current_registry_forking):
8211         let's make valgrind happy...
8212
8213 2006-07-09  Wim Taymans  <wim@fluendo.com>
8214
8215         * gst/gstelement.c: (activate_pads),
8216         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8217         Better pad activation code: Reset the collect value too on resync.
8218         Add some comments.
8219
8220 2006-07-09  Wim Taymans  <wim@fluendo.com>
8221
8222         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8223         (gst_pad_activate_push):
8224         Use some more macros where it makes sense.
8225         Allow pad mode switching instead of asserting. When a pad
8226         is activated in one mode and we activate it in another, 
8227         deactivate it first before activating it in a different mode.
8228         Fixes #329198.
8229
8230 2006-07-08  Andy Wingo  <wingo@pobox.com>
8231
8232         * tools/gst-launch.c (main): Handle err == NULL.
8233
8234         * gst/gst.c (init_post, ensure_current_registry)
8235         (ensure_current_registry_forking)
8236         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8237         factoring out the registry scanning into separate functions. Don't
8238         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8239         Better environment var name/interface suggestions accepted.
8240
8241 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8242
8243         * gst/gstobject.c: (gst_object_set_name_default),
8244         (gst_object_set_name):
8245           Random micro-optimisation: don't use a hash table
8246           with strings as keys and the usual strdup/strcmp
8247           involved, but rather just use the GQuark of the
8248           type name as key, since it needs to be looked up
8249           anyway to get the type name string.
8250
8251         * tests/check/gst/gstobject.c: (GST_START_TEST):
8252           Fix various leaks.
8253
8254 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8255
8256         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8257         (gst_bin_iterate_all_by_interface):
8258           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8259           GTypes are gulongs and thus the top 4 bytes might be cut
8260           off on some platforms when doing GPOINTER_TO_INT, leading
8261           to invalid GTypes and bad things happening (see RH bug #179654).
8262           Also add a check to make sure the type passed in is really
8263           an interface type.
8264
8265 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8266
8267         * .cvsignore:
8268           Ignore more.
8269
8270 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8271
8272         * Makefile.am:
8273         * configure.ac:
8274         * gst-element-check.m4:
8275         * gst-element-check.m4.in:
8276           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8277           instead of the unversioned gst-inspect (#324176, #168659).
8278
8279 2006-07-06  Wim Taymans  <wim@fluendo.com>
8280
8281         * gst/gstmessage.h:
8282         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8283         warnings.
8284
8285 2006-07-06  Wim Taymans  <wim@fluendo.com>
8286
8287         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8288         (gst_base_src_wait), (gst_base_src_update_length),
8289         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8290         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8291         (gst_base_src_loop), (gst_base_src_start),
8292         (gst_base_src_activate_pull):
8293         Update docs.
8294         blocksize == 0 now means the default blocksize when working in push
8295         based mode.
8296         Remove some pointless asserts in _wait function.
8297         Fix offset/length calculations and EOS handling. We can now pull 0
8298         bytes as well, which is allowed.
8299         use _check_get_range() to decide if we can operate in _pull based
8300         mode.
8301         Fix refcounting leak when check_get_range function was not 
8302         implemented.
8303         API GstBaseSrc::blocksize range can be 0 too now (default)
8304
8305         * tests/check/elements/filesrc.c: (GST_START_TEST),
8306         (filesrc_suite):
8307         Added check to test _get_range() behaviour.
8308
8309 2006-07-06  Wim Taymans  <wim@fluendo.com>
8310
8311         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8312         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8313         (gst_pad_pull_range):
8314         * gst/gstpad.h:
8315         Lots of comments and docs added to the pad functions.
8316         Flesh out the expected behaviour of the get_range() functions.
8317
8318 2006-07-06  Wim Taymans  <wim@fluendo.com>
8319
8320         * gst/gstbus.h:
8321         * gst/gstclock.h:
8322         * gst/gstevent.h:
8323         * gst/gstiterator.h:
8324         * gst/gstpad.h:
8325         * gst/gstplugin.h:
8326         * gst/gsttask.h:
8327         Remove comma at end of enumerator list. 
8328
8329 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
8330
8331         * win32/common/libgstbase.def:
8332         * win32/common/libgstdataprotocol.def:
8333         * win32/common/libsgtreamer.def:
8334         Add new exported functions.
8335
8336 2006-07-05  Wim Taymans  <wim@fluendo.com>
8337
8338         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8339         Add some more docs here and there.
8340
8341 2006-07-05  Wim Taymans  <wim@fluendo.com>
8342
8343         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8344         (gst_base_sink_loop), (gst_base_sink_get_position):
8345         When operating in pull mode update the offset so that we
8346         read sequentially.
8347
8348 2006-07-05  Wim Taymans  <wim@fluendo.com>
8349
8350         * gst/gstregistryxml.c: (read_string):
8351         Avoid strdup. (will happen in libxml, but hey!)
8352
8353         * gst/gsturi.c:
8354         Add some more docs.
8355
8356 2006-07-05  Wim Taymans  <wim@fluendo.com>
8357
8358         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8359         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8360         (gst_buffer_suite):
8361         No point in checking if the size of the subbuffer > 0, the
8362         code handles it correclty as demonstrated by unit test.
8363         Also add a unit test for the zero sized _new_and_alloc and
8364         _copy. Fixes #346663.
8365
8366 2006-07-05  Wim Taymans  <wim@fluendo.com>
8367
8368         * libs/gst/base/gstbasetransform.c:
8369         (gst_base_transform_prepare_output_buffer),
8370         (gst_base_transform_buffer_alloc),
8371         (gst_base_transform_handle_buffer):
8372         Make sure the buffer we pass to transform_ip has a refcount of
8373         1 and thus is writable. Fixes #343196
8374
8375 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
8376
8377         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8378         (gst_file_src_init), (gst_file_src_set_property),
8379         (gst_file_src_get_property), (gst_file_src_map_region):
8380         * plugins/elements/gstfilesrc.h:
8381         Add "sequential" property, off by default, to use madvise and hint
8382         to the kernel that sequential access is desired.
8383         Touch all retrieved pages by default to ensure they are pulled
8384         into memory. (Closes #345720)
8385
8386 2006-07-03  Wim Taymans  <wim@fluendo.com>
8387
8388         * docs/design/part-block.txt:
8389         * docs/design/part-dynamic.txt:
8390         Small docs updates.
8391
8392 2006-07-03  Wim Taymans  <wim@fluendo.com>
8393
8394         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8395         (gst_caps_unref), (gst_static_caps_get),
8396         (gst_caps_append_structure):
8397         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8398         Use GSlice when the glib we build against is >= 2.10
8399
8400 2006-07-03  Wim Taymans  <wim@fluendo.com>
8401
8402         * gst/gstelement.c: (gst_element_pads_activate):
8403         Small cleanup in pad activation code.
8404
8405 2006-07-03  Wim Taymans  <wim@fluendo.com>
8406
8407         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8408
8409         * gst/gst-i18n-app.h:
8410         * gst/gst-i18n-lib.h:
8411         * tools/gst-inspect.c: (print_signal_info):
8412         The attached patch will make the inclusion of gettext.h unconditional in
8413         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8414         libintl.h in tools/gst-inspect.c.
8415         This allows use of --disable-nls again and fixes #344642.
8416
8417 2006-07-03  Edward Hervey  <edward@fluendo.com>
8418
8419         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8420         Implement pad blocking on events according to part-block.txt.
8421         More comments on behaviour.
8422         * tests/check/gst/gstevent.c: (test_event):
8423         Send event to peer pad of blocked pad (else it will block).
8424
8425 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8426
8427         * libs/gst/check/gstcheck.c: (gst_check_message_error),
8428         (gst_check_run_suite):
8429           if we get the wrong message, give us the types as string
8430         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8431           Fix a translatable
8432         * tests/check/elements/filesrc.c: (GST_START_TEST):
8433           add a test for trying to open a non-existing file
8434
8435 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8436
8437         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8438           add a test for adding self
8439
8440 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8441
8442         * libs/gst/check/gstcheck.h:
8443           add some assert_ as alias for fail_unless_*
8444         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8445           increase test coverage
8446
8447 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8448
8449         * Makefile.am:
8450           include lcov.mak for lcov coverage generation
8451         * tools/Makefile.am:
8452           add to CLEANFILES
8453
8454 2006-07-02  Edward Hervey  <edward@fluendo.com>
8455
8456         * tests/check/elements/.cvsignore:
8457         moaping
8458
8459 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8460
8461         * configure.ac:
8462           don't set CFLAGS and friends for gcov, done from GST_GCOV now
8463         * tests/check/Makefile.am:
8464           clean up gcov files
8465
8466 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8467
8468         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8469           remove gst_caps_simplify; it was not declared and not used
8470           and deprecated in 0.8
8471
8472 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8473
8474         * docs/faq/gst-uninstalled:
8475           don't put empty paths on PYTHONPATH
8476         * docs/gst/gstreamer-sections.txt:
8477           remove some symbols that are not there
8478
8479 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8480
8481         * gst/gstcaps.c: (gst_caps_compare_structures):
8482           whitespace fixes
8483         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8484         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8485           add more tests
8486
8487 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8488
8489         * libs/gst/dataprotocol/Makefile.am:
8490           build dataprotocol test by linking to the lib, instead of
8491           compiling the source, so we get coverage
8492         * tests/check/Makefile.am:
8493         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8494         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8495           add a test for filesrc
8496
8497 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8498
8499         * tests/check/gst/gststructure.c: (GST_START_TEST),
8500         (gst_structure_suite):
8501           Push coverage from 59.04% to 70.00%
8502
8503 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8504
8505         * tests/check/Makefile.am:
8506           gst-inspect every element; this makes sure that we also get
8507           coverage on element's get/set functions
8508
8509 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8510
8511         * configure.ac:
8512           set CFLAGS and friends to -O0 if gcov is being used
8513           add GCOV LIBS
8514         * gst/Makefile.am:
8515         * libs/gst/base/Makefile.am:
8516         * libs/gst/check/Makefile.am:
8517         * libs/gst/controller/Makefile.am:
8518         * libs/gst/dataprotocol/Makefile.am:
8519         * libs/gst/net/Makefile.am:
8520         * plugins/elements/Makefile.am:
8521         * plugins/indexers/Makefile.am:
8522           add makefile rules to generate gcov data and clean up
8523         * tests/check/Makefile.am:
8524           add a coverage target that generates an html overview
8525           of coverage data
8526
8527 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8528
8529         * tests/check/elements/fakesink.c:
8530         * tests/check/elements/fakesrc.c:
8531         * tests/check/elements/fdsrc.c:
8532         * tests/check/elements/identity.c:
8533         * tests/check/generic/sinks.c: (gst_sinks_suite):
8534         * tests/check/generic/states.c:
8535         * tests/check/gst/gst.c:
8536         * tests/check/gst/gstabi.c:
8537         * tests/check/gst/gstbin.c:
8538         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8539         * tests/check/gst/gstbus.c: (gst_bus_suite):
8540         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8541         * tests/check/gst/gstelement.c:
8542         * tests/check/gst/gstevent.c: (gst_event_suite):
8543         * tests/check/gst/gstghostpad.c:
8544         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8545         * tests/check/gst/gstmessage.c: (gst_message_suite):
8546         * tests/check/gst/gstminiobject.c:
8547         * tests/check/gst/gstobject.c:
8548         * tests/check/gst/gstpad.c:
8549         * tests/check/gst/gstpipeline.c:
8550         * tests/check/gst/gstplugin.c:
8551         * tests/check/gst/gstquery.c: (gst_query_suite):
8552         * tests/check/gst/gstsegment.c: (gst_segment_suite):
8553         * tests/check/gst/gststructure.c:
8554         * tests/check/gst/gstsystemclock.c:
8555         * tests/check/gst/gsttag.c:
8556         * tests/check/gst/gsttask.c: (gst_task_suite):
8557         * tests/check/gst/gstutils.c:
8558         * tests/check/gst/gstvalue.c:
8559         * tests/check/libs/adapter.c:
8560         * tests/check/libs/basesrc.c:
8561         * tests/check/libs/collectpads.c:
8562         * tests/check/libs/controller.c:
8563         * tests/check/libs/gdp.c: (gst_dp_suite):
8564         * tests/check/libs/gstnetclientclock.c:
8565         * tests/check/libs/gstnettimeprovider.c:
8566         * tests/check/libs/libsabi.c: (libsabi_suite):
8567         * tests/check/libs/typefindhelper.c:
8568         * tests/check/pipelines/cleanup.c:
8569         * tests/check/pipelines/parse-launch.c:
8570         * tests/check/pipelines/simple-launch-lines.c:
8571         * tests/check/pipelines/stress.c: (stress_suite):
8572           use the new macro
8573
8574 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8575
8576         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8577         * libs/gst/check/gstcheck.h:
8578           create a macro and function so that the simple unit test
8579           case can be just one macro to create main()
8580
8581 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
8582
8583         * gst/gstbin.c: (gst_bin_restore_thyself):
8584         * gst/gstxml.c: (gst_xml_make_element):
8585           Fix deserialisation from XML. Set parent manually
8586           instead of using gst_bin_add(), since gst_bin_add()
8587           will unlink all pads of the element being added.
8588           Fixes #341667.
8589
8590 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
8591
8592         Patch by: Peter Kjellerstedt <pkj at axis com>
8593
8594         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8595           Fix missing g_strdup() and double free when using the
8596           --gst-plugin-load command line option (#346097).
8597
8598 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8599
8600         * gst/gstinfo.c:
8601           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8602
8603         * libs/gst/net/gstnetclientclock.c:
8604         * libs/gst/net/gstnettimeprovider.c:
8605           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8606
8607 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8608
8609         * docs/manual/advanced-dataaccess.xml:
8610           Fix buffer probe example compilation in
8611           ADM (#345708).
8612         
8613 2006-06-22  Edward Hervey  <edward@fluendo.com>
8614
8615         * gst/gstelement.c: (gst_element_pads_activate):
8616         We need to deactivate src pads first and then sink pads.
8617         The reason is the src pads might be blocking while holding the streaming
8618         lock, so we need to deactivate them first so that deactivating the sink
8619         pads doesn't block (since it will require the streaming lock).
8620
8621 2006-06-22  Wim Taymans  <wim@fluendo.com>
8622
8623         * libs/gst/base/gstbasetransform.c:
8624         (gst_base_transform_buffer_alloc):
8625         Forgot to remove two unneeded unrefs.
8626         Simplify a check _is_equal allready checks the obvious case.
8627
8628 2006-06-22  Wim Taymans  <wim@fluendo.com>
8629
8630         * docs/design/part-block.txt:
8631         Some docs about what pad_block should do.
8632
8633 2006-06-22  Wim Taymans  <wim@fluendo.com>
8634
8635         * gst/gstcaps.c: (gst_caps_replace):
8636         Fix crasher when passed NULL. Doc clarification.
8637         Optimize for the trivial case.
8638
8639         * gst/gstpipeline.c: (gst_pipeline_change_state):
8640         Small cleanups.
8641
8642         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8643         Small documentation cleanup.
8644
8645         * libs/gst/base/gstbasetransform.c:
8646         (gst_base_transform_buffer_alloc):
8647         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8648         is what we need and it avoids a whole lot of redundant 
8649         refcount operations.
8650
8651 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
8652
8653         Patch by: Philip Jägenstedt  <philip at lysator liu se>
8654
8655         * docs/manual/advanced-dataaccess.xml:
8656           Fix 'Embedding static elements' section to use
8657           GST_PLUGIN_DEFINE_STATIC (#345607).
8658
8659 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8660
8661         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8662           Attempt to 'fix' spuriously failing test case: it seems like the
8663           timeout of half a second is simply too small when the system is under
8664           load otherwise, and the timeout doesn't really seem to serve any
8665           particular purpose here. Give the pipeline a few seconds to preroll
8666           first, and then give it another half a second to go from PAUSED to
8667           PLAYING and marshal the message into the main thread.
8668
8669 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8670
8671         * tools/gst-feedback-m.m:
8672           Don't only use unversioned tools, try versioned tools as well
8673           (#345086).
8674
8675 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8676
8677         * gst/gstbus.c: (gst_bus_class_init):
8678           Fix some typos, make docs more explicit.
8679
8680 2006-06-20  Wim Taymans  <wim@fluendo.com>
8681
8682         * tests/check/gst/gstghostpad.c: (block_callback),
8683         (GST_START_TEST), (gst_ghost_pad_suite):
8684         Added some more ghostpad tests, mainly blocking
8685         and probes.
8686
8687 2006-06-16  Wim Taymans  <wim@fluendo.com>
8688
8689         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8690         (gst_file_sink_close_file), (gst_file_sink_do_seek),
8691         (gst_file_sink_event), (gst_file_sink_render):
8692         * plugins/elements/gstfilesink.h:
8693         Check if we can seek in the file instead of assuming
8694         we always can. Post an error when we are asked to seek in a
8695         non-seekable file (like a fifo). Fixes #343312.
8696         Some cleanups.
8697
8698 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8699
8700         * tools/gst-launch.1.in:
8701           Un-garble (fourcc) bit in filtered caps section.
8702
8703 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8704
8705         * docs/manual/advanced-autoplugging.xml:
8706         * docs/manual/basics-helloworld.xml:
8707         * docs/manual/highlevel-components.xml:
8708           Don't leak bus reference in sample code.
8709
8710 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
8711
8712         * autogen.sh:
8713           Add default for new --enable-plugin-docs switch.
8714
8715         * configure.ac:
8716           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8717           Fixes #344039.
8718
8719         * docs/Makefile.am:
8720           Use new ENABLE_PLUGIN_DOCS conditional.
8721
8722 2006-06-14  Wim Taymans  <wim@fluendo.com>
8723
8724         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8725         Make it clear with a FIXME and a real define what the #if 0
8726         previously disabled.
8727
8728 2006-06-14  Wim Taymans  <wim@fluendo.com>
8729
8730         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8731         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8732         * libs/gst/base/gstbasetransform.c:
8733         (gst_base_transform_sink_eventfunc):
8734         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8735         Don't randomly and silently reset a segment when the format 
8736         changes as this is a bug somewhere upstream. Fixes #330379.
8737
8738 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8739
8740         Patch by: Wouter Paesen  <wouter at kangaroot net>
8741
8742         * libs/gst/controller/gstcontroller.c:
8743         (gst_controlled_property_new):
8744           Fix controlling of float properties (#344849).
8745
8746         * tests/check/libs/controller.c:
8747         (gst_test_mono_source_get_property),
8748         (gst_test_mono_source_set_property),
8749         (gst_test_mono_source_class_init), (GST_START_TEST):
8750           While we're at it, add some float stuff to unit test.
8751
8752 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8753
8754         * docs/README:
8755         * docs/images/gdp-header.svg:
8756           add a gdp image
8757         * docs/libs/Makefile.am:
8758         * docs/libs/gdp-header.png:
8759         * libs/gst/dataprotocol/dataprotocol.c:
8760           add it to the API docs
8761         * docs/manual/intro-motivation.xml:
8762           fix typo
8763
8764 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8765
8766         * gst/gst.c: (scan_and_update_registry), (init_post):
8767           If the fork()'ed child process can't write the updated registry cache
8768           file to disk for some reason, make it exit with a failure exit code,
8769           so that the parent can then re-scan the plugins itself and update the
8770           registry structures in memory and work with that (rather than failing
8771           when creating elements because seemingly no plugins are available).
8772           Refactor registry scanning code into separate function for this and
8773           also separate fork() and non-fork() code paths. Fixes #344748.
8774
8775 2006-06-13  Wim Taymans  <wim@fluendo.com>
8776
8777         * docs/manual/advanced-dataaccess.xml:
8778         Fix wrong PluginDesc. Fixes #344755.
8779
8780 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8781
8782         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8783           Fix silly bug that prevented us from creating
8784           ~/.gstreamer-0.10 and writing the registry in one
8785           go (the first call to g_mkstemp() would overwrite the
8786           placeholder in the template string, so the second call
8787           to g_mkstemp() after creating the missing directory
8788           would then error out with 'invalid argument').
8789
8790 2006-06-13  Edward Hervey  <edward@fluendo.com>
8791
8792         * gst/gst.c: (init_post):
8793         Free string.
8794
8795 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8796
8797         * gst/glib-compat-private.h:
8798         * gst/glib-compat.c:
8799         * gst/glib-compat.h:
8800         * gst/gstvalue.c: (gst_value_serialize_flags):
8801           remove GLib 2.6 compatibility code
8802
8803 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
8804
8805         * gst/parse/Makefile.am:
8806           Fix build with 'make -j N' even more (#340016).
8807
8808 2006-06-12  Wim Taymans  <wim@fluendo.com>
8809
8810         * docs/gst/gstreamer-sections.txt:
8811         Fix docs.
8812
8813 2006-06-12  Wim Taymans  <wim@fluendo.com>
8814
8815         * gst/gstsegment.c: (gst_segment_set_duration),
8816         (gst_segment_set_last_stop), (gst_segment_set_seek),
8817         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8818         (gst_segment_to_running_time), (gst_segment_clip):
8819         Use G_UNLIKELY to help the compiler a bit.
8820
8821 2006-06-12  Wim Taymans  <wim@fluendo.com>
8822
8823         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8824
8825         * gst/gstevent.c: (gst_event_get_type):
8826         * gst/gstmessage.c:
8827         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8828         (gst_pad_push):
8829         constify quark registration strings. Fixes #344115
8830         Avoid unneeded type checking is _pad_push() by internally
8831         calling gst_pad_chain_unchecked().
8832
8833 2006-06-12  Wim Taymans  <wim@fluendo.com>
8834
8835         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8836         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8837         (gst_subbuffer_finalize), (gst_buffer_create_sub),
8838         (gst_buffer_is_span_fast), (gst_buffer_span):
8839         Init _type for consistency.
8840         Use _FLAGS macro to avoid type check.
8841         Avoid unneeded type checks in subbufer code.
8842
8843 2006-06-12  Wim Taymans  <wim@fluendo.com>
8844
8845         * gst/gst.c: (gst_debug_help):
8846         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8847         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8848         (gst_plugin_feature_list_free):
8849         * gst/gstregistry.c: (gst_registry_add_plugin),
8850         (gst_registry_add_feature), (gst_registry_plugin_filter),
8851         (gst_registry_feature_filter), (gst_registry_find_plugin),
8852         (gst_registry_find_feature), (gst_registry_get_plugin_list),
8853         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8854         * gst/gstregistryxml.c: (load_feature),
8855         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8856         * gst/gstminiobject.c: (gst_mini_object_unref),
8857         (gst_mini_object_replace), (gst_value_mini_object_free),
8858         (gst_value_mini_object_copy):
8859         Use _CAST macros to avoid unneeded type checking.
8860         Added some more G_UNLIKELY.
8861
8862 2006-06-12  Wim Taymans  <wim@fluendo.com>
8863
8864         * gst/gstbuffer.h:
8865         Avoid unneeded type checking.
8866         API: GST_BUFFER_IS_DISCONT
8867
8868         * gst/gstminiobject.h:
8869         Avoid type check in flag accessor.
8870
8871         * gst/gstelementfactory.h:
8872         * gst/gstplugin.h:
8873         * gst/gstpluginfeature.h:
8874         Add _CAST macros.
8875         API: GST_ELEMENT_FACTORY_CAST
8876         API: GST_PLUGIN_CAST
8877         API: GST_PLUGIN_FEATURE_CAST
8878
8879 2006-06-12  Wim Taymans  <wim@fluendo.com>
8880
8881         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8882         (gst_object_unref):
8883         Add G_UNLIKELY in type registration.
8884         Avoid type check in _ref/_unref since that is also
8885         done in glib.
8886
8887 2006-06-12  Wim Taymans  <wim@fluendo.com>
8888
8889         * gst/gsterror.c: (gst_g_error_get_type):
8890         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8891         (gst_static_pad_template_get_type):
8892         * gst/gsttaglist.c: (gst_tag_list_get_type):
8893         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8894         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8895         * gst/gsturi.c: (gst_uri_handler_get_type):
8896         * gst/gstvalue.c: (gst_date_get_type):
8897         * gst/gstxml.c: (gst_xml_get_type):
8898         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8899         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8900         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8901         Add G_UNLIKELY in type registration.
8902
8903 2006-06-12  Wim Taymans  <wim@fluendo.com>
8904
8905         * tools/gst-inspect.c: (print_signal_info):
8906         Properly print enum values.
8907
8908 2006-06-12  Wim Taymans  <wim@fluendo.com>
8909
8910         * gst/gstinfo.c: (gst_debug_set_active),
8911         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8912         * gst/gstinfo.h:
8913         Add some G_[UN]LIKELY.
8914         Maintain __gst_debug_min to avoid formatting the arguments of
8915         debug messages that will be dropped anyway to avoid a lot of 
8916         overhead from the debugging system.
8917
8918 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8919
8920         * po/POTFILES.in:
8921         * po/POTFILES.skip:
8922           add missing files containing translatable strings, tell intltool about
8923           one exception
8924
8925 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8926
8927         * tests/check/libs/.cvsignore:
8928         add test-binary to ignore list
8929
8930 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8931
8932         * docs/libs/gstreamer-libs-docs.sgml:
8933         reorder (put dp into a chapter) and indent
8934
8935 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8936
8937         * configure.ac:
8938           back to HEAD
8939
8940 === release 0.10.8 ===
8941
8942 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
8943
8944         * configure.ac:
8945           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8946
8947 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8948
8949         * gst/gst.c: (init_post):
8950           move pid declaration to declaration block
8951
8952 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8953
8954         * gst/gst.c: (init_post):
8955           use _exit() instead of exit() in our forked child; this ensures
8956           that none of the registered exit handlers from whatever is using
8957           GStreamer get executed.  This fixes gnome-mixer-applet failing
8958           to load, because ORBit would shut down.
8959           Spotted by: Edward Hervey  <edward@fluendo.com>
8960           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
8961           Fixes #344474
8962
8963 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8964
8965         * configure.ac:
8966           back to TRUNK
8967
8968 === release 0.10.7 ===
8969
8970 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
8971
8972         * configure.ac:
8973           releasing 0.10.7, "Soepeke, ik zie ou"
8974
8975 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8976
8977         * configure.ac:
8978         * po/af.po:
8979         * po/az.po:
8980         * po/bg.po:
8981         * po/ca.po:
8982         * po/cs.po:
8983         * po/de.po:
8984         * po/en_GB.po:
8985         * po/fr.po:
8986         * po/it.po:
8987         * po/nb.po:
8988         * po/nl.po:
8989         * po/ru.po:
8990         * po/sq.po:
8991         * po/sr.po:
8992         * po/sv.po:
8993         * po/tr.po:
8994         * po/uk.po:
8995         * po/vi.po:
8996         * po/zh_CN.po:
8997         * po/zh_TW.po:
8998         * win32/common/config.h:
8999           0.10.6.2 prerelease
9000
9001 2006-06-07  Wim Taymans  <wim@fluendo.com>
9002
9003         * gst/gstindex.c: (gst_index_gtype_resolver):
9004         * tools/gst-xmlinspect.c: (print_plugin_info):
9005         Fix leak spotted by coverity checker. Fixes #343827
9006         Fix another other leak found by paolo borelli.
9007
9008 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9009
9010         * libs/gst/dataprotocol/dataprotocol.c:
9011         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9012         (gst_dp_version_get_type), (gst_dp_init),
9013         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
9014         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
9015         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
9016         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
9017         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
9018         (gst_dp_packetizer_free):
9019         * libs/gst/dataprotocol/dataprotocol.h:
9020           API: add a GstDPPacketizer object, and create/free functions
9021           API: add GstDPVersion enum
9022           Add 1.0 event function that uses the string serialization
9023           Serialize more useful buffer flags
9024           Fixes #343988
9025
9026 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9027
9028         * tests/check/Makefile.am:
9029         * tests/check/gst/gstabi.c:
9030         * tests/check/gst/struct_ppc64.h:
9031         * tests/check/libs/libsabi.c:
9032         * tests/check/libs/struct_ppc64.h:
9033           add ppc64 structure sizes
9034
9035 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9036
9037         * tests/check/Makefile.am:
9038         * tests/check/gst/gstabi.c:
9039         * tests/check/gst/struct_x86_64.h:
9040         * tests/check/libs/libsabi.c:
9041         * tests/check/libs/struct_x86_64.h:
9042           generate and add structure size lists for x86_64
9043
9044 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9045
9046         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9047         * libs/gst/check/gstcheck.h:
9048           factor out the method from tests that checks size of structures,
9049           and add code to generate the header containing these sizes
9050         * tests/check/gst/gstabi.c: (GST_START_TEST):
9051         * tests/check/gst/struct_i386.h:
9052         * tests/check/libs/libsabi.c: (GST_START_TEST):
9053         * tests/check/libs/struct_i386.h:
9054           use it
9055
9056 2006-06-06  Michael Smith  <msmith@fluendo.com>
9057
9058         * gst/gstsegment.h:
9059           Don't use c++-style comments, fixes #343929
9060
9061 2006-06-05  Edward Hervey  <edward@fluendo.com>
9062
9063         * gst/gst.c:
9064         plugin_paths is not used if we build without registry support.
9065
9066         * gst/gstsegment.c: (gst_segment_copy): 
9067         _copy() was always returning NULL...
9068
9069 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9070
9071         * libs/gst/dataprotocol/dataprotocol.c:
9072         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9073         (gst_dp_packet_from_event):
9074           factor out CRC code
9075
9076 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9077
9078         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9079           make sure we unset caps
9080
9081 2006-06-02  Michael Smith  <msmith@fluendo.com>
9082
9083         * libs/gst/check/gstcheck.c: (gst_check_init),
9084         (gst_check_chain_func):
9085         * libs/gst/check/gstcheck.h:
9086           Add a cond/mutex to the check support lib, signal this whenever we
9087           add to the buffers list. This will allow tests to not busy-wait on
9088           the buffer-list.
9089
9090 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9091
9092         * libs/gst/dataprotocol/dataprotocol.c:
9093         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9094         (gst_dp_packet_from_event):
9095           factor out some common header init code
9096
9097 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9098
9099         * docs/libs/gstreamer-libs-sections.txt:
9100         * docs/libs/tmpl/gstdataprotocol.sgml:
9101         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9102         * libs/gst/dataprotocol/dataprotocol.h:
9103           API: make gst_dp_crc() public
9104
9105 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9106
9107         * plugins/indexers/gstindexers.c: (plugin_init):
9108         conditionally register fileindexer (fixes #343598)
9109
9110 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9111
9112         * gst/gsttagsetter.h:
9113         Can't cast ifaces to a class
9114
9115         * libs/gst/net/gstnetclientclock.h:
9116         * libs/gst/net/gstnettimeprovider.h:
9117         * plugins/elements/gstfakesink.h:
9118         * plugins/elements/gstfakesrc.h:
9119         * plugins/elements/gstfdsink.h:
9120         * plugins/elements/gstfdsrc.h:
9121         * plugins/elements/gstfilesink.h:
9122         * plugins/elements/gstfilesrc.h:
9123         * plugins/elements/gstidentity.h:
9124         * plugins/elements/gstqueue.h:
9125         * plugins/elements/gsttee.h:
9126         * plugins/indexers/gstfileindex.c:
9127         * plugins/indexers/gstmemindex.c:
9128         * tests/old/examples/plugins/example.h:
9129         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9130
9131 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9132
9133         * libs/gst/dataprotocol/dataprotocol.c:
9134         (gst_dp_header_from_buffer):
9135           make sure we zero the whole ABI-compatible area
9136
9137 2006-06-01  Wim Taymans  <wim@fluendo.com>
9138
9139         Patch by: Alessandro Decina <alessandro at nnva dot org>
9140
9141         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9142         Make sure the EOS flag is cleared from pads after a flush
9143         or stop. Fixes #343538.
9144
9145         * tests/check/libs/collectpads.c: (GST_START_TEST),
9146         (gst_collect_pads_suite):
9147         Added test for collectpads reusage after EOS.
9148
9149 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
9150
9151         * gst/gst.c:
9152          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9153         * win32/common/libgstbase.def:
9154          export gst_collect_pads_set_flushing
9155         * win32/common/libgstreamer.def:
9156          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9157          gst_value_fraction_multiply
9158         * win32/vs6/gst_inspect.dsp:
9159          add a link to intl.lib
9160
9161 2006-05-30  Wim Taymans  <wim@fluendo.com>
9162
9163         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9164         (gst_collect_pads_chain):
9165         Handle the case where a pad is removed from the collection
9166         that could cause the other pads to become collectable.
9167
9168 2006-05-30  Wim Taymans  <wim@fluendo.com>
9169
9170         * gst/gstelement.c:
9171         Clarify the use of _release_request_pad() and
9172         _get_request_pad() a bit better.
9173
9174         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9175         (gst_adapter_take_buffer):
9176         Fix some doc and comment typos.
9177
9178 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9179
9180         * docs/gst/gstreamer-sections.txt:
9181         * docs/libs/gstreamer-libs-sections.txt:
9182           add declared symbols
9183
9184 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
9185
9186         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9187         Add debug that can be enabled using a #define at the top of the file,
9188         for dumping stats about how late/early we were when waking up from
9189         waiting on the clock.
9190
9191 2006-05-30  Wim Taymans  <wim@fluendo.com>
9192
9193         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9194         When rebuilding the pad list, don't leak the previous list.
9195
9196 2006-05-30  Wim Taymans  <wim@fluendo.com>
9197
9198         Patch by: Lutz Mueller <lutz at topfrose dot de>
9199
9200         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9201         (gst_base_src_get_query_types), (gst_base_src_update_length):
9202         Publish supported query types.
9203         Update last_stop field in get_range mode so the position
9204         query works. Fixes #342321.
9205
9206 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
9207
9208         * docs/gst/gstreamer-sections.txt:
9209         * gst/gsttaglist.c: (_gst_tag_initialize):
9210         * gst/gsttaglist.h:
9211           API: add GST_TAG_PREVIEW_IMAGE (#343341).
9212
9213 2006-05-30  Wim Taymans  <wim@fluendo.com>
9214
9215         Patch by: Alessandro Decina <alessandro at nnva dot org>
9216
9217         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9218         Unlock mutex when removing an unknown pad.
9219         Fixes #343334.
9220
9221         * tests/check/Makefile.am:
9222         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9223         (push_event), (setup), (teardown), (GST_START_TEST),
9224         (gst_collect_pads_suite), (main):
9225         Added collecpads check, disabled for now as check crashes for
9226         some reason.
9227
9228 2006-05-29  Wim Taymans  <wim@fluendo.com>
9229
9230         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9231         Don't leak pads lists.
9232
9233 2006-05-29  Wim Taymans  <wim@fluendo.com>
9234
9235         * docs/libs/gstreamer-libs-sections.txt:
9236         * libs/gst/base/gstcollectpads.c:
9237         (gst_collect_pads_set_flushing_unlocked),
9238         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9239         (gst_collect_pads_stop):
9240         * libs/gst/base/gstcollectpads.h:
9241         API: gst_collect_pads_set_flushing()
9242         Added api to set the pads to flushing, useful for seeking
9243         code in elements using collectpads.
9244         Clear segment when receiving a flush.
9245
9246 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
9247
9248         * gst/gst.c: (add_path_func), (init_post):
9249           Don't scan registry paths passed via --gst-plugin-path immediately
9250           (will crash, because absolutely nothing is set up and no types are
9251           registered etc.); do this later in init_post(). Fixes #343057.
9252
9253 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9254
9255         * gst/gst.c: (init_post):
9256           if we have fork, fork while reading/rebuilding the registry
9257           so the parent doesn't take the hit of having all plugins loaded
9258           in memory.  Fixes #342777.
9259         * configure.ac:
9260           Check if we have fork()
9261         * win32/common/config.h.in:
9262           no fork() on win32
9263
9264 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9265
9266         * plugins/elements/gstelements.c:
9267         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9268         (gst_file_src_init), (gst_file_src_set_property),
9269         (gst_file_src_get_property), (gst_file_src_start):
9270         * plugins/elements/gstfilesrc.h:
9271           API: GstFileSrc::use-mmap
9272
9273         Add a use-mmap property to enable easier testing of all code paths.
9274         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9275         in the absence of gnomevfssrc. (Closes #340501)
9276
9277 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9278
9279         * tools/gst-inspect.c:
9280         Add missing include, removes warning of ngettext not being defined on
9281         some arches.
9282
9283 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9284
9285         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9286         Handle NULL input and output pointers silently as a failed conversion,
9287         rather than g_warnings.
9288
9289 2006-05-25  Wim Taymans  <wim@fluendo.com>
9290
9291         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9292         Initialize variable before using. Fixes #342820.
9293
9294 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
9295
9296         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9297           Fix off-by-one bug that would only allow peeks of N-1 bytes
9298           from the start even if the buffer to typefind on contains
9299           in fact N bytes of data (makes vorbis typefinding from a
9300           vorbis identification header buffer work).
9301
9302         * tests/check/Makefile.am:
9303         * tests/check/libs/.cvsignore:
9304         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9305         (gst_typefindhelper_suite), (main), (foobar_typefind),
9306         (plugin_init):
9307           Add very basic unit test for gst_type_find_helper_for_buffer()
9308           that checks for the problem fixed above.
9309
9310 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9311
9312         * tools/gst-inspect.c: (print_interfaces),
9313         (print_element_properties_info), (print_element_list), (main):
9314           add more translatable strings
9315
9316 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
9317
9318         Patch by: Julien Moutte  <julien at moutte net>
9319
9320         * docs/gst/gstreamer-sections.txt:
9321           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9322           
9323         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9324         (gst_fake_sink_preroll):
9325         * plugins/elements/gstfakesink.h:
9326           API: Add new GstFakeSink::preroll-handoff signal (#337100).
9327
9328 2006-05-23  Wim Taymans  <wim@fluendo.com>
9329
9330         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9331         * gst/gstpad.h:
9332         Added _CUSTOM error and success GstFlowReturn that can be
9333         used be elements internally. 
9334         Added macro to check for SUCCESS flowreturns.
9335         API: GST_FLOW_CUSTOM_SUCCESS
9336         API: GST_FLOW_CUSTOM_ERROR
9337         API: GST_FLOW_IS_SUCCESS
9338
9339         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9340         Added check for GstFlowReturn sanity.
9341
9342 2006-05-23  Wim Taymans  <wim@fluendo.com>
9343
9344         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9345
9346         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9347         (gst_collect_pads_event):
9348         clear/reset segment info in FLUSH_STOP.
9349         Fixes #336929.
9350
9351 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
9352
9353         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9354         (gst_collect_pads_check_collected):
9355         Flush queued buffer on _stop(), fixes playing again (#342454)
9356
9357 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9358
9359         * tests/check/gst/gststructure.c: (GST_START_TEST),
9360         (gst_structure_suite):
9361           add a test for a complete structure
9362
9363 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9364
9365         * docs/faq/developing.xml:
9366         * docs/faq/faq.xml:
9367         * docs/faq/troubleshooting.xml:
9368         * docs/faq/using.xml:
9369           Some minor FAQ updates that won't change the fact that
9370           our FAQ is badly structured, full of information hardly
9371           anyone new to GStreamer needs to know and lacking lots
9372           of information people constantly ask for.
9373           
9374 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
9375
9376         * gst/gstpad.c: (gst_pad_set_caps):
9377           Short-circuit gst_pad_set_caps if setting the existing
9378           caps pointer again, and avoid printing debug and 
9379           reffing/unreffing the caps.
9380
9381         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9382           There's actually no need to set the caps before pushing -
9383           the acceptcaps method will handle it anyway.
9384
9385 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9386
9387         * docs/gst/gstreamer-sections.txt:
9388         * win32/common/libgstreamer.def:
9389         * gst/gstutils.c: (gst_element_seek_simple):
9390         * gst/gstutils.h:
9391           API: add gst_element_seek_simple() (#342238).
9392
9393 2006-05-18  Edward Hervey  <edward@fluendo.com>
9394
9395         * gst/gsttypefind.c: (gst_type_find_get_type):
9396         * gst/gsttypefind.h:
9397         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9398         registered for GstTypeFind pointers. This allows wrapping the structure
9399         in bindings (i.e. gst-python).
9400
9401 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9402
9403         * gst/gsttagsetter.c:
9404           Docs additions and fixes (see #339918).
9405
9406 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9407
9408         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9409         The caps intersection algorithm can produce multiple copies of the
9410         caps. Until that is fixed, we need to simplify the result to be
9411         sure whether the allowed caps are fixed or not.
9412
9413         * plugins/elements/gstqueue.c: (gst_queue_init),
9414         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9415         (gst_queue_push_one):
9416         Proxied buffer alloc should not set the caps on the source pad.
9417         When pushing buffers, we always accept the caps change that triggers.
9418         This prevents negotiation errors caused by caps changing mid-stream 
9419         and then being refused on our source pad (because upstream is now
9420         refusing those caps).
9421
9422 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9423
9424         * tests/examples/helloworld/helloworld.c: (main):
9425           Must plug audioconvert and audioresample between decoder
9426           and audio sink.
9427
9428 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
9429
9430         * gst/gstregistryxml.c: (read_string), (load_pad_template),
9431         (load_feature), (load_plugin):
9432         Allow empty strings for some of the plugin fields so we don't 
9433         drop valid plugin entries that were written out correctly
9434         (Fixes #341479)
9435
9436 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
9437         
9438         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9439           Use g_remove and g_rename instead of remove and rename that don't 
9440           handle utf8 characters. rename was failing for users who had specific
9441           characters in their name then the registry was built at each 
9442           gstreamer init.
9443         * win32/vs6/gst_inspect.dsp:
9444         * win32/vs6/gst_launch.dsp:
9445         * win32/vs6/libgstbase.dsp:
9446         * win32/vs6/libgstcoreelements.dsp:
9447         * win32/vs6/libgstreamer.dsp:
9448           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
9449           build of libgstreamer and clean unused libraries in projects link 
9450           settings.
9451
9452 2006-05-17  Edward Hervey  <edward@fluendo.com>
9453
9454         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9455         The queue is not responsible for pushing an EOS when receiving a fatal
9456         flow error. It's up to the real element driving the pipeline to do that.
9457
9458 2006-05-16  Edward Hervey  <edward@fluendo.com>
9459
9460         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9461         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9462         buffer returned a fatal error. It should just send an EOS and stop
9463         its task.
9464         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9465         when pushing buffers on the queue and will be able to handle the event.
9466
9467 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9468
9469         * docs/manual/basics-bins.xml:
9470         * docs/manual/basics-init.xml:
9471           Fix typos and minor errors in sample code (#341856).
9472
9473 2006-05-16  Wim Taymans  <wim@fluendo.com>
9474
9475         * docs/design/part-qos.txt:
9476         Fix indexes in formulas to make more sense.
9477
9478 2006-05-15  Wim Taymans  <wim@fluendo.com>
9479
9480         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9481         Don't report POSITION based on clock time if sync is
9482         disabled in a sink.
9483
9484 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
9485
9486         * gst/gstobject.h:
9487           Add cast to make compiler happy - refcount variable was a gint
9488           in GstObject but is a guint in GObject and g_atomic_int_get()
9489           wants a gint *.
9490
9491 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9492
9493         * gst/parse/Makefile.am:
9494           chain commands using &&, which also makes parallel make work
9495
9496 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
9497
9498         * docs/gst/gstreamer-sections.txt:
9499         * gst/gstevent.c:
9500         * gst/gstevent.h:
9501         * gst/gstmessage.h:
9502           Minor docs fixes.
9503
9504 === release 0.10.6 ===
9505
9506 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
9507
9508         * configure.ac:
9509           releasing 0.10.6, "Take the cannoli"
9510
9511 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9512
9513         * tools/gst-launch.c: (print_tag):
9514           Fix use of uninitialized variable in the hypothetical
9515           case that some broken plugin creates a GST_TAG_IMAGE
9516           tag containing a NULL buffer (#341667).
9517
9518 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9519
9520         * tools/gst-launch.c: (print_tag):
9521           Print something more intelligible for image tags when
9522           using the -t switch (#341556).
9523
9524 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9525
9526         * Makefile.am:
9527           updates for win32
9528         * configure.ac:
9529           define GST_MAJORMINOR so we have it available in win32/common/config.h
9530           Possibly remove it from our Makefile.am files later
9531         * win32/common/config.h:
9532         * win32/common/config.h.in:
9533           added GST_MAJORMINOR
9534         * win32/common/gstenumtypes.c: (register_gst_resource_error):
9535         * win32/common/gstversion.h:
9536           updated
9537
9538 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
9539
9540         * win32/MANIFEST:
9541           Update win32 files listing.
9542         * win32/common/gstversion.h:
9543           Add GST_MAJORMINOR definition.
9544         * win32/common/libgstreamer.def:
9545           Add new exported functions.
9546           
9547 2006-05-12  Michael Smith  <msmith@fluendo.com>
9548
9549         * gst/gstplugin.c: (gst_plugin_load_file):
9550           If an so file has no plugin entry point, unload the module.
9551
9552 2006-05-11  Wim Taymans  <wim@fluendo.com>
9553
9554         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9555         (gst_queue_set_property):
9556         Don't forget to signal the _chain or _loop function 
9557         when the queue size or thresholds change since that might
9558         cause them to make progres again.
9559
9560 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
9561
9562         * gst/gstclock.c: (gst_clock_class_init):
9563         * gst/gstindex.c: (gst_index_class_init):
9564         * gst/gstobject.c: (gst_object_class_init):
9565         * gst/gstpad.c: (gst_pad_class_init):
9566         * gst/gstpipeline.c: (gst_pipeline_class_init):
9567         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9568         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9569         * libs/gst/base/gstbasetransform.c:
9570         (gst_base_transform_class_init):
9571         * libs/gst/net/gstnetclientclock.c:
9572         (gst_net_client_clock_class_init):
9573         * libs/gst/net/gstnettimeprovider.c:
9574         (gst_net_time_provider_class_init):
9575         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9576         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9577         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9578         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9579         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9580         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9581         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9582         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9583         * plugins/elements/gsttee.c: (gst_tee_class_init):
9584         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9585         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9586           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9587
9588 2006-05-11  Wim Taymans  <wim@fluendo.com>
9589
9590         * gst/gstbuffer.c: (_gst_buffer_initialize):
9591         Register subbufer along with the buffer type so that
9592         it does not accidentally gets registered from N
9593         different streaming threads in a non threadsafe way.
9594
9595 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9596
9597         * gst/gstbuffer.h:
9598         * gst/gstevent.h:
9599         * gst/gstmessage.h:
9600           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9601           gst_event_ref() and gst_message_ref() functions again
9602           (ugly hack, please do fix if there's a better way besides
9603           overrides.txt, which doesn't seem to work).
9604
9605 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9606
9607         * libs/gst/check/gstcheck.h:
9608           add an assert for setting state to avoid lots of repetitive code
9609           in the future
9610
9611 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9612
9613         * gst/gstvalue.c: (gst_value_serialize_flags):
9614           fix a leak if no flags are set
9615         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9616           fix leak in tests
9617
9618 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9619
9620         * docs/manual/basics-pads.xml:
9621           Expand a bit on caps and filtered links and update
9622           examples that were still using the no longer existing
9623           gst_pad_link_filtered() (#338206).
9624
9625 2006-05-10  Wim Taymans  <wim@fluendo.com>
9626
9627         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9628         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9629         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9630         (gst_collect_pads_stop):
9631         * libs/gst/base/gstcollectpads.h:
9632         No need to call _stop in _finalize.
9633         Iterate the main pad list in _finalize.
9634         Added some more debug.
9635         Free lists and data in the right order.
9636         Also free data whem doing _remove_pad when stopped for
9637         backward compatibility protect ::started with PAD_LOCK as
9638         well.
9639
9640 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9641
9642         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9643         (gst_structure_parse_value):
9644           add some comments
9645           rename a method so that it actually says what it does better
9646
9647 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9648
9649         * gst/gstevent.c: (_gst_event_initialize):
9650         * gst/gstformat.c: (_gst_format_initialize):
9651           make sure some essential types used by events are registered
9652           as part of gst_init()
9653         * gst/gstvalue.c: (gst_value_serialize_flags):
9654           if no flags are set, serialize them to a value that represents NONE
9655           so that deserializing them works
9656         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9657           add tests for serialization and deserialization of flags
9658
9659 2006-05-10  Wim Taymans  <wim@fluendo.com>
9660
9661         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9662         (gst_collect_pads_collect_range), (gst_collect_pads_available),
9663         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9664         (gst_collect_pads_event), (gst_collect_pads_chain):
9665         Update docs.
9666         Better debug info.
9667         Catch and return errors from the collect function
9668         Refuse data on eos pads.
9669
9670 2006-05-10  Edward Hervey  <edward@fluendo.com>
9671
9672         * gst/gstinterface.h:
9673         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9674         GInterface type checking.
9675         They were previously using non-defined macros.
9676
9677 2006-05-09  Wim Taymans  <wim@fluendo.com>
9678
9679         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9680         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9681         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9682         (gst_collect_pads_start), (gst_collect_pads_stop),
9683         (gst_collect_pads_peek), (gst_collect_pads_pop),
9684         (gst_collect_pads_available), (gst_collect_pads_read),
9685         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9686         (gst_collect_pads_is_collected), (gst_collect_pads_event),
9687         (gst_collect_pads_chain):
9688         * libs/gst/base/gstcollectpads.h:
9689         Clean up the mess that is collectpads, add comments and
9690         FIXMEs where needed.
9691         Maintain a separate pad list so we can add pads while
9692         collecting the other ones. For this we need a new separate 
9693         lock (see comics).
9694         Fix memory leak in finalize.
9695         Refactor some weird code to set/unset pad flushing flags, mark
9696         with comments.
9697         Don't crash in _available, _read, _flush when we're EOS.
9698
9699         * tests/check/libs/.cvsignore:
9700         Ignore adapter check binary.
9701
9702 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9703
9704         * gst/gstindex.c: (gst_index_resolver_get_type):
9705         * plugins/elements/gstfakesink.c:
9706         (gst_fake_sink_state_error_get_type):
9707         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9708         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9709         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9710           Const-ify GEnumValue arrays.
9711
9712 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9713
9714         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9715           Add test case for flags + gst_buffer_make_metadata_writable().
9716
9717 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9718
9719         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9720           gst_buffer_make_metadata_writable() should maintain the
9721           buffer flags (those that make sense at least) (see #340859).
9722
9723 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9724
9725         * tools/gst-inspect.c:
9726         * tools/gst-launch.c:
9727         * tools/gst-typefind.c:
9728         * tools/gst-xmlinspect.c:
9729         * tools/tools.h:
9730           Fix up includes: need to include stdlib.h in tools.h for exit().
9731
9732 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9733
9734         * gst/gsttaglist.c: (_gst_tag_initialize):
9735         * gst/gsttaglist.h:
9736           API: add GST_TAG_IMAGE tag (#340721).
9737
9738 2006-05-08  Wim Taymans  <wim@fluendo.com>
9739
9740         * gst/gstquery.c:
9741         Added some docs for the segment query.
9742
9743 2006-05-08  Wim Taymans  <wim@fluendo.com>
9744
9745         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9746         (gst_base_src_loop), (gst_base_src_change_state):
9747         Always push non-flushing serialized events in the streaming 
9748         thread.
9749
9750 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9751
9752         * gst/gsterror.c: (_gst_stream_errors_init):
9753           Add a missing error string.
9754
9755 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
9756
9757         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9758         Add applied_rate to the debug
9759
9760         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9761         Copy applied_rate into the outgoing NEWSEGMENT event
9762
9763 2006-05-08  Wim Taymans  <wim@fluendo.com>
9764
9765         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9766
9767         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9768         (gst_base_sink_change_state):
9769         call ::unlock before taking the PREROLL_LOCK so we can safely
9770         handle elements that lock in ::render.
9771         Fixes #340174.
9772
9773 2006-05-08  Edward Hervey  <edward@fluendo.com>
9774
9775         * autogen.sh: (CONFIGURE_DEF_OPT): 
9776         Darwin's libtoolize is in fact called glibtoolize.
9777         Adding glibtoolize to the list of accepted names for libtoolize.
9778
9779 2006-05-08  Wim Taymans  <wim@fluendo.com>
9780
9781         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9782         Unify error handling, don't post an error message
9783         when a push() returns EOS but perform our normal EOS
9784         handling code. Fixes #340772.
9785
9786 2006-05-08  Wim Taymans  <wim@fluendo.com>
9787
9788         * docs/design/part-overview.txt:
9789         Make upsteam/downstream concepts more clear.
9790         Give an example of serialized/non-serialized events.
9791
9792         * docs/design/part-events.txt:
9793         * docs/design/part-streams.txt:
9794         Mention applied_rate.
9795
9796         * docs/design/part-trickmodes.txt:
9797         Mention applied rate, flesh out some more use cases.
9798
9799         * gst/gstevent.c: (gst_event_new_new_segment),
9800         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9801         (gst_event_parse_new_segment_full), (gst_event_new_tag),
9802         (gst_event_parse_tag), (gst_event_new_buffer_size),
9803         (gst_event_parse_buffer_size), (gst_event_new_qos),
9804         (gst_event_parse_qos), (gst_event_parse_seek),
9805         (gst_event_new_navigation):
9806         * gst/gstevent.h:
9807         Add applied_rate field to NEWSEGMENT event.
9808         API: gst_event_new_new_segment_full()
9809         API: gst_event_parse_new_segment_full()
9810
9811         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9812         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9813         (gst_segment_to_stream_time), (gst_segment_to_running_time):
9814         * gst/gstsegment.h:
9815         Add applied_rate to GstSegment structure.
9816         Make calculation of stream_time and running_time more correct
9817         wrt rate/applied_rate.
9818         Add some more docs.
9819         API: GstSegment::applied_rate field
9820         API: gst_segment_set_newsegment_full();
9821
9822         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9823         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9824         * libs/gst/base/gstbasetransform.c:
9825         (gst_base_transform_sink_eventfunc),
9826         (gst_base_transform_handle_buffer):
9827         Parse and use applied_rate in the GstSegment field.
9828
9829         * tests/check/gst/gstevent.c: (GST_START_TEST):
9830         Add check for applied_rate field.
9831
9832         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9833         (gstsegments_suite):
9834         Add more checks for various GstSegment operations.
9835
9836 2006-05-08  Wim Taymans  <wim@fluendo.com>
9837
9838         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9839         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9840         (gst_base_sink_get_position), (gst_base_sink_change_state):
9841         Store the sync time of the buffer end position separatly in a
9842         new variable eos_rtime so we can properly sync the EOS event.
9843         Fixes #340697.
9844         Fix the docs for gst_base_sink_set_qos_enabled().
9845         Don't set segment start to invalid value when we receive a 
9846         non TIME newsegment.
9847         get closer to handling position reporting for negative rates 
9848         correctly.
9849
9850 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9851
9852         * gst/gstcaps.c:
9853         Docs about how to print caps for debug purposes.
9854
9855         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9856         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9857
9858 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9859
9860         * gst/gstelement.c:
9861           use full enum names and preprend a '%' in docs strings to make recent 
9862           gtk-doc turn that into a link
9863
9864 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9865
9866         * docs/manual/basics-bins.xml:
9867         * docs/manual/basics-bus.xml:
9868         * docs/manual/basics-pads.xml:
9869           Some typo fixes, some additions, some clarifications. 
9870
9871 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9872
9873         * tools/gst-inspect.c: (main):
9874         * tools/gst-launch.c: (main):
9875         * tools/gst-run.c: (main):
9876         * tools/gst-typefind.c: (main):
9877         * tools/gst-xmlinspect.c: (main):
9878           Use the string passed to g_option_context_new() for
9879           what it's intended for - the program name is already
9880           printed elsewhere.
9881
9882 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9883
9884         * tools/Makefile.am:
9885         * tools/gst-inspect.c: (main):
9886         * tools/gst-launch.c: (main):
9887         * tools/gst-xmlinspect.c: (main):
9888         * tools/tools.h:
9889           Add back --version command line option (#340460).
9890
9891         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9892           Add --version option and use GOption for argument parsing; refactor a
9893           bit; accept directories as arguments and recurse into them; lastly,
9894           print a decent error message when things go wrong.
9895
9896 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9897
9898         * docs/manual/basics-bins.xml:
9899         Don't mention GstThread (#340611)
9900         * docs/manual/basics-elements.xml:
9901         Update link to GObject tutorial (#340607)
9902         
9903 2006-05-05  Wim Taymans  <wim@fluendo.com>
9904
9905         * gst/gstbuffer.h:
9906         * gst/gstminiobject.c:
9907         Add note about refcounting and miniobject/buffer writeability
9908         to docs. Fixes #340604
9909
9910         * gst/gstelementfactory.h:
9911         Added some explanation about @klass.
9912
9913 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9914
9915         * docs/manual/intro-motivation.xml:
9916         * docs/manual/manual.xml:
9917         Avoid CORBA & Bonobo references (#340598)
9918
9919 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9920
9921         * docs/manual/basics-bus.xml:
9922         * docs/manual/basics-pads.xml:
9923         Fix up some inaccuracies and omissions (#340609)
9924         
9925 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9926
9927         * gst/gstghostpad.c:
9928           Small typo in docs (#340625)
9929
9930 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9931
9932         * gst/parse/Makefile.am:
9933           Make 'make -j' proof (see #340698).
9934
9935 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9936
9937         * configure.ac:
9938           Require GLib-2.8 here as well.
9939
9940 2006-05-05  Wim Taymans  <wim@fluendo.com>
9941
9942         * gst/glib-compat.c:
9943         * gst/gst.c: (init_pre):
9944         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9945         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9946         (gst_object_dispatch_properties_changed):
9947         * gst/gstobject.h:
9948         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9949         * gst/gststructure.c: (gst_structure_set_valist):
9950         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9951         Remove pre glib2.8 compatibility, fixes #340508
9952
9953 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9954
9955         * gst/gsttaglist.h:
9956           Mention type of tags in doc blurbs.
9957
9958 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
9959
9960         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9961         (gst_pad_configure_src), (gst_pad_push):
9962         Restore acceptcaps checking behaviour now that good plugins have
9963         been released.
9964
9965 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9966
9967         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9968
9969         * gst/gst.c:
9970         * gst/gstbus.c:
9971         * gst/gstclock.c:
9972         * gst/gstevent.c:
9973         * gst/gstformat.c:
9974         * gst/gstmessage.c:
9975         * gst/gstparse.c:
9976         * gst/gstquery.c:
9977         * gst/gstutils.c:
9978         * gst/parse/Makefile.am:
9979         * libs/gst/base/gstadapter.c:
9980         * libs/gst/base/gstbasesrc.c:
9981         * libs/gst/base/gstpushsrc.c:
9982         * libs/gst/base/gsttypefindhelper.c:
9983         * plugins/elements/gstfakesrc.c:
9984         * plugins/elements/gstidentity.c:
9985           Make sure gstprivate.h and/or config.h are
9986           always included first, otherwise some of our
9987           defines (like _FILE_OFFSET_BITS) might be
9988           redefined in the system headers. Fixes build
9989           on opensolaris (#340016).
9990
9991 2006-05-04  Wim Taymans  <wim@fluendo.com>
9992
9993         * docs/libs/gstreamer-libs-sections.txt:
9994         API: addition: gst_adapter_take_buffer()
9995         
9996         * libs/gst/base/gstadapter.c: (gst_adapter_push),
9997         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9998         (gst_adapter_available_fast):
9999         * libs/gst/base/gstadapter.h:
10000         Prepare for optimizing the hell out of this hugely inefficient
10001         piece of code. 
10002         Added gst_adapter_take_buffer() so we can at least start thinking
10003         about subbuffering and merging.
10004         Added some comments.
10005
10006         * tests/check/Makefile.am:
10007         * tests/check/libs/adapter.c: (GST_START_TEST),
10008         (gst_adapter_suite), (main):
10009         Added GstAdapter check.
10010
10011 2006-05-04  Wim Taymans  <wim@fluendo.com>
10012
10013         * docs/design/part-overview.txt:
10014         Fix some typos, add blurb about buffer flags.
10015
10016 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10017
10018         * docs/libs/gstreamer-libs-sections.txt:
10019           make sure GstBaseTransformClass shows up in the docs
10020         * libs/gst/base/gstbasetransform.c:
10021         * libs/gst/base/gstbasetransform.h:
10022           move docs so gtk-doc picks it up now
10023
10024 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10025
10026         * docs/libs/gstreamer-libs-sections.txt:
10027           add missing symbols to docs
10028
10029 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10030
10031         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10032           back out the newsegment handling change, see #340060 for ongoing
10033           discussion
10034
10035 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
10036
10037         * tools/gst-run.c: (get_candidates), (main):
10038           Fix wrong g_file_test() usage (see glib docs for why it doesn't
10039           work); fix typo in error message. Fixes #340079.
10040
10041 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10042
10043         * common/Makefile.am:
10044         * docs/Makefile.am:
10045         * docs/faq/Makefile.am:
10046         * docs/gst/Makefile.am:
10047         * docs/libs/Makefile.am:
10048         * docs/manual/Makefile.am:
10049         * docs/plugins/Makefile.am:
10050         * docs/pwg/Makefile.am:
10051         * docs/slides/Makefile.am:
10052         * docs/upload.mak:
10053         * common/upload.mak:
10054           move upload.mak to common
10055
10056 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10057
10058         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10059           add more asserts on refcounts
10060           do more cleanup at end of tests
10061           fix test leaks showing in FC5
10062
10063 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
10064
10065         * plugins/elements/gsttypefindelement.c:
10066         (gst_type_find_element_handle_event):
10067         reverted wrong change and reflowed code to avoid others falling into
10068         this trap
10069
10070 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10071
10072         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10073           fix changelog entry about last collectpads change,
10074           add notes about proper fix
10075
10076 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10077
10078         * gst/gst.c:
10079         * gst/gstregistry.c: (gst_registry_scan_path_level),
10080         (gst_registry_scan_path):
10081         * gst/gstregistry.h:
10082           only write out registry if it has changed, fixes #338339
10083
10084 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10085
10086         * gst/gstbin.c:
10087         * gst/gstpipeline.c:
10088         * plugins/elements/gstcapsfilter.c:
10089         * plugins/elements/gstfakesink.c:
10090         * plugins/elements/gstfakesrc.c:
10091         * plugins/elements/gstfdsink.c:
10092         * plugins/elements/gstfdsrc.c:
10093         * plugins/elements/gstfilesink.c:
10094         * plugins/elements/gstfilesrc.c:
10095         * plugins/elements/gstidentity.c:
10096         * plugins/elements/gstqueue.c:
10097         * plugins/elements/gsttee.c:
10098         * plugins/elements/gsttypefindelement.c:
10099         (gst_type_find_element_handle_event):
10100           make GstElementDetails const
10101
10102 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10103
10104         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10105         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10106         (gst_collect_pads_is_collected), (gst_collect_pads_event):
10107           more detailed debug and formatting cleanup,
10108           forward newsegments to src-pad (so that e.g. adder not eats them)
10109
10110 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10111
10112         * gst/gstutils.c: (gst_element_link_pads):
10113           cleanup double code
10114
10115 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10116
10117         * libs/gst/controller/gstcontroller.c:
10118         (gst_controller_sync_values):
10119           some little tuning
10120         * tests/check/libs/controller.c: (GST_START_TEST),
10121         (gst_controller_suite):
10122           a new test for live value handling
10123
10124 2006-04-28  Wim Taymans  <wim@fluendo.com>
10125
10126         * gst/gstutils.c: (push_and_ref):
10127         Added some more docs.
10128         Fix refcount issue whith gst_element_found_tags() helper 
10129         function. Fixes #338335
10130
10131         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10132         Added testsuite for gst_element_found_tags().
10133
10134 2006-04-28  Michael Smith  <msmith@fluendo.com>
10135
10136         * gst/gstvalue.c: (gst_value_serialize_flags):
10137           Avoid NULL dereference when trying to serialize flags containing
10138           invalid values.
10139
10140 2006-04-28  Michael Smith  <msmith@fluendo.com>
10141
10142         * plugins/elements/gsttypefindelement.c:
10143         (gst_type_find_element_handle_event):
10144           If we get EOS before any data is accumulated, don't use
10145           uninitialised local variables.
10146
10147 2006-04-28  Michael Smith  <msmith@fluendo.com>
10148
10149         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10150         (gst_dp_event_from_packet):
10151           Fixes in reading/writing events over GDP (not currently used?) - 
10152           dereferencing NULL events for unknown/invalid event types, memory
10153           leak, and change g_warning to GST_WARNING.
10154
10155 2006-04-28  Wim Taymans  <wim@fluendo.com>
10156
10157         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10158         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10159         (gst_base_sink_get_position), (gst_base_sink_change_state):
10160         When frame dropping is enabled, we should not ignore frames
10161         without a duration.
10162         Update some documentation.
10163
10164 2006-04-28  Wim Taymans  <wim@fluendo.com>
10165
10166         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10167         (gst_base_src_send_event), (gst_base_src_change_state):
10168         Documentation updates.
10169
10170 2006-04-28  Wim Taymans  <wim@fluendo.com>
10171
10172         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10173         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10174         handle EAGAIN, EINTR and short writes correctly. Also clean
10175         up some error cases, avoid a deadlock on bad file descriptors and
10176         use GST_DEBUG_OBJECT.
10177         Fixes #339843
10178
10179 2006-04-28  Wim Taymans  <wim@fluendo.com>
10180
10181         * gst/gstvalue.c: (gst_value_serialize_buffer),
10182         (gst_value_deserialize_buffer):
10183         Don't try to serialize a GValue with a NULL buffer. 
10184         Fixes #339821.
10185
10186         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10187         Added check for serialisation of NULL buffers.
10188
10189 2006-04-28  Wim Taymans  <wim@fluendo.com>
10190
10191         * gst/gstminiobject.c: (gst_value_take_mini_object):
10192         Taking a NULL miniobject is valid, fix the case where
10193         we try to unref the NULL miniobject.
10194
10195 2006-04-28  Wim Taymans  <wim@fluendo.com>
10196
10197         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10198
10199         * gst/gstbin.c: (gst_bin_handle_message_func):
10200         Update docs.
10201         Don't leak bin refcount when a state recalc is
10202         in progress and we delay another one #339808.
10203
10204 2006-04-28  Wim Taymans  <wim@fluendo.com>
10205
10206         * docs/design/part-TODO.txt:
10207         Mention QoS as an ongoing work item.
10208
10209         * docs/design/part-buffering.txt:
10210         New doc about buffering that needs to be fleshed out
10211         at some point.
10212
10213         * docs/design/part-qos.txt:
10214         More QoS policy for decoders/demuxers/transforms
10215
10216         * docs/design/part-trickmodes.txt:
10217         Small update.
10218
10219 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10220
10221         * configure.ac:
10222           back to HEAD
10223
10224 === release 0.10.5 ===
10225
10226 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
10227
10228         * configure.ac:
10229           releasing 0.10.5, "Fogo"
10230
10231 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10232
10233         patch by: Wim Taymans
10234
10235         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10236         (gst_pad_configure_src), (gst_pad_push):
10237         * gst/gstpipeline.c: (gst_pipeline_init):
10238           Fix internal data flow errors.  Fixes #338711.
10239
10240 2006-04-12  Wim Taymans  <wim@fluendo.com>
10241
10242         * tests/check/gst/gstelement.c: (GST_START_TEST):
10243         Don't leak the factory.
10244
10245 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10246
10247         * configure.ac:
10248         * win32/common/config.h:
10249           prerelease
10250
10251 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
10252
10253         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10254         (gst_controller_unset_all):
10255           Free allocated GstTimedValues when freeing list nodes.
10256           Should fix leaks 'make check-valgrind' complains about.
10257
10258         * win32/common/libgstcontroller.def:
10259           Add gst_controller_unset_all.
10260
10261 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
10262
10263         * docs/libs/gstreamer-libs-sections.txt:
10264         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10265         (gst_controller_unset_all):
10266         * libs/gst/controller/gstcontroller.h:
10267         API: Added new method gst_controller_unset_all()
10268         fixed gst_controller_unset()
10269         * tests/check/libs/controller.c: (GST_START_TEST),
10270         (gst_controller_suite):
10271         Added two testcases for new and fixed method
10272
10273 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
10274
10275         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10276           MSG_DONTWAIT is not defined on Cygwin, so work
10277           around that (fixes #317048).
10278           
10279 2006-04-11  Wim Taymans  <wim@fluendo.com>
10280
10281         * gst/gstelementfactory.c: (gst_element_register),
10282         (gst_element_factory_create), (gst_element_factory_make):
10283         Some cleanups.
10284         Fixed a FIXME.
10285         Updated docs (Fixes #131079)
10286
10287         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10288         Small cleanups.
10289
10290         * tests/check/gst/gstelement.c: (GST_START_TEST),
10291         (gst_element_suite):
10292         Added testcase for elementfactory class field.
10293
10294 2006-04-10  Wim Taymans  <wim@fluendo.com>
10295
10296         * gst/gstsegment.c:
10297         Added some more docs.
10298
10299         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10300         (gst_base_sink_reset_qos):
10301         Calculate more accurate rate values.
10302
10303 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
10304
10305         * gst/gst_private.h:
10306           add a new #ifdef to use __declspec(dllimport) only for
10307           other modules and not for gstreamer core
10308         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10309           use gst_guint64_to_gdouble for conversion
10310         * win32/common/libgstreamer.def:
10311           add new exported functions
10312         * win32/vs6/gst_inspect.dsp:
10313         * win32/vs6/gst_launch.dsp:
10314         * win32/vs6/libgstbase.dsp:
10315         * win32/vs6/libgstcontroller.dsp:
10316         * win32/vs6/libgstcoreelements.dsp:
10317         * win32/vs6/libgstdataprotocol.dsp:
10318         * win32/vs6/libgstnet.dsp:
10319           update project files
10320
10321 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10322
10323         * gst/gstbuffer.c: (gst_subbuffer_class_init):
10324         * gst/gstclock.c: (gst_clock_class_init):
10325         * gst/gstelement.c: (gst_element_class_init):
10326         * gst/gstindex.c: (gst_index_class_init):
10327         * gst/gstindexfactory.c: (gst_index_factory_class_init):
10328         * gst/gstobject.c: (gst_object_class_init),
10329         (gst_signal_object_class_init):
10330         * gst/gstpad.c: (gst_pad_class_init):
10331         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10332         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10333         * gst/gstregistry.c: (gst_registry_class_init):
10334         * gst/gstsystemclock.c: (gst_system_clock_class_init):
10335         * gst/gsttask.c: (gst_task_class_init):
10336         * gst/gstxml.c: (gst_xml_class_init):
10337         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10338         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10339         (gst_base_src_loop):
10340         * libs/gst/controller/gstcontroller.c:/
10341         (_gst_controller_class_init):
10342         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10343         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10344         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10345         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10346         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10347         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10348
10349 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
10350
10351         * gst/gstpad.c: (gst_pad_link):
10352           Must set peer pads before calling the link function, otherwise
10353           a task started from a link function might get a flow-not-linked
10354           result when trying to push because the other thread where the
10355           linking happens hasn't had a chance to set the peers yet. This
10356           might happen for example when a queue gets linked to a downstream
10357           element, as queue starts a streaming task when its source pad
10358           gets linked. Happens in real life when playing back flac/musepack
10359           files in playbin (#332390).
10360           
10361 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10362
10363         * gst/gstindex.h:
10364         * gst/gstxml.h:
10365         * libs/gst/base/gstadapter.h:
10366         * libs/gst/base/gstbasesink.h:
10367         * libs/gst/base/gstbasesrc.h:
10368         * libs/gst/base/gstbasetransform.h:
10369         * libs/gst/base/gstcollectpads.h:
10370         * libs/gst/base/gstpushsrc.h:
10371         Fix broken GObject macros
10372
10373 2006-04-07  Wim Taymans  <wim@fluendo.com>
10374
10375         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10376         Initialize start and stop times, thanks valgrind.
10377
10378 2006-04-07  Wim Taymans  <wim@fluendo.com>
10379
10380         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10381         Be a bit nicer to badly behaving upstream elements that expect
10382         us to deal with non TIME segments and timestamps (such as fakesrc
10383         in the testsuite).
10384
10385 2006-04-07  Wim Taymans  <wim@fluendo.com>
10386
10387         * gst/gstbus.c:
10388         Small documentation clarification about the signal watch.
10389
10390         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10391         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10392         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10393         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10394         (gst_base_sink_get_position_last),
10395         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10396         Convert and store timestamps in stream time and running time, the
10397         raw timestamps are not useful, also document this better.
10398         Use different window sizes for good and bad QoS observations so
10399         we react to badness a little quicker.
10400         Keep track of the amount of rendered and dropped buffers.
10401         Send QoS timestamps in running time.
10402
10403         * libs/gst/base/gstbasetransform.c:
10404         (gst_base_transform_sink_eventfunc),
10405         (gst_base_transform_handle_buffer):
10406         Compare QoS timestamps against running time.
10407
10408 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10409
10410         * gst/gstpad.c:
10411           Typo fixes in docs.
10412
10413 2006-04-06  Michael Smith  <msmith@fluendo.com>
10414
10415         * gst/gstpad.c: (gst_pad_set_property):
10416           Use g_value_get_object() instead of g_value_dup_gst_object(),
10417           to avoid double-reffing the pad template (which we then sink,
10418           so this worked previously if (and only if) the pad template
10419           was floating.
10420
10421         * gst/gstpadtemplate.c: (gst_pad_template_init),
10422         (gst_pad_template_pad_created):
10423           Never return floating references to pad templates, create
10424           them as initially-sunken.
10425
10426           Document an extra function (and make this stop sinking our
10427           pad template, since that is now guaranteed to do nothing,
10428           since we created it sunken).
10429
10430         * gst/gstghostpad.c:
10431           Fix docs typo.
10432
10433 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10434
10435         * gst/gstinfo.c: (__gst_in_valgrind):
10436           Add some newlines.
10437
10438         * plugins/elements/gsttypefindelement.c:
10439         (gst_type_find_element_chain):
10440           Don't leak buffer caps.
10441
10442 2006-04-06  Michael Smith  <msmith@fluendo.com>
10443
10444         * gst/parse/grammar.y:
10445           Fix a leak in parse-launch for any source-or-sink named element 
10446           references used.
10447
10448         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10449           Unref the pipeline if it exists after we've failed parsing.
10450
10451 2006-04-05  Michael Smith  <msmith@fluendo.com>
10452
10453         * gst/gstpipeline.c: (gst_pipeline_init):
10454           When we create a pipeline bus, initially create it in flushing mode.
10455           Fixes leaks in at least one test, and makes a new pipeline work the
10456           same as one that has gone to READY and then back to NULL.
10457
10458         * gst/gstelement.c:
10459           Typo fix in docs.
10460
10461 2006-04-05  Michael Smith  <msmith@fluendo.com>
10462
10463         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10464           Unref a pad we reffed.
10465         * tests/check/gst/gstutils.c: (GST_START_TEST):
10466           Unref bins
10467
10468 2006-04-05  Michael Smith  <msmith@fluendo.com>
10469
10470         * gst/gstquery.c: (gst_query_set_formats),
10471         (gst_query_set_formatsv):
10472           Fix leaking GValues in queries, as shown by valgrind/testsuite.
10473
10474 2006-04-05  Michael Smith  <msmith@fluendo.com>
10475
10476         * tests/check/generic/sinks.c: (GST_START_TEST):
10477           Fix a variety of memleaks in sinks check, which are only sometimes 
10478           shown by running the tests under valgrind (weird?).
10479
10480 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
10481
10482         * docs/version.entities.in:
10483           Fix the substituted entity name after thomas' changes on the
10484           weekend.
10485
10486 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10487
10488         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10489         VALGRIND_PRINTF
10490         
10491 2006-04-05  Andy Wingo  <wingo@pobox.com>
10492
10493         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10494
10495         * libs/gst/base/gstbasetransform.c
10496         (gst_base_transform_sink_eventfunc): When resetting our segment on
10497         FLUSH_STOP, also update the flag saying we haven't seen a
10498         newsegment.
10499
10500 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10501
10502         Patch by: Paolo Borelli  <pborelli at katamail dot com>
10503
10504         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10505         (gst_plugin_check_license):
10506           minor clean-ups: G_DEFINE_TYPE already takes care of the
10507           parent_class stuff, no need to do it twice. Mark array of
10508           license strings as constant. (#337103)
10509           
10510 2006-04-04  Michael Smith  <msmith@fluendo.com>
10511
10512         * tools/gst-inspect.c: (print_element_list):
10513           Free the right plugin list; fixes a memory leak.
10514
10515 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10516
10517         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
10518
10519         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10520           Don't error out on empty buffers (#336945).
10521           
10522 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
10523
10524         * docs/libs/gstreamer-libs-sections.txt:
10525         * gst/gsttaglist.c:
10526         * libs/gst/base/gstbasesink.c:
10527         * libs/gst/base/gstbasesink.h:
10528         * libs/gst/base/gstbasesrc.c:
10529         * libs/gst/base/gstbasesrc.h:
10530           Documentation updates. Make BaseSink and BaseSrc docs contain the
10531           class structure so that people can actually see the prototypes for
10532           virtual functions they're supposed to be overriding.
10533
10534 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10535
10536         * plugins/elements/gsttypefindelement.c:
10537         (gst_type_find_element_chain):
10538           More debug info; when skipping typefinding, send cached
10539           events in all cases.
10540
10541 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10542
10543         * configure.ac:
10544           use new AS_VERSION and AS_NANO macros
10545         * gst/gst-i18n-lib.h:
10546         * gst/gst.c:
10547         * gst/gsterror.c:
10548         * gst/gstversion.h.in:
10549         * win32/common/config.h:
10550         * win32/common/config.h.in:
10551           update accordingly
10552
10553 2006-03-31  Michael Smith  <msmith@fluendo.com>
10554
10555         * plugins/elements/gsttypefindelement.c:
10556         (gst_type_find_element_chain):
10557           Do not typefind content if the buffers already have caps.
10558           Neccesary for icydemux (#333657), and the right thing to do anyway.
10559
10560 2006-03-30  Wim Taymans  <wim@fluendo.com>
10561
10562         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10563         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10564         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10565         (gst_base_sink_record_qos_observation),
10566         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10567         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10568         (gst_base_sink_change_state):
10569         More QoS measurements as described in the design doc.
10570         Get rid of ringbuffer with observations, running average is
10571         more simple and equally good.
10572         Calculates valid proportion now.
10573         Added beginning of flood measurement.
10574
10575 2006-03-29  Wim Taymans  <wim@fluendo.com>
10576
10577         * docs/design/part-qos.txt:
10578         * gst/gstclock.c:
10579         Small documentation updates and additions.
10580
10581 2006-03-29  Wim Taymans  <wim@fluendo.com>
10582
10583         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10584         (gst_base_src_send_event), (gst_base_src_loop),
10585         (gst_base_src_change_state):
10586         Perform the EOS logic when we reach the segment stop position.
10587         Fix compilation on gcc4.1
10588
10589 2006-03-29  Wim Taymans  <wim@fluendo.com>
10590
10591         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10592
10593         * plugins/elements/gstqueue.c: (gst_queue_init),
10594         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10595         (gst_queue_set_property):
10596         * plugins/elements/gstqueue.h:
10597         In queue, when EOS is received, if minimum threshold > max_size -
10598         current_level, there is chance that queue blocks forever in conditional
10599         item del wait. This is because the queue is not emptied completely due
10600         to minimum threshold.  Here is another approach. Instead of setting
10601         cur_levels to max in EOS, just zero all minimum threshold levels. This
10602         should make sure that queue gives out all data. When going to READY
10603         (stop) state, just reset the original minimum threshold levels.
10604         Fixes #336336.
10605
10606 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
10607
10608         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10609         (gst_type_find_element_handle_event),
10610         (gst_type_find_element_send_cached_events),
10611         (gst_type_find_element_change_state):
10612         * plugins/elements/gsttypefindelement.h:
10613           When typefinding is done in push mode, we should cache
10614           events we receive during typefinding instead of just
10615           dropping them (e.g. newsegment, custom events from
10616           dvdreadsrc etc.) and then send them out once we've
10617           determined the type of the stream (and decodebin
10618           has had a chance to plug in a decoder/demuxer).
10619           
10620 2006-03-27  Wim Taymans  <wim@fluendo.com>
10621
10622         * docs/design/part-qos.txt:
10623         First QoS ideas.
10624
10625 2006-03-27  Wim Taymans  <wim@fluendo.com>
10626
10627         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10628
10629         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10630         (gst_base_src_send_event), (gst_base_src_change_state):
10631         Handle element seek correctly when we are streaming.
10632         Fixes #326998.
10633
10634 2006-03-24  Michael Smith  <msmith@fluendo.com>
10635
10636         * docs/faq/gst-uninstalled:
10637           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10638           allow you to correctly run intalled applications built against old 
10639           core, using plugins that require updated core (e.g. running
10640           installed totem against a full uninstalled gstreamer stack)
10641
10642 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10643
10644         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10645         more debug details
10646
10647 2006-03-24  Wim Taymans  <wim@fluendo.com>
10648
10649         * docs/gst/gstreamer-sections.txt:
10650         Rearrange the order of the methods so that related methods
10651         are grouped together in sections.
10652
10653 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10654
10655         * gst/gstelement.c:
10656           Little clarification in the docs
10657
10658 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10659
10660         * docs/README:
10661         formatting fix
10662         * plugins/elements/gstidentity.c:
10663         * plugins/elements/gstqueue.c:
10664         * plugins/elements/gsttee.c:
10665         * plugins/elements/gsttypefindelement.c:
10666         GST_ELEMENT_DETAILS formatting
10667
10668 2006-03-24  Wim Taymans  <wim@fluendo.com>
10669
10670         * libs/gst/base/gstbasesink.h:
10671         Only add fields, not insert or we break ABI.
10672
10673 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10674
10675         * win32/common/libgstbase.def:
10676         * win32/common/libgstreamer.def:
10677           Update, add recently added functions.
10678
10679 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10680
10681         * docs/gst/gstreamer-sections.txt:
10682         * gst/gstutils.c: (gst_pad_query_peer_position),
10683         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10684         * gst/gstutils.h:
10685           API: add some new utility functions:
10686            - gst_pad_query_peer_position()
10687            - gst_pad_query_peer_duration()
10688            - gst_pad_query_peer_convert()
10689           
10690 2006-03-23  Wim Taymans  <wim@fluendo.com>
10691
10692         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10693         (gst_base_sink_init), (gst_base_sink_finalize),
10694         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10695         (gst_base_sink_set_property), (gst_base_sink_get_property),
10696         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10697         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10698         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10699         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10700         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10701         (gst_base_sink_preroll_object), (gst_base_sink_event),
10702         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10703         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10704         (gst_base_sink_query), (gst_base_sink_change_state):
10705         Decouple max-lateness and the fact that QoS messages are generated
10706         with a new property (qos).
10707         added API: GstBaseSink::async_play()
10708         Add vmethod so subclasses can be notified of ASYNC playing
10709         state changes.
10710         Collect timestamp start and stop to report better current
10711         position in EOS/PLAYING/PAUSED/READY/NULL.
10712         Refactor QoS/frame dropping and other measurements.
10713         API: GstBaseSrc::qos
10714         Fixes #326311
10715
10716         * libs/gst/base/gstbasesink.h:
10717         Added Private struct.
10718         API: gst_base_sink_set_qos_enabled()
10719         API: gst_base_sink_is_qos_enabled()
10720
10721 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10722
10723         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10724           If compiling against GLib-2.8 or newer, try to read the
10725           registry file using GMappedFile first before falling back
10726           to fopen() + fread() (#332151).
10727
10728 2006-03-22  Wim Taymans  <wim@fluendo.com>
10729
10730         * gst/gstinfo.c: (gst_debug_set_active),
10731         (gst_debug_category_set_threshold):
10732         Disable debugging unless explicitly activated.
10733         Fixes #335480.
10734
10735 2006-03-22  Wim Taymans  <wim@fluendo.com>
10736
10737         * gst/gstelement.c: (gst_element_set_locked_state),
10738         (gst_element_dispose):
10739         Cleanup the error case.
10740
10741         * gst/gstobject.c: (gst_object_dispose):
10742         print a critical when some object was disposed with
10743         a parent, also revive the object since it might
10744         crash the parent.
10745
10746 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
10747
10748         * tools/gst-launch.1.in:
10749           Fix another typo.
10750
10751 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10752
10753         * configure.ac:
10754         * tests/check/Makefile.am:
10755           disable some tests when we don't have a registry
10756         * tests/check/gst/gstutils.c: (gst_utils_suite):
10757           don't build the part that needs parsing
10758
10759 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10760
10761         * gst/Makefile.am
10762         * tests/examples/Makefile.am:
10763           fix --disable-parse build
10764
10765 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10766
10767         * tools/gst-feedback.1.in:
10768           Fix typo: s/feeback/feedback/ (#133494).
10769
10770 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10771
10772         * tools/Makefile.am:
10773         * tools/gst-launch.1.in:
10774           Add FILES section and correct entry about GST_REGISTRY_PATH
10775           environment variable (#133495; #133494).
10776
10777 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10778
10779         * tools/Makefile.am:
10780         * tools/gst-md5sum.1.in:
10781         * tools/gst-md5sum.c:
10782           Remove gst-md5sum and man page (the md5sink element
10783           required was removed ages ago)
10784
10785 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10786
10787         * gst/gststructure.c: (gst_structure_id_set_value):
10788           Make sure that string fields in structures/taglists
10789           contain valid UTF-8 - we don't want to pass rubbish to
10790           applications because of a buggy plugin (cp. #334167).
10791
10792 2006-03-21  Edward Hervey  <edward@fluendo.com>
10793
10794         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10795         (gst_bin_handle_message_func):
10796         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10797         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10798         (gst_element_set_bus_func):
10799         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10800         * gst/gstminiobject.c: (gst_value_set_mini_object),
10801         (gst_value_take_mini_object):
10802         * gst/gstpad.c: (gst_pad_set_pad_template):
10803         * gst/gstpipeline.c: (gst_pipeline_dispose),
10804         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10805         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10806         (gst_collect_pads_chain):
10807         * libs/gst/net/gstnettimeprovider.c:
10808         (gst_net_time_provider_set_property):
10809         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10810         It's in fact all issues with gst_*object_replace().
10811
10812 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10813
10814         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
10815         
10816         * pkgconfig/gstreamer-check-uninstalled.pc.in:
10817         * pkgconfig/gstreamer-check.pc.in:
10818           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10819
10820 2006-03-21  Edward Hervey  <edward@fluendo.com>
10821
10822         * gst/gstbuffer.h:
10823         * gst/gstevent.h:
10824         * gst/gstmessage.h:
10825         gst_[buffer|event|message]_ref() macros are replaced by a static
10826         inline functions because gcc-4.1 will about if the return value
10827         isn't used.
10828         * tests/check/gst/gstevent.c: (event_probe):
10829         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10830
10831 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
10832
10833         * gst/gstutils.h:
10834         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10835         the type' case. (Closes: #335195 for now). In the future, when we
10836         depend on GLib 2.10, we could also intern the type name using
10837         g_intern_static_string()
10838
10839 2006-03-20  Wim Taymans  <wim@fluendo.com>
10840
10841         * gst/gstbin.c: (gst_bin_handle_message_func),
10842         (bin_query_max_init), (bin_query_position_fold),
10843         (bin_query_position_done), (gst_bin_query):
10844         Position query should also take max of all streams.
10845
10846 2006-03-20  Wim Taymans  <wim@fluendo.com>
10847
10848         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10849         (gst_fake_src_finalize):
10850         Fix leaks in fakesrc.
10851
10852         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10853         Fix leaks in the testcase.
10854
10855 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
10856
10857         * gst/gst_private.h:
10858           add win32 specific import decoration(__declspec(dllimport)) 
10859           for all extern GstDebugCategory * variables
10860         * win32/common/libgstbase.def:
10861         * win32/common/libgstcontroller.def:
10862         * win32/common/libgstreamer.def:
10863           Add some exports, remove empty lines
10864         * win32/common/libgstdataprotocol.def:
10865         * win32/common/libgstdataprotocol.dsp:
10866         * win32/common/libgstnet.def:
10867         * win32/common/libgstnet.dsp:
10868           new project files and exportation files added
10869         
10870 2006-03-19  Wim Taymans  <wim@fluendo.com>
10871
10872         * tests/check/libs/basesrc.c: (eos_event_counter):
10873         Use proper return value for probe.
10874
10875 2006-03-17  Wim Taymans  <wim@fluendo.com>
10876
10877         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10878         (gst_pad_push):
10879         Don't leak buffers, caps and pads on negotiation errors.
10880
10881 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
10882
10883         * docs/faq/cvs.xml:
10884         * docs/faq/dependencies.xml:
10885         * docs/faq/developing.xml:
10886         * docs/faq/faq.xml:
10887         * docs/faq/general.xml:
10888         * docs/faq/getting.xml:
10889         * docs/faq/legal.xml:
10890         * docs/faq/troubleshooting.xml:
10891         * docs/faq/using.xml:
10892         Faq review and update.
10893
10894 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
10895
10896         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10897         (gst_pad_push):
10898         Don't pound the cpu to pieces by checking get_caps when accept_caps
10899         is called with the same caps as the pad already has.
10900         Use GST_DEBUG_OBJECT when outputting caps change information.
10901
10902 2006-03-15  Wim Taymans  <wim@fluendo.com>
10903
10904         * gst/gstclock.c: (gst_clock_class_init):
10905         Fix docs.
10906
10907 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
10908
10909         * gst/gstbuffer.h:
10910         Documentation fix.
10911
10912         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10913         (gst_pad_accept_caps), (gst_pad_configure_sink),
10914         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10915         Make the default acceptcaps behaviour be to check the requested 
10916         caps against the gst_pad_get_caps output. 
10917
10918         Ensure that gst_pad_accept_caps is used to check caps when a pad
10919         doesn't have a setcaps function, so that pads automatically refuse 
10920         caps that they don't allow in their pad template. (Fixes #332986)
10921
10922         When a buffer with attached caps is pushed, ensure that the source 
10923         pad receives those caps even if the element didn't call
10924         gst_pad_set_caps first.
10925
10926 2006-03-15  Wim Taymans  <wim@fluendo.com>
10927
10928         * libs/gst/base/gstadapter.c:
10929         Add some docs.
10930
10931 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
10932
10933         * win32/common/libgstbase.def:
10934         * win32/common/libgstcontroller.def:
10935         * win32/common/libgstreamer.def:
10936           Add a whole bunch of missing functions (#334434).
10937
10938 2006-03-14  Wim Taymans  <wim@fluendo.com>
10939
10940         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10941         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10942         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10943         Better debug info when we receive a segment event.
10944         Reorganize a bit so we can pass the get_times() results around.
10945         Use the segment format when calculating the running time.
10946         Don't do QoS is sync is disabled or we have no clock or the
10947         element does not want us to sync to the clock.
10948         Don't drop buffers if QoS is disabled for now.
10949
10950 2006-03-14  Wim Taymans  <wim@fluendo.com>
10951
10952         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10953         Marked the stats property as unimplemented so people don't get
10954         wild ideas.
10955         Add debug message when regression goes wrong.
10956         Added some more docs.
10957
10958 2006-03-14  Wim Taymans  <wim@fluendo.com>
10959
10960         * gst/gstsegment.c: (gst_segment_to_stream_time):
10961         Return correct return type in case of errors.
10962
10963 2006-03-14  Wim Taymans  <wim@fluendo.com>
10964
10965         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10966           Don't segfault on invalid formats.
10967
10968 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10969
10970         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10971           Can't use gst_segment_to_running_time() when the segment
10972           is not in GST_TIME_FORMAT (like with filesink, for example).
10973           Stops flac encoding pipelines from spewing critical warnings
10974           at EOS (#331248).
10975           
10976 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10977
10978         * gst/gstpipeline.c: (gst_pipeline_class_init):
10979           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10980
10981         * plugins/elements/gsttypefindelement.c:
10982         (gst_type_find_element_handle_event):
10983           Don't try to typefind empty streams.
10984
10985 2006-03-14  Wim Taymans  <wim@fluendo.com>
10986
10987         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10988         (gst_base_sink_do_qos):
10989         Separate QoS calculation.
10990         Only drop buffers when lateness is bigger than the 
10991         duration of the buffer.
10992
10993 2006-03-13  Wim Taymans  <wim@fluendo.com>
10994
10995         * gst/gstpipeline.c: (gst_pipeline_set_property),
10996         (gst_pipeline_get_property), (do_pipeline_seek),
10997         (gst_pipeline_change_state), (gst_pipeline_set_delay),
10998         (gst_pipeline_get_delay):
10999         Don't deadlock when reading properties.
11000
11001 2006-03-13  Wim Taymans  <wim@fluendo.com>
11002
11003         * libs/gst/base/gstbasetransform.c:
11004         (gst_base_transform_class_init), (gst_base_transform_init),
11005         (gst_base_transform_sink_event),
11006         (gst_base_transform_sink_eventfunc),
11007         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
11008         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11009         (gst_base_transform_set_property),
11010         (gst_base_transform_get_property),
11011         (gst_base_transform_change_state), (gst_base_transform_update_qos),
11012         (gst_base_transform_set_qos_enabled),
11013         (gst_base_transform_is_qos_enabled):
11014         * libs/gst/base/gstbasetransform.h:
11015         Make basetransform virtual method for src events too.
11016         Handle QOS in basetransform.
11017         API: gst_base_transform_update_qos()
11018         API: gst_base_transform_set_qos_enabled()
11019         API: gst_base_transform_is_qos_enabled()
11020
11021 2006-03-13  Wim Taymans  <wim@fluendo.com>
11022
11023         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11024         (gst_base_sink_do_sync):
11025         Small cleanups.
11026         Use QOS debug category.
11027
11028 2006-03-13  Wim Taymans  <wim@fluendo.com>
11029
11030         * plugins/elements/gstqueue.c:
11031         Very small doc update.
11032
11033 2006-03-13  Wim Taymans  <wim@fluendo.com>
11034
11035         * gst/gst_private.h:
11036         * gst/gstinfo.c: (_gst_debug_init):
11037         Added QOS debug category
11038
11039 2006-03-13  Wim Taymans  <wim@fluendo.com>
11040
11041         * docs/gst/gstreamer-sections.txt:
11042         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11043         * gst/gstbin.h:
11044         * gst/gstbus.c: (gst_bus_class_init):
11045         * gst/gstbus.h:
11046         * gst/gstclock.c:
11047         * gst/gstelement.c: (gst_element_set_locked_state):
11048         * gst/gstsegment.c:
11049         Documentation updates.
11050
11051         * gst/gstpipeline.c: (gst_pipeline_get_type),
11052         (gst_pipeline_class_init), (gst_pipeline_init),
11053         (gst_pipeline_dispose), (gst_pipeline_set_property),
11054         (gst_pipeline_get_property), (do_pipeline_seek),
11055         (gst_pipeline_send_event), (gst_pipeline_change_state),
11056         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11057         (gst_pipeline_get_delay):
11058         * gst/gstpipeline.h:
11059         Added methods for setting the delay.
11060         API: gst_pipeline_set_delay()
11061         API: gst_pipeline_get_delay()
11062         Add pipeline debug category
11063         Various cleanups.
11064         Updated docs.
11065         Don't reset stream time when seek failed.
11066
11067 2006-03-13  Wim Taymans  <wim@fluendo.com>
11068
11069         * docs/design/draft-klass.txt:
11070         * docs/design/part-clocks.txt:
11071         * docs/design/part-events.txt:
11072         * docs/design/part-gstbin.txt:
11073         * docs/design/part-gstpipeline.txt:
11074         * docs/design/part-messages.txt:
11075         * docs/design/part-negotiation.txt:
11076         * docs/design/part-overview.txt:
11077         * docs/design/part-preroll.txt:
11078         * docs/design/part-seeking.txt:
11079         * docs/design/part-states.txt:
11080         * docs/design/part-streams.txt:
11081         Documentation updates.
11082
11083 2006-03-12  Julien MOUTTE  <julien@moutte.net>
11084
11085         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11086         us to leak strings...
11087
11088 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11089
11090         * libs/gst/net/gstnettimeprovider.c:
11091           fix docs
11092         * win32/common/config.h:
11093           update
11094
11095 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
11096
11097         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11098
11099         * configure.ac:
11100           Don't check for libgnomeui (leftover from old examples
11101           that aren't built or disted any longer) (#334303).
11102           
11103 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
11104
11105         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11106         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11107           Emit RESOURCE_NO_SPACE_LEFT error here as well when
11108           there's no space left on the device.
11109
11110 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
11111
11112         * gst/gstclock.h:
11113           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11114           to cast the input to GstClockTime before comparing with
11115           another GstClockTime value.
11116
11117 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11118
11119         * configure.ac:
11120           back to trunk
11121
11122 === release 0.10.4 ===
11123
11124 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
11125
11126         * configure.ac:
11127           releasing 0.10.4, "Light"
11128
11129 2006-03-10  Michael Smith  <msmith@fluendo.com>
11130
11131         * libs/gst/dataprotocol/dataprotocol.c:
11132           Fix docs for dataprocotol to not get the return types completely
11133           wrong for a few functions.
11134
11135 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11136
11137         * docs/gst/gstreamer-sections.txt:
11138         * gst/gstpipeline.c: (gst_pipeline_class_init),
11139         (gst_pipeline_init), (gst_pipeline_set_property),
11140         (gst_pipeline_get_property), (gst_pipeline_change_state),
11141         (gst_pipeline_set_auto_flush_bus),
11142         (gst_pipeline_get_auto_flush_bus):
11143         * gst/gstpipeline.h:
11144           Add new API: gst_pipeline_set_auto_flush_bus() and
11145           gst_pipeline_get_auto_flush_bus() to disable automatic
11146           flushing of the pipeline's GstBus when going from READY
11147           to NULL state (#332045).
11148
11149 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11150
11151         * docs/gst/gstreamer-sections.txt:
11152         * gst/gsturi.c: (gst_uri_has_protocol):
11153         * gst/gsturi.h:
11154            Add new API: gst_uri_has_protocol() (#333779).
11155
11156 2006-03-09  Wim Taymans  <wim@fluendo.com>
11157
11158         * gst/gstclock.c: (gst_clock_entry_new),
11159         (gst_clock_id_compare_func), (gst_clock_id_wait),
11160         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11161         (gst_clock_init), (gst_clock_get_internal_time),
11162         (gst_clock_set_master), (do_linear_regression),
11163         (gst_clock_add_observation), (gst_clock_set_property):
11164         * gst/gstclock.h:
11165         Review docs.
11166         Small cleanups.
11167         Fix a possible segfault when the window-size is made smaller.
11168         Calculate jitter before performing the clock wait. Ideally
11169         the clock implementation should calculate jitter but we need
11170         API breakage for that.
11171
11172         * gst/gstsystemclock.c: (gst_system_clock_init):
11173         Docs review.
11174         
11175         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11176         Remove leftover else
11177
11178         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11179         (gst_systemclock_suite):
11180         Added check to test GST_CLOCK_DIFF.
11181
11182 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11183
11184         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11185         (gst_type_find_helper_get_range):
11186           If we are provided with the size, we should implement
11187           GstTypeFind::get_length, so that typefind functions who
11188           want to can actually peek at the middle of a file.
11189
11190 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
11191
11192         * docs/manual/advanced-dataaccess.xml:
11193           Add some very very basic error checking.
11194
11195         * docs/pwg/appendix-checklist.xml:
11196           Some updates to the list of things to check when writing an element.
11197
11198 2006-03-08  Wim Taymans  <wim@fluendo.com>
11199
11200         * docs/design/part-element-transform.txt:
11201         Added some docs about the design of tranform elements.
11202
11203         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11204         (gst_base_src_loop), (gst_base_src_change_state):
11205         Mark buffers with the DISCONT flag.
11206
11207 2006-03-08  Michael Smith  <msmith@fluendo.com>
11208
11209         * gst/gstregistry.h:
11210         * gst/gstregistryxml.c: (gst_registry_save),
11211         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11212         (gst_registry_xml_save_pad_template),
11213         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11214         (gst_registry_xml_write_cache):
11215           Rewrite registry-saving to avoid race conditions and check for
11216           failed writes.
11217
11218 2006-03-08  Wim Taymans  <wim@fluendo.com>
11219
11220         * libs/gst/base/gstbasetransform.c:
11221         (gst_base_transform_transform_caps),
11222         (gst_base_transform_transform_size),
11223         (gst_base_transform_prepare_output_buffer),
11224         (gst_base_transform_get_unit_size),
11225         (gst_base_transform_buffer_alloc),
11226         (gst_base_transform_handle_buffer),
11227         (gst_base_transform_change_state):
11228         Cleanups, separate normal flow from errors, add sensible
11229         DEBUG lines.
11230         Don't try to renegotiate when allocating an output buffer.
11231         Also copy DISCONT buffer flag when copying a buffer.
11232         Reset the transform after we finish streaming, not during.
11233
11234 2006-03-08  Wim Taymans  <wim@fluendo.com>
11235
11236         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11237         Use last buffer timestamp in qos message.
11238
11239 2006-03-07  Wim Taymans  <wim@fluendo.com>
11240
11241         Patch by: Christophe Fergeau
11242
11243         * docs/pwg/advanced-tagging.xml:
11244         * docs/pwg/building-pads.xml:
11245           fixes #333416
11246
11247 2006-03-07  Wim Taymans  <wim@fluendo.com>
11248
11249         * docs/libs/gstreamer-libs-sections.txt:
11250         Added basesink new methods.
11251
11252         * gst/gstevent.c:
11253         * gst/gstevent.h:
11254         Docs updates. Flesh out the QoS docs.
11255
11256         * libs/gst/base/gstadapter.c:
11257         Small doc clarification about ownership and flushing.
11258
11259         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11260         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11261         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11262         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11263         * libs/gst/base/gstbasesink.h:
11264         API additions: 
11265         Added new methods to allow subclass to control max-lateness 
11266         and sync.
11267         Generate very basic QoS events based on last sync observation.
11268         Updated docs, fix typo, added some QoS blurb.
11269
11270         * libs/gst/base/gstbasesrc.c:
11271         Remove obsolete _get_state() calls from docs.
11272
11273 2006-03-07  Wim Taymans  <wim@fluendo.com>
11274
11275         * docs/libs/gstreamer-libs-sections.txt:
11276         * libs/gst/base/gstbasetransform.h:
11277         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11278         Fix docs for GstBaseSrc.
11279
11280 2006-03-07  Wim Taymans  <wim@fluendo.com>
11281
11282         * docs/gst/gstreamer-sections.txt:
11283         * gst/gstbuffer.h:
11284         * gst/gstvalue.c:
11285         * libs/gst/base/gstbasetransform.h:
11286         Small documentation fixes.
11287
11288 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11289
11290         * gst/gstvalue.c:
11291           Document thread-unsafety of gst_value_register_foo_func()
11292           when used at the same time as gst_value_foo() (#322628).
11293
11294 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11295
11296         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11297         (gst_push_src_check_get_range):
11298           Push sources don't support pull mode by default.
11299
11300 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11301
11302         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11303         (gst_base_src_init), (gst_base_src_pad_check_get_range),
11304         (gst_base_src_default_check_get_range):
11305         * libs/gst/base/gstbasesrc.h:
11306           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11307           provide default implementation, and rename
11308           gst_base_src_check_get_range() to
11309           gst_base_src_pad_check_get_range() for clarity.
11310
11311 2006-03-06  Wim Taymans  <wim@fluendo.com>
11312
11313         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11314         Make property overridable.
11315
11316 2006-03-06  Wim Taymans  <wim@fluendo.com>
11317
11318         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11319         (gst_base_sink_init), (gst_base_sink_set_property),
11320         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11321         * libs/gst/base/gstbasesink.h:
11322         API addition: Make max-lateness a property.
11323
11324 2006-03-06  Wim Taymans  <wim@fluendo.com>
11325
11326         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11327         (gst_base_sink_do_sync), (gst_base_sink_render_object):
11328         Don't ever draw a frame that is >10ms late.
11329
11330 2006-03-06  Michael Smith  <msmith@fluendo.com>
11331
11332         * gst/gstmessage.c: (_gst_message_copy):
11333           When copying a message, set the parent_refcount of the enclosed
11334           structure to point at the copy, not the original message.
11335
11336 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11337
11338         Patch by: Christophe Fergeau
11339
11340         * gst/gstutils.h:
11341           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11342           usable in c++ code (#333417)
11343
11344 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11345
11346         * gst/gstclock.h:
11347           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11348
11349 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
11350
11351         * libs/gst/base/gstbasetransform.c:
11352         (gst_base_transform_transform_caps):
11353           Make sure caps are writable before passing them to
11354           gst_caps_append().
11355
11356 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11357
11358         * gst/gsterror.h:
11359           Fix some minor docs errors.
11360
11361 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11362
11363           Patch by: Ross Burton <ross at burtonini dot com>
11364
11365         * gst/gsterror.c: (_gst_resource_errors_init):
11366         * gst/gsterror.h:
11367           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11368
11369 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11370
11371         * gst/gst.c:
11372         Add a check and output a g_warning when GStreamer is built
11373         against GLib 2.6 but running against 2.8 or higher, and vice 
11374         versa. (Closes: #323542)
11375
11376 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11377
11378         * gst/parse/parse.l:
11379           Commit patch for parse_launch syntax from #331255. Removes 
11380           support for quoted strings and mimetypes when writing filtered 
11381           caps. See the bug report for more details - I'm pretty sure this
11382           obscure feature is not in use by _anyone_ anywhere.
11383
11384           With this simple change, the size of the gstreamer.so here 
11385           drops from 2193KB to 1565KB.
11386
11387 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11388
11389         * plugins/elements/gsttypefindelement.h:
11390         * plugins/elements/gsttypefindelement.c:
11391         (gst_type_find_element_src_event), (start_typefinding),
11392         (stop_typefinding), (gst_type_find_element_handle_event),
11393         (gst_type_find_element_chain),
11394         (gst_type_find_element_chain_do_typefinding):
11395           Use gst_type_find_helper_for_buffer() for chain-based
11396           typefinding.
11397
11398 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11399
11400         * plugins/elements/gsttypefindelement.c:
11401         (gst_type_find_element_class_init),
11402         (gst_type_find_element_set_property),
11403         (gst_type_find_element_get_property):
11404           Deprecate "maximum" property (not only was it only taken into
11405           account for typefinding in push-mode anyway, it also was never
11406           actually possible to set it in the first place because the
11407           property was registered with the numeric property ID for the
11408           "minimum" property). Register "maximum" property correctly,
11409           for the sake of future copy'n'pasters. Remove some cruft
11410           from property get/set functions.
11411
11412 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11413
11414         * plugins/elements/gsttypefindelement.c:
11415         (gst_type_find_element_activate):
11416           Use gst_type_find_helper_get_range() here, so we
11417           can honour the "minimum" property and also emit
11418           the signal with the correct probability of the found caps.
11419
11420 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
11421
11422         * docs/libs/gstreamer-libs-sections.txt:
11423         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11424         (helper_find_suggest), (gst_type_find_helper_get_range),
11425         (gst_type_find_helper):
11426         * libs/gst/base/gsttypefindhelper.h:
11427           New API: gst_type_find_helper_get_range() (#333042).
11428
11429 2006-03-02  Michael Smith  <msmith@fluendo.com>
11430
11431         * gst/gstregistryxml.c: (load_feature):
11432           Asserting on a failure to read part of the registry is Not Cool.
11433           Just log a warning and return NULL (which is already handled)
11434
11435 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
11436
11437         * win32/common/libgstbase.def:
11438           added export of gst_type_find_helper_for_buffer
11439         * win32/common/libgstbase.def:
11440           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11441           gst_ghost_pad_get_target
11442
11443 2006-02-28  Wim Taymans  <wim@fluendo.com>
11444
11445         * docs/design/draft-klass.txt:
11446         We use Filter now.
11447         Added Connector to mark elements that are only used to
11448         allow pipeline connections.
11449         Moved Debug to extra feature since most of them are 
11450         functionally something else.
11451
11452 2006-02-28  Wim Taymans  <wim@fluendo.com>
11453
11454         * docs/design/draft-klass.txt:
11455         Some updates and clarifications.
11456
11457 2006-02-28  Wim Taymans  <wim@fluendo.com>
11458
11459         * docs/design/draft-klass.txt:
11460         Proposal for klass field values.
11461
11462         * docs/design/part-streams.txt:
11463         Start of a doc describing stream anatomy.
11464
11465 2006-02-28  Wim Taymans  <wim@fluendo.com>
11466
11467         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11468         Help the compiler a bit with type registration.
11469         Use existing forward cod path instead of duplicating it when 
11470         handling a message.
11471         
11472         * gst/gstbus.c: (gst_bus_get_type):
11473         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11474         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11475         * gst/gstclock.c: (gst_clock_get_type):
11476         * gst/gstelement.c: (gst_element_get_type),
11477         * gst/gstelementfactory.c: (gst_element_factory_get_type):
11478         * gst/gstindexfactory.c: (gst_index_factory_get_type):
11479         * gst/gstminiobject.c: (gst_mini_object_get_type):
11480         * gst/gstpad.c: (gst_pad_get_type):
11481         * gst/gstsegment.c: (gst_segment_get_type):
11482         * gst/gststructure.c: (gst_structure_get_type):
11483         * gst/gstsystemclock.c: (gst_system_clock_get_type):
11484         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11485         * gst/gstvalue.c:
11486         Help compiler with type registration.
11487
11488         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11489         Small doc update.
11490
11491 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11492
11493         * plugins/elements/gsttypefindelement.c:
11494         (gst_type_find_element_handle_event):
11495           When we get an EOS event and have not found a type yet
11496           (most likely because we had not yet accumulated
11497           TYPE_FIND_MIN_SIZE of data yet), try to determine the
11498           type given the data we have so far. Fixes typefinding
11499           for very short streams again, most notably quicktime
11500           redirections as used on Apple's trailer site (#331701).
11501
11502 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11503
11504         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11505         (gst_type_find_helper):
11506           Try typefinding factories with the highest rank first.
11507
11508 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11509
11510         * docs/libs/gstreamer-libs-docs.sgml:
11511         * docs/libs/gstreamer-libs-sections.txt:
11512         * libs/gst/base/gsttypefindhelper.c:
11513           Add section for typefind helper and add documentation
11514           for the old and the new function.
11515
11516 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11517
11518         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11519         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11520         (gst_type_find_helper_for_buffer):
11521         * libs/gst/base/gsttypefindhelper.h:
11522           New API: gst_type_find_helper_for_buffer() (#332723).
11523           
11524 2006-02-27  Michael Smith  <msmith@fluendo.com>
11525
11526         Patch by: Loïc Minier
11527
11528         * configure.ac:
11529         * docs/Makefile.am:
11530         * docs/slides/Makefile.am:
11531           prevent CVS directories getting disted.
11532
11533 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11534
11535         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11536           Use the REFCOUNTING category for caps refcounting.
11537           
11538 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11539
11540         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11541           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11542
11543 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11544
11545         * plugins/elements/gsttypefindelement.c:
11546         (gst_type_find_element_activate):
11547           Use gst_pad_check_pull_range() before _activate_pull()
11548           to avoid unnecessary open/close (see #331690).
11549
11550 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11551
11552         * gst/gstutils.c:
11553           Docs enhancement: make it crystal clear what the
11554           gst_pad_add_*_probe() callbacks should look like.
11555
11556 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11557
11558         * libs/gst/base/gstbasesrc.c:
11559           Document how applications can stop recording from
11560           live sources (see #330996).
11561
11562 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11563
11564         * tests/check/Makefile.am:
11565         * tests/check/libs/basesrc.c: (eos_event_counter),
11566         (basesrc_eos_events_pull), (basesrc_eos_events_push),
11567         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11568         (gst_basesrc_suite), (main):
11569           ... and add some tests for the base source EOS stuff.
11570
11571 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11572
11573         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11574           Test case originally showed the problem fixed below,
11575           but was then amended. Add checks back at the place
11576           where they used to be.
11577
11578 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11579
11580         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11581         (gst_base_src_init), (gst_base_src_loop),
11582         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11583         (gst_base_src_change_state):
11584         * libs/gst/base/gstbasesrc.h:
11585           Don't unconditionally send EOS when going from PAUSED to
11586           READY state, esp. make sure we don't send two EOS events
11587           in some cases (e.g. one when reaching EOS and one when
11588           going from PAUSED to READY). Also, we don't want to send
11589           EOS events when operating in pull mode. However, we do
11590           want to send an EOS event when shutting down a live
11591           source explicitly, for example (fixes #330996).
11592           
11593 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11594
11595         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11596           Update src->read_position after a seek when not using mmap.
11597           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11598
11599 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
11600
11601         * gst/Makefile.am:
11602         * gst/gstparse.h:
11603         * gst/gstutils.c:
11604         * gst/gstutils.h:
11605         Make things work with --disable-parse as they do with 
11606         --disable-load-save - the symbols involved disappear, but the
11607         header is still installed and GST_DISABLE_PARSE is included via
11608         gstconfig.h
11609
11610 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11611
11612         * libs/gst/base/gstbasetransform.c:
11613         (gst_base_transform_change_state): Fix a stupid bug. I was 
11614         sure I compiled that.
11615
11616 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11617
11618         * gst/gstpad.c: (gst_pad_set_blocked_async):
11619         * gst/gstutils.c: (gst_pad_add_data_probe),
11620         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11621         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11622         (gst_pad_remove_buffer_probe): Make those function act on the
11623         ghostpad target when it's a ghostpad. (Closes #331727)
11624
11625 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11626
11627         * libs/gst/base/gstbasetransform.c:
11628         (gst_base_transform_change_state): Make basetransform reusable.
11629         (Closes #331898)
11630
11631 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
11632
11633         * docs/random/release:
11634         Move the current documentation of how to do a release to the top
11635         of the file.
11636
11637         * gst/gstbin.c: (gst_bin_class_init),
11638         (gst_bin_handle_message_func):
11639         Allow multiple state-recalculation threads. (Closes #328873)
11640
11641 2006-02-19  Julien MOUTTE  <julien@moutte.net>
11642
11643         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11644         * gst/gstpad.c: (gst_pad_set_event_function),
11645         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11646         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11647         2 strings. You can't use the STR_NULL macro on that.
11648
11649 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
11650
11651         * gst/gstpad.c: (gst_pad_set_event_function),
11652         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11653         (gst_pad_set_getcaps_function)
11654         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11655           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11656           So now, we can use --gst-debug-level=5 on Windows
11657         * win32/common/libgstcontroller.def:
11658           Added export of gst_controller_init
11659         * win32/vs6/libgstcontroller.dsp:
11660           Fixed Release post build configuration
11661
11662 2006-02-17  Wim Taymans  <wim@fluendo.com>
11663
11664         * tests/check/gst/gstquery.c: (GST_START_TEST):
11665         Added another check.
11666
11667 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
11668
11669         * plugins/elements/gsttypefindelement.c: (find_peek):
11670           We can do peeks at non-zero offsets, as long as they
11671           fall within the buffer we have.
11672
11673 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
11674
11675         * tests/check/Makefile.am:
11676         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11677         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11678         (parse_suite), (main):
11679           Add testsuite for parse launch syntax
11680
11681 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
11682
11683         * plugins/elements/gsttypefindelement.c:
11684         (gst_type_find_element_chain):
11685           When typefinding is unsuccessful in the chain function, don't
11686           error out immediately. Only error out with NO_CAPS_FOUND if
11687           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11688           otherwise simply wait for more data so we can try typefinding
11689           again with more data later. Also, don't attempt to typefind
11690           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11691           this should improve typefinding from network sources where the
11692           size of the first buffer can be somewhat random.
11693
11694 2006-02-14  Wim Taymans  <wim@fluendo.com>
11695
11696         * docs/gst/gstreamer-sections.txt:
11697         * gst/gstpadtemplate.c:
11698         * gst/gstpadtemplate.h:
11699         Fix padtemplate docs, fixes #328805.
11700
11701 2006-02-14  Wim Taymans  <wim@fluendo.com>
11702
11703         * tools/gst-launch.c: (main):
11704         NO_PREROLL is not an ERROR so don't send confusing messages
11705         to the user.
11706
11707 2006-02-14  Wim Taymans  <wim@fluendo.com>
11708
11709         Patch by: Torsten Schoenfeld
11710
11711         * gst/gstregistry.c: (gst_registry_get_default),
11712         (_gst_registry_cleanup):
11713         Protect default registry with lock and ref/sink it.
11714         Fixes #324818
11715
11716 2006-02-14  Wim Taymans  <wim@fluendo.com>
11717
11718         * gst/gstbuffer.c:
11719         * gst/gstquery.c: (gst_query_list_add_format),
11720         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11721         (gst_query_parse_formats_nth):
11722         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11723         Docs fixes.
11724
11725 2006-02-14  Wim Taymans  <wim@fluendo.com>
11726
11727         * docs/gst/gstreamer-sections.txt:
11728         Reworked query docs.
11729
11730         * gst/gstquery.c: (gst_query_new_formats),
11731         (gst_query_list_add_format), (gst_query_set_formats),
11732         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11733         (gst_query_parse_formats_nth):
11734         * gst/gstquery.h:
11735         Flesh out formats query, added some new methods.
11736         Fix part of #324398.
11737
11738         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11739         Added query creation tests.
11740
11741 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
11742
11743         * gst/gstpad.c: (fixate_value):
11744         Add a default fixation for fraction lists.
11745
11746 2006-02-13  Wim Taymans  <wim@fluendo.com>
11747
11748         * gst/gsttask.c: (gst_task_init), (gst_task_func),
11749         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11750         (gst_task_join):
11751         * gst/gsttask.h:
11752         Detect and warn for obvious deadlocks. fixes #320340
11753         Fix error case where lock was not released.
11754
11755         * tests/check/Makefile.am:
11756         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11757         (task_func), (gst_element_suite), (main):
11758         Add task check.
11759
11760 2006-02-13  Wim Taymans  <wim@fluendo.com>
11761
11762         * docs/gst/gstreamer-sections.txt:
11763         * gst/gstbus.c:
11764         Add new functions to docs.
11765
11766 2006-02-13  Wim Taymans  <wim@fluendo.com>
11767
11768         * docs/design/part-TODO.txt:
11769         Updated TODO list, basesrc supports seeking to non-bytes
11770         formats.
11771
11772         * docs/design/part-element-sink.txt:
11773         Update docs.
11774
11775         * gst/gstbin.c: (bin_replace_message),
11776         (gst_bin_handle_message_func):
11777         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11778         * gst/gstevent.c: (gst_event_finalize):
11779         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11780         (gst_pad_send_event):
11781         Use shiny new _TYPE_NAME macros.
11782
11783         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11784         Move debug statement up.
11785
11786         * gst/gstelement.c: (gst_element_set_locked_state):
11787         Add some debugging.
11788
11789 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
11790
11791         * docs/gst/gstreamer-sections.txt:
11792         * gst/gstmessage.h:
11793         * gst/gstquery.h:
11794           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11795           macros (#330906). Also, document the already existing
11796           GST_QUERY_TYPE macro.
11797
11798 2006-02-13  Wim Taymans  <wim@fluendo.com>
11799
11800         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11801         (event_probe), (GST_START_TEST):
11802         Only events up to the pipeline EOS are counted, there are
11803         some more when going to NULL currently which we don't care
11804         about for now.
11805
11806 2006-02-13  Wim Taymans  <wim@fluendo.com>
11807
11808         * gst/gstpad.c: (gst_pad_send_event):
11809         Correctly check flushing and emit probes. fixes #330125
11810
11811 2006-02-10  Andy Wingo  <wingo@pobox.com>
11812
11813         * gst/gstbus.c (gst_bus_class_init): Declare our private data
11814         structure.
11815         (gst_bus_init): Cache the location of the private data in the
11816         instance structure.
11817         (gst_bus_enable_sync_message_emission) 
11818         (gst_bus_disable_sync_message_emission): Implement new public
11819         functions.
11820         (gst_bus_post): Emit the sync-message signal if the user asked for
11821         it. Fixes #330684.
11822
11823         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11824         location of the bus-private structure.
11825         (gst_bus_enable_sync_message_emission)
11826         (gst_bus_disable_sync_message_emission): API addition
11827
11828 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
11829
11830         Patch by: Vincent Torri
11831
11832         * docs/pwg/building-boiler.xml:
11833         PWG patch from #326800
11834
11835 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
11836
11837         * configure.ac:
11838         * docs/Makefile.am:
11839         * docs/design/Makefile.am:
11840           Dist design docs.
11841
11842 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11843
11844         * configure.ac:
11845           back to CVS
11846
11847 === release 0.10.3 ===
11848
11849 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
11850
11851         * configure.ac:
11852           releasing 0.10.3, "Like a virgin"
11853
11854 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11855
11856         * configure.ac:
11857           2nd prerelease of 0.10.3
11858           Bump libtool versioning.
11859
11860 2006-02-07  Andy Wingo  <wingo@pobox.com>
11861
11862         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11863         update last_stop if we're in TIME format and the timestamp is
11864         valid.
11865
11866         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
11867         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
11868         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11869         If we get a new newsegment with a different format, adapt
11870         accordingly.
11871
11872         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11873         of 0. Not a problem, really.
11874
11875         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11876         warn if sync=true.
11877
11878 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
11879
11880         * configure.ac:
11881           Prelease of 0.10.3
11882
11883 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
11884
11885         * win32/vs7:
11886           project files updated to the default vs7 configuration
11887         * win32/common/libgstbase.def:
11888         * win32/common/libgstreamer.def:
11889           added new symbols,
11890           removed empty lines,
11891           sorted all exported symbols alphabetically
11892         * win32/common/dirent.c:
11893         * win32/common/dirent.h:
11894         * win32/common/gchar.h:
11895           use windows line end.
11896           
11897 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11898
11899         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11900           Send EOS event when stopping.
11901
11902 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11903
11904         * docs/README:
11905           Tell folks what to do if the plugin-foobar.xml file
11906           hasn't been generated for a newly-added plugin.
11907
11908 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11909
11910         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11911         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11912         (gst_collect_pads_start), (gst_collect_pads_stop),
11913         (gst_collect_pads_event): Collectpads now holds a reference
11914         to the GstPad that was added. Indeed we don't want to look
11915         at pads that might just go away with no warning...
11916
11917 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11918
11919         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11920         (gst_collect_pads_start), (gst_collect_pads_stop),
11921         (gst_collect_pads_event), (gst_collect_pads_chain):
11922         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11923         Mark Nauwelaerts's patch on bug #328491.
11924
11925 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11926
11927         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11928         (gst_utils_suite):
11929           Add some simple tests for gst_parse_bin_from_description() and
11930           gst_bin_find_unconnected_pad() (#329069).
11931
11932 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11933
11934         * tools/gst-launch.c: (event_loop), (main):
11935           Catch errors during preroll (#320084).
11936
11937 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
11938
11939         * plugins/elements/gsttypefindelement.c:
11940         (gst_type_find_element_activate):
11941           Post TYPE_NOT_FOUND error message when typefinding
11942           is unsuccessful in the activate function as well.
11943
11944 2006-02-02  Wim Taymans  <wim@fluendo.com>
11945
11946         * docs/design/part-element-sink.txt:
11947         Updated doc.
11948
11949 2006-02-02  Wim Taymans  <wim@fluendo.com>
11950
11951         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11952         (gst_base_sink_render_object),
11953         (gst_base_sink_queue_object_unlocked):
11954         Only keep track of prerollable items when we are 
11955         prerolling.
11956         Before rendering after preroll, always check if we
11957         have queued items.
11958         Added some more debugging.
11959
11960 2006-02-02  Wim Taymans  <wim@fluendo.com>
11961
11962         * gst/gstelement.c: (gst_element_continue_state),
11963         (gst_element_set_state_func), (gst_element_change_state):
11964         Fixed #326576, been running this for quite some time with
11965         no regressions at all.
11966
11967 2006-02-02  Wim Taymans  <wim@fluendo.com>
11968
11969         * common/gst.supp:
11970         Added more suppressions
11971
11972 2006-02-02  Wim Taymans  <wim@fluendo.com>
11973
11974         * docs/design/part-element-sink.txt:
11975         Updated document.
11976
11977         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11978         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11979         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11980         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11981         (gst_base_sink_do_sync), (gst_base_sink_render_object),
11982         (gst_base_sink_preroll_object),
11983         (gst_base_sink_queue_object_unlocked),
11984         (gst_base_sink_queue_object), (gst_base_sink_event),
11985         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11986         (gst_base_sink_loop), (gst_base_sink_activate_pull),
11987         (gst_base_sink_get_position), (gst_base_sink_change_state):
11988         * libs/gst/base/gstbasesink.h:
11989         Totally refactored matching the design doc.
11990         Use two segments, one to clip incomming buffers and another to
11991         perform sync.
11992         Handle queueing correctly, bypass the queue when playing.
11993         Make EOS cancelable.
11994         Handle errors correctly when operating in pull based mode.
11995
11996         * tests/check/elements/fakesink.c: (GST_START_TEST),
11997         (fakesink_suite):
11998         Added new check for sinks.
11999
12000 2006-02-02  Wim Taymans  <wim@fluendo.com>
12001
12002         * gst/gstsegment.c: (gst_segment_clip):
12003         No reason to refuse to clip when start == -1
12004
12005 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
12006
12007         * docs/README:
12008         * docs/manual/intro-basics.xml:
12009         * docs/manual/intro-preface.xml:
12010         * docs/manual/manual.xml:
12011         * docs/pwg/advanced-dparams.xml:
12012         * docs/pwg/intro-basics.xml:
12013         * docs/pwg/intro-preface.xml:
12014         * docs/pwg/pwg.xml:
12015           describe dparams (controller) for plugins
12016           unify docs a little more
12017
12018 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
12019
12020         * docs/gst/gstreamer-sections.txt:
12021         * gst/gstutils.c: (element_find_unconnected_pad),
12022         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12023         * gst/gstutils.h:
12024           Add new API: gst_parse_bin_from_description() and
12025           gst_bin_find_unconnected_pad() (#329069).
12026
12027 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
12028
12029         * docs/manual/README:
12030           uncover a nasty detail of the docs build
12031
12032 2006-01-31  Wim Taymans  <wim@fluendo.com>
12033
12034         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12035         Don't cache duration messages if we're not going to use or
12036         free them.
12037
12038 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
12039
12040         * docs/manual/advanced-dparams.xml:
12041         * docs/pwg/advanced-dparams.xml:
12042           more dparam docs
12043         * gst/gstindex.c:
12044           fix docs
12045         * libs/gst/controller/lib.c: (gst_controller_init):
12046           init just once
12047
12048 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
12049
12050         * gst/gstelement.c: (gst_element_message_full):
12051           also show file/line/func if no additional debug was given
12052
12053 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
12054         
12055         * win32/vs7/grammar.vcproj:
12056           activate copy of autogenerated files for Release mode
12057
12058 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12059         
12060         * win32/common/libgstreamer.def:
12061           export gst_value_compare
12062
12063 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
12064
12065         * plugins/elements/Makefile.am:
12066         * plugins/elements/gstelements.c:
12067         * plugins/elements/gstfdsink.c: (_do_init),
12068         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12069         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12070         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12071         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12072         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12073         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12074         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12075         * plugins/elements/gstfdsink.h:
12076         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12077
12078 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
12079
12080         * docs/manual/advanced-dparams.xml:
12081           describe controller
12082         * docs/manual/advanced-position.xml:
12083         * docs/manual/basics-init.xml:
12084         * docs/manual/manual.xml:
12085         * docs/manual/titlepage.xml:
12086         * docs/pwg/pwg.xml:
12087         * docs/pwg/titlepage.xml:
12088           cleanup xml (more to come)
12089         * libs/gst/controller/gstcontroller.c:
12090           fix typo
12091
12092 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12093         
12094         * win32/vs6/grammar.dsp:
12095           add autogen of gstmarshal.c,h for Release mode
12096                 
12097 2006-01-30  Wim Taymans  <wim@fluendo.com>
12098
12099         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12100         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12101         (gst_base_sink_handle_object), (gst_base_sink_event),
12102         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12103         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12104         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12105         (gst_base_sink_deactivate), (gst_base_sink_activate),
12106         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12107         (gst_base_sink_query), (gst_base_sink_change_state):
12108         Basesink cleanups, remove some old code.
12109         Handle the case where a subclass can preroll in the render
12110         method (mostly audiosinks).
12111         Handle more events.
12112         Remove some locks around variables that are now protected
12113         with the PREROLL_LOCK (clock_id, flushing, ..).
12114         Optimize position query some more, do correct locking.
12115         Remove old code to push queue in state change, this is not
12116         needed anymore since preroll blocks on all prerollable items 
12117         now.
12118         Almost implemented as described in design doc.
12119
12120 2006-01-30  Wim Taymans  <wim@fluendo.com>
12121
12122         * tests/check/gst/gstbin.c: (GST_START_TEST):
12123         Wait for refcount to settle down before checking.
12124
12125 2006-01-30  Wim Taymans  <wim@fluendo.com>
12126
12127         * docs/design/part-element-sink.txt:
12128         Pseudo code overview of desired sink behaviour regarding
12129         preroll.
12130
12131 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12132         * win32/vs6/grammar.dsp:
12133           fix some bugs in Release mode for autogenerated files
12134                 
12135 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12136         * win32/common/libgstbase.def:
12137         * win32/common/libgstreamer.def:
12138           export some new symbols: gst_base_src_set_format,
12139           gst_iterator_next, gst_structure_set_valist
12140
12141 2006-01-29  Julien MOUTTE  <julien@moutte.net>
12142
12143         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12144         Set pad functions unconditionally. Fixes #329105.
12145
12146 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12147         * win32/vs8:
12148           add vs8 project files created by Sergey Scobich
12149
12150 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
12151
12152         * gst/gstutils.c: (gst_element_unlink_pads):
12153         Don't leak pad references.
12154
12155         * tests/check/elements/fakesink.c: (GST_START_TEST):
12156         * tests/check/generic/sinks.c: (GST_START_TEST):
12157         * tests/check/generic/states.c: (GST_START_TEST):
12158         * tests/check/gst/gstbin.c: (GST_START_TEST):
12159         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12160         * tests/check/gst/gstelement.c: (GST_START_TEST):
12161         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12162         * tests/check/gst/gstiterator.c: (GST_START_TEST):
12163         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12164         Fix a bunch of leaks. Make generic/sinks.c
12165         use a bit less cpu by slowing the buffer rate
12166         between fakesrc and fakesink.
12167         
12168 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
12169         * gst/gstcaps.c:
12170         * gst/gstelement.c: (gst_element_send_event):
12171         * gst/gstevent.c:
12172         * gst/gstinfo.c:
12173         * gst/gstiterator.c:
12174         * gst/gstiterator.h:
12175         * gst/gstpad.c: (gst_pad_send_event):
12176         * gst/gststructure.c:
12177         * gst/gsturi.c:
12178         * gst/gstutils.c:
12179         * gst/gstvalue.c:
12180         * libs/gst/base/gstadapter.c:
12181           doc fixes, to link to function, just write gst_cool_function(), don't
12182           prefix with '#'
12183
12184 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12185
12186         * plugins/elements/gsttee.c: (gst_tee_do_push),
12187         (gst_tee_handle_buffer):
12188         Always prefer an actual return value from a src
12189         pad in place of NOT_LINKED. This means we return
12190         WRONG_STATE when all src pads are WRONG_STATE
12191         instead of NOT_LINKED.
12192
12193         Lock when replacing the last message to prevent
12194         racing with the get_property method.
12195
12196         Add debug output
12197
12198 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12199
12200         * tests/check/Makefile.am:
12201         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12202         (main):
12203         Add a very simple check that should have caught the memleak I fixed
12204         last night (if not for the slice allocator hiding it)
12205
12206 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12207
12208         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12209         (gst_bin_remove_func), (gst_bin_handle_message_func),
12210         (bin_query_duration_fold), (bin_query_generic_fold):
12211         Clean up references to the clock provider when disposed or when
12212         handling a clock-lost message from it.
12213
12214         Unref sinks when performing a query via gst_iterator_fold, as the
12215         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12216
12217         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12218         (gst_clock_set_master):
12219         Drop our reference to the master clock, if any, when we are disposed.
12220
12221         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12222         Chain up in dispose. 
12223
12224 2006-01-26  Wim Taymans  <wim@fluendo.com>
12225
12226         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12227         Add some debugging.
12228
12229 2006-01-26  Julien MOUTTE  <julien@moutte.net>
12230
12231         * plugins/elements/gsttee.c: (gst_tee_do_push),
12232         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12233         handles pad being NOT_LINKED or in WRONG_STATE.
12234
12235 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12236
12237         * win32/MANIFEST:
12238           more updating
12239
12240 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12241
12242         * win32/MANIFEST:
12243           remove obsolete entry
12244
12245 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12246
12247         * docs/gst/gstreamer-sections.txt:
12248         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12249         (gst_bin_iterate_sources), (gst_bin_send_event):
12250         * gst/gstbin.h:
12251         * gst/gstelement.c: (gst_element_send_event):
12252         * gst/gstevent.c:
12253         * gst/gstpad.c: (gst_pad_send_event):
12254           added code for downstream events, reviewed docs in gstevent.c
12255
12256 2006-01-25  Julien MOUTTE  <julien@moutte.net>
12257
12258         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12259         We only query position using the clock in the playing state.
12260         Query peer in the other cases.
12261         * win32/common/config.h: Updates.
12262
12263 2006-01-24  Wim Taymans  <wim@fluendo.com>
12264
12265         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12266         A clock entry that is scheduled for the exact time of the
12267         clock is still in time.
12268
12269         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12270         (gst_base_sink_do_sync):
12271         Add some more debug info.
12272
12273 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12274
12275         * win32/vs7:
12276           Add new vs7 project files and solution.
12277
12278 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12279
12280         * win32/vs7:
12281           all files removed as they were out-dated.
12282
12283 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12284
12285         * docs/random/release:
12286           update notes
12287         * gst/gstbin.c: (gst_bin_init):
12288         * gst/gstbus.c: (gst_bus_new):
12289         * gst/gstbus.h:
12290         * gst/gstpipeline.c: (gst_pipeline_init):
12291           use gst_bus_new(), improve logging, fix docs
12292         * win32/common/config.h:
12293           update for cvs build
12294
12295 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12296
12297         * autogen.sh:
12298           up required version of automake to 1.7
12299
12300 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
12301
12302         * win32/common/libgstreamer.def:
12303           export gst_buffer_is_metadata_writable
12304
12305 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
12306
12307         * docs/gst/gstreamer-sections.txt:
12308         * gst/gstevent.h:
12309           Add gst_event_replace() (#327001)
12310
12311 2006-01-20  Wim Taymans  <wim@fluendo.com>
12312
12313         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12314         Make it actually compile too..
12315
12316 2006-01-20  Wim Taymans  <wim@fluendo.com>
12317
12318         * gst/gstcaps.c:
12319         Clarify behaviour of _is_equal() when passing NULL parameters.
12320
12321         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12322         (gst_pad_set_caps):
12323         Cleanups. Don't unref NULL caps.
12324         When setting the same caps, protect caps of the pad with
12325         proper lock.
12326         Use full functionality of _is_equal() when comparing caps.
12327
12328 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12329
12330         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12331         Don't loop infinitely if there are no buffers to present. Partially
12332         fixes #327197, but collectpads is just broken for reusing elements
12333         to do multiple encodes atm.
12334
12335 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12336
12337         * tools/gst-inspect.c: (print_element_features):
12338         * tools/gst-xmlinspect.c: (main):
12339         URL_HANDLER is not a plugin feature we can search for in
12340         the registry.
12341
12342 2006-01-19  Edward Hervey  <edward@fluendo.com>
12343
12344         * gst/gstelement.c: (gst_element_pads_activate): 
12345         When activating, do src pads first, then sink pads.
12346         When de-activating, do sink pads first, then src pads.
12347
12348 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12349
12350         * docs/gst/gstreamer-sections.txt:
12351         Add gst_index_add_associationv to the docs
12352
12353 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12354
12355         * gst/gstevent.c:
12356           Fix docs typo
12357
12358         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12359         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12360           Do some refactoring. Doesn't actually change functionality,
12361           but makes landing the DRAIN event easier later.
12362
12363 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
12364
12365         * docs/pwg/advanced-scheduling.xml:
12366           Update from 0.9.x to 0.10 API and make example a bit
12367           clearer.
12368
12369 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12370
12371         * docs/gst/gstreamer-sections.txt:
12372         Add gst_buffer_(is|make)_metadata_writable methods.
12373
12374 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12375
12376         * docs/design/part-sparsestreams.txt:
12377         Update sparse streams doc, hopefully for greater clarity
12378
12379 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
12380
12381         * docs/design/part-events.txt:
12382         Remove mention of FILLER events.
12383         Add DRAIN event.
12384
12385         * docs/design/part-sparsestreams.txt:
12386         Write some things about using NEWSEGMENT to keep sparse streams
12387         flowing.
12388
12389 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12390
12391         * gst/gstbin.c: (gst_bin_dispose):
12392           Guard gst_object_unref call against a NULL object (dispose
12393           can theoretically be called multiple times).
12394           
12395 2006-01-18  Wim Taymans  <wim@fluendo.com>
12396
12397         * gst/gstbin.c: (gst_bin_element_set_state):
12398         * gst/gstclock.c: (gst_clock_id_wait):
12399         Added some more debug info.
12400
12401         * libs/gst/base/gstadapter.c:
12402         Added more docs.
12403
12404         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12405         (gst_base_sink_do_sync), (gst_base_sink_chain):
12406         Added some comments.
12407
12408 2006-01-18  Wim Taymans  <wim@fluendo.com>
12409
12410         * tests/check/Makefile.am:
12411         * tests/check/elements/fakesink.c: (chain_async_buffer),
12412         (chain_async), (chain_async_return), (GST_START_TEST),
12413         (fakesink_suite), (main):
12414         Added fakesink test that checks prerolling and clipping
12415         behaviour.
12416
12417         * tests/check/gst/gstutils.c: (GST_START_TEST):
12418         Make check run faster so that buildbots don't timeout.
12419
12420 2006-01-18  Wim Taymans  <wim@fluendo.com>
12421
12422         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12423         (gst_base_sink_do_sync):
12424         Some cleanups.
12425         When the sink finishes blocking on the preroll buffer, it can
12426         immediatly render it instead of rendering when the next buffer
12427         arrives.
12428
12429 2006-01-18  Wim Taymans  <wim@fluendo.com>
12430
12431         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12432         (gst_base_sink_get_property), (gst_base_sink_do_sync),
12433         (gst_base_sink_chain):
12434         Small cleanups.
12435         GST_ELEMENT_CLOCK and sync are protected with LOCK.
12436         Don't store _last_stop if the buffer is dropped.
12437
12438 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12439
12440         * plugins/elements/gsttypefindelement.c:
12441         (gst_type_find_element_class_init):
12442           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12443           object method handler that sets the caps on the pad and we want
12444           that to happen before we emit the signal (fixes e.g. feeding a
12445           plain text file to decodebin).
12446
12447 2006-01-18  Christian Schaller  <Christian@fluendo.com>
12448
12449         * gst/gstplugin.c: Add MPL and Proprietary as license options
12450
12451 2006-01-18  Andy Wingo  <wingo@pobox.com>
12452
12453         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12454         symbol was exported before, it appears this was just an oversight.
12455         Fixes #168703.
12456         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12457
12458         * gst/gstindex.c (gst_index_add_associationv): Changed int in
12459         prototype to gint. OK since this prototype was not in the header.
12460
12461 2006-01-17  Andy Wingo  <wingo@pobox.com>
12462
12463         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12464         registry while we remove plugins.
12465
12466         * tools/gst-inspect.c (print_element_info): Don't unref the
12467         factory arg, that should be the responsibility of whatever code
12468         received the ref. Fixes a double-free when called from
12469         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12470         (main): Unref the factory if we have one.
12471         (print_element_list): No change -- relies on the
12472         plugin_feature_list_free to free the list of features.
12473
12474 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
12475
12476         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12477         (gst_buffer_make_metadata_writable):
12478         * gst/gstbuffer.h:
12479         * libs/gst/base/gstbasetransform.c:
12480         (gst_base_transform_prepare_output_buf):
12481         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12482         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12483           Replace gst_buffer_(make|is)_metadata_writable patch now
12484           that the release is out.
12485
12486 2006-01-17  Andy Wingo  <wingo@pobox.com>
12487
12488         * gst/gstregistry.c: Reflow design comment. Update so as to speak
12489         in the present tense without reference to versions.
12490
12491         * gst/gstregistry.c (gst_registry_add_plugin)
12492         (gst_registry_remove_plugin, gst_registry_remove_feature)
12493         (gst_registry_find_feature, gst_registry_get_feature_list)
12494         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12495         (gst_registry_lookup, gst_registry_scan_path)
12496         (_gst_registry_remove_cache_plugins)
12497         (gst_registry_get_feature_list_by_plugin): Add argument
12498         validation.
12499
12500 === release 0.10.2 ===
12501
12502 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
12503
12504         * configure.ac:
12505           releasing 0.10.2, "If man is five"
12506
12507 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12508
12509         * gst/gstbuffer.c:
12510         * gst/gstbuffer.h:
12511         * libs/gst/base/gstbasetransform.c:
12512         (gst_base_transform_prepare_output_buf):
12513         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12514         * tests/check/gst/gstbuffer.c: (gst_test_suite):
12515           Back out patch until after the release.
12516
12517 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12518
12519         * gst/gstminiobject.c:
12520           Spelling fix in docs.
12521         * ChangeLog - remove conflict indicator
12522
12523 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12524
12525         Reviewed By: Andy Wingo
12526
12527         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12528         (gst_buffer_make_metadata_writable):
12529         * gst/gstbuffer.h:
12530           Add gst_buffer_(is|make)_metadata_writable as analogues of
12531           gst_buffer_(is|make)_writable.
12532
12533         * libs/gst/base/gstbasetransform.c:
12534         (gst_base_transform_prepare_output_buf):
12535         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12536           Use name gst_buffer_(is|make)_metadata_writable functions.
12537
12538         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12539           Test gst_buffer_(is|make)_metadata_writable
12540         
12541           (Closes: #324162)
12542
12543 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12544
12545         * docs/manual/Makefile.am:
12546           don't do parallel make
12547         * configure.ac:
12548           AC_SUBST HOST_CPU
12549         * win32/common/config.h.in:
12550           add generations for HOST_CPU and GST_MAJORMINOR
12551         * win32/common/config.h:
12552           commit generated result
12553
12554 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
12555
12556         * docs/manual/appendix-integration.xml:
12557           Update GNOME integration section to use gst_init_get_option_group()
12558           instead of the old popt stuff (#322911). Also, GNOME applications
12559           should  now use gconf*sink and gconf*src instead of the old gconf
12560           helper lib we had.
12561
12562 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
12563
12564
12565         * docs/gst/gstreamer-docs.sgml:
12566         * docs/gst/gstreamer-sections.txt:
12567         * docs/libs/gstreamer-libs-sections.txt:
12568           add new API entries to the docs
12569         * libs/gst/controller/Makefile.am:
12570         * libs/gst/controller/gstcontroller.c:
12571         * libs/gst/controller/gstcontroller.h:
12572         * libs/gst/controller/gstcontrollerprivate.h:
12573         * libs/gst/controller/gsthelper.c:
12574         * libs/gst/controller/gstinterpolation.c:
12575           move private structs to private header
12576         * po/README:
12577           gstreamer-0.7 -> gstreamer-0.10
12578         * tests/check/libs/struct_i386.h:
12579           remove private structs
12580
12581 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12582
12583         * plugins/indexers/Makefile.am:
12584           Fixes as part of #317048
12585
12586 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12587
12588         * plugins/indexers/Makefile.am:
12589           fix #316086 - compilation when mmap is missing
12590
12591 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
12592
12593         * libs/gst/base/gstbasesink.c:
12594           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
12595           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12596         * win32/common/config.h:
12597           added some defines GST_MAJORMINOR and HOST_CPU
12598         * win32/common/libgstbase.def:
12599         * win32/common/libgstreamer.def:
12600           added some exported functions.
12601
12602 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12603
12604         * libs/gst/controller/gstcontroller.c:
12605         (gst_controlled_property_set_interpolation_mode),
12606         (gst_controlled_property_new):
12607         * libs/gst/controller/gstcontroller.h:
12608         * libs/gst/controller/gstinterpolation.c:
12609         (interpolate_none_get_string_value_array):
12610           make G_TYPE_STRING controlable
12611
12612 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12613
12614         * tools/README:
12615         * tools/gst-feedback.1.in:
12616         * tools/gst-inspect.1.in:
12617         * tools/gst-launch.1.in:
12618         * tools/gst-md5sum.1.in:
12619         * tools/gst-typefind.1.in:
12620         * tools/gst-xmlinspect.1.in:
12621         * tools/gst-xmllaunch.1.in:
12622           cleanup man-pages, remove reference to gst-register, document env-vars
12623
12624 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
12625
12626         * gst/gstbuffer.c: (gst_buffer_span):
12627           gst_buffer_span should copy the timestamp of the first buffer
12628           if they were both originally overlapping subbuffers of the 
12629           same parent, using the same logic as the 'slow copy' case.
12630
12631 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
12632
12633         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12634           Need to awaken ALL the pads when we pop a buffer, otherwise
12635           collectpads only works when there is 2 input streams.
12636
12637 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
12638
12639         * docs/random/ensonic/media-device-daemon.txt:
12640           more ideas (dbus)
12641         * gst/gstbuffer.c:
12642           fix doc example, add clarification
12643         * tools/gst-launch.1.in:
12644           add initial info about GST_PLUGIN_PATH, needs more work
12645
12646 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
12647
12648         * docs/manual/basics-bins.xml:
12649         * docs/manual/basics-elements.xml:
12650         * docs/manual/intro-basics.xml:
12651           Some more minor docs additions and updates.
12652
12653 2006-01-11  Wim Taymans  <wim@fluendo.com>
12654
12655         * docs/manual/basics-bins.xml:
12656         * docs/manual/basics-elements.xml:
12657         Some small fixes as pointed out by Ser-ver on IRC.
12658
12659 2006-01-10  Edward Hervey  <edward@fluendo.com>
12660
12661         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12662         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12663         the single-segment mode.
12664
12665 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
12666
12667         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12668
12669         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12670         (gst_base_src_perform_seek), (gst_base_src_send_event),
12671         (gst_base_src_set_property), (gst_base_src_get_property),
12672         (gst_base_src_loop), (gst_base_src_start),
12673         (gst_base_src_activate_push):
12674         * libs/gst/base/gstbasesrc.h:
12675           Name (private) union; makes Sun's Forte compiler happy (#324900).
12676
12677 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
12678
12679         * README:
12680           gst-register is gone.
12681
12682 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12683
12684         * gst/gstvalue.c: (_gst_value_initialize):
12685           make the G_TYPE_DATE instantiation work if debug is disabled
12686
12687 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
12688
12689         * gst/gstmessage.c: (gst_message_parse_tag),
12690         (gst_message_parse_error), (gst_message_parse_warning):
12691           Don't crash when return location for error/warning debug
12692           string is NULL; add fact that return locations can be
12693           NULL to docs where appropriate.
12694
12695 2006-01-05  Wim Taymans  <wim@fluendo.com>
12696
12697         * gst/gstplugin.c: (gst_plugin_load_file):
12698         Replace strdup by g_strdup.
12699
12700 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12701
12702         * docs/pwg/advanced-types.xml:
12703           fix doc borkage
12704
12705 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12706
12707         submitted by: Abel Cheung
12708
12709         * po/LINGUAS:
12710         * po/zh_TW.po:
12711           Added Chinese (traditional) translation
12712
12713 2006-01-04  Wim Taymans  <wim@fluendo.com>
12714
12715         * docs/manual/basics-pads.xml:
12716         * docs/plugins/Makefile.am:
12717         * docs/plugins/gstreamer-plugins-docs.sgml:
12718         * docs/plugins/gstreamer-plugins-sections.txt:
12719         * docs/pwg/advanced-clock.xml:
12720         * docs/pwg/advanced-scheduling.xml:
12721         * docs/pwg/advanced-types.xml:
12722         * plugins/elements/gstfdsink.c:
12723         * plugins/elements/gstfdsrc.c:
12724         * plugins/elements/gstfdsrc.h:
12725         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12726         * plugins/elements/gstidentity.h:
12727         * plugins/elements/gstqueue.h:
12728         * plugins/elements/gsttee.c:
12729         * plugins/elements/gsttee.h:
12730         * plugins/elements/gsttypefindelement.c:
12731         (gst_type_find_element_class_init):
12732         * plugins/elements/gsttypefindelement.h:
12733         Small updates to various docs.
12734         Added core plugins to docs.
12735
12736 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12737
12738         * common/gst.supp:
12739           add a suppression for liboil's uninitialized variable
12740
12741 2006-01-02  James Livingston  <jrl at ids dot org dot au>
12742
12743         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12744
12745         * gst/gstutils.h:
12746           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12747           macro, so that gcc doesn't complain if the -Wmissing-prototypes
12748           compiler switch is being used (#325429).
12749
12750 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
12751
12752         * gst/gstbin.c: (gst_bin_query):
12753           Disable duration query caching in bins until it gets
12754           fixed (see #324807).
12755
12756 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12757
12758         * tools/gst-inspect.c: (print_element_properties_info):
12759           Handle properties of POINTER and BOXED type.
12760
12761 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12762
12763         * gst/gst.c: (init_post):
12764           Init tags stuff and some other things before loading
12765           any static plugins (there may be other static plugins
12766           than just the GStreamer ones, and they may want to
12767           register their own tags or formats or whatever, and
12768           preferably without segfaulting).
12769
12770         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12771           Print at least a warning in the debug logs if we drop a
12772           query just because we don't know how to adjust the value
12773           in the particular format.
12774
12775 2005-12-24  David Schleef  <ds@schleef.org>
12776
12777         * tools/gstreamer-completion:
12778           Replacement for gst-complete written in sh and sed.  Only
12779           completes names of features, but that's 90% of what I want
12780           it for.  Properties are not available in registry.xml.  (Maybe
12781           they should be...)
12782
12783 === release 0.10.1 ===
12784
12785 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
12786
12787         * configure.ac:
12788           releasing 0.10.1, "Nollaig chridheil"
12789
12790 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
12791
12792         * docs/faq/cvs.xml:
12793           Add missing quote, should be make ERROR_CFLAGS="".
12794
12795 2005-12-20  Wim Taymans  <wim@fluendo.com>
12796
12797         * docs/design/part-trickmodes.txt:
12798         More documentation on trickmodes.
12799
12800 2005-12-20  Edward Hervey  <edward@fluendo.com>
12801
12802         * gst/gstcaps.c: (gst_static_caps_get_type):
12803         * gst/gstcaps.h:
12804           API addition: GST_TYPE_STATIC_CAPS
12805         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12806         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12807         * gst/gstpadtemplate.h:
12808           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12809         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12810         bindings.
12811
12812 2005-12-18  Wim Taymans  <wim@fluendo.com>
12813
12814         * libs/gst/base/gstadapter.c:
12815         * libs/gst/base/gstadapter.h:
12816         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12817         (gst_base_sink_get_position):
12818         * libs/gst/base/gstbasesink.h:
12819         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12820         (gst_base_src_default_query), (gst_base_src_default_do_seek),
12821         (gst_base_src_do_seek), (gst_base_src_perform_seek),
12822         (gst_base_src_send_event), (gst_base_src_update_length),
12823         (gst_base_src_get_range), (gst_base_src_loop),
12824         (gst_base_src_start):
12825         * libs/gst/base/gstbasesrc.h:
12826         * libs/gst/base/gstbasetransform.h:
12827         * libs/gst/base/gstcollectpads.h:
12828         * libs/gst/base/gstpushsrc.c:
12829         * libs/gst/base/gstpushsrc.h:
12830         * libs/gst/dataprotocol/dataprotocol.c:
12831         * libs/gst/dataprotocol/dataprotocol.h:
12832         * libs/gst/net/gstnetclientclock.h:
12833         * libs/gst/net/gstnettimeprovider.h:
12834         Documentation updates.
12835
12836 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
12837
12838         * docs/manual/basics-helloworld.xml:
12839           Remove superfluous closing bracket in helloworld example.
12840
12841 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
12842
12843         * tools/gst-launch.1.in:
12844           Update gst-launch man page; add a section with useful
12845           environment variables. Fixes #323882.
12846
12847 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
12848
12849         * gst/gst.c:
12850         * gst/gst_private.h:
12851           change some char* into char[]
12852
12853 2005-12-16  Wim Taymans  <wim@fluendo.com>
12854
12855         * gst/gstregistryxml.c: (load_feature):
12856         Cleanups.
12857         Don't use g_object_unref on GstObjects so that we avoid
12858         leaks on unsafe glibs.
12859
12860 2005-12-16  Wim Taymans  <wim@fluendo.com>
12861
12862         * gst/gstbin.c: (gst_bin_recalc_state):
12863         Small doc updates.
12864
12865 2005-12-16  Wim Taymans  <wim@fluendo.com>
12866
12867         * common/check.mak:
12868         Added make forever target for check.
12869
12870 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12871
12872         * gst/gst.c: (init_post):
12873           make the registry cache file HOST_CPU-dependent
12874
12875 2005-12-16  Andy Wingo  <wingo@pobox.com>
12876
12877         * plugins/elements/gstbufferstore.c
12878         (gst_buffer_store_cleared_func): Pay attention to g_list_append
12879         return value.
12880
12881         * tests/check/gst/gstobject.c
12882         (test_fake_object_name_threaded_unique): Pay attention to
12883         g_list_sort return value.
12884
12885 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
12886
12887         * tools/gst-feedback-m.m:
12888           Update for 0.9/0.10 (fixes #323870).
12889
12890 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
12891
12892         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12893           Fix lcopy for mini objects, the mini object needs to be ref'ed.
12894           
12895         * tests/check/gst/gstminiobject.c: (my_foo_init),
12896         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12897         (test_value_collection), (gst_mini_object_suite):
12898           Add test to ensure refcounts end up as expected when passing
12899           GstMiniObjects through g_object_get() and g_object_set().
12900
12901 2005-12-14  Julien MOUTTE  <julien@moutte.net>
12902
12903         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12904         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12905         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12906         of collectpads. This version removes a lot of races without
12907         touching API/ABI. Yay !
12908
12909 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
12910
12911         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12912           Don't allow activation of a srcpad in pull_range if it has no
12913           getrange function.
12914           Change some debug statements to be a little clearer
12915
12916         * plugins/elements/gsttypefindelement.c:
12917         (gst_type_find_handle_src_query):
12918           Check that we have a peer before executing queries thereupon.
12919
12920         * tests/examples/metadata/read-metadata.c: (message_loop):
12921           Use gst_bus_pop instead of gst_bus_poll when we just want it to
12922           immediately return us any available message with 0 timeout.
12923
12924 2005-12-12  Michael Smith  <msmith@fluendo.com>
12925
12926         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12927           Don't unref factories after calling them.
12928         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12929         * plugins/elements/gsttypefindelement.c:
12930         (gst_type_find_element_chain):
12931           Free lists of factories after using them. Fixing typefinding memory
12932           leaks.
12933
12934 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12935
12936         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12937         (gst_plugin_feature_load):
12938           more meaningful debug output
12939         * configure.ac:
12940         * tests/Makefile.am:
12941         * tests/old/examples/Makefile.am:
12942           make make distcheck happy again
12943
12944 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12945
12946         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12947           Catch the special case where we are operating chain-based,
12948           but the downstream peer pad has no chain function. Emit a
12949           custom error message in this case instead of letting the
12950           core generate one implying that this is some sort of core
12951           bug. It's not, it just means that whatever got plugged
12952           into the pipeline downstream when we announced the type
12953           can only operate pull-based, while our source can only
12954           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12955           Error string has not been marked for translation yet, as
12956           it probably needs some more work first.
12957
12958         (gst_type_find_element_get_best_possibility):
12959           Add helper function to find the best of all available
12960           found possibilities that qualify given the min. threshold.
12961
12962         (gst_type_find_element_handle_event):
12963           Fix the case where we get an EOS while still in TYPEFIND
12964           mode (we want to chose the best of all possible types,
12965           not just the first type that happens to be in our unsorted
12966           list of possible types).
12967
12968         (gst_type_find_element_chain):
12969           Make sure we return GST_FLOW_ERROR when we errored out
12970           in stop_typefinding(); also, don't just find the best of
12971           all found type entries and then use the last examined
12972           type entry, but actually use the best entry.
12973
12974 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12975
12976         * tests/examples/typefind/typefind.c: (type_found):
12977         * tests/examples/xml/runxml.c: (xml_loaded):
12978           More gcc4 fixes and a mem leak fix.
12979
12980 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12981
12982         * tests/examples/xml/createxml.c: (object_saved):
12983           gcc 4 fixes
12984
12985 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12986
12987         * tests/Makefile.am:
12988           enable the examples even more
12989
12990 2005-12-12  Andy Wingo  <wingo@pobox.com>
12991
12992         * libs/gst/net/gstnettimeprovider.c
12993         (gst_net_time_provider_class_init, gst_net_time_provider_init)
12994         (gst_net_time_provider_set_property)
12995         (gst_net_time_provider_get_property):
12996         API addition: Export "active" as a GObject property.
12997         (gst_net_time_provider_thread): Only respond to time queries if
12998         the time provider is active.
12999
13000         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
13001         NetTimeProvider, preserving binary compat.
13002
13003 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13004
13005         * tests/examples/controller/audio-example.c: (main):
13006         * tests/examples/launch/Makefile.am:
13007           convert comments again
13008
13009 2005-12-12  Wim Taymans  <wim@fluendo.com>
13010
13011         * libs/gst/base/gstpushsrc.c:
13012         Fix typo.
13013
13014 2005-12-12  Wim Taymans  <wim@fluendo.com>
13015
13016         * docs/libs/gstreamer-libs-sections.txt:
13017         Added new symbol to docs.
13018
13019         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13020         (gst_base_src_init), (gst_base_src_set_format),
13021         (gst_base_src_default_query), (gst_base_src_query),
13022         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13023         (gst_base_src_perform_seek), (gst_base_src_send_event),
13024         (gst_base_src_default_event), (gst_base_src_event_handler),
13025         (gst_base_src_set_property), (gst_base_src_get_property),
13026         (gst_base_src_wait), (gst_base_src_do_sync),
13027         (gst_base_src_update_length), (gst_base_src_get_range),
13028         (gst_base_src_check_get_range), (gst_base_src_loop),
13029         (gst_base_src_default_negotiate), (gst_base_src_start),
13030         (gst_base_src_activate_push), (gst_base_src_activate_pull),
13031         (gst_base_src_change_state):
13032         * libs/gst/base/gstbasesrc.h:
13033         Implement seeking to other formats than _BYTES.
13034         Implement more seeking methods correctly.
13035         Doc updates.
13036         Added query vmethod.
13037         Added do_seek vmethod to make life easier for subclasses
13038         when seeking.
13039         API addition: gst_base_src_set_format()
13040
13041 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13042
13043         * tests/examples/Makefile.am:
13044           added that too
13045
13046 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13047
13048         * configure.ac:
13049         * docs/random/ensonic/media-device-daemon.txt:
13050         * tests/examples/controller/.cvsignore:
13051         * tests/examples/controller/Makefile.am:
13052         * tests/examples/controller/audio-example.c: (main):
13053         * tests/examples/helloworld/.cvsignore:
13054         * tests/examples/helloworld/Makefile.am:
13055         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13056         * tests/examples/launch/.cvsignore:
13057         * tests/examples/launch/Makefile.am:
13058         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13059         * tests/examples/metadata/.cvsignore:
13060         * tests/examples/metadata/Makefile.am:
13061         * tests/examples/metadata/read-metadata.c: (message_loop),
13062         (make_pipeline), (print_tag), (main):
13063         * tests/examples/queue/.cvsignore:
13064         * tests/examples/queue/Makefile.am:
13065         * tests/examples/queue/queue.c: (event_loop), (main):
13066         * tests/examples/typefind/.cvsignore:
13067         * tests/examples/typefind/Makefile.am:
13068         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13069         (main):
13070         * tests/examples/xml/.cvsignore:
13071         * tests/examples/xml/Makefile.am:
13072         * tests/examples/xml/createxml.c: (object_saved), (main):
13073         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13074         * tests/old/examples/Makefile.am:
13075         * tests/old/examples/TODO:
13076         * tests/old/examples/controller/.cvsignore:
13077         * tests/old/examples/controller/Makefile.am:
13078         * tests/old/examples/controller/audio-example.c:
13079         * tests/old/examples/helloworld/.cvsignore:
13080         * tests/old/examples/helloworld/Makefile.am:
13081         * tests/old/examples/helloworld/helloworld.c:
13082         * tests/old/examples/launch/.cvsignore:
13083         * tests/old/examples/launch/Makefile.am:
13084         * tests/old/examples/launch/mp3parselaunch.c:
13085         * tests/old/examples/launch/mp3play:
13086         * tests/old/examples/manual/Makefile.am:
13087         * tests/old/examples/metadata/Makefile.am:
13088         * tests/old/examples/metadata/read-metadata.c:
13089         * tests/old/examples/queue/.cvsignore:
13090         * tests/old/examples/queue/Makefile.am:
13091         * tests/old/examples/queue/queue.c:
13092         * tests/old/examples/typefind/.cvsignore:
13093         * tests/old/examples/typefind/Makefile.am:
13094         * tests/old/examples/typefind/typefind.c:
13095         * tests/old/examples/xml/.cvsignore:
13096         * tests/old/examples/xml/Makefile.am:
13097         * tests/old/examples/xml/createxml.c:
13098         * tests/old/examples/xml/runxml.c:
13099           applied some simple fixing to some examples
13100           re-enabled the working examples
13101
13102 2005-12-12  Wim Taymans  <wim@fluendo.com>
13103
13104         * gst/gstsegment.c: (gst_segment_init),
13105         (gst_segment_set_last_stop), (gst_segment_set_seek),
13106         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13107         (gst_segment_to_running_time):
13108         Added more documentation.
13109         Make sure the last_pos value is updated properly.
13110         Make sure to_stream_time and to_running_time don't
13111         operate on wrong values.
13112
13113         * tests/check/gst/gstsegment.c: (GST_START_TEST):
13114         Update check.
13115
13116 2005-12-12  Michael Smith  <msmith@fluendo.com>
13117
13118         * plugins/elements/gsttypefindelement.c: (free_entry),
13119         (gst_type_find_element_chain):
13120           Now that we're not leaking factories, make sure we keep references
13121           to them while we need them.
13122
13123 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13124
13125         * tests/check/gst/struct_i386.h:
13126           ifdef out the XML structs
13127
13128 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13129
13130         * gst/gstvalue.c: (gst_value_transform_double_fraction):
13131           floor is not needed, F is always positive; this obviates the
13132           need for adding -lm when building without libxml
13133
13134 2005-12-12  Wim Taymans  <wim@fluendo.com>
13135
13136         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13137         Take current playback rate into account when reporting
13138         the position.
13139
13140 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13141
13142         * docs/manual/mime-world.fig:
13143           Let's try this again, this time with a file that is
13144           actually in XFig format.
13145
13146 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13147
13148         * docs/manual/mime-world.fig:
13149           Add audioconvert element to diagram so that it
13150           matches the text and the code (fixes #319526).
13151
13152 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13153
13154         * docs/pwg/building-chainfn.xml:
13155         * docs/pwg/building-pads.xml:
13156         * docs/pwg/building-state.xml:
13157         * docs/pwg/other-source.xml:
13158           Update state change stuff for 0.10 (fixes #322969).
13159
13160 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13161
13162         * docs/manual/advanced-dataaccess.xml:
13163         * docs/manual/appendix-checklist.xml:
13164         * docs/manual/appendix-programs.xml:
13165         * docs/manual/basics-pads.xml:
13166         * docs/manual/highlevel-components.xml:
13167         * docs/manual/manual.xml:
13168           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13169           add converters in front of pipelines; remove curly
13170           brackets for threads stuff, they no longer exist; use
13171           GST_TYPE_FRACTION for framerates; update some pieces of
13172           code to 0.10, but there's plenty more to do.
13173
13174         * docs/manual/appendix-porting.xml:
13175           Expand on asynchroneous state changes; s/0.9/0.10/;
13176           mention disappearance of gst_init_get_popt_table()
13177           (fixes #322916).
13178
13179 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13180
13181         * docs/faq/using.xml:
13182           Spider no longer exists, and neither does gst-launch-ext.
13183           Update examples to use decodebin and playbin and put
13184           converters in front of sinks (fixes #323726).
13185
13186 2005-12-09  Michael Smith  <msmith@fluendo.com>
13187
13188         * plugins/elements/gsttypefindelement.c: (find_peek),
13189         (gst_type_find_element_chain):
13190           Fix leaking element factories in typefinding.
13191           Fix problem where we forgot about a probable type on non-seekable
13192           files, and thus later mis-typefound it.
13193
13194 2005-12-09  Michael Smith  <msmith@fluendo.com>
13195
13196         * common/m4/gst-makecontext.m4:
13197         * common/m4/gst-mcsc.m4:
13198         * configure.ac:
13199         * win32/common/config.h:
13200         * win32/common/config.h.in:
13201           Remove makecontext stuff; not used in 0.10 and causes problems on
13202           HPUX according to bug #322441
13203
13204 2005-12-07  Wim Taymans  <wim@fluendo.com>
13205
13206         * tests/check/Makefile.am:
13207         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13208         (main):
13209         * tests/check/libs/struct_i386.h:
13210         Added ABI check for libs
13211
13212 2005-12-07  Wim Taymans  <wim@fluendo.com>
13213
13214         * tests/check/Makefile.am:
13215         And add the struct_i386.h to dist.
13216
13217 2005-12-07  Wim Taymans  <wim@fluendo.com>
13218
13219         * tests/check/Makefile.am:
13220         * tests/check/gst/.cvsignore:
13221         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13222         (main):
13223         * tests/check/gst/struct_i386.h:
13224         Added check for ABI compatibility.
13225
13226 2005-12-07  Wim Taymans  <wim@fluendo.com>
13227
13228         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13229         (gst_fake_src_get_times), (gst_fake_src_create):
13230         Fix broken sync option, fixes #323259
13231
13232 2005-12-07  Wim Taymans  <wim@fluendo.com>
13233
13234         * gst/gstbuffer.c:
13235         Small docs update.
13236
13237         * gst/gstcaps.c: (gst_caps_is_equal):
13238         Don't assert on NULL <--> X. Fixes #323260
13239
13240         * gst/gstminiobject.c: (gst_mini_object_replace):
13241         If we're doing atomic operations, we might just as well use
13242         the proper way to get an atomic pointer.
13243
13244         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13245         Clean up debugging.
13246
13247 2005-12-07  Michael Smith  <msmith@fluendo.com>
13248
13249         * gst/parse/grammar.y:
13250           Remove handling of { } for threads.
13251
13252 2005-12-06  David Schleef  <ds@schleef.org>
13253
13254         * libs/gst/base/gstbasetransform.c: speling fix.
13255
13256 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13257
13258         * docs/libs/tmpl/gstdataprotocol.sgml:
13259         * docs/random/omega/testing/gstobject.c:
13260         * gst/gst.c:
13261         * gst/gstclock.c:
13262         * gst/gstelement.c:
13263         * gst/gstelementfactory.c:
13264         * gst/gsterror.c:
13265         * gst/gstevent.c:
13266         * gst/gstghostpad.c:
13267         * gst/gstinfo.c:
13268         * gst/gstpadtemplate.c:
13269         * gst/gstregistryxml.c:
13270         * gst/gsttaglist.c:
13271         * gst/gsttagsetter.c:
13272         * gst/gsttypefind.c:
13273         * gst/gstvalue.c:
13274         * libs/gst/base/gstbasesrc.c:
13275         * libs/gst/net/gstnetclientclock.c:
13276         * libs/gst/net/gstnettimeprovider.c:
13277         * plugins/elements/gstfakesrc.c:
13278         * plugins/elements/gstfdsrc.c:
13279         * plugins/elements/gstfilesrc.c:
13280         * plugins/elements/gstidentity.c:
13281         * plugins/elements/gstqueue.c:
13282         * plugins/elements/gsttypefindelement.c:
13283         * plugins/indexers/gstfileindex.c:
13284         * plugins/indexers/gstmemindex.c:
13285         * tests/check/gst/gsttag.c:
13286         * tests/old/examples/cutter/cutter.c:
13287         * tests/old/examples/mixer/mixer.c:
13288         * tests/old/examples/xml/runxml.c: (main):
13289         * tests/old/testsuite/caps/normalisation.c:
13290         * tests/old/testsuite/debug/global.c:
13291         * tests/old/testsuite/parse/parse1.c:
13292         * tools/gst-xmlinspect.c:
13293         * win32/common/dirent.c:
13294           expand tabs
13295
13296 === release 0.10.0 ===
13297
13298 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13299
13300         * configure.ac:
13301           releasing 0.10.0, "Maroilles"
13302
13303 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13304
13305         submitted by: Funda Wang <fundawang@linux.net.cn>
13306
13307         * po/LINGUAS:
13308         * po/zh_CN.po:
13309           added Chinese (Traditional) translation
13310
13311 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13312
13313         * docs/gst/gstreamer-sections.txt:
13314         * docs/libs/tmpl/gstdataprotocol.sgml:
13315         * docs/random/thomasvs/TODO:
13316         * gst/gstutils.c:
13317         * gst/gstutils.h:
13318           fix docs
13319
13320 2005-12-05  Andy Wingo  <wingo@pobox.com>
13321
13322         patch by: Wim Taymans <wim@fluendo.com>
13323
13324         * libs/gst/base/gstbasetransform.c
13325         (gst_base_transform_prepare_output_buf)
13326         (gst_base_transform_buffer_alloc):
13327         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13328         alloc_buffer_and_set_caps.
13329
13330         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13331         set_caps on the source pad.
13332         (gst_pad_alloc_buffer_and_set_caps): New function, does what
13333         alloc_buffer used to do. Fixes #322874.
13334
13335         * docs/gst/gstreamer-sections.txt: 
13336         * docs/design/part-negotiation.txt: 
13337         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13338         changes.
13339
13340 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13341
13342         patch by: Sebastien Moutte
13343
13344         * win32/MANIFEST:
13345         * win32/common/config.h.in:
13346         * win32/vs6/libgstcontroller.dsp:
13347           win32 build fixes
13348
13349 2005-12-05  Wim Taymans  <wim@fluendo.com>
13350
13351         * gst/gstcaps.c: (gst_caps_is_equal):
13352         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13353         (gst_fake_src_create):
13354         Back out previous code changes, leave doc updates, file bugs 
13355         instead. 
13356
13357 2005-12-05  Wim Taymans  <wim@fluendo.com>
13358
13359         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13360         (gst_fake_src_get_times), (gst_fake_src_create):
13361         * plugins/elements/gstfakesrc.h:
13362         Fix broken sync code.
13363
13364 2005-12-05  Wim Taymans  <wim@fluendo.com>
13365
13366         * gst/gstcaps.c: (gst_caps_is_equal):
13367         Comparing NULL against !NULL yields different caps, not a
13368         failure.
13369
13370 2005-12-05  Wim Taymans  <wim@fluendo.com>
13371
13372         * gst/gstpipeline.c:
13373         Fix small typo in docs.
13374
13375 2005-12-05  Andy Wingo  <wingo@pobox.com>
13376
13377         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
13378
13379         * gst/gst.c (init_post): remove hard-coded 0.9 location for
13380         registries/plugins with a MAJORMINOR one.
13381         (plugin_desc): Rename library from gstcoreleements to
13382         staticelements. Fixes #323222.
13383
13384 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
13385
13386         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13387           Change debug category to 'collectpads' from 'collect_pads'
13388           (fixes #323250).
13389
13390 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13391
13392         patch by: Sebastien Moutte
13393
13394         * libs/gst/controller/gstinterpolation.c:
13395           use convert function for uint64/double
13396         * win32/vs6/libgstcontroller.dsp:
13397           link to GLib
13398
13399 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13400
13401         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13402         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13403         * gst/gstutils.h:
13404         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13405           add tests that seem to show that the guint64/gdouble conversions
13406           are correct.
13407
13408 2005-12-02  Wim Taymans  <wim@fluendo.com>
13409
13410         * gst/gstregistry.c: (gst_registry_add_path):
13411         * gst/gstregistry.h:
13412         * gst/gstregistryxml.c:
13413         Fix docs again.
13414
13415 2005-12-02  Wim Taymans  <wim@fluendo.com>
13416
13417         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13418         (gst_util_uint64_scale_int):
13419         Small cleanup.
13420
13421         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13422         Add debug log line.
13423
13424         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13425         Add FIXME.
13426
13427 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13428
13429         * win32/MANIFEST:
13430         * win32/common/config.h:
13431         * win32/vs6/gstreamer.dsw:
13432         * win32/vs6/libgstcoreelements.dsp:
13433         * win32/vs6/libgstelements.dsp:
13434           renamed core elements plugin
13435
13436 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13437
13438         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13439         (get_candidates):
13440           do piece-wise major/minor comparison so 0.9 < 0.10
13441           also allow .exe extensions for tools
13442
13443 2005-12-02  Michael Smith  <msmith@fluendo.com>
13444
13445         * gst/gst.c:
13446           Escape a % to make gtkdoc happier; bug 322958.
13447
13448 === release 0.9.7 ===
13449
13450 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13451
13452         * configure.ac:
13453           releasing 0.9.7, "My Dog Has No Nose"
13454
13455 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13456
13457         * common/gst-xmlinspect.py:
13458         * configure.ac:
13459         * docs/libs/tmpl/gstdataprotocol.sgml:
13460         * docs/random/release:
13461         * po/af.po:
13462         * po/az.po:
13463         * po/bg.po:
13464         * po/ca.po:
13465         * po/cs.po:
13466         * po/de.po:
13467         * po/en_GB.po:
13468         * po/fr.po:
13469         * po/it.po:
13470         * po/nb.po:
13471         * po/nl.po:
13472         * po/ru.po:
13473         * po/sq.po:
13474         * po/sr.po:
13475         * po/sv.po:
13476         * po/tr.po:
13477         * po/uk.po:
13478         * po/vi.po:
13479         * win32/common/config.h:
13480         * win32/common/config.h.in:
13481         * win32/vs6/gst_inspect.dsp:
13482         * win32/vs6/gst_launch.dsp:
13483         * win32/vs6/libgstbase.dsp:
13484         * win32/vs6/libgstelements.dsp:
13485         * win32/vs6/libgstreamer.dsp:
13486         * win32/vs7/GStreamer.vcproj:
13487         * win32/vs7/gst-inspect.vcproj:
13488         * win32/vs7/gst-launch.vcproj:
13489         * win32/vs7/libgstbase.vcproj:
13490           bump GST_MAJORMINOR to 0.10
13491           reset libtool version
13492
13493 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13494
13495         * po/LINGUAS:
13496         * po/bg.po:
13497           Added Bulgarian translation by (Alexander Shopov)
13498
13499 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13500
13501         * tests/check/gst/gstplugin.c:
13502           fix test
13503
13504 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13505
13506         * common/gst-xmlinspect.py:
13507         * common/gtk-doc-plugins.mak:
13508         * configure.ac:
13509         * docs/Makefile.am:
13510         * docs/gst/Makefile.am:
13511         * docs/gst/gstreamer-docs.sgml:
13512         * docs/gst/gstreamer-sections.txt:
13513         * docs/gst/gstreamer.types:
13514         * docs/gst/gstreamer.types.in:
13515         * docs/plugins/Makefile.am:
13516         * docs/plugins/gstreamer-plugins-docs.sgml:
13517         * docs/plugins/gstreamer-plugins-sections.txt:
13518         * docs/plugins/gstreamer-plugins.types:
13519         * docs/plugins/inspect.stamp:
13520         * docs/plugins/inspect/plugin-coreelements.xml:
13521         * docs/plugins/inspect/plugin-coreindexers.xml:
13522         * docs/plugins/scanobj-build.stamp:
13523         * gstreamer.spec.in:
13524         * plugins/elements/Makefile.am:
13525         * plugins/elements/gstelements.c:
13526         * plugins/elements/gstfakesink.c:
13527         * plugins/elements/gstfakesrc.c:
13528         * plugins/elements/gstfilesink.c:
13529         * plugins/elements/gstfilesrc.c:
13530         * plugins/elements/gstqueue.c:
13531         * plugins/indexers/Makefile.am:
13532         * plugins/indexers/gstindexers.c:
13533           document core plugins in a separate document just like all the
13534           others
13535           rename these plugins to something starting with core
13536
13537 2005-12-01  Andy Wingo  <wingo@pobox.com>
13538
13539         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13540         padding here before, but it missed the commit.
13541
13542 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13543
13544         * libs/gst/controller/gstinterpolation.c:
13545           whitespace prices have crashed, we should feel free to use some now
13546           use gst_guint64_to_gdouble
13547
13548 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13549
13550         * libs/gst/controller/gstcontroller.c:
13551         * libs/gst/controller/gsthelper.c:
13552         * libs/gst/controller/gstinterpolation.c:
13553         * libs/gst/controller/lib.c:
13554           wrap config.h include
13555
13556 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13557
13558         * docs/gst/gstreamer-sections.txt:
13559           update docs
13560
13561 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13562
13563         * plugins/elements/gstelements.c:
13564         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13565         (gst_fd_sink__class_init), (gst_fd_sink__init),
13566         (gst_fd_sink__chain), (gst_fd_sink__set_property),
13567         (gst_fd_sink__get_property):
13568         * plugins/elements/gstfdsink.h:
13569         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13570         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13571         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13572         (gst_fd_src_unlock), (gst_fd_src_set_property),
13573         (gst_fd_src_get_property), (gst_fd_src_create),
13574         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13575         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13576         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13577         (gst_fd_src_uri_handler_init):
13578         * plugins/elements/gstfdsrc.h:
13579         * plugins/elements/gstqueue.c: (gst_queue_get_type):
13580           more anal cleanup
13581
13582 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13583
13584         * docs/gst/Makefile.am:
13585         * docs/gst/gstreamer.types.in:
13586         * gst/Makefile.am:
13587           fix the docs build
13588
13589 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13590
13591         * configure.ac:
13592         * gst/Makefile.am:
13593         * gst/gst.c:
13594         * gst/gstplugin.h:
13595         * gst/gstregistry.h:
13596         * tests/benchmarks/complexity.c:
13597         * tests/benchmarks/mass-elements.c:
13598         * tests/check/Makefile.am:
13599         * tools/Makefile.am:
13600         * tools/gst-inspect.c:
13601         * tools/gst-xmlinspect.c:
13602           various fixes to make
13603           --disable-nls --disable-registry --disable-loadsave
13604           --disable-parse --disable-gst-debug
13605           work and get the core .so down to 360444 bytes after stripping
13606
13607 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13608
13609         * Makefile.am:
13610         * configure.ac:
13611           descend into tests
13612         * docs/random/thomasvs/TODO:
13613         * tests/Makefile.am:
13614         * tests/README:
13615           add a README
13616
13617 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13618
13619         * win32/GStreamer.vcproj:
13620         * win32/MANIFEST:
13621         * win32/Makefile:
13622         * win32/Makefile.inspect:
13623         * win32/Makefile.launch:
13624         * win32/Makefile.register:
13625         * win32/README.txt:
13626         * win32/gst-inspect.vcproj:
13627         * win32/gst-launch.vcproj:
13628         * win32/gst-register.vcproj:
13629         * win32/gstelements.vcproj:
13630         * win32/gstgetbits.def:
13631         * win32/gstgetbits.vcproj:
13632         * win32/gstreamer-dbg.def:
13633         * win32/gstreamer.def:
13634         * win32/libgstbase.def:
13635         * win32/libgstbase.vcproj:
13636         * win32/link_oldruntime.c:
13637         * win32/mman.c:
13638         * win32/mman.h:
13639         * win32/mman.inl:
13640         * win32/msvc71.sln:
13641           move even more stuff, win32/ is nice and clean now
13642
13643 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13644
13645         * libs/gst/control/.cvsignore:
13646         * win32/MANIFEST:
13647         * win32/config.h:
13648         * win32/dirent.c:
13649         * win32/dirent.h:
13650         * win32/gstbytestream.def:
13651         * win32/gstbytestream.vcproj:
13652         * win32/gstconfig.h:
13653         * win32/gstenumtypes.c:
13654         * win32/gstenumtypes.h:
13655         * win32/gstoptimalscheduler.vcproj:
13656         * win32/gstversion.h:
13657         * win32/gtchar.h:
13658         * win32/testsuite/bins.vcproj:
13659         * win32/testsuite/bytestream.vcproj:
13660         * win32/testsuite/caps.vcproj:
13661         * win32/testsuite/cleanup.vcproj:
13662         * win32/testsuite/clock.vcproj:
13663         * win32/testsuite/debug.vcproj:
13664         * win32/testsuite/dlopen.vcproj:
13665         * win32/testsuite/dynparams.vcproj:
13666         * win32/testsuite/elements.vcproj:
13667         * win32/testsuite/ghostpads.vcproj:
13668         * win32/testsuite/indexers.vcproj:
13669         * win32/testsuite/negotiation.vcproj:
13670         * win32/testsuite/parse.vcproj:
13671         * win32/testsuite/plugin.vcproj:
13672         * win32/testsuite/refcounting.vcproj:
13673         * win32/testsuite/schedulers.vcproj:
13674         * win32/testsuite/states.vcproj:
13675         * win32/testsuite/tags.vcproj:
13676         * win32/testsuite/threads.vcproj:
13677           remove old win32 stuff that isn't maintained and should be
13678           reorganized
13679
13680 2005-11-30  Andy Wingo  <wingo@pobox.com>
13681
13682         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13683         loading the gst.interfaces python module bork.
13684
13685         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13686         available since GLib 2.2. Fixes #318031.
13687
13688 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13689
13690         * Makefile.am:
13691         * check/.cvsignore:
13692         * check/Makefile.am:
13693         * check/elements/.cvsignore:
13694         * check/elements/fakesrc.c:
13695         * check/elements/fdsrc.c:
13696         * check/elements/identity.c:
13697         * check/generic/.cvsignore:
13698         * check/generic/states.c:
13699         * check/gst-libs/.cvsignore:
13700         * check/gst-libs/controller.c:
13701         * check/gst-libs/gdp.c:
13702         * check/gst/.cvsignore:
13703         * check/gst/capslist.h:
13704         * check/gst/gst.c:
13705         * check/gst/gstbin.c:
13706         * check/gst/gstbuffer.c:
13707         * check/gst/gstbus.c:
13708         * check/gst/gstcaps.c:
13709         * check/gst/gstelement.c:
13710         * check/gst/gstevent.c:
13711         * check/gst/gstghostpad.c:
13712         * check/gst/gstiterator.c:
13713         * check/gst/gstmessage.c:
13714         * check/gst/gstminiobject.c:
13715         * check/gst/gstobject.c:
13716         * check/gst/gstpad.c:
13717         * check/gst/gstpipeline.c:
13718         * check/gst/gstplugin.c:
13719         * check/gst/gstsegment.c:
13720         * check/gst/gststructure.c:
13721         * check/gst/gstsystemclock.c:
13722         * check/gst/gsttag.c:
13723         * check/gst/gstutils.c:
13724         * check/gst/gstvalue.c:
13725         * check/net/.cvsignore:
13726         * check/net/gstnetclientclock.c:
13727         * check/net/gstnettimeprovider.c:
13728         * check/pipelines/.cvsignore:
13729         * check/pipelines/cleanup.c:
13730         * check/pipelines/simple_launch_lines.c:
13731         * check/pipelines/stress.c:
13732         * check/states/.cvsignore:
13733         * check/states/sinks.c:
13734         * configure.ac:
13735         * examples/Makefile.am:
13736         * examples/appreader/.cvsignore:
13737         * examples/appreader/Makefile.am:
13738         * examples/appreader/appreader.c:
13739         * examples/controller/.cvsignore:
13740         * examples/controller/Makefile.am:
13741         * examples/controller/audio-example.c:
13742         * examples/cutter/.cvsignore:
13743         * examples/cutter/Makefile.am:
13744         * examples/cutter/cutter.c:
13745         * examples/cutter/cutter.h:
13746         * examples/events/Makefile.am:
13747         * examples/events/seek.c:
13748         * examples/helloworld/.cvsignore:
13749         * examples/helloworld/Makefile.am:
13750         * examples/helloworld/helloworld.c:
13751         * examples/helloworld2/.cvsignore:
13752         * examples/helloworld2/Makefile.am:
13753         * examples/helloworld2/helloworld2.c:
13754         * examples/launch/.cvsignore:
13755         * examples/launch/Makefile.am:
13756         * examples/launch/mp3parselaunch.c:
13757         * examples/launch/mp3play:
13758         * examples/manual/.cvsignore:
13759         * examples/manual/Makefile.am:
13760         * examples/manual/extract.pl:
13761         * examples/metadata/Makefile.am:
13762         * examples/metadata/read-metadata.c:
13763         * examples/mixer/.cvsignore:
13764         * examples/mixer/Makefile.am:
13765         * examples/mixer/mixer.c:
13766         * examples/mixer/mixer.h:
13767         * examples/pingpong/.cvsignore:
13768         * examples/pingpong/Makefile.am:
13769         * examples/pingpong/pingpong.c:
13770         * examples/plugins/.cvsignore:
13771         * examples/plugins/Makefile.am:
13772         * examples/plugins/example.c:
13773         * examples/plugins/example.h:
13774         * examples/pwg/.cvsignore:
13775         * examples/pwg/Makefile.am:
13776         * examples/pwg/extract.pl:
13777         * examples/queue/.cvsignore:
13778         * examples/queue/Makefile.am:
13779         * examples/queue/queue.c:
13780         * examples/queue2/.cvsignore:
13781         * examples/queue2/Makefile.am:
13782         * examples/queue2/queue2.c:
13783         * examples/queue3/.cvsignore:
13784         * examples/queue3/Makefile.am:
13785         * examples/queue3/queue3.c:
13786         * examples/queue4/.cvsignore:
13787         * examples/queue4/Makefile.am:
13788         * examples/queue4/queue4.c:
13789         * examples/retag/.cvsignore:
13790         * examples/retag/Makefile.am:
13791         * examples/retag/retag.c:
13792         * examples/retag/transcode.c:
13793         * examples/thread/.cvsignore:
13794         * examples/thread/Makefile.am:
13795         * examples/thread/thread.c:
13796         * examples/typefind/.cvsignore:
13797         * examples/typefind/Makefile.am:
13798         * examples/typefind/typefind.c:
13799         * examples/xml/.cvsignore:
13800         * examples/xml/Makefile.am:
13801         * examples/xml/createxml.c:
13802         * examples/xml/runxml.c:
13803         * tests/Makefile.am:
13804         * tests/check/Makefile.am:
13805         * testsuite/.cvsignore:
13806         * testsuite/Makefile.am:
13807         * testsuite/Rules:
13808         * testsuite/caps/.cvsignore:
13809         * testsuite/caps/Makefile.am:
13810         * testsuite/caps/app_fixate.c:
13811         * testsuite/caps/audioscale.c:
13812         * testsuite/caps/caps.c:
13813         * testsuite/caps/caps.h:
13814         * testsuite/caps/caps_strings:
13815         * testsuite/caps/compatibility.c:
13816         * testsuite/caps/deserialize.c:
13817         * testsuite/caps/enumcaps.c:
13818         * testsuite/caps/eratosthenes.c:
13819         * testsuite/caps/filtercaps.c:
13820         * testsuite/caps/fixed.c:
13821         * testsuite/caps/fraction-convert.c:
13822         * testsuite/caps/fraction-multiply-and-zero.c:
13823         * testsuite/caps/intersect2.c:
13824         * testsuite/caps/intersection.c:
13825         * testsuite/caps/normalisation.c:
13826         * testsuite/caps/random.c:
13827         * testsuite/caps/renegotiate.c:
13828         * testsuite/caps/sets.c:
13829         * testsuite/caps/simplify.c:
13830         * testsuite/caps/string-conversions.c:
13831         * testsuite/caps/structure.c:
13832         * testsuite/caps/subtract.c:
13833         * testsuite/caps/union.c:
13834         * testsuite/debug/.cvsignore:
13835         * testsuite/debug/Makefile.am:
13836         * testsuite/debug/category.c:
13837         * testsuite/debug/commandline.c:
13838         * testsuite/debug/global.c:
13839         * testsuite/debug/output.c:
13840         * testsuite/debug/printf_extension.c:
13841         * testsuite/dlopen/.cvsignore:
13842         * testsuite/dlopen/Makefile.am:
13843         * testsuite/dlopen/dlopen_gst.c:
13844         * testsuite/dlopen/loadgst.c:
13845         * testsuite/elements/.cvsignore:
13846         * testsuite/elements/Makefile.am:
13847         * testsuite/elements/gst-inspect-check.in:
13848         * testsuite/elements/struct_i386.h:
13849         * testsuite/elements/struct_size.c:
13850         * testsuite/indexers/.cvsignore:
13851         * testsuite/indexers/Makefile.am:
13852         * testsuite/indexers/cache1.c:
13853         * testsuite/indexers/indexdump.c:
13854         * testsuite/parse/.cvsignore:
13855         * testsuite/parse/Makefile.am:
13856         * testsuite/parse/parse1.c:
13857         * testsuite/parse/parse2.c:
13858         * testsuite/plugin/.cvsignore:
13859         * testsuite/plugin/Makefile.am:
13860         * testsuite/plugin/README:
13861         * testsuite/plugin/dynamic.c:
13862         * testsuite/plugin/linked.c:
13863         * testsuite/plugin/loading.c:
13864         * testsuite/plugin/registry.c:
13865         * testsuite/plugin/static.c:
13866         * testsuite/plugin/static2.c:
13867         * testsuite/plugin/testplugin.c:
13868         * testsuite/plugin/testplugin2.c:
13869         * testsuite/plugin/testplugin2_s.c:
13870         * testsuite/plugin/testplugin_s.c:
13871         * testsuite/refcounting/.cvsignore:
13872         * testsuite/refcounting/Makefile.am:
13873         * testsuite/refcounting/bin.c:
13874         * testsuite/refcounting/element.c:
13875         * testsuite/refcounting/element_pad.c:
13876         * testsuite/refcounting/mainloop.c:
13877         * testsuite/refcounting/mem.c:
13878         * testsuite/refcounting/mem.h:
13879         * testsuite/refcounting/object.c:
13880         * testsuite/refcounting/pad.c:
13881         * testsuite/refcounting/sched.c:
13882         * testsuite/refcounting/thread.c:
13883         * testsuite/states/.cvsignore:
13884         * testsuite/states/Makefile.am:
13885         * testsuite/states/bin.c:
13886         * testsuite/states/locked.c:
13887         * testsuite/states/parent.c:
13888         * testsuite/threads/.cvsignore:
13889         * testsuite/threads/159566.c:
13890         * testsuite/threads/159852.c:
13891         * testsuite/threads/Makefile.am:
13892         * testsuite/threads/queue.c:
13893         * testsuite/threads/signals.c:
13894         * testsuite/threads/staticrec.c:
13895         * testsuite/threads/thread.c:
13896         * testsuite/threads/threadb.c:
13897         * testsuite/threads/threadc.c:
13898         * testsuite/threads/threadd.c:
13899         * testsuite/threads/threade.c:
13900         * testsuite/threads/threadf.c:
13901         * testsuite/threads/threadg.c:
13902         * testsuite/threads/threadh.c:
13903         * testsuite/threads/threadi.c:
13904           move all of these under tests
13905
13906 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13907
13908         * configure.ac:
13909         * tests/Makefile.am:
13910           fix distcheck
13911
13912 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13913
13914         * docs/gst/gstreamer-sections.txt:
13915         * tests/sched/.cvsignore:
13916         * tests/sched/Makefile.am:
13917         * tests/sched/cases/(fs-fs).xml:
13918         * tests/sched/cases/(fs-i-fs).xml:
13919         * tests/sched/cases/(fs-i-i-fs).xml:
13920         * tests/sched/cases/(fs-i-q[i-fs]).xml:
13921         * tests/sched/dynamic-pipeline.c:
13922         * tests/sched/interrupt1.c:
13923         * tests/sched/interrupt2.c:
13924         * tests/sched/interrupt3.c:
13925         * tests/sched/runtestcases:
13926         * tests/sched/runxml.c:
13927         * tests/sched/sched-stress.c:
13928         * tests/sched/sort.c:
13929         * tests/sched/testcases:
13930         * tests/sched/testcases1.tc:
13931         * tests/seeking/.cvsignore:
13932         * tests/seeking/Makefile.am:
13933         * tests/seeking/seeking1.c:
13934         * tests/threadstate/.cvsignore:
13935         * tests/threadstate/Makefile.am:
13936         * tests/threadstate/test1.c:
13937         * tests/threadstate/test2.c:
13938         * tests/threadstate/threadstate1.c:
13939         * tests/threadstate/threadstate2.c:
13940         * tests/threadstate/threadstate3.c:
13941         * tests/threadstate/threadstate4.c:
13942         * tests/threadstate/threadstate5.c:
13943           remove obsolete tests
13944         * configure.ac:
13945         * tests/bench-complexity.scm:
13946         * tests/bench-mass_elements.scm:
13947         * tests/complexity.c:
13948         * tests/complexity.gnuplot:
13949         * tests/instantiate/.cvsignore:
13950         * tests/instantiate/Makefile.am:
13951         * tests/instantiate/caps.c:
13952         * tests/mass_elements.c:
13953         * tests/network-clock-utils.scm:
13954         * tests/network-clock.scm:
13955         * tests/plot-data:
13956         First pass at cleaning up tests/ dir before moving the rest
13957         Combined with CVS surgery
13958
13959 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13960
13961         * po/POTFILES.in:
13962           queue has moved, update
13963
13964 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13965
13966         * docs/gst/gstreamer-sections.txt:
13967           remove double entries from the docs
13968         * gst/gst_private.h:
13969         * gst/gstinfo.c: (_gst_debug_init):
13970           remove the THREAD debug category
13971         * gst/Makefile.am:
13972         * gst/gstqueue.c:
13973         * gst/gstqueue.h:
13974         * docs/gst/gstreamer.types:
13975         * plugins/elements/gstqueue.c: (gst_queue_get_type),
13976         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13977           completely move queue and fix up debugging categories
13978
13979 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13980
13981         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13982           make initialization portable, using LL is not
13983
13984 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13985
13986         * win32/common/gstconfig.h:
13987           add large padding
13988
13989 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13990
13991         * win32/common/libgstreamer.def:
13992           rename symbols; sort base section
13993
13994 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13995
13996         * gst/gstclock.c: (do_linear_regression):
13997           remove crack non-portable handrolled DEBUG macro
13998
13999 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14000
14001         * docs/random/release:
14002           update notes
14003         * win32/common/gstenumtypes.c: (register_gst_object_flags),
14004         (gst_object_flags_get_type), (register_gst_bin_flags),
14005         (gst_bin_flags_get_type), (register_gst_buffer_flag),
14006         (gst_buffer_flag_get_type), (register_gst_bus_flags),
14007         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14008         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
14009         (gst_caps_flags_get_type), (register_gst_clock_return),
14010         (gst_clock_return_get_type), (register_gst_clock_entry_type),
14011         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14012         (gst_clock_flags_get_type), (register_gst_state),
14013         (gst_state_get_type), (register_gst_state_change_return),
14014         (gst_state_change_return_get_type), (register_gst_state_change),
14015         (gst_state_change_get_type), (register_gst_element_flags),
14016         (gst_element_flags_get_type), (register_gst_core_error),
14017         (gst_core_error_get_type), (register_gst_library_error),
14018         (gst_library_error_get_type), (register_gst_resource_error),
14019         (gst_resource_error_get_type), (register_gst_stream_error),
14020         (gst_stream_error_get_type), (register_gst_event_type_flags),
14021         (gst_event_type_flags_get_type), (register_gst_event_type),
14022         (gst_event_type_get_type), (register_gst_seek_type),
14023         (gst_seek_type_get_type), (register_gst_seek_flags),
14024         (gst_seek_flags_get_type), (register_gst_format),
14025         (gst_format_get_type), (register_gst_index_certainty),
14026         (gst_index_certainty_get_type), (register_gst_index_entry_type),
14027         (gst_index_entry_type_get_type),
14028         (register_gst_index_lookup_method),
14029         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14030         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14031         (gst_index_resolver_method_get_type), (register_gst_index_flags),
14032         (gst_index_flags_get_type), (register_gst_debug_level),
14033         (gst_debug_level_get_type), (register_gst_debug_color_flags),
14034         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14035         (gst_iterator_result_get_type), (register_gst_iterator_item),
14036         (gst_iterator_item_get_type), (register_gst_message_type),
14037         (gst_message_type_get_type), (register_gst_mini_object_flags),
14038         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14039         (gst_pad_link_return_get_type), (register_gst_flow_return),
14040         (gst_flow_return_get_type), (register_gst_activate_mode),
14041         (gst_activate_mode_get_type), (register_gst_pad_direction),
14042         (gst_pad_direction_get_type), (register_gst_pad_flags),
14043         (gst_pad_flags_get_type), (register_gst_pad_presence),
14044         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14045         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14046         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14047         (gst_plugin_error_get_type), (register_gst_plugin_flags),
14048         (gst_plugin_flags_get_type), (register_gst_rank),
14049         (gst_rank_get_type), (register_gst_query_type),
14050         (gst_query_type_get_type), (register_gst_tag_merge_mode),
14051         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14052         (gst_tag_flag_get_type), (register_gst_task_state),
14053         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14054         (gst_alloc_trace_flags_get_type),
14055         (register_gst_type_find_probability),
14056         (gst_type_find_probability_get_type), (register_gst_uri_type),
14057         (gst_uri_type_get_type), (register_gst_parse_error),
14058         (gst_parse_error_get_type):
14059         * win32/common/gstenumtypes.h:
14060         * win32/common/gstversion.h:
14061           update visual studio generated files
14062
14063 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14064
14065         * win32/vs6/libgstbase.dsp:
14066         * win32/vs6/libgstelements.dsp:
14067           update project files for new locations
14068
14069 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14070
14071         * Makefile.am:
14072           remove some files
14073         * README:
14074           reinstate and update
14075         * DEVEL:
14076         * REQUIREMENTS:
14077           removed
14078         * LICENSE:
14079         * docs/random/LICENSE:
14080           moved to random
14081
14082 2005-11-30  Edward Hervey  <edward@fluendo.com>
14083
14084         * gst/gsttypefind.c: (gst_type_find_register):
14085         * gst/gsttypefind.h:
14086         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14087         (gst_type_find_factory_dispose):
14088         * gst/gsttypefindfactory.h:
14089         Fix memory leak in GstTypeFindFactory.
14090
14091 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14092
14093         * gst/gst.c:
14094         * plugins/elements/Makefile.am:
14095         * plugins/elements/gstelements.c:
14096         * plugins/elements/gstqueue.c:
14097           move queue from core to the elements plugin
14098
14099 2005-11-29  Andy Wingo  <wingo@pobox.com>
14100
14101         * libs/gst/base/gstbasetransform.h: 
14102         * libs/gst/base/gstbasesrc.h: 
14103         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14104
14105         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14106         of pointers by which to pad very extensible base classes (like the
14107         ones in libs/gst/base).
14108
14109 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14110
14111         * docs/gst/gstreamer-docs.sgml:
14112         * docs/gst/gstreamer-sections.txt:
14113         * docs/libs/gstreamer-libs-docs.sgml:
14114         * docs/libs/gstreamer-libs-sections.txt:
14115           moving documentation from core to lib
14116
14117 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14118
14119         * check/Makefile.am:
14120         * configure.ac:
14121         * docs/gst/Makefile.am:
14122         * gst/Makefile.am:
14123         * gst/base/.cvsignore:
14124         * gst/base/Makefile.am:
14125         * gst/base/README:
14126         * gst/base/gstadapter.c:
14127         * gst/base/gstadapter.h:
14128         * gst/base/gstbasesink.c:
14129         * gst/base/gstbasesink.h:
14130         * gst/base/gstbasesrc.c:
14131         * gst/base/gstbasesrc.h:
14132         * gst/base/gstbasetransform.c:
14133         * gst/base/gstbasetransform.h:
14134         * gst/base/gstcollectpads.c:
14135         * gst/base/gstcollectpads.h:
14136         * gst/base/gstpushsrc.c:
14137         * gst/base/gstpushsrc.h:
14138         * gst/base/gsttypefindhelper.c:
14139         * gst/base/gsttypefindhelper.h:
14140         * gst/check/Makefile.am:
14141         * gst/check/gstcheck.c:
14142         * gst/check/gstcheck.h:
14143         * gst/net/Makefile.am:
14144         * gst/net/gstnet.h:
14145         * gst/net/gstnetclientclock.c:
14146         * gst/net/gstnetclientclock.h:
14147         * gst/net/gstnettimepacket.c:
14148         * gst/net/gstnettimepacket.h:
14149         * gst/net/gstnettimeprovider.c:
14150         * gst/net/gstnettimeprovider.h:
14151         * libs/gst/Makefile.am:
14152         * libs/gst/base/Makefile.am:
14153         * libs/gst/base/gstbasetransform.c:
14154         * libs/gst/check/Makefile.am:
14155         * plugins/elements/Makefile.am:
14156         * po/POTFILES.in:
14157           CVS surgery + support to move base, check, and net out of gst
14158           and into libs/gst
14159
14160 2005-11-29  Andy Wingo  <wingo@pobox.com>
14161
14162         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14163
14164         * gst/gststructure.h (struct _GstStructure): Only one pointer of
14165         padding.
14166
14167         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14168
14169         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14170
14171         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14172
14173         * gst/gstobject.h: (struct _GstObject): Only one pointer of
14174         padding; reduces object size by about 30%. We don't expect
14175         anything else to go into gstobject.
14176
14177         * gst/gstminiobject.h (struct _GstMiniObject)
14178         (struct _GstMiniObjectClass): Only one pointer of padding; the
14179         payload is only a pointer and two ints anyway. For the class there
14180         are only two methods as well.
14181         
14182         * gst/gstelement.h (struct _GstElementClass): Removed
14183         the state_changed signal callback, it is not used.
14184
14185 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14186
14187         * docs/gst/gstreamer.types:
14188           fix includes, though they are a little dinky
14189
14190 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14191
14192         * check/Makefile.am:
14193           look in the right place for elements, a lot more chance of
14194           success
14195         * gst/Makefile.am:
14196           remove indexers and elements subdirs
14197         * plugins/Makefile.am:
14198           make indexers conditional
14199
14200 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14201
14202         * Makefile.am:
14203         * configure.ac:
14204         * plugins/elements/Makefile.am:
14205         * plugins/elements/gstcapsfilter.c:
14206         * plugins/elements/gstfilesink.c:
14207         * plugins/elements/gstfilesrc.c:
14208         * plugins/elements/gstidentity.c:
14209         * plugins/indexers/Makefile.am:
14210           do CVS surgery and related build fixery to move elements
14211           and indexers in a new gstreamer/plugins directory, out of the
14212           gst/ directory
14213
14214 2005-11-29  Andy Wingo  <wingo@pobox.com>
14215
14216         * check/Makefile.am:
14217         * pkgconfig/gstreamer-net-uninstalled.pc.in:
14218         * pkgconfig/gstreamer-net.pc.in:
14219         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14220         #322257.
14221
14222 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14223
14224         * tools/Makefile.am:
14225         * tools/gst-complete.1.in:
14226         * tools/gst-complete.c:
14227         * tools/gst-compprep.1.in:
14228         * tools/gst-compprep.c:
14229           removing -compprep and -complete
14230
14231 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14232
14233         * gst/gstevent.c: (gst_event_new_new_segment),
14234         (gst_event_parse_new_segment):
14235         * gst/gstevent.h:
14236           fix #320529 - clean up new_segment API and structure.
14237           Let's hope everyone was using the methods, and not the structure.
14238
14239 2005-11-29  Edward Hervey  <edward@fluendo.com>
14240
14241         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14242         (gst_base_sink_event), (gst_base_sink_do_sync),
14243         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14244         Properly handle non GST_FORMAT_TIME segment
14245         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14246         Properly handle non GST_FORMAT_TIME segment
14247         * gst/gstsegment.c:
14248         This function is valid if the accumulator is 0 and the format
14249         is different from the requested format.
14250         
14251 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14252
14253         * docs/gst/gstreamer-sections.txt:
14254         Add gst_query_new_seeking and gst_query_parse_seeking to the
14255         docs.
14256
14257 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14258
14259         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14260           Treat a pad alloc with new caps the same as if we were not
14261           negotiated, in order to allow a changing upstream output
14262           to produce a new format of data.
14263
14264 2005-11-29  Edward Hervey  <edward@fluendo.com>
14265
14266         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14267         (gst_base_transform_event), (gst_base_transform_eventfunc):
14268         The event virtual method is now properly implemented, with a default
14269         handler
14270         Sub classes should call the parent_class event method. They should
14271         return FALSE if they had a problem handling the given event, or don't
14272         want GstBaseTransform to send that even downstream
14273         * gst/elements/gstidentity.c: (gst_identity_class_init),
14274         (gst_identity_init), (gst_identity_event),
14275         (gst_identity_transform_ip), (gst_identity_set_property),
14276         (gst_identity_get_property):
14277         * gst/elements/gstidentity.h:
14278         Added the single-segment boolean property.
14279         If set to TRUE, it will output a single segment of data, starting from
14280         0, will eat up all incoming newsegment, and modify the timestamp of the
14281         buffers accordingly
14282
14283 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
14284
14285         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14286           Don't ref NULL target pad (#322751). Improve docs.
14287
14288 2005-11-29  Michael Smith  <msmith@fluendo.com>
14289
14290         * gst/gstregistryxml.c: (load_plugin):
14291           Don't crash if we failed to load a feature from a plugin. 
14292
14293 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14294
14295         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14296         (GST_START_TEST):
14297           use more check API and less GLib API
14298
14299 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14300
14301         * Makefile.am:
14302           don't run checks if we don't have check
14303         * common/check.mak:
14304           remove the registry when running make torture
14305         * docs/gst/gstreamer-sections.txt:
14306           remove second multiply
14307         * gst/gstqueue.c: (gst_queue_loop):
14308           fix a compile warning when disabling debug
14309
14310 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14311
14312         * gst/gstinfo.h:
14313         Hey! Let's print the pad name if the pointer != NULL instead
14314         of when it == NULL :-)
14315
14316 2005-11-28  Wim Taymans  <wim@fluendo.com>
14317
14318         * check/gst/gstutils.c: (GST_START_TEST):
14319         Updated check, add some scaling accuracy checking code.
14320
14321         * gst/gstutils.c: (gst_util_div128_64),
14322         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14323         (gst_util_uint64_scale_int):
14324         Fix 6 times faster division code. Optimize for common 
14325         1/1 and less common X/1 cases.
14326
14327 2005-11-28  Wim Taymans  <wim@fluendo.com>
14328
14329         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14330         More checks.
14331
14332         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14333         (do_linear_regression), (gst_clock_add_observation):
14334         Cleanups.
14335         Release lock when the clock cannot be slaved.
14336         Catch the case where the regression returned an invalid denominator.
14337
14338         * gst/gstutils.c: (gst_util_div128_64_iterate),
14339         (gst_util_div128_64), (gst_util_uint64_scale_int64),
14340         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14341         Add protentially more performant non-iterative 128/64 divide function
14342         that unfortunatly does not work yet.
14343         Shortcut the trivial 0/X = 0 case.
14344         Remove the warnings on overflow.
14345
14346 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14347
14348         * gst/gstplugin.c: (gst_plugin_register_func):
14349           everything causing a plugin not to load should be at least a WARNING
14350
14351 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
14352
14353         * docs/random/ensonic/dparams.txt:
14354           some TODOs for the next dev cycle
14355         * libs/gst/controller/gstcontroller.c:
14356         (gst_controlled_property_set_interpolation_mode),
14357         (gst_controlled_property_new):
14358         * libs/gst/controller/gstcontroller.h:
14359           use base type to assign acccessor functions
14360
14361 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14362
14363         * check/Makefile.am:
14364         Oops, that should have been top_srcdir
14365
14366 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14367
14368         * check/Makefile.am:
14369         * check/elements/fdsrc.c: (GST_START_TEST):
14370         Use a cmdline define to specify the location of a file to use for
14371         testing, to avoid breaking distcheck.
14372
14373 2005-11-28  Andy Wingo  <wingo@pobox.com>
14374
14375         * gst/gstpad.c (fixate_value): Use array functions for arrays.
14376
14377 2005-11-28  Edward Hervey  <edward@fluendo.com>
14378
14379         * tools/gst-launch.c: (main):
14380         Clarify the output strings, makes it easier to translate.
14381         Fixes #322626
14382
14383 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14384
14385         * gst/Makefile.am:
14386           don't try and build net if we don't even have <sys/socket.h>
14387
14388 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
14389
14390         * check/Makefile.am:
14391         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14392         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14393           Add tests for fdsrc seekability
14394
14395         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14396         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14397         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14398         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14399         * gst/elements/gstfdsrc.h:
14400           fdsrc should not be a 'live' source.
14401           Implement seeking on seekable fd's.
14402
14403         * gst/gstquery.c: (gst_query_new_seeking),
14404         (gst_query_parse_seeking):
14405         * gst/gstquery.h:
14406           Implement SEEKING query functions: 
14407             *_new_seeking and *_parse_seeking
14408
14409 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14410
14411         * gst/gstelement.c: (gst_element_dispose):
14412           don't loop forever
14413
14414         * gst/gstiterator.c:
14415         * gst/gststructure.c:
14416           doc fixes
14417
14418         * libs/gst/controller/gstcontroller.c:
14419         (gst_controlled_property_set_interpolation_mode):
14420         * libs/gst/controller/gstcontroller.h:
14421         * libs/gst/controller/gstinterpolation.c:
14422         (interpolate_none_get_enum_value_array):
14423           support controlling enums
14424
14425 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14426
14427         * gst/gstvalue.c:
14428           Improve documentation for gst_value_union().
14429
14430         * gst/gstvalue.h:
14431           Change return value for union, intersect and subtract functions
14432           from gint to gboolean.
14433
14434 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14435
14436         * gst/gstvalue.c: (gst_value_serialize_any_list),
14437         (gst_value_transform_any_list_string),
14438         (gst_value_deserialize_list), (gst_value_deserialize_array),
14439         (gst_value_set_int_range), (gst_value_deserialize_int_range),
14440         (gst_value_set_double_range), (gst_value_deserialize_double_range),
14441         (gst_value_set_fraction_range_full),
14442         (gst_value_deserialize_fraction_range),
14443         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14444         (gst_value_deserialize_boolean),
14445         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14446         (gst_value_serialize_float), (gst_value_deserialize_float),
14447         (gst_string_wrap), (gst_value_deserialize_string),
14448         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14449         (gst_value_union_int_range_int_range),
14450         (gst_value_intersect_int_range_int_range),
14451         (gst_value_intersect_double_range_double_range),
14452         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14453         (gst_value_subtract_int_range_int_range),
14454         (gst_value_subtract_double_double_range),
14455         (gst_value_subtract_double_range_double_range),
14456         (gst_value_deserialize_fraction):
14457         * gst/gstvalue.h:
14458           Use gint, gdouble and gchar in our API instead of int, double and
14459           char (and make usage in gstvalue.c more consistent).
14460
14461 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14462
14463         * check/Makefile.am:
14464         * libs/gst/controller/Makefile.am:
14465         * libs/gst/dataprotocol/Makefile.am:
14466           fix up Makefile.am and remove GST_ENABLE_NEW
14467
14468 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14469
14470         * configure.ac:
14471         * gst/Makefile.am:
14472         * gst/base/Makefile.am:
14473         * gst/check/Makefile.am:
14474         * gst/elements/Makefile.am:
14475         * gst/net/Makefile.am:
14476           update LDFLAGS use some more
14477
14478 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14479
14480         * common/m4/gst-doc.m4:
14481           Fixes #312589
14482
14483 2005-11-26  Edward Hervey  <edward@fluendo.com>
14484
14485         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14486         This shouldn't issue a g_warning since it returns NULL if it
14487         couldn't find the plugin, and all functions using this behave
14488         properly on a NULL return. Switching to a GST_WARNING.
14489
14490 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
14491
14492         * gst/gstbin.c: (gst_bin_handle_message_func):
14493         Don't leak clock messages.
14494
14495 2005-11-25  Wim Taymans  <wim@fluendo.com>
14496
14497         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14498         (gst_util_uint64_scale_int):
14499         Optimisations, remove unneeded vars.
14500
14501 2005-11-25  Wim Taymans  <wim@fluendo.com>
14502
14503         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14504         Added more checks for the high precision uint64 cases.
14505
14506         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14507         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14508         Implement high precision (guint64 * guint64) / guint64.
14509
14510 2005-11-24  Wim Taymans  <wim@fluendo.com>
14511
14512         * gst/base/gstbasesrc.c: (gst_base_src_query):
14513         Fix wrong percentage query.
14514
14515         * gst/gstutils.c: (gst_util_uint64_scale),
14516         (gst_util_uint64_scale_int):
14517         Add some more common cases that can be handled 
14518         efficiently to _scale.
14519
14520 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14521
14522         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14523         (gst_mini_object_suite):
14524           don't use check calls from threads; check probably isn't
14525           threadsafe and using a lock to make it threadsafe would
14526           defeat the purpose of this check
14527         * gst/check/gstcheck.c:
14528         * gst/check/gstcheck.h:
14529           use GST_DEBUG some more
14530
14531 2005-11-24  Wim Taymans  <wim@fluendo.com>
14532
14533         * gst/gstutils.c: (gst_util_uint64_scale),
14534         (gst_util_uint64_scale_int):
14535         Chain trivial case to _scale_int.
14536
14537 2005-11-24  Wim Taymans  <wim@fluendo.com>
14538
14539         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14540         Added test for scaling.
14541
14542         * gst/gstclock.h:
14543         Small doc fix.
14544
14545         * gst/gstutils.c: (gst_util_uint64_scale_int):
14546         Implemented high precision scaling code.
14547
14548 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
14549
14550         * gst/gstinfo.h:
14551           do not crash on pad==NULL
14552
14553 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14554
14555         Patch by: Stefan Kost
14556
14557         * common/gtk-doc.mak:
14558         * docs/gst/Makefile.am:
14559         * docs/libs/Makefile.am:
14560           Fix distcheck issues for the libraries docs build
14561           Closes #319599.
14562
14563 2005-11-24  Michael Smith <msmith@fluendo.com>
14564
14565         * docs/manual/basics-helloworld.xml:
14566           Fix bug #315027: memory leak in example code in docs.
14567
14568 2005-11-24  Michael Smith <msmith@fluendo.com>
14569
14570         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14571           Unlock the PREROLL_LOCK in a failure case.
14572
14573 2005-11-24  Wim Taymans  <wim@fluendo.com>
14574
14575         * docs/gst/gstreamer-sections.txt:
14576         * gst/base/gstadapter.h:
14577         * gst/base/gstbasesink.h:
14578         * gst/base/gstbasesrc.h:
14579         * gst/base/gstbasetransform.h:
14580         * gst/base/gstpushsrc.h:
14581         * gst/elements/gstfakesink.h:
14582         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14583         * gst/elements/gstfakesrc.h:
14584         * gst/elements/gstfilesink.h:
14585         * gst/elements/gstfilesrc.h:
14586         * gst/gst.c:
14587         * gst/gstbin.c:
14588         * gst/gstbuffer.c: (_gst_buffer_copy):
14589         * gst/gstbus.h:
14590         * gst/gstcaps.c:
14591         * gst/gstchildproxy.c:
14592         * gst/gstclock.c:
14593         * gst/gstelement.c:
14594         * gst/gstelementfactory.c:
14595         * gst/gstelementfactory.h:
14596         * gst/gstevent.c:
14597         * gst/gstghostpad.h:
14598         * gst/gstindex.h:
14599         * gst/gstinterface.h:
14600         * gst/gstminiobject.c:
14601         * gst/gstminiobject.h:
14602         * gst/gstpad.c:
14603         * gst/gstpad.h:
14604         * gst/gstpadtemplate.h:
14605         * gst/gstpipeline.h:
14606         * gst/gstpluginfeature.h:
14607         * gst/gstquery.h:
14608         * gst/gstqueue.h:
14609         * gst/gsttaglist.c:
14610         * gst/gsttaglist.h:
14611         * gst/gsttagsetter.c:
14612         * gst/gsttagsetter.h:
14613         * gst/gsttrace.c:
14614         * gst/gsttrace.h:
14615         * gst/gsttypefind.h:
14616         * gst/gsturi.h:
14617         * gst/gstvalue.c:
14618         * gst/net/gstnetclientclock.c:
14619         * gst/net/gstnetclientclock.h:
14620         * gst/net/gstnettimepacket.c:
14621         * gst/net/gstnettimeprovider.c:
14622         * gst/net/gstnettimeprovider.h:
14623         Doc fixes.
14624
14625 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14626
14627         * configure.ac: back to HEAD
14628
14629 === release 0.9.6 ===
14630
14631 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
14632
14633         * configure.ac:
14634           releasing 0.9.6, "Always On Time"
14635
14636 2005-11-23  Wim Taymans  <wim@fluendo.com>
14637
14638         * docs/gst/gstreamer-sections.txt:
14639         * gst/glib-compat.c:
14640         * gst/gsttagsetter.c:
14641         * gst/gstvalue.c:
14642         * gst/net/gstnetclientclock.c:
14643         * gst/net/gstnettimepacket.h:
14644         Doc updates.
14645
14646 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14647
14648         * docs/faq/using.xml:
14649         * docs/libs/tmpl/gstcontrol.sgml:
14650         * docs/manual/advanced-dparams.xml:
14651         * docs/manual/appendix-checklist.xml:
14652         * docs/manual/basics-elements.xml:
14653         * docs/pwg/other-source.xml:
14654         * docs/random/moving-plugins:
14655         * gst/gstpad.c:
14656         * tools/gst-launch.1.in:
14657           remove mentions of sinesrc
14658
14659 2005-11-23  Michael Smith <msmith@fluendo.com>
14660
14661         * docs/gst/gstreamer-sections.txt:
14662           Update for new API and API changes.
14663         * gst/gstobject.h:
14664           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14665         * gst/gstvalue.c:
14666           Documentation typo fix.
14667         * gst/net/gstnettimepacket.c:
14668           Documentation fixes for arguments.
14669
14670 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
14671
14672         * gst/gststructure.c: (gst_structure_get_fraction),
14673         (gst_structure_parse_value),
14674         (gst_structure_fixate_field_nearest_fraction):
14675         * gst/gststructure.h:
14676         * gst/gstutils.c: (gst_util_uint64_scale_int):
14677         * gst/gstutils.h:
14678         * scripts/update-funcnames:
14679         API Changes. 
14680         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14681         Make gst_structure_fixate_field_nearest_fraction take a numerator
14682         and denominator argument instead of a GValue
14683         add gst_structure_get_fraction helper function.
14684
14685 2005-11-23  Wim Taymans  <wim@fluendo.com>
14686
14687         * docs/design/part-TODO.txt:
14688         Update TODO.
14689
14690         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14691         * gst/net/gstnetclientclock.h:
14692         Use parent fields for timeout and window_size.
14693
14694 2005-11-23  Andy Wingo  <wingo@pobox.com>
14695
14696         * check/net/gstnetclientclock.c (test_functioning): Adjust to
14697         rate_num/rate_denom change.
14698
14699         * gst/net/gstnetclientclock.c
14700         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14701         OBJECT_LOCK. Don't call add_observation with the lock.
14702
14703         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14704         fraction.
14705         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14706         rate fraction.
14707         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14708         deal with rate as a fraction whose numerator and denominator are
14709         GstClockTime values.
14710         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14711         master; the other fields are protected by the SLAVE_LOCK.
14712         (do_linear_regression): Note that this must be called with the
14713         SLAVE_LOCK.
14714         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14715         OBJECT_LOCK. Call set_calibration instead of touching the
14716         variables directly.
14717         (gst_clock_set_property, gst_clock_get_property): Protect
14718         master/slave parameters with the SLAVE_LOCK.
14719
14720         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14721         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14722         note that all of the instance variables that add_observation and
14723         the set_master functions use are protected by that lock and not
14724         the OBJECT_LOCK.
14725         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14726
14727         * gst/gstclock.c (gst_clock_add_observation): No longer requires
14728         the caller to take the object lock.
14729
14730 2005-11-23  Wim Taymans  <wim@fluendo.com>
14731
14732         * gst/gsterror.c: (_gst_core_errors_init):
14733         * gst/gsterror.h:
14734         Add error for clock stuff.
14735
14736         * gst/gstpipeline.c: (gst_pipeline_change_state),
14737         (gst_pipeline_set_clock):
14738         Post clock error when clock cannot be used in a pipeline.
14739
14740 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
14741
14742         * docs/gst/gstreamer-sections.txt:
14743           make two symbols from gstinfo private for the docs
14744         * gst/base/gstcollectpads.h:
14745         * gst/gstutils.c:
14746           fix doc typos, update docs
14747
14748 2005-11-22  Wim Taymans  <wim@fluendo.com>
14749
14750         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14751         (gst_base_sink_wait), (gst_base_sink_do_sync),
14752         (gst_base_sink_handle_event):
14753         * gst/base/gstbasesink.h:
14754         No need to store the clock, the parent element class already
14755         has it.
14756
14757         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14758         Updates for clock_set returning a gboolean
14759
14760         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14761         (gst_clock_id_wait_async), (gst_clock_class_init),
14762         (gst_clock_init), (gst_clock_finalize),
14763         (gst_clock_get_internal_time), (gst_clock_get_time),
14764         (gst_clock_slave_callback), (gst_clock_set_master),
14765         (gst_clock_get_master), (do_linear_regression),
14766         (gst_clock_add_observation), (gst_clock_set_property),
14767         (gst_clock_get_property):
14768         * gst/gstclock.h:
14769         Implement master/slave. When setting a clock as a slave, a
14770         periodic timeout is scheduled to sample master and slave times.
14771         Then the slave clock is recalibrated to match offset and rate
14772         of the master clock.
14773         Update logging a bit.
14774         Add flag so that a clock can state that is cannot be slaved to
14775         another clock.
14776
14777         * gst/gstelement.c: (gst_element_set_clock):
14778         * gst/gstelement.h:
14779         The set clock returns a gboolean for when an element cannot
14780         deal with the selected clock in the pipeline. 
14781
14782         * gst/gstpipeline.c: (gst_pipeline_change_state),
14783         (gst_pipeline_set_clock):
14784         * gst/gstpipeline.h:
14785         Handle the case where the selected clock cannot be set on
14786         the pipeline.
14787
14788         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14789         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14790         (gst_net_client_clock_set_property),
14791         (gst_net_client_clock_get_property),
14792         (gst_net_client_clock_observe_times):
14793         * gst/net/gstnetclientclock.h:
14794         Use regression code in GstClock parent, remove duplicated
14795         functionality.
14796
14797 2005-11-22  Michael Smith <msmith@fluendo.com>
14798
14799         * gst/gstutils.c: (gst_util_clock_time_scale):
14800         * gst/gstutils.h:
14801         * docs/gst/gstreamer-sections.txt:
14802           Rename method to have extra underscore.
14803
14804 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14805
14806         * gst/elements/Makefile.am:
14807         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14808         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14809         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14810         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14811         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14812         * gst/elements/gstfakesrc.h:
14813         * gst/gstqueue.c: (queue_leaky_get_type):
14814           correctly fix GEnumValues so that nick is the short lowercase
14815           dashed tag
14816         * tools/gst-inspect.c: (print_element_properties_info):
14817           also show the nick, since it's useful to use from parse_launch
14818           syntax
14819           Fixes #322139
14820
14821 2005-11-22  Michael Smith <msmith@fluendo.com>
14822
14823         * gst/gstutils.c: (gst_util_clocktime_scale):
14824         * gst/gstutils.h:
14825         * docs/gst/gstreamer-sections.txt:
14826           Add util method for scaling a clocktime by a fraction. Useful 
14827           implementation is left as an exercise for the reader.
14828
14829 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14830
14831         * gst/gstvalue.c: (gst_value_collect_fraction_range):
14832         If needed, allocate storage in the destination value during
14833         collection.
14834
14835 2005-11-22  Edward Hervey  <edward@fluendo.com>
14836
14837         * docs/gst/gstreamer-sections.txt:
14838         * gst/Makefile.am:
14839         * gst/gst.h:
14840         * gst/gsturitype.c:
14841         * gst/gsturitype.h:
14842         * gst/gstutils.c: (gst_util_set_object_arg):
14843         * tools/gst-compprep.c: (main):
14844         * tools/gst-inspect.c: (print_element_properties_info):
14845         Removed GstURI, closes bug #321061
14846
14847 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14848
14849         * check/gst/gststructure.c: (GST_START_TEST):
14850         * gst/gststructure.c: (gst_structure_parse_value):
14851           Oops, broke automatic string type parsing.
14852           Add a test to catch it in future.
14853
14854 2005-11-22  Andy Wingo  <wingo@pobox.com>
14855
14856         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
14857         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14858         Actually rename the function implementations. Grr.
14859
14860 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14861
14862         * check/gst/capslist.h:
14863           Comment test cases
14864         * check/gst/gststructure.c: (GST_START_TEST),
14865         (gst_structure_suite):
14866           Test automatic value type detection in gst_structure_from_string.
14867         * gst/gststructure.c: (gst_structure_parse_value):
14868           Add fraction as a type we try and guess automatically in
14869           caps/structure strings.
14870
14871 2005-11-22  Andy Wingo  <wingo@pobox.com>
14872
14873         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14874
14875         * gst/gsttagsetter.h:
14876         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14877         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14878         (gst_tag_setter_add_tag_valist)
14879         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14880         _add_values, _add_valist, and _add_valist_values. Since this is an
14881         interface the function suffixes should be more explicit so
14882         language binding don't end up with element.add_valist ->
14883         gst_tag_setter_add_valist, for example. Fixes #322069.
14884
14885 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14886
14887         * check/gst/gstcaps.c: (GST_START_TEST):
14888           Extend caps string tests to check that a caps to string
14889           conversion is reversible and produces the same caps.
14890
14891         * gst/gststructure.c: (gst_structure_value_get_generic_type):
14892           Output "fraction" as the generic type fraction range, so caps
14893           serialisation and deserialisation works.
14894         * check/gst/capslist.h:
14895         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14896           Support 'MIN' and 'MAX' for deserialising fractions.
14897
14898 2005-11-22  Andy Wingo  <wingo@pobox.com>
14899
14900         * gst/gstevent.h (gst_event_new_new_segment)
14901         (gst_event_parse_new_segment, gst_event_new_buffer_size)
14902         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14903         Renamed from *_newsegment, *_buffersize, *_notarget.
14904
14905         * scripts/update-funcnames: New script, performs the changes
14906         listed above.
14907
14908 2005-11-22  Wim Taymans  <wim@fluendo.com>
14909
14910         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14911         Make sure the GstFlowReturn is returned.
14912
14913         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14914         (gst_bus_add_signal_watch):
14915         * gst/gstbus.h:
14916         add gst_bus_add_signal_watch_full.
14917
14918         * gst/gstplugin.c: (gst_plugin_load_file):
14919         Small style cleanup.
14920
14921 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14922
14923         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14924           Block the fakesrc srcpad when we send an event, to avoid
14925           contention on the stream_lock causing random test failures.
14926
14927 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14928
14929         * check/gst/gstvalue.c: (GST_START_TEST):
14930         * gst/gstvalue.c: (gst_value_fraction_subtract):
14931           Fix subtraction.
14932
14933 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
14934
14935         * gst/gst.h:
14936           include "gstchildproxy.h"
14937         * gst/gstchildproxy.h:
14938         * libs/gst/controller/gstcontroller.h:
14939           use G_GNUC_NULL_TERMINATED
14940
14941 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14942
14943         * check/gst/capslist.h:
14944         * check/gst/gstcaps.c: (GST_START_TEST):
14945         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14946         * gst/gststructure.c: (gst_structure_parse_range),
14947         (gst_structure_fixate_field_nearest_fraction):
14948         * gst/gststructure.h:
14949         * gst/gstvalue.c: (gst_value_init_fraction_range),
14950         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14951         (gst_value_collect_fraction_range),
14952         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14953         (gst_value_set_fraction_range_full),
14954         (gst_value_get_fraction_range_min),
14955         (gst_value_get_fraction_range_max),
14956         (gst_value_serialize_fraction_range),
14957         (gst_value_transform_fraction_range_string),
14958         (gst_value_compare_fraction_range),
14959         (gst_value_deserialize_fraction_range),
14960         (gst_value_intersect_fraction_fraction_range),
14961         (gst_value_intersect_fraction_range_fraction_range),
14962         (gst_value_subtract_fraction_fraction_range),
14963         (gst_value_subtract_fraction_range_fraction),
14964         (gst_value_subtract_fraction_range_fraction_range),
14965         (gst_value_collect_fraction), (gst_value_fraction_multiply),
14966         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14967         (gst_value_transform_string_fraction), (_gst_value_initialize):
14968         * gst/gstvalue.h:
14969           Implement fraction ranges and extend GstFraction to support
14970           arithmetic subtraction, as well as deserialization from integer
14971           strings such as "100"
14972           Add a testsuite as for int and double range set operations
14973
14974 2005-11-21  Andy Wingo  <wingo@pobox.com>
14975
14976         * gst/gsttaglist.h: 
14977         * gst/gstcaps.h: 
14978         * gst/gststructure.h: Add glib-compat.h.
14979
14980 2005-11-21  Wim Taymans  <wim@fluendo.com>
14981
14982         * gst/gstbin.c: (gst_bin_change_state_func):
14983         Fix for #321595
14984
14985 2005-11-21  Wim Taymans  <wim@fluendo.com>
14986
14987         * gst/gstsegment.h:
14988         And add a nice define too.
14989
14990 2005-11-21  Wim Taymans  <wim@fluendo.com>
14991
14992         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14993         (gst_segment_new), (gst_segment_free), (gst_segment_init),
14994         (gst_segment_set_duration), (gst_segment_set_last_stop),
14995         (gst_segment_set_seek), (gst_segment_set_newsegment),
14996         (gst_segment_to_stream_time), (gst_segment_to_running_time),
14997         (gst_segment_clip):
14998         * gst/gstsegment.h:
14999         Make binding friendly.
15000
15001 2005-11-21  Andy Wingo  <wingo@pobox.com>
15002
15003         * gst/gsttagsetter.h: 
15004         * gst/gsttaglist.h: 
15005         * gst/gststructure.h: 
15006         * gst/gstcaps.h: 
15007         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
15008         #319940.
15009
15010         * gst/gsterror.c (_gst_core_errors_init):
15011         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
15012         category.
15013
15014         * gst/Makefile.am (gst_headers): Add glib-compat.h.
15015         (noinst_HEADERS): noinst the -private.
15016
15017 2005-11-21  Michael Smith <msmith@fluendo.com>
15018
15019         * gst/gstplugin.h:
15020         * gst/gstregistry.h:
15021           Remove unimplemented declarations for which we can see no sensible
15022           use.
15023
15024 2005-11-21  Andy Wingo  <wingo@pobox.com>
15025
15026         * gst/gst.h: Include glib-compat.h.
15027
15028         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15029
15030         * gst/glib-compat.c: Include the public and the private header.
15031
15032         * gst/glib-compat-private.h: Copied here from glib-compat.h.
15033
15034         * gst/gstvalue.c: 
15035         * gst/gstpad.c: 
15036         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15037
15038         * check/gst/gstevent.c (create_custom_events): Check that
15039         FLUSH_STOP is serialized.
15040
15041         * check/elements/identity.c (event_func): 
15042         * check/elements/fakesrc.c (event_func): No stream lock, the core
15043         takes it.
15044
15045         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15046         stream lock taking, yay.
15047
15048         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15049         ensure that core takes the stream lock.
15050
15051         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15052         lock name change.
15053
15054         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15055         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15056         it already. For the flush start we do take it though so we get the
15057         right preroll state change messages.
15058
15059         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15060         the stream lock here, the core does it for us.
15061
15062         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15063         GST_STREAM_GET_LOCK.
15064         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
15065         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
15066         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15067         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15068         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
15069         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15070
15071         * gst/gstpad.c: Update for stream lock name change.
15072
15073         * gst/base/gstbasesink.c: Update for preroll lock name change.
15074
15075 2005-11-21  Wim Taymans  <wim@fluendo.com>
15076
15077         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15078         (gst_clock_get_master):
15079         * gst/gstclock.h:
15080         * gst/gstsystemclock.c: (gst_system_clock_init):
15081         Convert Clock flags to object flags.
15082         Added methods to manage master/slave clocks.
15083
15084 2005-11-21  Wim Taymans  <wim@fluendo.com>
15085
15086         * check/gst/gstsegment.c: (GST_START_TEST):
15087         * docs/design/part-TODO.txt:
15088         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15089         (gst_base_sink_event), (gst_base_sink_do_sync),
15090         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15091         (gst_base_sink_query), (gst_base_sink_change_state):
15092         * gst/base/gstbasesink.h:
15093         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15094         (gst_base_src_default_newsegment),
15095         (gst_base_src_configure_segment), (gst_base_src_do_seek),
15096         (gst_base_src_get_range), (gst_base_src_loop),
15097         (gst_base_src_change_state):
15098         * gst/base/gstbasesrc.h:
15099         * gst/base/gstbasetransform.c:
15100         (gst_base_transform_prepare_output_buf),
15101         (gst_base_transform_event), (gst_base_transform_change_state):
15102         * gst/base/gstbasetransform.h:
15103         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15104         (gst_collect_pads_event):
15105         * gst/base/gstcollectpads.h:
15106         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15107         (gst_fake_src_create):
15108         * gst/elements/gstfakesrc.h:
15109         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15110         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15111         (gst_segment_set_last_stop), (gst_segment_set_seek),
15112         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15113         (gst_segment_to_running_time), (gst_segment_clip):
15114         * gst/gstsegment.h:
15115         More segment updates, replace code in plugins with segment
15116         helper functions.
15117
15118 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15119
15120         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15121         Don't ignore sscanf results
15122
15123 2005-11-21  Andy Wingo  <wingo@pobox.com>
15124
15125         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15126
15127         * *.h:
15128         * *.c: Ran scripts/update-macros. Oh yes.
15129
15130         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15131         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15132         GST_GET_LOCK, etc.
15133
15134         * scripts/update-macros: New script. Run it on your files to
15135         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15136         well.
15137
15138 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15139
15140         * docs/gst/Makefile.am:
15141         * docs/gst/gstreamer-docs.sgml:
15142         * docs/gst/gstreamer-sections.txt:
15143         * docs/gst/gstreamer.types:
15144         * gst/gstinfo.h:
15145           more docs fixes, add new api to the docs
15146
15147 2005-11-21  Andy Wingo  <wingo@pobox.com>
15148
15149         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15150         state_broadcast call.
15151
15152         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15153
15154 2005-11-21  Julien MOUTTE  <julien@moutte.net>
15155
15156         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15157         function calls for arrays.
15158
15159 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15160
15161         * docs/random/ensonic/media-device-daemon.txt:
15162           wild idea, can this be done?
15163         * docs/gst/gstreamer-sections.txt:
15164         * gst/gsterror.h:
15165         * gst/gstfilter.c:
15166         * gst/gstfilter.h:
15167         * gst/gstplugin.h:
15168         * gst/gstpluginfeature.c:
15169         * gst/gsttrace.c:
15170         * gst/gstvalue.c:
15171         * gst/gstvalue.h:
15172           doc fixes and additions
15173
15174 2005-11-21  Andy Wingo  <wingo@pobox.com>
15175
15176         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
15177         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
15178         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
15179         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15180         private to the basesrc implementation.
15181
15182         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15183         behalf of event function if necessary. It should no longer be
15184         necessary to take the stream lock in pad's event functions. Fixes
15185         #320299.
15186
15187 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15188         * docs/gst/gstreamer-sections.txt:
15189         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15190         (gst_structure_fixate_field_nearest_double),
15191         (gst_structure_fixate_field_boolean):
15192         * gst/gststructure.h:
15193         * win32/common/libgstreamer.def:
15194         * win32/gstreamer.def:
15195
15196         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15197         (#322027)
15198
15199 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15200
15201         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15202         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15203         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15204         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15205         (gst_fdsrc_uri_handler_init):
15206         * gst/elements/gstfdsrc.h:
15207           Port fd:// URI handler from 0.8 to fdsrc
15208
15209 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15210
15211         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15212         (gst_value_serialize_fourcc):
15213         * gst/gstvalue.h:
15214           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15215           consistent with our other format defines (#320324).
15216
15217 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15218
15219         * gst/gstvalue.c: (gst_value_is_fixed):
15220           Revert previous commit. Value lists are by definition
15221           not fixed, as they are a list of possible values.
15222
15223 2005-11-21  Andy Wingo  <wingo@pobox.com>
15224
15225         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15226         during the stable series if we need it. Fixes #319178.
15227
15228         * gst/gstevent.c (gst_event_new_filler): Removed.
15229
15230         * check/gst/gstevent.c: Update comment about filler events.
15231
15232 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15233
15234         * gst/gstvalue.c: (gst_value_is_fixed):
15235           Should handle both value arrays and value lists.
15236
15237 2005-11-21  Andy Wingo  <wingo@pobox.com>
15238
15239         patch by: Alessandro Dessina <alessandro nnva org>
15240
15241         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15242         functions to access arrays. Fixes #321962.
15243
15244 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15245
15246         * docs/gst/gstreamer.types:
15247           gst_collectpads_get_type => gst_collect_pads_get_type.
15248           
15249         * gst/base/gstbasetransform.c:
15250           Remove unused SIGNAL_HANDOFF enum.
15251
15252 2005-11-21  Andy Wingo  <wingo@pobox.com>
15253
15254         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15255         the event type (upstream, downstream, serialized). Renamed
15256         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15257         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15258         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15259
15260         * gst/gstevent.c: Update for new CUSTOM event names.
15261
15262         * check/gst/gstevent.c: Update check for new CUSTOM event names.
15263
15264         * gst/gstevent.h:
15265         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15266         bug #319392.
15267
15268 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15269
15270         * docs/gst/gstreamer-sections.txt:
15271         * win32/common/libgstbase.def:
15272         * win32/libgstbase.def:
15273         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15274         (gst_collect_pads_class_init), (gst_collect_pads_init),
15275         (gst_collect_pads_finalize), (gst_collect_pads_new),
15276         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15277         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15278         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15279         (gst_collect_pads_start), (gst_collect_pads_stop),
15280         (gst_collect_pads_peek), (gst_collect_pads_pop),
15281         (gst_collect_pads_available), (gst_collect_pads_read),
15282         (gst_collect_pads_flush), (gst_collect_pads_event),
15283         (gst_collect_pads_chain):
15284         * gst/base/gstcollectpads.h:
15285           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15286           unimplemented functions as unimplemented. Add padding to
15287           GstCollectData. (#320766, #320423)
15288
15289 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15290
15291         * gst/gstmessage.c:
15292           Improve docs for DURATION message (usage of duration parameter)
15293           (#320113)
15294
15295 2005-11-20  Wim Taymans  <wim@fluendo.com>
15296
15297         * check/Makefile.am:
15298         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15299         (main):
15300         * gst/Makefile.am:
15301         * gst/gst.h:
15302         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15303         (gst_segment_set_seek), (gst_segment_set_newsegment),
15304         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15305         (gst_segment_clip):
15306         * gst/gstsegment.h:
15307         Added segment helper structure and methods. Not fully implemented
15308         yet.
15309         Added segment check.
15310
15311 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
15312
15313         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15314           Add a deserialisation test for fractions
15315         * examples/metadata/read-metadata.c: (message_loop),
15316         (make_pipeline), (main):
15317           Fix up metadata reading sample.
15318         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15319           Debug format fix
15320         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15321           Don't try and fixate empty caps
15322         * gst/gst_private.h:
15323           Wrap in G_BEGIN_DECLS/G_END_DECLS
15324         * gst/gstvalue.c: (gst_value_collect_fraction),
15325         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15326         (gst_value_transform_string_fraction),
15327         (gst_value_compare_fraction):
15328           Add some extra guards to ensure that we don't end up 
15329           with an invalid denominator of 0 in a gstfraction and
15330           that fractions always get reduced.
15331
15332 2005-11-20  Wim Taymans  <wim@fluendo.com>
15333
15334         * docs/gst/gstreamer-sections.txt:
15335         * gst/gstbuffer.h:
15336         * gst/gstelement.c:
15337         * gst/gstformat.c:
15338         * gst/gstformat.h:
15339         * gst/gstindex.h:
15340         * gst/gstquery.c:
15341         * gst/gstquery.h:
15342         * gst/gstvalue.c:
15343         Doc fixes.
15344
15345 2005-11-20  Wim Taymans  <wim@fluendo.com>
15346
15347         * docs/design/part-TODO.txt:
15348         * gst/gstcaps.h:
15349         Make a proper enum of the flag.
15350
15351 2005-11-19  Wim Taymans  <wim@fluendo.com>
15352
15353         * docs/design/part-TODO.txt:
15354         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15355         (gst_format_to_quark), (gst_format_register):
15356         * gst/gstformat.h:
15357         * gst/gstquery.c: (_gst_query_initialize),
15358         (gst_query_type_get_name), (gst_query_type_to_quark),
15359         (gst_query_type_register):
15360         * gst/gstquery.h:
15361         Add type to quark and type to string conversions.
15362
15363 2005-11-19  Andy Wingo  <wingo@pobox.com>
15364
15365         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15366         #320097.
15367
15368 2005-11-19  Wim Taymans  <wim@fluendo.com>
15369
15370         * docs/design/part-TODO.txt:
15371         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15372         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15373         (gst_bin_handle_message_func):
15374         * gst/gstbin.h:
15375         Make message handling overridable.
15376
15377 2005-11-19  Andy Wingo  <wingo@pobox.com>
15378
15379         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15380
15381         * gst/gstclock.h:
15382         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15383         be a GstClockTime.
15384         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15385         is a GstClockTime. Fixes #321710.
15386
15387         * gst/gstclock.h (GstClock): Remove offset property. Add
15388         internal_calibration and external_calibration. Fix padding. Pad
15389         also by GstClockTime so we don't run into problems.
15390
15391         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15392         (gst_clock_get_rate_offset): Remove.
15393         (gst_clock_set_time_adjust): Remove. Fixes #321712.
15394
15395         * gst/gstutils.h:
15396         * gst/gstutils.c (g_static_rec_cond_wait)
15397         (g_static_rec_cond_timed_wait): Removed, no longer needed.
15398
15399         * gst/gstbin.c: Remove terrible continue_state prototype.
15400
15401         * gst/gstelement.h (gst_element_continue_state): Make public.
15402
15403         * gst/gstelement.h:
15404         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15405         by continue_state. Fixes #319389.
15406
15407         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15408         Really fixes #168438. However I don't see anywhere where the
15409         filter function is called... stupid GStreamer...
15410         
15411         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15412         don't have a dispose function, so it won't get called when the
15413         object is unreffed, but oh well!
15414
15415         * gst/gstindex.c (gst_index_set_filter_full): New API function,
15416         allows a destroy function to be set so user_data can be freed.
15417         Fixes #168438.
15418         (gst_index_set_filter): Call gst_index_set_filter_full.
15419
15420         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15421
15422         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15423         string should produce an error, given the lack of a way to
15424         represent NULL strings. Fixes #165650.
15425         
15426         * gst/gstvalue.h: 
15427         * gst/gstvalue.c (gst_value_array_append_value) 
15428         (gst_value_array_prepend_value, gst_value_array_get_size) 
15429         (gst_value_array_get_value): New API, copied from
15430         gst_value_list_*, only operates on arrays.
15431         (gst_value_list_append_value, gst_value_list_prepend_value) 
15432         (gst_value_list_concat, gst_value_list_get_size) 
15433         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15434
15435         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15436         init_list, because it works on both.
15437         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15438         (gst_value_copy_list_or_array): Renamed from copy_list.
15439         (gst_value_free_list_or_array): Renamed from free_list.
15440         (gst_value_collect_list_or_array): Renamed from collect_list.
15441         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15442         (gst_value_list_or_array_peek_pointer): Renamed from
15443         list_peek_pointer.
15444         (_gst_value_array_value_table, _gst_value_list_value_table):
15445         Update value table functions.
15446         (gst_value_compare_list_or_array): Renamed from compare_list.
15447
15448         * gsttaglist.h: Whoops, foreach function returns void. Also fix
15449         some constness.
15450
15451         * gst/gsttaglist.c:
15452         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15453         GstTagList*. Fixes #143472.
15454
15455         * gst/gststructure.h: Clarify what the foreach/map functions can
15456         or can't do to their arguments.
15457
15458 2005-11-18  Wim Taymans  <wim@fluendo.com>
15459
15460         * gst/gstclock.c: (gst_clock_set_calibration),
15461         (gst_clock_get_calibration):
15462         Doc and API fixes.
15463         Calibration can be set with internal time equal to current
15464         internal time too.
15465
15466 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15467
15468         * gst/gsterror.c:
15469         * gst/gsterror.h:
15470           document
15471
15472 2005-11-18  Andy Wingo  <wingo@pobox.com>
15473
15474         * configure.ac: 
15475         * pkgconfig/gstreamer-net.pc.in:
15476         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15477         * pkgconfig/Makefile.am: Add net pkgconfig files.
15478
15479 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
15480
15481         * gst/gstcaps.c:
15482         * gst/gstghostpad.c:
15483         * gst/gsttrace.c:
15484         * gst/gstvalue.c:
15485         * gst/gstvalue.h:
15486           docs fixes
15487
15488 2005-11-18  Andy Wingo  <wingo@pobox.com>
15489
15490         * gst/net/gstnetclientclock.c: Turn off debugging.
15491
15492         * check/net/gstnetclientclock.c (test_functioning): Assert that the
15493         times connverge somewhat. Can't make a real test.
15494
15495         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15496         integer arithmetic. Return the minimum of the domain, which can be
15497         set as "internal" for gst_clock_set_calibration.
15498         (gst_net_client_clock_observe_times): Call _set_calibration.
15499         (gst_net_client_clock_new): Call _set_calibration instead of
15500         rate_offset.
15501
15502         * check/net/gstnetclientclock.c (test_functioning): Use the right
15503         adjustment api.
15504
15505         * gst/gstclock.h:
15506         * gst/gstclock.c (gst_clock_get_calibration) 
15507         (gst_clock_set_calibration): New functions, obsolete the ones I
15508         added yesterday. Doh. Precision issues mean we have to extrapolate
15509         from a point in the more recent past than 1970.
15510         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15511         obsolete.
15512         (gst_clock_adjust_unlocked): Use the right calibration data.
15513
15514 2005-11-18  Edward Hervey  <edward@fluendo.com>
15515
15516         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
15517         Also reset the ->current_* values in READY->PAUSED
15518
15519 2005-11-18  Andy Wingo  <wingo@pobox.com>
15520
15521         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15522         Whoops, check the right fd. Also add some debugging.
15523         (gst_net_client_clock_observe_times): Adjust for int64 offset.
15524         (do_linear_regression): Add a crapload of debugging. Subtract off
15525         the minimum values from the input series to discard unneeded bits.
15526         Use only int arithmetic. There is still double arithmetic when
15527         calculating the intercept that needs fixing. Return boolean to
15528         indicate success; FALSE would mean the domain or range is too
15529         great. Still needs fixes.
15530
15531 2005-11-18  Wim Taymans  <wim@fluendo.com>
15532
15533         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15534         For the current position in stream time, we need to subtract
15535         accumulated time.
15536         
15537         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15538         Release lock before calling the callback function of async
15539         entries.
15540
15541 2005-11-18  Andy Wingo  <wingo@pobox.com>
15542
15543         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15544         Port goes all the way to MAXUINT16.
15545
15546         * gst/net/gstnettimeprovider.c: Make the port range the same as
15547         for the kernel: 0 assigns, otherwise ports are less than
15548         MAXUINT16.
15549
15550         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15551         port change.
15552
15553         * check/net/gstnetclientclock.c (test_functioning): Add the start
15554         of another test. 
15555
15556 2005-11-18  Wim Taymans  <wim@fluendo.com>
15557
15558         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15559         (gst_bin_remove_func), (bin_bus_handler):
15560         * gst/gstbin.h:
15561         Removing a clock provider from a bin, triggers a clock lost message
15562         so that a new clock will be selected.
15563         Adding a clock to a bin triggers a clock provider message.
15564         Make sure we reselect a clock when we received a clock lost message.
15565         Keep a reference to the element that provided the clock.
15566
15567 2005-11-18  Andy Wingo  <wingo@pobox.com>
15568
15569         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15570         the clock initially so it produces values around the base time.
15571         (gst_net_client_clock_class_init): Typo fix.
15572         (gst_net_client_clock_thread): Add note on when the socket gets
15573         closed.
15574
15575 2005-11-17  Wim Taymans  <wim@fluendo.com>
15576
15577         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15578         Free remote and local time arrays.
15579
15580 2005-11-17  Wim Taymans  <wim@fluendo.com>
15581
15582         * gst/net/gstnetclientclock.c: (do_linear_regression),
15583         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15584         Fix compilation, uninitialized vars and a forgotten continue.
15585
15586 2005-11-17  Andy Wingo  <wingo@pobox.com>
15587
15588         * check/Makefile.am (check_PROGRAMS): 
15589         * check/net/gstnetclientclock.c: Add a most minimal test for the
15590         net client clock. More to come later.
15591
15592         * gst/net/gstnet.h: 
15593         * gst/net/Makefile.am: Add netclientclock.
15594
15595         * gst/net/gstnetclientclock.h:
15596         * gst/net/gstnetclientclock.c: New files, implement an untested
15597         GstClock that takes its time from a network time provider.
15598         Implements the algorithm in network-clock.scm.
15599
15600         * tests/network-clock.scm (*window-size*): Rename from
15601         *queue-length*.
15602         * tests/network-clock.scm (network-time): 
15603         * tests/network-clock-utils.scm (q-push): Update callers.
15604
15605 2005-11-17  Wim Taymans  <wim@fluendo.com>
15606
15607         * gst/gstbin.c: (gst_bin_provide_clock_func),
15608         (gst_bin_sort_iterator_new):
15609         And unref the child too..
15610
15611 2005-11-17  Wim Taymans  <wim@fluendo.com>
15612
15613         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15614         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15615         Refactor the sort iterator so it can be used while holding the
15616         LOCK too.
15617         Make clock selection select a clock closest to the source.
15618
15619 2005-11-17  Michael Smith <msmith@fluendo.com>
15620
15621         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15622         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15623         * gst/gstclock.h:
15624           Anonymous structs are a gcc (and some other compilers) extension, so
15625           don't use them. Since this is only for ABI-compatibility, and our
15626           API/ABI freeze is over in a few days, this whole thing will only
15627           last a few days, so don't bother trying to think up a meaningful
15628           name for the struct.
15629
15630 2005-11-17  Andy Wingo  <wingo@pobox.com>
15631
15632         * gst/gstclock.h (GstClock): Add rate and offset properties,
15633         preserving ABI stability. Add rate/offset accessors. Will file bug
15634         for the freeze break.
15635
15636         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15637         and offset, trying to keep precision and avoiding
15638         underflow/overflow.
15639         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15640         functions. Make gst_clock_set_time_adjust obsolete.
15641         (gst_clock_set_time_adjust): Note that this function is obsolete.
15642         Will file bug soon.
15643
15644         * gst/base/gstbasetransform.h: Make the ABI-stability hack
15645         greppable by using GST_PADDING-1+1.
15646
15647 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
15648
15649         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15650
15651         * gst/gstmessage.c: (gst_message_parse_clock_lost):
15652           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15653
15654         * gst/gstpadtemplate.h:
15655         * gst/gstpluginfeature.h:
15656           Don't use c++ style comments in headers (#321638).
15657
15658 2005-11-16  Andy Wingo  <wingo@pobox.com>
15659
15660         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15661         buffer.
15662
15663         * check/net/gstnettimeprovider.c: Check to see that the time
15664         provider actually provides times. Works, yo!
15665
15666 2005-11-16  Wim Taymans  <wim@fluendo.com>
15667
15668         * check/Makefile.am:
15669         Enable more tests.
15670
15671         * check/elements/fakesrc.c: (GST_START_TEST):
15672         Set element to NULL before disposing it.
15673
15674 2005-11-16  Andy Wingo  <wingo@pobox.com>
15675
15676         * gst/net/Makefile.am:
15677         * gst/net/gstnet.h:
15678         * gst/net/gstnettimeprovider.c: 
15679         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15680         provider, include it from gstnet.h, and add it to the build.
15681
15682         * gst/net/gstnettimepacket.h: 
15683         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15684         sending and receiving.
15685
15686 2005-11-16  Wim Taymans  <wim@fluendo.com>
15687
15688         * check/Makefile.am:
15689         Enable valgrind check.
15690
15691         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15692         (gst_fake_src_alloc_buffer):
15693         Fix memleak.
15694
15695 2005-11-16  Wim Taymans  <wim@fluendo.com>
15696
15697         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15698         Call parent finalize too.
15699
15700 2005-11-16  Wim Taymans  <wim@fluendo.com>
15701
15702         * check/Makefile.am:
15703         Enable valgrind check that should work fine now.
15704
15705         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15706         * gst/gstqueue.c: (gst_queue_init):
15707         Fix memleaks in pad allocation.
15708
15709 2005-11-16  Andy Wingo  <wingo@pobox.com>
15710
15711         * gst/net/Makefile.am:
15712         * gst/net/gstnet.h: New part of core to hold network elements and
15713         objects. Put in core because it exposes API that applications want
15714         to use. The library is named libgstnet-tempname right now because
15715         of the existing libgstnet in gst-plugins-base. Solution is
15716         probably to rename the one in plugins-base; will file a bug for
15717         the freeze break.
15718
15719         * gst/net/gstnettimeprovider.c: 
15720         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15721         get_time call over the network.
15722
15723         * configure.ac: 
15724         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15725
15726         * check/Makefile.am:
15727         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15728         get additions shortly.
15729
15730 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15731
15732         * gst/gstpad.c: (gst_pad_new_from_static_template):
15733         * gst/gstpad.h:
15734           add gst_pad_new_from_static_template functions
15735         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15736         (gst_check_setup_sink_pad):
15737         * gst/elements/gsttee.c: (gst_tee_init):
15738           and use them
15739
15740 2005-11-16  Wim Taymans  <wim@fluendo.com>
15741
15742         * gst/gstpad.c: (gst_pad_pause_task):
15743         Removed warning, it's not really an error either.
15744
15745 2005-11-16  Wim Taymans  <wim@fluendo.com>
15746
15747         * gst/base/gstbasetransform.c:
15748         (gst_base_transform_prepare_output_buf),
15749         (gst_base_transform_event):
15750         Check if the caps are NULL, this can happen if the element
15751         is shutting down and the pad caps are set to NULL.
15752
15753 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15754
15755         * gst/elements/gsttee.c: (gst_tee_init):
15756           fix pad template leak in tee
15757
15758 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15759
15760         * gst/glib-compat.c: (g_value_dup_gst_object):
15761         * gst/glib-compat.h:
15762         * gst/gstpad.c: (gst_pad_set_property):
15763           use gst_object_ref when setting the pad template; this will
15764           trigger the pad template leaks on GLib 2.6 and the slaves
15765
15766 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15767
15768         * gst/glib-compat.c: (gst_flags_get_first_value):
15769         * gst/glib-compat.h:
15770         * gst/gstregistryxml.c:
15771           remove functions copied from GLib 2.6
15772
15773 2005-11-16  Michael Smith <msmith@fluendo.com>
15774
15775         * gst/Makefile.am:
15776           Don't link against VALGRIND_LIBS. That was always the wrong thing to
15777           do, but only breaks with newer valgrind versions. We're not a
15778           valgrind tool, we have no link-time dependencies on libcoregrind.
15779
15780 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15781
15782         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15783           some debug changes
15784         * gst/gstmessage.h:
15785           typo fixes
15786
15787 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15788
15789         * gst/base/gstbasesrc.c: (gst_base_src_init):
15790         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15791         * gst/gstqueue.c: (gst_queue_init):
15792         * gst/gstregistryxml.c: (load_feature):
15793           Revert all these unrefs, they don't even pass make check !
15794
15795 2005-11-15  Johan Dahlin  <johan@gnome.org>
15796
15797         * gst/base/gstbasesrc.c: (gst_base_src_init):
15798         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15799         * gst/gstqueue.c: (gst_queue_init): 
15800         Free pad templates, fixes a couple of leaks.
15801
15802 2005-11-15  Daniel Fischer  <dan at f3c dot com>
15803
15804         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15805
15806         * gst/gstpad.c: (gst_pad_get_property):
15807           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15808           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15809           (#321452)
15810
15811 2005-11-15  Wim Taymans  <wim@fluendo.com>
15812
15813         * gst/gstevent.c:
15814         Small doc update.
15815
15816 2005-11-15  Andy Wingo  <wingo@pobox.com>
15817
15818         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15819
15820         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15821         using GST_CLOCK_TIME_NONE to disable base time management.
15822         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15823         time if it was NONE before.
15824         (gst_pipeline_change_state): Only munge the base time if
15825         stream_time != GST_CLOCK_TIME_NONE.
15826
15827         * check/gst/gstpipeline.c (test_base_time): Punt around the
15828         problem of the probe not being called, because that's not the
15829         issue I'm looking at. Add a check that setting stream_time to NONE
15830         disables base time management.
15831         
15832 2005-11-15  Wim Taymans  <wim@fluendo.com>
15833
15834         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15835         segment_stop == -1 at startup.
15836
15837         * gst/base/gstbasetransform.c: (gst_base_transform_event),
15838         (gst_base_transform_change_state):
15839         Init segment values at start.
15840
15841 2005-11-15  Wim Taymans  <wim@fluendo.com>
15842
15843         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15844         0 segment values are 0 in any format.
15845
15846         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15847         * gst/base/gstbasetransform.h:
15848         Parse newsegment correctly in basetransform
15849
15850         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15851         Sync to clock using updated segment values.
15852
15853 2005-11-15  Andy Wingo  <wingo@pobox.com>
15854
15855         * check/gst/gstpipeline.c (test_base_time): Add check that the
15856         base time and stream time are reset correctly.
15857
15858 2005-11-15  Wim Taymans  <wim@fluendo.com>
15859
15860         * docs/design/part-TODO.txt:
15861         Some more TODO items.
15862
15863 2005-11-15  Andy Wingo  <wingo@pobox.com>
15864
15865         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15866         error if the user selected "no clock" as the clocking method.
15867
15868         * check/gst/gstpipeline.c (test_base_time): New test for buffer
15869         timestamps with live capture.
15870
15871         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15872         is 0 but we are a live source, timestamp the buffers using the
15873         element's clock.
15874
15875 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
15876
15877         * docs/gst/gstreamer-sections.txt:
15878         * gst/gsterror.c:
15879         * gst/gstghostpad.c:
15880         * gst/gstobject.h:
15881         * gst/gstxml.c:
15882           more section docs
15883
15884 2005-11-14  Wim Taymans  <wim@fluendo.com>
15885
15886         * common/gst.supp:
15887           add suppressions from Wim's Debian machine
15888
15889 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15890
15891         * common/gst.supp:
15892           add suppressions from Andy's AMD64 Ubuntu machine
15893
15894 2005-11-14  Andy Wingo  <wingo@pobox.com>
15895
15896         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15897         STATE_LOCK not necessary. Fixes #311489.
15898
15899         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15900         #305291.
15901
15902         * gst/gstindex.c (gst_index_add_object): Note in the docs that
15903         this function is not implemented.
15904
15905 2005-11-14  Julien MOUTTE  <julien@moutte.net>
15906
15907         * gst/base/gstbasetransform.c:
15908         (gst_base_transform_prepare_output_buf):
15909         Ref the source pad caps while we need them.
15910         Fixes (#321386)
15911
15912 2005-11-11  Wim Taymans  <wim@fluendo.com>
15913
15914         * docs/gst/gstreamer-sections.txt:
15915         Added some docs for GstCollectData.
15916
15917         * gst/base/gstadapter.c:
15918         Some small code example fix.
15919
15920         * gst/base/gstcollectpads.c:
15921         * gst/base/gstcollectpads.h:
15922         Document some more.
15923
15924 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15925
15926         * configure.ac: back to HEAD
15927
15928 === release 0.9.5 ===
15929
15930 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
15931
15932         * configure.ac:
15933           releasing 0.9.5, "Bike Lunch Day"
15934
15935 2005-11-11  Wim Taymans  <wim@fluendo.com>
15936
15937         * gst/gstbuffer.c: (_gst_buffer_copy):
15938         Copy more flags.
15939
15940         * gst/gstcaps.c: (gst_caps_is_equal):
15941         Fix some docs.
15942         Make _is_equal fast in the trivial cases.
15943
15944         * gst/gstminiobject.c:
15945         * gst/gstminiobject.h:
15946         More docs. Spifify .h file.
15947
15948         * gst/gstutils.c:
15949         Small doc update.
15950
15951 2005-11-11  Wim Taymans  <wim@fluendo.com>
15952
15953         * gst/base/gstbasetransform.c:
15954         (gst_base_transform_prepare_output_buf),
15955         (gst_base_transform_handle_buffer):
15956         Small cleanups.
15957         If we're processing a buffer and need to allocate an output
15958         buffer, we cannot accept a format change. If we did get a 
15959         format change, we have to alloc a buffer ourselves of the 
15960         right size.
15961
15962 2005-11-11  Wim Taymans  <wim@fluendo.com>
15963
15964         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15965         While checking the flag for reentrancy in the gstcaps function
15966         is nice to detect recursive invocations, it also makes it 
15967         impossible to call getcaps from multiple threads, which must be
15968         possible. So, checking for recursive calls has to go.
15969
15970 2005-11-11  Michael Smith <msmith@fluendo.com>
15971
15972         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15973           Don't sync on buffers that fall partially outside our current
15974           segment. Prevents an assertion failure/abort playing some files.
15975
15976 2005-11-10  Andy Wingo  <wingo@pobox.com>
15977
15978         * check/gst/gstbin.c (test_message_state_changed_children): Style
15979         fix..
15980
15981         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15982         gst_bus_poll with the signal watch. Ensures that poll and a signal
15983         watch see the same messages.
15984
15985         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15986         a poll and a watch at the same time get the same messages.
15987
15988 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15989
15990         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15991         * gst/gstcaps.c: (gst_caps_intersect):
15992           Don't call gst_caps_do_simplify - it doesn't respect order of caps
15993           and it's not needed.
15994
15995 2005-11-10  Wim Taymans  <wim@fluendo.com>
15996
15997         * docs/design/part-TODO.txt:
15998         Updated todo.
15999
16000 2005-11-10  Wim Taymans  <wim@fluendo.com>
16001
16002         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16003         * gst/base/gstbasesrc.c: (gst_base_src_wait),
16004         (gst_base_src_do_sync), (gst_base_src_get_range):
16005         Implement clock sync in base class.
16006
16007 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16008
16009         patch by: Tim-Philipp Müller <tim at centricular dot net>
16010
16011         * gst/gststructure.c: (gst_structure_parse_field),
16012         (gst_structure_from_string):
16013           Forward-port a 0.8 patch to handle escaped spaces in structure string,
16014           so that gst_parse_launch() can deal with spaces in filtered link
16015           caps (fixes #164479)
16016         * check/gst/capslist.h:
16017         * check/gst/gststructure.c: (GST_START_TEST):
16018           add unit tests for this change
16019
16020 2005-11-10  Wim Taymans  <wim@fluendo.com>
16021
16022         * docs/gst/gstreamer-sections.txt:
16023         * gst/gstelement.c:
16024         * gst/gstelement.h:
16025         Fix docs, move some STATE macros to private.
16026
16027 2005-11-10  Wim Taymans  <wim@fluendo.com>
16028
16029         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16030         Added check for bug #317341
16031
16032         * gst/gstbuffer.c:
16033         * gst/gstbuffer.h:
16034         Some more spiffifying.
16035
16036         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16037         Call peer linkfunction if we are a source pad. Totally fixes
16038         #317341
16039
16040         * gst/gstpad.c:
16041         Update docs, source pads should call the peer linkfunction
16042         so they can atomically perform the pad link.
16043
16044 2005-11-09  Wim Taymans  <wim@fluendo.com>
16045
16046         * gst/gstbuffer.c:
16047         * gst/gstbuffer.h:
16048         Uber-spiffy-spiffify some more.
16049
16050 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
16051
16052         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16053         * gst/elements/gstfilesink.c: (gst_file_sink_init):
16054         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16055         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16056         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16057         * gst/gstpad.c: (gst_pad_init):
16058           Use GST_DEBUG_FUNCPTR() more extensively.
16059
16060 2005-11-09  Wim Taymans  <wim@fluendo.com>
16061
16062         * gst/gstobject.c: (gst_object_class_init):
16063         * gst/gstobject.h:
16064         Documentation fixes.
16065
16066 2005-11-09  Edward Hervey  <edward@fluendo.com>
16067
16068         * gst/gsttypefindfactory.c:
16069         Fix docs.
16070         
16071 2005-11-09  Edward Hervey  <edward@fluendo.com>
16072
16073         * gst/base/gsttypefindhelper.c:
16074         * gst/gsttypefind.c:
16075         * gst/gsttypefind.h:
16076         Fix docs.
16077
16078 2005-11-09  Wim Taymans  <wim@fluendo.com>
16079
16080         * gst/gstiterator.c:
16081         Fix revision data.
16082
16083         * gst/gsttask.c:
16084         * gst/gsttask.h:
16085         Fix docs.
16086
16087 2005-11-09  Wim Taymans  <wim@fluendo.com>
16088
16089         * gst/gstevent.h:
16090         * gst/gsturi.h:
16091         Fix docs.
16092
16093 2005-11-09  Wim Taymans  <wim@fluendo.com>
16094
16095         * docs/gst/gstreamer-sections.txt:
16096         Moved the message async delivery private lock and cond
16097         to the private section.
16098
16099         * gst/gstmessage.c:
16100         * gst/gstmessage.h:
16101         Fixed docs.
16102
16103 2005-11-09  Edward Hervey  <edward@fluendo.com>
16104
16105         * docs/gst/gstreamer-sections.txt:
16106         * gst/gsturi.c:
16107         * gst/gsturi.h:
16108         Document GstURIHandler
16109
16110 2005-11-09  Wim Taymans  <wim@fluendo.com>
16111
16112         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16113         (gst_iterator_find_custom):
16114         * gst/gstiterator.h:
16115         Fix iterator docs.
16116
16117 2005-11-09  Wim Taymans  <wim@fluendo.com>
16118
16119         * gst/gstbin.h:
16120         Document another field.
16121
16122         * gst/gststructure.c:
16123         * gst/gststructure.h:
16124         Document.
16125
16126 2005-11-09  Wim Taymans  <wim@fluendo.com>
16127
16128         * gst/gstbin.h:
16129         Documented structs.
16130
16131 2005-11-09  Wim Taymans  <wim@fluendo.com>
16132
16133         * docs/gst/gstreamer-sections.txt:
16134         Added some new macros.
16135
16136         * gst/gstclock.c:
16137         * gst/gstclock.h:
16138         * gst/gstobject.h:
16139         Docs updates.
16140
16141 2005-11-09  Wim Taymans  <wim@fluendo.com>
16142
16143         * docs/design/part-TODO.txt:
16144         Some more items for the TODO
16145
16146         * gst/gstcaps.c:
16147         * gst/gstcaps.h:
16148         Document GstCaps.
16149
16150 2005-11-09  Andy Wingo  <wingo@pobox.com>
16151
16152         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16153         to work on something else now tho...
16154
16155         * gst/base/gstadapter.c: More adapter docs.
16156
16157         * gst/elements/gstfilesink.c (gst_file_sink_start) 
16158         (gst_file_sink_stop): New functions, replace the state change
16159         handler.
16160         (gst_file_sink_class_init): Hook up the start and stop functions.
16161         (gst_file_sink_base_init): Don't set the state change handler any
16162         more. It was a bit ugly too, being set from here...
16163         (gst_file_sink_get_property, gst_file_sink_set_property):
16164         Cleanups...
16165         (gst_file_sink_set_location): More robust check that doesn't call
16166         GST_STATE. Ugggggg.
16167
16168 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
16169
16170         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16171           Hold STREAM_LOCK while pushing newsegment or tag events as well.
16172
16173 2005-11-08  Wim Taymans  <wim@fluendo.com>
16174
16175         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16176         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16177         (gst_base_sink_chain), (gst_base_sink_change_state):
16178         * gst/base/gstbasesink.h:
16179         * gst/base/gstbasesrc.h:
16180         * gst/gstelement.h:
16181         * gst/gstevent.h:
16182         Avoid excessive typechecking in macros.
16183
16184         * gst/gstminiobject.c: (gst_mini_object_get_type),
16185         (gst_mini_object_init), (gst_mini_object_new),
16186         (gst_mini_object_free):
16187         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16188         (gst_object_finalize):
16189         Remove cruft code, optimize alloc_trace.
16190
16191 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16192
16193         * docs/faq/gst-uninstalled:
16194           fix up PS1 for systems that try to reset it
16195
16196 2005-11-07  Wim Taymans  <wim@fluendo.com>
16197
16198         * gst/base/gstbasesrc.c: (gst_base_src_init),
16199         (gst_base_src_get_range):
16200         Set the segment_end to -1 initially. Fixed typefind.
16201
16202 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
16203
16204         * gst/base/gstadapter.c:
16205           Debug category should be 'adapter', not 'GstAdapter'.
16206           
16207         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16208         (gst_collectpads_class_init), (gst_collectpads_init),
16209         (gst_collectpads_peek), (gst_collectpads_pop),
16210         (gst_collectpads_event), (gst_collectpads_chain):
16211           Add debug category and some debugging output. Use boilerplate
16212           macros. Remove some extraneous words from docs.
16213
16214 2005-11-05  Andy Wingo  <wingo@pobox.com>
16215
16216         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16217         macro.
16218
16219 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16220
16221         * docs/gst/gstreamer-sections.txt:
16222         * gst/gstcaps.h:
16223         * gst/gstinfo.c:
16224         * gst/gstminiobject.h:
16225         * gst/gstobject.h:
16226         * gst/gstutils.h:
16227           more docs added
16228
16229 2005-11-04  Wim Taymans  <wim@fluendo.com>
16230
16231         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16232         Small update to stop at the configured segment_end
16233         position.
16234
16235 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16236
16237         * gst/gstregistry.c:
16238         * gst/gstregistry.h:
16239           added missing docs
16240
16241 2005-11-04  Edward Hervey  <edward@fluendo.com>
16242
16243         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16244         Check if we are doing a segment seek and have arrived at the
16245         end of that segment.
16246
16247 2005-11-04  Wim Taymans  <wim@fluendo.com>
16248
16249         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16250         Don't leak a mutex unlock in case of an error.
16251
16252         * gst/gstbus.h:
16253         Doc fixes.
16254
16255 2005-11-04  Wim Taymans  <wim@fluendo.com>
16256
16257         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16258         (gst_bus_post):
16259         Get the context to wake up only once.
16260
16261 2005-11-03  Wim Taymans  <wim@fluendo.com>
16262
16263         * check/states/sinks.c: (GST_START_TEST):
16264         Uncomment fixed check.
16265
16266         * docs/design/part-TODO.txt:
16267         Updated TODO.
16268
16269         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16270         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16271         (gst_base_sink_get_position):
16272         If we are going to PLAYING, post the right pending state
16273         when we post the intermediate paused message.
16274
16275         * gst/gstelement.c: (gst_element_continue_state),
16276         (gst_element_set_state_func), (gst_element_change_state):
16277         Don't post state changes that were between the same state
16278         and were not ASYNC.
16279
16280 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16281
16282         * docs/gst/gstreamer-sections.txt:
16283         * gst/gstcaps.h:
16284         * gst/gstinfo.c:
16285         * gst/gstminiobject.h:
16286         * gst/gstobject.h:
16287         * gst/gstutils.h:
16288           more docs and doc style fixes
16289
16290 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16291
16292         * docs/gst/gstreamer-sections.txt:
16293         * gst/gstelement.c:
16294         * gst/gstminiobject.c:
16295         doc fixes
16296
16297 2005-11-03  Andy Wingo  <wingo@pobox.com>
16298
16299         * check/states/sinks.c (test_livesrc_sink): Add checks that the
16300         state-changed messages actually have the right order and the right
16301         values.
16302
16303 2005-11-03  Wim Taymans  <wim@fluendo.com>
16304
16305         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16306         Added some more checks. Specifically the case where NO_PREROLL
16307         elements are in the pipeline.
16308
16309         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16310         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16311         (gst_base_sink_get_position):
16312         Post READY->PAUSED state change messages too.
16313         Fix bug where VOID was posted as pending state...
16314
16315         * gst/gstbin.c: (gst_bin_recalc_state):
16316         use _element_continue_state() to continue the state change.
16317
16318         * gst/gstelement.c: (gst_element_continue_state),
16319         (gst_element_commit_state), (gst_element_set_state_func),
16320         (gst_element_change_state), (gst_element_change_state_func):
16321         Lots of state change cleanups, assign the STATE_RETURN in
16322         a new continue_state() function that also propagates the
16323         last return value from a state change to the app.
16324         Update some debug statements with proper category.
16325
16326 2005-11-03  Wim Taymans  <wim@fluendo.com>
16327
16328         * docs/design/part-events.txt:
16329         * docs/design/part-gstpipeline.txt:
16330         * docs/design/part-messages.txt:
16331         * docs/design/part-overview.txt:
16332         * docs/design/part-seeking.txt:
16333         * docs/design/part-states.txt:
16334         * docs/design/part-trickmodes.txt:
16335         * docs/manual/advanced-position.xml:
16336         Small docs updates.
16337
16338         * gst/gstobject.h:
16339         People think !! is ugly, this looks better.
16340
16341         * gst/gstpad.c: (gst_pad_set_blocked_async):
16342         Remove !! since it's fixed elsewhere now.
16343
16344 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16345
16346         * gst/gstminiobject.h:
16347         * gst/gstobject.h:
16348           Add !! to _FLAG_IS_SET macros to make the result boolean.
16349
16350 2005-11-03  Edward Hervey  <edward@fluendo.com>
16351
16352         * gst/gstpad.c: (gst_pad_set_blocked_async):
16353         comparing a flag and a gboolean rarely returns coherent results...
16354         Added two characters (!!) to make that work correctly.
16355         
16356 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16357
16358         * gst/gstbus.c: (gst_bus_class_init):
16359           Fix some typos.
16360           
16361         * gst/gstqueue.c: (gst_queue_loop):
16362           Don't assume a miniobject that isn't a buffer is an
16363           event (it could be that there is a refcounting
16364           problem somewhere and the pointer is stale and
16365           refers to an already destroyed miniobject).
16366
16367 2005-11-03  Julien MOUTTE  <julien@moutte.net>
16368
16369         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16370
16371 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16372
16373         * docs/manual/advanced-position.xml:
16374           Update seek example and explanations to current 0.9 API.
16375
16376         * gst/elements/gsttypefindelement.c:
16377         (gst_type_find_element_activate):
16378           Remove FIXME comment now that the found caps
16379           are unreffed.
16380
16381 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16382
16383         * gst/gstregistryxml.c: (load_feature):
16384           Add another GST_STR_NULL instance
16385
16386 2005-11-02  Edward Hervey  <edward@fluendo.com>
16387
16388         * gst/gstpad.c: (handle_pad_block):
16389         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16390         
16391 2005-11-02  Wim Taymans  <wim@fluendo.com>
16392
16393         * gst/gstbin.c:
16394         Fix typo in docs.
16395
16396         * gst/gstelement.c: (gst_element_commit_state):
16397         Remove unused value.
16398
16399         * gst/gstiterator.c:
16400         Mention that the returned element is reffed in the docs.
16401
16402 2005-11-02  Wim Taymans  <wim@fluendo.com>
16403
16404         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16405         (gst_pad_push), (gst_pad_push_event):
16406         Unlock blocked pads when they are flushed.
16407
16408 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16409
16410         * docs/README:
16411         * docs/gst/gstreamer-sections.txt:
16412         * gst/gstbin.c:
16413           doc updates
16414         * gst/gstregistry.c: (gst_registry_scan_path_level):
16415           fix for a nasty little missed situation where an installed plug-in
16416           which was in the cache did not get overridden by an uninstalled one
16417           which was earlier in the plugin path because the newly created plugin
16418           for the uninstalled one (not in the registry) didn't get its
16419           ->registered set to TRUE
16420
16421 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16422
16423         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16424         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16425         (gst_collectpads_is_active), (gst_collectpads_collect),
16426         (gst_collectpads_collect_range), (gst_collectpads_start),
16427         (gst_collectpads_stop), (gst_collectpads_peek),
16428         (gst_collectpads_pop), (gst_collectpads_available),
16429         (gst_collectpads_read), (gst_collectpads_flush):
16430           Guard public API with assertions.
16431         
16432         * gst/gstpad.c:
16433           Fix docs for gst_pad_set_link_function().
16434
16435 2005-11-02  Johan Dahlin  <johan@gnome.org>
16436
16437         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
16438         Unref found_caps after we used it.
16439
16440 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16441
16442         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16443           Don't try to ref NULL.
16444
16445 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16446
16447         * win32/common/config.h.in:
16448           provide a GST_FUNCTION that just gives a string for now
16449
16450 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16451
16452         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16453         (gst_object_flags_get_type), (register_gst_bin_flags),
16454         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16455         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16456         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16457         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16458         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16459         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16460         (gst_clock_flags_get_type), (register_gst_state),
16461         (gst_state_get_type), (register_gst_state_change_return),
16462         (gst_state_change_return_get_type), (register_gst_state_change),
16463         (gst_state_change_get_type), (register_gst_element_flags),
16464         (gst_element_flags_get_type), (register_gst_core_error),
16465         (gst_core_error_get_type), (register_gst_library_error),
16466         (gst_library_error_get_type), (register_gst_resource_error),
16467         (gst_resource_error_get_type), (register_gst_stream_error),
16468         (gst_stream_error_get_type), (register_gst_event_type),
16469         (gst_event_type_get_type), (register_gst_seek_type),
16470         (gst_seek_type_get_type), (register_gst_seek_flags),
16471         (gst_seek_flags_get_type), (register_gst_format),
16472         (gst_format_get_type), (register_gst_index_certainty),
16473         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16474         (gst_index_entry_type_get_type),
16475         (register_gst_index_lookup_method),
16476         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16477         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16478         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16479         (gst_index_flags_get_type), (register_gst_debug_level),
16480         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16481         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16482         (gst_iterator_result_get_type), (register_gst_iterator_item),
16483         (gst_iterator_item_get_type), (register_gst_message_type),
16484         (gst_message_type_get_type), (register_gst_mini_object_flags),
16485         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16486         (gst_pad_link_return_get_type), (register_gst_flow_return),
16487         (gst_flow_return_get_type), (register_gst_activate_mode),
16488         (gst_activate_mode_get_type), (register_gst_pad_direction),
16489         (gst_pad_direction_get_type), (register_gst_pad_flags),
16490         (gst_pad_flags_get_type), (register_gst_pad_presence),
16491         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16492         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16493         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16494         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16495         (gst_plugin_flags_get_type), (register_gst_rank),
16496         (gst_rank_get_type), (register_gst_query_type),
16497         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16498         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16499         (gst_tag_flag_get_type), (register_gst_task_state),
16500         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16501         (gst_alloc_trace_flags_get_type),
16502         (register_gst_type_find_probability),
16503         (gst_type_find_probability_get_type), (register_gst_uri_type),
16504         (gst_uri_type_get_type), (register_gst_parse_error),
16505         (gst_parse_error_get_type):
16506         * win32/common/gstversion.h:
16507           update win32 copies
16508
16509 2005-11-01  Luca Ognibene  <luogni@tin.it>
16510
16511         * gst/gst.c:
16512           fix docs. popt is dead, long live GOption.
16513
16514 2005-10-31  Wim Taymans  <wim@fluendo.com>
16515
16516         * gst/gstbuffer.h:
16517         Small doc fix.
16518
16519 2005-10-31  Andy Wingo  <wingo@pobox.com>
16520
16521         * Boo!
16522
16523         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16524
16525         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16526         need to serialize property notifications on GLib 2.8. GLib 2.6 has
16527         the possibility of deadlocks here if code calling notify() or
16528         set() has a lock that can be taken in another notify handler (ABBA
16529         with class lock and e.g. python GIL state lock).
16530
16531 2005-10-28  Julien MOUTTE  <julien@moutte.net>
16532
16533         * gst/gstbus.c: Doc updates.
16534
16535 2005-10-28  Wim Taymans  <wim@fluendo.com>
16536
16537         * docs/design/part-TODO.txt:
16538         * gst/gstiterator.c:
16539         * gst/gstsystemclock.c:
16540         * gst/gstsystemclock.h:
16541         Doc updates.
16542
16543 2005-10-28  Edward Hervey  <edward@fluendo.com>
16544
16545         * docs/gst/gstreamer-docs.sgml:
16546         * docs/gst/gstreamer-sections.txt:
16547         the GstURIType documentation page is private, it only defines GstURIType
16548         which should be defined in the GstURIHandler page
16549         
16550 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16551
16552         * gst/gstbin.c: (gst_bin_class_init):
16553         * gst/gstbin.h:
16554         * gst/gstutils.c:
16555         Documentation updates.
16556
16557 2005-10-28  Wim Taymans  <wim@fluendo.com>
16558
16559         * docs/gst/gstreamer-sections.txt:
16560         * gst/gstclock.c:
16561         * gst/gstclock.h:
16562         Documented the clocks.
16563
16564 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
16565
16566         * docs/gst/gstreamer-sections.txt:
16567           move some macros to private sections
16568         * gst/gstminiobject.c:
16569         * gst/gstminiobject.h:
16570           add descriptions provided by ds and some more
16571         * gst/gstpad.h:
16572           mark macro as to be removed
16573
16574 2005-10-28  Wim Taymans  <wim@fluendo.com>
16575
16576         * docs/design/part-TODO.txt:
16577         Add an item to TODO.
16578
16579         * gst/gstiterator.c: (gst_iterator_fold),
16580         (gst_iterator_find_custom):
16581         * gst/gstiterator.h:
16582         Add iterator docs.
16583
16584 2005-10-28  Wim Taymans  <wim@fluendo.com>
16585
16586         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16587         (gst_base_transform_init):
16588         Don't leak class.
16589
16590         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16591         An EOS event marks the queue as completely filled.
16592
16593 2005-10-27  Wim Taymans  <wim@fluendo.com>
16594
16595         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16596         (gst_base_sink_do_sync), (gst_base_sink_get_position):
16597         Some more debugging.
16598
16599         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16600         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16601         (gst_base_transform_event), (gst_base_transform_getrange),
16602         (gst_base_transform_chain):
16603         * gst/base/gstbasetransform.h:
16604         Fix debugging,
16605         Protect transform and concurrent buffer alloc with a new lock.
16606         Try not to break ABI/API.
16607
16608 2005-10-27  Wim Taymans  <wim@fluendo.com>
16609
16610         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16611         (gst_base_src_init), (gst_base_src_query),
16612         (gst_base_src_default_newsegment),
16613         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16614         (gst_base_src_send_event), (gst_base_src_event_handler),
16615         (gst_base_src_pad_get_range), (gst_base_src_loop),
16616         (gst_base_src_unlock), (gst_base_src_default_negotiate),
16617         (gst_base_src_start), (gst_base_src_deactivate),
16618         (gst_base_src_activate_push), (gst_base_src_change_state):
16619         Move some stuff around and cleanup things.
16620
16621 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
16622
16623         * gst/base/gstbasesrc.c: (gst_base_src_query):
16624           Add missing break statements.
16625
16626 2005-10-27  Wim Taymans  <wim@fluendo.com>
16627
16628         * check/gst/gstbin.c: (GST_START_TEST):
16629         An extra refcount is taken in basesrc.
16630
16631         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16632         (gst_base_src_get_range), (gst_base_src_pad_get_range),
16633         (gst_base_src_loop):
16634         Small cleanups, check for flushing after being unlocked from the 
16635         LIVE_LOCK. take refcounts correctly (not yet everywhere).
16636         Don't send out EOS when going to READY.
16637
16638 2005-10-27  Wim Taymans  <wim@fluendo.com>
16639
16640         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16641         (gst_base_sink_get_position):
16642         Some more debug.
16643
16644         * gst/gstbin.c: (message_check), (bin_replace_message),
16645         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16646         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16647         (bin_query_duration_init), (bin_query_duration_fold),
16648         (bin_query_duration_done), (bin_query_generic_fold),
16649         (gst_bin_query):
16650         * tools/gst-launch.c: (main):
16651         Remove old option.
16652
16653 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
16654
16655         * examples/controller/audio-example.c: (main):
16656         * examples/queue/queue.c: (event_loop):
16657         * gst/base/gstbasetransform.h:
16658         * gst/gstelement.c: (gst_element_send_event):
16659         * gst/gstevent.h:
16660         * gst/gstpad.c: (gst_pad_send_event):
16661           fixing examples
16662           fixing docs typos
16663           changing log priority in error situations
16664
16665 2005-10-25  Wim Taymans  <wim@fluendo.com>
16666
16667         * gst/gstbin.c: (message_check), (bin_replace_message),
16668         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16669         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16670         (bin_query_duration_init), (bin_query_duration_fold),
16671         (bin_query_duration_done), (bin_query_generic_fold),
16672         (gst_bin_query):
16673         Some doc and debug updates.
16674         Cache previously requested query DURATION for speed. invalidate
16675         cached duration if element posts a DURATION message.
16676
16677 2005-10-25  Wim Taymans  <wim@fluendo.com>
16678
16679         * docs/design/part-TODO.txt:
16680         Update TODO.
16681
16682         * gst/gstbin.c: (message_check), (bin_replace_message),
16683         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16684         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16685         (bin_query_duration_init), (bin_query_duration_fold),
16686         (bin_query_duration_done), (bin_query_generic_fold),
16687         (gst_bin_query):
16688         Handle SEGMENT_START/DONE messages correctly.
16689         More evolved query algorithm that handles duration queries
16690         correctly.
16691
16692         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16693         (gst_element_get_state_func), (gst_element_abort_state),
16694         (gst_element_commit_state), (gst_element_lost_state):
16695         Some more debugging.
16696
16697         * gst/gstmessage.h:
16698         Added doc.
16699
16700 2005-10-25  Wim Taymans  <wim@fluendo.com>
16701
16702         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16703         Don't use invalid stream_time.
16704
16705         * gst/gstevent.c: (gst_event_new_newsegment):
16706         stream_time in newsegment cannot be undefined.
16707
16708 2005-10-24  Wim Taymans  <wim@fluendo.com>
16709
16710         * gst/gstbus.c:
16711         Doc fix.
16712
16713         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16714         (gst_queue_loop):
16715         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16716
16717 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
16718
16719         * docs/libs/tmpl/gstdparam.sgml:
16720         * docs/libs/tmpl/gstdplinint.sgml:
16721         * docs/libs/tmpl/gstdpman.sgml:
16722         * docs/libs/tmpl/gstdpsmooth.sgml:
16723         * docs/libs/tmpl/gstunitconvert.sgml:
16724           these are obsolete
16725
16726 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16727
16728         * configure.ac:
16729           back to HEAD
16730
16731 === release 0.9.4 ===
16732
16733 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16734
16735         * configure.ac:
16736           releasing 0.9.4, "Tyrannosaurus Rex"
16737
16738 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
16739
16740         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16741         (gst_file_sink_get_current_offset):
16742           Use fseeko() and ftello() if available. When falling back on
16743           lseek() to get the current offset, fflush() first to make sure
16744           everything is up-to-date and we get the right offset.
16745
16746 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16747
16748         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16749         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16750         * gst/gsterror.c: (_gst_stream_errors_init):
16751         * gst/gsterror.h:
16752         * gst/gstqueue.c: (gst_queue_loop):
16753         * po/POTFILES.in:
16754           remove prematurely added error category and clean up the instances
16755
16756 2005-10-21  Wim Taymans  <wim@fluendo.com>
16757
16758         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16759         (gst_base_sink_get_position), (gst_base_sink_query),
16760         (gst_base_sink_change_state):
16761         Simply set the right flag when going to playing, that's all
16762         we need to do instead of calling a function inside the object
16763         lock (that could take the lock as well and deadlock)
16764
16765 2005-10-21  Wim Taymans  <wim@fluendo.com>
16766
16767         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16768         (gst_base_src_loop):
16769         Don't warn, the peer element knows what to do best when
16770         the seek failed, it might try something else.
16771
16772 2005-10-21  Wim Taymans  <wim@fluendo.com>
16773
16774         * gst/base/gstbasesrc.c: (gst_base_src_init),
16775         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16776         Fix seeking.
16777
16778 2005-10-21  Wim Taymans  <wim@fluendo.com>
16779
16780         * docs/design/part-segments.txt:
16781         More docs.
16782
16783         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16784         Correctly set caps, even on the subbufer.
16785
16786 2005-10-21  Wim Taymans  <wim@fluendo.com>
16787
16788         * docs/gst/gstreamer-docs.sgml:
16789         * docs/gst/gstreamer-sections.txt:
16790         * gst/gstelement.h:
16791         * gst/gstevent.c:
16792         * gst/gstevent.h:
16793         * gst/gstmessage.h:
16794         * gst/gstpad.h:
16795         * gst/gstparse.h:
16796         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16797         * gst/gsttask.h:
16798         * gst/gstutils.c:
16799         * gst/gstutils.h:
16800         And 2% more doc coverage.
16801
16802 2005-10-21  Andy Wingo  <wingo@pobox.com>
16803
16804         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16805         position reporting.
16806
16807 2005-10-20  Wim Taymans  <wim@fluendo.com>
16808
16809         * gst/gsterror.c: (gst_error_get_message):
16810         * gst/gstparse.h:
16811         * gst/gstquery.h:
16812         * gst/gststructure.c:
16813         * gst/gsttrace.c:
16814         * gst/gstutils.c:
16815         More docs.
16816
16817 2005-10-20  Wim Taymans  <wim@fluendo.com>
16818
16819         * gst/gstbuffer.h:
16820         * gst/gstpad.c:
16821         * gst/gstparse.c:
16822         Another 1% more coverage.
16823
16824 2005-10-20  Wim Taymans  <wim@fluendo.com>
16825
16826         * docs/gst/gstreamer-sections.txt:
16827         * gst/gstelement.c: (gst_element_get_state_func),
16828         (gst_element_abort_state), (gst_element_commit_state),
16829         (gst_element_lost_state):
16830         * gst/gstevent.h:
16831         * gst/gstquery.c: (gst_query_set_position),
16832         (gst_query_parse_position), (gst_query_set_duration),
16833         (gst_query_parse_duration), (gst_query_new_convert):
16834         * gst/gstutils.c:
16835         Yay! 1% more docs coverage.
16836
16837 2005-10-20  Wim Taymans  <wim@fluendo.com>
16838
16839         * gst/gstpad.h:
16840         * gst/gstquery.c: (gst_query_set_position),
16841         (gst_query_parse_position), (gst_query_set_duration),
16842         (gst_query_parse_duration), (gst_query_new_convert):
16843         * gst/gstquery.h:
16844         * gst/gstutils.c: (gst_element_query_convert):
16845         * gst/gstutils.h:
16846         Docs and consistency fixes.
16847
16848 2005-10-20  Wim Taymans  <wim@fluendo.com>
16849
16850         * gst/gsttask.c:
16851         * gst/gsttask.h:
16852         More docs.
16853
16854 2005-10-20  Wim Taymans  <wim@fluendo.com>
16855
16856         * gst/gstbin.c: (message_check), (bin_replace_message),
16857         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16858         (update_degree), (gst_bin_sort_iterator_next),
16859         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16860         Reworked the message handling a bit, cache the messages instead of
16861         only the senders. alows us to do more in the future.
16862
16863 2005-10-20  Wim Taymans  <wim@fluendo.com>
16864
16865         * docs/design/part-TODO.txt:
16866         Update TODO
16867
16868         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16869         (gst_base_sink_query):
16870         Don't use clock time to report position when in EOS.
16871
16872 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
16873
16874         * tools/gst-inspect.c: (print_interfaces),
16875         (print_element_properties_info), (print_element_info):
16876           Fix interface output with gst-inspect -a; don't print
16877           newlines after double/float properties.
16878
16879 2005-10-20  Wim Taymans  <wim@fluendo.com>
16880
16881         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16882         (gst_base_sink_query):
16883         Speed up current position calculation.
16884
16885         * gst/base/gstbasesrc.c: (gst_base_src_query),
16886         (gst_base_src_default_newsegment):
16887         Correctly set stream position in newsegment.
16888
16889         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16890         (update_degree), (gst_bin_sort_iterator_next),
16891         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16892         * gst/gstmessage.c: (gst_message_new_custom):
16893         Clean up debugging info
16894
16895         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16896         (gst_queue_loop), (gst_queue_handle_src_query):
16897         Pause task faster.
16898
16899 2005-10-19  Wim Taymans  <wim@fluendo.com>
16900
16901         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16902         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16903         Fix query handling again.
16904
16905 2005-10-19  Wim Taymans  <wim@fluendo.com>
16906
16907         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16908         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16909         * gst/base/gstbasesrc.c: (gst_base_src_query):
16910         * gst/elements/gstfilesink.c: (gst_file_sink_query):
16911         * gst/elements/gsttypefindelement.c:
16912         (gst_type_find_handle_src_query), (find_element_get_length),
16913         (gst_type_find_element_activate):
16914         API change fix.
16915
16916         * gst/gstquery.c: (gst_query_new_position),
16917         (gst_query_set_position), (gst_query_parse_position),
16918         (gst_query_new_duration), (gst_query_set_duration),
16919         (gst_query_parse_duration), (gst_query_set_segment),
16920         (gst_query_parse_segment):
16921         * gst/gstquery.h:
16922         Bundling query position/duration is not a good idea since duration
16923         does not change much and we don't want to recalculate it for every
16924         position query, so they are separated again..
16925         Base value in segment query is not needed.
16926
16927         * gst/gstqueue.c: (gst_queue_handle_src_query):
16928         * gst/gstutils.c: (gst_element_query_position),
16929         (gst_element_query_duration), (gst_pad_query_position),
16930         (gst_pad_query_duration):
16931         * gst/gstutils.h:
16932         Updates for query API change.
16933         Added some docs here and there.
16934
16935 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16936
16937         * check/gst/gstbin.c: (GST_START_TEST):
16938         * check/gst/gstghostpad.c: (GST_START_TEST):
16939         * check/pipelines/cleanup.c: (GST_START_TEST):
16940           wait on thread to die so we can check refcount correctly
16941
16942 2005-10-18  Wim Taymans  <wim@fluendo.com>
16943
16944         * check/pipelines/stress.c: (GST_START_TEST):
16945         Make check a little more time consuming.
16946
16947 2005-10-18  Wim Taymans  <wim@fluendo.com>
16948
16949         * check/Makefile.am:
16950         * check/pipelines/stress.c: (GST_START_TEST),
16951         (simple_launch_lines_suite), (main):
16952         Small state change torture test.
16953
16954         * docs/design/part-states.txt:
16955         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16956         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16957         (gst_base_sink_change_state):
16958         Never take state lock from streaming thread, clean up ugly
16959         hacks. Unfortunatly core does not yet support nice ways to
16960         async commit state.
16961         
16962         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16963         (bin_bus_handler):
16964         Start state recalc if a STATE_DIRTY message is posted, but only
16965         on the toplevel bin.
16966
16967         * gst/gstelement.c: (gst_element_sync_state_with_parent),
16968         (gst_element_get_state_func), (gst_element_abort_state),
16969         (gst_element_commit_state), (gst_element_lost_state),
16970         (gst_element_set_state_func), (gst_element_change_state):
16971         * gst/gstelement.h:
16972         State variables are now protected with the LOCK, the state
16973         lock is only used to serialize _set_state().
16974
16975 2005-10-18  Wim Taymans  <wim@fluendo.com>
16976
16977         * check/gst/gstbin.c: (GST_START_TEST):
16978         * check/gst/gstmessage.c: (GST_START_TEST):
16979         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16980         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16981         (bin_bus_handler):
16982         * gst/gstelement.c: (gst_element_abort_state),
16983         (gst_element_commit_state), (gst_element_lost_state):
16984         * gst/gstmessage.c: (gst_message_new_state_changed),
16985         (gst_message_new_state_dirty), (gst_message_new_segment_start),
16986         (gst_message_new_segment_done), (gst_message_new_duration),
16987         (gst_message_parse_state_changed),
16988         (gst_message_parse_segment_start),
16989         (gst_message_parse_segment_done), (gst_message_parse_duration):
16990         * gst/gstmessage.h:
16991         * tools/gst-launch.c: (event_loop):
16992         Seriously, this is better than a previous commit as we only need
16993         to notify the fact that an element changed state in a streaming
16994         thread, marking the state of the parents dirty, hence the 
16995         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16996         message.
16997
16998 2005-10-18  Wim Taymans  <wim@fluendo.com>
16999
17000         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
17001         (gst_bin_recalc_func):
17002         * gst/gstelement.c: (gst_element_set_clock),
17003         (gst_element_abort_state), (gst_element_lost_state):
17004         Cleanups, prepare for state change fixes.
17005
17006 2005-10-18  Wim Taymans  <wim@fluendo.com>
17007
17008         * gst/gstbin.h:
17009         * gst/gstelement.c: (gst_element_class_init),
17010         (gst_element_set_state), (gst_element_set_state_func):
17011         * gst/gstelement.h:
17012         Pending ABI changes.
17013         GThreadPool in GstBinClass to monitor async state changes.
17014         state_cookie in GstElement to detect concurrent gst/set state.
17015         set_state is now virtual too in case a very complicated element
17016         has to be constructed.
17017
17018 2005-10-18  Wim Taymans  <wim@fluendo.com>
17019
17020         * check/gst/gstbin.c: (GST_START_TEST):
17021         * check/gst/gstmessage.c: (GST_START_TEST):
17022         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17023         * gst/gstbin.c: (bin_bus_handler):
17024         * gst/gstelement.c: (gst_element_commit_state),
17025         (gst_element_lost_state):
17026         * gst/gstmessage.c: (gst_message_new_state_changed),
17027         (gst_message_new_segment_start), (gst_message_new_segment_done),
17028         (gst_message_new_duration), (gst_message_parse_state_changed),
17029         (gst_message_parse_segment_start),
17030         (gst_message_parse_segment_done), (gst_message_parse_duration):
17031         * gst/gstmessage.h:
17032         * tools/gst-launch.c: (event_loop):
17033         Make messages future proof.
17034         state-change gets a flag if it was a message comming from the
17035         streaming thread.
17036         segment-start/stop can also be specified in other formats.
17037         A message to notify an app that a pipeline changed playback 
17038         duration.
17039         Also fix a GstMessage leak in -launch
17040
17041 2005-10-18  Andy Wingo  <wingo@pobox.com>
17042
17043         * gst/gstelement.c (gst_element_dispose): More helpful message.
17044
17045 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17046
17047         reviewed by: <delete if not using a buddy>
17048
17049         * common/gtk-doc.mak:
17050
17051 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17052
17053         * gst/gstregistry.c: (gst_registry_scan_path_level):
17054           unref a plug-in we get that was already initialized
17055
17056 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
17057
17058         * docs/gst/gstreamer-sections.txt:
17059         * docs/libs/gstreamer-libs-sections.txt:
17060         * gst/gstelement.h:
17061           add new api entries
17062           hide internal macro
17063
17064 2005-10-17  Andy Wingo  <wingo@pobox.com>
17065
17066         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17067         cleanup.
17068
17069         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17070
17071         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17072
17073         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17074         (gst_element_get_state_func): Better debug message.
17075         (gst_element_commit_state): s/INFO/DEBUG/.
17076         (gst_element_lost_state, gst_element_change_state): 
17077
17078         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17079         (gst_message_new_custom): s/INFO/LOG/.
17080
17081 2005-10-17  Michael Smith <msmith@fluendo.com>
17082
17083         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17084           Check if end time is valid using end time, not start time.
17085
17086 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
17087
17088         * check/gst-libs/controller.c: (GST_START_TEST),
17089         (gst_controller_suite):
17090         * libs/gst/controller/gstcontroller.c:
17091         (gst_controlled_property_set_interpolation_mode):
17092         * libs/gst/controller/gstcontroller.h:
17093         * libs/gst/controller/gstinterpolation.c:
17094         * testsuite/controller/.cvsignore:
17095         * testsuite/controller/Makefile.am:
17096         * testsuite/controller/interpolator.c:
17097           merge controller testsuites
17098           fix broken tests
17099           remove mem-chunk from docs
17100
17101 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17102
17103         * gst/gstmemchunk.c:
17104         * gst/gstmemchunk.h:
17105         * gst/gsttrashstack.c:
17106         * gst/gsttrashstack.h:
17107           out.  get out.  you're fired.  to the Attic !
17108
17109 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17110
17111         * gst/gstcaps.c: (gst_caps_intersect):
17112           fix signedness issues in a (hopefully) correct way
17113         * gst/gstelement.c: (gst_element_pads_activate):
17114           some debugging
17115         * gst/gstobject.c: (gst_object_set_parent):
17116           some debugging
17117
17118 2005-10-17  Julien MOUTTE  <julien@moutte.net>
17119
17120         * gst/gstvalue.h: Fix prototypes.
17121
17122 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17123
17124         * docs/gst/gstreamer-sections.txt:
17125         * gst/gst.c: (gst_version_string):
17126         * gst/gst.h:
17127         * gst/gstversion.h.in:
17128         * win32/common/libgstreamer.def:
17129           add gst_version_string ()
17130
17131 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17132
17133         * configure.ac:
17134           clean up further
17135         * gst/gst.c: (init_post):
17136         * win32/common/config.h.in:
17137           it's PLUGINDIR now
17138         * gst/gstcaps.c: (gst_caps_intersect):
17139           use gint64, the range could be bigger than a guint
17140
17141 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17142
17143         * gst/gstclock.h:
17144           document potential problem in 2038
17145
17146 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17147
17148         * gst/gstcaps.c: (gst_caps_intersect):
17149           Fix guint j diving under 0
17150
17151 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17152
17153         * configure.ac:
17154         * win32/common/config.h:
17155         * win32/common/config.h.in:
17156           check for process.h, declares getpid() on Windows
17157         * gst/gstinfo.c:
17158           include process.h if we have it
17159         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17160         * gst/gstmemchunk.h:
17161           fix signedness issues
17162         * win32/common/libgstreamer.def:
17163           fix get_type's
17164
17165 2005-10-16  Julien MOUTTE  <julien@moutte.net>
17166
17167         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17168         fix. Because of unsigned ints, caps intersection was going nuts and
17169         trying to access structures with G_MAXUINT index. That fixes
17170         videotestsrc ! ffmpegcolorspace ! fakesink
17171         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17172         consistency.
17173
17174 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17175
17176         * configure.ac:
17177           use the gettext macro
17178         * gst/elements/gstelements.c:
17179         * gst/gst.c:
17180         * gst/indexers/gstindexers.c:
17181           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17182         * win32/common/config.h:
17183           updated config.h
17184         * win32/common/config.h.in:
17185           add the template to generate config.h
17186         * win32/common/gstenumtypes.c:
17187         * win32/common/gstversion.h:
17188           updated copies
17189
17190 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17191
17192         * gst/gst.c: (gst_version):
17193         * gst/gstversion.h.in:
17194           add the nano
17195
17196 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17197
17198         * gst/gstevent.h:
17199           Oops, add missing closing bracket.
17200
17201 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17202
17203         * configure.ac:
17204           use common m4's for argument checking
17205
17206 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17207
17208         * docs/gst/gstreamer-sections.txt:
17209         * gst/gstevent.h:
17210           Add GST_EVENT_TYPE_NAME() macro.
17211
17212 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17213
17214         * gst/gstinfo.c:
17215         * gst/gstpluginfeature.c:
17216         * gst/gsttask.c:
17217           privatize more symbols
17218
17219 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17220
17221         * configure.ac:
17222           add srcdir, builddir includes to GST_ALL_CFLAGS, since
17223           everything that uses GStreamer API should have the includes
17224
17225 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17226
17227         * docs/gst/gstreamer-sections.txt:
17228         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17229         * gst/gstvalue.h:
17230           give each value a _get_type, removes the DATA exports
17231
17232 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17233
17234         * gst/gst.c:
17235         * gst/gst.h:
17236           remove _gst_registry_auto_load, not used anymore
17237         * gst/gstbin.c: (gst_bin_get_type):
17238         * gst/gstbin.h:
17239         * gst/gstelement.c: (gst_element_get_type):
17240         * gst/gstelement.h:
17241         * gst/gstobject.c: (gst_object_get_type):
17242         * gst/gstobject.h:
17243         * gst/gstpad.c: (gst_pad_get_type):
17244         * gst/gstpad.h:
17245           make _get_type functions similar, fixes data export from library
17246
17247 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17248
17249         * configure.ac:
17250           correctly make conditionals
17251         * gst/elements/Makefile.am:
17252         * gst/elements/gstelements.c:
17253           fix typo causing fdsrc not to build
17254
17255 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17256
17257         * testsuite/Makefile.am:
17258         * testsuite/bytestream/.cvsignore:
17259         * testsuite/bytestream/Makefile.am:
17260         * testsuite/bytestream/filepadsink.c:
17261         * testsuite/bytestream/gstbstest.c:
17262         * testsuite/bytestream/test1.c:
17263         * testsuite/bytestream/testfile1:
17264         * testsuite/caps/normalisation.c:
17265         * testsuite/caps/random.c: (main):
17266         * testsuite/cleanup/.cvsignore:
17267         * testsuite/cleanup/Makefile.am:
17268         * testsuite/cleanup/cleanup1.c:
17269         * testsuite/cleanup/cleanup2.c:
17270         * testsuite/cleanup/cleanup3.c:
17271         * testsuite/cleanup/cleanup4.c:
17272         * testsuite/cleanup/cleanup5.c:
17273         * testsuite/controller/interpolator.c:
17274         * testsuite/debug/printf_extension.c: (main):
17275         * testsuite/elements/tee.c:
17276         * testsuite/negotiation/.cvsignore:
17277         * testsuite/negotiation/Makefile.am:
17278         * testsuite/negotiation/pad_link.c:
17279         * testsuite/pad/Makefile.am:
17280         * testsuite/pad/chainnopull.c:
17281         * testsuite/pad/getnopush.c:
17282         * testsuite/pad/link.c:
17283         * testsuite/refcounting/sched.c: (create_pipeline):
17284         * testsuite/registry/Makefile.am:
17285         * testsuite/registry/gst-print-formats.c:
17286         * testsuite/schedulers/.cvsignore:
17287         * testsuite/schedulers/142183-2.c:
17288         * testsuite/schedulers/142183.c:
17289         * testsuite/schedulers/143777-2.c:
17290         * testsuite/schedulers/143777.c:
17291         * testsuite/schedulers/147713.c:
17292         * testsuite/schedulers/147819.c:
17293         * testsuite/schedulers/147894-2.c:
17294         * testsuite/schedulers/147894.c:
17295         * testsuite/schedulers/Makefile.am:
17296         * testsuite/schedulers/group_link.c:
17297         * testsuite/schedulers/queue_link.c:
17298         * testsuite/schedulers/relink.c:
17299         * testsuite/schedulers/unlink.c:
17300         * testsuite/schedulers/unref.c:
17301         * testsuite/schedulers/useless_iteration.c:
17302         * testsuite/states/bin.c:
17303           clean out/remove some stuff from the testsuite directories
17304
17305 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17306
17307         * configure.ac:
17308           check for some headers
17309         * gst/elements/Makefile.am:
17310         * gst/elements/gstelements.c:
17311           don't compile fdsrc without sys/socket.h
17312         * gst/indexers/Makefile.am:
17313         * gst/indexers/gstindexers.c: (plugin_init):
17314           don't compile fileindex without mmap
17315
17316 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17317
17318         * configure.ac:
17319           reorganize
17320           clean up
17321           document more
17322           remove cruft
17323         * check/Makefile.am:
17324         * docs/gst/Makefile.am:
17325         * examples/helloworld/Makefile.am:
17326         * gst/Makefile.am:
17327         * gst/base/Makefile.am:
17328         * gst/check/Makefile.am:
17329         * gst/elements/Makefile.am:
17330         * gst/indexers/Makefile.am:
17331         * gst/parse/Makefile.am:
17332         * libs/gst/controller/Makefile.am:
17333         * libs/gst/dataprotocol/Makefile.am:
17334         * examples/helloworld/helloworld.c: (event_loop):
17335           compile fixes, though it's not being compiled currently
17336
17337 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17338
17339         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17340           Add some simple tests for the new taglist date API.
17341
17342 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17343
17344         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17345         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17346           Beautify 'last-message' output: print 'none' for buffer timestamps
17347           and durations if none is set; improve alignment with next messages.
17348
17349 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17350
17351         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17352         * gst/gstpluginfeature.h:
17353         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17354         * gst/gstregistry.h:
17355         * docs/gst/gstreamer-sections.txt:
17356           Add new API to check plugin feature version requirements.
17357
17358         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17359           Some basic tests for the above.         
17360
17361 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17362
17363         * gst/gststructure.c: (gst_structure_to_string):
17364           guard against NULL printf - happens when for example
17365           a message structure with GstClock gets serialized
17366
17367 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17368
17369         * gst/base/gstcollectpads.c: (gst_collectpads_event):
17370           Fix presumable copy'n'pasto.
17371
17372 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17373
17374         * gst/elements/gstfakesrc.h:
17375         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17376         * gst/elements/gsttypefindelement.c:
17377           fix some signedness
17378         * gst/elements/gstfilesink.c: (gst_file_sink_render):
17379           I wonder if this could actually write +2GB files before
17380
17381 2005-10-13  Andy Wingo  <wingo@pobox.com>
17382
17383         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17384         Fix Timmeke Waymans bug.
17385         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17386         string of the proper length to gst_caps_from_string. There's a
17387         potential for, before this fix, that this could cause someone
17388         connecting over the network to cause a segfault if the payload is
17389         not NUL-terminated.
17390
17391 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17392
17393         * docs/design/draft-push-pull.txt:
17394         * docs/design/part-overview.txt:
17395         * docs/random/TODO-pre-0.9:
17396         * docs/random/old/ChangeLog.gstreamer:
17397         * gst/base/gstpushsrc.c:
17398         * gst/gstclock.c:
17399           fixed typos
17400
17401 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17402
17403         * gst/glib-compat.c: (gst_flags_get_first_value):
17404         * gst/glib-compat.h:
17405         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17406         (gst_value_compare_double), (gst_value_serialize_flags):
17407           GLib 2.6 g_flags_get_first_value has a bug that triggers an
17408           infinite loop
17409
17410 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17411
17412         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17413         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17414           fix up debugging
17415         * tools/gst-launch.c: (event_loop):
17416           print out clock nicely
17417
17418 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17419
17420         * docs/gst/gstreamer-sections.txt:
17421         * gst/gsttaglist.h:
17422         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17423         (gst_tag_list_get_date_index):
17424           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17425           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17426
17427 2005-10-13  Julien MOUTTE  <julien@moutte.net>
17428
17429         * gst/base/gstcollectpads.c: (gst_collectpads_event),
17430         (gst_collectpads_chain):
17431         * gst/base/gstcollectpads.h: Handle newsegment and store informations
17432         in CollectData.
17433
17434 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17435
17436         * docs/gst/gstreamer-sections.txt:
17437         * gst/gst.c:
17438         * gst/gsterror.h:
17439         * tools/gst-inspect.c: (main):
17440         * tools/gst-launch.c: (main):
17441         * tools/gst-run.c: (main):
17442         * tools/gst-xmlinspect.c: (main):
17443           fix GOption context leaks
17444           doc fixes
17445
17446 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17447
17448         * gst/gstbus.c:
17449           use HAVE_UNISTD_H
17450         * win32/common/config.h:
17451           update config
17452         * win32/vs6/grammar.dsp:
17453         * win32/vs6/libgstelements.dsp:
17454         * win32/vs6/libgstreamer.dsp:
17455           update vs6 files
17456
17457 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17458
17459         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17460         * gst/base/gstbasesrc.c: (gst_base_src_query):
17461           fix more guint64<->gdouble conversions
17462
17463 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17464
17465         * Makefile.am:
17466           add win32-update target
17467         * win32/common/gstconfig.h:
17468         * win32/common/gstenumtypes.c:
17469         * win32/common/gstenumtypes.h:
17470         * win32/common/gstversion.h:
17471           add files that visual studio can't generate
17472
17473 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17474
17475         * Makefile.am:
17476           add a win32-update target
17477         * configure.ac:
17478
17479 2005-10-12  Wim Taymans  <wim@fluendo.com>
17480
17481         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17482         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17483         * gst/gstelement.c: (gst_element_commit_state),
17484         (gst_element_set_state):
17485         Protect flags with proper lock.
17486         unref provided cached clock in dispose.
17487
17488 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17489
17490         * gst/gst.c:
17491         * gst/gstminiobject.h:
17492         * gst/gstpad.h:
17493         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17494           removed unused flags from miniobject
17495           doc fixes
17496
17497 2005-10-12  Wim Taymans  <wim@fluendo.com>
17498
17499         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17500         (gst_file_sink_event), (gst_file_sink_render):
17501         Flush before seeking.
17502
17503 2005-10-12  Andy Wingo  <wingo@pobox.com>
17504
17505         * gst/gst.c (gst_init_check): Ignore unknown options, as has
17506         always been the case.
17507
17508 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17509
17510         * check/gst/gstbin.c: (GST_START_TEST):
17511         * docs/gst/gstreamer-sections.txt:
17512         * gst/base/gstbasesink.c: (gst_base_sink_init):
17513         * gst/base/gstbasesrc.c: (gst_base_src_init),
17514         (gst_base_src_get_range), (gst_base_src_check_get_range),
17515         (gst_base_src_start), (gst_base_src_stop):
17516         * gst/base/gstbasesrc.h:
17517         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17518         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17519         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17520         (bin_bus_handler):
17521         * gst/gstbin.h:
17522         * gst/gstbuffer.h:
17523         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17524         * gst/gstbus.h:
17525         * gst/gstelement.c: (gst_element_is_locked_state),
17526         (gst_element_set_locked_state), (gst_element_commit_state),
17527         (gst_element_set_state):
17528         * gst/gstelement.h:
17529         * gst/gstindex.c: (gst_index_init):
17530         * gst/gstindex.h:
17531         * gst/gstminiobject.h:
17532         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17533         (gst_object_set_parent):
17534         * gst/gstobject.h:
17535         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17536         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17537         * gst/gstpad.h:
17538         * gst/gstpadtemplate.h:
17539         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17540         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17541         * gst/gstpipeline.h:
17542         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17543         (gst_file_index_commit):
17544         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17545         * testsuite/pad/link.c: (gst_test_src_init),
17546         (gst_test_filter_init), (gst_test_sink_init):
17547         * testsuite/states/locked.c: (main):
17548           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17549           moved bitshift from macro to enum definition
17550
17551 2005-10-12  Wim Taymans  <wim@fluendo.com>
17552
17553         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17554         * gst/elements/gstfilesink.c: (gst_file_sink_event),
17555         (gst_file_sink_render):
17556         Some more debugging info.
17557
17558 2005-10-12  Wim Taymans  <wim@fluendo.com>
17559
17560         * docs/design/part-states.txt:
17561         * tools/gst-launch.c: (main):
17562         Some doc updates.
17563         Revert non-intentional change.
17564
17565 2005-10-12  Wim Taymans  <wim@fluendo.com>
17566
17567         * check/gst/gstbin.c: (GST_START_TEST):
17568         * check/gst/gstelement.c: (GST_START_TEST):
17569         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17570         * check/gst/gstghostpad.c: (GST_START_TEST):
17571         * check/gst/gstpipeline.c: (GST_START_TEST):
17572         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17573         * check/states/sinks.c: (GST_START_TEST):
17574         * gst/elements/gsttypefindelement.c: (stop_typefinding):
17575         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17576         (gst_bin_remove_func), (gst_bin_get_state_func),
17577         (gst_bin_recalc_state), (gst_bin_change_state_func),
17578         (bin_bus_handler):
17579         * gst/gstelement.c: (gst_element_get_state_func),
17580         (gst_element_get_state), (gst_element_abort_state),
17581         (gst_element_commit_state), (gst_element_set_state),
17582         (gst_element_change_state), (gst_element_change_state_func):
17583         * gst/gstelement.h:
17584         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17585         (gst_pipeline_provide_clock_func):
17586         * gst/gstutils.c: (gst_element_link_pads_filtered):
17587         * tools/gst-launch.c: (main):
17588         * tools/gst-typefind.c: (main):
17589         Use GstClockTime in _get_state() instead of GTimeVal.
17590         Remove old code in gstutils.c
17591
17592 2005-10-12  Andy Wingo  <wingo@pobox.com>
17593
17594         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17595         removed.
17596
17597         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17598         there is no task. Shouldn't affect any code, as nothing in our
17599         plugins checks this return value.
17600         (gst_pad_stop_task): Also take the stream lock if the pad has no
17601         task. Docs updated.
17602
17603 2005-10-12  Wim Taymans  <wim@fluendo.com>
17604
17605         * gst/gstpad.c: (pre_activate), (post_activate),
17606         (gst_pad_activate_pull), (gst_pad_activate_push):
17607         Cleanup activation code. Reset old state if
17608         activation failed.
17609
17610 2005-10-12  Wim Taymans  <wim@fluendo.com>
17611
17612         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17613         (gst_base_sink_change_state):
17614         No need to prerol after receiving EOS.
17615
17616         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17617         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17618         * gst/elements/gstidentity.c: (gst_identity_event):
17619         Print events more verbosely.
17620
17621 2005-10-12  Wim Taymans  <wim@fluendo.com>
17622
17623         * check/Makefile.am:
17624         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17625         * check/states/sinks2.c:
17626         Moved sinks2 testcode in sinks check.
17627
17628         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17629         (gst_bin_remove_func), (gst_bin_recalc_state),
17630         (gst_bin_change_state_func), (bin_bus_handler):
17631         Fix potential race condition when _get_state() iterated over an
17632         ASYNC element right before it posted a state completion.
17633
17634         * gst/gstclock.h:
17635         Do proper cast here.
17636
17637         * gst/gstevent.c: (gst_event_new_newsegment),
17638         (gst_event_parse_newsegment):
17639         A playback rate of 0.0 is not allowed.
17640
17641 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17642
17643         * win32/common/config.h:
17644         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17645         (_trewinddir), (_ttelldir), (_tseekdir):
17646         * win32/common/dirent.h:
17647         * win32/common/gtchar.h:
17648         * win32/common/libgstbase.def:
17649         * win32/common/libgstreamer.def:
17650         * win32/vs6/grammar.dsp:
17651         * win32/vs6/gst_inspect.dsp:
17652         * win32/vs6/gst_launch.dsp:
17653         * win32/vs6/gstreamer.dsw:
17654         * win32/vs6/libgstbase.dsp:
17655         * win32/vs6/libgstelements.dsp:
17656         * win32/vs6/libgstreamer.dsp:
17657           Visual Studio 6 project files, and a new common directory.
17658           Phear.
17659
17660 2005-10-11  Wim Taymans  <wim@fluendo.com>
17661
17662         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17663         (gst_base_sink_do_sync), (gst_base_sink_query),
17664         (gst_base_sink_change_state):
17665         * gst/base/gstbasesink.h:
17666         Correctly parse newsegment info.
17667
17668 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17669
17670         * gst/gst.c: (init_post):
17671           split plugin paths correctly
17672
17673 2005-10-11  Wim Taymans  <wim@fluendo.com>
17674
17675         * check/gst/gstevent.c: (GST_START_TEST):
17676         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17677         (gst_base_sink_change_state):
17678         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17679         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17680         * gst/elements/gstfilesink.c: (gst_file_sink_event):
17681         * gst/gstevent.c: (gst_event_new_newsegment),
17682         (gst_event_parse_newsegment):
17683         * gst/gstevent.h:
17684         Added extra flag to newsegment for future API freeze.
17685         Updated check and base elements.
17686
17687 2005-10-11  Julien MOUTTE  <julien@moutte.net>
17688
17689         * gst/base/gstcollectpads.c: (gst_collectpads_init),
17690         (gst_collectpads_add_pad), (gst_collectpads_pop),
17691         (gst_collectpads_event), (gst_collectpads_chain):
17692         * gst/base/gstcollectpads.h: Handle EOS correctly.
17693
17694 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17695
17696         * tools/gst-launch.c: (main):
17697           more null protecting
17698
17699 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17700
17701         * gst/gst-i18n-lib.h:
17702           check for ENABLE_NLS, not GETTEXT_PACKAGE
17703         * gst/gstregistry.c: (gst_registry_add_plugin),
17704         (gst_registry_scan_path_level),
17705         (_gst_registry_remove_cache_plugins):
17706           protect possibly NULL strings
17707         * gst/parse/types.h:
17708           config.h already included before
17709         * tools/gst-inspect.c: (main):
17710           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17711           check for ENABLE_NLS, not GETTEXT_PACKAGE
17712         * tools/gst-launch.c: (main):
17713           check for ENABLE_NLS, not GETTEXT_PACKAGE
17714
17715 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17716
17717         * configure.ac:
17718           if we don't have glib, fail before testing 2.8
17719         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17720           fix a leak, should fix plugins-base testsuite
17721
17722 2005-10-11  Andy Wingo  <wingo@pobox.com>
17723
17724         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17725         take the mode we're going to as an arg. Go head and set the mode
17726         and flushing flags now, so that if the activate function starts a
17727         thread all the flags will be in the right state.
17728         (post_activate): Renamed also. Just handle making sure streaming
17729         finishes for the deactivation case, and setting the deactivated
17730         mode.
17731         (gst_pad_set_active): Complain loudly if deactivation fails.
17732         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17733         (gst_pad_activate_push): Adapt to pre/post_activate changes,
17734         remove the terrible hack.
17735
17736 2005-10-11  Wim Taymans  <wim@fluendo.com>
17737
17738         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17739         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17740         (gst_bin_recalc_state), (gst_bin_change_state_func),
17741         (gst_bin_dispose), (bin_bus_handler):
17742         * gst/gstbin.h:
17743         Prepare to make current EOS message queue more generic.
17744         Fix some typos.
17745
17746         * gst/gstevent.c: (gst_event_new_newsegment),
17747         (gst_event_parse_newsegment):
17748         * gst/gstevent.h:
17749         Rename base to stream_time.
17750
17751         * gst/gstmessage.h:
17752         Fix typo in docs.
17753
17754 2005-10-11  Wim Taymans  <wim@fluendo.com>
17755
17756         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17757         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17758         (gst_bin_change_state_func), (bin_bus_handler):
17759         * gst/gstbin.h:
17760         Work on proper clock selection.
17761
17762 2005-10-11  Edward Hervey  <edward@fluendo.com>
17763
17764         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
17765         * libs/gst/controller/gstcontroller.h:
17766         Added GList* version of _remove_properties() in order to be able to wrap
17767         it in bindings.
17768
17769 2005-10-11  Wim Taymans  <wim@fluendo.com>
17770
17771         * docs/design/part-states.txt:
17772         Some more docs.
17773
17774         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17775         (gst_bin_change_state_func), (bin_bus_handler):
17776         Doc updates. Don't distribute the same clock over and over again.
17777
17778         * gst/gstclock.c:
17779         * gst/gstclock.h:
17780         Doc updates.
17781
17782         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17783         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17784         (gst_pad_send_event):
17785         * gst/gstpad.h:
17786         Make probe emission threadsafe again.
17787         Register quarks and move _get_name() from utils.
17788         Doc updates.
17789
17790         * gst/gstpipeline.c: (gst_pipeline_class_init),
17791         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17792         Only redistribute the clock of it changed.
17793
17794         * gst/gstsystemclock.h:
17795         Doc updates. 
17796
17797         * gst/gstutils.c:
17798         * gst/gstutils.h:
17799         Moved the _flow_get_name() to GstPad.
17800
17801 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17802
17803         * check/gst-libs/gdp.c: (GST_START_TEST):
17804         * check/gst/gstcaps.c: (GST_START_TEST):
17805         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17806         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17807         (gst_dp_packet_from_caps):
17808           fix more valgrind warnings before turning up the heat
17809
17810 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17811
17812         * gst/parse/grammar.y:
17813           some cleanup before the hacking
17814
17815 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17816
17817         * gst/base/gstbasesrc.c: (gst_base_src_query):
17818           use conversions
17819         * gst/gstutils.c: (gst_guint64_to_gdouble),
17820         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17821         * gst/gstutils.h:
17822           externalize, basesrc uses it
17823           obviously the implementation needs testing
17824
17825 2005-10-10  Wim Taymans  <wim@fluendo.com>
17826
17827         * tests/sched/Makefile.am:
17828         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17829         (make_pipeline3), (make_pipeline4), (print_elem), (main):
17830
17831 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17832
17833         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17834           apparently converting from guint64 to double is not implemented
17835           on MSVC
17836
17837 2005-10-10  Wim Taymans  <wim@fluendo.com>
17838
17839         * check/Makefile.am:
17840         * check/generic/states.c: (GST_START_TEST):
17841         * check/gst/gstbin.c: (GST_START_TEST):
17842         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17843         * check/states/sinks.c: (GST_START_TEST):
17844         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17845         (main):
17846         Check fixes, use API as stated in design docs, remove hacks.
17847
17848         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17849         (gst_base_sink_change_state):
17850         Catch stopping our task while we're shutting down.
17851
17852         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17853         (gst_bin_remove_func), (gst_bin_get_state_func),
17854         (gst_bin_recalc_state), (gst_bin_change_state_func),
17855         (bin_bus_handler):
17856         * gst/gstbin.h:
17857         * gst/gstelement.c: (gst_element_init),
17858         (gst_element_get_state_func), (gst_element_abort_state),
17859         (gst_element_commit_state), (gst_element_lost_state),
17860         (gst_element_set_state), (gst_element_change_state),
17861         (gst_element_change_state_func):
17862         * gst/gstelement.h:
17863         New state change algorithm (see #318116)
17864
17865         * gst/gstpipeline.c: (gst_pipeline_class_init),
17866         (gst_pipeline_init), (gst_pipeline_set_property),
17867         (gst_pipeline_get_property), (do_pipeline_seek),
17868         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17869         * gst/gstpipeline.h:
17870         Remove crude state change hacks.
17871
17872         * gst/gstutils.h:
17873         Remove crude hacks.
17874
17875         * tools/gst-launch.c: (main):
17876         Fixes for state change. Needs some more work to fully use the
17877         new stuff.
17878
17879 2005-10-10  Andy Wingo  <wingo@pobox.com>
17880
17881         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17882
17883         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17884         this flag, but it's not even in GLib 2.6. Odd. Hack around the
17885         issue.
17886
17887 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17888
17889         * gst/gstiterator.c: (gst_iterator_new):
17890           Fix my previous commit: GTypes passed to gst_iterator_new()
17891           can be fundamental types.
17892
17893 2005-10-10  Wim Taymans  <wim@fluendo.com>
17894
17895         * gst/gstelement.c: (gst_element_iterate_pad_list),
17896         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17897         (gst_element_iterate_sink_pads):
17898         Use src/sink pads lists for the respective iterators instead
17899         of filtering.
17900
17901 2005-10-10  Andy Wingo  <wingo@pobox.com>
17902
17903         Merged in popt removal + GOption addition patch from Ronald, bug
17904         #169772.
17905
17906         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17907         GstElement macros around, remove popt-related symbols, add goption
17908         stuff.
17909
17910         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17911         
17912         * docs/gst/Makefile.am:
17913         * docs/libs/Makefile.am: No POPT_CFLAGS.
17914         
17915         * examples/manual/Makefile.am:
17916         * docs/manual/basics-init.xml: Doc updates with an example.
17917         
17918         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17919         (gst_init), (parse_one_option), (parse_goption_arg):
17920         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17921         bit of hand merging and debugging to get the GOption stuff working
17922         tho.
17923         
17924         * tests/Makefile.am:
17925         * tools/Makefile.am:
17926         * tools/gst-inspect.c: (main):
17927         * tools/gst-launch.c: (main):
17928         * tools/gst-run.c: (main):
17929         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17930
17931 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17932
17933         * gst/gstiterator.c: (gst_iterator_new):
17934           Add assertions to make sure passed GType is likely to really
17935           be a GType (as the compiler won't catch it if the size and
17936           GType arguments get mixed up, see #318447).
17937
17938 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
17939
17940         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17941
17942         * gst/gstbin.c: (gst_bin_iterate_sorted):
17943           Pass GType and size arguments to gst_iterator_new() in the right
17944           order (maybe we should make _new() take the GType as first argument
17945           just like _new_list()?) (#318447).
17946           
17947
17948 2005-10-10  Wim Taymans  <wim@fluendo.com>
17949
17950         * gst/gstelement.c: (gst_element_finalize):
17951         And free the GStaticRecMutex too
17952
17953 2005-10-10  Andy Wingo  <wingo@pobox.com>
17954
17955         * gst/gstelement.c (gst_element_init, gst_element_finalize):
17956         Allocate and free the mutex properly.
17957
17958         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17959         New macros.
17960         (GstElement): The state_lock is now recursive. Rebuild your
17961         plugins, suckers. Old macros adapted.
17962
17963         * docs/gst/gstreamer-sections.txt: Doc updates.
17964
17965         * gst/gstutils.h:
17966         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
17967         (g_static_rec_cond_wait): Ported from state changes patch, while
17968         we wait on bug #317802 to be solved in a well-distributed GLib.
17969
17970         * gst/gstelement.c (gst_element_change_state_func): Renamed from
17971         gst_element_change_state, variable name changes.
17972         (gst_element_change_state): Split out of gst_element_set_state in
17973         preparation for the state change merge. Doesn't pay attention to
17974         the 'transition' argument.
17975         (gst_element_set_state): Updates, hopefully purely cosmetic.
17976         (gst_element_sync_state_with_parent): MT-safety. Ported from the
17977         state change patch.
17978         (gst_element_get_state_func): Renamed from get_state, cosmetic
17979         changes.
17980
17981 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17982
17983         * gst/elements/gstelements.c:
17984         * win32/GStreamer.vcproj:
17985         * win32/config.h:
17986         * win32/dirent.c: (_tseekdir):
17987         * win32/gst-inspect.vcproj:
17988         * win32/gst-launch.vcproj:
17989         * win32/gstconfig.h:
17990         * win32/gstelements.vcproj:
17991         * win32/gstenumtypes.c: (gst_object_flags_get_type):
17992         * win32/gstreamer.def:
17993         * win32/msvc71.sln:
17994           updates for the win32 build (patch from Sebastien Moutte)
17995
17996 2005-10-10  Andy Wingo  <wingo@pobox.com>
17997
17998         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17999         gst_bin_get_state, cleaned up (but no logic changes).
18000         (bin_element_is_sink): Comment updates.
18001         (sink_iterator_filter): Remove needless cast.
18002         (gst_bin_iterate_sinks): Doc update.
18003         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
18004         cleaned up (but no logic changes).
18005
18006         * check/states/sinks.c (test_src_sink): Cleanups from the state
18007         change patch.
18008         (test_livesrc_sink): Sync on the state.
18009
18010         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
18011         the state change patch.
18012
18013         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
18014         change patch.
18015
18016         * check/gst/gstbin.c: Merge in some style fixes and additional
18017         checks from Wim's state change patch.
18018
18019 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18020
18021         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18022         (gst_type_find_helper):
18023           Check whether we have the requested data already in our list of
18024           cached buffers before pulling a new buffer; also make the buffer
18025           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18026
18027 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18028
18029         * gst/gstcaps.c:
18030         * gst/gstevent.c:
18031           doc updates
18032         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18033           don't use long long, it's not portable.  Replacing with
18034           gint64 seems to work; let's hope no skeletons fall out of the closet.
18035
18036 2005-10-10  Andy Wingo  <wingo@pobox.com>
18037
18038         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18039
18040 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
18041
18042         * docs/gst/gstreamer-sections.txt:
18043         * gst/gstevent.c:
18044         * gst/gstevent.h:
18045         * gst/gstinfo.c:
18046         * gst/gstinfo.h:
18047         * gst/gstmessage.c: (gst_message_parse_state_changed):
18048         * gst/gstpad.c:
18049         * gst/gstpad.h:
18050           more docs, fix compilation
18051
18052 2005-10-09  Philippe Khalaf <burger@speedy.org>
18053         * gst/gstmessage.c:
18054           Fixed a few forgotten variables on previous commit
18055
18056 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
18057
18058         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18059           Fix evil typefind crasher: getrange() might return a short
18060           buffer at the end of a file, but gst_type_find_peek() must
18061           either return the full data as requested or NULL, but
18062           never a short buffer.
18063
18064 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18065
18066         * gst/gstmessage.c: (gst_message_new_state_changed),
18067         (gst_message_parse_state_changed):
18068         * gst/gstmessage.h:
18069           don't use "new", it's a C++ keyword
18070
18071 2005-10-08  Wim Taymans  <wim@fluendo.com>
18072
18073         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18074         * gst/gstelement.c: (gst_element_post_message):
18075         * gst/gstpipeline.c: (gst_pipeline_change_state):
18076         Small docs and debug updates.
18077
18078 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18079
18080         * docs/gst/gstreamer-sections.txt:
18081         * gst/gstelementfactory.c:
18082         * gst/gstevent.c:
18083         * gst/gsttaglist.c:
18084           more docs
18085
18086 2005-10-08  Wim Taymans  <wim@fluendo.com>
18087
18088         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18089         (gst_bin_dispose), (bin_bus_handler):
18090         Fix typos, add comments.
18091         Clear EOS list when going to PAUSED from any direction and do it
18092         in a threadsafe way.
18093         Get base time in a threadsafe way too.
18094         Fix confusing debug in the change_state function.
18095         Various other small cleanups.
18096         
18097         * gst/gstelement.c: (gst_element_post_message):
18098         Fix very verbose bus posting code.
18099
18100         * gst/gstpipeline.c: (gst_pipeline_class_init),
18101         (gst_pipeline_set_property), (gst_pipeline_get_property),
18102         (gst_pipeline_change_state):
18103         Small ARG_ -> PROP_ cleanup
18104
18105 2005-10-08  Wim Taymans  <wim@fluendo.com>
18106
18107         * gst/gstbin.c: (is_eos), (bin_bus_handler):
18108         Do a less CPU demanding EOS check because we can.
18109
18110 2005-10-08  Wim Taymans  <wim@fluendo.com>
18111
18112         * libs/gst/dataprotocol/dataprotocol.c:
18113         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18114         (gst_dp_packet_from_event):
18115         * libs/gst/dataprotocol/dataprotocol.h:
18116         * libs/gst/dataprotocol/dp-private.h:
18117         It's about time we bump the version number.
18118         Since event types don't fit in the guint8 anymore describing
18119         the payload type, make payload type 16 bits wide.
18120
18121 2005-10-08  Wim Taymans  <wim@fluendo.com>
18122
18123         * docs/design/part-TODO.txt:
18124         * docs/design/part-clocks.txt:
18125         * docs/design/part-events.txt:
18126         * docs/design/part-gstbin.txt:
18127         * docs/design/part-gstelement.txt:
18128         * docs/design/part-gstpipeline.txt:
18129         * docs/design/part-live-source.txt:
18130         * docs/design/part-messages.txt:
18131         * docs/design/part-overview.txt:
18132         * docs/design/part-states.txt:
18133         Many doc updates.
18134
18135 2005-10-08  Wim Taymans  <wim@fluendo.com>
18136
18137         * gst/gstevent.c:
18138         * gst/gstevent.h:
18139         Fix event quark registration.
18140         Add some space between events so we can insert them in the
18141         right groups.
18142
18143 2005-10-08  Wim Taymans  <wim@fluendo.com>
18144
18145         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18146         (gst_base_sink_handle_buffer):
18147         Better log message.
18148
18149         * gst/gstbus.h:
18150         * gst/gstelement.h:
18151         More docs.
18152
18153         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18154         (gst_queue_set_property), (gst_queue_get_property):
18155         * gst/gstqueue.h:
18156         Remove old unused properties.
18157
18158 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18159         * docs/gst/gstreamer-sections.txt:
18160         * gst/gstmessage.c:
18161         * gst/gstmessage.h:
18162         * gst/gstminiobject.c:
18163         * gst/gstminiobject.h:
18164         * gst/gstobject.h:
18165         * gst/gstpad.h:
18166         * gst/gstutils.h:
18167           lots of new docs and doc fixes
18168
18169 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18170
18171         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18172         * gst/gstplugin.h:
18173         * gst/gstregistry.c: (gst_registry_lookup_locked),
18174         (gst_registry_scan_path_level):
18175         * gst/gstregistryxml.c: (load_plugin):
18176           Only ever load one plugin for a given plugin basename.
18177           This ensures correct overriding of GST_PLUGIN_PATH over
18178           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18179           system installed plugins.
18180
18181 2005-10-08  Wim Taymans  <wim@fluendo.com>
18182
18183         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18184         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18185         Prepare for doing QOS.
18186
18187 2005-10-08  Wim Taymans  <wim@fluendo.com>
18188
18189         * check/gst/gstbin.c: (GST_START_TEST):
18190         * check/pipelines/cleanup.c: (GST_START_TEST):
18191         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18192         Allow new clock message too.
18193
18194 2005-10-08  Wim Taymans  <wim@fluendo.com>
18195
18196         * gst/gstmessage.c: (gst_message_new_error),
18197         (gst_message_new_warning), (gst_message_new_tag),
18198         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18199         (gst_message_new_clock_lost), (gst_message_new_new_clock),
18200         (gst_message_new_segment_start), (gst_message_new_segment_done),
18201         (gst_message_parse_state_changed),
18202         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18203         (gst_message_parse_new_clock):
18204         * gst/gstmessage.h:
18205         Also carry the clock in question.
18206
18207 2005-10-08  Wim Taymans  <wim@fluendo.com>
18208
18209         * gst/gstmessage.c: (gst_message_new_custom),
18210         (gst_message_new_eos), (gst_message_new_error),
18211         (gst_message_new_warning), (gst_message_new_tag),
18212         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18213         (gst_message_new_new_clock), (gst_message_new_segment_start),
18214         (gst_message_new_segment_done), (gst_message_parse_state_changed),
18215         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18216         * gst/gstmessage.h:
18217         Clean up.
18218         Added clock related messages.
18219
18220         * gst/gstpipeline.c: (gst_pipeline_change_state):
18221         Post message when the clock changed.
18222
18223         * tools/gst-launch.c: (event_loop):
18224         Print new clock.
18225
18226 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
18227
18228         * tools/gst-inspect.c: (print_element_properties_info):
18229           Can't pass NULL strings to g_print() on windows.
18230
18231 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18232
18233         * docs/Makefile.am:
18234         * docs/gst/Makefile.am:
18235         * docs/gst/gstreamer-docs.sgml:
18236         * docs/gst/running.xml:
18237         * docs/version.entities.in:
18238           add a chapter on running GStreamer.
18239           document GST_DEBUG and GST_PLUGIN* env vars
18240
18241 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18242
18243         * Makefile.am:
18244           remove include dir
18245         * configure.ac:
18246           remove PLUGINS_BUILDDIR stuff
18247         * gst/gst.c: (init_post):
18248           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18249         * idiottest.mak:
18250           remove, it was condescending and not needed
18251
18252 2005-10-08  Wim Taymans  <wim@fluendo.com>
18253
18254         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18255         (gst_base_sink_handle_object), (gst_base_sink_event),
18256         (gst_base_sink_wait), (gst_base_sink_handle_event),
18257         (gst_base_sink_change_state):
18258         * gst/base/gstbasesink.h:
18259         Repost EOS message while going to PLAYING if still EOS.
18260         Make sure that when receiving a FLUSH_START we don't attempt
18261         to sync on the clock anymore.
18262
18263 2005-10-08  Wim Taymans  <wim@fluendo.com>
18264
18265         * tools/gst-launch.c: (event_loop):
18266         Better message printout.
18267
18268 2005-10-08  Wim Taymans  <wim@fluendo.com>
18269
18270         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18271         (gst_bin_child_proxy_get_children_count):
18272         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18273         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18274         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18275         (gst_child_proxy_set_valist):
18276         * gst/parse/grammar.y:
18277         Make ChildProxy threadsafe and fix mem leaks.
18278
18279 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18280
18281         * gst/gst.c: (init_post):
18282           debug the GST_PLUGIN_ env vars
18283
18284 2005-10-08  Wim Taymans  <wim@fluendo.com>
18285
18286         * check/gst/gstbin.c: (GST_START_TEST):
18287         * check/gst/gstmessage.c: (GST_START_TEST):
18288         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18289         * gst/gstelement.c: (gst_element_commit_state),
18290         (gst_element_lost_state):
18291         * gst/gstmessage.c: (gst_message_new_state_changed),
18292         (gst_message_parse_state_changed):
18293         * gst/gstmessage.h:
18294         * tools/gst-launch.c: (event_loop):
18295         Added extra field to STATE_CHANGE message with the pending
18296         state, which will be different from the new state soon.
18297
18298 2005-10-08  Wim Taymans  <wim@fluendo.com>
18299
18300         * gst/gstbus.c: (gst_bus_pop):
18301         * gst/gstclock.c:
18302         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18303         Small cleanups and doc updates.
18304
18305 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18306
18307         * gst/gst.c: (init_pre):
18308         * gst/gstbin.c: (gst_bin_add_func):
18309           log distributing clocks and base time
18310         * gst/gstregistry.c: (gst_registry_add_plugin),
18311         (gst_registry_scan_path_level), (gst_registry_scan_path):
18312           clean up the debugging output a little
18313         * gst/gstutils.c: (gst_element_state_get_name):
18314           warn about a memleak (I've actually seen this be used, though
18315           it was probably a bug)
18316
18317 2005-10-07  Wim Taymans  <wim@fluendo.com>
18318
18319         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18320         (gst_base_src_init), (gst_base_src_default_newsegment),
18321         (gst_base_src_newsegment), (gst_base_src_do_seek),
18322         (gst_base_src_loop), (gst_base_src_start):
18323         * gst/base/gstbasesrc.h:
18324         Make the newsegment event customizable by subclasses.
18325
18326 2005-10-07  Wim Taymans  <wim@fluendo.com>
18327
18328         * gst/gstevent.c: (gst_event_new_buffersize),
18329         (gst_event_parse_buffersize):
18330         * gst/gstevent.h:
18331         New event for future idea.
18332
18333 2005-10-07  Andy Wingo  <wingo@pobox.com>
18334
18335         * gst/gstelement.c (gst_element_post_message): Doc update.
18336
18337         * docs/gst/gstreamer-sections.txt: Update.
18338
18339         * gst/gstmessage.c (gst_message_new_application): Made into a
18340         function like honest API calls.
18341         (gst_message_new_element): New message type.
18342
18343         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18344
18345         * check/elements/fakesrc.c (test_no_preroll): New check, checks
18346         that setting a live fakesrc to PAUSED returns NO_PREROLL both
18347         times.
18348
18349         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18350         NO_PREROLL from gst_element_change_state to fall through.
18351
18352 2005-10-07  Wim Taymans  <wim@fluendo.com>
18353
18354         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18355         (gst_ghost_pad_do_activate_push):
18356         Activating a ghostpad with no internal pad in push mode
18357         is ok.
18358
18359 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18360
18361         * gst/gstobject.h:
18362           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18363           Fixes compilation on Windows.
18364
18365 2005-10-07  Michael Smith <msmith@fluendo.com>
18366
18367         * tools/gst-inspect.c:
18368           Print out feature and plugin count at the end when printing out
18369           all features.
18370
18371 2005-10-04  Michael Smith <msmith@fluendo.com>
18372
18373         * gst/gsterror.c: (_gst_stream_errors_init):
18374           Add another error string used in a few existing plugins.
18375
18376         * gst/gstplugin.c:
18377         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18378         * tools/gst-inspect.c: (print_element_info):
18379           When a feature disappears from a plugin (and the feature exists in
18380           the cached registry file), things went horribly wrong. This isn't a
18381           complete fix, we should actually be removing the 'missing' features
18382           from the features list when we load the actual plugin. That's not
18383           yet implemented. 
18384
18385 2005-10-04  Johan Dahlin  <johan@gnome.org>
18386
18387         * check/gst/gstiterator.c: (GST_START_TEST):
18388         * gst/gstbin.c: (gst_bin_iterate_elements),
18389         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18390         * gst/gstelement.c: (gst_element_iterate_pads):
18391         * gst/gstformat.c: (gst_format_iterate_definitions):
18392         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18393         (gst_iterator_new_list), (gst_iterator_filter):
18394         * gst/gstiterator.h:
18395         * gst/gstquery.c: (gst_query_type_iterate_definitions):
18396         Add a GType to GstIterator, update callsites and tests.
18397
18398 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18399
18400         * gst/gstpad.c: (gst_pad_event_default_dispatch):
18401           give events a chance to be handled by event probes when the pad
18402           is not linked
18403
18404 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18405
18406         * gst/gstevent.c: (gst_event_type_get_name),
18407         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18408         * gst/gstevent.h:
18409           add string representations for event types
18410
18411 2005-10-06  Wim Taymans  <wim@fluendo.com>
18412
18413         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18414         Don't use NULL pointers.
18415
18416 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18417
18418         * gst/gst_private.h:
18419         * gst/gstbus.c:
18420         * gst/gstelement.c:
18421         * gst/gstinfo.c:
18422         * gst/gstpluginfeature.c:
18423           widen the debug category in output to fit the biggest one we have
18424           add a bus category and use it
18425           play with the colors
18426           fix up some categories
18427
18428 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18429
18430         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18431           add push activation of sink ghost pads.
18432           Andye, please verify
18433
18434 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18435
18436         * gst/gstutils.c: (gst_element_link_pads):
18437           fix a bug in the case where neither element has a pad
18438         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18439           add a test for that case
18440
18441 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18442
18443         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18444           emit have-data before checking for peers.  This allows
18445           for probe handlers to connect elements.  This helps autopluggers.
18446         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18447         (gst_pad_suite):
18448           add six checks, linked/unlinked with no/true/false probe
18449
18450 2005-10-04  Wim Taymans  <wim@fluendo.com>
18451
18452         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18453         (gst_fake_sink_event), (gst_fake_sink_preroll),
18454         (gst_fake_sink_render), (gst_fake_sink_change_state):
18455         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18456         (gst_fake_src_get_property), (gst_fake_src_create),
18457         (gst_fake_src_stop):
18458         * gst/elements/gstidentity.c: (gst_identity_stop):
18459         Protect last_message with lock.
18460
18461 2005-10-04  Edward Hervey  <edward@fluendo.com>
18462
18463         * gst/gstformat.h: 
18464         Added precision in the comments for GST_FORMAT_DEFAULT
18465
18466 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
18467
18468         * tools/gst-launch.c: (main):
18469           Don't try to run erroneous pipelines.
18470
18471 2005-10-04  Julien MOUTTE  <julien@moutte.net>
18472
18473         * gst/gstbus.c: We don't need this header.
18474
18475 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18476
18477         * configure.ac:
18478           back to development
18479
18480 === release 0.9.3 ===
18481
18482 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18483
18484         * README:
18485         * configure.ac:
18486           Releasing 0.9.3, "Unregistered"
18487
18488 2005-10-03  Andy Wingo  <wingo@pobox.com>
18489
18490         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18491         whereby calling a pad's activatepush() function can start a thread
18492         that starts to push or pull before the pad gets the FLUSHING flag
18493         unset. Hack around it by holding the stream lock until the flag is
18494         set. Need to replace this with a proper solution. Together with
18495         the ghost pad fixes, this fixes mp3 playing/tagreading.
18496
18497         * docs/design/part-gstghostpad.txt: Add a note about activation of
18498         proxy pads outside of ghost pads.
18499
18500         * gst/gstghostpad.c: Implement the ghost pad activation design.
18501
18502 2005-10-02  Andy Wingo  <wingo@pobox.com>
18503
18504         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18505         It is volatile, after all.
18506
18507         * docs/design/part-gstghostpad.txt: Flesh out activation with
18508         ghost pads.
18509
18510         * gst/base/gstbasesrc.c (gst_base_src_init): Use
18511         GST_DEBUG_FUNCPTR.
18512
18513 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
18514
18515         * configure.ac:
18516           Fix (unused) AM_CONDITIONAL tests.
18517
18518 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
18519
18520         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18521
18522         * gst/gstutils.c: (gst_pad_query_convert):
18523           Add assertion that makes sure src_val is >=0, just like
18524           gst_query_new_convert() has. (#315895)
18525
18526 2005-09-30  Edward Hervey  <edward@fluendo.com>
18527
18528         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18529         Let's not iterate pads we're not interested in, it avoids getting 
18530         sky-high refcounts on sinkpad.
18531
18532 2005-09-30  Wim Taymans  <wim@fluendo.com>
18533
18534         * gst/gstelement.c: (gst_element_set_state),
18535         (gst_element_change_state):
18536         Small tweak, element in ASYNC remains ASYNC.
18537
18538 2005-09-30  Wim Taymans  <wim@fluendo.com>
18539
18540         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18541         Only error is an error.
18542
18543         * gst/gstbin.c: (gst_bin_change_state):
18544         Better debugging.
18545
18546         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18547         Also call pad_block in pad alloc.
18548
18549         * gst/gstutils.c: (gst_flow_get_name):
18550         Better debugging.
18551
18552 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18553
18554         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18555         (gst_base_src_get_range):
18556           Fix documentation typos. Add some more debug info.
18557
18558 2005-09-29  David Schleef  <ds@schleef.org>
18559
18560         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18561           more end-user friendly.
18562         * tools/gst-inspect.c: (main): Check if command-line argument is
18563           a file and attempt to load that file as a plugin.
18564
18565 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18566
18567         * check/gst/gstbin.c:
18568         * check/states/sinks.c:
18569           fix tests for the new warning
18570         * check/gst/gstpipeline.c:
18571           add a test for pipeline and bus interaction
18572         * gst/gstelement.c:
18573           elements should be NULL if they get disposed; add a warning if not
18574
18575 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18576
18577         * gst/gstobject.c:
18578           for 2.6 refcounting, make debug log more correct by printing
18579           the actual refcounts at the time of swap (Wim)
18580
18581 2005-09-29  Andy Wingo  <wingo@pobox.com>
18582
18583         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18584         removes signal watches previously added via
18585         gst_bus_add_signal_watch.
18586         (gst_bus_add_signal_watch): Don't return the source id, just store
18587         it on the bus if there wasn't an id already.
18588
18589         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18590         add_signal_watch and remove_signal_watch.
18591
18592 2005-09-29  Edward Hervey  <edward@fluendo.com>
18593
18594         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
18595         Better if we actually iterate the list :)
18596
18597 2005-09-29  Wim Taymans  <wim@fluendo.com>
18598
18599         * check/gst/gstbin.c: (GST_START_TEST):
18600         Change for new bus API.
18601
18602         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18603         (send_messages), (GST_START_TEST), (gstbus_suite):
18604         Change for new bus signal API.
18605
18606         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18607         (gst_bus_source_prepare), (gst_bus_source_check),
18608         (gst_bus_create_watch), (gst_bus_add_watch_full),
18609         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18610         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18611         * gst/gstbus.h:
18612         Remove support for multiple GSources operating on different
18613         message types as it is too complex and unneeded when using
18614         signals.
18615         Added support for receiving signals from the bus.
18616
18617 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18618
18619         * docs/libs/tmpl/gstdataprotocol.sgml:
18620         * docs/manual/advanced-dataaccess.xml:
18621         * gst/elements/gstcapsfilter.c:
18622         * gst/gstutils.c:
18623           rename filter-caps to caps property
18624
18625 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18626
18627         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18628           More robust fraction string parsing.
18629
18630         * docs/pwg/appendix-porting.xml:
18631           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18632
18633 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18634
18635         * gst/gstcaps.c: (gst_caps_do_simplify):
18636           Thou shalt not free a structure and then continue using it
18637           in the next loop iteration.
18638
18639         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18640         (gst_caps_suite):
18641           Add test case for caps simplification.
18642
18643 2005-09-29  Wim Taymans  <wim@fluendo.com>
18644
18645         * check/gst/gstbin.c: (GST_START_TEST):
18646         Oops.
18647
18648 2005-09-29  Wim Taymans  <wim@fluendo.com>
18649
18650         * check/gst/gstbin.c: (GST_START_TEST):
18651         Add bus to bin.
18652
18653         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18654         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18655         (find_element), (gst_bin_sort_iterator_next),
18656         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18657         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18658         (gst_bin_change_state), (gst_bin_dispose):
18659         A bin does not have a bus, it gets the bus from the parent.
18660
18661         * gst/gstelement.c: (gst_element_requires_clock),
18662         (gst_element_provides_clock), (gst_element_is_indexable),
18663         (gst_element_is_locked_state), (gst_element_change_state),
18664         (gst_element_set_bus_func):
18665         Small cleanups.
18666
18667         * gst/gstpipeline.c: (gst_pipeline_class_init),
18668         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18669         The pipeline provides a bus.
18670
18671 2005-09-28  Johan Dahlin  <johan@gnome.org>
18672
18673         * gst/gstmessage.c (gst_message_parse_state_changed): Use
18674         gst_structure_get_enum instead of gst_structure_get_int
18675
18676         * gst/gststructure.c (gst_structure_get_enum): Impl.
18677
18678         * gst/gststructure.h (gst_structure_get_enum): Add
18679
18680         * docs/gst/gstreamer-sections.txt: Ditto
18681
18682         * gst/gstmessage.c (gst_message_new_state_changed): Use
18683         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18684         which does introspection.
18685         Reviewed by Christian Schaller
18686
18687 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18688
18689         * gst/gstinfo.c: (gst_debug_log_default):
18690           don't do dummy g_strdup()s
18691         * libs/gst/controller/gstcontroller.c:
18692         (on_object_controlled_property_changed),
18693         (gst_controlled_property_new), (gst_controller_new_valist),
18694         (gst_controller_new_list),
18695         (gst_controller_remove_properties_valist), (gst_controller_set),
18696         (gst_controller_get), (gst_controller_sync_values),
18697         (gst_controller_get_value_array), (_gst_controller_class_init),
18698         (gst_controller_get_type):
18699         * libs/gst/controller/gstcontroller.h:
18700         * libs/gst/controller/gstinterpolation.c:
18701         (gst_controlled_property_find_timed_value_node):
18702           convert // to /**/ comments
18703
18704 2005-09-28  Wim Taymans  <wim@fluendo.com>
18705
18706         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18707         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18708         (gst_bus_sync_signal_handler):
18709         * gst/gstbus.h:
18710         Added async-message and sync-message signals to the bus.
18711         Added helper BusFunc to emit signals for all posted messages.
18712
18713         * gst/gstmessage.c: (gst_message_type_get_name),
18714         (gst_message_type_to_quark), (gst_message_get_type):
18715         * gst/gstmessage.h:
18716         Register quarks for message names.
18717
18718 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18719
18720         * docs/libs/gstreamer-libs-sections.txt:
18721         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18722         (gst_controller_new_list):
18723         * libs/gst/controller/gstcontroller.h:
18724           added another constructor for language bindings
18725
18726 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18727
18728         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18729           add another check
18730         * gst/gstbus.c:
18731           add some doc
18732         * gst/gstinfo.c: (_gst_debug_init):
18733           slightly more readable color for refcount debugging
18734
18735 2005-09-28  Wim Taymans  <wim@fluendo.com>
18736
18737         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18738         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18739         (find_element), (gst_bin_sort_iterator_next),
18740         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18741         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18742         (gst_bin_change_state), (gst_bin_dispose):
18743         Small doc fixes. get_clock -> provide_clock.
18744
18745         * gst/gstelement.c: (gst_element_class_init),
18746         (gst_element_provides_clock), (gst_element_provide_clock),
18747         (gst_element_get_clock), (gst_element_commit_state),
18748         (gst_element_lost_state):
18749         * gst/gstelement.h:
18750         Make get/set_clock() symetric. Add provide_clock vmethod since
18751         that is actually what this function does.
18752
18753         * gst/gstpipeline.c: (gst_pipeline_class_init),
18754         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18755         (gst_pipeline_get_clock):
18756         get_clock -> provide_clock.
18757
18758 2005-09-28  Andy Wingo  <wingo@pobox.com>
18759
18760         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18761         lieu of real docs...
18762
18763         * gst/elements/gstfdsrc.c: Cleaned up a bit.
18764
18765 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
18766
18767         * gst/elements/gstcapsfilter.c:
18768         * gst/elements/gstfakesink.c:
18769         * gst/elements/gstfakesrc.c:
18770         * gst/elements/gstfdsink.c:
18771         * gst/elements/gstfdsrc.c:
18772         * gst/elements/gstfilesink.c:
18773         * gst/elements/gstfilesrc.c:
18774         * gst/elements/gstidentity.c:
18775         * gst/elements/gsttee.c:
18776         * gst/elements/gsttypefindelement.c:
18777           Make element details static.
18778
18779 2005-09-28  Wim Taymans  <wim@fluendo.com>
18780
18781         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18782         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18783         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18784         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18785         (gst_bin_change_state), (gst_bin_dispose):
18786         Some documentation updates.
18787         Clean up dispose handlers.
18788
18789         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18790         * gst/gstpad.c: (gst_pad_dispose):
18791         Clean up dispose handler.
18792
18793         * gst/gstpipeline.c: (gst_pipeline_change_state):
18794         Removed spurious UNLOCK.
18795
18796 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
18797
18798         * docs/gst/gstreamer-sections.txt:
18799         * gst/base/gstbasesrc.h:
18800         * gst/gstelement.h:
18801         * gst/gstevent.h:
18802         * gst/gstobject.h:
18803         * gst/gstpad.h:
18804         * gst/gstpipeline.c:
18805         * gst/gstpipeline.h:
18806         * gst/gstutils.h:
18807         * gst/gstxml.h:
18808           added two new functions to the docs
18809                 documents all undocumented GstXXXFlags
18810                 completed some incomplete docs 
18811
18812 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18813
18814         * gst/gstbin.c: (gst_bin_dispose):
18815         * gst/gstelement.c: (gst_element_dispose):
18816           remove now useless and leaky resurrection code in dispose
18817         * gst/base/gstbasesrc.c: (gst_base_src_init):
18818         * gst/gstelementfactory.c: (gst_element_factory_create):
18819         * gst/gstobject.c: (gst_object_set_parent):
18820           add some debugging
18821
18822 2005-09-27  Wim Taymans  <wim@fluendo.com>
18823
18824         * docs/design/part-TODO.txt:
18825         Update TODO.
18826
18827         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18828         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18829         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18830         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18831         (gst_bin_change_state):
18832         * gst/gstelement.h:
18833         Remove element variable, we keep element info in the iterator now.
18834
18835 2005-09-27  Andy Wingo  <wingo@pobox.com>
18836
18837         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18838         values.
18839
18840 2005-09-27  Wim Taymans  <wim@fluendo.com>
18841
18842         * check/gst/gstbin.c: (GST_START_TEST):
18843         Enable check that works now.
18844
18845         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18846         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18847         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18848         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18849         (gst_bin_change_state):
18850         * gst/gstbin.h:
18851         Redid the state change algorithm using a topological sort algo.
18852         Handles all cases correctly.
18853         Exposed iterator for state change order.
18854
18855         * gst/gstelement.h:
18856         Temp storage for state changes. Need to get rid of this soon.
18857
18858 2005-09-27  Wim Taymans  <wim@fluendo.com>
18859
18860         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18861         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18862         (link_fold_func), (gst_pad_proxy_setcaps):
18863         Leak fixes, the fold functions need to unref the passed object and
18864         _get_parent_*() returns ref to parent.
18865
18866 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18867
18868         * check/gst/gstbuffer.c: (test_make_writable):
18869           Plug leak in test case and fix 'make check-valgrind'
18870
18871 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18872
18873         * gst/gstbuffer.c: (gst_subbuffer_init):
18874           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18875           works correctly in all circumstances (we could have just copied
18876           the parent buffer's readonly flag, but conceptually it seems
18877           cleaner to mark all subbuffers as read-only). (based on patch
18878           by Alessandro Decina, #314710).
18879         
18880         * check/gst/gstbuffer.c: (create_read_only_buffer),
18881         (test_make_writable), (test_subbuffer_make_writable),
18882         (gst_test_suite):
18883           Add some tests for gst_buffer_make_writable().
18884
18885 2005-09-27  Wim Taymans  <wim@fluendo.com>
18886
18887         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18888         use gst_object_has_ancestor().
18889
18890         * gst/gstobject.c: (gst_object_has_ancestor):
18891         * gst/gstobject.h:
18892         gst_object_has_ancestor() copied from gstbin.c as it is a
18893         useful function.
18894
18895         * tests/instantiate/create.c: (create_all_elements):
18896         * tests/lat.c: (handoff_src), (handoff_sink):
18897         * tests/sched/runxml.c: (main):
18898         * tests/seeking/seeking1.c: (main):
18899         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18900         (main):
18901         Fix compilation of some tests.
18902
18903 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18904
18905         * gst/gsterror.h:
18906           Remove comment. GST_TYPE_G_ERROR is here to stay,
18907           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18908           (#316961, #300610).
18909
18910 2005-09-26  Wim Taymans  <wim@fluendo.com>
18911
18912         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18913         Added check that shows error in state change order.
18914
18915 2005-09-26  Wim Taymans  <wim@fluendo.com>
18916
18917         * gst/gstbin.c: (gst_bin_change_state):
18918         Make state change function use 3 queues again, we were
18919         adding elements in the wrong order.
18920
18921         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18922         Some debug info,
18923
18924         * gst/gstpad.c: (gst_pad_dispose):
18925         Added some debug info first.
18926
18927 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
18928
18929         * docs/design/draft-push-pull.txt:
18930         * docs/design/part-events.txt:
18931         * docs/design/part-overview.txt:
18932         * docs/design/part-scheduling.txt:
18933           Replace all _pull_region() with _pull_range()
18934           
18935 2005-09-26  Andy Wingo  <wingo@pobox.com>
18936
18937         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18938
18939         * check/gst-libs/controller.c: Update for controller api change.
18940
18941         * configure.ac: 
18942         * tests/Makefile.am:
18943         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18944         over by GLib bug 118439.
18945         
18946         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18947         routines to a function.
18948
18949         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18950
18951         * libs/gst/controller/gsthelper.c:
18952         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18953         (gst_object_sync_values): Renamed from sink_values. Ugh.
18954
18955         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18956
18957         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18958         Renamed from controller_key, as it is exported.
18959
18960         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18961
18962 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
18963
18964         * gst/Makefile.am:
18965         * gst/gst.h:
18966         * gst/gstpad.h:
18967         * gst/gstpadtemplate.h:
18968         * gst/gstquery.c:
18969         * gst/gstquery.h:
18970         * gst/gstqueryutils.c:
18971         * gst/gstqueryutils.h:
18972           remove queryutils headers after moving the two used functions
18973           to gstquery.  also fixes build problem for gstsiddec
18974
18975 2005-09-26  Michael Smith <msmith@fluendo.com>
18976
18977         * tools/gst-launch.1.in:
18978         Correct documentation in manpage of debug syntax
18979
18980 2005-09-26  Wim Taymans  <wim@fluendo.com>
18981
18982         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18983         (gst_base_src_is_seekable), (gst_base_src_change_state):
18984         Some more debugging info.
18985
18986 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18987
18988         * docs/gst/gstreamer-sections.txt:
18989         * gst/base/gstbasetransform.h:
18990         * gst/gstindex.h:
18991           added more docs
18992
18993 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18994
18995         * docs/gst/.cvsignore:
18996         * docs/gst/tmpl/.cvsignore:
18997         * docs/gst/tmpl/gstpipeline.sgml:
18998         * docs/gst/tmpl/gstplugin.sgml:
18999         * gst/gstpipeline.c:
19000         * gst/gstplugin.c:
19001         * gst/gstplugin.h:
19002           inlined the last two docs files
19003           removed the tmpl directory from cvs (no more conflicts here!)
19004
19005 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19006
19007         * docs/gst/gstreamer-sections.txt:
19008         * docs/gst/tmpl/.cvsignore:
19009         * docs/gst/tmpl/gstpad.sgml:
19010         * docs/gst/tmpl/gstpadtemplate.sgml:
19011         * gst/Makefile.am:
19012         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
19013         (gst_pad_finalize), (gst_pad_set_pad_template):
19014         * gst/gstpad.h:
19015         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
19016         (gst_pad_template_class_init), (gst_pad_template_init),
19017         (gst_pad_template_dispose), (name_is_valid),
19018         (gst_static_pad_template_get), (gst_pad_template_new),
19019         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19020         (gst_pad_template_pad_created):
19021         * gst/gstpadtemplate.h:
19022           inlined two more docs
19023           factored gstpadtemplate out of gstpad
19024
19025 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
19026
19027         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19028         (test_children_state_change_order_semi_sink):
19029           Fix test case: we can't rely on a fixed state change order when
19030           going from READY => PAUSED because the sink might commit its 
19031           new state first when the first buffer created by the source 
19032           reaches the sink before the source has finished its change state.
19033           (Test case still fails at times, see #316856, comment 5 onwards)
19034
19035 2005-09-24  Wim Taymans  <wim@fluendo.com>
19036
19037         * docs/design/part-events.txt:
19038         * docs/design/part-gstbus.txt:
19039         * docs/design/part-gstpipeline.txt:
19040         * docs/design/part-messages.txt:
19041         * docs/design/part-overview.txt:
19042         * docs/design/part-segments.txt:
19043         * gst/gstbin.c:
19044         * gst/gstbuffer.c:
19045         * gst/gstclock.c:
19046         * gst/gstelement.c:
19047         * gst/gstevent.c:
19048         * gst/gstfilter.c:
19049         * gst/gstiterator.c:
19050         Various documentation updates.
19051
19052 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19053
19054         * gst/gstclock.h:
19055           Well, that's embarassing.  Luckily we weren't using
19056           GST_CLOCK_DIFF anywhere.
19057
19058 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19059
19060         * common/gtk-doc.mak:
19061           don't fail on building XML, FC4 slave shows a bunch of doc
19062           missing bits that I don't get
19063         * gst/gstpad.c:
19064         * gst/gstpipeline.c:
19065         * gst/gststructure.c:
19066           some doc updates
19067
19068 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19069
19070         * docs/design/part-gstbin.txt:
19071         * docs/design/part-gstbus.txt:
19072         * gst/gstbus.c:
19073           Add blurb about how the bus goes into flushing mode and
19074           drops all messages when its bin goes from READY into NULL 
19075           state.
19076
19077 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19078
19079         * docs/gst/gstreamer-sections.txt:
19080         * gst/gststructure.c: (gst_structure_get_clock_time):
19081         * gst/gststructure.h:
19082           add a method to get a GstClockTime out of a structure
19083
19084 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19085
19086         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19087         (test_children_state_change_order_semi_sink), (gst_bin_suite):
19088           Added test to check state change order in bins (can still be made
19089           to fail here under heavy disk load; bails out with 'Push on pad
19090           fakesink:sink0, but it was not activated in push mode').
19091
19092         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19093           Fix state change order when there is only a semi sink (#316856)
19094
19095         * gst/gstbus.c: (gst_bus_class_init):
19096           Use _class_peek_parent(), not _class_ref(); fix docs to say
19097           'default main context' instead of 'mainloop' where that is
19098           what's meant.
19099
19100         * gst/gstelement.c: (gst_element_commit_state),
19101         (gst_element_set_state):
19102           Fix typos in debug messages
19103
19104 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19105
19106         * docs/README:
19107         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19108         * gst/gstpluginfeature.c:
19109         * gst/gstutils.c:
19110           various doc updates
19111         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19112           change an assert into an error until it gets fixed properly
19113
19114 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
19115
19116         * docs/gst/gstreamer-sections.txt:
19117         * docs/gst/tmpl/.cvsignore:
19118         * docs/gst/tmpl/gstelement.sgml:
19119         * docs/gst/tmpl/gstinfo.sgml:
19120         * docs/gst/tmpl/gstobject.sgml:
19121         * gst/gstelement.c:
19122         * gst/gstelement.h:
19123         * gst/gstinfo.c:
19124         * gst/gstinfo.h:
19125         * gst/gstobject.c: (gst_object_class_init):
19126         * gst/gstobject.h:
19127           inlined 3 more biiiig doc files and added some missing docs on the fly
19128
19129 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19130
19131         * check/gst/.cvsignore:
19132         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19133         * gst/gstregistryxml.c: (load_plugin),
19134         (gst_registry_xml_save_plugin):
19135           put back source in registry.  add checks for find_plugin.
19136         * testsuite/states/bin.c: (assert_state), (empty_bin),
19137         (test_adding_one_element), (main):
19138         * testsuite/states/locked.c: (main):
19139           some compile/run fixes
19140
19141 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19142
19143         * check/gst/gstvalue.c: (GST_START_TEST):
19144           fix leaks in the test itself
19145
19146 2005-09-22  Wim Taymans  <wim@fluendo.com>
19147
19148         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19149         (gst_base_sink_send_event), (gst_base_sink_peer_query),
19150         (gst_base_sink_query):
19151         Prepare for more accurate position reporting and query
19152         handling.
19153
19154         * gst/gstelement.c: (gst_element_send_event),
19155         (gst_element_set_state):
19156         Add some comment.
19157
19158 2005-09-22  Wim Taymans  <wim@fluendo.com>
19159
19160         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19161         (gst_query_parse_segment):
19162         * gst/gstquery.h:
19163         More documentation.
19164         Add segment query for future use.
19165
19166 2005-09-22  Wim Taymans  <wim@fluendo.com>
19167
19168         * gst/gstbin.c: (gst_bin_add_func):
19169         Some more debug info.
19170
19171         * gst/gstelement.c: (gst_element_send_event):
19172         Simplify send_event
19173
19174         * gst/gstelement.h:
19175         Don't know how flags got broken.
19176
19177         * gst/gstquery.h:
19178         Added new query.
19179
19180 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19181
19182         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19183           Add simplistic test suite for GST_TYPE_DATE serialisation and
19184           deserialisation.
19185
19186 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19187
19188         * docs/gst/gstreamer-sections.txt:
19189         * gst/gststructure.c: (gst_structure_set_valist),
19190         (gst_structure_get_date):
19191         * gst/gststructure.h:
19192         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19193         (gst_date_copy), (gst_value_compare_date),
19194         (gst_value_serialize_date), (gst_value_deserialize_date),
19195         (gst_value_transform_date_string),
19196         (gst_value_transform_string_date), (_gst_value_initialize):
19197         * gst/gstvalue.h:
19198           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19199           bunch of utility functions along with a hack that checks that
19200           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19201           is required. Part of the grand scheme in #170777.
19202
19203 2005-09-22  Andy Wingo  <wingo@pobox.com>
19204
19205         * gst/gstconfig.h.in: Psych out gtk-doc.
19206
19207         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19208
19209         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19210
19211         * tools/gst-inspect.c (print_element_list): Plug some
19212         inconsequential leaks.
19213
19214         * gst/gstregistry.c (gst_registry_get_default): Doc.
19215
19216         * check/gst/gstplugin.c: 
19217         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19218         * gst/gstelementfactory.c (gst_element_factory_create): 
19219         * gst/gstindexfactory.c (gst_index_factory_create): Update for
19220         refcount changes.
19221
19222         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19223         (gst_plugin_feature_load): Doc, don't eat refs.
19224
19225         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19226         (gst_plugin_list_free): Doc.
19227         (gst_plugin_load_file): Doc updates.
19228
19229         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19230         accessors returning refcounted objects, return a ref.
19231
19232         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19233         accessor for caps. IDEMPOTENCE. Oh yes.
19234
19235 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
19236
19237         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19238
19239         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19240         (_gst_debug_register_funcptr):
19241           Add mutex to serialise access to the hash table with
19242           the function pointer => function name string mapping;
19243           make that hash table static scope (#316809).
19244
19245         * gst/registries/.cvsignore:
19246           Remove left-over file.
19247
19248 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19249
19250         * docs/pwg/appendix-porting.xml:
19251           And something about newsegment events and caps-on-buffers to
19252           the porting guide (feel free to improve).
19253
19254 2005-09-21  Andy Wingo  <wingo@pobox.com>
19255
19256         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19257         data and event probes on the same pad.
19258         (test_buffer_probe_once): Test that removing probes from within
19259         the probe functions works.
19260
19261 2005-09-21  Andy Wingo  <wingo@pobox.com>
19262
19263         * check/gst/gstutils.c: New file.
19264         (test_buffer_probe_n_times): A simple buffer probe test. More to
19265         come, foolios.
19266
19267         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19268         have-data::buffer, not have-data.
19269         (gst_pad_add_event_probe): Likewise for have-data::event.
19270         (gst_pad_add_data_probe): More docs. The part about 'resolving the
19271         peer' isn't quite right yet though.
19272         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
19273         (gst_pad_remove_data_probe): Change to take the guint handler_id
19274         as their arg, not the function+data, which is more glib-like.
19275
19276         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19277         the signal emission to indicate if the data is a buffer or an
19278         event.
19279         (gst_pad_get_type): Initialize buffer and event quarks.
19280         (gst_pad_class_init): have-data is now a detailed signal, yes it
19281         is.
19282
19283 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19284
19285         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19286         * gst/gstutils.c: (gst_util_set_value_from_string),
19287         (gst_util_set_object_arg):
19288           Don't put functional code in g_return_if_fail() or
19289           g_return_val_if_fail() statements, otherwise things will 
19290           break when G_DISABLE_CHECKS is defined during compilation.
19291
19292 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19293
19294         * docs/gst/tmpl/.cvsignore:
19295         * docs/gst/tmpl/gstvalue.sgml:
19296         * gst/gstvalue.c:
19297         * gst/gstvalue.h:
19298           inlied another one and added  some obvious docs
19299
19300 2005-09-21  Wim Taymans  <wim@fluendo.com>
19301
19302         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19303         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19304         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19305         (gst_fdsrc_get_property), (gst_fdsrc_create):
19306         * gst/elements/gstfdsrc.h:
19307         Properly implement fdsrc. Removed signal and timeout,
19308         better implemented somewhere else.
19309
19310 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19311
19312         * docs/gst/tmpl/.cvsignore:
19313         * docs/gst/tmpl/gstimplementsinterface.sgml:
19314         * gst/gstinterface.c:
19315           inlined more docs
19316
19317 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19318
19319         * docs/gst/gstreamer-sections.txt:
19320         * docs/gst/tmpl/.cvsignore:
19321         * docs/gst/tmpl/gstenumtypes.sgml:
19322           remove obsolete doc file
19323
19324 2005-09-21  David Schleef  <ds@schleef.org>
19325
19326         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19327         little beer, fix a little leak.
19328
19329 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19330
19331         * docs/gst/gstreamer-docs.sgml:
19332         * docs/gst/gstreamer-sections.txt:
19333         * docs/gst/tmpl/.cvsignore:
19334         * gst/Makefile.am:
19335         * gst/gst.h:
19336         * gst/gstbin.c:
19337         * gst/gstelement.h:
19338         * gst/gstindex.c: (gst_index_class_init):
19339         * gst/gstindex.h:
19340         * gst/gstindexfactory.c: (gst_index_factory_get_type),
19341         (gst_index_factory_class_init), (gst_index_factory_init),
19342         (gst_index_factory_finalize), (gst_index_factory_new),
19343         (gst_index_factory_destroy), (gst_index_factory_find),
19344         (gst_index_factory_create), (gst_index_factory_make):
19345         * gst/gstindexfactory.h:
19346         * gst/gstpluginfeature.c:
19347         * gst/gstpluginfeature.h:
19348         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19349           more docs inlined, splitted gstindex.{c,h}
19350
19351 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19352
19353         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19354           fix a leak
19355
19356 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19357
19358         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19359           Set sync to FALSE by default.
19360
19361 2005-09-20  Wim Taymans  <wim@fluendo.com>
19362
19363         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19364         (gst_base_sink_init):
19365         Make sync property settable from subclass.
19366
19367         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19368         (gst_fake_sink_change_state):
19369         Set sync to FALSE by default.
19370
19371 2005-09-20  Wim Taymans  <wim@fluendo.com>
19372
19373         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19374         * tools/gst-launch.c: (main):
19375         The timeout handler should have lower priority than the source
19376         so we don't timeout before popping a message with 0 timeout.
19377         Dump error messages after failed state change.
19378
19379 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19380
19381         * tools/gst-inspect.c: (print_element_properties_info):
19382           Fix two typos.
19383
19384 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19385
19386         * check/gst/gstevent.c:
19387         * gst/elements/gstfakesink.c:
19388         * gst/elements/gstfakesink.h:
19389           remove the sync property from fakesink.
19390           has the side effect of setting sync TRUE
19391           for fakesink, which is a change.  Anyone who knows how
19392           to fix this nicely in a GObject-y way, feel free.
19393
19394 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19395
19396         * docs/gst/gstreamer-docs.sgml:
19397           remove probe refsection
19398
19399 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19400
19401         * check/Makefile.am:
19402           disable valgrinding the controller test again
19403         * docs/gst/gstreamer-sections.txt:
19404           update for api-changes
19405
19406 2005-09-20  Wim Taymans  <wim@fluendo.com>
19407
19408         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19409         (gst_base_sink_set_property), (gst_base_sink_get_property),
19410         (gst_base_sink_do_sync):
19411         * gst/base/gstbasesink.h:
19412         Added sync property to basesink to disable clock sync.
19413
19414 2005-09-20  Andy Wingo  <wingo@pobox.com>
19415
19416         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19417         eating the caller's refcount.
19418
19419         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
19420         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19421         refcount.
19422
19423         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19424         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19425         of GLib 2.8 public, so we can know which refcount to check in
19426         tests.
19427
19428         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19429         (gst_object_init): Only set the gst refcount if we're going ahead
19430         with the refcount hack.
19431
19432 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19433
19434         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19435         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19436           more leaks plumbed, added more debug-logging
19437         * gst/gstmacros.h:
19438           whitespace fix
19439
19440 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19441
19442         * gst/gstmessage.c:
19443           remove include of gstmemchunk.h
19444
19445 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19446
19447         * gst/gstclock.c: (_gst_clock_id_free):
19448           Commit from the Political Party For More Atomic CVS Commits,
19449           so that people don't waste too much of their day fishing
19450           out obvious leaks out of massive commits.
19451           Oh, and fix a pretty damn obvious leak in the memchunk
19452           removal code.
19453
19454 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19455
19456         * check/Makefile.am:
19457         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19458           plug mem-leak, re-add to valgrindable tests
19459
19460 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19461
19462         * gst/gstplugin.h:
19463           unbreak the build for those who have chronic arthritis
19464           and typing "make check" is just too taxing on the hands
19465
19466 2005-09-20  Andy Wingo  <wingo@pobox.com>
19467
19468         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19469         really want it out, you should fix plugins at the same time.
19470
19471 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
19472
19473         * configure.ac:
19474         * docs/gst/gstreamer-sections.txt:
19475         * gst/gstobject.c:
19476           added missing symbols to api docs
19477           disable ref-count hack if we have glib >= 2.8
19478
19479 2005-09-19  David Schleef  <ds@schleef.org>
19480
19481         * docs/gst/Makefile.am: Ignore a few more internal headers
19482         * docs/gst/gstreamer-docs.sgml: Remove old sections
19483         * docs/gst/gstreamer-sections.txt: Remove old sections
19484         * docs/gst/tmpl/gstobject.sgml: update
19485         * docs/gst/tmpl/gstplugin.sgml: update
19486         * docs/gst/tmpl/gstpluginfeature.sgml: update
19487         * docs/random/ds/0.9-suggested-changes: update.
19488         * gst/Makefile.am: remove memchunk and trashstack, since they're
19489           not used.
19490         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19491         * gst/gst.h: don't include some headers
19492         * gst/gstchildproxy.c: add gstmarshal.h
19493         * gst/gstclock.c: Don't use memchunks
19494         * gst/gstminiobject.c: Add some docs
19495         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19496         * gst/gstobject.h: same
19497         * gst/gstplugin.c: include gstmacros.h
19498         * gst/gstplugin.h: don't include gstmacros.h, since it's private
19499         * gst/gstquery.c: don't use memchunks
19500         * gst/gstregistry.c: rename gst_registry_deinit()
19501         * gst/gstregistry.h: same
19502
19503 2005-09-19  David Schleef  <ds@schleef.org>
19504
19505         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19506         * docs/libs/gstreamer-libs-sections.txt:
19507         * docs/libs/tmpl/gstgetbits.sgml:
19508         * docs/libs/tmpl/gstputbits.sgml:
19509
19510 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
19511
19512         * win32/gstenumtypes.c:
19513         * win32/gstenumtypes.h:
19514           Update.
19515
19516 2005-09-19  Wim Taymans  <wim@fluendo.com>
19517
19518         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19519         Automatically PAUSE and RESUME a pipeline when a flushing seek
19520         is performed.
19521
19522 2005-09-19  Andy Wingo  <wingo@pobox.com>
19523
19524         * gst/gstregistry.h: Spacing fixen.
19525
19526 2005-09-19  Wim Taymans  <wim@fluendo.com>
19527
19528         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19529         Handle state change failure more correctly.
19530
19531 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19532
19533         * check/Makefile.am:
19534         * check/pipelines/cleanup.c: (run_pipeline):
19535         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19536         (GST_START_TEST):
19537           enable cleanup again after fixing the leak
19538         * docs/README:
19539           some more info on docs
19540
19541 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19542
19543         * check/Makefile.am:
19544           re-enable tests now that leaks are plugged
19545         * check/gst/gst.c:
19546         * check/gst/gstbin.c:
19547         * check/gst/gstpipeline.c:
19548           add some more tests while fixing leaks
19549         * common/check.mak:
19550           make sure binaries are uptodate when valgrinding/gdbing
19551         * gst/gst.c:
19552         * gst/gstelementfactory.c:
19553           remove a ref too many, and add a FIXME for when we get
19554           round to disposing of classes
19555         * gst/gstplugin.c:
19556           fix the refcounting when loading a plugin from a file and
19557           the code pretends that the pointer is the same even though
19558           of course it can change
19559         * gst/gstpluginfeature.c:
19560           unref plugins marked cached (a bit confusing as a name)
19561           as the docs state should be done
19562           various doc additions to explain refcounting
19563         * gst/gstregistry.c:
19564         * gst/gstregistryxml.c:
19565           debugging
19566
19567 2005-09-19  Wim Taymans  <wim@fluendo.com>
19568
19569         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19570         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19571         (send_messages), (GST_START_TEST), (gstbus_suite):
19572         * check/gst/gstpipeline.c: (GST_START_TEST):
19573         * check/pipelines/cleanup.c: (run_pipeline):
19574         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19575         (GST_START_TEST):
19576         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19577         (gst_bus_source_check), (gst_bus_source_dispatch),
19578         (gst_bus_create_watch), (gst_bus_add_watch_full),
19579         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19580         * gst/gstbus.h:
19581         * tools/gst-launch.c: (event_loop):
19582         * tools/gst-md5sum.c: (event_loop):
19583         GstBusHandler -> GstBusFunc, return value has the same meaning as
19584         any other GSource (FALSE == remove source).
19585         _add_watch() and _add_watch_full() now take a MessageType mask to
19586         only handle specific types of messages.
19587         _poll() returns the GstMessage instead of the message type to avoid
19588         race conditions.
19589         _have_pending() takes a MessageType mask now too.
19590         Added testsuite for multiple bus watches.
19591         Fix testsuites and applications for new bus API.
19592
19593 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19594
19595         * check/Makefile.am:
19596           mark a bunch of the tests as to fix until we fix them
19597
19598 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19599
19600         * common/check.mak:
19601           use GST_PLUGIN settings for valgrind tests as well, so we're
19602           valgrinding the correct thing
19603         * gst/gst.c: (init_post):
19604           plug another leak
19605
19606 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19607
19608         * gst/gst.c: (init_post), (gst_deinit):
19609         * gst/gstelementfactory.c: (gst_element_factory_class_init),
19610         (gst_element_factory_finalize), (gst_element_factory_cleanup):
19611         * gst/gstindex.c: (gst_index_factory_class_init),
19612         (gst_index_factory_finalize):
19613         * gst/gstobject.c: (gst_object_dispose):
19614         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19615         (gst_plugin_load_file), (gst_plugin_desc_free):
19616         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19617         (gst_plugin_feature_finalize):
19618         * gst/gstregistry.c: (gst_registry_class_init),
19619         (gst_registry_init), (gst_registry_finalize),
19620         (gst_registry_get_default), (gst_registry_deinit):
19621         * gst/gstregistry.h:
19622         * gst/gstregistryxml.c: (load_feature), (load_plugin):
19623           various cleanups and memleak plugging.  make valgrind is happy now.
19624
19625 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19626
19627         * common/check.mak:
19628           add a check-valgrind target
19629
19630 2005-09-18  David Schleef  <ds@schleef.org>
19631
19632         * tools/gst-inspect.c: Revert the GOption code.
19633
19634 2005-09-17  David Schleef  <ds@schleef.org>
19635
19636         * check/Makefile.am: Fix environment variables.
19637         * check/gst/gstplugin.c: Fix for API changes.
19638         * tools/gst-inspect.c: Fix for API changes.
19639         * tools/gst-xmlinspect.c: Fix for API changes.
19640         * gst/gstelementfactory.c:
19641         * gst/gstplugin.c:
19642         * gst/gstplugin.h:
19643         * gst/gstpluginfeature.c:
19644         * gst/gstpluginfeature.h:
19645         * gst/gstregistry.c:
19646         * gst/gstregistry.h:
19647         * gst/gstregistryxml.c:
19648         * gst/gsttypefind.c:
19649         * gst/gsttypefindfactory.c:
19650         * gst/indexers/gstfileindex.c:
19651         * gst/indexers/gstmemindex.c:
19652         * gst/schedulers/Makefile.am:
19653           Change registry to keep track of both plugins and features,
19654           removing the feature tracking from plugins themselves.
19655
19656 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19657
19658         * check/Makefile.am:
19659         * tools/gst-register.1.in:
19660           remove gst-register
19661
19662 2005-09-15  David Schleef  <ds@schleef.org>
19663
19664         * check/gst/gstplugin.c:
19665         * gst/gstelementfactory.c:
19666         * gst/gstplugin.c:
19667         * gst/gstpluginfeature.c:
19668         * gst/gstregistry.c:
19669           Getting tired of debugging.  Disabled all the unreffing of
19670           plugins and features, which fixes the segfaults, but of
19671           course leaks like crazy.  At least playbin works.
19672
19673 2005-09-15  David Schleef  <ds@schleef.org>
19674
19675         * check/gst/gstplugin.c: (register_check_elements),
19676         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19677         More testing
19678         * gst/elements/gsttypefindelement.c: Fix refcounting.
19679         * gst/gsttypefind.c:
19680         * gst/gsttypefindfactory.c:
19681         * gst/gsttypefindfactory.h:
19682
19683 2005-09-15  David Schleef  <ds@schleef.org>
19684
19685         * gst/gstindex.c: get refcounting correct.
19686         * gst/gstregistry.c: Handle the case where a feature/plugin is
19687           not found.
19688
19689 2005-09-15  David Schleef  <ds@schleef.org>
19690
19691         * check/Makefile.am:
19692         * check/gst/gstplugin.c: Add test
19693         * gst/gstplugin.c: Fix problems noticed by testsuite
19694         * gst/gstplugin.h:
19695         * gst/gstregistry.c: 
19696         * gst/gstregistry.h:
19697
19698 2005-09-15  David Schleef  <ds@schleef.org>
19699
19700         * gst/gstplugin.c: Implement semi-decent recounting and locking
19701           in plugins and plugin features.
19702         * gst/gstplugin.h:
19703         * gst/gstpluginfeature.c:
19704         * gst/gstpluginfeature.h:
19705         * gst/gstregistry.c:
19706
19707 2005-09-15  Michael Smith <msmith@fluendo.com>
19708
19709         * gst/gstregistry.c: (gst_registry_get_feature_list):
19710           Implement this. Makes oggdemux work; decodebin still broken.
19711
19712 2005-09-14  David Schleef  <ds@schleef.org>
19713
19714         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19715           #316076)
19716         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19717         * gst/check/Makefile.am:
19718         * libs/gst/controller/Makefile.am:
19719         * libs/gst/dataprotocol/Makefile.am:
19720
19721 2005-09-14  David Schleef  <ds@schleef.org>
19722
19723         * configure.ac: Remove getbits library.  Nothing uses it, and
19724           it should be in something like liboil if someone did want
19725           to use it.
19726         * libs/gst/Makefile.am:
19727         * libs/gst/getbits/Makefile.am:
19728         * libs/gst/getbits/gbtest.c:
19729         * libs/gst/getbits/getbits.c:
19730         * libs/gst/getbits/getbits.h:
19731         * libs/gst/getbits/gstgetbits_generic.c:
19732         * libs/gst/getbits/gstgetbits_i386.s:
19733         * libs/gst/getbits/gstgetbits_inl.h:
19734
19735 2005-09-14  David Schleef  <ds@schleef.org>
19736
19737         * gst/Makefile.am: Dist glib-compat.h
19738
19739 2005-09-14  David Schleef  <ds@schleef.org>
19740
19741         * configure.ac: Remove gst/registries, since it's no longer used.
19742         * gst/registries/Makefile.am:
19743         * gst/registries/gstlibxmlregistry.c:
19744         * gst/registries/gstlibxmlregistry.h:
19745         * gst/registries/gstxmlregistry.c:
19746         * gst/registries/gstxmlregistry.h:
19747         * gst/registries/registrytest.c:
19748
19749 2005-09-14  David Schleef  <ds@schleef.org>
19750
19751         * gst/glib-compat.h:
19752         * gst/gstregistryxml.c:
19753           Convergence is near.  Seriously.
19754
19755 2005-09-14  David Schleef  <ds@schleef.org>
19756
19757         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19758         * gst/glib-compat.h:
19759           Attempt #4 to appease the buildbots.
19760
19761 2005-09-14  David Schleef  <ds@schleef.org>
19762
19763         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19764           Attempt #3.
19765
19766 2005-09-14  David Schleef  <ds@schleef.org>
19767
19768         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19769         Attempt #2.
19770
19771 2005-09-14  David Schleef  <ds@schleef.org>
19772
19773         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19774           the new functions.
19775
19776 2005-09-14  David Schleef  <ds@schleef.org>
19777
19778         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19779         * gst/glib-compat.h: Add some functions that are in newer versions
19780           of glib than we care to require.
19781         * gst/gstregistryxml.c: Use them.
19782
19783 2005-09-14  David Schleef  <ds@schleef.org>
19784
19785         * po/POTFILES.in: remove gst-register.c
19786
19787 2005-09-14  David Schleef  <ds@schleef.org>
19788
19789         * docs/gst/gstreamer-docs.sgml:
19790         * docs/gst/gstreamer-sections.txt:
19791         * docs/gst/gstreamer.types:
19792         * docs/gst/tmpl/gstelement.sgml:
19793         * docs/gst/tmpl/gstplugin.sgml:
19794         * docs/gst/tmpl/gstpluginfeature.sgml:
19795           Documentation updates for registry changes.
19796
19797 2005-09-14  David Schleef  <ds@schleef.org>
19798
19799         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19800           because we don't require glib-2.8.
19801
19802 2005-09-14  David Schleef  <ds@schleef.org>
19803
19804         * gst/gstregistryxml.c: Added.  Essentially moved out of the
19805           registries directory.
19806
19807 2005-09-14  David Schleef  <ds@schleef.org>
19808
19809         * check/Makefile.am:
19810         * check/generic/states.c:
19811         * gst/Makefile.am:
19812         * gst/gst.c:
19813         * gst/gst.h:
19814         * gst/gst_private.h:
19815         * gst/gstelementfactory.c:
19816         * gst/gstindex.c:
19817         * gst/gstinfo.c:
19818         * gst/gstplugin.c:
19819         * gst/gstplugin.h:
19820         * gst/gstpluginfeature.c:
19821         * gst/gstpluginfeature.h:
19822         * gst/gstregistry.c:
19823         * gst/gstregistry.h:
19824         * gst/gstregistrypool.c: remove
19825         * gst/gstregistrypool.h: remove
19826         * gst/gsttypefind.c:
19827         * gst/gsttypefindfactory.c:
19828         * gst/gsturi.c:
19829         * tools/Makefile.am:
19830         * tools/gst-compprep.c:
19831         * tools/gst-inspect.c:
19832         * tools/gst-register.c: remove
19833         * tools/gst-xmlinspect.c:
19834           Registry rewrite.  Changes registry from being a file created
19835           by a tool into a simple cache file created automatically by 
19836           libgstreamer.  Removed gst-register (because it's no longer
19837           needed).  Remove registry pools, because we only have one
19838           registry implementation (XML).  Fix up other subsystems as
19839           necessary.
19840
19841 2005-09-13  Michael Smith <msmith@fluendo.com>
19842
19843         * gst/gstconfig.h.in:
19844           Don't Use windows linking attributes for MinGW. Fixes #316157
19845
19846 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19847
19848         * gst/gstutils.c: (set_state_async_thread_func),
19849         (gst_element_set_state_async):
19850           Apparently people think it's better if this function doesn't
19851           try to set the state to whatever state was asked for on the first
19852           call to this function for any object.  Seriously.
19853
19854 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19855
19856         * check/gst/gstpipeline.c: (GST_START_TEST):
19857         * docs/gst/gstreamer-sections.txt:
19858         * gst/gstutils.c: (set_state_async_thread_func),
19859         (gst_element_set_state_async):
19860         * gst/gstutils.h:
19861           add a "gst_element_set_state_async" method that
19862           sets the state and starts a thread to make sure the state
19863           change completes as best as it can
19864
19865 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19866
19867         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19868           codify design+behaviour in testsuite after discussion
19869
19870 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19871
19872         * docs/gst/tmpl/gstelement.sgml:
19873         * docs/manual/appendix-quotes.xml:
19874           add a quote
19875         * gst/gstelement.c: (gst_element_set_state):
19876           add some debug
19877
19878 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
19879
19880         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19881         (gst_base_transform_prepare_output_buf),
19882         (gst_base_transform_handle_buffer):
19883         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19884         (gst_capsfilter_prepare_buf):
19885           Remove the requirement for sub-classes to call the parent
19886           implementation of prepare_output_buffer with a wrapper function.
19887           
19888         * gst/gsttaglist.h:
19889         * gst/gsttagsetter.h:
19890           Fix #define wrapper
19891
19892 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
19893
19894         * docs/gst/gstreamer-sections.txt:
19895           more doc cleanups
19896
19897 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19898
19899         * docs/gst/gstreamer-sections.txt:
19900         * docs/gst/tmpl/gstelement.sgml:
19901         * docs/gst/tmpl/gstplugin.sgml:
19902         * gst/gstminiobject.c:
19903         * gst/gstvalue.h:
19904           docs now stop throwing warnings
19905
19906 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19907
19908         * docs/gst/gstreamer-sections.txt:
19909         * docs/gst/gstreamer.types:
19910         * docs/gst/tmpl/gstpad.sgml:
19911         * docs/gst/tmpl/gsttypes.sgml:
19912         * gst/base/gstadapter.h:
19913         * gst/base/gstbasesink.h:
19914         * gst/base/gstbasesrc.h:
19915         * gst/gstbin.h:
19916         * gst/gstbuffer.h:
19917         * gst/gstbus.h:
19918         * gst/gstcaps.h:
19919         * gst/gstclock.h:
19920         * gst/gstelement.h:
19921         * gst/gstevent.h:
19922         * gst/gstmessage.h:
19923         * gst/gstpad.h:
19924         * gst/gststructure.c:
19925         * gst/registries/gstlibxmlregistry.h:
19926           various documentation fixes
19927
19928 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19929
19930         * docs/gst/gstreamer-sections.txt:
19931         * docs/gst/tmpl/gstvalue.sgml:
19932           rearrange gstvalue section
19933         * gst/gstutils.c: (gst_element_state_get_name):
19934           NONE -> VOID
19935         * gst/gstvalue.c: (_gst_value_initialize):
19936         * gst/gstvalue.h:
19937           doc updates
19938
19939 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
19940
19941         * check/gst-libs/controller.c:
19942           Header include fix.
19943         * gst/base/gstbasetransform.c:
19944         (gst_base_transform_default_prepare_buf),
19945         (gst_base_transform_handle_buffer):
19946         * gst/base/gstbasetransform.h:
19947           Some more basetransform changes and fixes to enable sub-classes
19948           that modify buffer metadata only.
19949         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19950         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19951         (gst_capsfilter_prepare_buf):
19952           If the output pad has fixed allowed caps and input buffers 
19953           don't have any, set the fixed caps on outgoing buffers.
19954
19955 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
19956         * check/elements/identity.c: (GST_START_TEST):
19957           Make the error a little clearer when the test fails because
19958           identity made a copy of the buffer.
19959         * docs/gst/gstreamer-sections.txt:
19960           New symbols in gstbasetransform.h
19961         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19962         (gst_base_transform_init), (gst_base_transform_transform_size),
19963         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19964         (gst_base_transform_default_prepare_buf),
19965         (gst_base_transform_get_unit_size),
19966         (gst_base_transform_buffer_alloc),
19967         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19968         (gst_base_transform_change_state),
19969         (gst_base_transform_set_passthrough),
19970         (gst_base_transform_set_in_place),
19971         (gst_base_transform_is_in_place):
19972         * gst/base/gstbasetransform.h:
19973           Change BaseTransform to separate in_place operate from same_caps
19974           output. in_place implies that the element can perform the transform
19975           on incoming buffers in-place, even if the caps on the output are
19976           different.
19977           Sub-class elements can now implement special buffer allocation
19978           methods for outgoing buffers if they wish to.
19979           Big documentation addition.
19980         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19981         * gst/elements/gstelements.c:
19982           Changes for basetransform modifications.
19983         * gst/elements/Makefile.am:
19984         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19985           Compile fix. Extra debug output.
19986
19987 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19988
19989         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19990         (gst_pad_suite):
19991           add tests for valid pad naming
19992         * gst/check/gstcheck.c: (gst_check_log_message_func),
19993         (gst_check_log_critical_func):
19994           add ASSERT_WARNING
19995           remove printing of code, it is fragile when the code contains
19996           % and the line number is enough info
19997         * gst/check/gstcheck.h:
19998         * gst/gstpad.c: (gst_pad_template_new):
19999           fix memleaks
20000
20001 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20002
20003         * configure.ac:
20004           say what CHECK flags we use
20005         * docs/libs/gstreamer-libs.types:
20006         * libs/gst/controller/Makefile.am:
20007         * libs/gst/controller/gst-controller.c:
20008         * libs/gst/controller/gst-controller.h:
20009         * libs/gst/controller/gst-helper.c:
20010         * libs/gst/controller/gst-interpolation.c:
20011         * libs/gst/controller/gstcontroller.c:
20012         * libs/gst/controller/gsthelper.c:
20013         * libs/gst/controller/gstinterpolation.c:
20014         * tools/gst-inspect.c: (print_plugin_info):
20015           we don't use dashes in header names
20016
20017 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20018
20019         * check/Makefile.am:
20020         * check/gst/.cvsignore:
20021         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20022         (gst_pipeline_suite), (main):
20023           adding a test for pipelines and state changes
20024         * gst/gstutils.c: (get_state_func):
20025           add some debugging
20026         * gstreamer.spec.in:
20027           fix up spec file
20028
20029 2005-09-08  Michael Smith <msmith@fluendo.com>
20030
20031         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20032         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20033         (gst_file_src_is_seekable), (gst_file_src_get_size),
20034         (gst_file_src_start):
20035         * gst/elements/gstfilesrc.h:
20036           Various fixes for unseekable, unmmapable, and non-normal files, so
20037           that fallback to read() rather than mmap() works.
20038         * gst/gstevent.c: (gst_event_new_newsegment):
20039           Allow newsegment events with segment_start == segment_end, as will
20040           correctly happen if you use filesrc on a zero-size file, for
20041           example.
20042
20043 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20044
20045         * gst/gstplugin.c: (gst_plugin_load_file):
20046           Call g_module_close when we don't load the module
20047
20048         * gst/registries/gstlibxmlregistry.c:
20049         (gst_xml_registry_get_property):
20050           Port leak fix from 0.8
20051
20052 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20053
20054         * docs/gst/gstreamer-docs.sgml:
20055         * docs/gst/tmpl/.cvsignore:
20056         * docs/gst/tmpl/gsttrace.sgml:
20057         * docs/gst/tmpl/gsttrashstack.sgml:
20058         * gst/Makefile.am:
20059         * gst/gst.h:
20060         * gst/gstelement.h:
20061         * gst/gstevent.h:
20062         * gst/gstmessage.c:
20063         * gst/gstmessage.h:
20064         * gst/gsttag.c:
20065         * gst/gsttag.h:
20066         * gst/gsttaginterface.c:
20067         * gst/gsttaginterface.h:
20068         * gst/gsttaglist.c:
20069         * gst/gsttaglist.h:
20070         * gst/gsttagsetter.c:
20071         * gst/gsttagsetter.h:
20072         * gst/gsttrace.c:
20073         * gst/gsttrace.h:
20074         * gst/gsttrashstack.c:
20075           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20076           inlined docs for gsttrace, gsttrashstack
20077
20078 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20079
20080         * gst/Makefile.am:
20081         * gst/elements/gstbufferstore.h:
20082         * gst/elements/gsttypefindelement.c:
20083         * gst/elements/gsttypefindelement.h:
20084         * gst/gst.h:
20085         * gst/gsttypefind.c:
20086         * gst/gsttypefind.h:
20087         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20088         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20089         (gst_type_find_factory_dispose),
20090         (gst_type_find_factory_unload_thyself),
20091         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20092         (gst_type_find_factory_get_caps),
20093         (gst_type_find_factory_get_extensions),
20094         (gst_type_find_factory_call_function):
20095         * gst/gsttypefindfactory.h:
20096         * gst/registries/gstlibxmlregistry.c:
20097         * gst/registries/gstxmlregistry.c:
20098           splitted gsttypefind into gsttypefind, gsttypefindfactory
20099
20100 2005-09-07  Andy Wingo  <wingo@pobox.com>
20101
20102         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20103         condition whereby the pad's task function is entered before the
20104         pad_mode variable was set.
20105
20106 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20107
20108         * gst/gstpad.c: (gst_pad_alloc_buffer):
20109           Catch misbehaving pad_alloc functions that don't
20110           set up caps and do it for them.
20111
20112 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20113
20114         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20115           test for pipe!=NULL
20116         * docs/gst/tmpl/.cvsignore:
20117         * docs/gst/tmpl/gstmemchunk.sgml:
20118         * docs/gst/tmpl/gstparse.sgml:
20119         * docs/gst/tmpl/gsttaglist.sgml:
20120         * docs/gst/tmpl/gsttagsetter.sgml:
20121         * docs/gst/tmpl/gsttypefind.sgml:
20122         * docs/gst/tmpl/gsttypefindfactory.sgml:
20123         * gst/gstmemchunk.c:
20124         * gst/gstparse.c:
20125         * gst/gsttag.c:
20126         * gst/gsttaginterface.c:
20127         * gst/gsttypefind.c:
20128         * gst/gsttypefind.h:
20129           inlined more docs
20130
20131 === release 0.9.2 ===
20132
20133 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20134
20135         * NEWS:
20136         * RELEASE:
20137         * configure.ac:
20138           releasing 0.9.2, "South"
20139
20140 2005-09-05  Andy Wingo  <wingo@pobox.com>
20141
20142         * gst/registries/gstxmlregistry.h:
20143         * gst/registries/gstxmlregistry.c: Um... resurrect...
20144         
20145         * gst/registries/gstxmlregistry.h:
20146         * gst/registries/gstxmlregistry.c: and update to newer API.
20147         Incidentally they should be a bit faster now that they don't have
20148         to parse the caps.
20149         
20150 2005-09-05  Andy Wingo  <wingo@pobox.com>
20151
20152         * gst/registries/gstxmlregistry.h:
20153         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20154         replaced by the libxml registry a while back
20155
20156 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20157
20158         * docs/gst/tmpl/gstplugin.sgml:
20159         * gst/elements/gstelements.c:
20160         * gst/gst.c:
20161         * gst/gstplugin.c: (gst_plugin_register_func),
20162         (gst_plugin_desc_copy), (gst_plugin_desc_free),
20163         (gst_plugin_get_source):
20164         * gst/gstplugin.h:
20165         * gst/registries/gstlibxmlregistry.c: (load_plugin),
20166         (gst_xml_registry_save_plugin):
20167         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20168         (gst_xml_registry_save_plugin):
20169         * tools/gst-inspect.c: (print_plugin_info):
20170           add a "source" plugin description field, to represent the source
20171           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
20172           will set it to PACKAGE, which is automake's idea of the name of
20173           the source project.
20174
20175 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20176
20177         * Makefile.am:
20178         * autogen.sh:
20179         * configure.ac:
20180         * docs/Makefile.am:
20181         * docs/faq/Makefile.am:
20182         * docs/gst/tmpl/gstelement.sgml:
20183         * docs/gst/tmpl/gsttypes.sgml:
20184         * docs/htmlinstall.mak:
20185         * docs/manual/Makefile.am:
20186         * docs/pwg/Makefile.am:
20187           reorganize doc build a little
20188           split out docbook and gtk-doc stuff
20189           have two separate --enable's and enable them through autogen
20190           but disable by default in configure (to be similar to other
20191           projects)
20192         * gstreamer.spec.in:
20193           clean up docs install
20194         * po/af.po:
20195         * po/az.po:
20196         * po/ca.po:
20197         * po/cs.po:
20198         * po/de.po:
20199         * po/en_GB.po:
20200         * po/fr.po:
20201         * po/it.po:
20202         * po/nb.po:
20203         * po/nl.po:
20204         * po/ru.po:
20205         * po/sq.po:
20206         * po/sr.po:
20207         * po/sv.po:
20208         * po/tr.po:
20209         * po/uk.po:
20210         * po/vi.po:
20211           translation updates
20212
20213 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
20214
20215         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20216           Add comment.
20217           
20218         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20219         (gst_fake_sink_change_state):
20220           Make state change function thread-safe.
20221           
20222         * gst/gstpad.c: (gst_pad_alloc_buffer):
20223           Set offset on generic buffer allocated by fallback.
20224
20225 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
20226
20227         * docs/gst/gstreamer-sections.txt:
20228         * docs/gst/tmpl/gstelement.sgml:
20229         * gst/gstpad.c:
20230         * libs/gst/controller/gst-controller.c:
20231         (gst_controlled_property_set_interpolation_mode),
20232         (gst_controlled_property_new),
20233         (gst_controller_find_controlled_property):
20234          run the wingo-magic script against the docs
20235
20236 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20237
20238         * docs/gst/gstreamer-docs.sgml:
20239         * docs/gst/gstreamer-sections.txt:
20240         * docs/gst/tmpl/.cvsignore:
20241         * docs/gst/tmpl/gstelementdetails.sgml:
20242         * docs/gst/tmpl/gstelementfactory.sgml:
20243         * gst/gst.c:
20244         * gst/gstbus.c:
20245         * gst/gstelementfactory.c:
20246         * gst/gstelementfactory.h:
20247           merged elementdetails docs into elementfactory docs
20248           inlined both
20249
20250 2005-09-02  Andy Wingo  <wingo@pobox.com>
20251
20252         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20253         consider this enum an enum and not a flags.
20254
20255 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20256
20257         * docs/gst/gstreamer-docs.sgml:
20258         * docs/gst/tmpl/.cvsignore:
20259         * docs/gst/tmpl/gstghostpad.sgml:
20260         * docs/gst/tmpl/gstiterator.sgml:
20261         * docs/gst/tmpl/gstmacros.sgml:
20262         * docs/gst/tmpl/gstrealpad.sgml:
20263         * docs/gst/tmpl/gstregistry.sgml:
20264         * docs/gst/tmpl/gstregistrypool.sgml:
20265         * docs/gst/tmpl/gststructure.sgml:
20266         * docs/gst/tmpl/gstsystemclock.sgml:
20267         * docs/gst/tmpl/gsttrace.sgml:
20268         * gst/gstghostpad.c:
20269         * gst/gstmacros.h:
20270         * gst/gstmemchunk.c:
20271         * gst/gstmemchunk.h:
20272         * gst/gstqueue.c:
20273         * gst/gstregistry.c:
20274         * gst/gstregistrypool.c:
20275         * gst/gststructure.c:
20276         * gst/gstsystemclock.c:
20277           more docs inlined
20278
20279 2005-09-02  Andy Wingo  <wingo@pobox.com>
20280
20281         * gst/gstelement.h (GstState): Renamed from GstElementState,
20282         changed to be a normal enum instead of flags.
20283         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20284         munged to be GST_STATE_CHANGE_*.
20285         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20286         work with the new state representation.
20287         (GstStateChange): New enumeration of possible state transitions.
20288         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20289         (GstElementClass::change_state): Pass the GstStateChange along as
20290         an argument. Helps language bindings, so they don't have to use
20291         tricky lock-needing macros like GST_STATE_CHANGE ().
20292
20293         * scripts/update-states (file): New script. Run it on a file to
20294         update it for state naming and API changes. Updates files in
20295         place.
20296
20297         * All files updated for the new API.
20298
20299 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20300
20301         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20302         * gst/gstutils.c: (gst_util_set_value_from_string),
20303         (gst_util_set_object_arg):
20304           fix a bunch of unchecked return values
20305         * tools/gst-complete.c: (main):
20306         * gstreamer.spec.in:
20307           clean up a little
20308
20309 2005-09-01  Wim Taymans  <wim@fluendo.com>
20310
20311         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20312         (gst_base_sink_event), (gst_base_sink_do_sync),
20313         (gst_base_sink_handle_event):
20314         * gst/base/gstbasesink.h:
20315         Handle newsegments more correctly.
20316
20317         * gst/gstbus.c:
20318         Fix docs.
20319
20320         * gst/gstevent.c: (gst_event_new_newsegment):
20321         A newsegment cannot have a start_time of -1
20322
20323 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
20324
20325         * win32/gstenumtypes.c:
20326         * win32/gstenumtypes.h:
20327           Update
20328
20329 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20330
20331         * libs/gst/controller/gst-controller.c:
20332         (gst_controlled_property_set_interpolation_mode),
20333         (gst_controlled_property_new):
20334          fixed boolean again
20335
20336 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
20337
20338         * docs/faq/gst-uninstalled:
20339           add -good
20340         * gst/gstevent.c:
20341         * gst/gstevent.h:
20342           remove wrong docs
20343         * gst/gstutils.c: (gst_element_link_filtered):
20344         * gst/gstutils.h:
20345           add gst_element_link_filtered
20346
20347 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20348
20349         * docs/gst/gstreamer-docs.sgml:
20350         * docs/gst/gstreamer-sections.txt:
20351         * docs/gst/tmpl/.cvsignore:
20352         * docs/gst/tmpl/gsterror.sgml:
20353         * docs/gst/tmpl/gstfilter.sgml:
20354         * docs/gst/tmpl/gsturihandler.sgml:
20355         * docs/gst/tmpl/gsturitype.sgml:
20356         * docs/gst/tmpl/gstutils.sgml:
20357         * docs/gst/tmpl/gstxml.sgml:
20358         * gst/gsterror.c:
20359         * gst/gsterror.h:
20360         * gst/gstfilter.c:
20361         * gst/gsturi.c:
20362         * gst/gsturitype.c:
20363         * gst/gstutils.c:
20364         * gst/gstxml.c:
20365           inlined more docs, fixed double id-ref
20366
20367 2005-08-31  Wim Taymans  <wim@fluendo.com>
20368
20369         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20370         (gst_base_transform_handle_buffer):
20371         Passthrough elements don't need the caps as they don't care.
20372
20373 2005-08-31  Wim Taymans  <wim@fluendo.com>
20374
20375         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20376         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20377         Don't leak refcounts on buffers.
20378
20379 2005-08-31  Wim Taymans  <wim@fluendo.com>
20380
20381         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20382         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20383         (gst_base_transform_chain), (gst_base_transform_change_state):
20384         * gst/base/gstbasetransform.h:
20385         Handle the case where we are not negotiated more gracefully.
20386
20387 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
20388
20389         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20390         (gst_file_src_map_region):
20391           Set READONLY flag on mmap'ed buffers, otherwise
20392           gst_buffer_make_writable() won't work properly (#314708).
20393
20394 2005-08-31  Wim Taymans  <wim@fluendo.com>
20395
20396         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20397         passthrough elements can even do inplace on non writable
20398         buffers (as they don't touch them).
20399
20400 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20401
20402         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20403         (gst_test_mono_source_set_property),
20404         (gst_test_mono_source_class_init), (GST_START_TEST),
20405         (gst_controller_suite):
20406           more tests (hehe I have the most)
20407         * gst/gstbus.c:
20408           describe popping messages whenusing mulltiple sources
20409         * libs/gst/controller/gst-controller.c:
20410         (gst_controlled_property_set_interpolation_mode),
20411         (gst_controlled_property_new):
20412         * libs/gst/controller/gst-controller.h:
20413         * libs/gst/controller/gst-interpolation.c:
20414           implement boolean properties
20415
20416 2005-08-31  Wim Taymans  <wim@fluendo.com>
20417
20418         * gst/gstminiobject.c: (gst_mini_object_ref):
20419         Cannot assert that the refcount has to be positive
20420         since a disposed object can be resurrected.
20421
20422 2005-08-31  Wim Taymans  <wim@fluendo.com>
20423
20424         * gst/gstpad.c: (gst_pad_init):
20425         Revert change, need to first fix badly behaving 
20426         apps.
20427
20428 2005-08-30  Wim Taymans  <wim@fluendo.com>
20429
20430         * check/elements/fakesrc.c: (setup_fakesrc):
20431         * check/elements/identity.c: (setup_identity):
20432         Activate pads before using them.
20433
20434 2005-08-30  Wim Taymans  <wim@fluendo.com>
20435
20436         * gst/base/gstadapter.c: (gst_adapter_flush):
20437         Flushing out 0 bytes is ok for this function.
20438
20439         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20440         no newsegment gives a warning and sets the start/stop to 
20441         invalid.
20442
20443         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20444         (gst_base_transform_set_passthrough):
20445         Some debug info.
20446
20447         * gst/gstminiobject.c: (gst_mini_object_ref):
20448         Check refcount here too.
20449
20450         * gst/gstpad.c: (gst_pad_init):
20451         Pads are initially flushing and refusing data.
20452
20453         * gst/gstutils.c: (gst_element_link_pads_filtered):
20454         When adding a capsfilter element make sure it has the
20455         same state as the parent bin.
20456
20457 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20458
20459         * docs/gst/tmpl/.cvsignore:
20460         * docs/gst/tmpl/gstformat.sgml:
20461         * docs/gst/tmpl/gstversion.sgml:
20462         * gst/gstbus.h:
20463         * gst/gstformat.c:
20464         * gst/gstformat.h:
20465         * gst/gstversion.h.in:
20466           more docs and two more inlined
20467
20468 2005-08-30  Wim Taymans  <wim@fluendo.com>
20469
20470         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20471         Don't sync to clock.
20472
20473 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20474
20475         * docs/gst/gstreamer-sections.txt:
20476           ultral33t func10ns deserve to appear in the docs actually
20477         * docs/gst/tmpl/.cvsignore:
20478         * docs/gst/tmpl/gstcompat.sgml:
20479         * docs/gst/tmpl/gstconfig.sgml:
20480         * gst/check/gstcheck.c:
20481         * gst/gstcompat.h:
20482         * gst/gstconfig.h.in:
20483           inlined more docs
20484
20485 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20486
20487         * docs/gst/tmpl/.cvsignore:
20488         * docs/gst/tmpl/gstquery.sgml:
20489         * docs/gst/tmpl/gstutils.sgml:
20490         * gst/gstquery.c:
20491         * gst/gstquery.h:
20492           inlined and extended docs
20493
20494 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20495
20496         * check/gst-libs/controller.c: (GST_START_TEST),
20497         (gst_controller_suite):
20498           more tests
20499         * docs/gst/tmpl/gstutils.sgml:
20500         * docs/libs/gstreamer-libs-sections.txt:
20501         * docs/libs/tmpl/gstdataprotocol.sgml:
20502           include path fixes
20503         * examples/controller/audio-example.c: (main):
20504           controller example works now
20505         * gst/gstclock.h:
20506           doc fixes
20507         * tools/gst-inspect.c: (print_element_properties_info):
20508           show param spec flags
20509
20510 2005-08-29  Andy Wingo  <wingo@pobox.com>
20511
20512         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20513
20514 2005-08-28  Andy Wingo  <wingo@pobox.com>
20515
20516         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20517         as having two arguments instead of just one. Allows superclasses
20518         to access information on subclasses -- see the terrible for() loop
20519         in gtype.c:g_type_create_instance for the reason why. All callers
20520         changed.
20521
20522 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20523
20524         * docs/design/part-messages.txt:
20525           update info
20526         * docs/gst/tmpl/.cvsignore:
20527         * docs/gst/tmpl/gstcaps.sgml:
20528         * docs/gst/tmpl/gstclock.sgml:
20529         * gst/gstbus.c:
20530         * gst/gstcaps.c:
20531         * gst/gstcaps.h:
20532         * gst/gstclock.c:
20533         * gst/gstclock.h:
20534         * gst/gstmessage.c:
20535           added descriptions for bus and message
20536           inline caps and clock docs
20537
20538 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20539
20540         * gst/gstmessage.c:
20541         * gst/gstmessage.h:
20542           doc fixes
20543
20544 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20545
20546         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20547           fix div-by-zero
20548
20549 2005-08-26  Andy Wingo  <wingo@pobox.com>
20550
20551         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20552         element_set_state's return val.
20553         (test_2_elements): Add test that's been disabled for months.
20554
20555         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20556         can-activate-pull properties.
20557
20558         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20559         can-activate-pull properties. Implement is_seekable so fakesrc can
20560         operate in pull mode.
20561
20562         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20563         properties.
20564         (gst_base_sink_activate, gst_base_sink_activate_pull)
20565         (gst_base_sink_activate_push): Make activation mode choosing work.
20566         Cleanups.
20567         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20568         is right. Make pull mode work. Post an eos before pausing in pull
20569         mode.
20570         (gst_base_sink_change_state): Pay attention to the core's
20571         change_state() return val.
20572         
20573         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20574         has-getrange properties. Cleanups.
20575         
20576         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20577         has_getrange and replace with can_activate_pull and
20578         can_activate_push.
20579
20580         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20581         locking comments. Remove has_loop, has_chain and replace with
20582         can_activate_pull and can_activate_push.
20583
20584 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
20585
20586         * configure.ac:
20587         * examples/Makefile.am:
20588         * examples/metadata/Makefile.am:
20589         * examples/metadata/read-metadata.c: (message_loop),
20590         (have_pad_handler), (make_pipeline), (print_tag), (main):
20591           Add metadata reading example that loops over a list of filenames,
20592           dumping any tags found.
20593
20594         * gst/gstbus.c: (gst_bus_dispose):
20595         * gst/gstelement.c: (gst_element_dispose):
20596           Release a few potentially-held references in dispose.
20597
20598 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20599
20600         * docs/gst/tmpl/gstminiobject.sgml:
20601           do *not* add tmpl/*.sgml files to CVS!
20602
20603 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20604
20605         * libs/gst/bytestream/.cvsignore:
20606         * libs/gst/bytestream/Makefile.am:
20607         * libs/gst/bytestream/adapter.c:
20608         * libs/gst/bytestream/adapter.h:
20609         * libs/gst/bytestream/bytestream.c:
20610         * libs/gst/bytestream/bytestream.h:
20611         * libs/gst/bytestream/filepad.c:
20612         * libs/gst/bytestream/filepad.h:
20613           removing obsolete files
20614
20615 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20616
20617         * docs/gst/gstreamer-docs.sgml:
20618         * docs/libs/gstreamer-libs-docs.sgml:
20619           disabed additional index entries again, as this makes docs-gen just
20620           slow and they aren't useful yet
20621         * docs/libs/gstreamer-libs-sections.txt:
20622           little -section.txt cleanup for libs
20623
20624 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20625
20626         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20627         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20628           fix up some debugging
20629         (gst_base_transform_get_unit_size),
20630         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20631         (gst_base_transform_handle_buffer):
20632         * gst/base/gstbasetransform.h:
20633           handle and store timed NEWSEGMENT events so that subclasses that
20634           calculate time by counting samples have a segment_start time they
20635           need to add to their timestamps - see audioresample
20636
20637 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20638
20639         * gst/gstbin.h:
20640           removed ';' from the end of macro defs
20641         * docs/gst/gstreamer-docs.sgml:
20642         * docs/gst/gstreamer-sections.txt:
20643         * docs/gst/tmpl/.cvsignore:
20644         * gst/gstbus.h:
20645         * gst/gstelement.c: (gst_element_class_init),
20646         (gst_element_set_state), (activate_pads),
20647         (gst_element_save_thyself):
20648         * gst/gstevent.c: (gst_event_new_newsegment):
20649         * gst/gstevent.h:
20650         * gst/gstiterator.c:
20651         * gst/gstiterator.h:
20652         * gst/gstpad.c:
20653         * gst/gstprobe.h:
20654         * gst/gstutils.c: (gst_pad_query_convert):
20655         * gst/gstutils.h:
20656           fixed parameter name mismatches between source, header and docs
20657           added some more docs, resolved the last batch of unused elements in
20658           docs (now someone needs to doc them)
20659
20660 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20661
20662         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20663         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20664           don't walk through the plugins backwards.  Where is all this
20665           reversed logic coming from ?
20666
20667 2005-08-25  Wim Taymans  <wim@fluendo.com>
20668
20669         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20670         (gst_base_transform_transform_size),
20671         (gst_base_transform_configure_caps),
20672         (gst_base_transform_get_unit_size),
20673         (gst_base_transform_buffer_alloc),
20674         (gst_base_transform_change_state):
20675         * gst/base/gstbasetransform.h:
20676         Cache caps unit_size.
20677         Make sure we cannot negotiate up and downstream at the
20678         same time.
20679
20680 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20681
20682         * gst/gst.c: (init_pre), (init_post):
20683           register the installed plugin path after the env var
20684         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20685         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20686           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20687           directories, so the tests can prefer uninstalled over installed
20688
20689 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20690
20691         * gst/base/gstbasetransform.h:
20692           comment
20693         * gst/gstpad.c:
20694           add to docs
20695
20696 2005-08-25  Wim Taymans  <wim@fluendo.com>
20697
20698         * gst/gstbin.c: (bin_bus_handler):
20699         Be a bit more conservative about the posted message.
20700         
20701         * gst/gstbus.c: (gst_bus_post):
20702         Some cleanups, warn wrong return values.
20703
20704 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
20705
20706         * check/gst/gstbin.c: (GST_START_TEST):
20707         * gst/gstbin.c: (bin_bus_handler):
20708         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20709         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20710         (gst_message_new_warning), (gst_message_new_tag),
20711         (gst_message_new_state_changed), (gst_message_new_segment_start),
20712         (gst_message_new_segment_done), (gst_message_new_custom):
20713         * gst/gstmessage.h:
20714         * tools/gst-launch.c: (event_loop):
20715         * tools/gst-md5sum.c: (event_loop):
20716           Revert unpopular change for GST_MESSAGE_SRC to GObject.
20717
20718 2005-08-25  Wim Taymans  <wim@fluendo.com>
20719
20720         * check/generic/states.c: (GST_START_TEST):
20721         Cleanup can be done at the end.
20722
20723         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20724         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20725         (gst_task_get_state), (gst_task_start), (gst_task_pause):
20726         Oh boy.. Thanks for finding this, Thomas. 
20727
20728 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20729
20730         * docs/gst/gstreamer.types:
20731           added missing types
20732
20733 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20734
20735         * docs/gst/gstreamer-docs.sgml:
20736         * docs/gst/gstreamer-sections.txt:
20737         * docs/gst/tmpl/.cvsignore:
20738         * gst/gstbin.c:
20739         * gst/gstiterator.c:
20740         * gst/gstutils.c:
20741         * gst/registries/gstxmlregistry.h:
20742           added missing classes and symbols (123 more to go)
20743           removed removed symbols from section file
20744           fixed many doc-comments
20745
20746 2005-08-24  Wim Taymans  <wim@fluendo.com>
20747
20748         * check/generic/states.c: (GST_START_TEST):
20749         Make sure all tasks are stopped.
20750
20751         * check/gst/gstbin.c: (GST_START_TEST):
20752         Unref after usage for proper valgrinding.
20753
20754         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20755         Really wait for the task to stop before destroying the
20756         mutex.
20757
20758         * gst/gstqueue.c: (gst_queue_sink_activate_push),
20759         (gst_queue_src_activate_push):
20760         Small cleanups. Don't stop the task when we did not start
20761         it.
20762
20763         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20764         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20765         (gst_task_get_state), (gst_task_start), (gst_task_pause),
20766         (gst_task_join):
20767         * gst/gsttask.h:
20768         Protect the stream lock with the object lock.
20769         Disallow setting the stream lock when running.
20770         Add cleanup_all to wait for the threadpool to finish.
20771         Remove code to autoallocate a mutex if none was provided.
20772         Add _join() to wait for a task to stop.
20773         Protect the thread pool with a global lock.
20774
20775 2005-08-24  Wim Taymans  <wim@fluendo.com>
20776
20777         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20778         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20779         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20780         * gst/base/gstbasesink.h:
20781         Handle newsegment events correctly.
20782         Drop buffers out of the segment range.
20783
20784 2005-08-22  Andy Wingo  <wingo@pobox.com>
20785
20786         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20787         macro, implements an interface and gstimplementsinterface for a
20788         new type.
20789
20790 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20791
20792         * check/Makefile.am:
20793         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20794           add a test that does a bunch of state changes on elements
20795           needs some fixing for valgrind
20796         * check/states/sinks.c: (gst_object_suite):
20797           whitespace
20798         * gst/gstcaps.h:
20799           add prototype for gst_caps_is_equal_fixed
20800         * gst/gstplugin.c:
20801         * gst/gstregistrypool.c:
20802           doc fixes
20803
20804 2005-08-24  Andy Wingo  <wingo@pobox.com>
20805
20806         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20807         convert a negative value. Doesn't make much sense. Mostly this is
20808         here to force callers to ensure -1 maps to -1.
20809
20810 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20811
20812         * docs/pwg/advanced-types.xml:
20813           Well done to Michael for catching my deliberate introduction
20814           of this spelling mistake. 
20815         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20816         * gst/gstelement.h:
20817           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20818           unlink pads before removing the element from the bin.
20819
20820 2005-08-24  Andy Wingo  <wingo@pobox.com>
20821
20822         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20823         the same thing as GST_DEBUG=*:4.
20824         (parse_debug_level, parse_debug_category): New helper parsers.
20825
20826 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20827
20828         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20829         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20830         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20831         (gst_base_transform_buffer_alloc),
20832         (gst_base_transform_handle_buffer):
20833           use gboolean return values and pointers to size so we can use the
20834           full GST_BUFFER_SIZE range (guint) for buffer sizes
20835           use GstPadDirection for transform_caps
20836         * gst/base/gstbasetransform.h:
20837           rename get_size to get_unit_size since that's what it is
20838         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20839           use GstPadDirection for transform_caps
20840         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20841         * gst/gstutils.h:
20842           cleanup and debugging
20843
20844 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20845
20846         * gst/gstelement.c: (gst_element_class_init),
20847         (gst_element_set_state), (activate_pads),
20848         (gst_element_save_thyself):
20849         * tools/gst-compprep.c: (main):
20850         * tools/gst-inspect.c: (print_element_properties_info):
20851         * tools/gst-xmlinspect.c: (print_element_properties):
20852           Fixed long standing mem-leak
20853
20854 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20855
20856         * check/gst/gstbin.c: (GST_START_TEST):
20857         * gst/gstbin.c: (bin_bus_handler):
20858         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20859         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20860         (gst_message_new_warning), (gst_message_new_tag),
20861         (gst_message_new_state_changed), (gst_message_new_segment_start),
20862         (gst_message_new_segment_done), (gst_message_new_custom):
20863         * gst/gstmessage.h:
20864         * tools/gst-launch.c: (event_loop):
20865         * tools/gst-md5sum.c: (event_loop):
20866           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20867           that applications can sensibly post custom messages with references
20868           to their own objects.
20869
20870 2005-08-24  Andy Wingo  <wingo@pobox.com>
20871
20872         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20873         already.
20874
20875 2005-08-24  Wim Taymans  <wim@fluendo.com>
20876
20877         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20878         (gst_base_transform_transform_caps),
20879         (gst_base_transform_transform_size),
20880         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20881         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20882         (gst_base_transform_handle_buffer):
20883         * gst/base/gstbasetransform.h:
20884         Many fixes and new features added by Thomas. Can now also do
20885         transforms with variable sizes and a custom fixate_caps function.
20886
20887 2005-08-24  Wim Taymans  <wim@fluendo.com>
20888
20889         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20890         Some debugging.
20891
20892         * gst/gstclock.h:
20893         Cast to ClockTime before formatting to time.
20894
20895         * gst/gstutils.h:
20896         Cleanups.
20897
20898 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20899
20900         * check/gst-libs/controller.c: (GST_START_TEST),
20901         (gst_controller_suite):
20902         * docs/gst/tmpl/gstcaps.sgml:
20903         * docs/gst/tmpl/gstghostpad.sgml:
20904         * docs/gst/tmpl/gstquery.sgml:
20905         * docs/gst/tmpl/gstutils.sgml:
20906         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20907         (gst_object_sink_values), (gst_object_get_value_arrays),
20908         (gst_object_get_value_array):
20909           gracefully handle helper method calls to objects that are not beeing
20910           controlled, added test case for that          
20911
20912 2005-08-23  Wim Taymans  <wim@fluendo.com>
20913
20914         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20915         (gst_event_new_newsegment), (gst_event_parse_newsegment),
20916         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20917         (gst_event_parse_qos), (gst_event_new_seek),
20918         (gst_event_parse_seek):
20919         * gst/gstevent.h:
20920         Some more debugging output and doc cleanups.
20921
20922         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20923         Fix possible deadlock.
20924
20925 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20926
20927         * docs/gst/gstreamer-docs.sgml:
20928         * docs/gst/gstreamer-sections.txt:
20929         * docs/gst/gstreamer.types:
20930         * docs/gst/tmpl/.cvsignore:
20931         * gst/gstbin.h:
20932         * gst/gstbus.c:
20933         * gst/gstelement.c:
20934         * gst/gstevent.h:
20935           added 100 symbols from gstreamer-unused.txt to the right sections
20936           fixed more broken comments
20937           added GstBus to docs
20938
20939 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20940
20941         * docs/gst/gstreamer-sections.txt:
20942         * docs/gst/tmpl/.cvsignore:
20943         * docs/gst/tmpl/gstbin.sgml:
20944         * docs/gst/tmpl/gstbuffer.sgml:
20945         * gst/base/gstbasesrc.c:
20946         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20947         * gst/gstbuffer.c:
20948         * gst/gstbuffer.h:
20949         * tools/gst-launch.1.in:
20950           inlined more doc comments, added missing comments and fixed comments
20951           fixed typos
20952
20953 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20954
20955         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20956           some debugging
20957         * gst/gstcaps.h:
20958           whitespace fixes
20959         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20960           more debugging
20961         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20962         * gst/gststructure.h:
20963           add a fixate function for booleans; add a FIXME that these func
20964           names should probably be gst_structure_fixate_*
20965
20966 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20967
20968         * docs/gst/gstreamer-docs.sgml:
20969         * docs/gst/gstreamer-sections.txt:
20970         * gst/Makefile.am:
20971         * gst/gstbin.c: (gst_bin_get_type),
20972         (gst_bin_child_proxy_get_child_by_index),
20973         (gst_bin_child_proxy_get_children_count),
20974         (gst_bin_child_proxy_init):
20975         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20976         (gst_child_proxy_get_child_by_index),
20977         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20978         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20979         (gst_child_proxy_get), (gst_child_proxy_set_property),
20980         (gst_child_proxy_set_valist), (gst_child_proxy_set),
20981         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20982         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20983         * gst/gstchildproxy.h:
20984         * gst/parse/grammar.y:
20985         * tools/gst-inspect.c: (print_interfaces),
20986         (print_element_properties_info), (print_element_info):
20987           ported gstchildproxy over from 0.8
20988           ported gst-inspect fixes and enhancements over from 0.8
20989
20990 2005-08-22  Wim Taymans  <wim@fluendo.com>
20991
20992         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20993         (gst_base_transform_handle_buffer):
20994         Also call the transform function if we have ANY caps.
20995
20996         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20997         Fix debug info.
20998
20999 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21000
21001         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
21002           Don't pretend to handle seek events if the source is not seekable
21003
21004 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21005
21006         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21007           Remove extra parameter to debug output
21008
21009         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21010         (gst_base_src_do_seek), (gst_base_src_activate_push):
21011           Fix seek event handling.
21012
21013         * gst/gstpipeline.c: (gst_pipeline_change_state):
21014         * gst/gstqueue.c: (gst_queue_handle_sink_event),
21015         (gst_queue_src_activate_push):
21016           Don't start the src pad task on FLUSH_STOP if the pad
21017           isn't linked.
21018           Debug changes.
21019
21020 2005-08-22  Wim Taymans  <wim@fluendo.com>
21021
21022         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21023         Added check for gst_static_caps_get() refcounting.
21024
21025 2005-08-22  Wim Taymans  <wim@fluendo.com>
21026
21027         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21028         Make _static_caps_get() refcounting sane.
21029         
21030         * gst/gstelement.c: (gst_element_set_state):
21031         Add g_return_val_if_fail() to protect against segfaults.
21032
21033 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
21034
21035         * docs/gst/tmpl/gstevent.sgml:
21036         * gst/gstevent.c:
21037         * gst/gstevent.h:
21038           inlined remaining docs, added missing doc comments
21039
21040 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21041
21042         * check/gst/gstbin.c: (GST_START_TEST):
21043           since we don't know when preroll is done, use refcount range
21044           check for the sink
21045         * gst/check/gstcheck.h:
21046           add macro for checking refcount range
21047
21048 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21049
21050         * check/Makefile.am:
21051           clean up environment for when registry gets built versus
21052           when actual tests are run; valgrind seems to not report
21053           leaks if GST_PLUGIN_PATH is set to some specific values
21054         * check/gst/gstbin.c: (GST_START_TEST):
21055           add more refcounting checks; maybe this exposes a
21056           preroll lock bug ?
21057         * common/check.mak:
21058         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21059         * gst/check/gstcheck.h:
21060         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21061         (gst_bin_change_state):
21062         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21063           add/fix debugging/whitespace
21064
21065 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21066
21067         * check/gst/gstevent.c: (event_probe), (test_event),
21068         (GST_START_TEST):
21069          Er, don't call gst_bin_watch_for_state_change you idiot.
21070
21071 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21072
21073         * check/Makefile.am:
21074           Use CHECK_CFLAGS and CHECK_LIBS
21075         * check/gst/gstevent.c: (event_probe), (test_event),
21076         (GST_START_TEST):
21077           Don't leak events.
21078         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21079         (gst_base_src_start), (gst_base_src_stop),
21080         (gst_base_src_activate_push), (gst_base_src_activate_pull),
21081         (gst_base_src_change_state):
21082           Sprinkle gst_base_src_stop liberally around error paths to fix
21083           problems reusing a source after failed state changes.
21084         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21085         (helper_find_suggest), (gst_type_find_helper):
21086           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21087         * gst/gstevent.h:
21088         * docs/gst/tmpl/gstevent.sgml:
21089           Migrate part of the docs from the SGML file. Wait for ensonic to
21090           tell me how I did it wrong ;)
21091         * tools/gst-typefind.c: (main):
21092           Extra robustness to state changes between files.
21093
21094 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21095
21096         * check/Makefile.am:
21097           don't valgrind the controller test - it's leaking - Stefan, HELP
21098         * gst/check/gstcheck.c: (gst_check_message_error),
21099         (gst_check_chain_func), (gst_check_setup_element),
21100         (gst_check_teardown_element), (gst_check_setup_src_pad),
21101         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21102         (gst_check_teardown_sink_pad):
21103         * gst/check/gstcheck.h:
21104           add a bunch of methods to set up elements, and src and sink pads
21105         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21106         * check/elements/identity.c: (setup_identity), (cleanup_identity),
21107         (GST_START_TEST):
21108           use them
21109         * gst/gstmessage.c:
21110         * gst/gsttag.h:
21111           whitespace/doc fixes
21112
21113 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21114
21115         * gst/gstelement.h:
21116           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21117           be handled by the application and not always printed as well
21118
21119 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21120
21121         * check/Makefile.am:
21122           set GST_TOOLS_DIR
21123         * gst/check/gstcheck.c: (gst_check_message_error):
21124         * gst/check/gstcheck.h:
21125           add a fail_unless_equals_int
21126           add fail_unless for error messages
21127
21128 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21129
21130         * check/Makefile.am:
21131         * check/gst.supp:
21132         * common/Makefile.am:
21133         * common/check.mak:
21134         * common/gst.supp:
21135           factor out some of the common stuff so we can use it
21136
21137 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21138
21139         * check/Makefile.am:
21140         * check/gst/gstiterator.c: (GST_START_TEST):
21141         * check/gst/gstsystemclock.c: (GST_START_TEST),
21142         (gst_systemclock_suite):
21143         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21144         * gst/gstclock.c:
21145           valgrind more tests
21146
21147 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21148
21149         * check/elements/.cvsignore:
21150         * check/elements/gstfakesrc.c:
21151           rename to name of element
21152         * check/elements/identity.c: (chain_func), (event_func),
21153         (setup_identity), (cleanup_identity), (GST_START_TEST),
21154         (identity_suite), (main):
21155           add a test for identity
21156         * check/Makefile.am:
21157         * pkgconfig/Makefile.am:
21158         * pkgconfig/gstreamer-check.pc.in:
21159         * pkgconfig/gstreamer-check-uninstalled.pc.in:
21160         * gst/check:
21161         * gst/Makefile.am:
21162         * configure.ac:
21163           move the check stuff to a library that gets installed
21164         * check/gst-libs/controller.c: (GST_START_TEST):
21165         * check/gst-libs/gdp.c:
21166         * check/gst/gst.c: (GST_START_TEST):
21167         * check/gst/gstbin.c:
21168         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21169         * check/gst/gstbus.c:
21170         * check/gst/gstcaps.c: (GST_START_TEST):
21171         * check/gst/gstelement.c:
21172         * check/gst/gstghostpad.c:
21173         * check/gst/gstiterator.c:
21174         * check/gst/gstmessage.c:
21175         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21176         * check/gst/gstobject.c:
21177         * check/gst/gstpad.c: (GST_START_TEST):
21178         * check/gst/gststructure.c: (GST_START_TEST):
21179         * check/gst/gstsystemclock.c: (GST_START_TEST),
21180         (gst_systemclock_suite):
21181         * check/gst/gsttag.c: (gst_tag_suite):
21182         * check/gst/gstvalue.c:
21183         * check/pipelines/cleanup.c:
21184         * check/pipelines/simple_launch_lines.c:
21185         * check/states/sinks.c:
21186           change include statement
21187
21188         * docs/gst/gstreamer-sections.txt:
21189         * docs/gst/tmpl/gstpad.sgml:
21190           document more pad stuff
21191         * gst/gstminiobject.c: (gst_mini_object_ref),
21192         (gst_mini_object_unref):
21193           debug refcounting
21194
21195 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
21196
21197         * docs/gst/tmpl/gst.sgml:
21198         * gst/gst.c:
21199           eliminate another tmpl file, fix spelling in the long-description
21200
21201 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21202
21203         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21204         (test_event), (timediff), (gstevents_suite):
21205           Should fix build on 64-bit arch's
21206
21207 2005-08-18  Andy Wingo  <wingo@pobox.com>
21208
21209         Make sure that when a pipeline goes to PLAYING, that data has
21210         actually hit the sink.
21211
21212         * check/states/sinks.c (test_sink): A sink that doesn't get any
21213         data shouldn't return SUCCESS for going to either PLAYING or
21214         PAUSED. Test also the return values on the way back down.
21215
21216         * gst/gstelement.c (gst_element_set_state): When changing the
21217         state of an element currently changing state asynchronously, go to
21218         lost-state after commiting the pending state. Makes future calls
21219         to get_state continue to return ASYNC.
21220
21221         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21222         ASYNC when going to PLAYING if we still don't have preroll, as can
21223         happen with live sources.
21224
21225 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21226
21227         * docs/pwg/advanced-types.xml:
21228           Hack long paragraph into 2 chunks as a workaround for buggy
21229           jadetex version in sid and breezy that loops infinitely and
21230           eats all RAM.
21231
21232 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21233
21234         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21235         (test_event), (timediff), (gstevents_suite):
21236           Provide more error margin in clock measurements to allow for 
21237           g_get_current_time inaccuracies.
21238
21239 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21240
21241         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21242         (test_event), (timediff), (gstevents_suite):
21243            Fix error message output so I might be able to tell why the
21244            test works here but fails on the build farm.
21245
21246 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21247
21248         * check/Makefile.am:
21249         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21250         (test_event), (timediff), (gstevents_suite), (main):
21251           I wrote a test!
21252
21253         * docs/design/part-seeking.txt:
21254           Spelling correction
21255
21256         * docs/gst/tmpl/gstevent.sgml:
21257         * docs/gst/tmpl/gstfakesrc.sgml:
21258           Docs updates.
21259
21260         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21261           Treat a buffer-without-newsegment the same as a receiving 
21262           a newsegment not in time format, and disable syncing to the clock
21263           with a warning.
21264
21265         * gst/gstbus.c: (gst_bus_set_sync_handler):
21266           Assert if anyone tries to replace the existing sync_handler for bus, 
21267           as only the owner should be setting it.
21268
21269         * gst/gstevent.h:
21270           Have a fixed set of custom event enums with events identified by
21271           their structure name (as in 0.8), rather than a free-for-all
21272           allowing collisions between enum values from different plugins.
21273
21274         * gst/gstpad.c: (gst_pad_class_init):
21275           Docs change.
21276           
21277         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21278           Handle out-of-band downstream events from the sending thread.
21279
21280 2005-08-17  Andy Wingo  <wingo@pobox.com>
21281
21282         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21283         play-timeout==0 to mean no timeout at all. In that case, don't
21284         bother with a get_state or a warning, just return directly, even
21285         if it's ASYNC.
21286
21287         * gst/base/gstbasetransform.c: Debug changes.
21288
21289         * gst/gstutils.h:
21290         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21291         ensure bins post state change messages. A bit of a hack but I can't
21292         think of a way to avoid it.
21293
21294         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21295
21296 2005-08-16  Andy Wingo  <wingo@pobox.com>
21297
21298         * gst/base/gstadapter.h:
21299         * gst/base/gstadapter.c (gst_adapter_take): New function, like
21300         peek() but you own the data. Not terribly efficient atm.
21301
21302 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21303
21304         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21305         (gst_element_found_tags):
21306         * gst/gstutils.h:
21307           Add two utility functions for tag handling.
21308
21309 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21310
21311         * docs/manual/advanced-dataaccess.xml:
21312         * docs/manual/basics-helloworld.xml:
21313           Fix docs to use _bin_add() before _link(), which fixes the examples
21314           with recent core versions (reported by Madhan Raj M
21315           <raj_madan@rediffmail.com>, #313199).
21316
21317 2005-08-16  Wim Taymans  <wim@fluendo.com>
21318
21319         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21320         Added subtract checks.
21321
21322         * docs/design/part-events.txt:
21323         Some more docs about newsegment
21324
21325         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21326         Fix FIXME
21327
21328         * gst/gstcaps.c: (gst_caps_to_string):
21329         Add comments, cleanups.
21330         
21331         * gst/gstelement.c: (gst_element_save_thyself):
21332         cleanups
21333         
21334         * gst/gstvalue.c: (gst_value_collect_int_range),
21335         (gst_string_unwrap), (gst_value_union_int_int_range),
21336         (gst_value_union_int_range_int_range),
21337         (gst_value_intersect_int_int_range),
21338         (gst_value_intersect_int_range_int_range),
21339         (gst_value_intersect_double_double_range),
21340         (gst_value_intersect_double_range_double_range),
21341         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21342         (gst_value_subtract_int_range_int),
21343         (gst_value_subtract_double_range_double),
21344         (gst_value_subtract_double_range_double_range),
21345         (gst_value_subtract_from_list), (gst_value_subtract_list),
21346         (gst_value_can_compare), (gst_value_compare_fraction):
21347         Cleanups, add comments, remove unneeded asserts.
21348
21349 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21350
21351         * tools/gst-launch.c: (event_loop):
21352           don't convert NULL structures to strings
21353
21354 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
21355
21356         * docs/gst/gstreamer-sections.txt:
21357           made some defines private
21358         * docs/gst/tmpl/gstconfig.sgml:
21359         * docs/gst/tmpl/gstqueue.sgml:
21360         * docs/gst/tmpl/gsttaglist.sgml:
21361         * docs/gst/tmpl/gsttypes.sgml:
21362         * docs/gst/tmpl/gstutils.sgml:
21363         * docs/pwg/appendix-porting.xml:
21364         * gst/base/gstbasesink.h:
21365         * gst/base/gstbasesrc.c:
21366         * gst/base/gstbasesrc.h:
21367         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21368         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21369         * gst/gstelement.c: (gst_element_class_init):
21370         * gst/gstpad.c: (gst_pad_class_init):
21371         * gst/gstqueue.c: (gst_queue_class_init):
21372         * gst/gstxml.c: (gst_xml_class_init):
21373           documented all undocumented signal inline
21374         * libs/gst/controller/gst-controller.h:
21375           added padding
21376
21377 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21378
21379         * docs/pwg/appendix-porting.xml:
21380           Document _set_link_function -> _set_setcaps_function.
21381
21382 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21383
21384         * check/Makefile.am:
21385           add a .check target for running the check
21386         * check/gst-libs/controller.c: (GST_START_TEST):
21387           cosmetic fixups
21388         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21389           complete checks for gstbuffer; would be nice if I could get the
21390           gcov stuff to work so I can see if I actually completed gstbuffer.c
21391         * check/gstcheck.h:
21392           add ASSERT_BUFFER_REFCOUNT
21393
21394 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
21395
21396         * docs/gst/gstreamer-sections.txt:
21397         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21398         * gst/gsttag.h:
21399           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21400           spew out a warning if a tag that is already registered
21401           is re-registered, unless it is re-registered with a 
21402           different type (#308438).
21403
21404 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
21405
21406         * docs/pwg/appendix-porting.xml:
21407         * docs/pwg/building-state.xml:
21408           Add some paragraphs about state changes in 0.9 to the PWG
21409           and the porting guide, in particular about the new meaning
21410           of GST_STATE_PAUSED and how to write state change functions
21411           with concurrent access by multiple threads in mind.
21412
21413 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21414
21415         * docs/gst/gstreamer-docs.sgml:
21416         * docs/libs/gstreamer-libs-docs.sgml:
21417           added deprecation and since indexes
21418         * libs/gst/controller/gst-controller.c:
21419         * libs/gst/controller/gst-helper.c:
21420           added since tags
21421
21422
21423 2005-08-11  Wim Taymans  <wim@fluendo.com>
21424
21425         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21426         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21427         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21428         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21429         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21430         (gst_ghost_pad_set_target):
21431         Actually implement (re)setting the target on a ghostpad
21432         as described in the docs.
21433
21434 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21435
21436         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21437           Check whether GST_DEBUG_NO_COLOR environment variable is
21438           set and disable coloured debug output if that is the case.
21439
21440 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21441
21442         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21443         (gst_type_find_helper):
21444           The memory returned by gst_type_find_peek() needs to
21445           stay valid until the end of a typefind function, and
21446           typefind functions may keep results from different 
21447           offsets around, so we can't just unref the buffer from
21448           the previous _peek(), but have to save all buffers 
21449           returned by _peek() until typefinding is done and only
21450           free them then.
21451
21452 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
21453
21454         * docs/gst/gstreamer-sections.txt:
21455         * gst/gstutils.h:
21456           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21457
21458 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21459
21460         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21461           Fix a pretty good memleak.
21462
21463 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21464
21465         * gst/gstiterator.h:
21466           Fix wrong include and 'make distcheck'.
21467
21468 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21469
21470         * gst/gstbin.c: (bin_bus_handler):
21471           Use gst_element_post_message() instead.
21472
21473 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21474
21475         * gst/base/gstadapter.h:
21476         * gst/base/gstbasesink.h:
21477         * gst/base/gstbasesrc.h:
21478         * gst/base/gstbasetransform.h:
21479         * gst/base/gstcollectpads.h:
21480         * gst/base/gstpushsrc.h:
21481         * gst/gstiterator.h:
21482           Add padding to our base elements' class and instance structs and
21483           to GstIterator (you will need to rebuild all plugins and apps!)
21484
21485 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21486
21487         * gst/gstbin.c: (bin_bus_handler):
21488           Make default message forwarding from child->bus to bin->bus
21489           threadsafe and make it not emit warnings if the parent has no bus.
21490
21491 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21492
21493         * gst/gstelement.c: (activate_pads):
21494           On paused->ready, set pad->caps to NULL, as is the documented
21495           behaviour in this state change. Fixes playback of series of
21496           media files when visualization is enabled in Totem.
21497
21498 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21499
21500         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21501           Allow NULL as filter-caps (which means "any").
21502
21503 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21504
21505         * docs/libs/gstreamer-libs-sections.txt:
21506         * libs/gst/controller/gst-controller.c:
21507         * libs/gst/controller/gst-controller.h:
21508         * libs/gst/controller/gst-helper.c:
21509           adding more entries to the docs and fix small doc-bugs
21510
21511 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21512
21513         * docs/gst/gstreamer-docs.sgml:
21514         * docs/gst/gstreamer-sections.txt:
21515         * docs/gst/gstreamer.types:
21516         * docs/gst/tmpl/gstbasesink.sgml:
21517         * docs/gst/tmpl/gstbasesrc.sgml:
21518         * docs/gst/tmpl/gstbasetransform.sgml:
21519         * docs/gst/tmpl/gstfakesrc.sgml:
21520         * gst/base/gstcollectpads.c:
21521         * gst/base/gstcollectpads.h:
21522         * libs/gst/controller/gst-controller.c:
21523         * libs/gst/controller/gst-controller.h:
21524         * libs/gst/controller/gst-helper.c:
21525         * libs/gst/controller/gst-interpolation.c:
21526         * libs/gst/controller/lib.c:
21527           added long/short desc for controller docs
21528           added collectpads base class docs
21529           added correct includes to base-class docs
21530
21531 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21532
21533         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21534         (gst_test_mono_source_set_property),
21535         (gst_test_mono_source_class_init), (GST_START_TEST),
21536         (gst_controller_suite):
21537         * docs/gst/gstreamer-docs.sgml:
21538         * docs/gst/gstreamer-sections.txt:
21539         * docs/gst/gstreamer.types:
21540         * docs/libs/gstreamer-libs-docs.sgml:
21541         * docs/libs/gstreamer-libs-sections.txt:
21542         * gst/base/gstadapter.c:
21543         * libs/gst/controller/gst-controller.c:
21544         (gst_controlled_property_new), (gst_controlled_property_free),
21545         (gst_controller_new_valist),
21546         (gst_controller_remove_properties_valist),
21547         (gst_controller_sink_values), (_gst_controller_finalize):
21548         * libs/gst/controller/gst-controller.h:
21549         * libs/gst/controller/gst-helper.c:
21550         (gst_object_control_properties), (gst_object_uncontrol_properties),
21551         (gst_object_get_controller), (gst_object_set_controller),
21552         (gst_object_sink_values), (gst_object_get_value_arrays),
21553         (gst_object_get_value_array):
21554           more tests (and fixes) for the controller
21555           more docs for the controller
21556           integrated companies docs for the adapter 
21557
21558 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21559
21560         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21561         (GST_START_TEST), (fakesrc_suite):
21562           add tests for sizetype
21563
21564 2005-08-04  Andy Wingo  <wingo@pobox.com>
21565
21566         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21567         fixes buffer_alloc proxying among other things.
21568
21569         * gst/base/gstbasetransform.c:
21570         * gst/base/gstbasetransform.h:
21571         Revert patch to gstbasetransform from 7-28 removing
21572         delay_configure.
21573
21574         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21575         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21576         Semantics changed, should return not the size of the output buffer
21577         but the byte size of a buffer with a given caps.
21578
21579         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21580         debug object.
21581         (gst_base_transform_configure_caps): Don't set out_size here: (in,
21582         out) are not the pad caps until setcaps finishes.
21583         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21584         not-in-place case as well. Deal with changing from in-place to
21585         not-in-place within calling pad_alloc_buffer. Still a bit
21586         concerned about the overhead here...
21587
21588 2005-08-03  Andy Wingo  <wingo@pobox.com>
21589
21590         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21591         fixating is an error.
21592
21593 2005-08-04  Edward Hervey  <edward@fluendo.com>
21594
21595         * gst/base/gstadapter.h: 
21596         Added gst_adapter_get_type() to the header
21597
21598 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21599
21600         * check/Makefile.am:
21601         * check/gst-libs/controller.c:
21602         * libs/gst/controller/gst-controller.c:
21603         (gst_controller_new_valist):
21604           added check test suite for the controller
21605         * gst/base/gstpushsrc.c:
21606           fixed a doc typo
21607
21608 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21609
21610         * docs/gst/Makefile.am:
21611         * docs/gst/gstreamer-docs.sgml:
21612         * docs/gst/gstreamer-sections.txt:
21613         * docs/gst/gstreamer.types:
21614         * docs/gst/tmpl/gstfakesrc.sgml:
21615         * gst/base/README:
21616         * gst/base/gstbasesink.c:
21617         * gst/base/gstbasesink.h:
21618         * gst/base/gstbasesrc.c:
21619         * gst/base/gstbasesrc.h:
21620         * gst/base/gstbasetransform.c:
21621         * gst/base/gstpushsrc.c:
21622         * gst/base/gstpushsrc.h:
21623           add short/long description docs to base classes
21624           add pushsrc to the docs
21625           remove consolidated doc fragments
21626
21627 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21628
21629         * configure.ac:
21630         * docs/libs/Makefile.am:
21631         * docs/libs/gstreamer-libs-docs.sgml:
21632         * docs/libs/gstreamer-libs-sections.txt:
21633         * docs/libs/gstreamer-libs.types:
21634         * examples/Makefile.am:
21635         * examples/controller/.cvsignore:
21636         * examples/controller/Makefile.am:
21637         * examples/controller/audio-example.c: (main):
21638         * libs/gst/Makefile.am:
21639         * libs/gst/controller/.cvsignore:
21640         * libs/gst/controller/Makefile.am:
21641         * libs/gst/controller/gst-controller.c:
21642         (on_object_controlled_property_changed), (gst_timed_value_compare),
21643         (gst_timed_value_find),
21644         (gst_controlled_property_set_interpolation_mode),
21645         (gst_controlled_property_new), (gst_controlled_property_free),
21646         (gst_controller_find_controlled_property),
21647         (gst_controller_new_valist), (gst_controller_new),
21648         (gst_controller_remove_properties_valist),
21649         (gst_controller_remove_properties), (gst_controller_set),
21650         (gst_controller_set_from_list), (gst_controller_unset),
21651         (gst_controller_get), (gst_controller_get_all),
21652         (gst_controller_sink_values), (gst_controller_get_value_arrays),
21653         (gst_controller_get_value_array),
21654         (gst_controller_set_interpolation_mode),
21655         (_gst_controller_finalize), (_gst_controller_init),
21656         (_gst_controller_class_init), (gst_controller_get_type):
21657         * libs/gst/controller/gst-controller.h:
21658         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21659         (g_object_uncontrol_properties), (g_object_get_controller),
21660         (g_object_set_controller), (g_object_sink_values),
21661         (g_object_get_value_arrays), (g_object_get_value_array):
21662         * libs/gst/controller/gst-interpolation.c:
21663         (gst_controlled_property_find_timed_value_node),
21664         (interpolate_none_get), (interpolate_trigger_get),
21665         (interpolate_trigger_get_value_array):
21666         * libs/gst/controller/lib.c: (gst_controller_init):
21667         * pkgconfig/Makefile.am:
21668         * pkgconfig/gstreamer-control-uninstalled.pc.in:
21669         * pkgconfig/gstreamer-control.pc.in:
21670         * testsuite/Makefile.am:
21671         * testsuite/controller/.cvsignore:
21672         * testsuite/controller/Makefile.am:
21673         * testsuite/controller/interpolator.c: (main):
21674           added controller code
21675           removed dparam pc files
21676
21677 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21678         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21679         (gst_collectpads_stop):
21680           Broadcast the condition when shutting down, to make sure we wake all
21681           threads up. Shut down pads on finalize, for safety.
21682
21683 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21684         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21685         (gst_base_transform_handle_buffer),
21686         (gst_base_transform_change_state):
21687           Handle PAUSED->READY->PAUSED transition after negotiation
21688           occurred already.
21689         * gst/gstmessage.c: (gst_message_init):
21690           Extra piece of debug for new messages.
21691
21692 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
21693
21694         * configure.ac:
21695         * docs/gst/tmpl/gstbasesrc.sgml:
21696         * docs/gst/tmpl/gstelement.sgml:
21697         * docs/gst/tmpl/gstevent.sgml:
21698         * docs/gst/tmpl/gstfakesrc.sgml:
21699         * docs/gst/tmpl/gstformat.sgml:
21700         * docs/gst/tmpl/gstghostpad.sgml:
21701         * docs/gst/tmpl/gstpad.sgml:
21702         * docs/gst/tmpl/gstquery.sgml:
21703         * docs/gst/tmpl/gststructure.sgml:
21704         * docs/gst/tmpl/gsttaglist.sgml:
21705         * docs/gst/tmpl/gstvalue.sgml:
21706         * docs/libs/gstreamer-libs-docs.sgml:
21707         * docs/libs/gstreamer-libs-sections.txt:
21708         * docs/libs/gstreamer-libs.types:
21709         * libs/gst/Makefile.am:
21710         * libs/gst/control/.cvsignore:
21711         * libs/gst/control/Makefile.am:
21712         * libs/gst/control/control.c:
21713         * libs/gst/control/control.h:
21714         * libs/gst/control/dparam.c:
21715         * libs/gst/control/dparam.h:
21716         * libs/gst/control/dparam_smooth.c:
21717         * libs/gst/control/dparam_smooth.h:
21718         * libs/gst/control/dparamcommon.h:
21719         * libs/gst/control/dparammanager.c:
21720         * libs/gst/control/dparammanager.h:
21721         * libs/gst/control/dplinearinterp.c:
21722         * libs/gst/control/dplinearinterp.h:
21723         * libs/gst/control/unitconvert.c:
21724         * libs/gst/control/unitconvert.h:
21725         * testsuite/Makefile.am:
21726         * testsuite/dynparams/.cvsignore:
21727         * testsuite/dynparams/Makefile.am:
21728         * testsuite/dynparams/dparamstest.c:
21729         * tools/Makefile.am:
21730         * tools/gst-inspect.c: (print_element_info), (main):
21731         * tools/gst-xmlinspect.c: (print_element_info), (main):
21732           deactivate and remove dparams (libgstcontrol)
21733
21734 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21735
21736         * gst/elements/gsttypefindelement.c:
21737         (gst_type_find_element_have_type), (gst_type_find_element_init),
21738         (stop_typefinding), (gst_type_find_element_handle_event),
21739         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21740         * gst/elements/gsttypefindelement.h:
21741           Set caps on all outgoing buffers, not just the first one.
21742
21743 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21744
21745         * gst/elements/gsttypefindelement.c:
21746         (gst_type_find_element_have_type),
21747         (gst_type_find_element_check_set_buffer_caps),
21748         (gst_type_find_element_init), (stop_typefinding),
21749         (gst_type_find_element_handle_event),
21750         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21751         * gst/elements/gsttypefindelement.h:
21752           Set caps on first outgoing buffer when we've found the type.
21753
21754 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21755
21756         * docs/gst/gstreamer-docs.sgml:
21757         * docs/gst/gstreamer-sections.txt:
21758         * docs/gst/tmpl/gstscheduler.sgml:
21759         * docs/gst/tmpl/gstschedulerfactory.sgml:
21760           Remove some old cruft from docs.
21761
21762 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
21763
21764         * gst/gstpad.h:
21765           Fix inline docs for GstPadLinkReturn.
21766           
21767         * gst/gststructure.c: (gst_structure_has_name):
21768         * gst/gststructure.h:
21769         * docs/gst/gstreamer-sections.txt:
21770           New API: gst_structure_has_name().
21771
21772 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
21773
21774         * configure.ac:
21775           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21776           and _LARGEFILE_SOURCE in config.h as required. Do not 
21777           export those flags in our .pc files any longer (#142209).
21778
21779           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21780
21781         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21782         (gst_file_sink_do_seek), (gst_file_sink_event),
21783         (gst_file_sink_get_current_offset), (gst_file_sink_render):
21784           Redo seek/tell calls with large file support in mind; add some
21785           debugging messages; add log message that tells us when large
21786           file support is unavailable or not enabled for some reason.
21787
21788         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21789           Add log message that tells us when large file support 
21790           is unavailable or not enabled for some reason.
21791
21792 2005-07-29  Wim Taymans  <wim@fluendo.com>
21793
21794         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21795         Added test for removing an element with ghostpad from a bin.
21796         Fixed test as current implementation does the right thing.
21797
21798         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21799         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21800         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21801         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21802         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21803         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21804         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21805         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21806         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21807         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21808         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21809         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21810         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21811         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21812         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21813         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21814         * gst/gstghostpad.h:
21815         Clean up ghostpads, remove properties for internal stuff.
21816         Make threadsafe.
21817         Fix refcounting.
21818         Prepare for switching targets, not all use cases work yet.
21819
21820 2005-07-29  Wim Taymans  <wim@fluendo.com>
21821
21822         * docs/design/part-gstghostpad.txt:
21823         Small update.
21824
21825         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21826         (gst_bin_remove_func):
21827         Unlinking pads while holding the bin LOCK is not a good
21828         idea.
21829
21830         * gst/gstpad.c: (gst_pad_class_init),
21831         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21832         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21833         No prob setting template after creating the pad.
21834
21835 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
21836
21837         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21838         (gst_bus_peek), (gst_bus_source_dispatch),
21839         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21840         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21841           gst_bus_poll may be called from other threads. Handle
21842           this nicely by not making poll_data disappear off the
21843           stack once gst_bus_poll returns.
21844           gst_bus_peek now increments the refcount on the returned
21845           message.
21846
21847 2005-07-29  Wim Taymans  <wim@fluendo.com>
21848
21849         * docs/design/part-gstghostpad.txt:
21850         Overview of current GhostPad datastructures and use
21851         cases for changing the target.
21852
21853 2005-07-28  Wim Taymans  <wim@fluendo.com>
21854
21855         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21856         Added checks for hierarchy consistency whan adding linked
21857         elements to bins.
21858
21859         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21860         Added check to test element scheduling without bin/pipeline.
21861
21862         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21863         First add elements to bin, then link.
21864         
21865         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21866         (gst_bin_remove_func):
21867         Unlink pads from elements added/removed from bin to maintain
21868         hierarchy consistency.
21869
21870 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21871
21872         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21873         (gst_base_transform_handle_buffer):
21874         * gst/base/gstbasetransform.h:
21875           Remove broken delay_configure (fixes renegotiation of software
21876           scaling pipelines); remove some leftover printf()s.
21877
21878 2005-07-28  Wim Taymans  <wim@fluendo.com>
21879
21880         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21881         Added some more tests for wrong hierarchy
21882
21883         * docs/design/part-overview.txt:
21884         Some updates.
21885
21886         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21887         Cleanups.
21888
21889         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21890         (gst_element_dispose):
21891         Some more cleanups.
21892
21893         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21894         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21895         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21896         (gst_pad_set_caps), (gst_pad_send_event):
21897         Check for correct hierarchy when linking pads. Moving to
21898         strict requirement for ghostpads when linking elements in
21899         different bins.
21900
21901         * gst/gstpad.h:
21902         Clean ups. Added WRONG_HIERARCHY return value.
21903
21904 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21905
21906         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21907           Better debug if no transform is possible.
21908
21909 2005-07-27  Wim Taymans  <wim@fluendo.com>
21910
21911         * docs/random/wtay/network-transp:
21912         Some old doc I had.
21913
21914 2005-07-27  Wim Taymans  <wim@fluendo.com>
21915
21916         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21917         (gst_dp_event_from_packet):
21918         Fix serialization of seek events.
21919
21920 2005-07-27  Wim Taymans  <wim@fluendo.com>
21921
21922         * check/gst-libs/gdp.c: (GST_START_TEST):
21923         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21924         Fix compilation and fix event serialization.
21925
21926 2005-07-27  Wim Taymans  <wim@fluendo.com>
21927
21928         * CHANGES-0.9:
21929         * docs/design/part-TODO.txt:
21930         * docs/design/part-events.txt:
21931         Some docs updates
21932
21933         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21934         (gst_base_sink_event), (gst_base_sink_do_sync),
21935         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21936         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21937         (gst_base_src_do_seek), (gst_base_src_event_handler),
21938         (gst_base_src_loop):
21939         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21940         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21941         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21942         (gst_base_transform_event), (gst_base_transform_handle_buffer),
21943         (gst_base_transform_set_passthrough),
21944         (gst_base_transform_is_passthrough):
21945         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21946         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21947         Event updates.
21948
21949         * gst/gstbuffer.h:
21950         Use faster casts.
21951
21952         * gst/gstelement.c: (gst_element_seek):
21953         * gst/gstelement.h:
21954         Update gst_element_seek.
21955
21956         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21957         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21958         (gst_event_new_flush_start), (gst_event_new_flush_stop),
21959         (gst_event_new_eos), (gst_event_new_newsegment),
21960         (gst_event_parse_newsegment), (gst_event_new_tag),
21961         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21962         (gst_event_parse_qos), (gst_event_new_seek),
21963         (gst_event_parse_seek), (gst_event_new_navigation):
21964         * gst/gstevent.h:
21965         Make GstEvent use GstStructure. Add parsing code, make sure the
21966         API is sufficiently generic.
21967         Mark possible directions of events and serialization.
21968
21969         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21970         (_gst_message_copy), (gst_message_new_segment_start),
21971         (gst_message_new_segment_done), (gst_message_new_custom),
21972         (gst_message_parse_segment_start),
21973         (gst_message_parse_segment_done):
21974         Small cleanups.
21975
21976         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21977         (gst_pad_set_caps), (gst_pad_send_event):
21978         Update for new events. 
21979         Catch events sent in wrong directions.
21980
21981         * gst/gstqueue.c: (gst_queue_link_src),
21982         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21983         (gst_queue_handle_src_query):
21984         Event updates.
21985
21986         * gst/gsttag.c:
21987         * gst/gsttag.h:
21988         Remove event code from this file.
21989
21990         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21991         (gst_dp_event_from_packet):
21992         Event updates.
21993
21994 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21995
21996         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21997         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21998         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21999           Make debugging actually useful.
22000
22001 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22002
22003         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
22004         (gst_pad_fixate_caps):
22005           Implement default fixation once again, so that gst_pad_fixate()
22006           actually does anything at all. This probably needs to be some
22007           sort of a last resort, and use profile-based fixation first, but
22008           since that doesn't exist yet, this is the best we have. Fixes
22009           visualization in Totem.
22010
22011 2005-07-22  Wim Taymans  <wim@fluendo.com>
22012
22013         * docs/design/part-events.txt:
22014         Small update.
22015
22016         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22017         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
22018         (gst_base_sink_activate_pull):
22019         Some more comments.
22020
22021         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22022         (gst_fake_src_create):
22023         Fix handoff marshall.
22024
22025         * gst/elements/gstidentity.c: (gst_identity_class_init),
22026         (gst_identity_transform_ip):
22027         We're a real inplace element.
22028
22029         * gst/gstbus.c: (gst_bus_post):
22030         Added some comments.
22031
22032         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22033         * tests/muxing/case1.c: (main):
22034         * tests/sched/dynamic-pipeline.c: (main):
22035         * tests/sched/interrupt1.c: (main):
22036         * tests/sched/interrupt2.c: (main):
22037         * tests/sched/interrupt3.c: (main):
22038         * tests/sched/runxml.c: (main):
22039         * tests/sched/sched-stress.c: (main):
22040         * tests/seeking/seeking1.c: (event_received), (main):
22041         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22042         (main):
22043         * tests/threadstate/threadstate3.c: (main):
22044         * tests/threadstate/threadstate4.c: (main):
22045         * tests/threadstate/threadstate5.c: (main):
22046         Fix the tests.
22047
22048 2005-07-21  Wim Taymans  <wim@fluendo.com>
22049
22050         * docs/design/part-seeking.txt:
22051         Some small additions.
22052
22053         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22054         (gst_base_sink_get_times), (gst_base_sink_do_sync),
22055         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22056         * gst/base/gstbasesink.h:
22057         discont values are gint64, handle the math correctly.
22058
22059         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22060         Make the basesrc report error if the source pad is not linked.
22061
22062         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22063         (gst_queue_loop), (gst_queue_handle_src_query),
22064         (gst_queue_src_activate_push):
22065         Make queue collect data even if the srcpad is not linked.
22066         Start pushing out data as soon as it is linked.
22067
22068         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22069         * gst/gstutils.h:
22070         Added gst_flow_get_name() to ease error reporting.
22071
22072 2005-07-20  Wim Taymans  <wim@fluendo.com>
22073
22074         * gst/gstmessage.c: (gst_message_new_segment_start),
22075         (gst_message_new_segment_done), (gst_message_parse_segment_start),
22076         (gst_message_parse_segment_done):
22077         * gst/gstmessage.h:
22078         Added a bunch of messages for advanced seeking.
22079
22080         * gst/parse/grammar.y:
22081         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22082         (gst_dpman_state_changed):
22083         Fix some new-pad -> pad-added signals
22084
22085 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22086
22087         * docs/manual/appendix-porting.xml:
22088         * docs/pwg/appendix-porting.xml:
22089           Document new-pad/state-change signal renames and the FixedList
22090           type rename.
22091
22092 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22093
22094         * docs/manual/advanced-autoplugging.xml:
22095         * docs/manual/basics-helloworld.xml:
22096         * docs/manual/basics-pads.xml:
22097         * docs/random/ds/0.9-suggested-changes:
22098         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22099         * gst/gstelement.h:
22100         * gst/gstevent.h:
22101         * gst/gstformat.h:
22102         * gst/gstquery.h:
22103         * gst/gststructure.c: (gst_structure_value_get_generic_type),
22104         (gst_structure_parse_array), (gst_structure_parse_value):
22105         * gst/gstvalue.c: (gst_type_is_fixed),
22106         (gst_value_list_prepend_value), (gst_value_list_append_value),
22107         (gst_value_list_get_size), (gst_value_list_get_value),
22108         (gst_value_transform_array_string), (gst_value_serialize_array),
22109         (gst_value_deserialize_array), (gst_value_intersect_array),
22110         (gst_value_is_fixed), (_gst_value_initialize):
22111         * gst/gstvalue.h:
22112           GstElement::new-pad -> pad-added, GstElement::state-change ->
22113           state-changed, GstValueFixedList -> GstValueArray, add format and
22114           flags as their own arguments in gst_element_seek() (should improve
22115           "bindeability"), remove function generators since they don't work
22116           under a whole bunch of compilers (they were deprecated already
22117           anyway).
22118
22119 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22120
22121         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22122         (_gst_debug_register_funcptr):
22123         * gst/gstinfo.h:
22124           Fix illegal cast on some platforms (#309253).
22125
22126 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22127
22128         * gst/gstmessage.c: (gst_message_new_custom):
22129         * gst/gstmessage.h:
22130           Add _new_custom, make _new_application a macro to _new_custom.
22131
22132 2005-07-20  Wim Taymans  <wim@fluendo.com>
22133
22134         * gst/base/gstbasesrc.c: (gst_base_src_init),
22135         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22136         * gst/base/gstbasesrc.h:
22137         Add a gboolean to decide when to push out a discont.
22138
22139         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22140         (gst_queue_loop), (gst_queue_handle_src_query),
22141         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22142         (gst_queue_set_property), (gst_queue_get_property):
22143         Some cleanups.
22144
22145         * tests/threadstate/threadstate1.c: (main):
22146         Make a thread test compile and run... very silly..
22147
22148
22149 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22150
22151         * docs/manual/appendix-porting.xml:
22152           Mention removal of libgstgconf-0.9.la and existence of gconf
22153           elements.
22154
22155 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22156
22157         * docs/pwg/advanced-clock.xml:
22158         * docs/pwg/appendix-porting.xml:
22159         * docs/pwg/intro-preface.xml:
22160         * docs/pwg/other-base.xml:
22161         * docs/pwg/other-manager.xml:
22162         * docs/pwg/other-nton.xml:
22163         * docs/pwg/other-ntoone.xml:
22164         * docs/pwg/other-oneton.xml:
22165         * docs/pwg/pwg.xml:
22166           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22167           demuxer), remove n-to-n (was never written), fix some code examples
22168           and links and update the porting section to include all this.
22169
22170 2005-07-19  Wim Taymans  <wim@fluendo.com>
22171
22172         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22173         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22174         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22175         (gst_queue_src_activate_push), (gst_queue_change_state),
22176         (gst_queue_get_property):
22177         * gst/gstqueue.h:
22178         Propagate GstFlowReturn more intelligently upstream and output
22179         an ERROR/EOS when streaming stopped due to fatal error.
22180
22181 2005-07-19  Wim Taymans  <wim@fluendo.com>
22182
22183         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22184         Don't block forever for the state change to complete, the
22185         pipeline already did with a sensible timeout.
22186
22187 2005-07-19  Wim Taymans  <wim@fluendo.com>
22188
22189         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22190         Make sure we never call the create function is we
22191         got deactivated.
22192
22193 2005-07-19  Andy Wingo  <wingo@pobox.com>
22194
22195         * gst/parse/parse.l: Attempt to solve bug #172815.
22196
22197 2005-07-19  Wim Taymans  <wim@fluendo.com>
22198
22199         * docs/design/part-clocks.txt:
22200         * docs/design/part-events.txt:
22201         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22202         Small docs updates.
22203         Only update the seeking values when we are not
22204         busy streaming.
22205
22206 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22207
22208         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22209           Oops, ignore the result of gst_pad_push_event here.
22210
22211 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22212
22213         * gst/base/gstbasesrc.c: (gst_base_src_loop),
22214         (gst_base_src_activate_push):
22215           Send discont event from the loop function, as pads
22216           aren't activated yet in the activate_push handler.
22217
22218         * gst/gstbin.c: (bin_bus_handler):
22219           Don't leak element name.
22220
22221 2005-07-18  Andy Wingo  <wingo@pobox.com>
22222
22223         * configure.ac: Use AS_LIBTOOL_TAGS.
22224
22225 2005-07-18  Wim Taymans  <wim@fluendo.com>
22226
22227         * docs/gst/gstreamer.types:
22228         Remove deleted types.
22229
22230 2005-07-18  Wim Taymans  <wim@fluendo.com>
22231
22232         * check/elements/gstfakesrc.c: (GST_START_TEST):
22233         * configure.ac:
22234         * gst/Makefile.am:
22235         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22236         (init_popt_callback):
22237         * gst/gst.h:
22238         * gst/gst_private.h:
22239         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22240         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22241         * gst/gstbin.h:
22242         * gst/gstbus.h:
22243         * gst/gstconfig.h.in:
22244         * gst/gstelement.c: (gst_element_class_init),
22245         (gst_element_set_base_time), (gst_element_get_base_time),
22246         (iterator_fold_with_resync), (gst_element_change_state),
22247         (gst_element_dispose), (gst_element_get_bus):
22248         * gst/gstelement.h:
22249         * gst/gstelementfactory.h:
22250         * gst/gsterror.c: (_gst_core_errors_init):
22251         * gst/gsterror.h:
22252         * gst/gstevent.h:
22253         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22254         * gst/gstindex.c:
22255         * gst/gstinfo.c: (_gst_debug_init):
22256         * gst/gstmessage.c: (_gst_message_copy):
22257         * gst/gstmessage.h:
22258         * gst/gstminiobject.h:
22259         * gst/gstobject.c:
22260         * gst/gstobject.h:
22261         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22262         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22263         * gst/gstpad.h:
22264         * gst/gstparse.h:
22265         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22266         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22267         (gst_pipeline_get_last_stream_time):
22268         * gst/gstpipeline.h:
22269         * gst/gstpluginfeature.h:
22270         * gst/gstquery.h:
22271         * gst/gstscheduler.c:
22272         * gst/gstscheduler.h:
22273         * gst/gststructure.h:
22274         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22275         (gst_task_finalize), (gst_task_func), (gst_task_create),
22276         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22277         (gst_task_stop), (gst_task_pause):
22278         * gst/gsttask.h:
22279         * gst/gsttypefind.h:
22280         * gst/gsttypes.h:
22281         * gst/registries/gstlibxmlregistry.c: (load_feature),
22282         (gst_xml_registry_load), (gst_xml_registry_save_feature):
22283         * gst/registries/gstxmlregistry.c:
22284         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22285         * gst/schedulers/threadscheduler.c:
22286         * libs/gst/control/dparammanager.h:
22287         * tools/gst-inspect.c: (print_element_list),
22288         (print_plugin_features), (print_element_features):
22289         * tools/gst-xmlinspect.c: (print_element_list),
22290         (print_plugin_info), (main):
22291         Removed plugable schedulers.
22292         Removed Scheduler/Manager from elements.
22293         Removed gsttypes.h, rearranged includes.
22294         Removed dependency pad<->element, element<>pipeline, and
22295         various others,  fix includes.
22296         implement gst_pad_get_parent() with gst_object_get_parent()
22297         Make GstTask sefcontained.
22298         Fix _get_state() on GstBin, it did not return ASYNC with a 0
22299         timeout.
22300         Fix endless loop in iterator_fold_with_resync.
22301
22302
22303 2005-07-18  Wim Taymans  <wim@fluendo.com>
22304
22305         * gst/Makefile.am:
22306         * gst/gstarch.h:
22307         Remove old file.
22308
22309 2005-07-18  Wim Taymans  <wim@fluendo.com>
22310
22311         * gst/Makefile.am:
22312         No more cothreads.h
22313
22314 2005-07-18  Wim Taymans  <wim@fluendo.com>
22315
22316         * gst/cothreads.c:
22317         * gst/cothreads.h:
22318         Let's remove these.
22319
22320 2005-07-18  Wim Taymans  <wim@fluendo.com>
22321
22322         * docs/design/part-dynamic.txt:
22323         * docs/design/part-events.txt:
22324         * docs/design/part-seeking.txt:
22325         Some more docs in the works.
22326
22327         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22328         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22329         (gst_base_transform_setcaps), (gst_base_transform_get_size),
22330         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22331         (gst_base_transform_handle_buffer),
22332         (gst_base_transform_sink_activate_push),
22333         (gst_base_transform_src_activate_pull),
22334         (gst_base_transform_set_passthrough),
22335         (gst_base_transform_is_passthrough):
22336         Refcounting fixes.
22337
22338         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22339         Cleanups.
22340
22341         * gst/gstevent.c: (gst_event_finalize):
22342         Set SRC to NULL.
22343
22344         * gst/gstutils.c: (gst_element_unlink),
22345         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22346         (gst_pad_proxy_setcaps):
22347         * gst/gstutils.h:
22348         Add _get_parent_element() to get a pads parent as an element.
22349
22350 2005-07-18  Wim Taymans  <wim@fluendo.com>
22351
22352         * check/gst/gstbin.c: (GST_START_TEST):
22353         Remove bogus test.
22354
22355 2005-07-18  Wim Taymans  <wim@fluendo.com>
22356
22357         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22358         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22359         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22360         (gst_base_sink_event), (gst_base_sink_do_sync),
22361         (gst_base_sink_chain), (gst_base_sink_loop),
22362         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22363         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22364         Refcounting fixes.
22365         Fix logic for returning ASYNC when not prerolled.
22366
22367 2005-07-18  Wim Taymans  <wim@fluendo.com>
22368
22369         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22370         Fix nasty refcount bug.
22371
22372 2005-07-16 Philippe Khalaf <burger@speedy.org>
22373
22374         * gst/elements/gstfdsrc.c:
22375         * gst/elements/gstfdsrc.h:
22376         * gst/elements/gstelements.c:
22377         * gst/elements/Makefile.am:
22378         Ported fdsrc to 0.9.
22379
22380 2005-07-16  Wim Taymans  <wim@fluendo.com>
22381
22382         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22383         (gst_base_sink_do_sync):
22384         Fix compile error.
22385
22386 2005-07-16  Wim Taymans  <wim@fluendo.com>
22387
22388         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22389         (gst_base_sink_event), (gst_base_sink_get_times),
22390         (gst_base_sink_do_sync), (gst_base_sink_change_state):
22391         * gst/base/gstbasesink.h:
22392         Store and use discont values when syncing buffers as described
22393         in design docs.
22394         
22395         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22396         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22397         (gst_base_src_activate_push):
22398         Push discont event when starting.
22399
22400         * gst/elements/gstidentity.c: (gst_identity_transform):
22401         Small cleanups.
22402
22403         * gst/gstbin.c: (gst_bin_change_state):
22404         Small cleanups in base_time  distribution.
22405
22406         * gst/gstelement.c: (gst_element_set_base_time),
22407         (gst_element_get_base_time), (gst_element_change_state):
22408         * gst/gstelement.h:
22409         Added methods for the base_time of the element.
22410         Some MT fixes.
22411
22412         * gst/gstpipeline.c: (gst_pipeline_send_event),
22413         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22414         (gst_pipeline_get_last_stream_time):
22415         * gst/gstpipeline.h:
22416         MT fixes.
22417         Handle seeking as described in design doc, remove stream_time
22418         hack.
22419         Cleanups clock and stream_time selection code. Added accessors
22420         for the stream_time.
22421         
22422
22423 2005-07-16  Andy Wingo  <wingo@pobox.com>
22424
22425         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22426         (#305291).
22427
22428 2005-07-16  Wim Taymans  <wim@fluendo.com>
22429
22430         * check/gst/gstbin.c: (GST_START_TEST):
22431         Make elements silent as the deep_notify refs the
22432         parent, which might make the test fail.
22433
22434         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22435         Don't hold the lock for too long.
22436
22437 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
22438
22439         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22440           Don't unref the caps we passed to gst_caps_make_writable() after
22441           passing them. gst_caps_make_writable() will do that for us.
22442
22443 2005-07-15  Andy Wingo  <wingo@pobox.com>
22444
22445         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22446         (#157311).
22447
22448         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22449         own marshalling function for the handoff signal. Properly type the
22450         buffer as a buffer. Fixes some warnings. Should do a more general
22451         solution.
22452         (gst_identity_class_init): Plug into the right marshaller.
22453
22454 2005-07-15  Wim Taymans  <wim@fluendo.com>
22455
22456         * docs/design/part-TODO.txt:
22457         * docs/design/part-clocks.txt:
22458         * docs/design/part-element-sink.txt:
22459         * docs/design/part-events.txt:
22460         * docs/design/part-gstpipeline.txt:
22461         Updated docs, mostly DISCONT related.
22462
22463 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
22464
22465         * docs/pwg/building-pads.xml:
22466           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22467
22468 2005-07-15  Andy Wingo  <wingo@pobox.com>
22469
22470         * tools/gst-typefind.c: Update, add copyright block.
22471
22472         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22473         Normalize and truncate caps before fixation.
22474
22475         * gst/gstcaps.h:
22476         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22477         discards all but the first structure from its argument.
22478
22479 2005-07-15  Wim Taymans  <wim@fluendo.com>
22480
22481         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22482         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22483         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22484         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22485         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22486         (gst_base_transform_chain), (gst_base_transform_change_state),
22487         (gst_base_transform_set_passthrough),
22488         (gst_base_transform_is_passthrough):
22489         * gst/base/gstbasetransform.h:
22490         Make passthrough work using the bufferpools.
22491         Changed API a bit, subclasses have to write into a buffer
22492         provided by the base class.
22493         More debug info in nego functions.
22494         
22495         * gst/elements/gstidentity.c: (gst_identity_init),
22496         (gst_identity_transform):
22497         Port to new base class.
22498
22499 2005-07-15  Wim Taymans  <wim@fluendo.com>
22500
22501         * gst/gstmessage.c: (gst_message_new_state_changed):
22502         * tools/gst-launch.c: (event_loop), (main):
22503         Totally dump messages in -launch with the -m option.
22504         Fix message name for State messages,
22505
22506 2005-07-14  Wim Taymans  <wim@fluendo.com>
22507
22508         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22509         Post error messages on errors.
22510
22511 2005-07-14  Wim Taymans  <wim@fluendo.com>
22512
22513         * gst/gstcaps.c: (gst_caps_do_simplify):
22514         Remove debug info.
22515
22516         * gst/gsterror.h:
22517         Define error for stream stopped.
22518
22519         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22520         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22521         Do proper return values.
22522
22523         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22524         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22525         (gst_pad_get_range):
22526         Better return values.
22527
22528         * gst/gstpad.h:
22529         Reorganise return values, add macro to check for fatal errors.
22530
22531         * gst/gstqueue.c: (gst_queue_chain):
22532         Return proper GstFlowReturn values,
22533
22534 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
22535
22536         * docs/gst/gstreamer-sections.txt:
22537         * docs/gst/gstreamer.types:
22538         * docs/gst/tmpl/gst.sgml:
22539         * docs/gst/tmpl/gstbasesink.sgml:
22540         * docs/gst/tmpl/gstbasesrc.sgml:
22541         * docs/gst/tmpl/gstbasetransform.sgml:
22542         * docs/gst/tmpl/gstbin.sgml:
22543         * docs/gst/tmpl/gstbuffer.sgml:
22544         * docs/gst/tmpl/gstcaps.sgml:
22545         * docs/gst/tmpl/gstclock.sgml:
22546         * docs/gst/tmpl/gstcompat.sgml:
22547         * docs/gst/tmpl/gstconfig.sgml:
22548         * docs/gst/tmpl/gstelement.sgml:
22549         * docs/gst/tmpl/gstelementdetails.sgml:
22550         * docs/gst/tmpl/gstelementfactory.sgml:
22551         * docs/gst/tmpl/gstenumtypes.sgml:
22552         * docs/gst/tmpl/gsterror.sgml:
22553         * docs/gst/tmpl/gstevent.sgml:
22554         * docs/gst/tmpl/gstfakesink.sgml:
22555         * docs/gst/tmpl/gstfakesrc.sgml:
22556         * docs/gst/tmpl/gstfilesink.sgml:
22557         * docs/gst/tmpl/gstfilesrc.sgml:
22558         * docs/gst/tmpl/gstfilter.sgml:
22559         * docs/gst/tmpl/gstformat.sgml:
22560         * docs/gst/tmpl/gstghostpad.sgml:
22561         * docs/gst/tmpl/gstimplementsinterface.sgml:
22562         * docs/gst/tmpl/gstindex.sgml:
22563         * docs/gst/tmpl/gstindexfactory.sgml:
22564         * docs/gst/tmpl/gstinfo.sgml:
22565         * docs/gst/tmpl/gstiterator.sgml:
22566         * docs/gst/tmpl/gstmacros.sgml:
22567         * docs/gst/tmpl/gstmemchunk.sgml:
22568         * docs/gst/tmpl/gstminiobject.sgml:
22569         * docs/gst/tmpl/gstobject.sgml:
22570         * docs/gst/tmpl/gstpad.sgml:
22571         * docs/gst/tmpl/gstpadtemplate.sgml:
22572         * docs/gst/tmpl/gstparse.sgml:
22573         * docs/gst/tmpl/gstpipeline.sgml:
22574         * docs/gst/tmpl/gstplugin.sgml:
22575         * docs/gst/tmpl/gstpluginfeature.sgml:
22576         * docs/gst/tmpl/gstquery.sgml:
22577         * docs/gst/tmpl/gstqueue.sgml:
22578         * docs/gst/tmpl/gstregistry.sgml:
22579         * docs/gst/tmpl/gstregistrypool.sgml:
22580         * docs/gst/tmpl/gstscheduler.sgml:
22581         * docs/gst/tmpl/gstschedulerfactory.sgml:
22582         * docs/gst/tmpl/gststructure.sgml:
22583         * docs/gst/tmpl/gstsystemclock.sgml:
22584         * docs/gst/tmpl/gsttaglist.sgml:
22585         * docs/gst/tmpl/gsttagsetter.sgml:
22586         * docs/gst/tmpl/gsttrace.sgml:
22587         * docs/gst/tmpl/gsttrashstack.sgml:
22588         * docs/gst/tmpl/gsttypefind.sgml:
22589         * docs/gst/tmpl/gsttypefindfactory.sgml:
22590         * docs/gst/tmpl/gsttypes.sgml:
22591         * docs/gst/tmpl/gsturihandler.sgml:
22592         * docs/gst/tmpl/gsturitype.sgml:
22593         * docs/gst/tmpl/gstutils.sgml:
22594         * docs/gst/tmpl/gstvalue.sgml:
22595         * docs/gst/tmpl/gstversion.sgml:
22596         * docs/gst/tmpl/gstxml.sgml:
22597         * docs/libs/tmpl/gstcontrol.sgml:
22598         * docs/libs/tmpl/gstdataprotocol.sgml:
22599         * docs/libs/tmpl/gstdparam.sgml:
22600         * docs/libs/tmpl/gstdplinint.sgml:
22601         * docs/libs/tmpl/gstdpman.sgml:
22602         * docs/libs/tmpl/gstdpsmooth.sgml:
22603         * docs/libs/tmpl/gstgetbits.sgml:
22604         * docs/libs/tmpl/gstunitconvert.sgml:
22605         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22606         (gst_push_src_base_init), (gst_push_src_class_init),
22607         (gst_push_src_init), (gst_push_src_create):
22608         * gst/base/gstpushsrc.h:
22609         * gst/elements/gstelements.c:
22610         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22611         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22612         (gst_fake_sink_init), (gst_fake_sink_set_property),
22613         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22614         (gst_fake_sink_event), (gst_fake_sink_preroll),
22615         (gst_fake_sink_render), (gst_fake_sink_change_state):
22616         * gst/elements/gstfakesink.h:
22617         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22618         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22619         (gst_fake_src_base_init), (gst_fake_src_class_init),
22620         (gst_fake_src_init), (gst_fake_src_event_handler),
22621         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22622         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22623         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22624         (gst_fake_src_create_buffer), (gst_fake_src_create),
22625         (gst_fake_src_start), (gst_fake_src_stop):
22626         * gst/elements/gstfakesrc.h:
22627         * gst/elements/gstfilesink.c: (_do_init),
22628         (gst_file_sink_base_init), (gst_file_sink_class_init),
22629         (gst_file_sink_init), (gst_file_sink_dispose),
22630         (gst_file_sink_set_location), (gst_file_sink_set_property),
22631         (gst_file_sink_get_property), (gst_file_sink_open_file),
22632         (gst_file_sink_close_file), (gst_file_sink_query),
22633         (gst_file_sink_event), (gst_file_sink_render),
22634         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22635         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22636         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22637         * gst/elements/gstfilesink.h:
22638         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22639         (gst_file_src_class_init), (gst_file_src_init),
22640         (gst_file_src_finalize), (gst_file_src_set_location),
22641         (gst_file_src_set_property), (gst_file_src_get_property),
22642         (gst_file_src_map_region), (gst_file_src_map_small_region),
22643         (gst_file_src_create_mmap), (gst_file_src_create_read),
22644         (gst_file_src_create), (gst_file_src_is_seekable),
22645         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22646         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22647         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22648         (gst_file_src_uri_handler_init):
22649         * gst/elements/gstfilesrc.h:
22650           more autistic cleanliness in functions/names/defines
22651
22652 2005-07-13  Andy Wingo  <wingo@pobox.com>
22653
22654         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22655         source couldn't negotiate.
22656
22657         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22658         connections again.
22659
22660         * gst/gstutils.h:
22661         * gst/gstutils.c (gst_element_link_pads_filtered): New old
22662         function. I am channeling Hades. Put your boots on suckers!!!
22663
22664 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22665
22666         * testsuite/caps/Makefile.am:
22667         * testsuite/caps/value_compare.c:
22668         * testsuite/caps/value_intersect.c:
22669         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22670           move two testsuite apps over to the check dir
22671
22672 2005-07-12  Wim Taymans  <wim@fluendo.com>
22673
22674         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22675         Added more debug info in the negotiate process.
22676
22677         * gst/gstmessage.h:
22678         Prepare for segment playback.
22679
22680         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22681         Better debugging.
22682
22683         * gst/gstutils.c:
22684         Some more docs.
22685
22686         * tools/gst-launch.c: (main):
22687         NULL pipeline on errors.
22688
22689 2005-07-12  Andy Wingo  <wingo@pobox.com>
22690
22691         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22692         not it comes from a malloc region. Make sure our copy gets freed.
22693
22694 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22695
22696         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22697         * check/gst/gstmessage.c: (GST_START_TEST):
22698         * check/gst/gststructure.c: (GST_START_TEST),
22699         (gst_structure_suite), (main):
22700           more testing
22701         * gst/gstelement.c: (gst_element_message_full):
22702           clean up GError and debug string now that they get copied
22703         * gst/gstmessage.c: (gst_message_new_error),
22704         (gst_message_new_warning), (gst_message_parse_error),
22705         (gst_message_parse_warning):
22706           use GST_TYPE_G_ERROR for structure_new, and take copies of
22707           arguments, so that we don't mess up refcounting
22708
22709 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22710
22711         * check/Makefile.am:
22712           add per-test valgrind targets
22713         * check/gst-libs/gdp.c: (GST_START_TEST),
22714         (gst_data_protocol_suite), (main):
22715           clean up
22716
22717 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22718
22719         * check/Makefile.am:
22720           instate more valgrindable tests
22721         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22722         (GST_START_TEST), (fakesrc_suite):
22723         * check/gst/gstpad.c: (GST_START_TEST):
22724         * check/gst/gststructure.c: (GST_START_TEST):
22725           fix test leaks
22726         * docs/gst/tmpl/gstminiobject.sgml:
22727         * gst/gstpad.c: (gst_pad_finalize):
22728           fix the static mutex leak
22729
22730 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22731
22732         * check/Makefile.am:
22733           add two more tests for valgrinding
22734         * check/gst/gstvalue.c: (GST_START_TEST):
22735           test refcount of deserialized buffer, found a leak
22736         * docs/gst/gstreamer-docs.sgml:
22737         * docs/gst/gstreamer-sections.txt:
22738         * docs/gst/gstreamer.types:
22739         * docs/gst/tmpl/gstminiobject.sgml:
22740           add miniobject to docs
22741         * gst/gstminiobject.c:
22742           add some docs
22743         * gst/gstvalue.c: (gst_value_deserialize_buffer),
22744         (gst_string_unwrap):
22745           fix a hard-to-find invalid write for one of the tests
22746           fix a leak for deserialized buffers
22747
22748 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22749
22750         * docs/pwg/advanced-events.xml:
22751         * docs/pwg/advanced-request.xml:
22752         * docs/pwg/advanced-scheduling.xml:
22753         * docs/pwg/appendix-porting.xml:
22754         * docs/pwg/building-boiler.xml:
22755         * docs/pwg/intro-preface.xml:
22756         * docs/pwg/other-ntoone.xml:
22757           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22758           of example code and explanation for pad activation, loop() and
22759           getrange() functions and a bit more. Remove old comments pointing
22760           to loop-functions.
22761         * examples/pwg/Makefile.am:
22762           Add loop/getrange examples.
22763
22764 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22765
22766         * configure.ac:
22767           check for valgrind binary + some fixes
22768         * check/gst.supp:
22769           valgrind suppressions for the tests
22770         * check/Makefile.am:
22771           add a valgrind: target that valgrinds the unit tests
22772         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22773         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22774         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22775         * check/gst/gstghostpad.c:
22776           added some cleanup
22777         * check/gst/gstdata.c:
22778           removed
22779         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22780         (thread_unref), (gst_mini_object_suite), (main):
22781           added
22782         * gst/gst.c: (gst_deinit):
22783         * gst/gst.h:
22784           add a method to clean up.
22785         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22786         (gst_system_clock_obtain):
22787           allow for disposing the system clock.
22788         * tools/gst-launch.c: (main):
22789           deinit
22790
22791 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22792
22793         * docs/gst/tmpl/gstbasesrc.sgml:
22794         * docs/gst/tmpl/gstfakesrc.sgml:
22795         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22796         (gst_base_src_init), (gst_base_src_set_property),
22797         (gst_base_src_get_property), (gst_base_src_get_range),
22798         (gst_base_src_start):
22799         * gst/base/gstbasesrc.h:
22800           add num-buffers property
22801         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22802         (gst_fakesrc_init), (gst_fakesrc_set_property),
22803         (gst_fakesrc_get_property), (gst_fakesrc_create),
22804         (gst_fakesrc_start):
22805           remove num-buffers property
22806
22807 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22808
22809         * docs/gst/gstreamer-sections.txt:
22810         * docs/gst/tmpl/gstbasesink.sgml:
22811         * docs/gst/tmpl/gstbasesrc.sgml:
22812         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22813         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22814         (gst_base_sink_finalize), (gst_base_sink_set_clock),
22815         (gst_base_sink_set_property), (gst_base_sink_get_property),
22816         (gst_base_sink_handle_object), (gst_base_sink_event),
22817         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22818         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22819         (gst_base_sink_loop), (gst_base_sink_deactivate),
22820         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22821         (gst_base_sink_change_state):
22822         * gst/base/gstbasesink.h:
22823         * gst/base/gstbasesrc.h:
22824         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22825         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22826         (gst_filesink_init):
22827           more macro splitting
22828
22829 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22830
22831         * gst/gstelement.c: (gst_element_get_bus):
22832           add debug
22833         * tools/gst-launch.c: (check_intr), (event_loop):
22834           fix bus leaks
22835
22836 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22837
22838         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22839           fix a caps leak
22840
22841 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22842
22843         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22844         (gst_base_src_finalize):
22845           add finalize method and clean up properly
22846         * gst/gstpipeline.c: (gst_pipeline_dispose):
22847           add debug
22848
22849 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22850
22851         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22852         (gst_bin_suite):
22853           add more things to check
22854         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22855         * gst/gstelement.c:
22856           more debug
22857
22858 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22859
22860         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22861         (GST_START_TEST), (fakesrc_suite):
22862         * check/gst-libs/gdp.c: (GST_START_TEST):
22863         * check/gst/gst.c: (GST_START_TEST):
22864         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22865         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22866         * check/gst/gstbus.c: (GST_START_TEST):
22867         * check/gst/gstcaps.c: (GST_START_TEST):
22868         * check/gst/gstdata.c: (GST_START_TEST):
22869         * check/gst/gstelement.c: (GST_START_TEST):
22870         * check/gst/gstghostpad.c: (GST_START_TEST):
22871         * check/gst/gstiterator.c: (GST_START_TEST):
22872         * check/gst/gstmessage.c: (GST_START_TEST):
22873         * check/gst/gstobject.c: (GST_START_TEST):
22874         * check/gst/gstpad.c: (GST_START_TEST):
22875         * check/gst/gststructure.c: (GST_START_TEST):
22876         * check/gst/gstsystemclock.c: (GST_START_TEST),
22877         (gst_systemclock_suite):
22878         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22879         * check/gst/gstvalue.c: (GST_START_TEST):
22880         * check/pipelines/cleanup.c: (GST_START_TEST):
22881         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22882         * check/states/sinks.c: (GST_START_TEST):
22883         * check/gstcheck.c: (gst_check_init):
22884         * check/gstcheck.h:
22885           add debugging category
22886           use GST_START_TEST now, so we add a debug line
22887
22888 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22889
22890         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22891           add test for state change message on a bin
22892         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22893           add another test
22894         * gst/gstbin.c: (gst_bin_init):
22895         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22896         * gst/gstelement.c: (gst_element_post_message),
22897         (gst_element_set_state):
22898         * gst/gstelementfactory.c: (gst_element_factory_create):
22899         * gst/gstmessage.c: (gst_message_new):
22900         * gst/gstscheduler.c:
22901           various debugging additions and cleanups
22902
22903 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22904
22905         * check/Makefile.am:
22906         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22907         (main):
22908           adding tests for elements
22909         * gst/gstelement.c: (gst_element_dispose):
22910
22911 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22912
22913         * gst/registries/gstlibxmlregistry.c: (load_feature):
22914           plug more leaks.  A simple gst_init() now is leakfree, yay.
22915
22916 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22917
22918         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22919         (gst_xml_registry_load):
22920           plug another memleak
22921
22922 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22923
22924         * configure.ac:
22925           use GST_SET_ERROR_CFLAGS
22926         * docs/faq/cvs.xml:
22927           change to ERROR_CFLAGS
22928
22929 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22930
22931         * configure.ac:
22932           make GST_ERROR_CFLAGS overridable and re-enable Werror
22933         * docs/faq/cvs.xml:
22934           add a note about error CFLAGS
22935         * docs/gst/tmpl/gstfakesrc.sgml:
22936         * gst/elements/gstfakesrc.c:
22937           comment out some unused code
22938         * gst/gst.c: (split_and_iterate):
22939         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22940         (load_feature):
22941           plug some memleaks
22942
22943 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22944
22945         * common/Makefile.am:
22946         * common/gtk-doc.mak:
22947         * docs/gst/Makefile.am:
22948           factor out gtk-doc.mak
22949
22950 2005-07-07  Wim Taymans  <wim@fluendo.com>
22951
22952         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22953         (gst_thread_scheduler_dispose):
22954         Unlock the STREAM_LOCK completely.
22955
22956 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22957
22958         * check/Makefile.am:
22959         * check/elements/.cvsignore:
22960         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22961         (START_TEST), (fakesrc_suite), (main):
22962         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22963         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22964         (gst_fakesrc_create), (gst_fakesrc_start):
22965         * gst/elements/gstfakesrc.h:
22966           adding a first element test
22967
22968 2005-07-07  Andy Wingo  <wingo@pobox.com>
22969
22970         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22971         debug message.
22972
22973 2005-07-07  Wim Taymans  <wim@fluendo.com>
22974
22975         * gst/gstquery.c:
22976         * gst/gstquery.h:
22977         Remove old types
22978
22979 2005-07-07  Wim Taymans  <wim@fluendo.com>
22980
22981         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22982         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22983         Allow subclasses to implement their own negotiation.
22984
22985 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22986
22987         * docs/design/part-gstbin.txt:
22988         * docs/design/part-gstpipeline.txt:
22989           Update design notes to reflect the movement of
22990           responsibility for bus handling from GstPipeline to
22991           GstBin
22992
22993 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22994
22995         * configure.ac:
22996           Remove unnecessary queue2/3/4 examples.
22997
22998 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22999
23000         * examples/Makefile.am:
23001         * examples/helloworld/helloworld.c: (event_loop), (main):
23002         * examples/queue/queue.c: (event_loop), (main):
23003         * examples/queue2/queue2.c: (main):
23004           Update a couple of the examples to work again.
23005
23006         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23007         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
23008          Spelling corrections and extra debug.
23009         
23010         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
23011         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
23012         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
23013         * gst/gstbin.h:
23014         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23015         (gst_pipeline_change_state):
23016         * gst/gstpipeline.h:
23017           Move the bus handler for children to the GstBin, and create a
23018           separate bus for receiving messages from children to the one the
23019           bus sends 'upwards' on.
23020
23021 2005-07-06  Wim Taymans  <wim@fluendo.com>
23022
23023         * gst/base/README:
23024         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23025         (gst_base_sink_handle_object), (gst_base_sink_loop),
23026         (gst_base_sink_change_state):
23027         * gst/base/gstbasesink.h:
23028         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23029         (gst_base_src_init), (gst_base_src_setcaps),
23030         (gst_base_src_getcaps), (gst_base_src_loop),
23031         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23032         (gst_base_src_start), (gst_base_src_change_state):
23033         * gst/base/gstbasesrc.h:
23034         Make basesrc negotiate.
23035         Handle the case where preroll fails in basesink.
23036         Update README.
23037
23038 2005-07-06  Wim Taymans  <wim@fluendo.com>
23039
23040         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23041         Implement the fixate function.
23042         Clean up acceptcaps.
23043
23044 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23045
23046         * docs/pwg/building-filterfactory.xml:
23047         * docs/pwg/pwg.xml:
23048           Remove never-written filter-factory chapter; I'll add the various
23049           base classes to part 4 ("other element types") later on.
23050
23051 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23052
23053         * docs/pwg/advanced-negotiation.xml:
23054         * docs/pwg/building-boiler.xml:
23055         * docs/pwg/building-pads.xml:
23056         * docs/pwg/pwg.xml:
23057         * examples/pwg/Makefile.am:
23058           Add a chapter on caps negotiation, simplify the original code
23059           samples a bit w.r.t. caps negotiation, add link to the advanced
23060           section. Add a bunch of examples showing different use cases of
23061           different types of caps negotiation. Upstream renegotiation isn't
23062           fully documented yet since nobody knows how that works.
23063
23064 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23065
23066         * check/gst/gstpad.c:
23067         * check/gstcheck.c:
23068         * gst/gstpad.c: (gst_pad_get_internal_links_default):
23069           if pad has no parent, return NULL as list of internal links
23070
23071 2005-07-05  Andy Wingo  <wingo@pobox.com>
23072
23073         * gst/elements/gstfilesrc.c:
23074         * gst/elements/gstfakesrc.c: 
23075         * gst/base/gstpushsrc.c:
23076         * gst/base/gstbasesrc.h: 
23077         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23078         
23079 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
23080
23081         * Makefile.am:
23082           better report generation target (lcov needs a patch)
23083
23084 2005-07-05  Andy Wingo  <wingo@pobox.com>
23085
23086         * gst/elements, testsuite: Null if we got it...
23087
23088 2005-07-05  Wim Taymans  <wim@fluendo.com>
23089
23090         * configure.ac:
23091         * libs/gst/dataprotocol/Makefile.am:
23092         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23093         * libs/gst/dataprotocol/dataprotocol.h:
23094         * pkgconfig/Makefile.am:
23095         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23096         * pkgconfig/gstreamer-dataprotocol.pc.in:
23097         Ported dataprotol to 0.9. 
23098         Added pkgconfig files.
23099
23100 2005-07-05  Andy Wingo  <wingo@pobox.com>
23101
23102         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23103         Default to returning TRUE for the case when tranform_caps returns
23104         a fixed caps, like for identity or volume.
23105
23106         * check/gst/gstbus.c (pound_bus_with_messages): 
23107         * check/gst/gstmessage.c (START_TEST): 
23108         * check/pipelines/simple_launch_lines.c (got_handoff): Application
23109         message API change.
23110
23111         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23112         logic weaks here: always run transform_caps, trying passthrough
23113         operation only if the original caps intersects with the transform.
23114
23115         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23116         source and sink caps.
23117
23118         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23119         Intersect the peer caps with the pad template before going into
23120         transform_caps.
23121         (gst_base_transform_transform_caps): More debugging.
23122
23123         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23124         src argument.
23125
23126 2005-07-04  Edward Hervey  <edward@fluendo.com>
23127
23128         * gst/gstutils.c:
23129         * gst/gstutils.h:
23130         (gst_pad_add_*_probe): now returns the signal id for better wrapping
23131         in bindings.
23132
23133 2005-07-04  Andy Wingo  <wingo@pobox.com>
23134
23135         * check/gst/gstpad.c: Only set explicit caps on pads.
23136
23137 2005-07-01  Andy Wingo  <wingo@pobox.com>
23138
23139         * tests/network-clock.scm: Commentary update.
23140
23141         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23142         Didn't really make sense, not implementable with basetransform,
23143         etc.
23144         (gst_identity_transform): Unref inbuf via make_writable. Feeble
23145         attempt at implementing the sync property, needs an unlock method.
23146
23147         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23148         New func, by default returns the same caps (the identity
23149         transformation).
23150         (gst_base_transform_getcaps): Uses transform_caps to return
23151         something sensible.
23152         (gst_base_transform_setcaps): Complicated logic to get caps on
23153         both pads, even if they are different, and to call set_caps once
23154         for every time both pads get their caps set.
23155         (gst_base_transform_handle_buffer): Give the ref to the transform
23156         function. Allows in-place modification of the buffer.
23157
23158         * gst/base/gstbasetransform.h (transform_caps): New class method.
23159         Given caps on one side, what can I do on the other.
23160         (set_caps): Take two caps, one for each side of the element.
23161
23162         * gst/gstpad.h:
23163         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23164         caps in place. This is safe because we can check the mutability of
23165         the caps, and a good idea because fixate functions are just called
23166         as a matter of last resort. (Not actually implemented.)
23167         (gst_pad_set_caps): If the caps we're setting is actually the same
23168         as the existing pad caps, just update the pointer without calling
23169         setcaps. Assert that caps is either NULL or fixed, as per the
23170         docs.
23171
23172         * gst/gstghostpad.c: Update for fixate changes.
23173
23174 2005-07-02  Andy Wingo  <wingo@pobox.com>
23175
23176         * gst/gstcaps.c:
23177         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23178         two refcounts makes it immutable, which is enough. Doc more.
23179
23180 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
23181
23182         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23183           Put the mini_object into GValue as a mini_object,
23184           not a gpointer, since that's how we declared
23185           the signal.
23186
23187 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23188
23189         * examples/pwg/Makefile.am:
23190           Fix buildbot again.
23191
23192 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23193
23194         * docs/pwg/building-testapp.xml:
23195           Add extra check.
23196         * examples/pwg/Makefile.am:
23197           Fix buildbot.
23198
23199 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23200
23201         * configure.ac:
23202         * examples/Makefile.am:
23203         * examples/pwg/Makefile.am:
23204         * examples/pwg/extract.pl:
23205           Enable building the PWG examples.
23206         * docs/pwg/advanced-interfaces.xml:
23207           Add URI interface stub.
23208         * docs/pwg/advanced-types.xml:
23209         * docs/pwg/other-autoplugger.xml:
23210         * docs/pwg/appendix-porting.xml:
23211         * docs/pwg/pwg.xml:
23212           Add porting guide (mostly stubs), remove autoplugging (see ADM).
23213         * docs/pwg/building-boiler.xml:
23214         * docs/pwg/building-chainfn.xml:
23215         * docs/pwg/building-pads.xml:
23216         * docs/pwg/building-props.xml:
23217         * docs/pwg/building-state.xml:
23218         * docs/pwg/building-testapp.xml:
23219           Update the building-*.xml parts for 0.9 changes. All examples
23220           code blocks compile in examples/pwg/*.
23221
23222 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23223
23224         * docs/manual/advanced-autoplugging.xml:
23225         * docs/manual/appendix-checklist.xml:
23226         * docs/manual/appendix-integration.xml:
23227         * docs/manual/highlevel-components.xml:
23228           Fix playbin/decodebin examples, update docs a bit, mention bus
23229           instead of signals in various places, mention kmplayer and
23230           kaffeine since they have a working GStreamer backend in the KDE
23231           section.
23232
23233 2005-06-30  Wim Taymans  <wim@fluendo.com>
23234
23235         * CHANGES-0.9:
23236         * docs/design/draft-ghostpads.txt:
23237         * docs/design/draft-push-pull.txt:
23238         * docs/design/draft-query.txt:
23239         * docs/design/part-TODO.txt:
23240         * docs/design/part-query.txt:
23241         Added CHANGES-0.9 doc, updated status of other docs.
23242         
23243         * gst/gstquery.h:
23244         Remove "hmm" macro
23245
23246 2005-06-30  Wim Taymans  <wim@fluendo.com>
23247
23248         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23249         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23250         (gst_base_sink_change_state):
23251         * gst/base/gstbasesink.h:
23252         Some tweaks, only EOS and a buffer complete a preroll.
23253
23254 2005-06-30  Andy Wingo  <wingo@pobox.com>
23255
23256         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23257         activate_push down to the internal pad as well.
23258
23259 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
23260
23261         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23262
23263         * gst/gsttaginterface.c:
23264           Some documentation fixes (#307394 and #307397).
23265
23266 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
23267
23268         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23269
23270         * gst/gstvalue.c: (gst_value_intersect_list):
23271           Fix memleak (#309125).
23272
23273 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23274
23275         * docs/manual/advanced-dataaccess.xml:
23276           Fix fakesrc example to compile; doesn't work, bug somewhere...?
23277         * docs/manual/basics-pads.xml:
23278           Add reference for filtered caps to above chapter.
23279
23280 2005-06-30  Wim Taymans  <wim@fluendo.com>
23281
23282         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23283         (gst_bin_change_state):
23284         Probes are gone.
23285         Lame attempt at making the state change function a bit
23286         more readable.
23287
23288 2005-06-30  Wim Taymans  <wim@fluendo.com>
23289
23290         * docs/design/part-clocks.txt:
23291         * docs/design/part-element-sink.txt:
23292         * docs/design/part-events.txt:
23293         * docs/design/part-preroll.txt:
23294         * docs/design/part-states.txt:
23295         Some more tweeks and additions to the docs.
23296
23297 2005-06-30  Wim Taymans  <wim@fluendo.com>
23298
23299         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23300         (default_have_data), (gst_pad_class_init), (gst_pad_init),
23301         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23302         (gst_pad_check_pull_range), (gst_pad_get_range),
23303         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23304         * gst/gstpad.h:
23305         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23306         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23307         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23308         (gst_pad_remove_buffer_probe):
23309         Removed atomic operations, use existing LOCK.
23310         Move exception handling out of main code path.
23311
23312 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23313
23314         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23315         (silly_return_true_function), (gst_pad_class_init),
23316         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23317         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23318         (gst_pad_send_event):
23319           Fix accumulator, add default value by using _emitv() instead
23320           of _emit() for signal emission.
23321
23322 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23323
23324         * docs/manual/advanced-dataaccess.xml:
23325         * examples/manual/Makefile.am:
23326           Add probe example.
23327         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23328           Make work (??).
23329
23330 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
23331
23332         * gst/elements/gstfilesink.c: (gst_filesink_render):
23333           Simplify code so that we don't have to handle short
23334           writes and return GST_FLOW_ERROR if an error occured.
23335
23336 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23337
23338         * docs/gst/gstreamer-docs.sgml:
23339           Remove probes more.
23340
23341 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23342
23343         * docs/gst/gstreamer-sections.txt:
23344         * docs/gst/tmpl/gstpad.sgml:
23345         * docs/gst/tmpl/gstprobe.sgml:
23346         * gst/Makefile.am:
23347         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23348         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23349         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23350         (gst_pad_push_event), (gst_pad_send_event):
23351         * gst/gstpad.h:
23352         * gst/gstutils.c: (gst_pad_add_data_probe),
23353         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23354         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23355         (gst_pad_remove_buffer_probe):
23356         * gst/gstutils.h:
23357           Remove old probes, add new g-signal-based probes and some utility
23358           functions.
23359
23360 2005-06-29  Edward Hervey  <edward@fluendo.com>
23361
23362         * gst/gstelementfactory.c:
23363         * gst/gstutils.h:
23364         * gst/gstutils.c:
23365         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23366         the definition to the header file.
23367
23368 2005-06-29  Andy Wingo  <wingo@pobox.com>
23369
23370         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23371         plugins from the source directory.
23372
23373 2005-06-29  Wim Taymans  <wim@fluendo.com>
23374
23375         * docs/gst/tmpl/gstbuffer.sgml:
23376         * docs/gst/tmpl/gstclock.sgml:
23377         Some fixings for blantently wrong text.
23378
23379 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23380
23381         * check/Makefile.am:
23382         * gst/gst.c: (add_path_func), (init_pre):
23383         * gst/gstregistry.c: (gst_registry_add_path):
23384           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23385           only scan the GST_PLUGIN_PATH locations, and not add
23386           system locations
23387
23388 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23389
23390         * docs/gst/gstreamer-sections.txt:
23391         * docs/gst/tmpl/gstbasesrc.sgml:
23392         * gst/gstelement.c:
23393         * gst/gstelement.h:
23394         * gst/gstevent.c:
23395         * gst/gstutils.c:
23396           doc fixes
23397
23398 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23399
23400         * docs/manual/advanced-autoplugging.xml:
23401           Fix autoplugging example.
23402
23403 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23404
23405         * docs/manual/advanced-autoplugging.xml:
23406         * docs/manual/mime-world.fig:
23407           Try to get autoplugging working, fix type detection. Fix text
23408           in hello-world image.
23409
23410 2005-06-29  Wim Taymans  <wim@fluendo.com>
23411
23412         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23413         (gst_base_sink_change_state):
23414         Small debug line.
23415
23416         * gst/gstclock.h:
23417         map SIGNAL and BROADCAST to the right function.
23418
23419         * gst/gstobject.h:
23420         Remove redundant braces.
23421
23422         * gst/gstpad.c: (gst_pad_set_caps):
23423         Don't call setcaps function when reseting caps to NULL.
23424
23425         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23426         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23427         (gst_system_clock_id_unschedule):
23428         Use BROADCAST as this is what we do.
23429
23430 2005-06-29  Wim Taymans  <wim@fluendo.com>
23431
23432         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23433         We are actually prerolling before commiting the state
23434         change. 
23435
23436 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23437
23438         * docs/manual/advanced-clocks.xml:
23439         * docs/manual/advanced-interfaces.xml:
23440         * docs/manual/advanced-metadata.xml:
23441         * docs/manual/advanced-position.xml:
23442         * docs/manual/advanced-schedulers.xml:
23443         * docs/manual/advanced-threads.xml:
23444         * docs/manual/appendix-porting.xml:
23445         * docs/manual/basics-bins.xml:
23446         * docs/manual/basics-bus.xml:
23447         * docs/manual/basics-elements.xml:
23448         * docs/manual/basics-helloworld.xml:
23449         * docs/manual/basics-pads.xml:
23450         * docs/manual/highlevel-components.xml:
23451         * docs/manual/manual.xml:
23452         * docs/manual/thread.fig:
23453           Update (until threads/scheduling) Application Development Manual;
23454           remove GstThread, add GstBus, add simple porting checklist, add
23455           documentation for tag writing, clocks, make all examples until this
23456           part compile and run.
23457         * examples/manual/Makefile.am:
23458           Update from changes to Application Development Manual; add bus
23459           example, remove thread example.
23460
23461 2005-06-28  Wim Taymans  <wim@fluendo.com>
23462
23463         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23464         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23465         (gst_bus_source_dispatch):
23466         Add debugging messages.
23467         Make internal methods static.
23468         Handle the case where the bus is flushed in the handler.
23469         
23470         * gst/gstelement.c: (gst_element_get_bus):
23471         Fix refcount in _get_bus();
23472
23473         * gst/gstpipeline.c: (gst_pipeline_change_state),
23474         (gst_pipeline_get_clock_func):
23475         Clock refcounting fixes.
23476         Handle the case where preroll timed out more gracefully.
23477         
23478         * gst/gstsystemclock.c: (gst_system_clock_dispose):
23479         Clean up the internal thread in dispose. This is needed
23480         for subclasses that actually get disposed.
23481         
23482         * gst/schedulers/threadscheduler.c:
23483         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23484         (gst_thread_scheduler_dispose):
23485         Free thread pool in dispose.
23486
23487 2005-06-28  Andy Wingo  <wingo@pobox.com>
23488
23489         * tests/network-clock-utils.scm (debug, print-event): New utils.
23490
23491         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23492         (*packet-loss*): Unified loss probability.
23493         (network-time): Report out-of-band events.
23494
23495         * tests/plot-data: Add support for out-of-band events. Hack it
23496         into this script instead of passing it down the pipe; should fix
23497         this later.
23498
23499 2005-06-28  Wim Taymans  <wim@fluendo.com>
23500
23501         * docs/gst/gstreamer.types:
23502         * docs/gst/tmpl/gstbasesrc.sgml:
23503         * docs/gst/tmpl/gstpad.sgml:
23504         Docs fixes.
23505
23506 2005-06-28  Wim Taymans  <wim@fluendo.com>
23507
23508         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23509         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23510         (gst_proxy_pad_do_fixatecaps):
23511         Correctly proxy the check_pull_range function.
23512
23513 2005-06-28  Andy Wingo  <wingo@pobox.com>
23514
23515         * tests/network-clock.scm: Removed need for slib.
23516         
23517 2005-06-28  Wim Taymans  <wim@fluendo.com>
23518
23519         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23520         (gst_basesink_preroll_queue_flush):
23521         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23522         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23523         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23524         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23525         (gst_proxy_pad_set_property):
23526         * gst/gstpad.c:
23527         * gst/gstpad.h:
23528         * gst/gstqueue.c: (gst_queue_init):
23529         The deprecated pad loop function is removed now.
23530
23531 2005-06-28  Andy Wingo  <wingo@pobox.com>
23532
23533         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23534         New parameters, simulate network packet loss.
23535
23536         * tests/network-clock-utils.scm: Initialize the RNG.
23537
23538 2005-06-28  Wim Taymans  <wim@fluendo.com>
23539
23540         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23541         (gst_basesink_event), (gst_basesink_deactivate):
23542         Flushing the preroll queue always needs to unlock the waiters.
23543
23544 2005-06-28  Edward Hervey  <edward@fluendo.com>
23545
23546         * gst/gstpipeline.c: (gst_pipeline_send_event): 
23547         Wheen a seek was successful on a pipeline, set the stream_time to the
23548         seek offset in order to have a synchronized stream_time.
23549
23550 2005-06-28  Wim Taymans  <wim@fluendo.com>
23551
23552         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23553         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23554         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23555         (gst_proxy_pad_do_fixatecaps):
23556         Call wrapper function instead of just calling the function
23557         pointers. This takes care of any locking and whatmore.
23558
23559 2005-06-28  Wim Taymans  <wim@fluendo.com>
23560
23561         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23562         (gst_pad_pull_range):
23563         * gst/gstpad.h:
23564         CONNECTED -> LINKED.
23565
23566 2005-06-28  Andy Wingo  <wingo@pobox.com>
23567
23568         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23569         source-munging commit!!!
23570
23571         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
23572         (gst_object_sink): Take gpointer arguments, not GstObject --
23573         avoids casts. Like GLib.
23574
23575         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23576         activate.
23577
23578 2005-06-27  Andy Wingo  <wingo@pobox.com>
23579
23580         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23581         remaining buffer.
23582
23583         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23584         returns a sorted copy of the trace list.
23585         (gst_alloc_trace_print_live): New API, only prints traces with
23586         live objects. Sort the list.
23587         (gst_alloc_trace_print_all): Sort the list.
23588         (gst_alloc_trace_print): Align columns.
23589
23590         * gst/elements/gstttypefindelement.c:
23591         * gst/elements/gsttee.c:
23592         * gst/base/gstbasesrc.c:
23593         * gst/base/gstbasesink.c:
23594         * gst/base/gstbasetransform.c:
23595         * gst/gstqueue.c: Adapt for pad activation changes.
23596
23597         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23598         sched.
23599         (gst_pipeline_dispose): Drop ref on sched.
23600
23601         * gst/gstpad.c (gst_pad_init): Set the default activate func.
23602         (gst_pad_activate_default): Push mode by default.
23603         (pre_activate_switch, post_activate_switch): New stubs, things to
23604         do before and after switching activation modes on pads.
23605         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23606         the pad's activate function to choose which mode to activate.
23607         Shortcut on deactivation and call the right function directly.
23608         (gst_pad_activate_pull): New API, (de)activates a pad in pull
23609         mode.
23610         (gst_pad_activate_push): New API, same for push mode.
23611         (gst_pad_set_activate_function) 
23612         (gst_pad_set_activatepull_function) 
23613         (gst_pad_set_activatepush_function): Setters for new API.
23614
23615         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23616         Trace all miniobjects.
23617         (gst_mini_object_make_writable): Unref the arg if we copy, like
23618         gst_caps_make_writable.
23619
23620         * gst/gstmessage.c (_gst_message_initialize): No trace init.
23621
23622         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
23623         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23624         Adapt for new pad API.
23625
23626         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23627
23628         * gst/gstelement.h:
23629         * gst/gstelement.c (gst_element_iterate_src_pads) 
23630         (gst_element_iterate_sink_pads): New API functions.
23631         
23632         * gst/gstelement.c (iterator_fold_with_resync): New utility,
23633         should fold into gstiterator.c in some form.
23634         (gst_element_pads_activate): Simplified via use of fold and
23635         delegation of decisions to gstpad->activate.
23636
23637         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23638         help in debugging.
23639
23640         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23641         class once in init, like gstmessage. Didn't run into this issue
23642         but it seems correct. Don't initialize a trace, gstminiobject does
23643         that.
23644
23645         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23646         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23647         to the bus.
23648         (assert_live_count): New util function, uses alloc traces to check
23649         cleanup.
23650
23651         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23652         To be modified when unlink drops the internal pad.
23653
23654 2005-06-27  Wim Taymans  <wim@fluendo.com>
23655
23656         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23657         (gst_bin_change_state):
23658         Cleanup the get_state() function a little, make sure it
23659         iterates the same set of elements.
23660         Added stub iterate_state_order().
23661
23662 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
23663
23664         * docs/gst/gstreamer-docs.sgml:
23665         * docs/gst/gstreamer-sections.txt:
23666         * docs/gst/gstreamer.types:
23667         * docs/gst/tmpl/gstbasesink.sgml:
23668         * docs/gst/tmpl/gstbasesrc.sgml:
23669         * docs/gst/tmpl/gstbasetransform.sgml:
23670         * docs/gst/tmpl/gstelement.sgml:
23671         * docs/gst/tmpl/gstiterator.sgml:
23672         * gst/base/gstbasesrc.c:
23673         * gst/base/gstbasesrc.h:
23674         * gst/base/gstbasetransform.h:
23675         * gst/gstelement.c:
23676         * gst/gstiterator.h:
23677           adding basetransform and iterator docs
23678
23679 2005-06-27  Andy Wingo  <wingo@pobox.com>
23680
23681         * docs/design/part-activation.txt: Notes on how activation should
23682         work -- not quite implemented yet.
23683
23684 2005-06-25  Wim Taymans  <wim@fluendo.com>
23685
23686         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23687         At least get the chain function correct, needs more
23688         fixing.
23689
23690 2005-06-25  Wim Taymans  <wim@fluendo.com>
23691
23692         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23693         (gst_basesink_handle_object), (gst_basesink_event),
23694         (gst_basesink_do_sync), (gst_basesink_handle_event),
23695         (gst_basesink_change_state):
23696         * gst/gsttask.h:
23697         Right, two problems here: ghostpads don't take locks and
23698         glib _rec_mutex_lock_full() with depth==0 still locks.
23699         Catch illegal locking and g_warn them.
23700
23701 2005-06-25  Wim Taymans  <wim@fluendo.com>
23702
23703         * check/states/sinks.c: (START_TEST), (gst_object_suite):
23704         Have to check for completion now...
23705
23706 2005-06-25  Wim Taymans  <wim@fluendo.com>
23707
23708         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23709         (gst_basesink_handle_object), (gst_basesink_event),
23710         (gst_basesink_do_sync), (gst_basesink_handle_event),
23711         (gst_basesink_change_state):
23712         * gst/gstpad.h:
23713         Unlock STREAM_LOCK whatever the recursion was.
23714
23715 2005-06-25  Wim Taymans  <wim@fluendo.com>
23716
23717         * gst/base/gstbasesink.c: (gst_basesink_set_property),
23718         (gst_basesink_preroll_queue_empty),
23719         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23720         (gst_basesink_event), (gst_basesink_do_sync),
23721         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23722         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23723         (gst_basesink_change_state):
23724         Reworked the base sink, handle event and buffer serialisation
23725         correctly and removed possible deadlock.
23726         Handle EOS correctly.
23727
23728 2005-06-25  Wim Taymans  <wim@fluendo.com>
23729
23730         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23731         (gst_pipeline_change_state):
23732         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23733         Allow elements to post EOS in the state change function.
23734         Fix up -launch, make it exit the poll loop when the
23735         pipeline actually changed state.
23736         Fix up warning parsing in -launch.
23737
23738 2005-06-25  Wim Taymans  <wim@fluendo.com>
23739
23740         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23741         (gst_tee_sink_activate):
23742         Core takes STREAM_LOCK for us now.
23743
23744 2005-06-25  Wim Taymans  <wim@fluendo.com>
23745
23746         * gst/gstelement.c: (gst_element_get_state_func),
23747         (gst_element_set_state):
23748         * gst/gstelement.h:
23749         * gst/gstmessage.c: (gst_message_parse_error),
23750         (gst_message_parse_warning):
23751         Keep track of current target state while performing a state
23752         change so that subclasses can do something interesting.
23753         Fix parsing of warning/error messages when GError is NULL.
23754
23755 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23756
23757         * docs/gst/Makefile.am:
23758         * docs/gst/gstreamer-docs.sgml:
23759         * docs/gst/gstreamer-sections.txt:
23760         * docs/gst/gstreamer.types:
23761         * docs/gst/tmpl/gstbasesink.sgml:
23762         * docs/gst/tmpl/gstbasesrc.sgml:
23763         * docs/gst/tmpl/gstbin.sgml:
23764         * docs/gst/tmpl/gstcompat.sgml:
23765         * docs/gst/tmpl/gstfakesink.sgml:
23766         * docs/gst/tmpl/gstfakesrc.sgml:
23767         * docs/gst/tmpl/gstfilesink.sgml:
23768         * docs/gst/tmpl/gstfilesrc.sgml:
23769         * docs/gst/tmpl/gstindex.sgml:
23770         * docs/manual/appendix-quotes.xml:
23771         * gst/base/gstbasesrc.h:
23772         * gst/elements/gstfakesrc.h:
23773         * gst/gstmessage.h:
23774           start pulling in base classes and elements in our docs
23775
23776 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
23777
23778         * docs/gst/Makefile.am:
23779         * docs/libs/Makefile.am:
23780           fixed make distcheck with gtk-doc 1.3
23781
23782 2005-06-23  Wim Taymans  <wim@fluendo.com>
23783
23784         * gst/gstelement.c: (gst_element_get_state_func),
23785         (gst_element_set_state), (gst_element_change_state):
23786         When the state did not change, also report NO_PREROLL
23787         when it matters.
23788
23789 2005-06-23  Wim Taymans  <wim@fluendo.com>
23790
23791         * gst/gstpad.c: (gst_pad_event_default):
23792         * gst/gstqueue.c: (gst_queue_loop):
23793         No unsafe task pausing please.
23794
23795 2005-06-23  Wim Taymans  <wim@fluendo.com>
23796
23797         * gst/schedulers/threadscheduler.c:
23798         (gst_thread_scheduler_task_start),
23799         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23800         Ref the task before pushing it on the threadpool. This
23801         makes sure that we have a ref when the threadfunction is
23802         actually called.
23803
23804 2005-06-23  Andy Wingo  <wingo@pobox.com>
23805
23806         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23807         offset is greater than the file's size.
23808
23809         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
23810         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23811         * gst/gstobject.c (gst_object_class_init): Make the class lock
23812         recursive. Wim won't let me drop deep_notify. Decodebin works
23813         again, whoopdy doo.
23814
23815         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23816         internal pad, and hacks accordingly. Doesn't do it on the target
23817         pad because we change its caps. Probably catches all cases of
23818         interest tho.
23819         (gst_ghost_pad_set_property): Connect to notify::caps as
23820         appropritate.
23821
23822         * tests/network-clock.scm (plot-simulation): Pipe data to the
23823         elite python skript.
23824
23825         * tests/network-clock-utils.scm (define-parameter): New macro,
23826         defines a parameter that can be set via the command line.
23827         (set-parameter!, parse-parameter-arguments): Command line args
23828         parser.
23829
23830         * tests/plot-data: Simple matplotlib-based plotter, takes input on
23831         stdin.
23832
23833 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
23834
23835         * gst/elements/gsttypefindelement.c:
23836         (gst_type_find_element_handle_event):
23837           Don't restart typefinding on a discont.
23838         * gst/gstelement.c: (gst_element_set_state):
23839           Debug spelling fix.
23840         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23841           Allow changing mode of an active pad.
23842           Debug output fixes.
23843         * gst/registries/gstlibxmlregistry.c: (load_feature):
23844           Don't cast a static pad template to a normal pad template.
23845
23846 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23847
23848         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23849         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23850           remove gst_strtoll completely, since it didn't actually do
23851           anything more than what g_ascii_strtoull already does.
23852           check for range errors when deserializing
23853           do a cast for the unsigned cases; but further fixing needs
23854           a decision on what the interpretation of "(int)" and
23855           deserialization should be for values that fall outside the
23856           type's boundaries (ie, refuse, or interpret as casting)
23857
23858 2005-06-23  Wim Taymans  <wim@fluendo.com>
23859
23860         * check/Makefile.am:
23861         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23862         * docs/design/part-live-source.txt:
23863         * docs/design/part-states.txt:
23864         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23865         (gst_basesrc_set_live), (gst_basesrc_is_live),
23866         (gst_basesrc_get_range), (gst_basesrc_activate),
23867         (gst_basesrc_change_state):
23868         * gst/base/gstbasesrc.h:
23869         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23870         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23871         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23872         * gst/gstelement.c: (gst_element_get_state_func),
23873         (gst_element_set_state):
23874         * gst/gstelement.h:
23875         * gst/gsttypes.h:
23876         * tools/gst-launch.c: (event_loop), (main):
23877         Added support for live sources and other elements that
23878         cannot do preroll.
23879         Updated design docs, added live-source design doc.
23880         Implemented live source functionality in basesrc
23881         Fix error condition in _bin_get_state()
23882         Implement live source handling in -launch.
23883         Added check for live sources.
23884         Fixed case in GstBin where elements were changed state
23885         multiple times.
23886
23887
23888 2005-06-23  Andy Wingo  <wingo@pobox.com>
23889
23890         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23891         borken refcounting.
23892
23893         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23894         gst_caps_replace takes care of this for us.
23895
23896         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23897         gst_pad_set_caps on the target, not just its setcaps() function.
23898
23899         * tests/network-clock.scm: 
23900         * tests/network-clock-utils.scm: A network clock simulator.
23901         Something of an algorithmic testbed before doing something in C.
23902
23903 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23904
23905         * check/Makefile.am:
23906         * check/gst/capslist.h:
23907           copy over from 0.8, and add two with bitmasks specified with
23908           (int) 0xFF...
23909         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23910           add test to parse everything from capslist.h
23911         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23912         (main):
23913           add test for structure deserialization
23914         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23915           add tests for deserialization of strings to int types
23916         * gst/gststructure.c: (gst_structure_nth_field_name):
23917         * gst/gststructure.h:
23918           add a way to get the name of a field referenced by index
23919         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23920           instead of checking if the resulting long long lies between
23921           min and max, we check if the long long would fit into
23922           a number of bytes for the final type.
23923           This fixes cases where a string represents 2^32 - 1, which
23924           when cast to int would be the (valid) -1, but is bigger than
23925           G_MAXINT
23926
23927 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23928
23929         * gst/parse/grammar.y:
23930           add a log line for type deserialization
23931
23932 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23933
23934         * check/gst/gstvalue.c: (START_TEST):
23935         * gst/gstvalue.c: (gst_value_deserialize):
23936           return long long, not int, so gint64 deserialization actually
23937           works.  Is there any flag that makes the compiler check this ?
23938           Fixes #308559
23939
23940 2005-06-22  Wim Taymans  <wim@fluendo.com>
23941
23942         * gst/gstbuffer.h:
23943         Added convenience macros for setting buffers in GValue.
23944
23945 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23946
23947         * check/gst/.cvsignore:
23948         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23949           add a test deserializing int64, and comment part out because
23950           it fails, yay !
23951
23952 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23953
23954         * check/Makefile.am:
23955         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23956         * testsuite/Makefile.am:
23957         * testsuite/caps/Makefile.am:
23958         * testsuite/caps/value_serialize.c:
23959         * testsuite/test_gst_init.c:
23960           move a value_serialize test over
23961
23962 2005-06-20  Wim Taymans  <wim@fluendo.com>
23963
23964         * gst/gstpad.c:
23965         Small doc updates.
23966         
23967         * gst/gstvalue.c: (gst_value_compare_buffer),
23968         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23969         (gst_value_compare_flags), (gst_value_serialize_flags),
23970         (gst_value_deserialize_flags), (_gst_value_initialize):
23971         Fix serialisation of buffers, they are not boxed types anymore
23972
23973 2005-06-20  Wim Taymans  <wim@fluendo.com>
23974
23975         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23976         Testcase to show error in buffer-on-caps serialisation.
23977
23978 2005-06-20  Andy Wingo  <wingo@pobox.com>
23979
23980         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23981         will be adding to later.
23982
23983         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23984         if its socks fill with rocks.
23985         (gst_system_clock_obtain): Set the name on object construction.
23986         Avoid double-checked locking.
23987
23988 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
23989
23990         * gst/gsturi.c: (gst_element_make_from_uri):
23991           Fix potential endless loop.
23992
23993 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23994
23995         * check/Makefile.am:
23996           add gsttag
23997         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23998         (main):
23999           move over from testsuite dir and clean up
24000         * configure.ac:
24001         * gst/gsttag.c:
24002         * testsuite/Makefile.am:
24003         * testsuite/tags/.cvsignore:
24004         * testsuite/tags/Makefile.am:
24005         * testsuite/tags/merge.c:
24006           remove testsuite/tags
24007
24008 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24009
24010         * docs/gst/gstreamer-sections.txt:
24011         * docs/gst/tmpl/gstenumtypes.sgml:
24012         * win32/gstenumtypes.c:
24013           clean up documentation build a little
24014
24015 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24016
24017         * check/gstcheck.h:
24018           add macros for checking refcounts on objects and caps
24019         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24020           add some more unit tests
24021         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24022         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24023           fix leaked refcounts (I hope :)) so unittest works
24024         * gst/gstpad.h:
24025           whitespace removal
24026
24027 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24028
24029         * configure.ac: back to HEAD
24030
24031 === release 0.9.1 ===
24032
24033 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24034
24035         * NEWS:
24036         * RELEASE:
24037           updated
24038
24039 2005-06-17  Andy Wingo  <wingo@pobox.com>
24040
24041         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24042         assert; it's always possible that the pad gets deactivated in
24043         between the checks in gstpad.c and the implementation. Rely on
24044         finish_preroll() to return a FLUSHING or similar instead of on the
24045         assert.
24046         
24047         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24048         clock and post an EOS message if we come out of finish_preroll in
24049         the playing state.
24050
24051 2005-06-16  David Schleef  <ds@schleef.org>
24052
24053         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24054         (gst_capsfilter_set_property): Allow NULL as possible value
24055         for filter_caps property, indicating GST_CAPS_ANY.
24056
24057 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24058
24059         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24060           fix debug output
24061         * gst/schedulers/Makefile.am:
24062           use libgst prefix
24063         * gstreamer.spec.in:
24064           fix spec for it
24065
24066 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24067
24068         * gstreamer.spec.in:
24069           clean up
24070
24071 2005-06-08  Andy Wingo  <wingo@pobox.com>
24072
24073         * gst/gstutils.c: RPAD fixes all around.
24074         (gst_element_link_pads): Refcounting fixes.
24075
24076         * tools/gst-inspect.c:
24077         * tools/gst-xmlinspect.c:
24078         * parse/grammar.y:
24079         * gst/base/gsttypefindhelper.c:
24080         * gst/base/gstbasesink.c:
24081         * gst/gstqueue.c: RPAD fixes.
24082
24083         * gst/gstghostpad.h:
24084         * gst/gstghostpad.c: New ghost pad implementation as full proxy
24085         pads. The tricky thing is they provide both source and sink
24086         interfaces, since they proxy the internal pad for the external
24087         pad, and vice versa. Implement with lower-level ProxyPad objects,
24088         with the interior proxy pad as a child of the exterior ghost pad.
24089         Should write a doc on this.
24090         
24091         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24092         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24093         gst_object API.
24094         
24095         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24096         pads are real pads. No ghost pads in this file. Not documenting
24097         the myriad s/RPAD/PAD/ and REALIZE fixes.
24098         (gst_pad_class_init): Add properties for "direction" and
24099         "template". Both are construct-only, so they can't change during
24100         the life of the pad. Fixes properly deriving from GstPad.
24101         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24102         derived objects, just set properties when creating the objects via
24103         g_object_new.
24104         (gst_pad_get_parent): Implement as a function, return NULL if the
24105         parent is not an element.
24106         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24107         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24108         
24109         * gst/gstobject.c (gst_object_class_init): Make name a construct
24110         property. Don't set it in the object init.
24111
24112         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24113         with UNKNOWN direction.
24114         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24115         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24116         (gst_element_remove_pad): Remove ghost-pad special cases.
24117         (gst_element_pads_activate): Remove rpad cruft.
24118
24119         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24120         catch the pad's-parent-not-an-element case.
24121
24122         * gst/gst.h: Include gstghostpad.h.
24123
24124         * gst/gst.c (init_post): No more real, ghost pads.
24125
24126         * gst/Makefile.am: Add gstghostpad.[ch].
24127
24128         * check/Makefile.am:
24129         * check/gst/gstbin.c:
24130         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24131         into a bin creates ghost pads, and that the refcounts are right.
24132         Partly moved from gstbin.c.
24133
24134 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24135
24136         * check/gst-libs/.cvsignore:
24137         * check/gst/.cvsignore:
24138         * check/pipelines/.cvsignore:
24139           ignore more
24140         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24141         (START_TEST), (cleanup_suite), (main):
24142           add some tests related to cleanup after running pipelines
24143
24144 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24145
24146         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24147           add a testsuite for GstBuffer
24148
24149 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24150
24151         * gst/gstminiobject.h:
24152           add defines for accessing the refcount
24153
24154 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
24155
24156         * Makefile.am: added support for html unit test coverage reports
24157
24158 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
24159
24160         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24161           Free existing caps if the capsfilter changes. Add a FIXME about
24162           setting those caps on the pads.
24163
24164         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24165           Before adding a ghost pad to a parent bin, check that there isn't
24166           already one for the element on the bin. Prevents infinite recursion
24167           when using decodebin in parse pipelines. Andy says he'll rewrite the
24168           way this works anyway, so ignore the hack.
24169
24170 2005-06-02  Andy Wingo  <wingo@pobox.com>
24171
24172         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24173         file size, pass it on to the type find helper.
24174
24175         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24176         segment_start and segment_end properly according to the seek
24177         method. Segment_end is still a bit flaky because offset can be
24178         negative for CUR and END cases, but it takes -1 as an "unset"
24179         value.
24180
24181 2005-06-02  Wim Taymans  <wim@fluendo.com>
24182
24183         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24184         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24185         (gst_basesink_activate):
24186         * gst/base/gstbasesink.h:
24187         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24188         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24189         (gst_pad_query), (gst_pad_start_task):
24190         * gst/gstpad.h:
24191         * gst/gstqueue.c: (gst_queue_bufferalloc),
24192         (gst_queue_handle_sink_event), (gst_queue_chain):
24193         Bufferalloc: return GstFlowReturn to more accuratly report
24194         why allocation failed.
24195
24196 2005-06-02  Wim Taymans  <wim@fluendo.com>
24197
24198         * gst/gstpipeline.c: (gst_pipeline_send_event):
24199         Take snapshot of state without blocking.
24200
24201 2005-06-02  Wim Taymans  <wim@fluendo.com>
24202
24203         * docs/design/part-TODO.txt:
24204         * docs/design/part-caps.txt:
24205         * docs/design/part-clocks.txt:
24206         * docs/design/part-negotiation.txt:
24207         * docs/design/part-preroll.txt:
24208         Small doc updates 
24209
24210 2005-05-30  Wim Taymans  <wim@fluendo.com>
24211
24212         * gst/elements/gstidentity.c: (gst_identity_event),
24213         (gst_identity_transform), (gst_identity_get_property):
24214         Protect last_message property as it is accessed from
24215         multiple threads.
24216
24217 2005-05-30  Wim Taymans  <wim@fluendo.com>
24218
24219         * gst/gstelement.c: (gst_element_init),
24220         (gst_element_pads_activate), (gst_element_change_state):
24221         Slicker pad activation code.
24222
24223 2005-05-30  Wim Taymans  <wim@fluendo.com>
24224
24225         * gst/Makefile.am:
24226         * gst/gstelement.h:
24227         * gst/gstelementfactory.h:
24228         * gst/gsttypes.h:
24229         Move elementfactory methods to separate .h file.
24230
24231 2005-05-30  Wim Taymans  <wim@fluendo.com>
24232
24233         * docs/design/part-overview.txt:
24234         * gst/gstsystemclock.h:
24235         Small typo fixes, doc updates.
24236
24237 2005-05-30  Wim Taymans  <wim@fluendo.com>
24238
24239         * gst/gst.c: (gst_init_get_popt_table), (init_post),
24240         (init_popt_callback):
24241         Remove cpu-opt flag.
24242
24243 2005-05-30  Wim Taymans  <wim@fluendo.com>
24244
24245         * gst/gstbuffer.c: (gst_subbuffer_finalize),
24246         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24247         * gst/gstbuffer.h:
24248         Avoid typechecking in places where not needed.
24249         Added accessor for malloc_data.
24250
24251 2005-05-30  Wim Taymans  <wim@fluendo.com>
24252
24253         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24254         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24255         (gst_pad_configure_sink), (gst_pad_configure_src),
24256         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24257         (gst_pad_start_task):
24258         Propagate errors from _set_caps() in configure_src/sink
24259         functions instead of returning TRUE.
24260         FLUSH events can travel up and downstream
24261
24262
24263 2005-05-30  Wim Taymans  <wim@fluendo.com>
24264
24265         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24266         (gst_basesink_activate):
24267         Handle EOS in preroll.
24268
24269 2005-05-30  Wim Taymans  <wim@fluendo.com>
24270
24271         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24272         (gst_queue_loop), (gst_queue_handle_src_event):
24273         Remove old pieces of code
24274         Flushing the queue in an upstream event is a very bad idea.
24275
24276 2005-05-26  Andy Wingo  <wingo@pobox.com>
24277
24278         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24279         gst_value_set_mini_object so as to add a ref on the object (which
24280         will be removed when the value is unset).
24281
24282         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24283         arg type in ::handoff.
24284
24285         * gst/gstelement.c (gst_element_change_state): Also deactivate
24286         pads in READY->NULL, just in case the element didn't make it to
24287         PAUSED. Wingo tested, Wim approved.
24288
24289 2005-05-26  Wim Taymans  <wim@fluendo.com>
24290
24291         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24292         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24293         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24294         A flushing pad cannot be used to alloc_buffer from.
24295
24296 2005-05-26  Wim Taymans  <wim@fluendo.com>
24297
24298         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24299         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24300         (gst_bus_source_dispatch), (gst_bus_source_finalize),
24301         (gst_bus_create_watch), (gst_bus_add_watch_full):
24302         * gst/gstbus.h:
24303         Implement a real GSource and use g_main_context_wakeup() to
24304         signal new messages instead of the socketpair.
24305
24306 2005-05-25  Wim Taymans  <wim@fluendo.com>
24307
24308         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24309         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24310         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24311         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24312         (gst_pad_send_event), (gst_pad_start_task):
24313         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24314         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24315         (gst_queue_sink_activate), (gst_queue_src_activate),
24316         (gst_queue_change_state):
24317         * gst/gstqueue.h:
24318         Fix state changes for non sinks. We now change sinks, then elements
24319         with unconnected srcpads, then the rest.
24320         More efficient queue unlocking in flush and state changes.
24321         Set the pad activate mode even if it does not have an activate
24322         function.
24323
24324 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24325
24326         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24327           Don't go in pull mode for non-seekable sources.
24328         * gst/elements/gsttypefindelement.h:
24329         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24330         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24331         (free_entry), (stop_typefinding),
24332         (gst_type_find_element_handle_event), (find_peek),
24333         (gst_type_find_element_chain), (do_pull_typefind),
24334         (gst_type_find_element_change_state):
24335           Allow typefinding (w/o seeking) in push-mode, simplified version
24336           of what was in 0.8.
24337         * gst/gstutils.c: (gst_buffer_join):
24338         * gst/gstutils.h:
24339           gst_buffer_join() from 0.8.
24340
24341 2005-05-25  Wim Taymans  <wim@fluendo.com>
24342
24343         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24344         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24345         (gst_pad_send_event), (gst_pad_start_task):
24346         Disable attempt at mode switching until it is figured out.
24347
24348 2005-05-25  Wim Taymans  <wim@fluendo.com>
24349
24350         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24351         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24352         (gst_basesink_finish_preroll), (gst_basesink_chain),
24353         (gst_basesink_loop), (gst_basesink_activate),
24354         (gst_basesink_change_state):
24355         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24356         (gst_basesrc_get_range), (gst_basesrc_loop),
24357         (gst_basesrc_activate):
24358         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24359         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24360         (gst_real_pad_init), (gst_real_pad_set_property),
24361         (gst_real_pad_get_property), (gst_pad_set_active),
24362         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24363         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24364         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24365         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24366         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24367         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24368         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24369         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24370         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24371         (gst_pad_stop_task):
24372         * gst/gstpad.h:
24373         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24374         (gst_queue_loop), (gst_queue_src_activate):
24375         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24376         (gst_task_get_state):
24377         * gst/gsttask.h:
24378         * gst/schedulers/threadscheduler.c:
24379         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24380         Implement gst_pad_pause/start/stop_task(), take STREAM lock
24381         in task function.
24382         Remove ACTIVE pad flag, use FLUSHING everywhere
24383         Added _pad_chain(), _pad_get_range() to call chain/getrange 
24384         functions.
24385         Add locks around IS_FLUSHING when reading.
24386         Take STREAM lock in chain(), get_range() functions so plugins
24387         don't need to take it anymore.
24388         
24389
24390
24391 2005-05-25  Wim Taymans  <wim@fluendo.com>
24392
24393         * tools/gst-launch.c: (event_loop):
24394         Unref message after using its contents instead of
24395         before.
24396
24397 2005-05-24  Wim Taymans  <wim@fluendo.com>
24398
24399         * docs/design/draft-ghostpads.txt:
24400         * docs/design/draft-push-pull.txt:
24401         * docs/design/draft-query.txt:
24402         * docs/design/part-overview.txt:
24403         Docs updates, added general overview doc.
24404
24405 2005-05-21  David Schleef  <ds@schleef.org>
24406
24407         * docs/gst/tmpl/old/GstBin.sgml:
24408         * docs/gst/tmpl/old/GstBuffer.sgml:
24409         * docs/gst/tmpl/old/GstCaps.sgml:
24410         * docs/gst/tmpl/old/GstClock.sgml:
24411         * docs/gst/tmpl/old/GstCompat.sgml:
24412         * docs/gst/tmpl/old/GstData.sgml:
24413         * docs/gst/tmpl/old/GstElement.sgml:
24414         * docs/gst/tmpl/old/GstEvent.sgml:
24415         * docs/gst/tmpl/old/GstIndex.sgml:
24416         * docs/gst/tmpl/old/GstStructure.sgml:
24417         * docs/gst/tmpl/old/GstTag.sgml:
24418         * docs/gst/tmpl/old/cothreads.sgml:
24419         * docs/gst/tmpl/old/cothreads_compat.sgml:
24420         * docs/gst/tmpl/old/gettext.sgml:
24421         * docs/gst/tmpl/old/gobject2gtk.sgml:
24422         * docs/gst/tmpl/old/grammar.tab.sgml:
24423         * docs/gst/tmpl/old/gst-i18n-app.sgml:
24424         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24425         * docs/gst/tmpl/old/gst_private.sgml:
24426         * docs/gst/tmpl/old/gstaggregator.sgml:
24427         * docs/gst/tmpl/old/gstarch.sgml:
24428         * docs/gst/tmpl/old/gstatomic_impl.sgml:
24429         * docs/gst/tmpl/old/gstbufferstore.sgml:
24430         * docs/gst/tmpl/old/gstdata_private.sgml:
24431         * docs/gst/tmpl/old/gstdisksink.sgml:
24432         * docs/gst/tmpl/old/gstdisksrc.sgml:
24433         * docs/gst/tmpl/old/gstelementfactory.sgml:
24434         * docs/gst/tmpl/old/gstextratypes.sgml:
24435         * docs/gst/tmpl/old/gstfakesink.sgml:
24436         * docs/gst/tmpl/old/gstfakesrc.sgml:
24437         * docs/gst/tmpl/old/gstfdsink.sgml:
24438         * docs/gst/tmpl/old/gstfdsrc.sgml:
24439         * docs/gst/tmpl/old/gstfilesink.sgml:
24440         * docs/gst/tmpl/old/gstfilesrc.sgml:
24441         * docs/gst/tmpl/old/gsthttpsrc.sgml:
24442         * docs/gst/tmpl/old/gstidentity.sgml:
24443         * docs/gst/tmpl/old/gstindexfactory.sgml:
24444         * docs/gst/tmpl/old/gstmarshal.sgml:
24445         * docs/gst/tmpl/old/gstmd5sink.sgml:
24446         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24447         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24448         * docs/gst/tmpl/old/gstpadtemplate.sgml:
24449         * docs/gst/tmpl/old/gstpipefilter.sgml:
24450         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24451         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24452         * docs/gst/tmpl/old/gstshaper.sgml:
24453         * docs/gst/tmpl/old/gstspider.sgml:
24454         * docs/gst/tmpl/old/gstspideridentity.sgml:
24455         * docs/gst/tmpl/old/gststatistics.sgml:
24456         * docs/gst/tmpl/old/gsttee.sgml:
24457         * docs/gst/tmpl/old/gsttimecache.sgml:
24458         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24459         * docs/gst/tmpl/old/gstxmlregistry.sgml:
24460         * docs/gst/tmpl/old/gthread-cothreads.sgml:
24461         * docs/gst/tmpl/old/types.sgml:
24462           I didn't intend to add these or check them in.
24463
24464 2005-05-19  David Schleef  <ds@schleef.org>
24465
24466         * configure.ac: Use -no-common everywhere.  In a sane world, it
24467           would be the default in libtool, because without it, you can't
24468           build DLLs on Windows.
24469         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24470         * docs/gst/gstreamer-sections.txt:
24471         * docs/gst/tmpl/gstcpu.sgml:
24472         * docs/gst/tmpl/gstdata.sgml:
24473         * docs/gst/tmpl/gstthread.sgml:
24474
24475 2005-05-19  David Schleef  <ds@schleef.org>
24476
24477         * gst/gstminiobject.c: (gst_value_set_mini_object),
24478         (gst_value_take_mini_object), (gst_value_get_mini_object):
24479         * gst/gstminiobject.h: Add GValue set/get functions.
24480
24481 2005-05-19  Wim Taymans  <wim@fluendo.com>
24482
24483         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24484         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24485         (gst_subbuffer_init), (gst_buffer_is_span_fast):
24486         * gst/gstbuffer.h:
24487         * gst/gstbus.c: (gst_bus_post):
24488         * gst/gstelement.c: (gst_element_get_random_pad):
24489         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24490         Make subbufer unref the parent in finalize.
24491         some more debugging info.
24492
24493
24494 2005-05-19  Wim Taymans  <wim@fluendo.com>
24495
24496         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24497         (gst_basesink_init), (gst_basesink_finalize),
24498         (gst_basesink_activate), (gst_basesink_change_state):
24499         Don't free preroll queue too early.
24500
24501 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24502
24503         * gst/Makefile.am:
24504         * gst/ROADMAP:
24505           Hi, I'm outdated. Please shoot me.
24506
24507 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24508
24509         * gst/gstpipeline.c: (gst_pipeline_send_event):
24510           Do not access variables after they have been deleted.
24511
24512 2005-05-19  Wim Taymans  <wim@fluendo.com>
24513
24514         * tools/gst-inspect.c: (print_plugin_features):
24515         A plugin feature does unfortunatly not use the
24516         object name yet...
24517
24518 2005-05-18  Wim Taymans  <wim@fluendo.com>
24519
24520         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24521         Port _span() functions to new subbuffers.
24522
24523 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24524
24525         * gst/gstbin.c: (gst_bin_add_func):
24526           Fix clock settery in bins when adding kids after the clock has
24527           been selected.
24528
24529 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24530
24531         * gst/elements/gstidentity.c: (gst_identity_class_init):
24532           Workaround until signals support GstMiniObject.
24533
24534 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
24535
24536         * gst/gstbuffer.c:
24537         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24538
24539 2005-05-18  Wim Taymans  <wim@fluendo.com>
24540
24541         * gst/base/Makefile.am:
24542         * gst/base/gstadapter.c: (gst_adapter_base_init),
24543         (gst_adapter_class_init), (gst_adapter_init),
24544         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24545         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24546         (gst_adapter_flush), (gst_adapter_available),
24547         (gst_adapter_available_fast):
24548         * gst/base/gstadapter.h:
24549         Ported and added adapter to the base classes.
24550
24551 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24552
24553         * gst/gst.c:
24554         * gst/gstmessage.c:
24555           Make sure the class is reffed/unreffed once before threads can be
24556           used.  Fixes #304551.
24557
24558 2005-05-17  Wim Taymans  <wim@fluendo.com>
24559
24560         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24561         (gst_basesink_chain_unlocked), (gst_basesink_activate):
24562         * gst/gstminiobject.c: (gst_mini_object_get_type),
24563         (gst_mini_object_free):
24564         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24565         (gst_pad_push), (gst_pad_push_event):
24566         * gst/gstqueue.c: (gst_queue_change_state):
24567         Don't queue buffers in basesink when we are flushing.
24568         Unref buffer when flushing in basesink.
24569         Flush queue when going to READY
24570         Unref buffer when _push() returns an error.
24571         Don't free MiniObject instance when refcount is incremented
24572         in _finalize() so that we can recover objects.
24573
24574 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24575
24576         * docs/manual/advanced-schedulers.xml:
24577         * docs/manual/appendix-checklist.xml:
24578         * docs/pwg/advanced-clock.xml:
24579         * docs/pwg/advanced-interfaces.xml:
24580         * docs/pwg/advanced-request.xml:
24581         * docs/pwg/advanced-types.xml:
24582         * docs/pwg/intro-preface.xml:
24583         * examples/plugins/example.c: (gst_example_get_type),
24584         (gst_example_class_init), (gst_example_chain),
24585         (gst_example_set_property), (gst_example_get_property),
24586         (gst_example_change_state), (plugin_init):
24587         * examples/plugins/example.h:
24588           small doc fixes
24589
24590 2005-05-17  Wim Taymans  <wim@fluendo.com>
24591
24592         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24593         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24594         * gst/gstqueue.c: (gst_queue_change_state):
24595         Clear queue when going to READY.
24596         Remove IN_SETCAPS flag too.
24597
24598 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
24599
24600         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24601           Remove implicit cast from gboolean to GstElementStateReturn;
24602           make sure we still return failure in paused => ready case if
24603           the parent class fails to change state and our own stop 
24604           vfunc succeeds.
24605
24606 2005-05-17  Wim Taymans  <wim@fluendo.com>
24607
24608         * tools/gst-launch.c: (event_loop):
24609         Message was unreffed too soon.
24610
24611 2005-05-16  Andy Wingo  <wingo@pobox.com>
24612
24613         * gst/gstbin.c (sink_iterator_filter): Err... um...
24614
24615         * check/gst/gstbin.c (test_ghost_pads): New test for the
24616         ghosting-if-elements-not-in-same-bin behavior.
24617
24618 2005-05-16  David Schleef  <ds@schleef.org>
24619
24620         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24621         accessing refcount directly.
24622
24623 2005-05-15  David Schleef  <ds@schleef.org>
24624
24625         * check/Makefile.am: remove GstData checks
24626         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24627         * gst/Makefile.am: add miniobject, remove data
24628         * gst/gst.h: add miniobject, remove data
24629         * gst/gstdata.c: remove
24630         * gst/gstdata.h: remove
24631         * gst/gstdata_private.h: remove
24632         * gst/gsttypes.h: remove GstEvent and GstMessage
24633         * gst/gstelement.c: (gst_element_post_message): fix for API changes
24634         * gst/gstmarshal.list: change BOXED -> OBJECT
24635
24636         Implement GstMiniObject.
24637         * gst/gstminiobject.c:
24638         * gst/gstminiobject.h:
24639
24640         Modify to be subclasses of GstMiniObject.
24641         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24642         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24643         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24644         (gst_subbuffer_get_type), (gst_subbuffer_init),
24645         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24646         (gst_buffer_span):
24647         * gst/gstbuffer.h:
24648         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24649         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24650         (_gst_event_copy), (gst_event_new):
24651         * gst/gstevent.h:
24652         * gst/gstmessage.c: (_gst_message_initialize),
24653         (gst_message_get_type), (gst_message_class_init),
24654         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24655         (gst_message_new), (gst_message_new_error),
24656         (gst_message_new_warning), (gst_message_new_tag),
24657         (gst_message_new_state_changed), (gst_message_new_application):
24658         * gst/gstmessage.h:
24659         * gst/gstprobe.c: (gst_probe_perform),
24660         (gst_probe_dispatcher_dispatch):
24661         * gst/gstprobe.h:
24662         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24663         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24664         (_gst_query_copy), (gst_query_new):
24665
24666         Update elements for GstData -> GstMiniObject changes
24667         * gst/gstquery.h:
24668         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24669         (gst_queue_chain), (gst_queue_loop):
24670         * gst/elements/gstbufferstore.c:
24671         (gst_buffer_store_add_buffer_func),
24672         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24673         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24674         (gst_fakesink_render):
24675         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24676         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24677         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24678         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24679         (gst_filesrc_create_read):
24680         * gst/elements/gstidentity.c: (gst_identity_class_init):
24681         * gst/elements/gsttypefindelement.c:
24682         (gst_type_find_element_src_event), (free_entry_buffers),
24683         (gst_type_find_element_handle_event):
24684         * libs/gst/dataprotocol/dataprotocol.c:
24685         (gst_dp_header_from_buffer):
24686         * libs/gst/dataprotocol/dataprotocol.h:
24687         * libs/gst/dataprotocol/dp-private.h:
24688
24689 2005-05-15  David Schleef  <ds@schleef.org>
24690
24691         * gst/elements/gstelements.c: Don't include headers that were
24692         just removed.
24693
24694 2005-05-15  David Schleef  <ds@schleef.org>
24695
24696         * gst/elements/Makefile.am: Remove some elements that don't
24697         need to be in the core (or even exist at all).
24698         * gst/elements/gstaggregator.c:
24699         * gst/elements/gstaggregator.h:
24700         * gst/elements/gstmd5sink.c:
24701         * gst/elements/gstmd5sink.h:
24702         * gst/elements/gstmultifilesrc.c:
24703         * gst/elements/gstmultifilesrc.h:
24704         * gst/elements/gstpipefilter.c:
24705         * gst/elements/gstpipefilter.h:
24706         * gst/elements/gstshaper.c:
24707         * gst/elements/gstshaper.h:
24708         * gst/elements/gststatistics.c:
24709         * gst/elements/gststatistics.h:
24710         * po/POTFILES.in: Remove above files.
24711
24712 2005-05-14  Andy Wingo  <wingo@pobox.com>
24713
24714         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24715         so as to get the refs right.
24716         (sink_iterator_filter): New function, wraps bin_element_is_sink,
24717         unreffing objects that don't pass the filter.
24718
24719         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24720         gst_element_set_bus.
24721         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24722         normal cases, this will destroy the bus.
24723
24724         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24725         object.
24726
24727         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24728         has no sinks.
24729
24730 2005-05-13  Andy Wingo  <wingo@pobox.com>
24731
24732         * gst/gstutils.c (gst_element_link_pads): Instead of calling
24733         gst_pad_link, call pad_link_maybe_ghosting,
24734         (pad_link_maybe_ghosting): Links pads, making sure that the
24735         elements being linked are in the same bin.
24736         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24737         Helpers for pad_link_maybe_ghosting.
24738
24739 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24740
24741         * configure.ac:
24742           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24743
24744 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24745
24746         * docs/design/part-element-source.txt:
24747           Mention GstPushSrc
24748
24749 2005-05-12  Wim Taymans  <wim@fluendo.com>
24750
24751         * gst/base/gstbasesink.c: (gst_basesink_init),
24752         (gst_basesink_activate):
24753         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24754         (gst_basesrc_is_seekable):
24755         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24756         (bin_element_is_sink), (gst_bin_change_state):
24757         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24758         * gst/gstelement.h:
24759         Identify sinks by their flag to avoid overly complicated
24760         checks (fow now).
24761         Do state changes even for elements not reachable from the
24762         sinks.
24763         BaseSink is a sink now :)
24764         Some more debugging info in the basesrc.
24765
24766
24767 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24768
24769         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24770           Implement _query on a bin, similar to _send_event.
24771
24772 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
24773
24774         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24775           Discont event offset format should be GST_FORMAT_BYTES,
24776           not GST_FORMAT_TIME.
24777
24778 2005-05-12  Wim Taymans  <wim@fluendo.com>
24779
24780         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24781         Same fix as Ronald's but without the signal. 
24782
24783 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24784
24785         * gst/gstutils.c: (gst_element_query_position):
24786           No, an element is not a pad.
24787
24788 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24789
24790         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24791         (gst_bin_get_state):
24792           If a child is removed from a bin while we remove the child from
24793           the bin and while we're retrieving its state, signal this to the
24794           get_state function so we abort the wait (instead of waiting for
24795           a timeout) and can immediately re-iterate over all other elements.
24796
24797 2005-05-12  Wim Taymans  <wim@fluendo.com>
24798
24799         * gst/base/Makefile.am:
24800         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24801         (gst_basesrc_start):
24802         * gst/base/gstbasesrc.h:
24803         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24804         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24805         (gst_pushsrc_init), (gst_pushsrc_create):
24806         * gst/base/gstpushsrc.h:
24807         Added is_seekable to BaseSrc
24808         Added simple PushSrc.
24809
24810 2005-05-11  Wim Taymans  <wim@fluendo.com>
24811
24812         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24813         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24814         (gst_element_link_pads), (gst_element_query_position),
24815         (gst_element_query_convert), (intersect_caps_func),
24816         (gst_pad_query_position), (gst_pad_query_convert):
24817         Fix refcounting in utils function.
24818         No point in trying to activate a pad when it's added, it could
24819         be added from the state change function and then we deadlock, the
24820         element has to decide what to do.
24821
24822 2005-05-10  Andy Wingo  <wingo@pobox.com>
24823
24824         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24825         *all* the arguments.
24826
24827         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24828         stream lock if it's a FLUSH_DONE; normal flushes don't get the
24829         lock (according to the docs -- if this is wrong change the docs).
24830
24831         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24832         flush messages in the NULL state.
24833
24834         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24835         message immediately and return.
24836         (gst_bus_set_flushing): New function. If a bus is flushing, it
24837         flushes out any queued messages and immediately unrefs new
24838         messages. This is so when an element goes to NULL, all of the
24839         unhandled messages coming from it can be freed, and their
24840         references to the element dropped. In other words: message source
24841         ref considered harmful :P
24842
24843         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24844         we're finished with it.
24845
24846         * gst/gstmessage.c (gst_message_new_state_changed): 
24847
24848 2005-05-10  Wim Taymans  <wim@fluendo.com>
24849
24850         * gst/gstvalue.c: (gst_value_compare_flags),
24851         (gst_value_serialize_flags), (gst_value_deserialize_flags),
24852         (_gst_value_initialize):
24853         Added flags serialize/deserialize/compare code.
24854
24855 2005-05-09  Andy Wingo  <wingo@pobox.com>
24856
24857         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24858         Intersect the peer's caps with our caps.
24859
24860 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24861
24862         * gst/base/gsttypefindhelper.c: (helper_find_peek):
24863         * gst/elements/gsttypefindelement.c: (find_peek):
24864           Handle negative offsets better. Fixes decodebin.
24865
24866 2005-05-09  Wim Taymans  <wim@fluendo.com>
24867
24868         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24869         (gst_base_transform_event):
24870         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24871         Implement accept_caps.
24872         Fix silly lock/unlock mismatch in base class.
24873
24874 2005-05-09  Wim Taymans  <wim@fluendo.com>
24875
24876         * docs/design/draft-push-pull.txt:
24877         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24878         * gst/elements/gstfilesink.c: (gst_filesink_init),
24879         (gst_filesink_query):
24880         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24881         (gst_type_find_handle_src_query), (find_element_get_length):
24882         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24883         * gst/gstelement.h:
24884         * gst/gstmessage.c:
24885         * gst/gstmessage.h:
24886         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24887         (gst_real_pad_get_caps_unlocked),
24888         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24889         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24890         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24891         (gst_real_pad_dispose), (gst_real_pad_finalize),
24892         (gst_pad_load_and_link), (gst_pad_save_thyself),
24893         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24894         (gst_pad_check_pull_range), (gst_pad_pull_range),
24895         (gst_pad_template_get_type), (gst_pad_template_class_init),
24896         (gst_pad_template_init), (gst_pad_template_dispose),
24897         (name_is_valid), (gst_static_pad_template_get),
24898         (gst_pad_template_new), (gst_static_pad_template_get_caps),
24899         (gst_pad_template_get_caps), (gst_pad_set_element_private),
24900         (gst_pad_get_element_private), (gst_pad_start_task),
24901         (gst_pad_pause_task), (gst_pad_stop_task),
24902         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24903         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24904         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24905         (gst_ghost_pad_new):
24906         * gst/gstpad.h:
24907         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24908         (gst_query_new_position), (gst_query_set_position),
24909         (gst_query_parse_position), (gst_query_new_convert),
24910         (gst_query_set_convert), (gst_query_parse_convert):
24911         * gst/gstquery.h:
24912         * gst/gstqueryutils.c:
24913         * gst/gstqueryutils.h:
24914         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24915         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24916         (gst_queue_handle_src_query):
24917         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24918         (gst_element_query_position), (gst_element_query_convert),
24919         (intersect_caps_func), (gst_pad_query_position),
24920         (gst_pad_query_convert):
24921         * gst/gstutils.h:
24922         * tools/gst-inspect.c: (print_pad_info):
24923         * tools/gst-xmlinspect.c: (print_element_info):
24924         Remove old query functions. Ported old code.
24925         Added position/convert helper functions to gstutils.
24926         Reordered gstpad.c code, grouping relevant things.
24927         Remove gst_message_new(), always need to speficy a specific
24928         message.
24929
24930
24931 2005-05-09  Andy Wingo  <wingo@pobox.com>
24932
24933         * gst/gstiterator.h: Add some includes.
24934
24935         * gst/gstqueryutils.h: Include more headers.
24936
24937         * gst/gstpad.h:
24938         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24939         some uses of gst_pad_query.
24940
24941         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24942         NULL out parameters.
24943         (gst_query_new_position): New proc, allocates a new position
24944         query.
24945
24946         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24947         gstqueryutils.c to the build.
24948
24949         * gst/gststructure.c (gst_structure_set_valist): Implement with
24950         the generic G_VALUE_COLLECT.
24951         
24952 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
24953
24954         * gst/Makefile.am: (gst_headers):
24955         Added gstqueryutils.h to the list of headers to install, that was
24956         a 'nachty' move wingo :)
24957
24958 2005-05-06  Andy Wingo  <wingo@pobox.com>
24959
24960         * gst/gstquery.h
24961         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24962         GstData, init a memchunk.
24963         (standard_definitions): Add a few query types, deprecate a few.
24964         (gst_query_get_type): New proc.
24965         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24966         implementation.
24967         (gst_query_new_application, gst_query_get_structure): New public
24968         procs.
24969
24970         * docs/design/draft-query.txt: Removed LINKS from the query types,
24971         because all the rest can be dispatched to other pads -- seemed
24972         ugly to have a query that couldn't be dispatched. internal_links
24973         is fine as a pad method.
24974
24975         * gst/gstpad.h: Add query2 as a pad method, add the new functions
24976         in gstpad.c, but maintain binary compatibility for the moment.
24977         Will fix before 0.9 is out.
24978
24979         * gst/gstqueryutils.c: 
24980         * gst/gstqueryutils.h: New files, implement 3 methods for each
24981         query type: parse_query, parse_response, and set. Probably need an
24982         allocator as well.
24983
24984         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24985
24986         * gst/elements/gstfilesink.c (gst_filesink_query2):
24987         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24988         query_types, and formats methods.
24989
24990         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24991         (gst_pad_set_query2_function): New functions.
24992         (gst_real_pad_init): Set query2_default as the default query2
24993         function. Basically just dispatches to internally linked pads.
24994
24995         Needs review!
24996         
24997         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24998         without using the atomic operations. Only one thread can possibly
24999         be accessing the data at this point. Changed so as to avoid
25000         gst_atomic operations.
25001
25002 2005-05-06  Wim Taymans  <wim@fluendo.com>
25003
25004         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
25005         Also set caps if we use the fallback buffer alloc.
25006
25007 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
25008
25009         * docs/gst/Makefile.am:
25010         * docs/gst/gstreamer-docs.sgml:
25011         * docs/gst/gstreamer-sections.txt:
25012         * docs/gst/tmpl/gstatomic.sgml:
25013         * docs/gst/tmpl/gstmemchunk.sgml:
25014         * testsuite/elements/struct_i386.h:
25015         * win32/GStreamer.vcproj:
25016         * win32/Makefile:
25017           Purge GstAtomic stuff from docs and win32 makefiles as well
25018
25019 2005-05-06  Wim Taymans  <wim@fluendo.com>
25020
25021         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25022         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25023         * gst/gstpad.c: (gst_pad_peer_get_caps):
25024         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25025         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25026         (gst_queue_src_activate), (gst_queue_change_state):
25027         * gst/gstqueue.h:
25028         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25029         (intersect_caps_func):
25030         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25031         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25032         Some fixes for the peer_get_caps() change.
25033
25034 2005-05-06  Wim Taymans  <wim@fluendo.com>
25035
25036         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25037         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25038         (gst_basesink_activate):
25039         Actually do something with error codes returned from the push
25040         functions.
25041
25042 2005-05-06  Wim Taymans  <wim@fluendo.com>
25043
25044         * docs/design/part-element-sink.txt:
25045         * docs/design/part-element-source.txt:
25046         * gst/base/gstbasesink.c: (gst_basesink_class_init),
25047         (gst_basesink_event), (gst_basesink_activate):
25048         * gst/base/gstbasesink.h:
25049         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25050         (gst_basesrc_activate):
25051         * gst/base/gstbasesrc.h:
25052         * gst/gstelement.c: (gst_element_pads_activate):
25053         Some more documentation.
25054         Fixed scheduling decision in _pads_activate().
25055
25056 2005-05-05  Andy Wingo  <wingo@pobox.com>
25057
25058         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25059         the test suite.
25060
25061 2005-05-05  Wim Taymans  <wim@fluendo.com>
25062
25063         * gst/base/Makefile.am:
25064         * gst/base/gstbasesink.h:
25065         * gst/base/gstbasesrc.c: (gst_basesrc_init),
25066         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25067         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25068         (gst_collectpads_class_init), (gst_collectpads_init),
25069         (gst_collectpads_finalize), (gst_collectpads_new),
25070         (gst_collectpads_set_function), (gst_collectpads_add_pad),
25071         (find_pad), (gst_collectpads_remove_pad),
25072         (gst_collectpads_is_active), (gst_collectpads_collect),
25073         (gst_collectpads_collect_range), (gst_collectpads_start),
25074         (gst_collectpads_stop), (gst_collectpads_peek),
25075         (gst_collectpads_pop), (gst_collectpads_available),
25076         (gst_collectpads_read), (gst_collectpads_flush),
25077         (gst_collectpads_chain):
25078         * gst/base/gstcollectpads.h:
25079         * gst/elements/Makefile.am:
25080         * gst/elements/gstelements.c:
25081         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25082         (gst_fakesink_get_times), (gst_fakesink_event),
25083         (gst_fakesink_preroll), (gst_fakesink_render):
25084         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25085         (gst_filesink_init), (gst_filesink_set_location),
25086         (gst_filesink_open_file), (gst_filesink_close_file),
25087         (gst_filesink_pad_query), (gst_filesink_event),
25088         (gst_filesink_render), (gst_filesink_change_state):
25089         * gst/elements/gstfilesink.h:
25090         Added object to help in making collect pad based elements.
25091         Ported filesink.
25092         Make event function in sink baseclass return gboolean.
25093
25094 2005-05-05  Wim Taymans  <wim@fluendo.com>
25095
25096         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25097         (gst_bin_get_by_name):
25098         * gst/gstbuffer.h:
25099         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25100         (gst_clock_finalize):
25101         * gst/gstdata.c: (gst_data_replace):
25102         * gst/gstdata.h:
25103         * gst/gstelement.c: (gst_element_request_pad),
25104         (gst_element_pads_activate):
25105         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25106         (gst_object_unref):
25107         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25108         (gst_pad_set_checkgetrange_function),
25109         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25110         (gst_pad_check_pull_range), (gst_pad_pull_range),
25111         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25112         (gst_pad_pause_task), (gst_pad_stop_task):
25113         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25114         (gst_element_request_pad), (gst_pad_proxy_getcaps):
25115         Fix name lookup in GstBin.
25116         Added _data_replace() function and _buffer_replace()
25117         Use finalize method to clean up clock.
25118         Fix refcounting on request pads.
25119         Fix pad schedule mode error.
25120         Some more object refcounting debug info,
25121
25122
25123 2005-05-04  Andy Wingo <wingo@pobox.com>
25124
25125         * check/Makefile.am:
25126         * docs/gst/tmpl/gstatomic.sgml:
25127         * docs/gst/tmpl/gstplugin.sgml:
25128         * gst/base/gstbasesink.c: (gst_basesink_activate):
25129         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25130         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25131         (gst_basesrc_query), (gst_basesrc_set_property),
25132         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25133         (gst_basesrc_activate):
25134         * gst/base/gstbasesrc.h:
25135         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25136         (gst_base_transform_src_activate):
25137         * gst/elements/gstelements.c:
25138         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25139         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25140         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25141         * gst/elements/gsttypefindelement.c: (find_element_get_length),
25142         (gst_type_find_element_checkgetrange),
25143         (gst_type_find_element_activate):
25144         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25145         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25146         (gst_caps_load_thyself):
25147         * gst/gstelement.c: (gst_element_pads_activate),
25148         (gst_element_save_thyself), (gst_element_restore_thyself):
25149         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25150         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25151         * gst/gstpad.h:
25152         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25153         (gst_xml_parse_file), (gst_xml_parse_memory),
25154         (gst_xml_get_element), (gst_xml_make_element):
25155         * gst/indexers/gstfileindex.c: (gst_file_index_load),
25156         (_file_index_id_save_xml), (gst_file_index_commit):
25157         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25158         (read_enum), (load_pad_template), (load_feature), (load_plugin),
25159         (load_paths):
25160         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25161         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25162         * tools/gst-complete.c: (main):
25163         * tools/gst-compprep.c: (main):
25164         * tools/gst-inspect.c: (print_element_properties_info):
25165         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25166         * tools/gst-xmlinspect.c: (print_element_properties):
25167         GCC 4 fixen.
25168         
25169 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25170
25171         * gst/gstplugin.c: (gst_plugin_check_module),
25172         (gst_plugin_check_file), (gst_plugin_load_file):
25173             apply patch from #172526 to make register work on MacOSX
25174
25175 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25176
25177         * docs/gst/tmpl/gstconfig.sgml:
25178         * gst/gstconfig.h.in:
25179           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
25180         * testsuite/debug/printf_extension.c: (main):
25181           Do not use GST_PTR_FORMAT on pointers to types with
25182           sizeof < sizeof(gpointer).  Fixes test on 64-bit
25183         * testsuite/elements/property.h:
25184           use correct printf format
25185
25186 2005-05-02  Wim Taymans  <wim@fluendo.com>
25187
25188         * docs/design/draft-push-pull.txt:
25189         * docs/design/draft-query.txt:
25190         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25191         (gst_basesrc_start):
25192         Added draft for new query API.
25193         Added draft for better selecting scheduling methods.
25194         Make basesrc ignore length if the subclass does not support
25195         it.
25196
25197 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25198
25199         * gst/Makefile.am:
25200           possible fixes for automake-1.5 - _LIBADD is reserved
25201
25202 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25203
25204         * docs/faq/Makefile.am:
25205         * docs/manual/Makefile.am:
25206         * docs/manuals.mak:
25207         * docs/pwg/Makefile.am:
25208         * gst/Makefile.am:
25209           possible fixes for automake-1.5
25210
25211 2005-04-28  Wim Taymans  <wim@fluendo.com>
25212
25213         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25214         (gst_basesink_pad_getcaps), (gst_basesink_init),
25215         (gst_basesink_do_sync):
25216         * gst/gstclock.c: (gst_clock_entry_new):
25217         * gst/gstevent.c: (gst_event_discont_get_value):
25218         * gst/gstpipeline.c: (pipeline_bus_handler),
25219         (gst_pipeline_change_state):
25220         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25221         Better debugging of clocking info.
25222         Allow NULL values when getting discont values.
25223
25224 2005-04-27  Wim Taymans  <wim@fluendo.com>
25225
25226         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25227         * check/gst/gstpad.c: (gst_pad_suite):
25228         Increase timeout for checks.
25229
25230 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25231
25232         * check/Makefile.am:
25233           fix the broken rule for cleanup.  Apparently this rule is
25234           only needed on FC2, so maybe this warrants further autotool
25235           inspection.
25236
25237 2005-04-26  Wim Taymans  <wim@fluendo.com>
25238
25239         * gst/gsttrashstack.h:
25240         Ooohh. a nasty one! After having a failed pop() from the stack,
25241         it's possible that the stack is empty. In that case, don't
25242         follow the NULL pointer.
25243
25244 2005-04-25  Wim Taymans  <wim@fluendo.com>
25245
25246         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25247         (gst_pad_set_checkgetrange_function),
25248         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25249         (gst_pad_check_pull_range), (gst_pad_pull_range),
25250         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25251         (gst_pad_pause_task), (gst_pad_stop_task):
25252         * gst/gstplugin.c: (gst_plugin_load):
25253         * gst/gstplugin.h:
25254         Remove gst_library_load as it does more harm than good with
25255         the new g_module flags.
25256         Revert bogus caps template check in pad linking, pad caps
25257         are important when linking not the template, which is more
25258         general than the current caps.
25259
25260 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25261
25262         * gst/autoplug/.cvsignore:
25263         * gst/autoplug/Makefile.am:
25264         * gst/autoplug/gstsearchfuncs.c:
25265         * gst/autoplug/gstsearchfuncs.h:
25266         * gst/autoplug/gstspider.c:
25267         * gst/autoplug/gstspider.h:
25268         * gst/autoplug/gstspideridentity.c:
25269         * gst/autoplug/gstspideridentity.h:
25270         * gst/autoplug/spidertest.c:
25271           Die, spider, die.
25272
25273 2005-04-25  Wim Taymans  <wim@fluendo.com>
25274
25275         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25276         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25277         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25278         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25279         * gst/gstpad.h:
25280         Added stubs for unimplemented functions. 
25281
25282 2005-04-24  David Schleef  <ds@schleef.org>
25283
25284         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
25285         please fix.
25286
25287 2005-04-24  David Schleef  <ds@schleef.org>
25288
25289         Convert everything from GstAtomicInt to g_atomic_int_*, and
25290         remove gstatomic.
25291         * gst/Makefile.am:
25292         * gst/gstatomic.c:
25293         * gst/gstatomic.h:
25294         * gst/gstatomic_impl.h:
25295         * gst/gstbuffer.c:
25296         * gst/gstcaps.c:
25297         * gst/gstcaps.h:
25298         * gst/gstclock.c:
25299         * gst/gstclock.h:
25300         * gst/gstdata.c:
25301         * gst/gstdata.h:
25302         * gst/gstdata_private.h:
25303         * gst/gstevent.c:
25304         * gst/gstinfo.c:
25305         * gst/gstinfo.h:
25306         * gst/gstmessage.c:
25307         * gst/gstobject.c:
25308         * gst/gstobject.h:
25309         * gst/gststructure.c:
25310         * gst/gststructure.h:
25311         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25312         * gst/gstutils.h:
25313
25314 2005-04-24  David Schleef  <ds@schleef.org>
25315
25316         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25317         make the regressions tests work.  Remove some code that is no
25318         longer true.
25319         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25320         Disable warning for pads without templates.
25321
25322 2005-04-24  David Schleef  <ds@schleef.org>
25323
25324         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
25325         functions that handle filtered links.
25326         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25327         removed functions.
25328         * gst/gstutils.c: Fix/remove utility functions that handle
25329         filtered caps.
25330         * gst/gstutils.h:
25331         * gst/gstvalue.c: Add serialization/deserialization of caps
25332         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
25333         requires fixing so that the filter caps notation creates
25334         a capsfilter element and sets the filter_caps property.  I
25335         think everyone probably wants to keep the shorthand notation.
25336         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25337         * docs/gst/tmpl/gstpad.sgml:
25338
25339         * gst/elements/gstelements.c: Register capsfilter element.
25340         * gst/Makefile.am: fix spacing
25341         * docs/random/ds/0.9-suggested-changes: random
25342
25343 2005-04-23  David Schleef  <ds@schleef.org>
25344
25345         * gst/elements/Makefile.am:
25346         * gst/elements/gstcapsfilter.c: New element that acts like an
25347         identity, but filters caps.  Will eventually replace filtered
25348         caps in pad linking.
25349         * gst/gstutils.c: (gst_element_create_all_pads): New function
25350         to create all the ALWAYS pads that are registered with an
25351         element class.  This functionality should eventually be
25352         merged in with GstElement initialization.
25353         * gst/gstutils.h:
25354         * testsuite/trigger/README: part of trigger test code that should
25355         have been checked in a long time ago.
25356
25357 2005-04-23  David Schleef  <ds@schleef.org>
25358
25359         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
25360         needed with new versions of libtool (nobody will confirm this),
25361         and hard to carry around.
25362         * gst/autoplug/Makefile.am:
25363         * gst/base/Makefile.am:
25364         * gst/elements/Makefile.am:
25365         * gst/indexers/Makefile.am:
25366         * gst/schedulers/Makefile.am:
25367         * libs/gst/bytestream/Makefile.am:
25368         * libs/gst/control/Makefile.am:
25369         * libs/gst/dataprotocol/Makefile.am:
25370         * libs/gst/getbits/Makefile.am:
25371
25372 2005-04-21  Wim Taymans  <wim@fluendo.com>
25373
25374         * docs/design/draft-push-pull.txt:
25375         * docs/design/part-MT-refcounting.txt:
25376         * docs/design/part-TODO.txt:
25377         * docs/design/part-caps.txt:
25378         * docs/design/part-events.txt:
25379         * docs/design/part-gstbus.txt:
25380         * docs/design/part-gstpipeline.txt:
25381         * docs/design/part-messages.txt:
25382         * docs/design/part-push-pull.txt:
25383         * docs/design/part-query.txt:
25384         Some more docs.
25385
25386 2005-04-21  Wim Taymans  <wim@fluendo.com>
25387
25388         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25389         (gst_message_new), (gst_message_new_error),
25390         (gst_message_new_warning), (gst_message_new_tag),
25391         (gst_message_new_state_changed), (gst_message_new_application),
25392         (gst_message_get_structure):
25393         * gst/gstmessage.h:
25394         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25395         (gst_structure_copy_conditional):
25396         Use parent refcount in GstMessage to ensure GstStructure
25397         consistency.
25398         Cleaned up headers a bit.
25399         
25400
25401 2005-04-20  Wim Taymans  <wim@fluendo.com>
25402
25403         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25404         (gst_basesink_pad_getcaps), (gst_basesink_init),
25405         (gst_basesink_chain_unlocked):
25406         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25407         (gst_type_find_helper):
25408         * gst/elements/gsttypefindelement.c:
25409         (gst_type_find_element_have_type), (gst_type_find_element_init),
25410         (stop_typefinding), (gst_type_find_element_handle_event),
25411         (find_suggest), (gst_type_find_element_chain),
25412         (gst_type_find_element_checkgetrange),
25413         (gst_type_find_element_getrange), (do_typefind),
25414         (gst_type_find_element_activate):
25415         * gst/gstbuffer.c: (_gst_buffer_sub_free),
25416         (gst_buffer_default_free), (gst_buffer_default_copy),
25417         (gst_buffer_set_caps):
25418         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25419         (gst_caps_replace):
25420         * gst/gstmessage.c: (gst_message_new),
25421         (gst_message_new_state_changed):
25422         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25423         (gst_pad_set_checkgetrange_function),
25424         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25425         (gst_pad_set_caps), (gst_pad_check_pull_range),
25426         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25427         * gst/gstpad.h:
25428         * gst/gsttypefind.c: (gst_type_find_register):
25429         Make gst_caps_replace() work like other _replace() functions.
25430         Use _caps_replace() where possible.
25431         Make sure _message_new() initialises its field.
25432         Add gst_static_pad_template_get_caps()
25433
25434
25435 2005-04-18  Andy Wingo  <wingo@pobox.com>
25436
25437         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25438         on the peer, not the pad. I think that was a typo. Pass an extra
25439         arg to see if random access is possible. Activate the pads as
25440         PULL_RANGE if possible.
25441
25442         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25443
25444         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
25445         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25446         to PROP_....
25447
25448 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25449
25450         * docs/faq/using.xml:
25451           Add note on gstreamer-properties (#154996).
25452
25453 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25454
25455         * docs/random/bbb/optional-properties:
25456           Some analysis on optional properties.
25457
25458 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25459
25460         * docs/gst/tmpl/gstelementfactory.sgml:
25461         * gst/gstelement.h:
25462         * gst/gstelementfactory.c: (gst_element_factory_init),
25463         (gst_element_factory_cleanup), (gst_element_register),
25464         (__gst_element_factory_add_static_pad_template),
25465         (gst_element_factory_get_static_pad_templates),
25466         (gst_element_factory_can_src_caps),
25467         (gst_element_factory_can_sink_caps):
25468         * gst/registries/Makefile.am:
25469         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25470         (gst_xml_registry_class_init), (gst_xml_registry_init),
25471         (gst_xml_registry_new), (gst_xml_registry_set_property),
25472         (gst_xml_registry_get_property), (get_time), (make_dir),
25473         (gst_xml_registry_get_perms_func),
25474         (plugin_times_older_than_recurse), (plugin_times_older_than),
25475         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25476         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25477         (add_to_char_array), (read_string), (read_uint), (read_enum),
25478         (load_pad_template), (load_feature), (load_plugin), (load_paths),
25479         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25480         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25481         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25482         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25483         (gst_xml_registry_rebuild):
25484         * gst/registries/gstlibxmlregistry.h:
25485         * tools/gst-compprep.c: (main):
25486         * tools/gst-inspect.c: (print_pad_templates_info):
25487         * tools/gst-xmlinspect.c: (print_element_info):
25488           Use libxml2 for registry parsing, use staticpadtemplates in
25489           elementfactories. Makes gst_init() +/- 10x faster.
25490
25491 2005-04-12  Wim Taymans  <wim@fluendo.com>
25492
25493         * gst/base/Makefile.am:
25494         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25495         (gst_basesink_pad_getcaps), (gst_basesink_init),
25496         (gst_basesink_event), (gst_basesink_change_state):
25497         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25498         (gst_basesrc_init), (gst_basesrc_query),
25499         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25500         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25501         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25502         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25503         (gst_basesrc_stop), (gst_basesrc_activate),
25504         (gst_basesrc_change_state):
25505         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25506         (helper_find_suggest), (gst_type_find_helper):
25507         * gst/base/gsttypefindhelper.h:
25508         * gst/elements/Makefile.am:
25509         * gst/elements/gstelements.c:
25510         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25511         (gst_fakesink_get_times), (gst_fakesink_event),
25512         (gst_fakesink_preroll), (gst_fakesink_render):
25513         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25514         (gst_fakesrc_init), (gst_fakesrc_event_handler),
25515         (gst_fakesrc_get_property), (gst_fakesrc_create),
25516         (gst_fakesrc_start), (gst_fakesrc_stop):
25517         * gst/elements/gstfakesrc.h:
25518         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25519         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25520         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25521         (gst_filesrc_create_read), (gst_filesrc_create),
25522         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25523         (gst_filesrc_start):
25524         * gst/elements/gsttypefindelement.c:
25525         (gst_type_find_element_have_type), (gst_type_find_element_init),
25526         (start_typefinding), (stop_typefinding), (push_buffer_store),
25527         (gst_type_find_element_handle_event),
25528         (gst_type_find_element_chain),
25529         (gst_type_find_element_checkgetrange),
25530         (gst_type_find_element_getrange), (do_typefind),
25531         (gst_type_find_element_activate),
25532         (gst_type_find_element_change_state):
25533         * gst/elements/gsttypefindelement.h:
25534         * gst/gstpipeline.c: (pipeline_bus_handler):
25535         Added typefind helper.
25536         Small preroll fix in the base sink.
25537         Disable typefind code in basesrc.
25538         Crude port of typefindelement.
25539         Fakesrc cleanups.
25540
25541
25542 2005-04-11  Wim Taymans  <wim@fluendo.com>
25543
25544         * check/gst/gstbus.c: (gstbus_suite):
25545         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25546         * check/gstcheck.h:
25547           Fix up the timeout so that the test does not fail.
25548
25549 2005-04-06  Wim Taymans  <wim@fluendo.com>
25550
25551         * gst/base/README:
25552         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25553         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25554         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25555         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25556         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25557         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25558         (gst_basesrc_stop), (gst_basesrc_activate),
25559         (gst_basesrc_change_state), (basesrc_find_peek),
25560         (basesrc_find_suggest), (gst_basesrc_type_find):
25561         * gst/base/gstbasesrc.h:
25562         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25563         (gst_filesrc_class_init), (gst_filesrc_init),
25564         (gst_filesrc_finalize), (gst_filesrc_set_location),
25565         (gst_filesrc_set_property), (gst_filesrc_get_property),
25566         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25567         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25568         (gst_filesrc_create_read), (gst_filesrc_create),
25569         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25570         * gst/elements/gstfilesrc.h:
25571         * gst/gstelement.c: (gst_element_get_state_func),
25572         (gst_element_lost_state), (gst_element_pads_activate):
25573         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25574         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25575         (gst_pad_pull_range):
25576         * gst/gstpad.h:
25577         More work on the generic source base class, implement seeking,
25578         query.
25579         Make filesrc extend the base source class.
25580         Added gst_pad_set_checkgetrange_function to GstPad.
25581
25582 2005-04-06  Andy Wingo  <wingo@pobox.com>
25583
25584         * pkgconfig/gstreamer-base.pc.in:
25585         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25586
25587         * pkgconfig/Makefile.am:
25588         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25589
25590 2005-04-04  Wim Taymans  <wim@fluendo.com>
25591
25592         * gst/base/Makefile.am:
25593         * gst/base/README:
25594         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25595         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25596         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25597         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25598         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25599         (gst_basesrc_base_init), (gst_basesrc_class_init),
25600         (gst_basesrc_init), (gst_basesrc_get_formats),
25601         (gst_basesrc_get_query_types), (gst_basesrc_query),
25602         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25603         (gst_basesrc_set_property), (gst_basesrc_get_property),
25604         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25605         (gst_basesrc_loop), (gst_basesrc_activate),
25606         (gst_basesrc_change_state):
25607         * gst/base/gstbasesrc.h:
25608         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25609         (gst_fakesrc_class_init), (gst_fakesrc_init),
25610         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25611         (gst_fakesrc_get_property), (gst_fakesrc_create):
25612         * gst/elements/gstfakesrc.h:
25613         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25614         (gst_filesrc_open_file), (gst_filesrc_loop),
25615         (gst_filesrc_activate), (filesrc_find_peek),
25616         (gst_filesrc_type_find):
25617         Made base source class, make fakesrc extend it.
25618         Add comments to basesink class.
25619         Some filesrc cleanup.
25620
25621 2005-03-31  David Schleef  <ds@schleef.org>
25622
25623         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25624         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25625         expected to link against libgstreamer.
25626         * gst/base/Makefile.am: link against libgstreamer
25627         * gst/elements/Makefile.am: same
25628
25629 2005-03-31  Andy Wingo  <wingo@pobox.com>
25630
25631         * tests/instantiate/Makefile.am:
25632         * tests/instantiate/caps.c: Add test to test speed of caps copy
25633         and free.
25634
25635         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25636         GMemChunk to be fair.
25637
25638         * gst/gsttrashstack.h: Remove warning about using the fallback
25639         trash stack implementation, it's still faster than malloc.
25640
25641 2005-03-30  Andy Wingo  <wingo@pobox.com>
25642
25643         * tests/complexity.c: Add a copyright.
25644
25645 2005-03-31  Wim Taymans  <wim@fluendo.com>
25646
25647         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25648         (gst_base_transform_class_init), (gst_base_transform_init),
25649         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25650         (gst_base_transform_get_property),
25651         (gst_base_transform_sink_activate),
25652         (gst_base_transform_src_activate),
25653         (gst_base_transform_change_state):
25654         * gst/base/gstbasetransform.h:
25655         * gst/elements/gstidentity.c: (gst_identity_class_init),
25656         (gst_identity_event), (gst_identity_check_perfect),
25657         (gst_identity_transform), (gst_identity_start),
25658         (gst_identity_stop):
25659         Added start/stop methods to transform base class so subclasses 
25660         don't need to deal with state changes even.
25661
25662 2005-03-31  Wim Taymans  <wim@fluendo.com>
25663
25664         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25665         (gst_event_new_discontinuous), (gst_event_discont_get_value):
25666         * gst/gstevent.h:
25667         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25668         (gst_pad_pull_range):
25669         Added rate to the discont event to prepare for variable speed
25670         and reverse playback.
25671
25672 2005-03-29  David Schleef  <ds@schleef.org>
25673
25674         * configure.ac:
25675         * testsuite/trigger/Makefile.am:
25676         * testsuite/trigger/trigger.c: A little example program to show
25677         how trigger-based elements can work.
25678
25679 2005-03-29  Wim Taymans  <wim@fluendo.com>
25680
25681         * gst/base/Makefile.am:
25682         * gst/base/README:
25683         * gst/base/gstbasesink.c: (gst_basesink_get_type),
25684         (gst_basesink_base_init), (gst_basesink_class_init),
25685         (gst_basesink_pad_getcaps), (gst_basesink_init),
25686         (gst_basesink_activate), (gst_basesink_change_state):
25687         * gst/base/gstbasesink.h:
25688         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25689         (gst_base_transform_base_init), (gst_base_transform_finalize),
25690         (gst_base_transform_class_init), (gst_base_transform_init),
25691         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25692         (gst_base_transform_event), (gst_base_transform_getrange),
25693         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25694         (gst_base_transform_set_property),
25695         (gst_base_transform_get_property),
25696         (gst_base_transform_sink_activate),
25697         (gst_base_transform_src_activate),
25698         (gst_base_transform_change_state):
25699         * gst/base/gstbasetransform.h:
25700         * gst/elements/gstidentity.c: (gst_identity_finalize),
25701         (gst_identity_class_init), (gst_identity_init),
25702         (gst_identity_event), (gst_identity_check_perfect),
25703         (gst_identity_transform), (gst_identity_set_property),
25704         (gst_identity_get_property), (gst_identity_change_state):
25705         * gst/elements/gstidentity.h:
25706         * gst/gstelement.c: (gst_element_get_state_func),
25707         (gst_element_lost_state), (gst_element_pads_activate):
25708         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25709         (gst_pad_check_pull_range), (gst_pad_pull_range):
25710         * gst/gstpad.h:
25711         Simplify pad activation.
25712         Added function to check if pull_range can be performed.
25713         Error out when pulling inactive or flushing pads.
25714         Removed const from refcounted types as it does not make sense.
25715         Simplify pad templates in basesink
25716         Added base class for simple 1-to-1 transforms.
25717         Make identity subclass the base transform.
25718
25719 2005-03-29  Andy Wingo  <wingo@pobox.com>
25720
25721         * docs/libs/gstreamer-libs-overrides.txt: 
25722         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25723         really don't understand what's going on, but like whatever. I want
25724         green buildbot!
25725
25726         * docs/gst/Makefile.am:
25727         * docs/libs/Makefile.am: Dist the overrides files.
25728
25729         * check/Makefile.am (clean-local): Remove .libs directories.
25730
25731         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25732         elements to EXTRA_DIST, so po/ files are happy.
25733
25734         * po/POTFILES.in: Er, remove it here.
25735
25736         * po/POTFILES: Remove gstspider.c.
25737
25738         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25739
25740         * docs/libs/gstreamer-libs-docs.sgml: 
25741         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25742         bytestream.
25743
25744         * tests/complexity.c (main): Set the length of the preroll queue
25745         on the sinks to prevent a lockup.
25746
25747         * libs/gst/dataprotocol/Makefile.am: 
25748         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25749         the same as the one in check/gst-libs/gdp.c.
25750
25751         * po/, docs/gst/: Commit automatic changes to docs and po files.
25752
25753         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25754         the versioned libgstbase.
25755
25756         * check/Makefile.am: Depend on an unversioned gst-register, seems
25757         to make autoconf happier.
25758
25759         * gst/base/Makefile.am: Make libgstbase a versioned lib.
25760
25761 2005-03-28  Wim Taymans  <wim@fluendo.com>
25762
25763         * configure.ac:
25764         * docs/design/part-gstelement.txt:
25765         * docs/design/part-negotiation.txt:
25766         * docs/design/part-preroll.txt:
25767         * docs/design/part-scheduling.txt:
25768         * docs/design/part-states.txt:
25769         * gst/Makefile.am:
25770         * gst/base/Makefile.am:
25771         * gst/base/README:
25772         * gst/base/gstbasesink.c: (gst_basesink_get_template),
25773         (gst_basesink_base_init), (gst_basesink_class_init),
25774         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25775         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25776         (gst_basesink_set_pad_functions),
25777         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25778         (gst_basesink_set_property), (gst_basesink_get_property),
25779         (gst_base_sink_get_template), (gst_base_sink_get_caps),
25780         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25781         (gst_basesink_preroll_queue_push),
25782         (gst_basesink_preroll_queue_empty),
25783         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25784         (gst_basesink_event), (gst_basesink_get_times),
25785         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25786         (gst_basesink_chain_unlocked), (gst_basesink_chain),
25787         (gst_basesink_loop), (gst_basesink_activate),
25788         (gst_basesink_change_state):
25789         * gst/base/gstbasesink.h:
25790         * gst/elements/Makefile.am:
25791         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25792         (gst_fakesink_class_init), (gst_fakesink_init),
25793         (gst_fakesink_set_property), (gst_fakesink_get_property),
25794         (gst_fakesink_get_times), (gst_fakesink_event),
25795         (gst_fakesink_preroll), (gst_fakesink_render),
25796         (gst_fakesink_change_state):
25797         * gst/elements/gstfakesink.h:
25798         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25799         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25800         * gst/gstelement.c: (gst_element_add_pad),
25801         (gst_element_get_state_func), (gst_element_abort_state),
25802         (gst_element_commit_state), (gst_element_lost_state),
25803         (gst_element_set_state), (gst_element_pads_activate):
25804         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25805         * gst/gstpipeline.c: (gst_pipeline_send_event),
25806         (gst_pipeline_change_state):
25807         Added state change code.
25808         Added/updated docs.
25809         Added sink base class, make fakesink extend the base class.
25810         Small cleanups in GstPipeline.
25811
25812 2005-03-26  David Schleef  <ds@schleef.org>
25813
25814         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
25815         is broken and should be implemented in a different library.
25816         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25817         * gst/gst.h: remove gstcpu.h
25818         * gst/gstcpu.c: remove
25819         * gst/gstcpu.h: remove
25820         * gst/Makefile.am.future: Remove this file.  It's ancient.
25821
25822 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25823
25824         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25825         (gst_bin_send_event):
25826           Add default event/set_manager handlers. The set_manager handler
25827           takes care that the manager is distributed over kids that were
25828           already in the bin before the manager was set. The event handler
25829           is a utility virtual function that sends the event over all sinks,
25830           so that gst_element_send_event (bin, event); has the expected
25831           behaviour.
25832         * gst/gstpad.c: (gst_pad_event_default):
25833           Re-install default event handling for discontinuities, so that
25834           seeking works without requiring hacks in applications or extra
25835           code in sinks.
25836         * gst/gstpipeline.c: (gst_pipeline_class_init),
25837         (gst_pipeline_send_event):
25838           Half hack, half utility: set a pipeline to PAUSED for seek events,
25839           since that is the only way we can guarantee a/v sync. Means that
25840           you can do gst_element_seek (pipeline, method, pos); on a pipeline
25841           and it "just works".
25842
25843 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25844
25845         * gst/gstpipeline.c: (gst_pipeline_use_clock):
25846           Lock/unlock mismatch.
25847
25848 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25849
25850         * docs/faq/gst-uninstalled:
25851           add gst-plugins-base
25852         * docs/gst/Makefile.am:
25853           don't error out until docs are fixed
25854         * docs/gst/gstreamer.types:
25855           remove thread
25856
25857 2005-03-22  Wim Taymans  <wim@fluendo.com>
25858
25859         * check/Makefile.am:
25860         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25861         * gst/gststructure.c: (gst_structure_set_valist),
25862         (gst_structure_copy_conditional):
25863         Activated more tests.
25864         Added message test.
25865         Added G_TYPE_POINTER to GstStructure.
25866         
25867
25868 2005-03-22  Wim Taymans  <wim@fluendo.com>
25869
25870         * docs/design/part-TODO.txt:
25871         * docs/design/part-events.txt:
25872         * docs/design/part-gstbin.txt:
25873         * docs/design/part-gstbus.txt:
25874         * docs/design/part-gstpipeline.txt:
25875         * docs/design/part-messages.txt:
25876         * gst/gstbus.c:
25877         * gst/gstmessage.c:
25878         Docs updates
25879
25880 2005-03-21  Wim Taymans  <wim@fluendo.com>
25881
25882         * gst/gstbus.c: (gst_bus_post):
25883         Fix copy-and-paste error.
25884
25885 2005-03-21  Wim Taymans  <wim@fluendo.com>
25886
25887         * check/Makefile.am:
25888         * gst/Makefile.am:
25889         * gst/elements/Makefile.am:
25890         * gst/elements/gstelements.c:
25891         * gst/elements/gstfakesink.c: (gst_fakesink_init),
25892         (gst_fakesink_event), (gst_fakesink_chain):
25893         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25894         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25895         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25896         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25897         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25898         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25899         (gst_fakesrc_loop), (gst_fakesrc_activate),
25900         (gst_fakesrc_change_state):
25901         * gst/elements/gstfakesrc.h:
25902         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25903         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25904         (gst_filesrc_open_file), (gst_filesrc_loop),
25905         (gst_filesrc_activate), (gst_filesrc_change_state),
25906         (filesrc_find_peek), (filesrc_find_suggest),
25907         (gst_filesrc_type_find):
25908         * gst/elements/gstidentity.c: (gst_identity_finalize),
25909         (gst_identity_class_init), (gst_identity_init),
25910         (gst_identity_proxy_getcaps), (identity_queue_push),
25911         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25912         (gst_identity_getrange), (gst_identity_chain),
25913         (gst_identity_sink_loop), (gst_identity_src_loop),
25914         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25915         (gst_identity_set_property), (gst_identity_get_property),
25916         (gst_identity_change_state):
25917         * gst/elements/gstidentity.h:
25918         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25919         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25920         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25921         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25922         (gst_tee_sink_activate):
25923         * gst/elements/gsttee.h:
25924         * gst/gst.c: (gst_register_core_elements), (init_post):
25925         * gst/gst.h:
25926         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25927         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25928         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25929         (gst_bin_change_state):
25930         * gst/gstbin.h:
25931         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25932         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25933         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25934         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25935         (gst_bus_set_sync_handler), (gst_bus_create_watch),
25936         (bus_watch_callback), (bus_watch_destroy),
25937         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25938         (poll_timeout), (gst_bus_poll):
25939         * gst/gstbus.h:
25940         * gst/gstcaps.h:
25941         * gst/gstdata.h:
25942         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25943         (gst_element_post_message), (gst_element_message_full),
25944         (gst_element_get_state_func), (gst_element_get_state),
25945         (gst_element_abort_state), (gst_element_commit_state),
25946         (gst_element_lost_state), (gst_element_set_state),
25947         (gst_element_pads_activate), (gst_element_change_state),
25948         (gst_element_dispose), (gst_element_set_manager_func),
25949         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25950         (gst_element_set_manager), (gst_element_get_manager),
25951         (gst_element_set_bus), (gst_element_get_bus),
25952         (gst_element_set_scheduler), (gst_element_get_scheduler):
25953         * gst/gstelement.h:
25954         * gst/gstevent.c: (gst_event_new_segment_seek),
25955         (gst_event_new_flush):
25956         * gst/gstevent.h:
25957         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25958         (_gst_message_free), (gst_message_get_type), (gst_message_new),
25959         (gst_message_new_eos), (gst_message_new_error),
25960         (gst_message_new_warning), (gst_message_new_tag),
25961         (gst_message_new_state_changed), (gst_message_new_application),
25962         (gst_message_get_structure), (gst_message_parse_tag),
25963         (gst_message_parse_state_changed), (gst_message_parse_error),
25964         (gst_message_parse_warning):
25965         * gst/gstmessage.h:
25966         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25967         (gst_real_pad_set_property), (gst_pad_set_active),
25968         (gst_pad_is_active), (gst_pad_set_blocked_async),
25969         (gst_pad_set_blocked), (gst_pad_is_blocked),
25970         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25971         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25972         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25973         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25974         (gst_pad_link_filtered), (gst_pad_relink_filtered),
25975         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25976         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25977         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25978         (gst_pad_set_caps), (gst_pad_configure_sink),
25979         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25980         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25981         (gst_real_pad_dispose), (gst_real_pad_finalize),
25982         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25983         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25984         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25985         * gst/gstpad.h:
25986         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25987         (pipeline_bus_handler), (gst_pipeline_change_state),
25988         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25989         * gst/gstpipeline.h:
25990         * gst/gstprobe.h:
25991         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25992         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25993         (gst_queue_link_src), (gst_queue_bufferalloc),
25994         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25995         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25996         (gst_queue_loop), (gst_queue_handle_src_event),
25997         (gst_queue_handle_src_query), (gst_queue_src_activate),
25998         (gst_queue_change_state):
25999         * gst/gstqueue.h:
26000         * gst/gstscheduler.c: (gst_scheduler_init),
26001         (gst_scheduler_dispose), (gst_scheduler_create_task),
26002         (gst_scheduler_factory_create):
26003         * gst/gstscheduler.h:
26004         * gst/gststructure.c: (gst_structure_get_type),
26005         (gst_structure_copy_conditional):
26006         * gst/gststructure.h:
26007         * gst/gsttaginterface.h:
26008         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26009         (gst_task_init), (gst_task_dispose), (gst_task_create),
26010         (gst_task_get_state), (gst_task_start), (gst_task_stop),
26011         (gst_task_pause):
26012         * gst/gsttask.h:
26013         * gst/gstthread.c:
26014         * gst/gstthread.h:
26015         * gst/gsttypes.h:
26016         * gst/schedulers/Makefile.am:
26017         * gst/schedulers/cothreads_compat.h:
26018         * gst/schedulers/entryscheduler.c:
26019         * gst/schedulers/faircothreads.c:
26020         * gst/schedulers/faircothreads.h:
26021         * gst/schedulers/fairscheduler.c:
26022         * gst/schedulers/gstbasicscheduler.c:
26023         * gst/schedulers/gstoptimalscheduler.c:
26024         * gst/schedulers/gthread-cothreads.h:
26025         * gst/schedulers/threadscheduler.c:
26026         (gst_thread_scheduler_task_get_type),
26027         (gst_thread_scheduler_task_class_init),
26028         (gst_thread_scheduler_task_init),
26029         (gst_thread_scheduler_task_start),
26030         (gst_thread_scheduler_task_stop),
26031         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26032         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26033         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26034         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26035         (plugin_init):
26036         * libs/gst/Makefile.am:
26037         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26038         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26039         (gst_file_pad_parent_set):
26040         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26041         (gst_dp_event_from_packet):
26042         * tests/complexity.c: (main):
26043         * tests/mass_elements.c: (main):
26044         * testsuite/states/locked.c: (message_received), (main):
26045         * testsuite/states/parent.c: (main):
26046         * tools/gst-inspect.c: (print_element_flag_info),
26047         (print_implementation_info), (print_pad_info):
26048         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26049         (main):
26050         * tools/gst-md5sum.c: (event_loop), (main):
26051         * tools/gst-typefind.c: (main):
26052         * tools/gst-xmlinspect.c: (print_element_info):
26053         Next big merge.
26054         Added GstBus for mainloop integration.
26055         Added GstMessage for sending notifications on the bus.
26056         Added GstTask as an abstraction for pipeline entry points.
26057         Removed GstThread.
26058         Removed Schedulers.
26059         Simplified GstQueue for multithreaded core.
26060         Made _link threadsafe, removed old capsnego.
26061         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26062         Added pad blocking functions.
26063         Reworked scheduling functions in GstPad to prepare for
26064         scheduling updates soon.
26065         Moved events out of data stream.
26066         Simplified GstEvent types.
26067         Added return values to push/pull.
26068         Removed clocking from GstElement.
26069         Added prototypes for state change function for next merge.
26070         Removed iterate from bins and state change management.
26071         Fixed some elements, disabled others for now.
26072         Fixed -inspect and -launch.
26073         Added check for GstBus.
26074
26075 2005-03-10  Wim Taymans  <wim@fluendo.com>
26076
26077         * docs/design/part-MT-refcounting.txt:
26078         * docs/design/part-clocks.txt:
26079         * docs/design/part-gstelement.txt:
26080         * docs/design/part-gstobject.txt:
26081         * docs/design/part-standards.txt:
26082         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26083         (gst_bin_remove_func), (gst_bin_remove):
26084         * gst/gstbin.h:
26085         * gst/gstbuffer.c:
26086         * gst/gstcaps.h:
26087         * testsuite/clock/clock1.c: (main):
26088         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26089         (main):
26090         * testsuite/dlopen/loadgst.c: (do_test):
26091         * testsuite/refcounting/bin.c: (add_remove_test1),
26092         (add_remove_test2), (main):
26093         * testsuite/refcounting/element.c: (main):
26094         * testsuite/refcounting/element_pad.c: (main):
26095         * testsuite/refcounting/pad.c: (main):
26096         * tools/gst-launch.c: (sigint_handler_sighandler):
26097         * tools/gst-typefind.c: (main):
26098         Doc updates.
26099         Added doc about clock.
26100         removed gst_bin_iterate_recurse_up(), marked methods
26101         for removal.
26102         Fix more testsuites.
26103
26104 2005-03-09  Wim Taymans  <wim@fluendo.com>
26105
26106         * gst/gstpad.c: (gst_pad_get_direction),
26107         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26108         (gst_pad_collect_valist):
26109         * testsuite/bins/interface.c: (main):
26110         * testsuite/caps/audioscale.c: (test_caps):
26111         * testsuite/caps/caps.c: (test1), (test2), (test3):
26112         * testsuite/caps/deserialize.c: (main):
26113         * testsuite/caps/enumcaps.c: (main):
26114         * testsuite/caps/filtercaps.c: (main):
26115         * testsuite/caps/intersect2.c: (main):
26116         * testsuite/caps/random.c: (main):
26117         * testsuite/caps/renegotiate.c: (my_fixate), (main):
26118         * testsuite/caps/sets.c: (check_caps):
26119         * testsuite/caps/simplify.c: (check_caps), (main):
26120         * testsuite/caps/subtract.c: (check_caps):
26121         Fix _pad_get_direction wrt ghostpads.
26122         Fix caps testsuite.
26123
26124 2005-03-09  Wim Taymans  <wim@fluendo.com>
26125
26126         * check/Makefile.am:
26127         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26128         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26129         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26130         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26131         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26132         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26133         (gst_bin_remove), (gst_bin_iterate_recurse_up),
26134         (bin_element_is_sink), (gst_bin_iterate_sinks),
26135         (gst_bin_iterate_all_by_interface):
26136         * gst/gstbin.h:
26137         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26138         (gst_element_change_state), (gst_element_dispose),
26139         (gst_element_finalize), (gst_element_set_loop_function):
26140         * gst/gstelement.h:
26141         * gst/gstiterator.c: (find_custom_fold_func):
26142         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26143         (gst_pad_collectv), (gst_pad_collect_valist),
26144         (gst_pad_template_new):
26145         * gst/gstpipeline.c: (gst_pipeline_class_init),
26146         (gst_pipeline_dispose), (gst_pipeline_set_property),
26147         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26148         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26149         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26150         * gst/gstutils.h:
26151         * gst/schedulers/entryscheduler.c:
26152         * gst/schedulers/gstbasicscheduler.c:
26153         (gst_basic_scheduler_cothreaded_chain),
26154         (gst_basic_scheduler_chain_add_element):
26155         * testsuite/bins/interface.c: (main):
26156         Added GstBin test.
26157         Added GstSystemClock test.
26158         Implemented clock distribution code in GstBin.
26159         Implemented iterate sinks method for future use.
26160         Rearranged gstelement.h
26161         Fix GstIterator comparison bug.
26162         Moved some code to GstPipeline, mostly clocking related.
26163
26164 2005-03-09  Wim Taymans  <wim@fluendo.com>
26165
26166         * configure.ac:
26167         * gst/gst_private.h:
26168         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26169         (gst_bin_remove_func), (gst_bin_remove),
26170         (gst_bin_get_by_name_recurse_up):
26171         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26172         (gst_clock_id_compare_func), (gst_clock_id_wait),
26173         (gst_clock_id_wait_async), (gst_clock_init),
26174         (gst_clock_adjust_unlocked), (gst_clock_get_time):
26175         * gst/gstelement.h:
26176         * gst/gstinfo.c: (_gst_debug_init):
26177         * gst/gstobject.h:
26178         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26179         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26180         * gst/gstpad.h:
26181         Bump version number, we're now 0.9.0
26182         Add future debugging category.
26183         Fix NULL _unref() in _get_by_name_recurse_up
26184         Rearrange gstpad.h.
26185         Update some docs.
26186
26187 2005-03-08  Wim Taymans  <wim@fluendo.com>
26188
26189         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26190         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26191         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26192         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26193         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26194         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26195         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26196         * gst/elements/gstidentity.c: (gst_identity_class_init):
26197         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26198         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26199         * gst/elements/gstshaper.c: (gst_shaper_class_init):
26200         * gst/elements/gststatistics.c: (gst_statistics_class_init):
26201         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26202         (gst_tee_link):
26203         * gst/gstelement.c: (gst_element_class_init),
26204         (gst_element_base_class_init), (gst_element_init),
26205         (gst_element_get_random_pad), (gst_element_wait_state_change),
26206         (gst_element_change_state), (gst_element_dispose),
26207         (gst_element_finalize), (gst_element_set_loop_function):
26208         * gst/gstelement.h:
26209         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26210         * gst/gstthread.c: (gst_thread_class_init),
26211         (gst_thread_release_children_locks), (gst_thread_change_state):
26212         * gst/schedulers/gstbasicscheduler.c:
26213         (gst_basic_scheduler_loopfunc_wrapper),
26214         (gst_basic_scheduler_chain_wrapper),
26215         (gst_basic_scheduler_src_wrapper),
26216         (gst_basic_scheduler_remove_element):
26217         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26218         Remove threadsafe properties. Fix elements because GObject
26219         complains when installing a property before declaring a
26220         set/get_property handler.
26221         Rearrange gstelement.h file, use STATE macros for state locks.
26222         Free mutexes in the finalize method instead of dispose.
26223
26224 2005-03-08  Wim Taymans  <wim@fluendo.com>
26225
26226         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26227         * gst/gstthread.c: (gst_thread_release_children_locks):
26228         Added parentage check.
26229         Fix build og GstThread again.
26230
26231 2005-03-08  Wim Taymans  <wim@fluendo.com>
26232
26233         * docs/design/part-MT-refcounting.txt:
26234         * docs/design/part-conventions.txt:
26235         * docs/design/part-gstobject.txt:
26236         * docs/design/part-relations.txt:
26237         * docs/design/part-standards.txt:
26238         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26239         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26240         (gst_bin_get_by_name), (gst_bin_get_by_interface),
26241         (gst_bin_iterate_all_by_interface):
26242         * gst/gstbuffer.h:
26243         * gst/gstclock.h:
26244         * gst/gstelement.c: (gst_element_class_init),
26245         (gst_element_change_state), (gst_element_set_loop_function):
26246         * gst/gstelement.h:
26247         * gst/gstiterator.c:
26248         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26249         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26250         (gst_object_dispatch_properties_changed), (gst_object_set_name),
26251         (gst_object_set_parent), (gst_object_unparent),
26252         (gst_object_check_uniqueness):
26253         * gst/gstobject.h:
26254         Docs updates, clean up some headers.
26255
26256 2005-03-07  Wim Taymans  <wim@fluendo.com>
26257
26258         * check/.cvsignore:
26259         * check/Makefile.am:
26260         * check/gst-libs/.cvsignore:
26261         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26262         * check/gst/.cvsignore:
26263         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26264         (START_TEST), (gstbus_suite), (main):
26265         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26266         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26267         (gst_data_suite), (main):
26268         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26269         (add_fold_func), (gstiterator_suite), (main):
26270         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26271         (thread_name_object), (thread_name_object_default),
26272         (gst_object_name_compare), (gst_object_suite), (main):
26273         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26274         (gst_pad_suite), (main):
26275         * check/gstcheck.c: (gst_check_log_message_func),
26276         (gst_check_log_critical_func), (gst_check_init):
26277         * check/gstcheck.h:
26278         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26279         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26280         Added checks.
26281
26282 2005-03-07  Wim Taymans  <wim@fluendo.com>
26283
26284         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26285         (gst_list_iterator_next), (gst_list_iterator_resync),
26286         (gst_list_iterator_free), (gst_iterator_new_list),
26287         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26288         (gst_iterator_free), (gst_iterator_push), (filter_next),
26289         (filter_resync), (filter_uninit), (filter_free),
26290         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26291         (gst_iterator_foreach), (find_custom_fold_func),
26292         (gst_iterator_find_custom):
26293         * gst/gstiterator.h:
26294         Added missing files.
26295
26296 2005-03-07  Wim Taymans  <wim@fluendo.com>
26297
26298         * Makefile.am:
26299         * configure.ac:
26300         * docs/design/part-MT-refcounting.txt:
26301         * docs/design/part-conventions.txt:
26302         * docs/design/part-gstobject.txt:
26303         * docs/design/part-relations.txt:
26304         * examples/mixer/mixer.c: (main):
26305         * examples/thread/thread.c: (eos), (main):
26306         * gst/Makefile.am:
26307         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26308         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26309         (gst_spider_plug_from_srcpad):
26310         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26311         (gst_spider_identity_change_state),
26312         (gst_spider_identity_sink_loop_type_finding):
26313         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26314         * gst/elements/gstidentity.c: (gst_identity_init):
26315         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26316         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26317         * gst/elements/gsttypefindelement.c: (free_entry):
26318         * gst/gst.c:
26319         * gst/gst.h:
26320         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26321         (gst_bin_set_clock_func), (gst_bin_auto_clock),
26322         (gst_bin_set_index), (gst_bin_set_element_sched),
26323         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26324         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26325         (gst_bin_iterate_elements), (iterate_child_recurse),
26326         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26327         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26328         (compare_interface), (gst_bin_get_by_interface),
26329         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26330         * gst/gstbin.h:
26331         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26332         (gst_buffer_default_free), (gst_buffer_default_copy),
26333         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26334         (gst_buffer_create_sub):
26335         * gst/gstbuffer.h:
26336         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26337         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26338         (gst_caps_unref), (gst_static_caps_get),
26339         (gst_caps_remove_and_get_structure), (gst_caps_append),
26340         (gst_caps_append_structure), (gst_caps_remove_structure),
26341         (gst_caps_copy_nth), (gst_caps_set_simple),
26342         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26343         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26344         (gst_caps_structure_intersect_field), (gst_caps_intersect),
26345         (gst_caps_structure_subtract_field), (gst_caps_subtract),
26346         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26347         (gst_caps_structure_figure_out_union),
26348         (gst_caps_switch_structures), (gst_caps_do_simplify),
26349         (gst_caps_replace), (gst_caps_from_string),
26350         (gst_caps_copy_conditional):
26351         * gst/gstcaps.h:
26352         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26353         (_gst_clock_id_free), (gst_clock_id_unref),
26354         (gst_clock_id_compare_func), (gst_clock_id_wait),
26355         (gst_clock_id_wait_async), (gst_clock_class_init),
26356         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26357         (gst_clock_get_time), (gst_clock_set_time_adjust),
26358         (gst_clock_set_property), (gst_clock_get_property):
26359         * gst/gstclock.h:
26360         * gst/gstcompat.h:
26361         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26362         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26363         * gst/gstdata.h:
26364         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26365         (gst_element_requires_clock), (gst_element_provides_clock),
26366         (gst_element_set_clock), (gst_element_clock_wait),
26367         (gst_element_wait), (gst_element_set_time_delay),
26368         (gst_element_is_indexable), (gst_element_add_pad),
26369         (gst_element_add_ghost_pad), (gst_element_remove_pad),
26370         (pad_compare_name), (gst_element_get_static_pad),
26371         (gst_element_request_pad), (gst_element_get_request_pad),
26372         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26373         (gst_element_class_get_pad_template_list),
26374         (gst_element_class_get_pad_template), (gst_element_error_func),
26375         (gst_element_get_random_pad), (gst_element_get_event_masks),
26376         (gst_element_send_event), (gst_element_seek),
26377         (gst_element_get_query_types), (gst_element_query),
26378         (gst_element_get_formats), (gst_element_convert),
26379         (gst_element_is_locked_state), (gst_element_set_locked_state),
26380         (gst_element_sync_state_with_parent), (gst_element_change_state),
26381         (gst_element_finalize), (gst_element_yield),
26382         (gst_element_interrupt), (gst_element_set_scheduler),
26383         (gst_element_get_scheduler), (gst_element_set_loop_function):
26384         * gst/gstelement.h:
26385         * gst/gstevent.h:
26386         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26387         (gst_format_get_by_nick), (gst_format_get_details),
26388         (gst_format_iterate_definitions):
26389         * gst/gstformat.h:
26390         * gst/gstindex.c: (gst_index_gtype_resolver):
26391         * gst/gstinfo.c:
26392         * gst/gstinfo.h:
26393         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26394         (gst_mem_chunk_free):
26395         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26396         (gst_object_ref), (gst_object_unref), (gst_object_sink),
26397         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26398         (gst_object_dispatch_properties_changed),
26399         (gst_object_set_name_default), (gst_object_set_name),
26400         (gst_object_get_name), (gst_object_set_name_prefix),
26401         (gst_object_get_name_prefix), (gst_object_set_parent),
26402         (gst_object_get_parent), (gst_object_unparent),
26403         (gst_object_check_uniqueness), (gst_object_save_thyself),
26404         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26405         (gst_object_set_property), (gst_object_get_property),
26406         (gst_object_get_path_string):
26407         * gst/gstobject.h:
26408         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26409         (gst_real_pad_init), (gst_real_pad_get_property),
26410         (gst_pad_custom_new), (gst_pad_get_direction),
26411         (gst_pad_set_active), (gst_pad_is_active),
26412         (gst_pad_set_event_function), (gst_pad_is_linked),
26413         (gst_pad_link_free), (gst_pad_link_intersect),
26414         (gst_pad_link_fixate), (gst_pad_set_caps),
26415         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26416         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26417         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26418         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26419         (gst_pad_get_caps), (gst_pad_peer_get_caps),
26420         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26421         (gst_pad_realize), (gst_pad_get_allowed_caps),
26422         (gst_real_pad_dispose), (gst_real_pad_finalize),
26423         (gst_pad_collectv), (gst_pad_collect_valist),
26424         (gst_pad_template_dispose), (gst_pad_template_new),
26425         (gst_pad_get_internal_links):
26426         * gst/gstpad.h:
26427         * gst/gstpipeline.c: (gst_pipeline_dispose),
26428         (gst_pipeline_change_state):
26429         * gst/gstpipeline.h:
26430         * gst/gstplugin.c:
26431         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26432         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26433         * gst/gstpluginfeature.h:
26434         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26435         * gst/gstquery.c: (_gst_query_type_initialize),
26436         (gst_query_type_register), (gst_query_type_get_by_nick),
26437         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26438         * gst/gstquery.h:
26439         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26440         * gst/gstscheduler.c: (gst_scheduler_add_element),
26441         (gst_scheduler_factory_create):
26442         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26443         (gst_structure_free), (gst_structure_set_name),
26444         (gst_structure_id_set_value), (gst_structure_set_value),
26445         (gst_structure_set_valist), (gst_structure_remove_field),
26446         (gst_structure_remove_fields),
26447         (gst_structure_remove_fields_valist),
26448         (gst_structure_remove_all_fields), (gst_structure_foreach),
26449         (gst_structure_map_in_place),
26450         (gst_caps_structure_fixate_field_nearest_int),
26451         (gst_caps_structure_fixate_field_nearest_double):
26452         * gst/gststructure.h:
26453         * gst/gstsystemclock.c: (gst_system_clock_class_init),
26454         (gst_system_clock_init), (gst_system_clock_dispose),
26455         (gst_system_clock_async_thread),
26456         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26457         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26458         * gst/gstsystemclock.h:
26459         * gst/gsttag.c: (gst_tag_list_add_value_internal),
26460         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26461         * gst/gsttaginterface.c:
26462         * gst/gstthread.c: (gst_thread_dispose),
26463         (gst_thread_release_children_locks), (gst_thread_change_state),
26464         (gst_thread_main_loop):
26465         * gst/gsttrashstack.h:
26466         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26467         * gst/gsttypes.h:
26468         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26469         (gst_element_request_pad), (gst_element_get_pad_from_template),
26470         (gst_element_request_compatible_pad),
26471         (gst_element_get_compatible_pad_filtered),
26472         (gst_element_get_compatible_pad), (gst_element_state_get_name),
26473         (gst_element_link_pads_filtered), (gst_element_link_filtered),
26474         (gst_element_link_many), (gst_element_link),
26475         (gst_element_link_pads), (gst_element_unlink_pads),
26476         (gst_element_unlink_many), (gst_element_unlink),
26477         (gst_pad_can_link_filtered), (gst_pad_can_link),
26478         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26479         (gst_object_default_error), (gst_bin_add_many),
26480         (gst_bin_remove_many), (gst_element_populate_std_props),
26481         (gst_element_class_install_std_props), (gst_buffer_merge),
26482         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26483         (link_fold_func), (gst_pad_proxy_setcaps):
26484         * gst/gstutils.h:
26485         * gst/gstvalue.c: (gst_value_deserialize_string):
26486         * gst/parse/grammar.y:
26487         * gst/schedulers/gstbasicscheduler.c:
26488         (gst_basic_scheduler_cothreaded_chain),
26489         (gst_basic_scheduler_chain_recursive_add),
26490         (gst_basic_scheduler_pad_link):
26491         * gst/schedulers/gstoptimalscheduler.c:
26492         (get_group_schedule_function),
26493         (gst_opt_scheduler_state_transition),
26494         (gst_opt_scheduler_add_element), (element_get_reachables_func):
26495         * libs/gst/bytestream/bytestream.c:
26496         * libs/gst/dataprotocol/dataprotocol.c:
26497         (gst_dp_header_from_buffer):
26498         * po/nb.po:
26499         * po/ru.po:
26500         * tests/threadstate/threadstate2.c: (eos):
26501         * tools/gst-compprep.c: (main):
26502         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26503         (print_pad_info), (print_children_info):
26504         * tools/gst-launch.c: (idle_func), (main):
26505         * tools/gst-md5sum.c: (idle_func), (main):
26506         * tools/gst-xmlinspect.c: (print_element_info):
26507         First THREADED backport attempt, focusing on adding locks and
26508         making sure the API is threadsafe. Needs more work. More docs
26509         follow this week.
26510
26511 2005-02-24  Andy Wingo  <wingo@pobox.com>
26512
26513         * tests/bench-complexity.scm:
26514         * tests/complexity.gnuplot: New files, good for running complexity
26515         benchmarks.
26516
26517         * tests/Makefile.am:
26518         * tests/complexity.c: New test, sets up N elements, at each level
26519         teeing into M streams per element. Eeeenteresting.
26520
26521         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26522         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26523         running bench-mass_elements.scm.
26524
26525         * tests/bench-mass_elements.scm: New script, runs mass_elements
26526         for various numbers of identities, outputting the results to a
26527         file. Requires guile 1.6. Just for testing.
26528
26529 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26530
26531         * gst/schedulers/fairscheduler.c:
26532           compile with debug disabled
26533
26534 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26535
26536         * configure.ac:
26537           hunting season on 0.9 is now OPEN