gst/gstplugin.c: Include "glib-compat-private.h" to fix the build on system with...
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
2
3         * gst/gstplugin.c:
4           Include "glib-compat-private.h" to fix the build on system with
5           glib < 2.10. Fixes #503131.
6
7 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
8
9         * gst/gstutils.c:
10         * gst/gstutils.h:
11           Actually its not PURE as it gets the time from elsewhere.
12
13 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
14
15         * docs/gst/gstreamer-sections.txt:
16         * gst/gstclock.h:
17         * gst/gstdebugutils.c:
18         * gst/gstinfo.c:
19         * gst/gstutils.c:
20         * gst/gstutils.h:
21         * libs/gst/base/gstbasesink.c:
22         * tools/gst-launch.c:
23           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
24           uses as we don't have HAVE_POSIX_TIMERS in public headers.
25           Thanks Tim for spotting.
26
27 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
28
29         * configure.ac:
30           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
31
32 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
33
34         * gst/gststructure.c: (gst_structure_validate_name),
35           (gst_structure_new_valist), (gst_structure_parse_value),
36           (gst_structure_from_string):
37           Don't crash in _from_string() if the structure name is not valid
38           (fixes #501560).  Allow structure names to start with a number
39           again (this apparently broke the ubuntu codec installer).
40
41         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
42           (GST_START_TEST):
43           Add unit test for the crash; update unit tests for new behaviour.
44
45 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
46
47         * gst/gstutils.c:
48         Clarify gst_element_get_compatible_pad() documentation.
49         Fixes #500919.
50
51 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
52
53         * tests/check/Makefile.am:
54           Don't forget to dist {gst,libs}/struct_hppa.h.
55
56 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
57
58         * libs/gst/base/gstbasesink.c:
59           Use new API to get elapsed time.
60
61 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
62
63         * gst/gstdebugutils.c:
64         * gst/gstinfo.c:
65           Fix wrong order of args in GST_CLOCK_DIFF() usage.
66
67         * tools/gst-launch.c:
68           Use new API to get elapsed time.
69
70 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
71
72         * docs/gst/gstreamer-sections.txt:
73         * gst/gstclock.h:
74         * gst/gstdebugutils.c:
75         * gst/gstinfo.c:
76           Rename new API + ChangeLog surgery to remove old name from last entry..
77           API: GST_GET_TIMESTAMP
78
79 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
80
81         * docs/gst/gstreamer-sections.txt:
82         * gst/gstclock.h:
83         * gst/gstdebugutils.c:
84         * gst/gstinfo.c:
85           Now hide the different clock stuff behind a macro.
86
87 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
88
89         * configure.ac:
90         * gst/gstdebugutils.c:
91         * gst/gstinfo.c:
92           Apply the posix-timer check from #361155. Conditionally use the posix
93           timer for logging. This gives better timestamp precission, less
94           overhead and no ntp jitter.
95
96 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
97
98         * gst/gstminiobject.c: (gst_mini_object_get_type),
99         (gst_mini_object_class_init), (gst_mini_object_copy_default),
100         (gst_mini_object_finalize), (gst_mini_object_copy),
101         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
102         (gst_mini_object_replace), (param_mini_object_validate),
103         (gst_param_spec_mini_object_get_type):
104         Some cleanup and checking against invalid function parameters.
105
106 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
107
108         * docs/gst/gstreamer-sections.txt:
109         * gst/gstclock.h:
110         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
111         (gst_systemclock_suite):
112         Start merging in the easy bits of #361155, the monotonic clock patch.
113         This one adds a few handy macros with docs and a testsuite.
114
115 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
116
117         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
118         Be a bit smarter when seeking, like, don't try to do a seek when it's
119         not needed. This avoids errors when the file is not seekable.
120         Fixes #499771.
121
122 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
123
124         * docs/gst/gstreamer-docs.sgml:
125         * docs/gst/gstreamer-sections.txt:
126         * docs/gst/gstreamer.types.in:
127         * gst/Makefile.am:
128         * gst/gst.h:
129         * gst/gstpreset.c:
130         * gst/gstpreset.h:
131         * plugins/elements/gstqueue.c:
132           Due to popular request remove preset interface again. :-(.
133
134 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
135
136         * tools/gst-inspect.c:
137           Print 'default value' for enums and flags too.
138
139 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
140
141         * docs/random/ensonic/profiling.txt:
142           More ideas.
143
144         * gst/gstbin.c:
145           Fix typo and give better log output.
146
147         * gst/gstdebugutils.c:
148         * gst/gstdebugutils.h:
149           More ideas, make graphs a bit smaller and fix param name in macro.
150
151 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
152
153         * gst/gstpreset.c:
154           Try harder to use the return value from fgets().
155
156 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
157
158         * gst/gstpreset.c:
159           For theses two fgets we handle the error below.
160
161 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
162
163         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
164         Only send upstream events upstream. Fixes #498746.
165
166 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
167
168         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
169
170         * plugins/elements/gstidentity.c: (gst_identity_class_init),
171         (gst_identity_init), (gst_identity_transform_ip),
172         (gst_identity_set_property), (gst_identity_get_property):
173         * plugins/elements/gstidentity.h:
174         Add property to disable handoff signal emission. Fixes #498694.
175         API: GstIdentity::signal-handoffs
176
177 2007-11-21  Julien Moutte  <julien@fluendo.com>
178
179         * docs/faq/gst-uninstalled: Yet another missing library for the
180         uninstalled script (fft)
181
182 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
183
184         * docs/faq/developing.xml:
185         Add a question about how to submit new translations.
186
187         * docs/random/release:
188         Update the contact email address for the Translation Project
189
190         * plugins/elements/gstfdsrc.c:
191         The parent_class for fdsrc is pushsrc, not GstElement.
192
193 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
194
195         * gst/gstpreset.c:
196           Plug a leak and fix saving.
197
198 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
199
200         * docs/gst/gstreamer-sections.txt:
201         Add new gst_preset__get_property_names() function to the docs
202         to fix the build.
203
204 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
205
206         * gst/gstpreset.c:
207         * gst/gstpreset.h:
208           Change _get_preset_names API to return a strv with copies. Add
209           _get_property_names to allow implementations to filter and provide
210           good default implementation.
211
212 2007-11-20  Julien MOUTTE  <julien@moutte.net>
213
214         * docs/faq/gst-uninstalled: Add another library to the uninstalled
215         script (sdp).
216
217 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
218
219         * gst/gstpreset.c:
220           More cleanups, docs, and TODOs from comments that now slowly come in.
221
222 2007-11-19  Julien MOUTTE  <julien@moutte.net>
223
224         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
225         search path.
226
227 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
228
229         * gst/gstpreset.c:
230           Fix bogus warning and make the property type specific code more
231           similar.
232
233 2007-11-19  Julien MOUTTE  <julien@moutte.net>
234
235         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
236         it build on OS X.
237
238 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
239
240         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
241         (gst_bin_add_func), (gst_bin_remove_func),
242         (gst_bin_change_state_func), (gst_bin_continue_func):
243         Change email, cleanups add some more debug and comments.
244         Also set bus and clock on new elements when the pipeline was in error.
245
246 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
247
248         * gst/gstbin.c:
249         * gst/gstdebugutils.c:
250           Fix build with --disable-gst-debug. Fixes #497859.
251           Spotted by Sameer Naik.
252
253 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
254
255         * gst/gstevent.c:
256           Little documentation improvment.
257
258         * gst/gstpreset.c:
259           More TODO cleanups. Remove c++ comments.
260
261         * libs/gst/controller/gstcontroller.c:
262           Add TODO and use quark from static string.
263
264         * tests/check/gst/gstmessage.c:
265         * tests/check/gst/gststructure.c:
266           Use quark from static string.
267
268 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
269
270         * gst/gstpreset.c:
271           Add some comments and TODOs.
272
273         * gst/gstpreset.h:
274           Add padding for future changes.
275
276         * plugins/elements/gstqueue.c:
277           Implement the iface.    
278
279 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
280
281         * docs/gst/gstreamer-docs.sgml:
282         * docs/gst/gstreamer-sections.txt:
283         * docs/gst/gstreamer.types.in:
284         * gst/Makefile.am:
285         * gst/gst.h:
286         * gst/gstpreset.c:
287         * gst/gstpreset.h:
288           Add the preset interface (Fixes #396779). Do some doc cleanups along.
289
290 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
291
292         * configure.ac:
293
294         Back to CVS
295
296 === release 0.10.15 ===
297
298 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
299
300         * configure.ac:
301           releasing 0.10.15, "October"
302
303 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
304
305         * win32/vs6/libgstreamer.dsp:
306         Convert line endings back to DOS.
307
308 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
309
310         * docs/design/draft-tagreading.txt:
311         * docs/random/ensonic/profiling.txt:
312         Update fast tagreading draft and performance profiling ideas.
313
314 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
315
316         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
317         Don't hold the object lock when unreffing a buffer because it could
318         cause a deadlock when the finalize function wants to grab the object
319         lock too. Fixes #495133.
320
321 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
322
323         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
324         (gst_segment_to_stream_time), (gst_segment_to_running_time):
325         Also accumulate time correctly when doing reverse playback. Fixes
326         #488201,
327         When converting to running and stream time, use default values for
328         start/stop/time/accum when comparing different formats. Fixes #494245.
329
330         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
331         Do running/stream time in TIME format.
332
333         * tests/check/gst/gstsegment.c: (GST_START_TEST),
334         (gst_segment_suite):
335         2 new unit tests for segment accumulation.
336
337 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
338
339         * gst/gst.c: (init_pre):
340         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
341           (_gst_debug_bin_to_dot_file):
342           Move getenv() back into gst_init, so everyone can live happily
343           ever after. Make sure the symbol isn't exported though.
344
345 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
346
347         Patch by: Sebastien Moutte  <sebastien moutte net>
348
349         * win32/common/gstenumtypes.c:
350         * win32/common/gstenumtypes.h:
351           Update enum types.
352
353         * win32/vs6/libgstreamer.dsp:
354           Update vs6 project files (#494343).
355
356 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
357
358         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
359         (gst_base_src_perform_seek), (gst_base_src_default_event),
360         (gst_base_src_set_flushing), (gst_base_src_activate_push),
361         (gst_base_src_activate_pull):
362         Unify flushing code, remove some old unlock code that is no longer used.
363         Take the streaming lock when seeking to avoid races. Fixes #492729.
364         Added some more comments.
365
366 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
367
368         * gst/gst.c: (_gst_disable_segtrap):
369           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
370           we can use gst_segtrap_is_enabled() there now that we have that API.
371           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
372           to do the getenv here (and export the variable).
373
374         * gst/gstdebugutils.c: (debug_dump_element),
375           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
376           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
377
378         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
379           (gst_debug_log_default):
380           Rename _gst_info_start_time to priv_gst_info_start_time so it
381           doesn't get exported (was never in any header).
382
383         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
384           (gst_plugin_loading_mutex):
385           Make static mutex gst_plugin_loading_mutex really static (was never
386           in any header), and use gst_segtrap_is_enabled() instead of
387           _gst_disable_segtrap.
388
389         * gst/gsttrace.c: (_gst_trace_default):
390           Make local _gst_trace_default static (was never in any header).
391
392 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
393
394         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
395
396         * win32/common/libgstbase.def:
397         * win32/common/libgstcontroller.def:
398         * win32/common/libgstdataprotocol.def:
399         * win32/common/libgstnet.def:
400         * win32/common/libgstreamer.def:
401           Add more missing symbols, remove some duplicates, and sort
402           as the 'sort' command sorts it (partially fixes #493983).
403
404 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
405
406         * gst/gstelement.c: (gst_element_set_state_func):
407         Only change the state cookie if a different state was set on the
408         element. See #492729.
409
410 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
411
412         * gst/gstvalue.c:
413           Remove unused and uninitialised type variables that were still
414           exported for some reason (they were never in any header files
415           though).
416
417 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
418
419         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
420         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
421         (gst_base_sink_event), (gst_base_sink_get_position_last),
422         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
423         (gst_base_sink_change_state):
424         Don't try to report a 0 position when we don't know, return -1 and FALSE
425         instead. This mostly happens when we are prerolling.
426         Make sure we can report the right position before we post the ASYNC_DONE
427         message so that a message handler can query position without races.
428
429         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
430         (async_done_handoff), (async_done_func), (send_buffer),
431         (async_done_eos_func), (gst_sinks_suite):
432         Add two tests for the above.
433
434 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
435
436         * MAINTAINERS:
437         Update with new email address.
438
439         * docs/design/part-TODO.txt:
440         Add some more info about future pad-block and negotiation changes.
441
442         * docs/design/part-buffering.txt:
443         Add some ideas about buffering reporting.
444
445 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
446
447         * tests/check/gst/gstobject.c:
448         Disable silly racy test that always fails on this combination of CPU
449         and kernel.
450
451 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
452
453         Patch by: Murray Cumming  <murrayc@murrayc.com>
454
455         * gst/gstobject.c:
456           Corrected the registration of the parent-set and parent-unset
457           signals: The parameter is a GstObject, not a GObject (#493134).
458
459 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
460
461         * gst/gst_private.h:
462         * gst/gstbuffer.h:
463         * gst/gstevent.h:
464         * gst/gstformat.h:
465         * gst/gstmessage.h:
466         * gst/gstplugin.h:
467         * gst/gstquery.h:
468         * gst/gsttaglist.h:
469         * gst/gstvalue.h:
470           Move declaration of private _gst_foo_initialize() functions into
471           our private header file where they should have been all along.
472
473 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
474
475         * docs/plugins/gstreamer-plugins-sections.txt:
476         * gst/gstdebugutils.h:
477         * gst/gstxml.h:
478         * plugins/elements/gstqueue.c:
479           gtk-doc fixes; trailing-comma-in-enum fix.
480
481 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
482
483         * gst/gst.c: (gst_deinit):
484           Clean up on deinit (not the external ones though, doesn't seem to be
485           needed for some reason).
486
487 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
488
489         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
490           Remove __declspec(dllimport) for MSVC that was copied over into core
491           from a plugin, obviously without ever having been tested (note the
492           single underscore in _declspec in the initial commit), and that doesn't
493           really make sense.  See #492077.
494
495 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
496
497         * gst/gst.c: (init_post):
498         * gst/gstevent.c: (_gst_event_initialize):
499         * gst/gstquery.c: (_gst_query_initialize):
500         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
501           g_type_class_ref() other types as well, see #349410 and #64764.
502
503         * gst/gstbuffer.c: (_gst_buffer_initialize):
504         * gst/gstmessage.c: (_gst_message_initialize):
505           Simplify existing g_type_class_ref().
506
507 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
508
509         * gst/gstformat.c: (_gst_format_initialize):
510           g_type_class_ref() our GstFormat type to make sure we avoid the
511           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
512           bug #64764. Should fix intermittent tee unit test failures (#474823).
513
514 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
515
516         * tests/check/elements/tee.c: (test_num_buffers):
517           Simplify, simplify, simplify - or not.  Rewrite unit test
518           not to use gst_parse_launch(); allow N sub-streams. Increasing
519           the number of sub-streams seems to reproduce #474823 more easily.
520
521 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
522
523         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
524
525         * gst/gsttrace.c:
526         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
527         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
528         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
529           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
530           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
531           so use _pipe() directly (#492077).
532
533         * win32/common/dirent.c: (_treaddir):
534           Add a couple of casts to make it build without warnings with MSVC.
535
536         * win32/common/libgstreamer.def:
537           Add some more symbols that need to be exported.
538
539 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
540
541         * tests/examples/metadata/read-metadata.c: (message_loop):
542           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
543           arriving in a second or third tag message are added to
544           the tag list as well.
545
546 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
547
548         * libs/gst/base/gstbasesrc.c:
549           Its "Since:" and not "@Since:". And remove an superflous cast.
550
551 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
552
553         * docs/libs/gstreamer-libs-sections.txt:
554         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
555         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
556         (gst_base_sink_get_property), (gst_base_sink_render_object),
557         (gst_base_sink_preroll_object),
558         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
559         (gst_base_sink_change_state):
560         * libs/gst/base/gstbasesink.h:
561         Add a new last-buffer property that contains the last buffer used in
562         basesink for preroll or rendering. useful for making snapshots.
563         API: gst_base_sink_get_last_buffer()
564         API: GstBaseSink::last-buffer
565
566 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
567
568         * docs/gst/running.xml:
569         * gst/gst.c:
570         * gst/gstdebugutils.c:
571         * gst/gstdebugutils.h:
572         * tools/gst-launch.c:
573           Improve bin graph dumping, by using the envvar to specify a path.
574           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
575
576 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
577
578         * plugins/elements/gsttypefindelement.c:
579           (gst_type_find_element_handle_event),
580           (gst_type_find_element_activate):
581           Post special error message if we can't determine the type of a stream
582           because it's empty.
583
584 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
585
586         * docs/gst/running.xml:
587         * gst/gstdebugutils.c:
588           Document new env-var. Add one log-line after dumpng a graph.
589
590 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
591
592         * configure.ac:
593           Ugly hack to put the (recently removed and non-portable, apparently)
594           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
595           GNU ld, because without that 'make check' fails miserably on my debian
596           stable box.  Someone with more knowledge of linker intricacies and
597           portability issues than me fix this properly please.
598
599 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
600
601         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
602         Reset last seen position after flushing so that we don't report the old
603         position anymore.
604
605 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
606
607         * gst/gstelementfactory.c: (gst_element_register):
608         * gst/gsturi.h:
609         Patch from Alessandro Decina adding get_type_full and
610         get_protocols_full private vfuncs to the URIHandler interface
611         to allow bindings to support creating URI handlers. 
612         Partially fixes: #339279
613         API: GstURIHandlerInterface::get_type_full
614         API: GstURIHandlerInterface::get_protocols_full
615
616 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
617
618         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
619         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
620         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
621         Make it so that pads are considered linked until a buffer is pushed
622         and discovered otherwise. This avoids problems with decodebin2 hanging
623         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
624         case.
625
626         Make sure we lock the multiqueue when updating the max-size properties.
627         
628         Fix a crash on Solaris in a debug statement in get_request_pad that
629         passes a NULL string to GST_DEBUG. 
630
631         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
632         (run_output_order_test):
633         Fix the test to allow the first buffer on not-linked pads to come out
634         of sequence while multiqueue discovers that they are not-linked.
635
636 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
637
638         * configure.ac:
639         * libs/gst/check/Makefile.am:
640         Use a custom export symbol regex for libgstcheck, as it needs
641         to export symbols that don't match the standard GStreamer gst_*
642         pattern, and  --export-dynamic is not portable (only works on 
643         GNU ld)
644
645         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
646         (gst_check_setup_sink_pad):
647         Make sure to pass a message parameter to the fail_* macros.
648
649         * tests/check/gst/gstinfo.c: (GST_START_TEST):
650         Fix some compiler warnings.
651
652 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
653
654         * tests/check/gst/gststructure.c: (test_to_string):
655           Disable test that checks that white spaces are not allowed
656           in structure names or field names, since we need to
657           support that for now for backwards compatibility reasons.
658
659 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
660
661         * docs/gst/gstreamer-sections.txt:
662         * gst/gsttaglist.c:
663         * gst/gsttaglist.h:
664           API: add GST_TAG_ARTIST_SORTNAME
665           API: add GST_TAG_ALBUM_SORTNAME
666           API: add GST_TAG_TITLE_SORTNAME
667           Add tag variants for sorting (#414539).
668
669 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
670
671         * gst/gststructure.c:
672           Also allow white space for names so we don't break
673           backwards compatibility.
674
675 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
676
677         * docs/design/part-TODO.txt:
678         * docs/design/part-segments.txt:
679         * docs/design/part-streams.txt:
680         Small updates.
681
682 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
683
684         * docs/gst/gstreamer-sections.txt:
685          Fixed documentation from my previous commit (added new API add
686          gst_value_set_structure(), add gst_value_get_structure() and
687          GST_VALUE_HOLDS_STRUCTURE).
688
689 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
690
691         * gst/gstdebugutils.c:
692           Reflow code to fix uninitialized variable warning.
693
694 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
695
696         * gst/gstcaps.c: (gst_caps_to_string),
697         (gst_caps_from_string_inplace):
698         * gst/gststructure.c: (gst_structure_get_abbrs),
699         (gst_structure_to_string), (gst_structure_from_string):
700         * gst/gstvalue.c: (gst_value_set_structure),
701         (gst_value_get_structure), (gst_value_serialize_structure),
702         (gst_value_deserialize_structure), (_gst_value_initialize):
703         * gst/gstvalue.h:
704         * tests/check/gst/gststructure.c: (GST_START_TEST),
705         (gst_structure_suite):
706         * tests/check/gst/gstvalue.c: (GST_START_TEST):
707          Added GstStructure to gst_value_table and its related functions.
708          Changed gst_structure_to_string to print ';' in the end.
709          Changed gst_caps_to_string to not print ';' beteween its
710          fields (structures) anymore and remove the lastes ';' from latest
711          structure. Now it is possible to have nested structures.
712          In addition, backward compatibilty is assured by accepting '\0' as
713          end delimiter. Fixes: #487969.
714          API: add gst_value_set_structure()
715          API: add gst_value_get_structure()
716          API: add GST_VALUE_HOLDS_STRUCTURE
717
718 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
719
720         * gst/gstbus.c:
721           When no GSource callback has been set up, tell developer
722           to use a function that actually exists.
723
724 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
725
726         * docs/gst/gstreamer-sections.txt:
727         * gst/Makefile.am:
728         * gst/gst.c:
729         * gst/gst.h:
730         * gst/gstdebugutils.c:
731         * gst/gstdebugutils.h:
732         * gst/gstinfo.c:
733         * gst/gstinfo.h:
734         * tools/gst-launch.c:
735           Allow dumping pipelines as dot graphs. Fixes #456573.
736
737 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
738
739         * gst/gststructure.c:
740           Allow '+' as well, it can be part of media or mime types
741           such as image/svg+xml.
742
743 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
744
745         * docs/gst/gstreamer-sections.txt:
746         * gst/gstbus.c:
747         * gst/gstbus.h:
748           API: add gst_bus_pop_filtered
749           API: add gst_bus_timed_pop_filtered
750           Two new functions for waiting for specific message types on the
751           bus for a specified amount of time without iterating any main
752           loops or main contexts.
753
754         * tests/check/gst/gstbus.c:
755           Some tests for the new functions.
756
757 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
758
759         * docs/libs/gstreamer-libs-sections.txt:
760           Make gtk-doc ignore stuff it should ignore.
761
762 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
763
764         * libs/gst/check/gstcheck.c:
765         * libs/gst/check/gstcheck.h:
766           Allow runtime selection of unit tests to run via the GST_CHECKS
767           environment variable (test case function names, comma-separated).
768
769 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
770
771         * gst/gststructure.c:
772         * tests/check/gst/gststructure.c:
773           Revert serialisation change and constrain structure-names after
774           consensus on irc. Update api documentation to reflect the change.
775
776 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
777
778         * gst/gststructure.c:
779           Improve serialization and fix tests.
780
781         * tests/check/gst/gststructure.c:
782           Add another test that covers why I actually did the previous structure
783           change.
784
785 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
786
787         * tools/gst-inspect.c: (print_element_info):
788         Don't crash when inspecting an element.
789
790 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
791
792         * tests/check/gst/gststructure.c:
793           Add unit test for escaping of structure name when serialising
794           and deserialising to/from strings.
795
796 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
797
798         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
799         (gst_single_queue_new):
800         * plugins/elements/gstqueue.c: (gst_queue_init),
801         (gst_queue_push_one):
802         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
803         upstream is tricked into thinking it can suggest a format downstream
804         while downstream does not support that format. The real problem is that
805         core calls acceptcaps when pushing a buffer with new caps, for which we
806         do a little workaround by setting the caps on the srcpad ourselves
807         before pushing the buffer (until this is figured out). Fixes #486758.
808
809 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
810
811         * gst/gststructure.c:
812         * gst/gstvalue.c:
813           Add some more comments and debug output. Quote structure name to fix
814           deserialisation of some strings.
815
816 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
817
818         * gst/gstbuffer.h:
819           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
820           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
821
822 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
823
824         * tools/gst-inspect.c:
825           Save approx. 400 1 byte allocs when printing. Use API to acces element
826           details.
827
828         * tools/gst-run.c:
829           Avoid a strdup.
830
831         * tools/gst-xmlinspect.c:
832           Use API to acces element details.
833
834 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
835
836         * gst/gstinfo.c:
837           Fix some spelling errors.
838
839 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
840
841         * gst/gstbin.c: (bin_handle_async_done):
842         Correctly set the next state if all of our async children commited their
843         state. This makes sure we can actually cancel the state change in
844         progress. Fixes a regression in Rhythmbox when seeking.
845
846 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
847
848         * gst/gstbin.c:
849           Don't shadow local variable.
850
851         * gst/gstinfo.c:
852           Don't shadow global function name.
853
854 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
855
856         * gst/gstelementfactory.c:
857         * gst/gstpluginfeature.c:
858         * gst/gstpluginfeature.h:
859         * gst/gstregistrybinary.c:
860         * gst/gstregistryxml.c:
861         * gst/gsttypefind.c:
862           Use already-interned string for the private GstPluginFeature
863           plugin_name field.
864
865 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
866
867         * docs/libs/gstreamer-libs-sections.txt:
868           Add new API to docs; fixes the build.
869
870 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
871         
872         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
873
874         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
875         (gst_base_sink_event):
876         * libs/gst/base/gstbasesink.h:
877         Add function to wait for EOS, subclasses can use this to correctly wait
878         for devices to drain before performing the EOS logic. Fixes #485343.
879         API: gst_base_sink_wait_eos()
880
881 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
882
883         * gst/gstplugin.h:
884           Cast description string constants in GST_PLUGIN_DEFINE macros
885           to a (gchar*) to make C++ code using these macros compile
886           without warning with g++-4.2 (see #462737).  Even if slightly
887           ugly, this seems preferable to putting the description strings
888           into the GLib quark table or making the structure member a
889           const gchar * and doing casts in core code that allocs and
890           frees these strings, or requiring a cast in the C++ code.
891
892 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
893
894         * gst/gstinfo.h:
895           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
896           to print the entire class/function signature into the log
897           file for C++ code.  This only affects C++ code, for C code
898           everything remains the same.
899
900 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
901
902         * gst/gstbin.c: (remove_from_queue):
903         Work around a problem with pipelines containing (semi)loops until a
904         proper, more complicated solution is ready. See #475455.
905
906 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
907
908         * gst/gstplugin.c:
909         * gst/gstplugin.h:
910         * gst/gstregistrybinary.c:
911         * gst/gstregistryxml.c:
912           Put more strings into the GLib quark table. No need to keep
913           a hundred-something copies of identical version strings,
914           license strings, package name strings and package origin
915           strings around. 
916
917 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
918
919         * docs/manual/advanced-dataaccess.xml:
920           Don't imply that it's okay to unconditionally change
921           buffer data or buffer metadata in a pad probe callback,
922           and a bunch of other comments. Fixes #430031.
923
924 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
925
926         * win32/common/gstenumtypes.c:
927         * win32/common/gstenumtypes.h:
928         * win32/common/gstversion.h:
929           Update generated files.
930
931 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
932
933         * docs/manual/advanced-autoplugging.xml:
934           Prefix section with broken code with a warning (see #342432).
935
936 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
937
938         * docs/manual/appendix-integration.xml:
939         * docs/manual/basics-init.xml:
940           Call g_thread_init() before g_option_context_new() to
941           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
942
943 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
944
945         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
946         (gst_base_sink_queue_object_unlocked),
947         (gst_base_sink_queue_object), (gst_base_sink_event),
948         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
949         When we received EOS and are waiting for when to post the EOS message,
950         our state is prerolled and we should not return ASYNC.
951         Reorganize some code paths to implement this behavior.
952
953         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
954         (gst_sinks_suite):
955         Add unit test to verify above EOS fix.
956
957 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
958
959         * plugins/elements/gsttypefindelement.c:
960         (gst_type_find_element_have_type), (gst_type_find_element_init),
961         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
962         Move detecting the input caps of the sinkpad to the setcaps function.
963         This allows us to update the output caps when we receive new input caps
964         instead of always using the first detected caps.
965
966 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
967
968         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
969         (gst_base_sink_get_position):
970         Don't try to preroll non-async elements after a flush.
971         Subtract latency form clock times when reporting position.
972
973 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
974
975         * gst/gstpad.c: (gst_pad_pause_task):
976         * gst/gstutils.c:
977         Small comment and documentation update.
978
979 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
980
981         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
982         (gst_base_src_set_live), (gst_base_src_is_live),
983         (gst_base_src_query_latency), (gst_base_src_perform_seek),
984         (gst_base_src_default_event), (gst_base_src_wait),
985         (gst_base_src_do_sync), (gst_base_src_get_range),
986         (gst_base_src_pad_get_range), (gst_base_src_loop),
987         (gst_base_src_unlock), (gst_base_src_unlock_stop),
988         (gst_base_src_set_flushing), (gst_base_src_set_playing),
989         (gst_base_src_activate_push), (gst_base_src_activate_pull),
990         (gst_base_src_change_state):
991         Rework the locking of basesrc in a similar fashion to basesink. We
992         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
993         us to handle live sources and semi live ones much better.
994         Simplify flushing.
995         Fix unlocking when seeking, shutting down and pausing in live sources.
996
997 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
998
999         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
1000         Fix compilation again.
1001
1002 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1003
1004         * gst/gstelement.c:
1005           Use meaningful categories for the logs to clean the default one.
1006
1007 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1008
1009         * tests/check/pipelines/cleanup.c:
1010           Print message name and not just number.
1011
1012 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1013
1014         * docs/design/draft-tagreading.txt:
1015           Add some more thoughts.
1016
1017 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1018
1019         * tests/check/pipelines/simple-launch-lines.c:
1020           Print message name and not just number.
1021
1022 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1023
1024         * libs/gst/base/gsttypefindhelper.c:
1025           Speedup typefinding. This is work in progress (see #459862).
1026
1027 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1028
1029         * gst/gstplugin.c:
1030           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1031           Spotted by Josep Torra Valles <josep@fluendo.com>.
1032
1033 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
1034
1035         * gst/gstclock.h:
1036           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1037           field has moved to GstObject.
1038
1039 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
1040
1041         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1042         (gst_base_src_get_range), (gst_base_src_change_state):
1043         Call unlock for live sources so that they can't get stuck in _create and
1044         produce a buffer before they are set back to PLAYING.
1045
1046 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
1047
1048         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1049         (gst_queue_locked_dequeue):
1050         Comment the segment-related code... in the PROPER function.
1051         See #482147 and my commit from yesterday.
1052
1053 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
1054
1055         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1056         Also initialize the counter that calculates the first timestamp on a
1057         buffer correctly for non-live sources.
1058
1059 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
1060
1061         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1062         Disable code that's breaking the current-time-level reporting.
1063         See #482147
1064
1065 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
1066
1067         * docs/gst/gstreamer-sections.txt:
1068         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1069         as they shouldn't show up. Fixes the docs build.
1070
1071 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
1072         
1073         * gst/gstinfo.h:
1074         Add an explicit variable importation needed on VS6 (only for MSC_VER)
1075         Define M_PI which is used in files which are including gstinfo.h. 
1076         VS6 includes doesn't define it.
1077         * win32/common/libgstbase.def:
1078         * win32/common/libgstcontroller.def:
1079         * win32/common/libgstreamer.def:
1080         Add new exported functions and variables.
1081         * win32/vs6/libgstcontroller.dsp:
1082         * win32/vs6/libgstreamer.dsp:
1083         Update the list of files to build.
1084         
1085 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1086
1087         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1088
1089         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1090         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1091         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1092         Improve debugging. Fixes #480858.
1093
1094 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1095
1096         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1097
1098         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1099         First patch of code cleanups, use the macros and right arguments in the
1100         macros to signal and lock the queue. See #480858.
1101
1102 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
1103
1104         * gst/gstbus.c: (poll_func):
1105         Improve debugging when dealing with _poll().
1106
1107 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
1108
1109         * gst/gstregistryxml.c:
1110           Fix memory leak I introduced a few days ago.
1111
1112 2007-09-26  Michael Smith <msmith@fluendo.com>
1113
1114         * gst/gstbuffer.c: (gst_buffer_finalize):
1115           Make it once again possible to free GstBuffers in the default
1116           build.
1117           The poisoning scribbles on parts of the miniobject we need in
1118           order to free it.
1119           Fixes #480341
1120
1121 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
1122
1123         * docs/gst/gstreamer-sections.txt:
1124         * gst/gsttaglist.c:
1125         * gst/gsttaglist.h:
1126         API: add GST_TAG_COMPOSER, fixes #459809.
1127
1128 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
1129
1130         * gst/gstplugin.c:
1131         * gst/gstplugin.h:
1132         Add the 3-clause BSD license and the MIT/X11 license to the license
1133         list. Fixes #479784.
1134
1135 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
1136
1137         * docs/faq/getting.xml:
1138           Add Q+A about different GStreamer versions (#364056).
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_change_state):
1144         Return correct gboolean from query function.
1145
1146 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1147
1148         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1149         (gst_base_sink_event), (gst_base_sink_query),
1150         (gst_base_sink_change_state):
1151         Simplify latency query.
1152         When not synchronizing, we can report latency without querying the peer
1153         element.
1154
1155 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1156
1157         * gst/gstobject.h:
1158         * gst/gstvalue.c:
1159         Fix small typos in the docs.
1160
1161 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1162
1163         * docs/design/draft-latency.txt:
1164         * docs/design/draft-push-pull.txt:
1165         * docs/design/draft-tagreading.txt:
1166         * docs/design/part-MT-refcounting.txt:
1167         * docs/design/part-activation.txt:
1168         * docs/design/part-block.txt:
1169         * docs/design/part-element-source.txt:
1170         * docs/design/part-events.txt:
1171         * docs/design/part-gstbin.txt:
1172         * docs/design/part-gstelement.txt:
1173         * docs/design/part-gstobject.txt:
1174         * docs/design/part-gstpipeline.txt:
1175         * docs/design/part-messages.txt:
1176         * docs/design/part-preroll.txt:
1177         * docs/design/part-push-pull.txt:
1178         * docs/design/part-qos.txt:
1179         * docs/design/part-query.txt:
1180         * docs/design/part-scheduling.txt:
1181         * docs/design/part-seeking.txt:
1182         * docs/design/part-segments.txt:
1183         * docs/design/part-states.txt:
1184         Documentation updates and typo fixes.
1185
1186 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
1187
1188         * plugins/elements/gstfakesink.c:
1189           Add some debug text to error message to indicate that
1190           we errored out on request.
1191
1192         * tools/gst-launch.c:
1193           When the state change to PLAYING fails, check for an
1194           error message on the bus and print it.
1195
1196 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1197
1198         translated by: Jorge González González <aloriel@gmail.com>
1199
1200         * po/LINGUAS:
1201         * po/es.po:
1202           Added Spanish translation.
1203
1204 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
1205
1206         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1207         Fix printf arguments.
1208
1209 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1210
1211         * tests/check/generic/states.c:
1212           Improved state change unit test.
1213
1214 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1215
1216         * gst/gstbin.h:
1217           Move priv to the right place.
1218
1219         * gst/gstsystemclock.c:
1220           Add FIXME: and improve log.
1221
1222         * tests/check/Makefile.am:
1223         * tests/examples/manual/Makefile.am:
1224           Work with all types of registries.
1225
1226 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
1227
1228         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1229         Don't unref the event after pushing it. Fixes #478401.
1230
1231 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1232
1233         * .cvsignore:
1234         * tests/examples/manual/.cvsignore:
1235           Ignore registries in any format.
1236
1237 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
1238
1239         * gst/glib-compat-private.h:
1240           Add compatibility macro for g_intern_string() for
1241           GLib-2.8 (any reason we can't just bump the
1242           requirement to at least 2.10?)
1243
1244         * gst/gstpadtemplate.h:
1245         * gst/gstelementfactory.c:
1246         * gst/gstregistryxml.c:
1247         * gst/gstregistrybinary.c:
1248           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1249           up the internal code accordingly.  This shouldn't be a problem, since
1250           there is no reason external code could ever assume the string in such
1251           a structure is dynamically allocated unless it did that itself;  the
1252           use of g_strdup() is private to element factories.  The new code also
1253           saves some memory by putting pad template name strings into the GLib
1254           quark table instead of allocating them dynamically.
1255           Declaring this field constant fixes warnings with g++-4.2 when using
1256           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1257
1258 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1259
1260         * gst/gstelementfactory.c:
1261           Release static caps. Fixes #475723.
1262
1263 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
1264
1265         * gst/gstinfo.c:
1266         * gst/gstinfo.h:
1267           Make some internal API take const gchar * instead of just
1268           gchar * to avoid compiler warnings with g++-4.2.2 when
1269           passing string constants (partially fixes #478092).
1270
1271 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1272
1273         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1274         A latency query fails when one of the sinks fail.
1275
1276         * gst/gstelement.c: (gst_element_set_base_time):
1277         Improve debugging.
1278
1279 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1280
1281         * gst/gstbin.c: (gst_bin_continue_func):
1282         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1283         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1284         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1285
1286         Fix minor compilation warnings shown with Forte.
1287
1288 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1289
1290         * plugins/elements/gstqueue.c: (apply_buffer),
1291         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1292         Measure queue level based on the diff between head and tail timestamps
1293         even when pushing the first buffer.
1294
1295 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1296
1297         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1298         (gst_base_sink_event), (gst_base_sink_change_state):
1299         Sinks that don't preroll can always be queried for the latency.
1300         Don't post ASYNC start when we are not async.
1301
1302 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1303
1304         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1305         (gst_queue_handle_sink_event), (gst_queue_chain),
1306         (gst_queue_push_one), (gst_queue_handle_src_query),
1307         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1308         * plugins/elements/gstqueue.h:
1309         When downstream returns UNEXPECTED from pushing a buffer, don't try to
1310         push more buffers but allow pushing of EOS and NEWSEGMENT.
1311         Add some more debug info here and there. Fixes #476514.
1312
1313 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1314
1315         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1316         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1317         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1318         (gst_base_sink_set_flushing), (gst_base_sink_query),
1319         (gst_base_sink_change_state):
1320         Latency query is allowed after we are prerolled. Introduce a new flag
1321         for this and stop abusing other variables.
1322
1323 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1324
1325         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1326         Push OOB events downstream when we get them in send_event. This allows
1327         the application to insert events in the pipeline.
1328         Add some more comments.
1329
1330 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1331
1332         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1333         (do_bin_latency), (gst_bin_change_state_func):
1334         * gst/gstpipeline.c: (gst_pipeline_change_state):
1335         Move latency query from GstPipeline to GstBin so that we can also
1336         use it when async-handling is enabled on bins.
1337
1338 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1339
1340         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1341         (gst_base_src_do_sync), (gst_base_src_change_state):
1342         Update docs.
1343         Clean up the timestamping and syncing code for pseudo live sources.
1344
1345 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
1346
1347         Patch by: Steve Fink  <sphink gmail com>
1348
1349         * docs/manual/appendix-checklist.xml:
1350           Mention less -R switch in the section about debug output (#474055).
1351
1352 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1353
1354         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1355         Queue can latency to the pipeline up to the configured max size in time.
1356         Report this fact in the latency query.
1357
1358 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1359
1360         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1361
1362         * libs/gst/controller/gstinterpolation.c:
1363         * libs/gst/controller/gstlfocontrolsource.c:
1364         Use gst_guint64_to_gdouble() when converting from a uint64 or
1365         GstClockTime to double to fix the build on win32. Fixes #474371.
1366
1367 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1368
1369         * gst/gstbuffer.c: (gst_buffer_finalize):
1370         Implement poisoning for GstBuffer if --enable-poisoning is specified.
1371         When finalizing a buffer the complete struct is filled with 0xff,
1372         thus making a use of the buffer after the final unref impossible.
1373
1374 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1375
1376         * tests/check/libs/controller.c: (GST_START_TEST):
1377         Use fail_unless_equals_int(a, b) instead of
1378         fail_unless_equals (a == b) to get better output on failures.
1379
1380 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1381
1382         * tests/check/gst/gsturi.c:
1383           Also check for the other file URI variant on win32.
1384
1385 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1386
1387         * gst/gsturi.c: (gst_uri_get_location):
1388           If there's no hostname, we want to return 'c:/foo/bar.txt'
1389           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1390
1391         * tests/check/gst/gsturi.c:
1392           Unit test for the above and a few more things.
1393
1394 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1395
1396         * docs/design/part-live-source.txt:
1397         Add docs on how live sources should timestamp.
1398
1399         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1400         Add some more debug info.
1401         For subclasses that are live and like to sync, add aditional startup
1402         latency to sync time and timestamps so that we timstamp according to the
1403         design doc.
1404
1405 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1406
1407         * gst/gstbuffer.c:
1408           Also do a g_type_class_ref() for the subbuffer type in
1409           the init function.
1410
1411 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1412
1413         * docs/gst/gstreamer-sections.txt:
1414         * gst/gstpad.c: (gst_pad_peer_query):
1415         * gst/gstpad.h:
1416         Add function to perform a query on the peer of a pad.
1417         API: gst_pad_peer_query()
1418
1419 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1420
1421         * tests/check/gst/gstsystemclock.c:
1422           Cleanup the test a little (use gst-logging and not g_message). Improve
1423           test to check if a wait reached the target.
1424
1425 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1426
1427         * docs/libs/gstreamer-libs-sections.txt:
1428           Add new API to docs and fix the build.
1429
1430 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
1431
1432         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1433         (gst_base_src_init), (gst_base_src_set_do_timestamp),
1434         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1435         (gst_base_src_get_property), (gst_base_src_do_sync):
1436         * libs/gst/base/gstbasesrc.h:
1437         Add property to make the basesrc timestamp buffers based on the current
1438         running time.
1439         API: GstBaseSrc::do-timestamp
1440         API: gst_base_src_set_do_timestamp()
1441         API: gst_base_src_get_do_timestamp()
1442
1443 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
1444
1445         * docs/random/release:
1446           Really make sure translations are up-to-date before
1447           a release (#465010).
1448
1449 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
1450
1451         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1452         Always destroy the timer, also in error cases.
1453
1454 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1455
1456         * docs/manual/highlevel-xml.xml:
1457         Fix XML example code. Fixes #472714.
1458
1459 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1460
1461         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1462         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1463         (gst_base_sink_query):
1464         Protect eos and have_preroll with the OBJECT lock so we don't need to
1465         take the PREROLL lock when querying the latency. Fixes #473846.
1466
1467 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
1468
1469         * gst/gstelement.c:
1470           Give some log-messages a category.
1471
1472 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
1473
1474         * gst/gststructure.c:
1475         (gst_structure_fixate_field_nearest_fraction):
1476         Fix fraction list fixation code. Take the fraction with the smallest
1477         difference with the target instead of the first one in the list.
1478
1479         * tests/check/gst/gststructure.c: (GST_START_TEST),
1480         (gst_structure_suite):
1481         Added test to verify correct fraction list fixation behaviour.
1482
1483 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
1484
1485         * win32/common/libgstreamer.def:
1486           Export gst_bus_add_signal_watch too.
1487
1488 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
1489
1490         * docs/libs/gstreamer-libs-sections.txt:
1491         Add new methods to docs.
1492
1493         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1494         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1495         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1496         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1497         * libs/gst/base/gstbasesink.h:
1498         Add ts-offset property to fine-tune the synchronisation.
1499         API: GstBaseSink::ts-offset property
1500         API: gst_base_sink_set_ts_offset()
1501         API: gst_base_sink_get_ts_offset()
1502
1503 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
1504
1505         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1506         (gst_base_sink_init), (gst_base_sink_set_sync),
1507         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1508         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1509         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1510         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1511         (gst_base_sink_get_property), (gst_base_sink_change_state):
1512         * libs/gst/base/gstbasesink.h:
1513         Add async property to instruct the sink never to inform the parent about
1514         ASYNC state changes, update docs.
1515         Check argument with g_return_* for the public functions.
1516         API: GstBaseSink::async property
1517         API: gst_base_sink_set_async_enabled()
1518         API: gst_base_sink_is_async_enabled()
1519
1520 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
1521
1522         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1523         Improve debugging.
1524
1525         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1526         (gst_base_src_default_query), (gst_base_src_wait),
1527         (gst_base_src_do_sync), (gst_base_src_change_state):
1528         Rearrange some code so that we can add support for measuring the 
1529         startup latency.
1530
1531 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
1532
1533         * docs/random/ensonic/dynlink.txt:
1534           More thoughs on this.
1535
1536         * plugins/elements/gstcapsfilter.c:
1537           Add bugzilla ticket number to FIXME comment.
1538
1539 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
1540
1541         * docs/design/part-TODO.txt:
1542         * docs/design/part-block.txt:
1543         Update some docs.
1544
1545 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1546
1547         * gst/Makefile.am:
1548           Revert patch which uses $(gst_headers) instead of $^ because it
1549           breaks make dist.
1550
1551 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1552
1553         * tests/check/gst/gstbin.c: (GST_START_TEST):
1554           Fix leaks in the new unit test.
1555
1556 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
1557
1558         * gst/gst.c:
1559           Don't use GST_INFO before the debug system is actually initialised
1560           (shouldn't do any harm, but won't print anything either, so we can
1561           just as well remove it).
1562
1563         * gst/gstinfo.h:
1564           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1565           compilers that don't support variadic macros (such as MSVC), should
1566           check for debug_level <= __gst_debug_min as well, since that's the
1567           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1568           inline helper functions. Should improve performance a bit, but also
1569           makes sure uses of GST_INFO et.al are ignored if the debugging
1570           system isn't initialised yet (instead of printing an assertion
1571           failure).
1572
1573 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
1574
1575         patch by: David Nečas <yeti@physics.muni.cz>
1576
1577         * gst/Makefile.am:
1578           Replace some non portable makefile constructs.
1579
1580 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
1581
1582         * common/gtk-doc-plugins.mak:
1583           Grrrrr. Don't remove the types file on make clean.
1584
1585 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
1586
1587         * tools/gst-launch.1.in:
1588         Add colorspace to example pipeline. Fixes #458274.
1589
1590 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
1591
1592         * docs/random/release:
1593           The release manager should run 'make download-po' before making a
1594           release to make sure translations are up-to-date.
1595
1596         * po/LINGUAS:
1597         * po/be.po:
1598         * po/pl.po:
1599         * po/rw.po:
1600           Add some new translations.
1601
1602 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
1603
1604         * tools/gst-launch.c: (event_loop), (main):
1605         Don´t try to do any state management when a live pipeline posts
1606         buffering messages.
1607         Also make the buffering string translatable.
1608
1609 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1610
1611         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1612         (bin_handle_async_start), (gst_bin_handle_message_func):
1613         Improve debugging.
1614         When adding elements, insert messages into the bus of the newly added
1615         element and make sure the element is the source of the message. This
1616         allows the parent bin to intercept the message and do the
1617         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1618         messages to the app (which is not allowed).
1619         Update some docs.
1620
1621         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1622         Fix testsuite so that is does not work around messages that should not
1623         have been posted in the first place.
1624
1625 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1626
1627         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1628         (update_degree), (gst_bin_sort_iterator_next):
1629         Fix annoying bug in the sorted iterator where a sink that is not really
1630         a sink (when it has downstream links) screwed up the iterator.
1631
1632         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1633         Unit test to verify the fix.
1634
1635 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1636
1637         * gst/gstmessage.h:
1638         Add some more docs for the messages.
1639
1640         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1641         (gst_base_sink_query):
1642         Add some more debugging.
1643
1644         * tools/gst-launch.c: (event_loop):
1645         When interrupting, don't try to set pipeline to PAUSED twice.
1646
1647 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1648
1649         
1650         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1651         (bin_handle_async_start), (gst_bin_handle_message_func):
1652         Move ASYNC_START message posting to where it belongs, similar to
1653         async_done. 
1654         Don't post ASYNC_START when we are in error. 
1655         Post ASYNC_START when we added an async element to a bin.
1656
1657 2007-08-14  Julien MOUTTE  <julien@moutte.net>
1658
1659         * gst/gstindex.c: (gst_index_add_association): Fix index entry
1660         generation from vargs. Fixes #466595.
1661
1662 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1663
1664         * gst/gstbin.c: (gst_bin_element_set_state):
1665         Always change the state of a NO_PREROLL element even if it has ASYNC
1666         elements inside (in case of a bin).
1667
1668         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1669         Unit test for this case.
1670
1671 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
1672
1673         * libs/gst/check/gstbufferstraw.c:
1674         * libs/gst/check/gstcheck.h:
1675         * libs/gst/controller/gstcontroller.c:
1676         * libs/gst/controller/gstcontrolsource.h:
1677         * libs/gst/controller/gstlfocontrolsource.h:
1678         * plugins/elements/gstcapsfilter.h:
1679         * plugins/elements/gstfdsink.h:
1680         * plugins/elements/gstfdsrc.h:
1681           Add more missing docs.
1682
1683 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1684
1685         * gst/gststructure.c:
1686         Add Since tag to docs.
1687
1688 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1689
1690         * docs/gst/gstreamer-sections.txt:
1691         * gst/gststructure.c: (gst_structure_get_uint):
1692         * gst/gststructure.h:
1693         Add function to get uint from a structure.
1694         API: gst_structure_get_uint()
1695
1696 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1697
1698         * gst/gstcaps.c: (gst_caps_set_simple_valist),
1699         (gst_caps_intersect):
1700         Fix proper check for simple caps.
1701
1702 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
1703
1704         * docs/gst/Makefile.am:
1705         * docs/libs/Makefile.am:
1706           Remove cruft and do some cleanups.
1707
1708         * docs/gst/gstreamer-docs.sgml:
1709         * docs/libs/gstreamer-libs-docs.sgml:
1710           Prepare for comming gtkdoc features (rebase against online docs).
1711
1712 2007-08-10  Michael Smith <msmith@fluendo.com>
1713
1714         * docs/gst/gstreamer-sections.txt:
1715           Add gst_registry_add_path to docs.
1716
1717 2007-08-10  Michael Smith <msmith@fluendo.com>
1718
1719         * gst/gstregistry.h:
1720           Add gst_registry_add_path, which was missing from this header.
1721
1722 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
1723
1724         * libs/gst/controller/gstlfocontrolsource.c:
1725           Printf format fix.
1726
1727 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1728
1729         * libs/gst/base/gstbasesink.c:
1730           Don't send an async_start message during downwards state change if 
1731           target state is less than READY
1732
1733 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1734
1735         translated by: Gabor Kelemen <kelemeng@gnome.hu>
1736
1737         * po/LINGUAS:
1738         * po/hu.po:
1739           Added Hungarian translation.
1740
1741 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1742
1743         * po/fi.po:
1744         * po/it.po:
1745         * po/nl.po:
1746         * po/sv.po:
1747         * po/uk.po:
1748           Updated translations.
1749
1750 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1751
1752         * libs/gst/controller/Makefile.am:
1753         Dist gstlfocontrolsourceprivate.h
1754
1755 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1756
1757         * docs/libs/gstreamer-libs.types:
1758         Don't register the enum type gst_lfo_waveform_get_type() in the
1759         .types file - only GObject derived types belong.
1760
1761 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1762
1763         Patch by: <arenevier at fdn dot fr>
1764
1765         * gst/gstbuffer.h:
1766         Remove comma from last element in enum to avoid compile errors when
1767         using -pendantic. Fixes #464366.
1768
1769 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1770
1771         * docs/design/part-TODO.txt:
1772         Add some more TODO items
1773
1774         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1775         Improve debugging.
1776
1777         * gst/gstcaps.c: (gst_caps_intersect):
1778         Optimize trivial intersection case between identical caps pointers.
1779
1780         * gst/gstelement.c: (gst_element_continue_state),
1781         (gst_element_set_state_func):
1782         * gst/gstpad.c:
1783         Fix spelling and grammar mistakes.
1784
1785 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
1786
1787         * po/POTFILES.in:
1788         * po/POTFILES.skip:
1789           Update POTFILES. Fixes #461599.
1790
1791 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1792
1793         * gst/gst.c:
1794         Fix confusing typo in debug output.
1795
1796 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1797
1798         reviewed by: Stefan Kost <ensonic@users.sf.net>
1799
1800         * libs/gst/controller/Makefile.am:
1801         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1802         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1803         (gst_lfo_control_source_new),
1804         (gst_lfo_control_source_set_waveform),
1805         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1806         (gst_lfo_control_source_finalize),
1807         (gst_lfo_control_source_dispose),
1808         (gst_lfo_control_source_set_property),
1809         (gst_lfo_control_source_get_property),
1810         (gst_lfo_control_source_class_init):
1811         * libs/gst/controller/gstlfocontrolsource.h:
1812         * libs/gst/controller/gstlfocontrolsourceprivate.h:
1813         API: Add GstLFOControlSource, a control source that gives values
1814         for specific timestamps based on several periodic waveforms.
1815         Fixes #459717.
1816
1817         * tests/check/libs/controller.c: (GST_START_TEST),
1818         (gst_controller_suite):
1819         * docs/libs/gstreamer-libs-docs.sgml:
1820         * docs/libs/gstreamer-libs-sections.txt:
1821         * docs/libs/gstreamer-libs.types:
1822         Add documentation and unit tests for GstLFOControlSource.
1823
1824 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
1825
1826         * configure.ac:
1827         Back to CVS
1828
1829 === release 0.10.14 ===
1830
1831 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
1832
1833         * configure.ac:
1834           releasing 0.10.14, "Breathing Vacuum"
1835
1836 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
1837
1838         * gst/gstelement.c: (gst_element_class_set_details_simple):
1839         * gst/gstelement.h:
1840           Make strings passed to gst_element_class_set_details_simple()
1841           constant, as they should be (#462752).
1842
1843 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
1844
1845         * gst/gstbin.c: (gst_bin_change_state_func),
1846         (bin_handle_async_done), (gst_bin_handle_message_func):
1847         Don't forget about the fact that some element went ASYNC even after a
1848         resync. This makes us post the ASYNC_DONE message correctly.
1849         Fixes #462558.
1850
1851 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1852
1853         * gst/gstregistry.c: (gst_registry_add_feature):
1854         When replacing an existing feature in the registry, make sure to
1855         continue holding a reference until we've replaced the name string
1856         within our feature hash table. Make sure to use g_hash_table_replace
1857         instead of g_hash_table_insert to ensure the new name string is used
1858         as a key instead of the old one that we're about to free.
1859         Fixes: #462085
1860
1861 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1862
1863         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1864         (gst_plugin_feature_set_name):
1865         Revert patch from #459466 until after the release and we can work
1866         out exactly what the problem is (if any).
1867
1868 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1869
1870         * docs/gst/gstreamer-sections.txt:
1871         * gst/gsttaglist.c:
1872         * gst/gsttaglist.h:
1873           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1874
1875 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1876
1877         * docs/libs/Makefile.am:
1878         Include our build-prefix libs and includes before the generic ones to
1879         avoid linking against the installed libs when we want the build-tree
1880         ones.
1881
1882 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1883
1884         Patch by: Steve Fink  <sphink gmail com>
1885
1886         * docs/pwg/building-testapp.xml:
1887           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1888           if people try to build or install the example from the plugin
1889           template against a GStreamer from package using the configure
1890           defaults.
1891
1892 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1893
1894         Patch by: Steve Fink  <sphink gmail com>
1895
1896         * tools/gst-inspect.1.in:
1897           Document --print-all and --print-plugin-auto-install-info command
1898           line options in man page.
1899
1900 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1901
1902         * docs/gst/gstreamer-sections.txt:
1903         Add docs for new api function.
1904
1905 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1906
1907         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1908         * gst/gstelementfactory.h:
1909         API: gst_element_factory_has_interface()
1910         Added method to check if an element factory implements a named
1911         interface.
1912
1913 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
1914
1915         * configure.ac:
1916         * docs/gst/gstreamer.types.in:
1917           Another conditional doc check.
1918
1919         * gst/gstmessage.c:
1920         * gst/gstparamspecs.h:
1921         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1922         * gst/gstvalue.c:
1923         * gst/gstxml.h:
1924           API-doc fixes.
1925
1926 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1927
1928         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1929         (gst_registry_binary_load_feature),
1930         (gst_registry_binary_load_plugin),
1931         (gst_registry_binary_read_cache):
1932           Print error just once and with additional info.
1933
1934 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1935
1936         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1937         (helper_find_suggest), (helper_find_get_length),
1938         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1939         (gst_type_find_helper_for_buffer):
1940           Cleanup the typefindhelper code and add private doc comments.
1941
1942 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
1943
1944         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1945         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1946         Fix capsfilter for cases where the caps set on capsfilter will provide
1947         additional information.
1948         Fixes #449197
1949
1950 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1951
1952         * gst/gsttypefindfactory.c:
1953           Fix docs that recommened wrong function to use.
1954
1955 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1956
1957         * tools/gst-inspect.c: (print_plugin_features):
1958           Also give media-type for typefinders in element output.
1959
1960 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1961
1962         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1963         (gst_registry_remove_features_for_plugin_unlocked),
1964         (gst_registry_add_feature), (gst_registry_remove_feature),
1965         (gst_registry_lookup_feature_locked):
1966         * gst/gstregistry.h:
1967           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1968           Fixes #459501.
1969
1970 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1971
1972         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1973         (gst_plugin_feature_set_name):
1974           Avoid double memory usage for pluginfeature names. Fixes #459466.
1975
1976 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1977
1978         * gst/gstpad.h:
1979           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1980           driving the pipeline may need to explicitly check for NOT_LINKED as
1981           well, since IS_FATAL doesn't cover that.
1982
1983 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1984
1985         * docs/pwg/advanced-types.xml:
1986           Fix typo and duplicate entry in video formats list.
1987
1988 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
1989
1990         * libs/gst/controller/gstinterpolation.c:
1991         Also round to the nearest int when using cubic interpolation.
1992
1993 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
1994
1995         * libs/gst/controller/gstinterpolation.c:
1996         When linearly interpolating integer types, round to the nearest int
1997         by adding 0.5. Don't do it for float/double types.
1998         Fixes the failing controller test on my machine, which is somehow
1999         rounding differently than on the buildbots.
2000
2001 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2002
2003         * tools/gst-plot-timeline.py:
2004           Better log parsing (categories can have -). Adjust text vs. lines, so
2005           that they span the same y-range.        
2006
2007 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2008
2009         * docs/random/ensonic/audiobaseclasses.txt:
2010         * docs/random/ensonic/dynlink.txt:
2011         * docs/random/ensonic/profiling.txt:
2012           Save my thoughts.
2013
2014         * docs/random/moving-plugins:
2015           Add note to use g_assert type macros.
2016
2017 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2018
2019         * configure.ac:
2020         * libs/gst/check/Makefile.am:
2021           Add libm check as we use in for plugins.
2022
2023 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
2024
2025         * gst/gstbin.c: (gst_bin_continue_func):
2026         Check that the state_cookie hasn't changed since the continue_func
2027         was scheduled. Avoids problems where the state changes back to
2028         something it shouldn't be because it was changed in the meantime.
2029
2030 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
2031
2032         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2033         (gst_registry_binary_save_string),
2034         (gst_registry_binary_save_pad_template),
2035         (gst_registry_binary_save_feature),
2036         (gst_registry_binary_save_plugin),
2037         (gst_registry_binary_load_feature),
2038         (gst_registry_binary_load_plugin),
2039         (gst_registry_binary_read_cache):
2040           Fix memory leak. Be less verbose in the log.
2041
2042 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2043
2044         * tests/check/elements/.cvsignore:
2045         Add file to cvsignore as commanded.
2046
2047 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2048
2049         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2050         (mq_dummypad_event), (run_output_order_test):
2051         Use a GStaticMutex to protect all cases where libcheck
2052         fail_if/fail_unless macros might be called from multiple threads
2053         simultaneously to avoid errors like:
2054           "check_pack.c:107: :-1081725400:Bad message type arg"
2055
2056 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2057
2058         * tests/check/pipelines/stress.c: (GST_START_TEST):
2059         Make sure we set the pipeline back to the NULL state before
2060         dropping our final reference.
2061
2062 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2063
2064         * tests/check/elements/tee.c: (GST_START_TEST):
2065         Make the tee stress-test a little less stressful so it doesn't just
2066         time out on slow-machines, and remove a small race when it's starting 
2067         up by adding a get_state() call.
2068
2069 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
2070
2071         * gst/gst.c:
2072           Avoid reading registry twice on startup. Fixes #457322.
2073
2074 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2075
2076         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2077         * pkgconfig/gstreamer-check.pc.in:
2078         Substitute the CFLAGS for libcheck into our .pc file too so that
2079         dependent modules will pick it up properly if libcheck is installed
2080         into some other prefix.
2081
2082 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2083
2084         * configure.ac:
2085         Revert the pkg-config check for libcheck, since it pulls in the
2086         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2087         a proper solution, either from the check project, or something else.
2088
2089 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
2090
2091         * configure.ac:
2092           Use pkg-config to locate check.
2093
2094 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
2095
2096         * gst/gsttaglist.c:
2097           Fix doc syntax.
2098
2099         * gst/gstutils.c:
2100         * gst/gstutils.h:
2101           Add deprecation guards.
2102
2103         * libs/gst/base/gstcollectpads.h:
2104           Don't document object (this is implicitly private).
2105
2106 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
2107
2108         * gst/gststructure.c: (gst_structure_parse_value):
2109           When deserialising foo=bar without a type cast, check if it's a
2110           boolean before falling back to a string type, otherwise things like
2111           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2112           because the filtercaps end up having a signed=(string)true field,
2113           which causes problems later when intersection caps.
2114
2115         * tests/check/gst/gststructure.c: (GST_START_TEST):
2116           Add a unit test for this.
2117
2118 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
2119
2120         Reviewed by: Stefan Kost <ensonic@users.sf.net>
2121
2122         * libs/gst/controller/Makefile.am:
2123         * libs/gst/controller/gstcontroller.c:
2124         (gst_controlled_property_add_interpolation_control_source),
2125         (gst_controlled_property_new), (gst_controlled_property_free),
2126         (gst_controller_find_controlled_property),
2127         (gst_controller_new_valist), (gst_controller_new_list),
2128         (gst_controller_new), (gst_controller_remove_properties_valist),
2129         (gst_controller_remove_properties_list),
2130         (gst_controller_remove_properties),
2131         (gst_controller_set_property_disabled),
2132         (gst_controller_set_disabled), (gst_controller_set_control_source),
2133         (gst_controller_get_control_source), (gst_controller_get),
2134         (gst_controller_sync_values), (gst_controller_get_value_array),
2135         (_gst_controller_dispose), (gst_controller_get_type),
2136         (gst_controlled_property_set_interpolation_mode),
2137         (gst_controller_set), (gst_controller_set_from_list),
2138         (gst_controller_unset), (gst_controller_unset_all),
2139         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2140         * libs/gst/controller/gstcontroller.h:
2141         * libs/gst/controller/gstcontrollerprivate.h:
2142         * libs/gst/controller/gstcontrolsource.c:
2143         (gst_control_source_class_init), (gst_control_source_init),
2144         (gst_control_source_get_value),
2145         (gst_control_source_get_value_array), (gst_control_source_bind):
2146         * libs/gst/controller/gstcontrolsource.h:
2147         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2148         (gst_object_get_control_source):
2149         * libs/gst/controller/gstinterpolation.c:
2150         (gst_interpolation_control_source_find_control_point_node),
2151         (gst_interpolation_control_source_get_first_value),
2152         (_interpolate_none_get), (interpolate_none_get),
2153         (interpolate_none_get_boolean_value_array),
2154         (interpolate_none_get_enum_value_array),
2155         (interpolate_none_get_string_value_array),
2156         (_interpolate_trigger_get), (interpolate_trigger_get),
2157         (interpolate_trigger_get_boolean_value_array),
2158         (interpolate_trigger_get_enum_value_array),
2159         (interpolate_trigger_get_string_value_array):
2160         * libs/gst/controller/gstinterpolationcontrolsource.c:
2161         (gst_control_point_free), (gst_interpolation_control_source_reset),
2162         (gst_interpolation_control_source_new),
2163         (gst_interpolation_control_source_set_interpolation_mode),
2164         (gst_interpolation_control_source_bind),
2165         (gst_control_point_compare), (gst_control_point_find),
2166         (gst_interpolation_control_source_set_internal),
2167         (gst_interpolation_control_source_set),
2168         (gst_interpolation_control_source_set_from_list),
2169         (gst_interpolation_control_source_unset),
2170         (gst_interpolation_control_source_unset_all),
2171         (gst_interpolation_control_source_get_all),
2172         (gst_interpolation_control_source_get_count),
2173         (gst_interpolation_control_source_init),
2174         (gst_interpolation_control_source_finalize),
2175         (gst_interpolation_control_source_dispose),
2176         (gst_interpolation_control_source_class_init):
2177         * libs/gst/controller/gstinterpolationcontrolsource.h:
2178         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2179         API: Refactor GstController into the core controller which can take
2180         a GstControlSource for providing actual values for timestamps.
2181         Implement a interpolation control source and use this for backward
2182         compatibility, deprecate a bunch of functions that are now handled
2183         by GstControlSource or GstInterpolationControlSource.
2184         Make it possible to disable the controller completely or only for
2185         specific properties. Fixes #450711.
2186         * docs/libs/gstreamer-libs-docs.sgml:
2187         * docs/libs/gstreamer-libs-sections.txt:
2188         * docs/libs/gstreamer-libs.types:
2189         Add new functions and classes to the docs.
2190         * tests/check/libs/controller.c: (GST_START_TEST),
2191         (gst_controller_suite):
2192         * tests/examples/controller/audio-example.c: (main):
2193         Port unit test and example to the new API and add some new
2194         unit tests.
2195
2196 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
2197
2198         Patch by: Mark Nauwelaerts <manauw at skynet be>
2199
2200         * plugins/elements/gstmultiqueue.c:
2201         (gst_multi_queue_get_internal_links), (apply_buffer),
2202         (single_queue_overrun_cb), (gst_single_queue_new):
2203         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2204         the pipeline layout can be tracked correctly. Fixes #453732.
2205
2206 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
2207
2208         * docs/gst/Makefile.am:
2209         * docs/libs/Makefile.am:
2210         * docs/plugins/Makefile.am:
2211           Simplify --extra-dir as gtkdoc scans recursively.
2212
2213 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2214
2215         * tools/gst-launch.c: (main):
2216         When we got an error, there is no point in waiting for preroll when
2217         shutting down.
2218
2219 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2220
2221         * plugins/elements/gsttee.c: (gst_tee_base_init),
2222         (gst_tee_request_new_pad), (gst_tee_release_pad),
2223         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2224         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2225         (gst_tee_chain):
2226         Be a lot smarter when deciding what srcpad to use for proxying
2227         the buffer_alloc. Also handle pad added/removed when doing so.
2228         Fixes #357959.
2229         Keep track of what pads we already pushed on in case we have pads
2230         added/removed while pushing. Fixes #374639 
2231
2232         * tests/check/Makefile.am:
2233         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2234         (tee_suite):
2235         Added unit test for pad resync.
2236
2237 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2238
2239         * po/nl.po:
2240         * po/sv.po:
2241           Updated translations.
2242
2243 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2244
2245         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2246
2247         * po/LINGUAS:
2248         * po/fi.po:
2249           Added new Finnish translation.
2250
2251 2007-06-28  Wim Taymans  <wim@fluendo.com>
2252
2253         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2254         (single_queue_overrun_cb):
2255         When figuring out when a queue is filled, use our internal time estimate
2256         based on segments, just like check_full does.
2257
2258 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2259
2260         * gst/gstminiobject.c: (gst_mini_object_get_type):
2261           Remove 3 do-nothing methods.
2262
2263 2007-06-27  Wim Taymans  <wim@fluendo.com>
2264
2265         Patch by: Tim Angus <tim at ngus dot net>
2266
2267         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2268         (gst_capsfilter_set_property):
2269         Take a reference instead of a copy when setting "caps".
2270         Fix documentation to clarify this behaviour. Fixes #449414.
2271
2272 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2273
2274         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2275         * gst/gstplugin.c: (gst_plugin_init):
2276         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2277         * gst/gstquery.c: (gst_query_get_type):
2278         * gst/gstregistry.c: (gst_registry_init):
2279         * gst/gsturi.c: (gst_uri_handler_base_init):
2280           Remove empty instance_init() functions to save relocs and lessen the
2281           noise. Remove some of the function prototypes that are doubled by
2282           G_DEFINE_TYPE.
2283           
2284 2007-06-27  Wim Taymans  <wim@fluendo.com>
2285
2286         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2287
2288         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2289         Add peer and direction in the XML serialisation of ghostpads.
2290         Fixes #449226.
2291
2292 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2293
2294         * configure.ac:
2295           Preserve useful information, thanks Tim.
2296
2297 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
2298
2299         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2300         (gst_single_queue_flush), (apply_segment), (apply_buffer),
2301         (gst_single_queue_push_one), (gst_multi_queue_loop),
2302         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2303         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2304         (compute_high_id), (gst_single_queue_new):
2305         * plugins/elements/gstmultiqueue.h:
2306         Take the multiqueue lock when updating the fill level so we don't get
2307         confused. 
2308
2309         After applying a buffer or event on the src pad segment, make sure to
2310         call gst_data_queue_limits_changed() to get the data queue to unblock
2311         and check the filled state again.
2312         
2313         Rework the not-linked pad handling so the logic is that not-linked 
2314         pads can push as fast as they like, but only so they never get 
2315         ahead of any linked pads.
2316
2317         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2318         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2319         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2320
2321         Add a test to check that not-linked pads always stay behind
2322         linked pads.
2323
2324         Fixes: #430682
2325
2326 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
2327
2328         * docs/random/release:
2329           Some updates to the release procedure.
2330
2331 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2332
2333         * gst/gstelementfactory.c: (__gst_element_details_clear):
2334           Microoptimization that saves stunning 80 bytes.
2335
2336 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
2337
2338         * docs/plugins/gstreamer-plugins.args:
2339         * docs/plugins/inspect/plugin-coreelements.xml:
2340         * docs/plugins/inspect/plugin-coreindexers.xml:
2341           Update docs with caps info.
2342
2343 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2344
2345         * po/it.po:
2346           Updated Italian translation.
2347
2348 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2349
2350         * ChangeLog:
2351         * po/vi.po:
2352           Update Vietnamese translations.
2353
2354 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2355
2356         * libs/gst/base/gstbasesink.c:
2357           Remove unused signal enum.
2358
2359 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2360
2361         * docs/gst/gstreamer-sections.txt:
2362         * gst/gstelement.c:
2363         * gst/gstutils.c: (gst_type_register_static_full):
2364         Beef up and include the docs for gst_type_register_static_full and
2365         gst_element_class_set_details_simple and add the API keyword
2366         in the ChangeLog.
2367
2368 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2369
2370         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2371         (update_time_level), (gst_single_queue_push_one),
2372         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2373         (single_queue_overrun_cb), (single_queue_underrun_cb),
2374         (single_queue_check_full):
2375         Fix setting max-* properties after adding queues.
2376         Use IS_FILLED for checking visible items.
2377         Signal overrun if multiple queues overrun.
2378         Add extra debug output.
2379         Patch by: Wim Taymans <wim@fluendo.com>
2380
2381 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
2382
2383         * gst/gstelement.c: (gst_element_class_set_details_simple):
2384         * gst/gstelement.h:
2385         * gst/gstutils.c: (gst_type_register_static_full):
2386         * gst/gstutils.h:
2387         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2388         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2389         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2390         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2391         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2392         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2393         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2394         * plugins/elements/gstidentity.c: (gst_identity_base_init):
2395         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2396         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2397         (apply_buffer), (gst_queue_chain):
2398         * plugins/elements/gsttee.c: (gst_tee_base_init):
2399         * plugins/elements/gsttypefindelement.c:
2400         (gst_type_find_element_base_init),
2401         (gst_type_find_element_class_init):
2402           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2403           API: add gst_type_register_static_full
2404           API: add gst_element_class_set_details_simple
2405
2406 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2407
2408         * docs/pwg/advanced-types.xml:
2409           Fix typo in iana.org URI.
2410
2411 2007-06-19  Andy Wingo  <wingo@pobox.com>
2412
2413         * tests/check/pipelines/simple-launch-lines.c
2414         (test_state_change_returns): Enable pull-mode tests now that
2415         basesink has been fixed.
2416
2417         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2418         Changed from gst_base_sink_is_prerolled, reversing the sense of
2419         the return value. Returns FALSE also if the sink is in pull mode,
2420         in which case it needs no preroll.
2421         (gst_base_sink_query, gst_base_sink_change_state): Update for
2422         needs_preroll change.
2423         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2424         chaining up, in which we return SUCCESS directly if we activated
2425         in pull mode instead of ASYNC. Involves countering an async_start
2426         message sent before chaining up; not sure if this is correct, in
2427         an ideal world we only send async-start when activating in push
2428         mode.
2429
2430         * tests/check/pipelines/simple-launch-lines.c
2431         (test_state_change_returns): New test, partially disabled until
2432         basesink is fixed.
2433
2434 2007-06-19  Wim Taymans  <wim@fluendo.com>
2435
2436         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2437         (gst_multi_queue_sink_event):
2438         Fix event leak.
2439
2440 2007-06-19  Wim Taymans  <wim@fluendo.com>
2441
2442         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2443         (gst_bin_change_state_func), (bin_push_state_continue),
2444         (bin_handle_async_start), (bin_handle_async_done),
2445         (gst_bin_handle_message_func):
2446         Move the common code for posting state-change messages into
2447         one function.
2448         Broadcast the state signal after we posted the messages.
2449         Mark the bin as busy when it's doing a state-change.
2450         Make sure async-start/done messages don't interfere with the bin's
2451         state when it's busy.
2452         After the state change, let the bin check which elements completed the
2453         state change while it was busy so that it can update its state.
2454
2455 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
2456
2457         * docs/random/release:
2458         Add a note about updating the doap file to the release checklist
2459
2460 2007-06-18  Wim Taymans  <wim@fluendo.com>
2461
2462         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2463         (gst_single_queue_push_one), (gst_multi_queue_chain),
2464         (gst_multi_queue_sink_event):
2465         Make sure we don't reference the buffer/event after we have given away
2466         ownership in the queue.
2467
2468 2007-06-18  Wim Taymans  <wim@fluendo.com>
2469
2470         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2471         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2472         Update queue state _after_ adding the item in the queue because else we
2473         could end up being full without the element added yet.
2474
2475 2007-06-18  Wim Taymans  <wim@fluendo.com>
2476
2477         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2478         (gst_bin_remove_func), (gst_bin_get_state_func),
2479         (gst_bin_element_set_state), (gst_bin_continue_func),
2480         (bin_push_state_continue), (bin_handle_async_start),
2481         (bin_handle_async_done), (gst_bin_handle_message_func):
2482         * gst/gstbin.h:
2483         Immediatly commit the toplevel bin state when receiving an async-done
2484         message. This enables us to avoid spawning a thread to commit the state
2485         in some common cases and it also avoids some races.
2486         Avoid spawning a state thread when adding/removing async elements to a
2487         toplevel bin. Instead we immediatly update the bin state.
2488         Get rid of iterating all the children when getting the state in the bin
2489         because it is now always up-to-date.
2490         Fix bug where locked elements would always return _SUCCESS even it they
2491         returned NO_PREROLL before being locked.
2492         Fix the order of the state_change, async-start/done messages that was
2493         sometimes incorrect.
2494         Mark the state_dirty field as deprecated, we don't need it anymore as we
2495         are always up-to-date.
2496
2497         * gst/gstelement.c: (gst_element_get_state_func),
2498         (gst_element_continue_state):
2499         Small debug inprovements.
2500         Return the previous element state return when nothing is pending instead
2501         of blindly returning SUCCESS.
2502
2503         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2504         (gst_sinks_suite):
2505         Add a whole bunch of new testcases.
2506
2507 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2508
2509         * po/uk.po:
2510         * po/vi.po:
2511           Update translations.
2512
2513 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
2514
2515         * gst/gstpad.c:
2516         Fix typo in the docs.
2517
2518 2007-06-15  Wim Taymans  <wim@fluendo.com>
2519
2520         * docs/libs/gstreamer-libs-sections.txt:
2521         Add docs for new methods.
2522
2523 2007-06-15  Wim Taymans  <wim@fluendo.com>
2524
2525         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2526         (gst_multi_queue_item_new):
2527         Don't use GSlice because we don't depend on >= 2.10 yet.
2528
2529 2007-06-15  Wim Taymans  <wim@fluendo.com>
2530
2531         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2532         (update_time_level), (apply_segment), (apply_buffer),
2533         (gst_single_queue_push_one), (gst_multi_queue_item_new),
2534         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2535         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2536         (single_queue_underrun_cb), (single_queue_check_full):
2537         Remove debug printf.
2538
2539 2007-06-15  Wim Taymans  <wim@fluendo.com>
2540
2541         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2542         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2543         (gst_data_queue_set_flushing), (gst_data_queue_push),
2544         (gst_data_queue_pop), (gst_data_queue_drop_head),
2545         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2546         * libs/gst/base/gstdataqueue.h:
2547         Various cleanups.
2548         Added methods to get the current levels and to inform the queue that the
2549         'full' limits changed.
2550
2551         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2552         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2553         (gst_single_queue_flush), (update_time_level), (apply_segment),
2554         (apply_buffer), (gst_single_queue_push_one),
2555         (gst_multi_queue_item_steal_object),
2556         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2557         (gst_multi_queue_loop), (gst_multi_queue_chain),
2558         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2559         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2560         (gst_multi_queue_src_query), (single_queue_overrun_cb),
2561         (single_queue_underrun_cb), (single_queue_check_full),
2562         (gst_single_queue_new):
2563         Keep track of time in the queue by measuring the difference between
2564         running_time on input and output. This gives more accurate results and
2565         can compensate for segments correctly.
2566         Make a queue by default only 5 buffers deep. We will now increase the
2567         buffer size depending on the filledness of the other queues.
2568         Factor out commong flush code.
2569         Make sure we don't add additional refcounts to buffers when we can avoid
2570         it.
2571         Propagate GstFlowReturn differently.
2572         Use GSlice for intermediate GstMultiQueueItems.
2573         Keep track of EOS.
2574         Resize queues on over and underruns based on filled level of other
2575         queues.
2576         When checking if the queue is filled, prefer to measure in time if we
2577         can and fall back to bytes when no time is known.
2578
2579         * plugins/elements/gstqueue.c:
2580         Fix return value.
2581
2582 2007-06-15  Wim Taymans  <wim@fluendo.com>
2583
2584         * libs/gst/base/gstbasetransform.c:
2585         (gst_base_transform_sink_event):
2586         Work around the brokenness of the event vmethod in basetransform. Prefer
2587         to return TRUE when the subclass returned FALSE (meaning don't forward
2588         the event). 
2589
2590         * libs/gst/base/gstbasetransform.h:
2591         Clarify the docs.
2592
2593 2007-06-15  Wim Taymans  <wim@fluendo.com>
2594
2595         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2596         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2597         (gst_base_src_default_query), (gst_base_src_get_range),
2598         (gst_base_src_start):
2599         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2600         Improve debugging.
2601
2602 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2603
2604         * docs/pwg/advanced-types.xml:
2605           Added more formats to caps table.
2606
2607 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2608
2609         * tools/gst-launch.c: (main):
2610           Remove crufy code. GOption does not need this workaround.
2611
2612 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2613
2614         * libs/gst/controller/gstcontroller.c:
2615         (gst_controlled_property_set_interpolation_mode):
2616           Fix wrong getter for enums in controller.
2617
2618 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2619
2620         * libs/gst/check/gstcheck.c: (gst_check_init):
2621           Intercept criticals and warnings in the Gst-Phonon log domain, so
2622           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2623           well.
2624         
2625 2007-06-14  Edward Hervey  <edward@fluendo.com>
2626
2627         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2628         Since this file doesn't include "gst.h" it will not go through the
2629         macros that disable GST_LOG if debugging was disabled.
2630
2631 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2632
2633         * libs/gst/check/Makefile.am:
2634         * libs/gst/check/gstcheck.h:
2635         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2636         * pkgconfig/gstreamer-check.pc.in:
2637           Ugly 'fix' for the controller unit test on the p5 bot: in
2638           fail_unless_equals_float() check whether the values are 'almost
2639           equal' by allowing a small absolute error, which should be good
2640           enough for our use cases (normal numbers and values close to 0).
2641           Proper fixage left to floating point arithmetic aficionados.
2642
2643 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2644
2645         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2646         (gst_base_sink_render_object), (gst_base_sink_get_position):
2647           Add two breaks thats where missing.
2648
2649 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2650
2651         * docs/libs/gstreamer-libs-sections.txt:
2652         * libs/gst/check/gstcheck.h:
2653           API: add fail_unless_equals_float() and assert_equals_float().
2654           Add documentation for some of the macros.
2655
2656         * tests/check/libs/controller.c: (GST_START_TEST):
2657           Use newly-added asserts.
2658
2659 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2660
2661         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2662           Show the caps change in the log to help spotting the case of not
2663           exactly matching caps.
2664
2665 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2666
2667         * docs/pwg/building-boiler.xml:
2668           Fix typos, spotted by Thijs Vermeir (#447190).
2669
2670 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2671
2672         * docs/plugins/tmpl/.cvsignore:
2673         Ignore file to keep the buildbots happy
2674
2675 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2676
2677         * docs/plugins/Makefile.am:
2678         * docs/plugins/gstreamer-plugins-docs.sgml:
2679         * docs/plugins/gstreamer-plugins-sections.txt:
2680         Pull fdsink into the docs too.
2681
2682 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
2683
2684         * libs/gst/controller/gstinterpolation.c:
2685         Actually use the new functions with min/max checks for the trigger and
2686         none interpolation modes for get() and get_value_array() instead of
2687         just the latter.
2688
2689 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
2690
2691         * libs/gst/controller/gstcontroller.c:
2692         (gst_controlled_property_free):
2693         Unset the minimum and maximum GValues when freeing the corresponding
2694         GstControllerProperty struct.
2695
2696 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
2697
2698         * libs/gst/controller/gstcontroller.c:
2699         (gst_controlled_property_new):
2700         * libs/gst/controller/gstcontrollerprivate.h:
2701         * libs/gst/controller/gstinterpolation.c:
2702         (gst_controlled_property_find_control_point_node),
2703         (interpolate_none_get), (interpolate_none_get_enum_value_array),
2704         (interpolate_none_get_string_value_array),
2705         (interpolate_trigger_get),
2706         (interpolate_trigger_get_enum_value_array),
2707         (interpolate_trigger_get_string_value_array):
2708         Protect against values larger or smaller than the minimum or maximum
2709         allowed value for the property when using values that can be compared.
2710
2711         Optimize trigger interpolator a bit by taking the last requested value
2712         into account instead of always looping through the complete list.
2713
2714         Fix coding style a bit, everywhere else we use "return foo" instead
2715         of "return (foo)".
2716         
2717         * tests/check/libs/controller.c: (GST_START_TEST),
2718         (gst_controller_suite):
2719         Add unit test for the protection against too large or too small
2720         values.
2721
2722 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
2723
2724         * docs/random/slomo/controller.txt:
2725         Add some thoughts about the future of the controller.
2726
2727 2007-06-08  Wim Taymans  <wim@fluendo.com>
2728
2729         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2730         Don't overflow in retimestamping code.
2731
2732 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
2733
2734         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2735         Use gst_util_guint64_to_gdouble for conversions.
2736         * win32/common/libgstreamer.def:
2737         Add new exported functions.
2738
2739 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
2740
2741         * gst/gstutils.c:
2742           Small docs addition.
2743
2744 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2745
2746         * README:
2747           Remove that test line again.
2748
2749 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2750
2751         * README:
2752           Test commit mail sending.
2753
2754 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2755
2756         * configure.ac:
2757           Fix typo and test commit mail sending.
2758
2759 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2760
2761         * tests/examples/controller/audio-example.c:
2762           Improve comment and test commit mail sending.
2763
2764 2007-06-07  Wim Taymans  <wim@fluendo.com>
2765
2766         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2767         (gst_bin_remove_func), (gst_bin_element_set_state),
2768         (bin_handle_async_start), (bin_handle_async_done),
2769         (gst_bin_handle_message_func):
2770         Add helper function to find messages.
2771         Generate the async-done messages together with the state change
2772         messages.
2773         Small cleanups in handling toplevel bins.
2774
2775 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2776
2777         * libs/gst/base/gstdataqueue.c:
2778         * libs/gst/base/gstdataqueue.h:
2779         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2780         (gst_multi_queue_item_new), (gst_multi_queue_chain),
2781         (gst_multi_queue_sink_event):
2782         * tests/check/elements/multiqueue.c: (multiqueue_suite):
2783           Fix multiqueue leaking buffers and events when downstream or the
2784           queue are flushing. Make refcounting assumptions explicit and
2785           document them (shouldn't break existing code that uses it other than
2786           maybe leak miniobjects, but that already happens anyway). Add unit
2787           test for the most common flushing case. Fixes #423700.
2788           
2789 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2790
2791         * libs/gst/controller/gstcontroller.c:
2792         Clarify docs: The get_all, get_value_array(s) functions
2793         don't modify the GObject properties.
2794
2795 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2796
2797         * libs/gst/controller/gstcontroller.c:
2798         (gst_controlled_property_set_interpolation_mode),
2799         (gst_controlled_property_prepend_default),
2800         (gst_controlled_property_new), (gst_controller_set_unlocked),
2801         (gst_controller_set), (gst_controller_set_from_list),
2802         (gst_controller_unset), (gst_controller_unset_all):
2803         * libs/gst/controller/gstcontrollerprivate.h:
2804         * libs/gst/controller/gstinterpolation.c:
2805         Factor out the 'set' logic into gst_controller_set_unlocked for the
2806         gst_controller_set and gst_controller_set_from_list functions.
2807
2808         To make life of the interpolators easier always add a control point
2809         at timestamp zero with the default value.
2810
2811         In the linear interpolator make things more obvious by better variable
2812         naming (slope).
2813
2814         Implement cubic interpolation mode (by using a natural cubic spline)
2815         and map the quadratic interpolation mode to this too (as quadratic
2816         doesn't make much sense, see discussion on the list).
2817
2818         * tests/check/libs/controller.c: (GST_START_TEST),
2819         (gst_controller_suite):
2820         Add unit test for the cubic interpolation mode and check everywhere
2821         if the interpolation mode could be set as expected.
2822
2823 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2824
2825         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2826           Don't use GLib-2.10 functions, we still depend on
2827           GLib-how-old-is-it-again-2.8.
2828
2829 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2830
2831         * docs/gst/gstreamer-sections.txt:
2832         * gst/Makefile.am:
2833         * gst/gst.c:
2834         * gst/gst.h:
2835         * gst/gstparamspecs.c: (_gst_param_fraction_init),
2836         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2837         (_gst_param_fraction_values_cmp),
2838         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2839         * gst/gstparamspecs.h:
2840         * gst/gstvalue.c:
2841         * tests/check/Makefile.am:
2842         * tests/check/gst/.cvsignore:
2843         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2844         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2845         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2846         (GST_START_TEST), (gst_param_spec_suite):
2847           API: add GstParamSpecFraction, so elements can have fraction
2848           properties without lots of painful string parsing (#444648).
2849
2850 2007-06-05  Wim Taymans  <wim@fluendo.com>
2851
2852         * gst/gstobject.c: (gst_object_class_init):
2853         Fix signal signature.
2854
2855         * gst/gstsegment.c:
2856         Add small clarification in the api docs.
2857
2858         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2859         States are protected with object lock.
2860
2861 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2862
2863         * AUTHORS:
2864         I should probably be listed as an author by now.
2865
2866         * docs/random/release:
2867         Update the release doc
2868
2869 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
2870
2871         * gst/gstvalue.c:
2872           Make docs for gst_value_compare() mention return enums that
2873           actually exist.
2874
2875 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2876
2877         * configure.ac:
2878           Back to CVS
2879
2880 === release 0.10.13 ===
2881
2882 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
2883
2884         * configure.ac:
2885           releasing 0.10.13, "With or without you"
2886
2887 2007-05-25  Wim Taymans  <wim@fluendo.com>
2888
2889         * gst/gstbin.c: (bin_handle_async_done):
2890         Make sure that the child bin stops after completing the async state
2891         change so that the parent can continue the state change to PLAYING.
2892         Fixes #441159.
2893
2894 2007-05-25  Wim Taymans  <wim@fluendo.com>
2895
2896         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2897         (unref_data), (gst_collect_pads_remove_pad),
2898         (gst_collect_pads_check_pads):
2899         Use additional refcounting to avoid crashes when dynamically adding and
2900         removing pads. Fixes #420206.
2901
2902 2007-05-24  Wim Taymans  <wim@fluendo.com>
2903
2904         * tools/gst-launch.c: (event_loop):
2905         When buffering goes from a two digit to a single digit number, make sure
2906         to remove the old second digit by writing a blank over it.
2907
2908 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2909
2910         * libs/gst/base/gstdataqueue.c:
2911           Eliminate tabs and trailing comma in enum list; fix some typos.
2912
2913 2007-05-24  Wim Taymans  <wim@fluendo.com>
2914
2915         * tests/check/gst/gstbin.c: (GST_START_TEST):
2916         Allow refcount of 3 and 4 because some state thread might still be busy
2917         with it.
2918
2919 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2920
2921         * plugins/elements/Makefile.am:
2922         * plugins/elements/gstmultiqueue.h:
2923         * plugins/elements/gstqueue.h:
2924           These are not installed headers, no need for padding.
2925
2926 2007-05-24  Wim Taymans  <wim@fluendo.com>
2927
2928         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2929         (gst_bin_continue_func):
2930         Enable latency for next release.
2931         Restore STATE_LOCK around recalc_state that was left out during the
2932         rewrite and could result in racy behaviour when _get_state and
2933         recalc_state are run concurrently. See #440463.
2934
2935 2007-05-23  Wim Taymans  <wim@fluendo.com>
2936
2937         * tests/check/gst/gstsystemclock.c: (store_callback),
2938         (GST_START_TEST):
2939         Improve test_async_order to also work when both timers are already
2940         expired when we get scheduled to check it.
2941
2942 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2943
2944         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2945         (gst_bin_set_property), (gst_bin_get_property),
2946         (gst_bin_remove_func), (gst_bin_handle_message_func):
2947         * gst/gstbin.h:
2948           'private' is a c++ keyword, let's not use that in header files,
2949           otherwise c++ compilers will throw a tantrum.
2950
2951 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2952
2953         * plugins/elements/gstelements.c:
2954         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2955         (gst_file_sink_get_current_offset):
2956         * plugins/indexers/gstindexers.c: (plugin_init):
2957           Use #ifdef for HAVE_XYZ for consistency.
2958
2959         * tests/check/Makefile.am:
2960         * tests/check/elements/.cvsignore:
2961         * tests/check/elements/filesink.c: (setup_filesink),
2962         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2963           Add some unit tests for filesink.
2964
2965 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2966
2967         Patch by: Mark Nauwelaerts <manauw at skynet be>
2968
2969         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2970         (gst_file_sink_query), (gst_file_sink_do_seek),
2971         (gst_file_sink_get_current_offset), (gst_file_sink_render):
2972         * plugins/elements/gstfilesink.h:
2973           Fix position reporting; rename data_written member to current_pos to
2974           reflect its real meaning (fixes #412648).
2975
2976 2007-05-22  Edward Hervey  <edward@fluendo.com>
2977
2978         * docs/gst/gstreamer-sections.txt:
2979         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2980         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2981         (gst_bin_remove_func), (gst_bin_handle_message_func):
2982         * gst/gstbin.h:
2983         Add a property for bins that handle the state change of their childs.
2984         Fixes #435880
2985
2986 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2987
2988         * libs/gst/controller/gstinterpolation.c:
2989         Use an array of the correct type when using _get_value_array with
2990         linear interpolation.
2991
2992 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
2993
2994         * gst/gstelement.c (gst_element_requires_clock,
2995           gst_element_provides_clock, gst_element_request_pad,
2996           gst_element_class_set_details, gst_element_class_set_details_simple,
2997           gst_element_default_send_event, gst_element_abort_state,
2998           gst_element_continue_state, gst_element_set_state,
2999           gst_element_set_state_func, iterator_activate_fold_with_resync):
3000         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
3001           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
3002           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
3003           gst_pad_get_range, gst_pad_pull_range):
3004         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
3005           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
3006           GstPadActivateModeFunction, GstPadChainFunction,
3007           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
3008           GstPadFixateCapsFunction, GstPadTemplate):
3009         * gst/gstpipeline.c (gst_pipeline_change_state,
3010           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
3011           gst_pipeline_set_clock, gst_pipeline_auto_clock,
3012           gst_pipeline_get_delay):
3013           Whitespace and docs fixes.
3014
3015 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3016
3017         * libs/gst/controller/gstinterpolation.c:
3018         (interpolate_trigger_get_enum_value_array),
3019         (interpolate_trigger_get_string_value_array):
3020         Add support for retrieving value arrays when using the trigger
3021         interpolation mode. 
3022
3023 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3024
3025         * libs/gst/controller/gstcontroller.c:
3026         (gst_controller_get_value_array):
3027         * libs/gst/controller/gstcontroller.h:
3028         Clarify the docs of gst_controller_get_value_array(): The array where
3029         the values should be written to must be allocated as there seems to be
3030         no way to get the size of a random GType. This doesn't change any
3031         behaviour. Also fix some typos all over the place and remove an unused,
3032         commented function that is not necessary as g_object_set() could be
3033         used instead.
3034         * tests/check/libs/controller.c: (GST_START_TEST),
3035         (gst_controller_suite):
3036         Add unit test for gst_controller_get_value_array().
3037
3038 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
3039
3040         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3041
3042         Disable part of the gst_buffer_try_new_and_alloc test, because
3043         it can happily succeed on 64-bit systems where there's more address
3044         space available.
3045
3046 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3047
3048         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3049         Add unit test for the improved caps checking from bug #421543.
3050
3051 2007-05-21  Wim Taymans  <wim@fluendo.com>
3052
3053         * docs/design/part-synchronisation.txt:
3054         Small addition.
3055
3056         * gst/gstbin.c: (gst_bin_query):
3057         * plugins/elements/gstqueue.c: (apply_segment):
3058         Improve debugging.
3059
3060         * gst/gstmessage.h:
3061         Improve docs.
3062
3063 2007-05-21  Wim Taymans  <wim@fluendo.com>
3064
3065         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3066         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3067         (gst_pad_configure_src):
3068         Added simple version of improved caps checking. It was previously
3069         assumed that a setcaps function would check the validity of the caps but
3070         people prefer us to check caps against the template automatically. 
3071         Fixes #421543.
3072
3073 2007-05-21  Wim Taymans  <wim@fluendo.com>
3074
3075         * libs/gst/base/gstbasetransform.h:
3076         Fix macro for locking/unlocking the transform lock.
3077
3078 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3079
3080         * docs/plugins/tmpl/.cvsignore:
3081           Ignore more.
3082
3083 2007-05-18  Edward Hervey  <edward@fluendo.com>
3084
3085         * plugins/elements/gstqueue.c: (gst_queue_loop):
3086         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3087         for the subtle art of warning a potentially blocking thread that it
3088         should check the source pad return value, and relay the information
3089         upstream.
3090
3091 2007-05-18  Edward Hervey  <edward@fluendo.com>
3092
3093         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3094         Release the queue lock !
3095
3096 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3097
3098         * docs/libs/gstreamer-libs-sections.txt:
3099         Add the two new controller functions to the appropiate places.
3100
3101 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3102
3103         reviewed by: Stefan Kost <ensonic@users.sf.net>
3104
3105         * libs/gst/controller/gstcontroller.c:
3106         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3107         (_gst_controller_get_property), (_gst_controller_set_property),
3108         (_gst_controller_init), (_gst_controller_class_init):
3109         * libs/gst/controller/gstcontroller.h:
3110         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3111         (gst_object_get_control_rate), (gst_object_set_control_rate):
3112         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3113         Add API that provides sync suggestion timestamps for elements that
3114         call gst_object_sync_values() from which those elements can subdivide
3115         their processing loop to get the best results for the controlled
3116         properties. For now it just suggests last_sync + control_rate as
3117         new timestamp but this will be improved in the future.
3118
3119         While doing that change the control-rate property to a GstClockTime
3120         from guint and change it's meaning from samples to nanoseconds as
3121         the GstController doesn't know anything about sampling rate. Strictly
3122         speaking this breaks ABI but as the control-rate property didn't do
3123         anything in the past and as such couldn't be used this should be no
3124         problem.        
3125
3126 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3127
3128         reviewed by: Stefan Kost <ensonic@users.sf.net>
3129
3130         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3131         (gst_controller_unset_all):
3132         * libs/gst/controller/gstcontrollerprivate.h:
3133         * libs/gst/controller/gstinterpolation.c:
3134         (gst_controlled_property_find_control_point_node):
3135         Save last synced value from the list to continue searching from there
3136         in future syncs. This speeds everything up a bit.
3137         
3138 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3139
3140         reviewed by: Stefan Kost <ensonic@users.sf.net>
3141
3142         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3143         (gst_control_point_find), (gst_controlled_property_new),
3144         (gst_control_point_free), (gst_controlled_property_free),
3145         (gst_controller_set), (gst_controller_set_from_list),
3146         (gst_controller_unset), (gst_controller_unset_all),
3147         (gst_controller_sync_values):
3148         * libs/gst/controller/gstcontroller.h:
3149         * libs/gst/controller/gstcontrollerprivate.h:
3150         * libs/gst/controller/gstinterpolation.c:
3151         (gst_controlled_property_find_control_point_node),
3152         (interpolate_none_get), (interpolate_trigger_get):
3153         Add a new private GstControlPoint struct which "inherits" from
3154         GstTimedValue to allow different interpolators to store internal
3155         values next to each control point. From the outside everything is
3156         still a GstControlPoint so we don't loose binary compatibility.
3157         Also fixup all the GValue handling to not leak GValues or list nodes.
3158         * tests/check/libs/controller.c: (GST_START_TEST):
3159         Free the list nodes and GValues in the controller_misc test.
3160
3161 2007-05-17  Edward Hervey  <edward@fluendo.com>
3162
3163         * gst/gstsegment.c:
3164         Small doc fix.
3165
3166 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3167
3168         * gst/gstplugin.c: (gst_plugin_load_file):
3169           If we fail to load a plugin because of unresolved symbols or missing
3170           libraries and spew a warning to stderr, we may just as well mention
3171           which plugin it was that failed to load.
3172
3173 2007-05-13  David Schleef  <ds@schleef.org>
3174
3175         * docs/Makefile.am: the gtk-doc makefile snippet correctly
3176           handles the case when ENABLE_GTK_DOC is false, and installs
3177           the prebuilt documentation.  So gtk-doc subdirs are 
3178           unconditionally enabled.  Fixes: #349099.
3179
3180 2007-05-13  David Schleef  <ds@schleef.org>
3181
3182         * gst/gstutils.h: Reword some documentation.
3183
3184 2007-05-12  David Schleef  <ds@schleef.org>
3185
3186         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3187           do anything with the passed "module" parameter, so remove it.
3188           Allows removal of additional vestigal code.
3189
3190 2007-05-12  David Schleef  <ds@schleef.org>
3191
3192         * gst/gstplugin.c:
3193           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3194           Switch to using g_stat() because it's more portable.
3195
3196 2007-05-12  David Schleef  <ds@schleef.org>
3197
3198         * gst/gst.c:
3199           Add GST_DISABLE_OPTION_PARSING, in order to disable option
3200           parsing for embedded systems.
3201         * gst/gstelementfactory.c:
3202           Allow gst_element_register() to be called with plugin==NULL.
3203           Did nobody notice that static elements were broken?
3204
3205 2007-05-12  Wim Taymans  <wim@fluendo.com>
3206
3207         * tools/gst-launch.c: (event_loop):
3208         Give more interesting info when buffering starts and stops.
3209         Fix case where buffering starts but we fail to update the buffering flag
3210         because the target state is not PLAYING.
3211
3212 2007-05-12  Wim Taymans  <wim@fluendo.com>
3213
3214         * plugins/elements/gstqueue.c: (gst_queue_init),
3215         (gst_queue_finalize), (update_time_level), (apply_segment),
3216         (apply_buffer), (gst_queue_locked_flush),
3217         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3218         (gst_queue_handle_sink_event), (gst_queue_chain),
3219         (gst_queue_push_one), (gst_queue_loop):
3220         * plugins/elements/gstqueue.h:
3221         Refactor an cleanup queue a bit.
3222         Do better time level calculations that also work when the srcpad is not
3223         yet running.
3224         Remove some unneeded debug lines.
3225
3226         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3227         Added testcase for time level measurement.
3228         Try to make some stuff more racefree.
3229
3230 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3231
3232         * gst/gsturi.c: (gst_element_make_from_uri):
3233           Don't leak plugin feature.
3234
3235         * tests/check/Makefile.am:
3236         * tests/check/gst/.cvsignore:
3237         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3238           Add brain-dead unit test.
3239
3240 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3241
3242         Patch by: Jeroen Wouters <woutersj at gmail com>
3243
3244         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3245           Treat protocol strings in a case-insensitive way (#437563).
3246
3247 2007-05-11  Michael Smith <msmith@fluendo.com>
3248
3249         * gst/gstplugin.c: (gst_plugin_load_file):
3250         * gst/gstregistry.c: (gst_registry_scan_path_level):
3251           Don't print a g_warning for any failure to load a shared object.
3252           Instead, push this down into gstplugin.c, and warn _only_ if we
3253           failed to open the module (i.e. failure to link).
3254           Avoids warnings on normal, working, non-plugin .so files.
3255
3256 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
3257
3258         * gst/gstplugin.c (gst_plugin_load_file):
3259         * gst/gstregistry.c (GST_CAT_DEFAULT,
3260           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3261           Print a g_warning if there was an error when loading a plugins during
3262           registry scan. The shuld help beginners starting with gst-plugin
3263           template.
3264
3265 2007-05-10  Wim Taymans  <wim@fluendo.com>
3266
3267         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3268         (update_time_level), (gst_queue_locked_flush),
3269         (gst_queue_handle_sink_event), (gst_queue_chain),
3270         (gst_queue_push_one), (gst_queue_loop):
3271         * plugins/elements/gstqueue.h:
3272         Be smarter when calculating the current amount of data in the queue by
3273         measuring the difference between start and end timestamps (in running
3274         time) inside the queue. Fixes #432876.
3275         API: GstQueue::pushing to notify elements that we are pushing data again
3276         since the running signal is rather broken for this purpose.
3277
3278 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
3279
3280         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3281           gst_queue_base_init, gst_queue_init):
3282           use GST_BOILERPLATE
3283
3284 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
3285
3286         * win32/common/libgstreamer.def:
3287         Add new exported functions.
3288         * win32/vs6/grammar.dsp:
3289         Use grammar pre-generated files.
3290
3291 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3292
3293         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
3294
3295         * gst/Makefile.am:
3296         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3297         * gst/gstparse.h:
3298         * gst/gstutils.c: (gst_parse_bin_from_description):
3299         * gst/gstutils.h:
3300           Maintain API and ABI when --disable-parse is used. Now that
3301           we have an appropriate error code, we can just return NULL and the
3302           appropriate error when gst_parse_launch() is used despite it having
3303           been disabled (#342564).
3304
3305         * tests/check/Makefile.am:
3306         * tests/check/pipelines/.cvsignore:
3307         * tests/check/pipelines/parse-disabled.c:
3308           Make sure these functions exist and return NULL plus a GError when
3309           --disable-parse is used.
3310
3311 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3312
3313         * tests/benchmarks/complexity.c: (main):
3314         * tests/benchmarks/mass-elements.c: (main):
3315           Set a good example and don't leak messages.
3316
3317 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
3318
3319         * docs/gst/Makefile.am:
3320         * docs/libs/Makefile.am:
3321           Correct fixxrefs options.
3322
3323         * docs/plugins/Makefile.am:
3324         * docs/plugins/gstreamer-plugins-docs.sgml:
3325         * docs/plugins/gstreamer-plugins-sections.txt:
3326         * plugins/elements/Makefile.am:
3327         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3328         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3329           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3330           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3331           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3332           _GstCapsFilterClass, trans_class):
3333         * plugins/elements/gstelements.c (name, rank, type, _elements):
3334         * plugins/elements/gstidentity.c
3335           (gst_identity_check_imperfect_timestamp,
3336           gst_identity_check_imperfect_offset):
3337           Document capsfilter and add doc-blurb to identity.
3338
3339 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3340
3341         * libs/gst/controller/gstcontroller.c:
3342         (gst_controlled_property_set_interpolation_mode):
3343         * libs/gst/controller/gstinterpolation.c:
3344           Don't crash if someone tries to set an interpolation mode that
3345           is invalid or that isn't supported yet. Fixes #422295.
3346
3347         * tests/check/libs/controller.c: (GST_START_TEST),
3348         (gst_controller_suite):
3349           Add a test case for the above.
3350
3351 2007-05-03  Edward Hervey  <edward@fluendo.com>
3352
3353         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3354         Properly set the last_stop position on GstSegment. This will only happen
3355         if there is a buffer to push out.
3356
3357 2007-05-03  Wim Taymans  <wim@fluendo.com>
3358
3359         * libs/gst/base/gstbasetransform.c:
3360         (gst_base_transform_buffer_alloc):
3361         always_in_place does not mean that the sink and source caps are the
3362         same! Make sure we don't blindly proxy the buffer_alloc in this case.
3363
3364 2007-05-03  Wim Taymans  <wim@fluendo.com>
3365
3366         * docs/libs/gstreamer-libs-sections.txt:
3367         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3368         (gst_base_src_default_query), (gst_base_src_get_range):
3369         * libs/gst/base/gstbasesrc.h:
3370         API: gst_base_src_query_latency(). Added method so that subclasses can
3371         easily get the latency values of the base source class.
3372
3373 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
3374
3375         * tools/gst-inspect.c (print_implementation_info):
3376         Remove 0.8 cruft.
3377
3378 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
3379
3380         * tools/Makefile.am:
3381         * tools/gst-launch.1.in:
3382           Don't create a customised man page based on the host architecture,
3383           describe the default registry path generically. That way the man
3384           page is the same for all architectures and packagers have one
3385           multilib issue less to deal with. Fixes #434926.
3386
3387 2007-05-02  Wim Taymans  <wim@fluendo.com>
3388
3389         * gst/gstpad.c:
3390         Fix documentation as spotted by rg on IRC. 
3391
3392 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
3393
3394         * gst/gstutils.c:
3395           Improve docs for gst_element_{link,unlink}.
3396
3397 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
3398
3399         * docs/design/part-events.txt:
3400         * docs/design/part-overview.txt:
3401         * gst/gstevent.c:
3402         * gst/gsturi.c:
3403         * gst/gsturi.h:
3404         * libs/gst/base/gstbasesink.c:
3405           Typo fixes; minor docs addition.
3406
3407 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3408
3409         * docs/gst/gstreamer-sections.txt:
3410         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3411         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3412         * gst/gsturi.h:
3413         API: Add gst_uri_protocol_is_supported(), which checks if a sink
3414         or src that supports a given URI protocol exists.
3415
3416 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3417
3418         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3419         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3420         Set the location to NULL if "file://" is set as URI. Otherwise
3421         some random previous URI would still be set if "file://" is
3422         set on an already used filesink/filesrc.
3423
3424 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3425
3426         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3427         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3428         Special case the "file://" URI as as this is used by some
3429         applications to test with gst_element_make_from_uri if there's
3430         an element that supports the URI protocol.
3431         Also move the g_path_is_absolute() check for the location part
3432         of the URI to also check this for "file://localhost/bla" URIs.
3433
3434 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
3435
3436         * docs/gst/gstreamer-sections.txt:
3437         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3438         * gst/gstbuffer.h:
3439         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3440         (gst_buffer_suite):
3441           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3442
3443 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
3444
3445         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3446         (gst_registry_binary_load_pad_template),
3447         (gst_registry_binary_load_plugin),
3448         (gst_registry_binary_read_cache):
3449         * gst/gstregistrybinary.h:
3450           Implement no-mmap alternative for registry reading. Do code cleanups.
3451           Add more comments about avoiding strdups for all text data. Comments
3452           welcome.
3453
3454 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3455
3456         * gst/gstregistrybinary.h (GstBinaryPluginElement,
3457           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3458           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3459           Comment structs and reformat to fix the build (that stuff should go
3460           into a priv. header).
3461
3462 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3463
3464         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3465         (gst_registry_binary_load_feature):
3466         * gst/gstregistrybinary.h:
3467           Refactor so that we can implement multiple features. Add support for
3468           TypeFindFactory features.
3469
3470 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
3471
3472         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3473
3474         * configure.ac:
3475           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3476
3477 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
3478
3479         * gst/gstbin.c: (gst_bin_element_set_state),
3480         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3481         (bin_handle_async_done), (gst_bin_handle_message_func):
3482           Fix build with --gst-disable-gst-debug
3483
3484 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3485
3486         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3487           Make sure streaming has finished before calling the ::stop() vfunc,
3488           since that vfunc might clear state which is being used in the
3489           streaming thread. This fixes a race that caused crashes in
3490           audioresample when shutting down a pipeline (#420106).
3491
3492 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3493
3494         * docs/gst/gstreamer-sections.txt:
3495           That was one byte missing.
3496
3497 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3498
3499         * configure.ac:
3500         * docs/gst/gstreamer-sections.txt:
3501         * gst/Makefile.am:
3502         * gst/gstconfig.h.in:
3503         * gst/gstobject.c: (gst_object_class_init),
3504         (gst_signal_object_class_init):
3505         * gst/gstobject.h:
3506           2nd attempt to have a xml-less build as a joined effort of #413123
3507           and #421480.
3508
3509 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3510
3511         * docs/design/draft-tagreading.txt:
3512           Added open issues/thoughts to draft.
3513
3514 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3515
3516         * gst/parse/grammar.tab.pre.c:
3517         * gst/parse/grammar.tab.pre.h:
3518         * gst/parse/lex._gst_parse_yy.pre.c:
3519         Update the prebuild parser sources.
3520
3521 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3522
3523         * gst/parse/Makefile.am:
3524         And now fix the building of the flex sources. Now everything should
3525         work as expected.
3526
3527 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3528
3529         * gst/parse/Makefile.am:
3530         Now hopefully fix the build failures by setting proper rule
3531         dependencies and moving instead of copying.
3532
3533 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3534
3535         * tests/benchmarks/complexity.gnuplot:
3536         * tests/benchmarks/complexity.scm:
3537         * tests/benchmarks/mass-elements.gnuplot:
3538         * tests/benchmarks/mass-elements.scm:
3539           Total licensification.
3540
3541 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3542
3543         * gst/parse/Makefile.am:
3544           Fix the build by correcting the rule that gave wrong files to flex.
3545
3546 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3547
3548         * tests/benchmarks/complexity.c:
3549         * tests/benchmarks/mass-elements.c:
3550           Change licence to LGPL as granted by Benjamin and Andy.
3551
3552 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3553
3554         * gst/parse/Makefile.am:
3555         Add correct grammar.tab.h dependency if compiling without new enough
3556         flex. Fixes #431150.
3557
3558 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3559
3560         * gst/parse/Makefile.am:
3561         Fix typo and use outdated sources if the flex/bison sources are newer
3562         than the pregenerated ones but flex is too old. Print a warning in
3563         that case. This should fix the build on the build bot.
3564
3565 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3566
3567         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3568         * gst/parse/Makefile.am:
3569         * gst/parse/grammar.y:
3570         * gst/parse/parse.l:
3571         Make the parser reentrant and recursively callable. This requires flex
3572         >= 2.5.31, for older versions pregenerated sources are used as we
3573         can't bump the build dependency. Finally fixes #349180.
3574
3575         * gst/gstparse.c: (gst_parse_launch):
3576         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3577         now anyway.
3578
3579         * docs/gst/Makefile.am:
3580         * docs/gst/Makefile.am:
3581         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3582         (__gst_parse_strfree), (__gst_parse_link_new),
3583         (__gst_parse_link_free), (__gst_parse_chain_new),
3584         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3585         (gst_parse_element_set), (gst_parse_free_link),
3586         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3587         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3588         (_gst_parse_launch):
3589         * gst/parse/grammar.tab.pre.h:
3590         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3591         (yy_get_previous_state), (yy_try_NUL_trans), (input),
3592         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3593         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3594         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3595         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3596         (_gst_parse_yypop_buffer_state),
3597         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3598         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3599         (yy_fatal_error), (_gst_parse_yyget_extra),
3600         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3601         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3602         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3603         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3604         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3605         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3606         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3607         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3608         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3609         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3610         (_gst_parse_yyfree):
3611         If the installed flex version is too old use pre-generated parser
3612         sources. These pre-generated parser sources are always updated when
3613         the actual flex/bison sources change but require everybody who wants
3614         to change something in the parser to have flex >= 2.5.31 installed.
3615
3616 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
3617
3618         * common/m4/gst-gettext.m4:
3619         * gst/gst-i18n-lib.h:
3620           Make --disable-nls to work
3621
3622 2007-04-17  Wim Taymans  <wim@fluendo.com>
3623
3624         * gst/gstconfig.h.in:
3625         Revert previous change that broke the build.
3626
3627 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
3628
3629         * configure.ac:
3630         * gst/Makefile.am:
3631         * gst/gstconfig.h.in:
3632           Drop libxml2 dependency when building with 
3633           --enable-binary-registry --disable-loadsave
3634
3635 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
3636
3637         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3638         (gst_registry_binary_read_cache):
3639         * gst/gstregistrybinary.h:
3640           Remove unnecessary <sys/mman.h> include which broke the win32 build
3641           with MingW; move includes from header file to .c file, even if the
3642           header file isn't installed; use g_strerror() where UTF-8 strings
3643           are expected, such as in GST_DEBUG messages.
3644
3645 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3646
3647         * docs/libs/gstreamer-libs-sections.txt:
3648         Remove bogus addition for API I didn't end up keeping.
3649
3650         * libs/gst/base/gstbasesrc.h:
3651         Mention Since: 0.10.13 in the documentation.
3652
3653         Add the API keyword to the previous ChangeLog entry.
3654
3655 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3656
3657         * docs/libs/gstreamer-libs-sections.txt:
3658         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3659         (gst_base_src_default_prepare_seek_segment),
3660         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3661         * libs/gst/base/gstbasesrc.h:
3662         Allow basesrc derived classes to execute seeks in other formats
3663         by providing a prepare_seek_segment vmethod. Sub-classes can choose
3664         to prepare the GstSegment in any format that their perform_seek method
3665         will be able to understand. The default implementation provides the
3666         old behaviour of attempting to convert the seek offsets to the 
3667         configured native format.
3668
3669         API: basesrc::prepare_seek_segment vmethod.
3670
3671 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3672
3673         * gst/gstelement.c: (gst_element_get_state_func):
3674         Don't output the same debug statement twice.
3675
3676         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3677         (gst_adapter_peek), (gst_adapter_take_buffer):
3678         Optimise the case where we have buffers at the head of the queue that
3679         can be joined quickly (because they're contiguous sub-buffers) by
3680         merging them together rather than copying data out into new memory.
3681
3682         * gst/parse/grammar.y:
3683         * tests/check/pipelines/parse-launch.c:
3684         Fix a leak in an error path for parse_launch, and add a check 
3685         for it to the testsuite.
3686
3687 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3688
3689         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3690           Don't deadlock when releasing a pad - gst_pad_set_active may try
3691           and take the multiqueue lock too.
3692
3693 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3694
3695         * gst/gsterror.c: (_gst_core_errors_init):
3696         * gst/gsterror.h:
3697           API: add GST_CORE_ERROR_DISABLED (#392804).
3698
3699 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3700
3701         * docs/faq/gst-uninstalled:
3702           don't get empty paths on the PATH variables
3703         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3704           Don't format for the uncommon terminal width of 84 characters.
3705
3706 2007-04-06  Wim Taymans  <wim@fluendo.com>
3707
3708         * gst/gstpipeline.c: (reset_stream_time),
3709         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3710         Only try to select a different pipeline clock when we went back to
3711         PAUSED and not when we merely got flushed.
3712
3713 2007-04-05  Michael Smith  <msmith@fluendo.com>
3714
3715         * tools/gst-launch.1.in:
3716           fractions are better supported in gstreamer than ractions, so
3717           suggest using those.
3718
3719 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3720
3721         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3722
3723         * po/LINGUAS:
3724         * po/da.po:
3725           Added Danish translation.
3726
3727 2007-04-05  Wim Taymans  <wim@fluendo.com>
3728
3729         * libs/gst/base/gstbasesink.c:
3730         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3731         Fix leak caused when refusing newsegment after EOS.
3732
3733         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3734         (gst_fake_sink_init), (gst_fake_sink_set_property),
3735         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3736         (gst_fake_sink_render), (gst_fake_sink_change_state):
3737         * plugins/elements/gstfakesink.h:
3738         Add num-buffers property to make the element generate EOS after a
3739         configurable amount of buffers.
3740         API: fakesink::num-buffers property.
3741
3742         * tests/check/elements/fakesink.c: (GST_START_TEST),
3743         (fakesink_suite):
3744         Fix GstBus leak in test.
3745         Test for fakesink num-buffers.
3746
3747 2007-04-05  Wim Taymans  <wim@fluendo.com>
3748
3749         * libs/gst/base/gstbasesink.c:
3750         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3751         (gst_base_sink_change_state):
3752         Don't accept anything after an EOS, return UNEXPECTED instead.
3753
3754         * tests/check/elements/fakesink.c: (GST_START_TEST),
3755         (fakesink_suite):
3756         Unit test for new EOS behaviour.
3757
3758 2007-04-05  Wim Taymans  <wim@fluendo.com>
3759
3760         * gst/gstelement.c: (gst_element_get_request_pad):
3761         Make padtemplates also work when they don't contain %s or %d.
3762
3763 2007-04-05  Wim Taymans  <wim@fluendo.com>
3764
3765         * docs/gst/gstreamer-sections.txt:
3766         * gst/gstclock.c: (gst_clock_adjust_unlocked),
3767         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3768         * gst/gstclock.h:
3769         Improve _adjust_unlocked() so that it overflows less.
3770         Add gst_clock_unadjust_unlocked to convert from external time to
3771         internal time based on calibration.
3772         Add some more debug.
3773         API: GstClock::gst_clock_unadjust_unlocked()
3774
3775 2007-04-03  Wim Taymans  <wim@fluendo.com>
3776
3777         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3778
3779         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3780         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3781         when releasing sink pad. Fixes #425400.
3782
3783 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
3784
3785         * docs/random/ensonic/dynlink.txt:
3786           More work on proposal for new core api.
3787
3788         * docs/libs/gstreamer-libs-sections.txt:
3789         * libs/gst/base/gstbasetransform.h:
3790           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3791           
3792         * libs/gst/controller/gstcontroller.c:
3793         (on_object_controlled_property_changed),
3794         (gst_controller_sync_values),
3795         (gst_controller_set_interpolation_mode):
3796         * libs/gst/controller/gstcontroller.h:
3797           Less verbose logging add docs for unimplemented parts and correctly
3798           return when using unavailable parts.
3799
3800 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3801
3802         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3803         Move all the debug to the CLOCK category, and associate it with
3804         the clock object.
3805
3806 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3807
3808         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3809         Make take_buffer a bit quicker by removing redundant checks
3810         caused by calling gst_adapter_take.
3811
3812 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3813
3814         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3815           Don't leak GCond.
3816
3817         * tests/check/Makefile.am:
3818         * tests/check/elements/.cvsignore:
3819         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3820         (GST_START_TEST), (multiqueue_suite):
3821           Add some dead simple unit tests for the 'multiqueue' element
3822           (some bits don't work yet and are disabled for now).
3823
3824 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3825
3826         * gst/gstelement.c: (gst_element_get_request_pad),
3827         (gst_element_class_get_request_pad_template):
3828           Make gst_element_get_request_pad() create request pads only for
3829           request pad templates and not for, say, sometimes pad templates.
3830
3831 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
3832
3833         * docs/design/draft-klass.txt:
3834           Add example that needs more thinking.
3835         
3836         * docs/design/draft-missing-plugins.txt:
3837           More thoughts about wrapper plugins.
3838         
3839         * docs/random/ensonic/embedded.txt:
3840         * docs/random/ensonic/profiling.txt:
3841           More design work.
3842
3843 2007-03-25  Wim Taymans  <wim@fluendo.com>
3844
3845         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3846         (gst_base_src_loop):
3847         Only push the segment events in the PLAYING state for live sources.
3848
3849 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
3850
3851         * gst/gstpipeline.c: (gst_pipeline_change_state):
3852         Modify the clock distribution path in PAUSED->PLAYING so that we 
3853         never attempt to choose a new clock unless we're actually leaving
3854         the PAUSED state for the first time. This prevents choosing a
3855         different clock when the state_change gets called for a 2nd time due
3856         to some element doing an async state change.
3857
3858 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3859
3860         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3861         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3862         (gst_pad_chain_unchecked), (gst_pad_push):
3863         Revert last commit. This needs some more thoughts.
3864
3865 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3866
3867         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3868         (gst_pad_chain_unchecked), (gst_pad_push):
3869         Check in set_caps if the caps are compatible with the pad and remove
3870         two functions that are redundant now. Fixes #421543.
3871
3872 2007-03-22  Wim Taymans  <wim@fluendo.com>
3873
3874         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3875         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3876         Unref some more to make valgrind happy.
3877
3878 2007-03-22  Wim Taymans  <wim@fluendo.com>
3879
3880         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3881         (gst_system_clock_id_wait_jitter),
3882         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3883         Fix anoying regression that survived a few releases. When adding an
3884         async entry while blocking on a sync entry, the sync entry will unblock
3885         but still be busy, so it should continue to wait instead of returning
3886         _BUSY to the app.
3887         Add some comments here and there.
3888
3889         * tests/check/gst/gstsystemclock.c: (mixed_thread),
3890         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3891         Add testcase for this.
3892
3893 2007-03-22  Wim Taymans  <wim@fluendo.com>
3894
3895         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3896         Handle errors from the clock sync better, only UNSCHEDULED indicates a
3897         WRONG_STATE and can silently pause the task. All other cases should
3898         error out.
3899
3900 2007-03-22  Wim Taymans  <wim@fluendo.com>
3901
3902         Patch by: Ville Syrjala <syrjala at sci dot fi>
3903
3904         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3905         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
3906         Improve debugging.
3907
3908 2007-03-21  Michael Smith  <msmith@fluendo.com>
3909
3910         * docs/pwg/advanced-types.xml:
3911           Fix some errors in the typefinding docs pointed out on irc.
3912
3913 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
3914
3915         * libs/gst/base/gstbasesrc.c:
3916         Clarify FIXME comment in the face of having added unlock_stop()
3917
3918 2007-03-21  Wim Taymans  <wim@fluendo.com>
3919
3920         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3921         Prepare for release where we warn against possible app breakage in the
3922         case of live pipelines along with an env var to enable/disable live
3923         preroll mode (GST_COMPAT=[no-]live-preroll).
3924
3925 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3926
3927         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3928         So we should use correct constants for checking for None offset.
3929
3930 2007-03-20  Wim Taymans  <wim@fluendo.com>
3931
3932         * docs/design/part-block.txt:
3933         Mention the fact that the newly switched element should be set to at
3934         least PAUSED.
3935
3936 2007-03-20  Wim Taymans  <wim@fluendo.com>
3937
3938         * gst/gst.c:
3939         Fix compilation with registry disabled as spotted by Saur.
3940
3941 2007-03-20  Wim Taymans  <wim@fluendo.com>
3942
3943         Patch by: Olivier Crete <tester at tester dot ca>
3944
3945         * gst/gstelement.c: (gst_element_sync_state_with_parent):
3946         Look at the pending state too when syncing the element state to the
3947         parent. Fixes #420133.
3948
3949 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
3950
3951         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3952         (gst_base_sink_change_state):
3953         * libs/gst/base/gstbasesink.h:
3954         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3955         (gst_base_src_default_event), (gst_base_src_unlock_stop),
3956         (gst_base_src_deactivate):
3957         * libs/gst/base/gstbasesrc.h:
3958         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3959         for sub-classes to correctly clear any state they set trying to
3960         unlock, such as clearing out unlock commands from a command fd.
3961         API: basesrc::unlock_stop
3962         API: basesink::unlock_stop
3963
3964         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3965         (gst_fd_sink_render), (gst_fd_sink_unlock),
3966         (gst_fd_sink_unlock_stop):
3967         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3968         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3969         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3970
3971         Implement unlock_stop in fdsrc and fdsink.
3972         Implement seeking in fdsrc when a seekable fd is passed, as in
3973         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3974
3975 2007-03-19  Wim Taymans  <wim@fluendo.com>
3976
3977         Patch by: Evan Nemerson <evan at coeus dash group dot com>
3978
3979         * gst/gstelement.c: (gst_element_class_init):
3980         Fix pad-added and pad-removed signal signatures so that the pad type is
3981         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3982
3983 2007-03-19  Wim Taymans  <wim@fluendo.com>
3984
3985         * docs/gst/gstreamer-sections.txt:
3986         Add new element field and method.
3987
3988         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3989         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3990         (gst_bin_recalc_state), (gst_bin_get_state_func),
3991         (gst_bin_element_set_state), (gst_bin_change_state_func),
3992         (gst_bin_continue_func), (bin_bus_handler),
3993         (bin_push_state_continue), (bin_handle_async_start),
3994         (bin_handle_async_done), (gst_bin_handle_message_func):
3995         Make async state changes a bit smarter by using new ASYNC_START and
3996         ASYNC_DONE messages. This reduces the number of times we run the state
3997         recalculation thread.
3998         Don't change state of element with a pending ASYNC_START message.
3999         Deprecate STATE_DIRTY messages.
4000         
4001         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
4002         (gst_element_get_state_func), (gst_element_continue_state),
4003         (gst_element_lost_state), (gst_element_set_state_func),
4004         (gst_element_change_state):
4005         * gst/gstelement.h:
4006         Keep the state that was last set by the app in a new element field.
4007         Don't allow state changes when handling an element event.
4008         Post ASYNC_START and ASYNC_DONE messages.
4009         Change lost_state so that we go to PAUSED and wait for the parent to set
4010         us to PLAYING again (so latency calculation can be performed)
4011         Export gst_element_change_state() method so that subclasses can use it.
4012         API: gst_element_change_state()
4013         API: GST_STATE_TARGET
4014
4015         * gst/gstpipeline.c: (gst_pipeline_class_init),
4016         (reset_stream_time), (gst_pipeline_change_state),
4017         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
4018         Using the new ASYNC_START message we can reset the base_time when
4019         needed. This can then be used to implement base_time redistribution in
4020         flushing seeks so that we can remove the explicit seek handling.
4021         Perform latency query and configuration when going to PLAYING.
4022
4023         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4024         (gst_base_sink_query), (gst_base_sink_change_state):
4025         Post new ASYNC_START/ASYNC_DONE messages.
4026
4027         * tests/check/generic/sinks.c: (GST_START_TEST):
4028         Fix test because the bin will not set the async element to PLAYING right
4029         away.
4030
4031         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4032         Make the message check a little stronger.
4033         Handle ASYNC messages.
4034
4035         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4036         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4037         Expect ASYNC_DONE messages.
4038
4039 2007-03-19  Wim Taymans  <wim@fluendo.com>
4040
4041         * docs/gst/gstreamer-sections.txt:
4042         * gst/gstmessage.c: (gst_message_new_async_start),
4043         (gst_message_new_async_done), (gst_message_parse_info),
4044         (gst_message_parse_async_start):
4045         * gst/gstmessage.h:
4046         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4047         support.
4048
4049 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4050
4051         * tools/gst-inspect.c:
4052         (print_plugin_automatic_install_info_codecs):
4053           Now that we don't check for the 'Codec' keyword any longer in the
4054           klass, we shouldn't spew a warning if the klass isn't a decoder or
4055           encoder (since it might be a Source/Network, for example).
4056
4057 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4058
4059         * tools/gst-inspect.c:
4060         (print_plugin_automatic_install_info_codecs):
4061           Don't require decoder/demuxer/depayloader elements or
4062           encoder/muxer/paylader elements to have 'Codec' as part of their
4063           factory class string when introspecting a plugin's capabilities.
4064           draft-klass.txt mentions that it might be removed in future, and
4065           flump3dec doesn't have it as part of its class string, so chances
4066           are others might also not have it.
4067
4068 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4069
4070         * po/af.po:
4071         * po/az.po:
4072         * po/bg.po:
4073         * po/ca.po:
4074         * po/cs.po:
4075         * po/de.po:
4076         * po/en_GB.po:
4077         * po/fr.po:
4078         * po/it.po:
4079         * po/nb.po:
4080         * po/nl.po:
4081         * po/ru.po:
4082         * po/sq.po:
4083         * po/sr.po:
4084         * po/sv.po:
4085         * po/tr.po:
4086         * po/uk.po:
4087         * po/vi.po:
4088         * po/zh_CN.po:
4089         * po/zh_TW.po:
4090           Update translations from translation project
4091
4092 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
4093
4094         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4095         (gst_child_proxy_set_property):
4096           Invert precondition check to be alike the ones in the mimiced gobject
4097           api.
4098
4099 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
4100
4101         * docs/design/draft-tagreading.txt:
4102         * docs/random/ensonic/audiobaseclasses.txt:
4103           Do some Architect work.
4104
4105         * gst/gstobject.c: (gst_object_set_name):
4106           Add a WARNING.
4107
4108         * gst/gstpad.c:
4109           Add docs that point from gst_pad_get_range to gst_pad_pull_range
4110
4111 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
4112
4113         * gst/gstsystemclock.c: (gst_system_clock_init),
4114         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4115         Defer starting the async system clock thread until the first async
4116         wait is scheduled. Fixes #414986.
4117
4118 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4119
4120         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4121         (gst_single_queue_free):
4122           Fix small leak (free GstSingleQueue structure too, not only contents).
4123
4124 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
4125
4126         * gst/gstbin.c:(gst_bin_add):
4127         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4128         * win32/common/libgstbase.def:
4129         * win32/common/libgstreamer.def:
4130         Add new exported functions.
4131
4132 2007-03-09  Wim Taymans  <wim@fluendo.com>
4133
4134         * docs/plugins/gstreamer-plugins-sections.txt:
4135         Fix GstTee docs.
4136
4137 2007-03-09  Wim Taymans  <wim@fluendo.com>
4138
4139         * docs/gst/gstreamer-sections.txt:
4140         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4141         * gst/gstbuffer.h:
4142         Add metadata copy functions. Fixes #393099.
4143         API: gst_buffer_copy_metadata()
4144
4145         * gst/gstutils.c: (gst_buffer_stamp):
4146         * libs/gst/base/gstbasetransform.c:
4147         (gst_base_transform_prepare_output_buffer):
4148         Use new metadata copy functions.
4149
4150 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4151
4152         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4153         (gst_identity_init), (gst_identity_check_perfect),
4154         (gst_identity_check_imperfect_timestamp),
4155         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4156         (gst_identity_set_property), (gst_identity_get_property):
4157         * plugins/elements/gstidentity.h:
4158         Separate out check-imperfect-timestamp and check-imperfect-offset.
4159         Put back check-perfect as it was to keep compatibility.
4160
4161 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
4162
4163         * gst/gstelement.c: (gst_element_dispose):
4164         There's no need to warn if VOID_PENDING is not NONE here, as
4165         long as the state is NULL it's ok, and that's checked immediately
4166         above.
4167
4168 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4169
4170         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4171         Fix check for perfect stream to ignore buffers with -1 
4172         offsets/offset ends when checking data contiguity.
4173
4174 2007-03-08  Wim Taymans  <wim@fluendo.com>
4175
4176         * tools/gst-launch.c: (event_loop):
4177         Print INFO messages.
4178
4179 2007-03-08  Wim Taymans  <wim@fluendo.com>
4180
4181         * libs/gst/base/gstbasetransform.c:
4182         (gst_base_transform_sink_eventfunc),
4183         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4184         (gst_base_transform_activate):
4185         * libs/gst/base/gstbasetransform.h:
4186         Add support for dropping buffers with custom GstFlowReturn.
4187         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4188         buffers or dropped buffers.
4189
4190         * docs/libs/gstreamer-libs-sections.txt:
4191         docs for new custom return code.
4192
4193         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4194         Use drop support in base class to implement drop-probability.
4195
4196 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4197
4198         * gst/gst.c: (load_plugin_func):
4199         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4200         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4201         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4202           Remove newlines at end of debug log strings.
4203
4204 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4205
4206         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4207         Only post bus message at max, once per buffer received.
4208
4209 2007-03-07  Wim Taymans  <wim@fluendo.com>
4210
4211         * docs/design/Makefile.am:
4212         * docs/design/part-synchronisation.txt:
4213         Add doc about synchronisation
4214
4215         * docs/design/draft-latency.txt:
4216         * docs/design/part-TODO.txt:
4217         * docs/design/part-clocks.txt:
4218         * docs/design/part-events.txt:
4219         * docs/design/part-gstbus.txt:
4220         * docs/design/part-gstpipeline.txt:
4221         * docs/design/part-live-source.txt:
4222         * docs/design/part-messages.txt:
4223         * docs/design/part-overview.txt:
4224         * docs/design/part-streams.txt:
4225         * docs/design/part-trickmodes.txt:
4226         Documentation updates.
4227
4228 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4229
4230         * gstreamer.doap:
4231         Update the doap file.
4232
4233 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4234
4235         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4236         Rename non-perfect to imperfect for Mike and for the sanctity of the
4237         language.
4238         Also make sure bus message gets emitted for data-incontiguities.
4239
4240 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4241
4242         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4243         (gst_identity_start):
4244         * plugins/elements/gstidentity.h:
4245         Emit bus message if check-perfect is true and we encounter a
4246         non-perfect stream between 2 consecutive buffers.
4247         Fixes #415394.
4248
4249 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4250
4251         * configure.ac:
4252         Back to CVS
4253
4254 === release 0.10.12 ===
4255
4256 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
4257
4258         * configure.ac:
4259           releasing 0.10.12, "Inevitable Demise"
4260
4261 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
4262
4263         * configure.ac:
4264          Version 0.10.11.2 (0.10.12 pre-release)
4265          Bump libtool versioning.
4266
4267 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
4268
4269         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4270           Log flow-names and not numbers.
4271
4272 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4273
4274         * configure.ac:
4275           Convert to new AG_GST style.
4276
4277 2007-02-28  Wim Taymans  <wim@fluendo.com>
4278
4279         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4280         Don't unref query twice.
4281
4282 2007-02-28  Wim Taymans  <wim@fluendo.com>
4283
4284         * gst/gstvalue.c: (gst_value_transform_object_string),
4285         (_gst_value_initialize):
4286         Implement GstObject -> string transform so we print object names
4287         when serializing GValues containing GstObjects.
4288
4289 2007-02-28  Wim Taymans  <wim@fluendo.com>
4290
4291         * docs/gst/gstreamer-sections.txt:
4292         Add new stuff to docs.
4293
4294 2007-02-28  Wim Taymans  <wim@fluendo.com>
4295
4296         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4297         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4298         (gst_base_sink_change_state):
4299         Improve latency query code.
4300         Don't leak latency events.
4301
4302         * tests/check/gst/gstbin.c: (GST_START_TEST):
4303         Improve debugging.
4304
4305 2007-02-28  Wim Taymans  <wim@fluendo.com>
4306
4307         * gst/gstelement.c: (gst_element_message_full),
4308         (gst_element_get_state_func):
4309         * gst/gstelement.h:
4310         Improve docs a little. Added Since: for new macro.
4311
4312         * gst/gstobject.c: (gst_object_sink):
4313         * gst/gstpipeline.c: (gst_pipeline_change_state),
4314         (gst_pipeline_set_new_stream_time):
4315         * gst/gstpipeline.h:
4316         Improve debugging and docs.
4317
4318         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4319         Improve debugging.
4320
4321 2007-02-28  Wim Taymans  <wim@fluendo.com>
4322
4323         * gst/gstelement.c: (gst_element_message_full),
4324         (gst_element_set_locked_state), (gst_element_get_state_func),
4325         (gst_element_change_state):
4326         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4327         Documentation updates.
4328         Small code cleanups.
4329
4330         * gst/gstmessage.c: (gst_message_new_info),
4331         (gst_message_parse_info):
4332         * gst/gstmessage.h:
4333         API: gst_message_new_info()
4334         API: gst_message_parse_info()
4335         Add INFO message create and parse code.
4336
4337 2007-02-28  Wim Taymans  <wim@fluendo.com>
4338
4339         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4340         (bin_query_latency_done):
4341         Also report the live parameter of a latency query.
4342
4343 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4344
4345         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4346           Copy the current generic/states example from -base and adapt so
4347           we can use the exact same code everywhere.
4348           Check a STATES_IGNORE_ELEMENTS env var which can be used
4349           to ignore certain element factories for this test, which is
4350           what is being done in -base
4351         * tests/check/Makefile.am:
4352           Mention this environment variable.
4353
4354 2007-02-27  Wim Taymans  <wim@fluendo.com>
4355
4356         * docs/gst/gstreamer-sections.txt:
4357         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4358         (gst_bus_timed_pop), (gst_bus_pop):
4359         * gst/gstbus.h:
4360         API: gst_bus_timed_pop()
4361         Implement gst_bus_timed_pop() to do a blocking timed wait for a
4362         message to arrive on the bus.
4363
4364         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4365         (gst_bus_suite):
4366         Two unit tests for new _timed_pop() function.
4367
4368 2007-02-23  Wim Taymans  <wim@fluendo.com>
4369
4370         * gst/gstpipeline.c: (gst_pipeline_change_state),
4371         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4372         Don't ref a NULL clock in _provide_clock_func().
4373         Don't allow an INVALID delay.
4374         Don't try to calculate base_time with an invalid start_time.
4375         Also distribute and notify a NULL clock when it was selected.
4376
4377         * tools/gst-launch.c: (event_loop):
4378         Don't crash when a NULL clock was selected in the pipeline.
4379
4380 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4381
4382         * docs/design/Makefile.am:
4383         * docs/design/draft-missing-plugins.txt:
4384         * docs/random/draft-missing-plugins.txt:
4385           Some small updates: update plugin system identifier prefix
4386           ('gstreamer.net' to 'gstreamer'), mention our new install
4387           API in libgstbaseutils rather than libgimme-codec, add
4388           reference to the online docs.
4389
4390 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4391
4392         * win32/common/config.h:
4393           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
4394           use moap cl ci to only check in what is mentioned in the ChangeLog.
4395
4396 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4397
4398         * docs/gst/gstreamer-sections.txt:
4399         * gst/gstelement.h:
4400           Fix up documentation to link to the correct GstGError section.
4401           Add GST_ELEMENT_INFO macro since someone else added a Info message.
4402
4403 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4404
4405         * tools/gst-launch.c: (event_loop):
4406           Make sure that we actually show the important message part of a
4407           warning message.
4408           No need to check if the gerror is not NULL to free; first of all
4409           g_free accepts NULL; and second the default error handler would
4410           segfault if gerror was NULL.
4411
4412 2007-02-21  Wim Taymans  <wim@fluendo.com>
4413
4414         * docs/gst/gstreamer-sections.txt:
4415         Removed docs as well.
4416
4417 2007-02-21  Wim Taymans  <wim@fluendo.com>
4418
4419         * gst/gstmessage.c: (gst_message_parse_duration):
4420         * gst/gstmessage.h:
4421         Remove new messages for release.
4422
4423 2007-02-20  Wim Taymans  <wim@fluendo.com>
4424
4425         * docs/design/part-gstghostpad.txt:
4426         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4427         (gst_ghost_pad_new_full):
4428         Make the ghostpad a parent of the internal pad again for better backward
4429         compatibility. Don't write code that relies on this however.
4430
4431         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4432         (gst_pad_link_check_hierarchy):
4433         Require that parents should be GstElements in the hierarchy check.
4434
4435 2007-02-20  Wim Taymans  <wim@fluendo.com>
4436
4437         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4438         (gst_bin_change_state_func), (bin_query_min_max_init),
4439         (bin_query_latency_fold), (bin_query_latency_done),
4440         (gst_bin_query):
4441         Improve debug info.
4442         Implement latency query.
4443
4444 2007-02-20  Wim Taymans  <wim@fluendo.com>
4445
4446         * docs/design/part-gstghostpad.txt:
4447         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4448         (gst_ghost_pad_internal_do_activate_push),
4449         (gst_ghost_pad_internal_do_activate_pull),
4450         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4451         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4452         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4453         Do not set the internal pad as a parent anymore so we can avoid
4454         hierarchy linking errors when the ghostpad has no parent yet. This also
4455         fixes failed activation because of unlinked internal pads, which in
4456         turn fixes the impossible case where you have to activate a pad before
4457         you can add it to a running element.
4458         Also fix the docs.
4459
4460         * gst/gstpad.c: (pre_activate), (post_activate),
4461         (gst_pad_set_active), (gst_pad_activate_pull),
4462         (gst_pad_activate_push), (gst_pad_check_pull_range):
4463         Add some more debug info.
4464         Mark activation mode in pre_activate so that we don't try to activate in
4465         endless loops. Fixes #385084.
4466
4467 2007-02-19  Wim Taymans  <wim@fluendo.com>
4468
4469         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4470         (gst_base_transform_check_get_range):
4471         Implement a checkgetrange function instead of relying on the default
4472         core behaviour that assumes we can operate in pull mode if we have a
4473         getrange function. First step at fixing #385084.
4474
4475 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
4476
4477         * gst/gstchildproxy.h:
4478         * libs/gst/base/gstbasesink.h:
4479         * libs/gst/base/gstbasesrc.h:
4480         * libs/gst/base/gstbasetransform.h:
4481         More docs coverage and some ChangeLog surgery (add missing names)
4482
4483 2007-02-15  Wim Taymans  <wim@fluendo.com>
4484
4485         * docs/design/part-TODO.txt:
4486         * docs/design/part-activation.txt:
4487         * docs/design/part-block.txt:
4488         * docs/design/part-buffering.txt:
4489         * docs/design/part-clocks.txt:
4490         * docs/design/part-element-source.txt:
4491         * docs/design/part-events.txt:
4492         * docs/design/part-gstbin.txt:
4493         * docs/design/part-gstbus.txt:
4494         * docs/design/part-gstpipeline.txt:
4495         * docs/design/part-live-source.txt:
4496         * docs/design/part-messages.txt:
4497         * docs/design/part-overview.txt:
4498         * docs/design/part-qos.txt:
4499         * docs/design/part-query.txt:
4500         * docs/design/part-states.txt:
4501         * docs/design/part-trickmodes.txt:
4502         Some doc updates. Start renaming from stream_time to running_time where
4503         it was used wrongly.
4504
4505 2007-02-15  Wim Taymans  <wim@fluendo.com>
4506
4507         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4508         Answer LATENCY query.
4509
4510 2007-02-15  Wim Taymans  <wim@fluendo.com>
4511
4512         * tests/check/gst/gstevent.c: (event_probe), (test_event),
4513         (GST_START_TEST):
4514         Improve debugging.
4515
4516 2007-02-15  Wim Taymans  <wim@fluendo.com>
4517
4518         * gst/gstpad.c: (gst_pad_get_internal_links_default),
4519         (gst_pad_dispatcher):
4520         Improve debugging of default pad dispatcher and query functions.
4521
4522 2007-02-15  Wim Taymans  <wim@fluendo.com>
4523
4524         * docs/gst/gstreamer-sections.txt:
4525         Remove old unused method.
4526
4527 2007-02-13  Wim Taymans  <wim@fluendo.com>
4528
4529         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4530         Fix check
4531
4532 2007-02-13  Wim Taymans  <wim@fluendo.com>
4533
4534         * docs/design/part-seeking.txt:
4535         Some small update.
4536
4537         * gst/gstsegment.c: (gst_segment_set_seek):
4538         Revert old bogus change that should make seeking work again.
4539
4540 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4541
4542         * docs/random/ensonic/dynlink.txt:
4543         * docs/random/ensonic/interfaces.txt:
4544         * docs/random/ensonic/receipies.txt:
4545           Possible dynamic reconnection api, plus some type fixes the other two
4546           docs.
4547
4548 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
4549
4550         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4551         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4552         Also check for an absolute path following file:// in the filesrc
4553         element. Remove redundant check and call g_path_is_absolute() on the
4554         unescaped location.
4555
4556 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4557
4558         * docs/design/draft-klass.txt:
4559           Add existing category analysis.
4560           
4561         * gst/gstcaps.c:
4562           Fix doc example, framerate is a fraction.
4563
4564 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4565
4566         * configure.ac:
4567         * docs/gst/Makefile.am:
4568         * docs/gst/gstreamer-sections.txt:
4569         * docs/libs/Makefile.am:
4570           Erm, forgot a bunch of --extra-dir.
4571
4572 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4573
4574         * configure.ac:
4575         * docs/gst/Makefile.am:
4576         * docs/libs/Makefile.am:
4577         * docs/plugins/Makefile.am:
4578           Add crossreferences to glib/gobject docs.
4579
4580 2007-02-12  Wim Taymans  <wim@fluendo.com>
4581
4582         * docs/design/draft-latency.txt:
4583         Small update.
4584
4585         * docs/libs/gstreamer-libs-sections.txt:
4586         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4587         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4588         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4589         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4590         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4591         (gst_base_sink_get_position), (gst_base_sink_query),
4592         (gst_base_sink_change_state):
4593         * libs/gst/base/gstbasesink.h:
4594         API: gst_base_sink_query_latency() to let subclasses query the upstream
4595         latency.
4596         API: gst_base_sink_get_latency() to let subclasses query the configured
4597         latency in the sink.
4598         Implement query and set latency.
4599         Update some docs.
4600         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4601         don't continue preroll when we are flushing. Fixes #405284.
4602
4603         * tests/check/pipelines/stress.c: (change_state_timeout),
4604         (quit_timeout), (GST_START_TEST), (stress_suite):
4605         Test for #405284.
4606
4607 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4608
4609         Patch by: René Stadler <mail at renestadler de>
4610
4611         * docs/gst/gstreamer-sections.txt:
4612         * gst/gsttaglist.c: (_gst_tag_initialize):
4613         * gst/gsttaglist.h:
4614           API: add GST_TAG_REFERENCE_LEVEL (#403597).
4615
4616 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
4617
4618         * docs/libs/Makefile.am:
4619           Fix path to core docs.
4620
4621         * gst/gstbin.c: (gst_bin_get_by_interface),
4622         (gst_bin_iterate_all_by_interface):
4623           Refix docs by also renaming 'interface' to 'iface' in implementation.
4624
4625         * docs/gst/gstreamer-sections.txt:
4626         * gst/gstcaps.c:
4627         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4628         * gst/gstchildproxy.h:
4629         * gst/gstelementfactory.c:
4630         * gst/gstpadtemplate.h:
4631         * libs/gst/controller/gstcontroller.c:
4632         (gst_controlled_property_new):
4633           Document more.
4634
4635 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
4636
4637         * gst/gstbin.h:(gst_bin_get_by_interface),
4638         (gst_bin_iterate_all_by_interface):
4639         Replace interface parameter name by iface as interface is 
4640         a reserved keyword in Visual Studio for C++ projects so it removes
4641         a build error for application developpers using VS.
4642         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4643         Fix a bug on Windows in uri format check. Now the prefix checked
4644         is file:// and next we check if the path after file:// is absolute.
4645         * win32/common/libgstbase.def:
4646         * win32/common/libgstdataprotocol.def:
4647         * win32/common/libgstgstreamer.def:
4648         Add new exported functions.
4649
4650 2007-02-09  Andy Wingo  <wingo@pobox.com>
4651
4652         * tests/check/pipelines/simple-launch-lines.c
4653         (simple_launch_lines_suite, test_tee): Disable tee test until I
4654         have time to fix it :-(
4655
4656         * tests/check/Makefile.am (noinst_HEADERS): 
4657         * tests/check/libs/libsabi.c: 
4658         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4659         * tests/check/gst/gstabi.c: 
4660         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4661
4662         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4663         tests for push and pull tee behavior.
4664
4665         * plugins/elements/gsttee.h: 
4666         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4667         mark as deprecated as well as unimplemented. It was a crack idea.
4668         Add support for tee operating in pull mode, off by default.
4669
4670         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4671         normal-case logs down to LOG, raise errors to WARNING.
4672         (gst_registry_xml_read_cache): Don't log before calling a function
4673         that logs.
4674
4675         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4676         exit (registry finalize).
4677         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4678         DEBUG log when we emit signals that people don't even have the
4679         chance to connect to.
4680         (gst_registry_scan_path_level): Less logging in the normal case.
4681
4682 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4683
4684         Patch by: Michal Benes <michal dot benes at itonis dot tv>
4685
4686         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4687         Correctly generate EOS for non-seekable files. We don't have a total
4688         length for them and would get an unexpected end of file if we only
4689         special-cased for regular files. (Fixes: #404569)
4690
4691 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4692
4693         * tests/check/elements/filesrc.c: (GST_START_TEST),
4694         (filesrc_suite):
4695         Add unit test for the GstURIHandler interface in filesrc. This also
4696         tests the newly added file://localhost/foo/bar support.
4697
4698 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4699
4700         * gst/gstelementfactory.h:
4701           The klass string is not a hierarchy. Add reference to the design doc
4702           for more information and common types.
4703
4704 2007-02-02  Wim Taymans  <wim@fluendo.com>
4705
4706         * gst/gstquery.c: (gst_query_new_latency):
4707         Remove old structure field.
4708
4709 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
4710
4711         * tools/gst-launch.1.in:
4712           Give example for network streaming (#351998)
4713
4714 2007-02-02  Wim Taymans  <wim@fluendo.com>
4715
4716         * docs/gst/gstreamer-sections.txt:
4717         Add docs for new methods.
4718
4719         * gst/gstevent.c: (gst_event_new_latency),
4720         (gst_event_parse_latency):
4721         * gst/gstevent.h:
4722         Add new LATENCY event to configure latency in a pipeline.
4723         API: gst_event_new_latency
4724         API: gst_event_parse_latency
4725
4726         * gst/gstmessage.c: (gst_message_new_buffering),
4727         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4728         (gst_message_new_latency), (gst_message_parse_buffering),
4729         (gst_message_parse_lost_preroll):
4730         * gst/gstmessage.h:
4731         Added messages used in draft-latency.
4732         API: gst_message_new_lost_preroll
4733         API: gst_message_parse_lost_preroll
4734         API: gst_message_new_prerolled
4735         API: gst_message_new_latency
4736
4737         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4738         (gst_query_parse_latency):
4739         * gst/gstquery.h:
4740         Implemented new latency query as in design doc.
4741         API: gst_query_new_latency
4742         API: gst_query_set_latency
4743         API: gst_query_parse_latency
4744
4745 2007-02-02  Wim Taymans  <wim@fluendo.com>
4746
4747         * docs/design/draft-latency.txt:
4748         Slight redesign to allow for dynamic latency adjustments.
4749
4750         * docs/design/part-negotiation.txt:
4751         Fix some typos.
4752
4753 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4754
4755         reviewed by: Wim Taymans <wim@fluendo.com>
4756
4757         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4758         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4759         Allow file://localhost/foo/bar URLs and correctly fail for every other
4760         hostname that one sets. This was gnomevfssrc is linked for those if
4761         installed as it can handle it (#403172)
4762
4763 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4764
4765         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4766
4767         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4768         (unref_data), (gst_collect_pads_add_pad_full):
4769         * libs/gst/base/gstcollectpads.h:
4770         Don't put the previously added destroy notify in the GstCollectData
4771         struct as all it's padding is already used and we don't want to break
4772         ABI. Instead put in the pad's GObject data for now. This should be
4773         cleaned up for 0.11 (#402393).
4774
4775 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4776
4777         reviewed by: Wim Taymans <wim@fluendo.com>
4778
4779         * docs/libs/gstreamer-libs-sections.txt:
4780         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4781         (unref_data), (gst_collect_pads_add_pad),
4782         (gst_collect_pads_add_pad_full):
4783         * libs/gst/base/gstcollectpads.h:
4784         API: Add function to specify a destroy notification for custom
4785         GstCollectData when adding new pads in GstCollectPads (#402393).
4786
4787 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
4788
4789         * po/sv.po:
4790           Update Swedish translation (#378255).
4791
4792 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4793
4794         * docs/design/draft-klass.txt:
4795           Fix the previous change, this is a list of categories and not a hierarchy.
4796
4797 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4798
4799         * docs/design/draft-klass.txt:
4800           Add info about how to get a list of used classes.
4801
4802 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
4803
4804         * plugins/elements/gsttypefindelement.c:
4805         (gst_type_find_element_chain_do_typefinding),
4806         (gst_type_find_element_change_state):
4807           Don't leak found caps in chain function (no idea why that never
4808           showed up as a leak anywhere).
4809
4810 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
4811
4812         * gst/gstplugin.h:
4813           Fix and expand GstPluginDesc API docs.
4814
4815 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4816
4817         * gst/gstcaps.c:
4818         * gst/gstelementfactory.c:
4819         * gst/gstpadtemplate.h:
4820           api doc fixes
4821
4822         * libs/gst/controller/gstcontroller.c:
4823         (gst_controlled_property_new):
4824         * tests/examples/controller/audio-example.c:
4825           comment fixes
4826
4827 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4828
4829         * configure.ac:
4830           comment about refining the xml deps
4831
4832         * docs/manuals.mak:
4833           comments about moving away from jade for docs
4834         
4835         * gst/gst.c:
4836           recommit the ifdefs to use the binary registry
4837         
4838         * gst/gstbin.c: (gst_bin_change_state_func):
4839           this break is obsolete
4840
4841         * gst/gstelementfactory.h:
4842           better GST_ELEMENT_DETAILS docs, add comment about translation
4843
4844         * gst/gstinfo.h:
4845           remove eol slash
4846
4847         * gst/gstobject.c: (gst_signal_object_get_type):
4848           add G_UNLIKELY as usual
4849
4850         * gst/gstpad.c: (gst_pad_event_default):
4851           add fall trhu comment
4852
4853         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4854         (gst_registry_binary_initialize_magic),
4855         (gst_registry_binary_save_string),
4856         (gst_registry_binary_save_pad_template),
4857         (gst_registry_binary_save_feature),
4858         (gst_registry_binary_save_plugin),
4859         (gst_registry_binary_write_cache),
4860         (gst_registry_binary_check_magic),
4861         (gst_registry_binary_load_pad_template),
4862         (gst_registry_binary_load_feature),
4863         (gst_registry_binary_load_plugin),
4864         (gst_registry_binary_read_cache):
4865           comment typo and formatting
4866
4867         * gst/gstutils.c: (gst_element_state_get_name),
4868         (gst_element_state_change_return_get_name):
4869           remove obsolete breaks
4870
4871         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4872           add FIXME 0.11 and remove cpp comment
4873
4874 2007-01-29  Edward Hervey  <edward@fluendo.com>
4875
4876         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4877         Fix print statement in an even more portable way.
4878
4879 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
4880
4881         * docs/gst/gstreamer-sections.txt:
4882         * gst/gstutils.h:
4883           API: add GST_ROUND_DOWN_* macros (#401781).
4884
4885 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
4886
4887         * docs/gst/gstreamer.types.in:
4888         * gst/gstregistry.c: (gst_registry_class_init):
4889           Document registry signals and make gtk-doc pick them up (#401381).
4890
4891 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4892
4893         * docs/pwg/building-testapp.xml:
4894           Add some audioconverts and audioresample to the pipeline, and some
4895           more comments and error handling.
4896
4897 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4898
4899         * docs/manual/manual.xml:
4900         * docs/pwg/pwg.xml:
4901           Fix typo (#400987).
4902
4903 2007-01-26  Wim Taymans  <wim@fluendo.com>
4904
4905         * gst/gstcaps.c: (gst_static_caps_get):
4906         Init caps flags too.
4907
4908 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
4909
4910         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4911
4912         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4913         If not using mmap'ed files try to seek to the end instead of the
4914         start to determine whether we can seek at all. This fixes the case
4915         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4916         seeks for everything afterwards fail. Fixes #400656
4917
4918 2007-01-25  Wim Taymans  <wim@fluendo.com>
4919
4920         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4921         Add some refcount debugging.
4922         Make gst_static_caps_get threadsafe, which is needed when autoplugging
4923         in multiple streaming threads.
4924
4925 2007-01-25  Wim Taymans  <wim@fluendo.com>
4926
4927         Patch by: David Schleef <ds at schleef dot org>
4928
4929         * docs/libs/gstreamer-libs-sections.txt:
4930         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4931         * libs/gst/base/gstadapter.h:
4932         API: gst_adapter_copy() that can reduce the amount of memcpy when
4933         getting data from the adapter. Fixes #388201.
4934
4935 2007-01-25  Edward Hervey  <edward@fluendo.com>
4936
4937         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4938         In print statements, "%x" is for guint. Fixes build on macosx.
4939
4940 2007-01-24  Edward Hervey  <edward@fluendo.com>
4941
4942         * plugins/elements/gstmultiqueue.c:
4943         (gst_multi_queue_loop):
4944         Small fix.
4945         (single_queue_overrun_cb), (single_queue_underrun_cb),
4946         (single_queue_check_full), (gst_single_queue_new):
4947         Implement single queue growth system.
4948         This uses the extra-size properties, and will grow single queues by
4949         that much if one goes full whereas there are others empty. This is
4950         called extra-mode in the code.
4951         When a single queue's levels go back below the initial max-size
4952         limits, it is no longer in extra-mode. This is to ensure we don't
4953         consume too much memory.
4954         Fixes #399875
4955
4956 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
4957
4958         * gst/gst.c: (gst_init_get_option_group):
4959           Make warning about late g_thread_init() calls a bit more explicit,
4960           so that it's more obvious to application developers what they need
4961           to do if a user files a bug against their application.
4962
4963 2007-01-22  Edward Hervey  <edward@fluendo.com>
4964
4965         * plugins/elements/gstmultiqueue.c:
4966         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4967         Remove previous hack of unsetting the flushing flag for the source pad
4968         instead of activating it. Instead, fix the source pad activate function
4969         so that it no longer depends on having a parent set or not.
4970
4971 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
4972
4973         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4974
4975         * docs/manual/basics-bus.xml:
4976           Fix example code, gst_element_unref() doesn't exist any longer.
4977
4978 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
4979
4980         Patch by: Mark Nauwelaerts <manauw at skynet be>
4981
4982         * gst/gstpad.c:
4983           Fix two docs typoes (#399094).
4984
4985 2007-01-19  Edward Hervey  <edward@fluendo.com>
4986
4987         * docs/faq/gst-uninstalled:
4988         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4989         depending on libgstbaseutils can work in uninstalled environment.
4990
4991 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
4992
4993         * gst/gsttaglist.h:
4994         * gst/gsttagsetter.c:
4995         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4996         statement for new tag.
4997
4998 2007-01-17  Edward Hervey  <edward@fluendo.com>
4999
5000         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
5001         When dynamically creating single queues, activate sinkpad before adding
5002         it.
5003         We should be doing the same thing for the source pad, but we can't
5004         since it would call a method which needs the parent to be set in order
5005         to work propertly. Instead of activating the source pad, we just unset
5006         the flushing flag, which is the minimal requirement for adding a pad
5007         to an element in a state greater than READY.
5008
5009 2007-01-17  Edward Hervey  <edward@fluendo.com>
5010
5011         * docs/faq/gst-uninstalled:
5012         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
5013         Mac OS X.
5014
5015 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5016
5017         * tests/check/gst/gstabi.c:
5018         * tests/check/gst/struct_hppa.h:
5019         * tests/check/libs/libsabi.c:
5020         * tests/check/libs/struct_hppa.h:
5021           Add ABI structs for HPPA (see #393796).
5022
5023 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
5024
5025         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5026           Actually write ABI structs to the file specified in the GST_ABI
5027           environment variable, as the message we print claims we would.
5028
5029 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5030
5031         * tests/check/gst/gsttask.c:
5032           Fix header comment.
5033
5034 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5035
5036         * gst/gsttaglist.c: (_gst_tag_initialize):
5037           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5038           previous two entries.
5039
5040 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5041
5042         * docs/gst/gstreamer-sections.txt:
5043         * gst/gsttaglist.c: (_gst_tag_initialize):
5044         * gst/gsttaglist.h:
5045           Add tag support for beat-per-minute.
5046
5047 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5048
5049         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5050         (gst_registry_binary_initialize_magic),
5051         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5052         (gst_registry_binary_save_pad_template),
5053         (gst_registry_binary_save_feature),
5054         (gst_registry_binary_save_plugin),
5055         (gst_registry_binary_write_cache),
5056         (gst_registry_binary_check_magic),
5057         (gst_registry_binary_load_pad_template),
5058         (gst_registry_binary_load_feature),
5059         (gst_registry_binary_load_plugin),
5060         (gst_registry_binary_read_cache):
5061         * gst/gstregistrybinary.h:
5062           Use glib types, cleanup comments, impement interfaces and uri-types.
5063
5064 2007-01-13  Andy Wingo  <wingo@pobox.com>
5065
5066         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5067         getrange() to return buffers with other caps, while we fix
5068         demuxers and typefind, or otherwise change part-negotiation.txt.
5069
5070 2007-01-12  Andy Wingo  <wingo@pobox.com>
5071
5072         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5073         Factor start/stop into this private function instead of partially
5074         in activate functions and partially in the change_state function.
5075         Fixes setup before the element has changed from READY->PAUSED, as
5076         is the case in pull-mode pipelines.
5077         (gst_base_transform_sink_activate_push)
5078         (gst_base_transform_src_activate_pull): Refactor to use
5079         gst_base_transform_activate().
5080         (gst_base_transform_change_state): Removed, not needed any more.
5081
5082         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5083         Truncate before fixating.
5084         
5085         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5086         Don't set_caps() if the result of fixating is ANY, as it's not
5087         supported, and not necessary in the case of a link with no
5088         template caps on either side. Fixes tests/check/libs/basesrc in
5089         some pull-mode tests.
5090
5091         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5092         (gst_base_transform_init, gst_base_transform_sink_activate_push)
5093         (gst_base_transform_src_activate_pull): 
5094         Track the activation mode.
5095         (gst_base_transform_setcaps): In pull mode, when activating the
5096         src pad, after activating the sink pad, activate the sink pad's
5097         peer, as discussed in part-negotiation.txt.
5098
5099         * libs/gst/base/gstbasesrc.h: 
5100         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5101         vmethod, as in basesink.
5102
5103         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5104
5105         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5106         mode, first proxy the setcaps to the peer pad.
5107         (gst_base_sink_pad_fixate): Add a fixate function that calls the
5108         new fixate vmethod.
5109         (gst_base_sink_default_activate_pull): Rename from
5110         gst_base_sink_activate_pull.
5111         (gst_base_sink_negotiate_pull): New function, performs negotiation
5112         in pull mode before calling ::activate_pull().
5113         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5114         vmethod instead of the default implementation. I have no idea how
5115         this worked before. Negotiate before calling activate_pull.
5116
5117         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5118         sink pads in pull mode. In addition to being correct, fixes
5119         filesrc ! decodebin ! identity ! fakesink.
5120         (gst_pad_get_range, gst_pad_pull_range): Don't call
5121         gst_pad_set_caps() if the caps changes; instead error out with
5122         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5123
5124 2007-01-12  Andy Wingo  <wingo@pobox.com>
5125
5126         * docs/design/part-negotiation.txt: Update with more policy.
5127
5128 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5129
5130         * libs/gst/check/gstbufferstraw.h:
5131         * libs/gst/check/gstcheck.h:
5132           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5133           belongs.
5134
5135 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5136
5137         * tests/check/Makefile.am:
5138         * tests/check/gst/.cvsignore:
5139         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5140         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5141         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5142         (GST_START_TEST), (gst_tag_setter_suite):
5143           Add minimal unit test for beforementioned GstTagSetter bug.
5144
5145 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5146
5147         Patch by: René Stadler <mail at renestadler dot de>
5148
5149         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5150           gst_tag_list_merge() returns a new list, so it's not the best idea
5151           to ingore its return value. Effectively meant that tags could only
5152           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5153           Also add function guard to require a non-NULL taglist as input (has
5154           always been so due to gst_tag_list_copy(), just making it explicit).
5155
5156 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5157
5158         * docs/random/draft-missing-plugins.txt:
5159           Some additions: mention new API that is supposed to be used at the
5160           various stages; short blob about new gst-inspect introspection
5161           option; mention potential future problem with plugins that have
5162           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5163
5164 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5165
5166         * tools/gst-inspect.c:
5167         (print_plugin_automatic_install_info_codecs),
5168         (print_plugin_automatic_install_info_protocols),
5169         (print_plugin_automatic_install_info), (main):
5170         Add --print-plugin-auto-install-info option to gst-inspect, so we can
5171         introspect plugin files and get machine-parsable output that corresponds
5172         to the last bit of the missing-plugin installer string (small gotcha:
5173         doesn't take into account ranks).
5174
5175 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
5176
5177         * configure.ac:
5178         * docs/gst/gstreamer-sections.txt:
5179         * gst/Makefile.am:
5180         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5181         (gst_registry_lookup_locked):
5182         * gst/gstregistry.h:
5183         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5184         (gst_registry_binary_initialize_magic),
5185         (gst_registry_binary_save_string),
5186         (gst_registry_binary_save_pad_template),
5187         (gst_registry_binary_save_feature),
5188         (gst_registry_binary_save_plugin),
5189         (gst_registry_binary_write_cache),
5190         (gst_registry_binary_check_magic),
5191         (gst_registry_binary_load_pad_template),
5192         (gst_registry_binary_load_feature),
5193         (gst_registry_binary_load_plugin),
5194         (gst_registry_binary_read_cache):
5195         * gst/gstregistrybinary.h:
5196         * gst/gstregistryxml.c: (load_feature),
5197         (gst_registry_xml_read_cache):
5198           commit binary registry (disabled by default, see #359653)
5199
5200 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5201
5202         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5203           Fix 'make check' too.
5204
5205 2007-01-10  Andy Wingo  <wingo@pobox.com>
5206
5207         * docs/design/part-negotiation.txt: Fix a typo, add a couple
5208         notes.
5209         
5210         * docs/design/part-negotiation.txt: Update with, um, one way that
5211         pull-mode negotiation might work?
5212
5213         * gst/gstpad.h: 
5214         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5215         that the pad must be a src pad; makes sense to call it the other
5216         way in pull mode, and the logic is symmetric anyway.
5217
5218 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5219
5220         * plugins/elements/gstfilesink.c:
5221           Include <stdio.h> for fseeko().
5222
5223 2007-01-10  Wim Taymans  <wim@fluendo.com>
5224
5225         * gst/gstevent.c:
5226         * gst/gstevent.h:
5227         Reserve LATENCY event.
5228
5229 2007-01-09  Wim Taymans  <wim@fluendo.com>
5230
5231         * docs/design/draft-latency.txt:
5232         Updates.
5233
5234 2007-01-09  Wim Taymans  <wim@fluendo.com>
5235
5236         * docs/design/draft-latency.txt:
5237         Updates.
5238
5239         * gst/gstelement.h:
5240         * gst/gststructure.c:
5241         * gst/gsttrace.c:
5242         Small typo fixes.
5243
5244 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5245
5246         * tests/check/.cvsignore:
5247           Ignore test-registry.xml as well.
5248
5249 2007-01-09  Wim Taymans  <wim@fluendo.com>
5250
5251         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5252         unref data at the end when we are done with the pad.
5253
5254 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5255
5256         * docs/gst/gstreamer-sections.txt:
5257         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5258         (init_post), (gst_deinit), (gst_update_registry):
5259         * gst/gst.h:
5260           API: add gst_update_registry() (#391296).
5261
5262         * tests/check/Makefile.am:
5263         * tests/check/gst/gstregistry.c:
5264         * tests/check/gst/.cvsignore:
5265           Simple unit test for the above.
5266
5267 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5268
5269         * gst/gstregistry.c: (gst_registry_scan_path_level):
5270           Plugin extension on HP-UX is .sl, add that to the list of approved
5271           plugin extensions (see #393796).
5272
5273         * tests/check/gst/gstpad.c: (GST_START_TEST):
5274           ulong => gulong. Fixes compilation with HP-UX compiler.
5275
5276         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5277           Fix compilation if valgrind headers are not available.
5278
5279 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
5280
5281         * win32/common/libgstreamer.def: 
5282           Add new exported function.
5283         * win32/vs6/libgstbase.dsp: 
5284           Add gstdataqueue.c to the build.
5285         * win32/vs6/libgstcoreelements.dsp:
5286           Add gstmultiqueue.c to the build.
5287         
5288 2007-01-06  Andy Wingo  <wingo@pobox.com>
5289
5290         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5291         activate_pull(), providing for a way to specialize the process of
5292         spawning a thread to pull on the sink pad. There is a default
5293         implementation.
5294
5295         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5296         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5297         (gst_base_sink_init): Renamed pad activation functions (inserting
5298         "_pad" in their names). Refactor to use the new activate_pull
5299         vmethod, as appropriate.
5300         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5301         default activate_pull function to start a task pulling from the
5302         sink pad, as before.
5303
5304         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5305         on the pads if necessary, as in push()/chain(). Update docs.
5306         Shouldn't affect existing pull() usage as it is currently only
5307         being used on buffers without caps.
5308
5309 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5310
5311         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5312         (init_pre):
5313           Call g_thread_init() first thing in gst_init() / gst_check_init().
5314           When initialisation is done via gst_init_get_option_group() and
5315           GOption parsing, issue a warning if the GLib thread system has not
5316           been initialised yet by the time gst_init_get_option_group() is
5317           called, as it's quite likely other GLib functions such as
5318           g_option_context_new() have been called already then, and
5319           g_thread_init() must be called before any other GLib function. The
5320           application in question must be fixed in that case, since memory
5321           corruption might happen otherwise.
5322           We issue the warning because even if the GLib folks decide to work
5323           around the problem on their end in future, this is still an issue
5324           with all GLib versions >= 2.10.0, so we should warn until we depend
5325           on a GLib version we know to be safe.
5326           Update documentation as well.
5327           Closes bug #391278.
5328
5329 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5330
5331         * tools/gst-inspect.c: (main):
5332         * tools/gst-launch.c: (main):
5333         * tools/gst-typefind.c: (main):
5334         * tools/gst-xmlinspect.c: (main):
5335           Call g_thread_init() really really early, before any other GLib
5336           function (see #342564 and recent discussion on gtk-devel-list).
5337
5338 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5339
5340         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
5341
5342         * gst/gst_private.h:
5343         * gst/gstconfig.h.in:
5344         * gst/gstinfo.h:
5345           On win32, all the __declspec stuff for symbol exporting is
5346           apparently only needed with MSVC, but doesn't work with MingW.
5347           Fixes compilation with MingW and #391909.
5348
5349 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5350
5351         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5352           Change some GST_ERROR_OBJECT that aren't really errors to
5353           GST_WARNING_OBJECT in order to reduce terminal spam.
5354
5355 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5356
5357         * tests/check/Makefile.am:
5358           disable test again, as there seem to be still race problems
5359
5360 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5361
5362         * tests/check/Makefile.am:
5363         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5364         (GST_START_TEST), (queue_suite):
5365           enable queue test again, add tests for the leaky behaviour
5366
5367 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
5368
5369         * configure.ac:
5370         * tests/examples/Makefile.am:
5371           Compile adapter test/example only if the required headers are
5372           available (fixes #391915).
5373
5374 2007-01-01  David Schleef  <ds@schleef.org>
5375
5376         * gst/gstplugin.c:
5377           Restore the previous signal handler for SIGSEGV instead of
5378           setting to default, since we may have stolen it away from
5379           someone.  (i.e., Mono)
5380
5381 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5382
5383         * docs/random/draft-missing-plugins.txt:
5384           Some small additions and clarifications.
5385
5386 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5387
5388         * gst/gstregistryxml.c: (gst_registry_save_escaped):
5389           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5390           since that can lead to random memory corruptions and crashes
5391           (may or may not be related to #383244, #386711, and #386711).
5392
5393 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5394
5395         * tests/check/.cvsignore:
5396         * tests/check/Makefile.am:
5397           sync .cvsignome and CLEANFILES
5398
5399 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5400
5401         * tests/check/Makefile.am:
5402           fix distcheck
5403
5404 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5405
5406         * docs/design/part-states.txt:
5407           two tiny additional comments
5408         
5409         * gst/gststructure.c:
5410           doc fixing
5411
5412         * tests/check/Makefile.am:
5413         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5414         (GST_START_TEST):
5415           disable test for now, unless it gets fixed
5416
5417 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5418
5419         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5420         (GST_START_TEST):
5421           fix race in underrun test
5422
5423 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5424
5425         * tests/check/elements/.cvsignore:
5426           ignore more
5427
5428         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5429         (GST_START_TEST):
5430           try to narrow test failure
5431
5432 2006-12-21  David Schleef  <ds@schleef.org>
5433
5434         * plugins/elements/gstfakesrc.c:
5435           Use g_random_int_range(), since it produces better random
5436           numbers in a range than almost-correct floating point code.
5437
5438 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5439
5440         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5441         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5442         (gst_check_teardown_sink_pad):
5443           do not automatically (de)activate pads
5444
5445         * tests/check/Makefile.am:
5446         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5447         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5448           add new, yet simple tests for queue
5449
5450         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5451         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5452         * tests/check/elements/filesrc.c: (cleanup_filesrc),
5453         (GST_START_TEST):
5454         * tests/check/elements/identity.c: (cleanup_identity):
5455           consistent pad (de)activation
5456
5457 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5458
5459         Patch by: Sebastian Dröge  <slomo ubuntu com>
5460
5461         * libs/gst/base/gstcollectpads.c:
5462           Fix two doc typos (#387866).
5463
5464 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5465
5466         * docs/manual/advanced-dparams.xml:
5467           Fix typo (g_object_control_properties() doesn't exist).
5468
5469 2006-12-19  Edward Hervey  <edward@fluendo.com>
5470
5471         * gst/gstsegment.c: (gst_segment_set_seek):
5472         Fine tune the cases where the segment start/stop values are really
5473         updated.
5474         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5475         Add tests for the return values of gst_segment_set_seek().
5476
5477 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5478
5479         * gst/gst.c:
5480           Docs typo fix.
5481
5482         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5483         (gst_queue_init):
5484           Fix incorrect documentation and flesh it out a bit more.
5485           Set default values for the max properties on the GParamSpec as well,
5486           so it shows up correctly in gst-inspect.
5487
5488 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
5489
5490         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5491           Correct docs of queue, add more detail and crosslink it more.
5492
5493 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5494
5495         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5496           Print additional debug info when the stream isn't perfectly
5497           timestamped; don't try to use invalid durations.
5498
5499 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5500
5501         * docs/design/Makefile.am:
5502           Dist new design docs.
5503
5504 2006-12-16  Wim Taymans  <wim@fluendo.com>
5505
5506         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5507
5508         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5509         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5510         (gst_collect_pads_stop), (gst_collect_pads_event),
5511         (gst_collect_pads_chain):
5512         * libs/gst/base/gstcollectpads.h:
5513         Add refcounting to the collectpads data so we can track when it's safe
5514         to free the data. Fixes #383382.
5515
5516 2006-12-15  Wim Taymans  <wim@fluendo.com>
5517
5518         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5519         (gst_collect_pads_remove_pad):
5520         Automatically activate/deactivate pads when they are added to a
5521         started/stoped collectpads.
5522
5523 2006-12-15  Wim Taymans  <wim@fluendo.com>
5524
5525         * gst/gstelement.c: (gst_element_add_pad):
5526         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5527         * gst/gstpad.c: (gst_pad_init):
5528         Set pads to FLUSHING when they are created. Check, warn and fix when a
5529         demuxer adds an inactive pad to itself when running. Fixes #339326.
5530
5531 2006-12-15  Wim Taymans  <wim@fluendo.com>
5532
5533         * gst/gstelement.c: (gst_element_class_init),
5534         (gst_element_default_send_event), (gst_element_send_event),
5535         (gst_element_default_query), (gst_element_query):
5536         Expose default element send_event and query handling as vmethods that
5537         subclasses can chain up to.
5538
5539 2006-12-15  Wim Taymans  <wim@fluendo.com>
5540
5541         * gst/gstelement.c: (gst_element_set_state_func):
5542         Small documentation fixes.
5543
5544 2006-12-15  Wim Taymans  <wim@fluendo.com>
5545
5546         * docs/design/draft-latency.txt:
5547         Checked in draft for handling latency in pipelines.
5548
5549 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5550
5551         * Makefile.am:
5552         * gstreamer.doap:
5553         * gstreamer.spec.in:
5554           adding .doap file
5555
5556 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
5557
5558         * gst/gst.c: (init_pre), (init_post):
5559           init_pre() and init_post() might be called via our GOptionGroup or
5560           from gst_init(), and we should skip both of them if we've already
5561           been initialised, otherwise we will init some things twice or add
5562           two default log functions.
5563
5564 2006-12-13  Edward Hervey  <edward@fluendo.com>
5565
5566         * docs/manual/basics-bus.xml:
5567         No, gst_main_loop does not exist. Its g_main_loop.
5568         Discovered by somebody who abused the copy-paste technique of coding :)
5569
5570 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5571
5572         * gst/gstghostpad.c:
5573           Log ghostpad debug stuff to the GST_PADS category as well rather
5574           than just to the default category.
5575
5576 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5577
5578         * configure.ac:
5579         * gst/gst.c: (init_pre):
5580           Add some basic system details such as OS and architecture
5581           to the debug output if possible, courtesy of uname().
5582
5583 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5584
5585         * docs/gst/running.xml:
5586           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5587           environment variables.
5588
5589 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5590
5591         * tests/check/gst/gstbin.c: (GST_START_TEST):
5592         It is acceptable to have a refcount of 2 or 3 at this point in the
5593         test, because the pipeline might be just posting its state_change
5594         message. The next line then waits for that message to appear using
5595         bus_poll, so that should be fine too.
5596
5597 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5598
5599         * gst/gst.c: (ensure_current_registry_forking):
5600         Ignore EINTR when reading from the child registry pipe.
5601         Explicitly ignore the return value from close, since it makes no
5602         difference.
5603
5604         * gst/gstminiobject.c: (gst_mini_object_ref),
5605         (gst_mini_object_unref):
5606         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5607
5608         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5609         When removing cached plugins, remove their features too, so they're
5610         not visible after they've disappeared.
5611
5612         * gst/gstutils.c: (prepare_link_maybe_ghosting):
5613         In the unlikely case that we are linking pads with no parents, don't
5614         crash trying to get the non-existent parent bin.
5615
5616         * gst/parse/grammar.y:
5617         Output debug in the PIPELINE category
5618
5619 2005-03-08  Wim Taymans  <wim@fluendo.com>
5620
5621         Patch by: René Stadler <mail at renestadler dot de>
5622
5623         * gst/gstclock.c: (gst_clock_new_periodic_id):
5624         Reject invalid clock times for interval of periodic ids.
5625         Fixes ##383506.
5626
5627 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5628
5629         * gst/gstelementfactory.c: (gst_element_factory_create):
5630         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5631         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5632         * tools/gst-inspect.c: (print_element_info):
5633         Fix refcounting of gst_plugin_feature_load to match the docs. 
5634         Fixes: #380129
5635
5636 2006-12-07  Wim Taymans  <wim@fluendo.com>
5637
5638         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5639         (gst_base_sink_get_position):
5640         Improve debugging of events.
5641
5642 2006-12-07  Wim Taymans  <wim@fluendo.com>
5643
5644         Patch by: René Stadler <mail at renestadler dot de>
5645
5646         * gst/gstclock.c: (gst_clock_id_wait):
5647         Make period ids add the interval to the origial requested time instead
5648         of the possibly updated time which can be wrong when there are multiple
5649         waiters for the same id. Fixes #382592.
5650
5651         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5652         (gst_system_clock_id_wait_jitter_unlocked),
5653         (gst_system_clock_id_wait_jitter):
5654         Fix restart in the async notify thread when an async entry is added to
5655         the front of the list. Fixes #381492. 
5656
5657         * tests/check/gst/gstsystemclock.c: (store_callback),
5658         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5659         Added test for multiple async waits.
5660         Added test for async wait order.
5661
5662 2006-12-07  Wim Taymans  <wim@fluendo.com>
5663
5664         * gst/gstbin.c: (gst_bin_query):
5665         Add some more docs about the POSITION query.
5666
5667 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5668
5669         * configure.ac:
5670         Bump version nano - back to CVS.
5671
5672 === release 0.10.11 ===
5673
5674 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
5675
5676         * configure.ac:
5677           releasing 0.10.11, "Love never runs on time"
5678
5679 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
5680
5681         * win32/common/libgstbase.def:
5682         * win32/common/libgstreamer.def:
5683         * win32/vs8/libgstbase.vcproj:
5684         * win32/vs8/libgstcoreelements.vcproj:
5685         * win32/vs8/libgstreamer.vcproj:
5686         Fix compilation on win32 under VS8
5687         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5688         Partially fixes #381175
5689
5690 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5691
5692         * gst/gstvalue.c: (gst_value_compare_fraction):
5693         If someone is foolish enough to compare 2 fractions with denominator =
5694         0, return UNORDERED rather than aborting.
5695
5696 2006-11-28  Edward Hervey  <edward@fluendo.com>
5697
5698         * libs/gst/base/Makefile.am:
5699         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5700         (gst_data_queue_base_init), (gst_data_queue_class_init),
5701         (gst_data_queue_init), (gst_data_queue_new),
5702         (gst_data_queue_cleanup), (gst_data_queue_finalize),
5703         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5704         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5705         (gst_data_queue_is_empty), (gst_data_queue_is_full),
5706         (gst_data_queue_set_flushing), (gst_data_queue_push),
5707         (gst_data_queue_pop), (gst_data_queue_drop_head),
5708         (gst_data_queue_set_property), (gst_data_queue_get_property):
5709         * libs/gst/base/gstdataqueue.h:
5710         New GstDataQueue object for threadsafe queueing. Most useful for
5711         elements that need some queueing functionnality.
5712         * docs/libs/gstreamer-libs-docs.sgml:
5713         * docs/libs/gstreamer-libs-sections.txt:
5714         Insert documentation for GstDataQueue
5715         * plugins/elements/Makefile.am:
5716         * plugins/elements/gstelements.c:
5717         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5718         (gst_multi_queue_class_init), (gst_multi_queue_init),
5719         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5720         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5721         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5722         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5723         (gst_multi_queue_loop), (gst_multi_queue_chain),
5724         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5725         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5726         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5727         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5728         (wake_up_next_non_linked), (compute_next_non_linked),
5729         (single_queue_overrun_cb), (single_queue_underrun_cb),
5730         (single_queue_check_full), (gst_single_queue_new):
5731         * plugins/elements/gstmultiqueue.h:
5732         New multiqueue element, using GstDataQueue. Used for queuing multiple
5733         streams.
5734         Closes #344639 and #347785
5735
5736 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
5737
5738         * docs/pwg/advanced-types.xml:
5739           add more missing type details
5740
5741         * tools/gst-run.c: (main):
5742           remove unused variable
5743
5744 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
5745
5746         * docs/libs/Makefile.am:
5747         * docs/libs/gstreamer-libs.types:
5748           add types of base classes to enable gobject specific stuff in the docs
5749
5750         * docs/random/ensonic/embedded.txt:
5751           more ideas about isolating platform specific things
5752
5753 2006-11-20  Wim Taymans  <wim@fluendo.com>
5754
5755         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5756
5757         * libs/gst/check/gstcheck.h:
5758         Fix compilation and running against 0.9.4. Fixes #377332.
5759
5760 2006-11-20  Wim Taymans  <wim@fluendo.com>
5761
5762         * gst/gstsegment.c: (gst_segment_set_seek),
5763         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5764         (gst_segment_to_running_time):
5765         Fix boundary checking in to_running_time() and to_stream_time().
5766         Fixes #377183.
5767
5768         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5769         stream and running time can now be calculated for the complete
5770         clipped segment.
5771
5772 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
5773
5774         * gst/gstpad.c: (gst_pad_push_event):
5775           Can't access event structure after giving away ownership of
5776           the event.
5777
5778 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
5779
5780         * docs/random/ensonic/embedded.txt:
5781         * docs/random/ensonic/profiling.txt:
5782         * docs/random/ensonic/receipies.txt:
5783           more thinking
5784
5785 2006-11-13  Wim Taymans  <wim@fluendo.com>
5786
5787         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5788
5789         * gst/gstpad.c:
5790         Fix documentation for gst_pad_dispatcher. Fixes #374475.
5791
5792 2006-11-13  Wim Taymans  <wim@fluendo.com>
5793
5794         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5795
5796         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5797         Store new length in segment duration so we don't keep on calling the
5798         potentially expensize get_size() call. Fixes #370865.
5799
5800 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
5801
5802         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
5803
5804         * win32/common/libgstreamer.def:
5805           Add two missing symbols (#366492).
5806
5807 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
5808
5809         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5810         (gst_adapter_take_buffer):
5811         Fix format string to use all its arguments.
5812         Remove useless >= check on a guint
5813
5814 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5815
5816         * tests/examples/adapter/.cvsignore:
5817         Ignore build file as commanded by the build-bot
5818
5819 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5820
5821         * tests/examples/adapter/Makefile.am:
5822         * tests/examples/adapter/adapter_test.c: (run_test_take),
5823         (run_test_take_buffer), (run_tests), (main):
5824
5825         Add new files from the previous commit
5826
5827 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5828
5829         * Makefile.am:
5830         * configure.ac:
5831         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5832         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5833         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5834         * libs/gst/base/gstadapter.h:
5835         * tests/check/libs/adapter.c: (create_and_fill_adapter),
5836         (GST_START_TEST), (gst_adapter_suite):
5837         * tests/examples/Makefile.am:
5838         Do some optimisation work in GstAdapter to avoid copies in more cases.
5839         It could still do slightly better by merging buffers when
5840         gst_buffer_is_span_fast is true, but is already faster. 
5841
5842         Also, avoid traversing a single-linked list to append each incoming 
5843         buffer inside the adapter.
5844
5845         Add simple test app that times the adapter behaviour in different
5846         situations, and extend the unit test to check that bytes enter and
5847         exit the adapter in their original order.
5848
5849 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
5850
5851         * docs/random/draft-missing-plugins.txt:
5852           Update: use element message instead of adding a new message
5853           type to the core; don't provide GStreamer API to initiate the
5854           plugin download, just provide API to compose the strings needed
5855           and let an external libgimmestuff handle the rest.
5856
5857 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
5858
5859         * tools/gst-inspect.c: (print_element_properties_info):
5860         Print a string instead of 'unknown type' for GValueArray properties
5861
5862 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
5863
5864         * docs/random/draft-missing-plugins.txt:
5865         More small fixes.
5866
5867 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5868
5869         * tests/examples/typefind/typefind.c: (type_found), (main):
5870           Make typefind element example work again (#371894); add a
5871           license header.
5872
5873 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5874
5875         * docs/random/draft-missing-plugins.txt:
5876           Commit initial draft about how to deal with missing plugins,
5877           needs work (API too).
5878
5879 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
5880
5881         * docs/pwg/advanced-types.xml:
5882           documents the new caps elements (see #363118)
5883
5884 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5885
5886         * gst/gstplugin.c: (gst_plugin_load_file):
5887         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5888         (gst_file_src_map_region), (gst_file_src_start):
5889         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5890         (gst_file_index_commit):
5891           Use g_strerror() instead of strerror() - we want UTF-8.
5892
5893 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5894
5895         Patch by: Peter Kjellerstedt <pkj at axis com>
5896
5897         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5898           Another printf fix (#371493).
5899
5900 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5901
5902         * tests/check/gst/gsttag.c:
5903           relicence (okay with author=company)
5904
5905 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5906
5907         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5908         (gst_pad_push_event):
5909           Enhance debug and improve docs
5910         
5911         * gst/gsturi.c:
5912           Fix docs
5913
5914 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5915
5916         * docs/random/ensonic/distributed.txt:
5917         * docs/random/ensonic/profiling.txt:
5918           more ideas
5919
5920 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5921
5922         * docs/gst/gstreamer-sections.txt:
5923           add new API and fix the build
5924           
5925         * gst/gstbin.c: (gst_bin_recalc_state):
5926         * gst/gstelement.c: (gst_element_message_full),
5927         (gst_element_get_state_func), (gst_element_set_state_func):
5928           use new API and improve logging
5929         
5930         * gst/gstutils.c: (gst_element_state_change_return_get_name):
5931         * gst/gstutils.h:
5932           API: add function to get StateChangereturn names to improve logs 
5933
5934 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5935
5936         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5937           I'm considering shooting the next person to put strerror stuff
5938           in the translateable part of the message.
5939
5940 2006-11-03  Wim Taymans  <wim@fluendo.com>
5941
5942         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5943         Get the type and printf conversion specifiers right.
5944
5945 2006-11-03  Wim Taymans  <wim@fluendo.com>
5946
5947         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5948
5949         * gst/gstpad.c: (gst_pad_init), (pre_activate),
5950         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5951         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5952         Some small cleanups. Improve debugging.
5953         * gst/gstpad.h:
5954         Signal all waiting threads with a broadcast instead of just one.
5955         Fixes #369942.
5956
5957 2006-11-03  Wim Taymans  <wim@fluendo.com>
5958
5959         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5960         (gst_fd_src_create):
5961         Add some debugging. 
5962         Only update fd when it's different from the old.
5963
5964 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5965
5966         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5967           Printf fixes for PPC/OSX, take two (#369366).
5968
5969 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5970
5971         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
5972
5973         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5974         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5975         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5976           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5977           don't cast to long long for portability reasons, but use
5978           GLib's types instead.
5979
5980 2006-10-30  Michael Smith  <msmith@fluendo.com>
5981
5982         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5983           Get the arguments to lseek() the right way around.
5984           Fixes 367677.
5985
5986 2006-10-30  Wim Taymans  <wim@fluendo.com>
5987
5988         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5989
5990         * gst/gstinfo.h:
5991         _declspec should be __declspec (two underscores, not one). Fixes 366572.
5992
5993 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5994
5995         Patch by: Kjartan Maraas  <kmaraas at gnome org>
5996
5997         * docs/design/part-MT-refcounting.txt:
5998         * docs/random/wtay/capsnego2-docs:
5999         * gst/gstclock.c:
6000         * gst/gstxml.c:
6001           Typo fixes (#366212).
6002
6003 2006-10-28  Wim Taymans  <wim@fluendo.com>
6004
6005         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6006
6007         * gst/gst.c:
6008         * win32/common/libgstbase.def:
6009         * win32/common/libgstreamer.def:
6010         * win32/vs8/libgstbase.vcproj:
6011         * win32/vs8/libgstcontroller.vcproj:
6012         Add needed entries in .def files.
6013         Use HAVE_UNISTD_H.
6014         Rearrange def files in vs8 solutions. Fixes #366286.
6015
6016 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
6017
6018         * win32/common/gstconfig.h:
6019           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
6020           hand-made win32 gstconfig.h. Fixes #366321.
6021
6022 2006-10-27  Wim Taymans  <wim@fluendo.com>
6023
6024         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
6025         (gst_ghost_pad_new_full):
6026         Make acceptcaps return TRUE when we don't have a target, just like
6027         setcaps does.
6028
6029 2006-10-27  Wim Taymans  <wim@fluendo.com>
6030
6031         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6032         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6033
6034 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6035
6036         * gst/gststructure.c: (gst_structure_id_set_value):
6037           If someone tries to set a non-UTF8 string field on a structure,
6038           don't just print a warning, but also ignore the request and do
6039           not change/add that field to the structure.
6040
6041         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6042           Test for the above.
6043
6044 2006-10-25  David Schleef  <ds@schleef.org>
6045
6046         * gst/gstinfo.c:
6047           g_hash_table_insert() needs a cast to a non-const pointer duh.
6048
6049 2006-10-25  David Schleef  <ds@schleef.org>
6050
6051         * gst/gstinfo.c:
6052         * gst/gstinfo.h:
6053           Change name parameter of _gst_debug_register_funcptr to const
6054           to reflect the constness of its use in the function as well
6055           as to quiet a gcc warning.
6056
6057 2006-10-25  Edward Hervey  <edward@fluendo.com>
6058
6059         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6060         Don't push the buffer if it's empty.
6061         Closes #363095
6062
6063 2006-10-24  Wim Taymans  <wim@fluendo.com>
6064
6065         * gst/gstevent.h:
6066         Add small comment.
6067
6068         * libs/gst/base/gstbasetransform.c:
6069         (gst_base_transform_sink_eventfunc):
6070         Debug segment values *after* updating them as this is more
6071         interesting.
6072
6073 2006-10-23  Wim Taymans  <wim@fluendo.com>
6074
6075         * docs/design/part-events.txt:
6076         Update some docs.
6077
6078         * docs/design/part-block.txt:
6079         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6080         (gst_pad_push_event):
6081         Revert BLOCKING patch, it tries to be smart without really having a
6082         clear idea what or how. So, now we discard all FLUSHING events again on
6083         a blocking pad. Should fix gnonlin again.
6084
6085 2006-10-23  Wim Taymans  <wim@fluendo.com>
6086
6087         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6088
6089         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6090         (gst_base_src_start), (gst_base_src_activate_push):
6091         Make sure size is always initialized. Fixes #364388.
6092
6093 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
6094
6095         * docs/random/ensonic/distributed.txt:
6096           add some ideas about doing distributed processing
6097
6098         * docs/random/ensonic/profiling.txt:
6099           get_rusage look promising
6100
6101 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6102
6103         * docs/manual/basics-helloworld.xml:
6104           Add a cast in example to fix compile warning
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         Relax arg checking again, -1 is allowed.
6111
6112 2006-10-18  Wim Taymans  <wim@fluendo.com>
6113
6114         * gst/gstsegment.c: (gst_segment_set_last_stop),
6115         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6116         _set_last_stop() must be with a value != -1
6117         A _TYPE_SET to -1 means seek to 0.
6118         Calc last_stop correctly for negative rates.
6119         Make sure we work with positive durations when updating a segment.
6120
6121 2006-10-18  Wim Taymans  <wim@fluendo.com>
6122
6123         * docs/design/part-live-source.txt:
6124         * gst/gstclock.h:
6125         Small docs fixes.
6126
6127 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
6128
6129         * gst/gstbuffer.h:
6130           Add an explicit cast to GstBuffer** to keep old code that added an
6131           explicit cast to GstMiniObject** for gst_mini_object_replace()
6132           compiling without warning.
6133
6134 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6135
6136         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6137           check for validity of dates
6138
6139 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6140
6141         * docs/gst/gstreamer-sections.txt:
6142           Forgot this one, makes gtk-doc shut up.
6143
6144 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6145
6146         Patch by: Peter Kjellerstedt <pkj at axis com>
6147
6148         * gst/gstobject.h:
6149           Don't define xmlNodePtr to gpointer if the core was built with
6150           --disable-loadsave and --disable-registry, this will break
6151           applications that want to use libxml2 but are buildling against a
6152           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6153           instead so we don't have to mess with the libxml2 namespace
6154           (#361675).
6155
6156 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6157
6158         * gst/gstbuffer.h:
6159           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6160           type-punned pointer warnings.
6161
6162 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6163
6164         * gst/gstelement.h:
6165           Add casts to the correct return type to state <=> state transition
6166           macros.
6167
6168 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
6169
6170         * docs/design/part-live-source.txt:
6171           describe howto handle latency
6172         
6173         * docs/random/ensonic/profiling.txt:
6174           more ideas
6175
6176         * tools/gst-plot-timeline.py:
6177           fix log parsing for solaris, remove unused function
6178
6179 2006-10-16  Wim Taymans  <wim@fluendo.com>
6180
6181         * docs/design/part-trickmodes.txt:
6182         * gst/gstevent.c:
6183         Update some docs regarding reverse playback.
6184
6185 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6186
6187         Patch by: Marcus Granado  <mrc dot gran at gmail com>
6188
6189         * win32/vs8/grammar.vcproj:
6190           Error out with a warning if glib-genmarshal.exe is not in path,
6191           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6192
6193 2006-10-13  Wim Taymans  <wim@fluendo.com>
6194
6195         * gst/gstsegment.c: (gst_segment_set_seek):
6196         When seeking to stop -1, set last_stop (current position) to the
6197         duration of the segment.
6198
6199 2006-10-13  Wim Taymans  <wim@fluendo.com>
6200
6201         * gst/gstelement.h:
6202         Clarify _NO_PREROLL a bit more.
6203
6204         * gst/gstevent.c:
6205         Fix docs.
6206
6207         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6208         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6209         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6210         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6211         due to wrong locking order. Fixes #361769.
6212         Remove some redundant/misplaced checks in pad_block.
6213
6214         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6215         For negative rates, count backwards from the duration.
6216
6217 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6218
6219         * gst/gsterror.c: (_gst_library_errors_init):
6220           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6221           up with something better).
6222
6223 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6224
6225         * win32/vs6/libgstreamer.dsp:
6226         * win32/vs7/libgstreamer.vcproj:
6227         * win32/vs8/libgstreamer.vcproj:
6228           Don't reference glib-compat.c which is currently not used and not
6229           disted; add gstquark.c which was recently added. Fixes #361730.
6230
6231 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6232
6233         * win32/common/libgstbase.def:
6234         * win32/common/libgstcontroller.def:
6235         * win32/common/libgstreamer.def:
6236           Add gst_caps_merge() and a bunch of other recently-added functions.
6237           Fixes #361732.
6238
6239 2006-10-11  Wim Taymans  <wim@fluendo.com>
6240
6241         * docs/plugins/gstreamer-plugins.args:
6242         * docs/plugins/inspect/plugin-coreelements.xml:
6243         * docs/plugins/inspect/plugin-coreindexers.xml:
6244         Update element args.
6245
6246         * gst/gstsystemclock.c:
6247         Small comment update.
6248
6249         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6250         (gst_tee_request_new_pad), (gst_tee_release_pad),
6251         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6252         (gst_tee_sink_activate_pull):
6253         * plugins/elements/gsttee.h:
6254         Some tee loving:
6255         Add default property defines.
6256         Implement release pad function.
6257         Give properties better blubs etc.
6258         Activate pads before adding them to a running tee.
6259         Do simple buffer_alloc on the first requested pad.
6260         Post error when activation fails.
6261
6262 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6263
6264         * gst/gst.c: (ensure_current_registry_forking):
6265           Check return value of write() to make compiler happy.
6266
6267 2006-10-11  Wim Taymans  <wim@fluendo.com>
6268
6269         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6270
6271         * plugins/elements/gstqueue.c: (gst_queue_chain):
6272         Recheck queue filledness after signalling the overrun when we're about
6273         to leak downstream because we released the lock when emitting the signal
6274         and the queue could be empty again. Fixes #352345.
6275
6276 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6277
6278         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6279           Fix refcounting here too, just like we did for _new_valist() a few
6280           days ago (#357180) (thanks to René Stadler). Also remove all those
6281           'Since: 0.9' from the gtk-doc blobs.
6282
6283         * tests/check/libs/controller.c: (controller_refcount_new_list),
6284         (gst_controller_suite):
6285           Unit test for the above.
6286
6287 2006-10-10  Wim Taymans  <wim@fluendo.com>
6288
6289         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6290
6291         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6292         (gst_pad_save_thyself):
6293         Update some docs.
6294         Write pad direction in XML output. Fixes #345496.
6295
6296 2006-10-10  Wim Taymans  <wim@fluendo.com>
6297
6298         Patch by: René Stadler <mail at renestadler dot de>
6299
6300         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6301         (gst_controller_new_list), (_gst_controller_dispose),
6302         (_gst_controller_finalize), (_gst_controller_class_init):
6303         Take ref to controlled object so that it cannot disappear. 
6304         Fixes #357432.
6305
6306 2006-10-10  Wim Taymans  <wim@fluendo.com>
6307
6308         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6309         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6310         (gst_check_teardown_sink_pad):
6311         Activate/deactivate pads in setup/teardown respectively.
6312
6313 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6314
6315         Patch by: Josep Torre Valles <josep@fluendo.com>
6316
6317         * gst/Makefile.am:
6318         Cast values when making gstenumtypes.h.  This pacifies Forte
6319         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6320         in the enumeration.
6321
6322 2006-10-09  Wim Taymans  <wim@fluendo.com>
6323
6324         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6325         Rename some more @cur to @start to fix docs. 
6326
6327         * gst/gstsegment.c: (gst_segment_set_seek):
6328         Fix typo.
6329         time and start must always stay in sync as defined in design doc.
6330
6331         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6332         Rename param to fix docs.
6333
6334         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6335         Check that start and time are in sync.
6336
6337         * tests/check/pipelines/parse-launch.c:
6338         (gst_parse_test_element_change_state):
6339         Activate pad before adding to the element.
6340
6341 2006-10-09  Wim Taymans  <wim@fluendo.com>
6342
6343         * docs/design/part-qos.txt:
6344         Fix typo.
6345
6346         * gst/gstevent.c:
6347         * gst/gstevent.h:
6348         Update seek event docs regarding negative rates.
6349         Rename @cur to @start. 
6350
6351         * gst/gstsegment.c: (gst_segment_set_seek):
6352         * gst/gstsegment.h:
6353         Update set_seek docs regarding negative rates.
6354         Correctly update last_stop to @stop when dealing with negative
6355         rates.
6356         Rename @cur to @start. 
6357
6358         * tests/check/gst/gstpad.c: (GST_START_TEST):
6359         Activate pads before trying to use them.
6360
6361         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6362         (gst_segment_suite):
6363         Add simple check for segments and negative rates.
6364
6365 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6366
6367         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6368         * gst/gsttaglist.h:
6369         * docs/gst/gstreamer-sections.txt:
6370           API: add gst_tag_list_is_empty() (#360467).
6371
6372         * tests/check/gst/gsttag.c: (GST_START_TEST):
6373           And a test case.
6374
6375 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6376
6377         * gst/gstmessage.h:
6378         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6379         a value that doesn't fit on enumeration.
6380
6381 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6382
6383         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6384         Remove local debugging system and use Gstreamer's instead.
6385
6386 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6387
6388         Patch by: Josep Torre Valles <josep@fluendo.com>
6389
6390         * common/m4/gst-error.m4:
6391         Disable warning of statement not reached on Forte.
6392         * gst/gstmessage.h:
6393         Fix warning on Forte (value doesn't fit on enumeration).
6394         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6395         Fix warning on Forte (value doesn't fit on enumeration).
6396         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6397         DEBUG macro says it takes minimum of 2 args and so Forte
6398         complains about the use with just 1 arg.
6399         * plugins/elements/gstfdsink.c:
6400         * plugins/elements/gstfdsrc.c:
6401         * plugins/elements/gstfilesink.c:
6402         * plugins/elements/gstfilesrc.c:
6403         Use correct return type for the uri handler implementations.
6404
6405         All these fix warnings in Forte.  Fixes bug #360860.
6406
6407 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6408
6409         * gst/gstelement.h:
6410           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6411           format string, so don't use G_GNUC_PRINTF for those versions.
6412
6413 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6414
6415         * gst/gsttaglist.c: (gst_is_tag_list):
6416         * gst/gsttaglist.h:
6417           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6418
6419         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6420           Small test for the above.
6421
6422 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6423
6424         * gst/gsttaglist.h:
6425           Less tabs, more spaces.
6426
6427 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
6428
6429         * gst/gstinfo.h:
6430           Those two function declarations do actually belong there, revert
6431           commit from yesterday that turned them intro macros.
6432
6433 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6434
6435         Patch by: Josep Torre Valles <josep@fluendo.com>
6436
6437         * gst/gst.c: (gst_init_get_option_group):
6438         Fix empty declaration and type mismatch.
6439         * gst/gstbin.c: (gst_bin_change_state_func):
6440         Fix type mismatch.
6441         * gst/gstelement.c: (gst_element_continue_state),
6442         (gst_element_set_state_func), (gst_element_change_state),
6443         (gst_element_change_state_func):
6444         Fix type mismatches.
6445         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6446         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6447         Cast as appropriate.
6448         * gst/gstobject.c: (gst_class_signal_connect):
6449         Cast as appropriate.  The function pointer parameter really
6450         has the wrong type but would break API if we change it.
6451         * gst/gstquery.c:
6452         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6453         order of including string.h.
6454         * gst/gstutils.c: (gst_element_state_get_name):
6455         Remove unreachable line.
6456         * gst/gstxml.c: (gst_xml_parse_doc):
6457         Fix type mismatch.
6458         All these caught by Forte.
6459
6460 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6461
6462         Patch by: Josep Torre Valles <josep@fluendo.com>
6463
6464         * common/m4/gst-error.m4:
6465         Fixed bug #360151.
6466         We need to disable warnings on Forte for empty declarations
6467         due to gst-indent adding ;s to lines that just use macros
6468         where the macro actually doesn't need a ; at end to end
6469         statement.
6470
6471 2006-10-06  Wim Taymans  <wim@fluendo.com>
6472
6473         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6474         (gst_file_sink_close_file), (gst_file_sink_event),
6475         (gst_file_sink_render):
6476         Add some FIXME for the NEWSEGMENT handling.
6477
6478 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6479
6480         * gst/parse/grammar.y:
6481         Remove static function gst_parse_element_lock as all it does
6482         is return.  Looks like cruft from 0.8.
6483
6484 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6485
6486         Patch by: Josep Torre Valles <josep@fluendo.com>
6487
6488         * common/m4/gst-error.m4:
6489         * configure.ac:
6490         * libs/gst/net/Makefile.am:
6491         Fix a compilation issue with Forte on Solaris.  inet_aton is in
6492         libresolv.
6493
6494 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6495
6496         * gst/gstpad.c: (pre_activate):
6497         * gst/gstregistry.c: (gst_registry_scan_path_level):
6498         * gst/gstregistryxml.c: (load_plugin):
6499         * libs/gst/controller/gstcontroller.c:
6500         (gst_controlled_property_set_interpolation_mode):
6501         * libs/gst/dataprotocol/dataprotocol.c:
6502         (gst_dp_packet_from_event_1_0):
6503         * libs/gst/net/gstnetclientclock.c:
6504         (gst_net_client_clock_observe_times):
6505         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6506           Printf fixes.
6507
6508 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6509
6510         * configure.ac:
6511         * docs/gst/gstreamer-sections.txt:
6512         * gst/gstconfig.h.in:
6513         * gst/gstelement.h:
6514         * gst/gstinfo.h:
6515           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6516           whether we can use G_GNUC_PRINTF in other header files and at
6517           least check the printf format/arguments of debug messages and
6518           GST_ELEMENT_ERROR messages when the printf extension is not
6519           being used.
6520           Replace more tabs with spaces in gstinfo.h and remove two spurious
6521           function declarations in GST_DISABLE_DEBUG part with macros.
6522
6523 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6524
6525         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6526           More docs for the sync-message signal (mention that it is not
6527           emitted by default); log message structures of messages posted on
6528           the bus as well.
6529
6530 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
6531
6532         * gst/gst.c: (ensure_current_registry_forking):
6533         Use a pipe pair to receive status results from the forked child, and
6534         ignore the result from waitpid. Fixes #355499
6535
6536 2006-10-02  Wim Taymans  <wim@fluendo.com>
6537
6538         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6539         (gst_ghost_pad_suite):
6540         Fix leak in check.
6541
6542 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6543
6544         * gst/gstpad.c:
6545           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6546
6547 2006-10-02  Edward Hervey  <edward@fluendo.com>
6548
6549         * docs/design/part-block.txt:
6550         Further explain the use of flushing on blocked pads.
6551         * docs/gst/gstreamer-sections.txt:
6552         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6553         (gst_pad_push_event):
6554         * gst/gstpad.h:
6555         Added new GstPadFlag : GST_PAD_BLOCKING.
6556         Adds the notion of pads really blocking, which enables to properly
6557         handle FLUSH_START/FLUSH_STOP events on blocked pads.
6558         Fixes #358999
6559         API: gst_pad_is_blocking()
6560         API: GST_PAD_IS_BLOCKING() macro
6561         API: GST_PAD_BLOCKING GstPadFlag
6562         
6563 2006-10-02  Wim Taymans  <wim@fluendo.com>
6564
6565         Patch by: mrcgran <mrc.gran at gmail dot com>
6566
6567         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6568         Filter the proxied caps against the padtemplate if we have one.
6569
6570         * gst/gstquery.c: (gst_query_new_segment):
6571         Add include for gstinfo.h so that compilation with
6572         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6573
6574 2006-10-02  Wim Taymans  <wim@fluendo.com>
6575
6576         Patch by: Alessandro Decina  <alessandro at nnva org>
6577
6578         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6579         (gst_file_sink_set_location), (gst_file_sink_open_file),
6580         (gst_file_sink_close_file), (gst_file_sink_event),
6581         (gst_file_sink_render):
6582         Set file to NULL when closing filesink so that we can set a new filename
6583         in READY. Fixes #358613.
6584
6585 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6586
6587         Patch by: Alessandro Decina  <alessandro at nnva org>
6588
6589         * gst/gstevent.c: (_gst_event_copy):
6590           Fix gst_mini_object_make_writable() and gst_event_copy() for events
6591           with event structures by setting the parent refcount address of the
6592           copied structure to the address of the refcount member of the newly
6593           copied event rather than the address of the refcount member of the
6594           original event. Fixes #358737.
6595
6596         * tests/check/gst/gstevent.c: (GST_START_TEST):
6597           Unit test for the above.
6598
6599 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
6600
6601         * docs/design/Makefile.am:
6602           Dist some more files.
6603
6604 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6605
6606         * tests/check/libs/controller.c: (GST_START_TEST),
6607         (gst_controller_suite):
6608           Add test for the previous fix; add some more tests
6609           for correct refcounting behaviour; fix a few leaks
6610           in test cases; call gst_controller_init() at start
6611           of all tests.
6612
6613 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6614
6615         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6616         (gst_controller_set_from_list):
6617           Don't g_return_val_if_fail() on timed values with invalid timestamps
6618           inside a critical section without unlocking the mutex. Spotted by
6619           René Stadler. (#357617)
6620           Also, fix up refcounting properly: when returning an existing
6621           controller, we should increase the reference only once and not
6622           once per property and when trying to control a property again
6623           we should also increase the refcount.
6624
6625 2006-09-29  Wim Taymans  <wim@fluendo.com>
6626
6627         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6628         * libs/gst/net/gstnettimeprovider.c:
6629         (gst_net_time_provider_thread):
6630         Stop reading commands when EOF as well.
6631
6632         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6633         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6634         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6635         Unify description of the dump property.
6636
6637 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6638
6639         * tests/examples/manual/.cvsignore:
6640         OK, so it's actually cvsignore that needs changing. Stop laughing.
6641
6642 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6643
6644         * tests/examples/manual/Makefile.am:
6645         Gah, declare vars *before* using them
6646
6647 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6648
6649         * gst/gst.c: (init_pre), (scan_and_update_registry),
6650         (ensure_current_registry_nonforking),
6651         (ensure_current_registry_forking), (ensure_current_registry),
6652         (init_post), (gst_debug_help), (gst_deinit):
6653         * gst/gst_private.h:
6654         * gst/gstregistry.c: (gst_registry_finalize),
6655         (gst_registry_remove_features_for_plugin_unlocked),
6656         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6657         (gst_registry_scan_path),
6658         (_priv_gst_registry_remove_cache_plugins),
6659         (_priv_gst_registry_cleanup):
6660         * gst/gstregistry.h:
6661         Re-commit the registry changes, along with an extra fix:
6662           When a cached plugin is encountered at a different file path,
6663           update the stored path in the registry cache so that the parent
6664           process knows where it actually is now when it re-reads the registry
6665           cache. Fixes the thing that broke distcheck with the previous commit.
6666
6667         * tests/check/Makefile.am:
6668         Clean up files named 'core' too when running make clean.
6669
6670         * tests/examples/manual/Makefile.am:
6671         Set up a registry path for running these tests, and clean it properly
6672         for distcheck.
6673
6674 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6675
6676         * configure.ac:
6677         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6678         want gmodule-no-export-2.0.pc instead so that we don't drag in
6679         --export-dynamic on every project that links to GStreamer.
6680
6681         Also, make our export regex only match the start of symbols, rather 
6682         than any symbol that contains '_gst' somewhere.
6683
6684         * libs/gst/check/Makefile.am:
6685         The libgstcheck we build does however need export-dynamic, as it
6686         produces some symbols that don't match our _gst... style regex.
6687         Fixes: #318031
6688
6689 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6690
6691         * gst/gst.c: (init_pre), (scan_and_update_registry),
6692         (ensure_current_registry_nonforking),
6693         (ensure_current_registry_forking), (ensure_current_registry),
6694         (init_post), (gst_debug_help), (gst_deinit):
6695         * gst/gst_private.h:
6696         * gst/gstregistry.c: (gst_registry_finalize),
6697         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6698         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6699         (_gst_registry_cleanup):
6700         * gst/gstregistry.h:
6701           Revert previous change until I figure out why it breaks distcheck.
6702
6703 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6704
6705         * gst/gst.c: (init_pre), (scan_and_update_registry),
6706         (ensure_current_registry_nonforking),
6707         (ensure_current_registry_forking), (ensure_current_registry),
6708         (init_post), (gst_debug_help), (gst_deinit):
6709
6710           Make init_pre and init_post take the full complement of GOptionFunc
6711           args so they can return useful GErrors. Make the registry updating
6712           functions do so.
6713
6714           Call _priv_gst_registry_remove_cache_plugins after scanning files to
6715           ensure that the registry we're about to write out doesn't contain
6716           stale information about old-deleted plugin files.
6717
6718           Make _priv_gst_registry_remove_cache_plugins return a boolean so
6719           that deletion of plugin files is considered a registry change.
6720
6721         * gst/gst_private.h:
6722         * gst/gstregistry.c: (gst_registry_finalize),
6723         (gst_registry_remove_features_for_plugin_unlocked),
6724         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6725         (gst_registry_scan_path),
6726         (_priv_gst_registry_remove_cache_plugins),
6727         (_priv_gst_registry_cleanup):
6728         * gst/gstregistry.h:
6729         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6730         by adding _priv prefix, so that they won't appear in the global
6731         symbol table. They still do atm though because of #318031. Move the
6732         prototypes to gst_private.h
6733
6734         When removing a plugin, remove all features for that plugin too. 
6735         Fixes #340878.
6736
6737 2006-09-27  Wim Taymans  <wim@fluendo.com>
6738
6739         * docs/random/moving-plugins:
6740         Make it clear that the "compiled-in descriptions" really mean
6741         the element details.
6742
6743         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6744         (gst_base_sink_wait_preroll):
6745         Update docs.
6746
6747         * docs/libs/gstreamer-libs-sections.txt:
6748         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6749         (gst_base_src_get_range), (gst_base_src_activate_push):
6750         * libs/gst/base/gstbasesrc.h:
6751         Added function to block while waiting for PLAYING, this function
6752         is used by live sources that block on the clock.
6753         API: gst_base_src_wait_playing()
6754
6755 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6756
6757         Patch by: Peter Kjellerstedt <pkj at axis com>
6758
6759         * Makefile.am:
6760           gst-element-check.m4 is generated and should therefore be
6761           copied from the build dir rather than the source dir (#357593).
6762           'make distcheck' hasn't noticed this because we were disting
6763           the file as well, so stop doing that.
6764
6765 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6766
6767         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6768           Add some tests for gst_caps_intersect().
6769
6770         * tools/gst-launch.c: (event_loop):
6771           Print all buffering percentages we get, even the 100% one.
6772
6773 2006-09-26  Wim Taymans  <wim@fluendo.com>
6774
6775         * tools/gst-inspect.c: (print_element_properties_info),
6776         (print_signal_info):
6777         Fix printing of flags to match the look of enums.
6778
6779 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6780
6781         * gst/gstelementfactory.c:
6782           Fix typo in docs blurb.
6783
6784 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6785
6786         * gst/gsturi.c: (search_by_entry):
6787           Don't assert/crash here if a uri handler doesn't return any
6788           supported protocols. The list of protocols could be generated
6789           dynamically at runtime or at plugin registration, and an error
6790           in the underlying library shouldn't be fatal (#353301).
6791
6792 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6793
6794         * gst/gstinfo.c:
6795           Fix warning if HAVE_PRINTF_EXTENSION is undefined
6796           (spotted by Peter Kjellerstedt).
6797
6798 2006-09-23  Wim Taymans  <wim@fluendo.com>
6799
6800         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6801
6802         * libs/gst/base/gstbasesrc.c:
6803         (gst_base_src_default_check_get_range), (gst_base_src_start),
6804         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6805         (gst_base_src_change_state):
6806         Match _start/_stop calls in the activate functions. Remove redundant
6807         _stop call from the state change function. Fixes #356910.
6808         Turn failure DEBUG into ERROR. 
6809
6810 2006-09-22  Wim Taymans  <wim@fluendo.com>
6811
6812         * docs/design/part-buffering.txt:
6813         * gst/gstmessage.c: (gst_message_new_buffering),
6814         (gst_message_parse_buffering):
6815         Update docs about buffering.
6816
6817         * docs/design/part-trickmodes.txt:
6818         Fix typo.
6819
6820 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
6821
6822         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6823         (gst_controller_new_list):
6824           Ref instances when returning them again (fixes #357180)
6825
6826 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6827
6828         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6829           Don't forget to release proxy lock when there's an error.
6830
6831 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
6832
6833         * gst/gstcaps.h:
6834           Add extra initialisers for Caps things, to fix some plugin warnings
6835           when using -Wextra
6836
6837 2006-09-18  Wim Taymans  <wim@fluendo.com>
6838
6839         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6840           Also set template on the internal pad so that a getcaps from the 
6841           target pad returns the template caps.
6842
6843 2006-09-18  Wim Taymans  <wim@fluendo.com>
6844
6845         * gst/gstelement.c: (gst_element_post_message),
6846         (gst_element_dispose):
6847         Use _DEBUG_OBJECT some more.
6848
6849         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6850         Avoid typechecks.
6851
6852         * tools/gst-launch.c: (main):
6853         If the toplevel element is not a GstPipeline, it must be put in a
6854         pipeline so that a bus and clock is selected.
6855
6856 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6857
6858         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6859           JITTER, RATE, and LATENCY query should be handled by the
6860           default case and not by the CONVERT query code.
6861
6862 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6863
6864         * gst/gstformat.c: (gst_format_register):
6865           Fix locking order (must take lock before using n_values).
6866
6867         * gst/gstvalue.c: (gst_value_serialize_enum),
6868         (gst_value_deserialize_enum_iter_cmp),
6869         (gst_value_deserialize_enum):
6870           Fix serialisation/deserialisation of custom registered GstFormats.
6871
6872         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6873           Unit test for custom format serialisation/deserialisation.
6874
6875 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
6876
6877         * docs/pwg/building-boiler.xml:
6878         * plugins/elements/gstcapsfilter.c:
6879         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6880         section.
6881
6882 2006-09-16  Edward Hervey  <edward@fluendo.com>
6883
6884         * libs/gst/base/gstbasetransform.c:
6885         (gst_base_transform_buffer_alloc):
6886         Check if requested caps are the same as the sinks caps IF
6887         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6888         is FALSE.
6889         This fixes the renegotiation issues stated in #352827.
6890
6891 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6892
6893         * configure.ac:
6894         * docs/manual/advanced-autoplugging.xml:
6895         * tests/examples/Makefile.am:
6896         * tests/examples/manual/.cvsignore:
6897         * tests/examples/manual/Makefile.am:
6898         * tests/examples/manual/extract.pl:
6899           Extract the manual examples again like we used to do.
6900           Fix one of them.
6901
6902 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6903
6904         * win32/common/config.h:
6905           update for version
6906
6907 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
6908
6909         * gst/gsterror.c:
6910           Documents how to receive errors.
6911
6912 2006-09-15  Wim Taymans  <wim@fluendo.com>
6913
6914         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6915         (event_loop), (main):
6916         Added some comments here and there.
6917         Post an application message when an interrupt is caught instead of doing
6918         an uncontrolled state change.
6919         Clean up the event loop.
6920         Handle buffering messages, pause/resume the pipeline.
6921         Make shutdown because of an interrupt more reliable.
6922
6923 2006-09-15  Wim Taymans  <wim@fluendo.com>
6924
6925         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6926         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6927         (gst_base_sink_preroll_object):
6928         Make sure that our internal state is correct when we commit our state
6929         asynchronously. This solves a race where a state change to PLAYING
6930         could cause the sink to remain blocked in preroll in some situations.
6931
6932 2006-09-15  Wim Taymans  <wim@fluendo.com>
6933
6934         * tools/gst-inspect.c: (print_element_properties_info),
6935         (print_signal_info):
6936         List flags as hex so it's easier to deal with.
6937
6938 2006-09-15  Wim Taymans  <wim@fluendo.com>
6939
6940         * docs/libs/gstreamer-libs-sections.txt:
6941         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6942         (gst_base_sink_do_sync):
6943         * libs/gst/base/gstbasesink.h:
6944         Expose logic to wait for preroll so that subclasses such as audiosink
6945         can also use this method.
6946         API: gst_base_sink_wait_preroll()
6947
6948 2006-09-15  Wim Taymans  <wim@fluendo.com>
6949
6950         * gst/gstobject.c: (gst_object_set_parent):
6951         * gst/gstpipeline.c: (do_pipeline_seek):
6952         Small cleanups in docs and code.
6953
6954         * gst/gstsegment.c: (gst_segment_clip):
6955         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6956         if stop == start and start is in the segment, no clipping should be
6957         done. Also add a test for this.
6958
6959 2006-09-15  Wim Taymans  <wim@fluendo.com>
6960
6961         * docs/design/part-buffering.txt:
6962         * docs/gst/gstreamer-sections.txt:
6963         * gst/gstmessage.c: (gst_message_new_buffering),
6964         (gst_message_parse_buffering):
6965         * gst/gstmessage.h:
6966         Added methods to create and parse BUFFERING messages.
6967         Added preliminary docs about buffering.
6968         API: gst_message_new_buffering
6969         API: gst_message_parse_buffering
6970
6971 2006-09-06  Wim Taymans  <wim@fluendo.com>
6972
6973         * gst/gstbin.c:
6974         Update documentation.
6975
6976         * gst/gstelement.c: (gst_element_class_init),
6977         (gst_element_release_request_pad), (gst_element_set_clock),
6978         (gst_element_get_index), (gst_element_add_pad),
6979         (gst_element_remove_pad), (gst_element_get_random_pad),
6980         (gst_element_send_event), (gst_element_get_query_types),
6981         (gst_element_query), (gst_element_post_message),
6982         (gst_element_message_full), (gst_element_continue_state),
6983         (gst_element_lost_state), (gst_element_save_thyself),
6984         (gst_element_restore_thyself):
6985         Documentation updates.
6986         Rename last bit of the new-pad -> pad-added signal rename.
6987         Fix the case where an element query would only work if the source
6988         pad was linked.
6989         Avoid some useless type checking in message handling.
6990
6991         * gst/gstevent.c:
6992         * gst/gstevent.h:
6993         * gst/gstutils.c:
6994         Documentation updates.
6995
6996 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6997
6998         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6999           add an INFO line for when we actually update the fd
7000
7001 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7002
7003         * configure.ac:
7004           back to TRUNK
7005
7006 === release 0.10.10 ===
7007
7008 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
7009
7010         * configure.ac:
7011           releasing 0.10.10, "Pais"
7012
7013 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
7014
7015         * docs/manual/advanced-position.xml:
7016           Fix typo in sample code.
7017
7018 2006-09-05  Wim Taymans  <wim@fluendo.com>
7019
7020         * libs/gst/net/gstnetclientclock.c: (inet_aton),
7021         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7022         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
7023         * libs/gst/net/gstnetclientclock.h:
7024         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7025         * libs/gst/net/gstnettimepacket.h:
7026         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7027         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7028         (gst_net_time_provider_thread), (gst_net_time_provider_new):
7029         * libs/gst/net/gstnettimeprovider.h:
7030         Make stuff compile on windows. Fixes #345295.
7031
7032 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7033
7034         * gst/gst.c: (ensure_current_registry_forking):
7035           Print better details when child was terminated by signal.
7036
7037 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7038
7039         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7040           Print a warning rather than g_assert() if a plugin feature
7041           is a URI handler but returns no protocols (#353976).
7042
7043 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
7044
7045         * docs/random/moving-plugins:
7046         Fix two typos.         
7047
7048 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7049
7050         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7051           Fix locking order, handle NULL function values properly.
7052
7053         * gst/gstinfo.h:
7054           Fix docs.
7055
7056         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7057           Initialise variable before using it and fix debug statement to
7058           print the address of the function rather than the address of the
7059           variable on the stack holding the address of the function.
7060
7061 2006-09-01  Wim Taymans  <wim@fluendo.com>
7062
7063         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7064         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7065         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7066         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7067         (gst_ghost_pad_parent_unset),
7068         (gst_ghost_pad_internal_do_activate_push),
7069         (gst_ghost_pad_internal_do_activate_pull),
7070         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7071         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7072         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7073         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7074         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7075         (gst_ghost_pad_new_no_target_from_template),
7076         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7077         More cleanups.
7078         Avoid needless typechecking in macros.
7079         Since the internal pad is always present and never changes, there is
7080         no need to locking or ref when retrieving it.
7081         Improve debugging a bit.
7082         Handle link errors when setting the target. Fixes #341029.
7083
7084 2006-09-01  Wim Taymans  <wim@fluendo.com>
7085
7086         * docs/libs/gstreamer-libs-sections.txt:
7087         * docs/plugins/gstreamer-plugins-sections.txt:
7088         Fix docs some more.
7089
7090         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7091         (gst_collect_pads_event):
7092         * libs/gst/base/gstcollectpads.h:
7093         Documentation updates.
7094         Free queued buffer when removing a pad.
7095
7096 2006-08-31  Michael Smith  <msmith@fluendo.com>
7097
7098         * gst/gstutils.c: (gst_element_link_pads),
7099         (gst_element_link_pads_filtered):
7100           Ensure that we set a capsfilter to NULL if we failed to link it
7101           when doing filtered linking, to avoid criticals.
7102
7103           No need to check for unreffing srcpad, which is explicly NULLed
7104           above (a trivial code cleanup).
7105
7106 2006-08-31  Wim Taymans  <wim@fluendo.com>
7107
7108         * docs/design/part-gstghostpad.txt:
7109         Update ascii art in documentation.
7110
7111         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7112         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7113         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7114         (gst_ghost_pad_internal_do_activate_push),
7115         (gst_ghost_pad_internal_do_activate_pull),
7116         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7117         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7118         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7119         (gst_ghost_pad_set_target):
7120         Small cleanups and leak fixes.
7121         Remove some checks now that the internal pad is never NULL.
7122         Fix the case where linking pads without a target would create nasty
7123         criticals. Fixes #341029.
7124         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7125         value of _set_target().
7126
7127         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7128         (gst_ghost_pad_suite):
7129         Some more tests for creating and linking untargeted ghostpads.
7130
7131 2006-08-31  Edward Hervey  <edward@fluendo.com>
7132
7133         * docs/gst/gstreamer-sections.txt:
7134         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7135         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7136         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7137         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7138         (gst_ghost_pad_new_from_template),
7139         (gst_ghost_pad_new_no_target_from_template):
7140         * gst/gstghostpad.h:
7141         Refactored *_new() functions.
7142         Templates are now used as a g_object_new() parameter.
7143         Use template in _do_getcaps() if we don't have a target.
7144         Small documentation cleanups.
7145         Added two new constructors:
7146         gst_ghost_pad_new_from_template()
7147         gst_ghost_pad_new_no_target_from_template()
7148         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7149         (gst_ghost_pad_suite):
7150         Added tests for new ghostpad instanciation functions.
7151
7152         API additions: gst_ghost_pad_new_from_template,
7153         gst_ghost_pad_new_no_target_from_template
7154
7155 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
7156
7157         * docs/random/ensonic/profiling.txt:
7158           Ideas about qos profiling.
7159
7160 2006-08-29  Wim Taymans  <wim@fluendo.com>
7161
7162         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7163         Code cleanups.
7164         Fix memleak.
7165
7166 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
7167
7168         * gst/gstxml.c:
7169           Improve and detypofy docs.
7170
7171         * tests/check/Makefile.am:
7172         * tests/check/gst/.cvsignore:
7173         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7174           Add a basic test suite for GstXML.
7175
7176 2006-08-29  Wim Taymans  <wim@fluendo.com>
7177
7178         * gst/gstelement.c: (activate_pads), (clear_caps),
7179         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7180         Clear the pad caps when the element shut down all of the pads and
7181         is not streaming data that could modify the caps. 
7182         Fixes #352958.
7183
7184 2006-08-28  Michael Smith  <msmith@fluendo.com>
7185
7186         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7187           Revert previous change; I misunderstood single-segment mode.
7188
7189 2006-08-28  Michael Smith  <msmith@fluendo.com>
7190
7191         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7192           Unset DISCONT on buffers when using single-segment mode.
7193
7194 2006-08-28  Wim Taymans  <wim@fluendo.com>
7195
7196         * gst/gstcaps.c: (gst_caps_merge_structure):
7197         * gst/gstcaps.h:
7198         Fix docs and indentation again.
7199
7200         * tests/check/gst/gstquery.c: (GST_START_TEST):
7201         Fix leak in tests and add some more tests.
7202
7203 2006-08-28  Edward Hervey  <edward@fluendo.com>
7204
7205         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7206         Inform GstSegment of the last stop position in order for the current
7207         segment to have a proper duration if it doesn't have a specific stop
7208         position from which a duration could be calculated.
7209         This bug was noticeable when a non-flushing, non-update new segment was
7210         followed by another segment (all buffers from the new segment were being
7211         dropped).
7212
7213 2006-08-28  Wim Taymans  <wim@fluendo.com>
7214
7215         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7216         Small comment update.
7217
7218         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7219         (gst_identity_transform_ip):
7220         Drop-probability is broken, mention this in the code with a 
7221         FIXME and also in the property description.
7222         Make silent also be silent about the drop messages.
7223
7224 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
7225
7226         * docs/manual/appendix-win32.xml:
7227           Remove mention of popt, we don't depend on that any
7228           longer (#353136). Add some comments pointing out that
7229           this section is slightly outdated.
7230
7231 2006-08-28  Wim Taymans  <wim@fluendo.com>
7232
7233         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7234
7235         * gst/gstquery.c: (gst_query_new_segment):
7236         * tests/check/gst/gstquery.c: (GST_START_TEST):
7237         Initialize variables when creating a new segment query.
7238         Fixes #353121.
7239
7240 2006-08-28  Wim Taymans  <wim@fluendo.com>
7241
7242         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7243
7244         * gst/gstelement.c: (gst_element_get_bus):
7245         * tests/check/gst/gstelement.c: (GST_START_TEST):
7246         Check for NULL before _reffing the bus. Fixes #353122.
7247
7248 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
7249
7250         * docs/manual/basics-bus.xml:
7251           Docs update: fix wrong callback return value explanation; add
7252           some lines about the implicit relationship between main loop
7253           and main context; remove duplicate main loop variable declaration.
7254
7255 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
7256
7257         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7258           Don't leak caps in unit test; add a few more simple
7259           checks. 
7260
7261 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
7262
7263         * docs/gst/gstreamer-sections.txt:
7264         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7265         (gst_caps_structure_is_subset), (gst_caps_merge),
7266         (gst_caps_merge_structure):
7267         * gst/gstcaps.h:
7268         * libs/gst/base/gstbasetransform.c:
7269         (gst_base_transform_transform_caps):
7270         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7271           implement caps merging (fixes #352580)
7272
7273 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
7274
7275         * tools/Makefile.am:
7276         * tools/gst-plot-timeline.py:
7277           add debug-log plotting developer tool (#340674)
7278
7279 2006-08-23  Wim Taymans  <wim@fluendo.com>
7280
7281         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7282         (gst_pad_stop_task):
7283         Improve debugging for task functions.
7284
7285         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7286         (gst_task_start), (gst_task_pause), (gst_task_join):
7287         Make sure that the task function started and finished after a 
7288         join(). 
7289         Don't try to push the task function on the threadpool multiple
7290         times.
7291         Improve the g_warning message with some useful suggestions
7292         about how to fix the problem. 
7293
7294 2006-08-23  Wim Taymans  <wim@fluendo.com>
7295
7296         * gst/gstutils.c: (gst_pad_proxy_getcaps):
7297         Handle RESYNC correctly in _proxy_getcaps.
7298
7299 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
7300
7301         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7302         (gst_xml_parse_memory), (gst_xml_get_element):
7303           Chain up to parent class in dispose function and also
7304           unref the elements in the toplevel_elements GList.
7305           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7306           Always return a reference in gst_xml_get_element() rather
7307           than only sometimes.
7308
7309         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7310           Don't leak GstXml object.
7311
7312 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
7313
7314         * docs/gst/gstreamer-sections.txt:
7315         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7316         (gst_caps_merge):
7317         * gst/gstcaps.h:
7318         * libs/gst/base/gstbasetransform.c:
7319         (gst_base_transform_transform_caps):
7320           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7321           in a better way
7322
7323 2006-08-21  Edward Hervey  <edward@fluendo.com>
7324
7325         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7326         Implement GObject::dispose virtual method in GstXML so we can free the
7327         top_elements GList.
7328
7329 2006-08-21  Wim Taymans  <wim@fluendo.com>
7330
7331         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7332         (gst_buffer_create_sub):
7333         Copy duration/offset_end/caps when creating a subbuffer of the
7334         complete parent.
7335         Make the subbuffer read-only when we make the metadata writable for
7336         now. Fixes #351768.
7337
7338         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7339         Added check for metadata copy when creating subbuffers.
7340
7341 2006-08-21  Edward Hervey  <edward@fluendo.com>
7342
7343         * libs/gst/base/gstbasetransform.c:
7344         (gst_base_transform_buffer_alloc):
7345         Only call downstream buffer_alloc if transform element is passthrough
7346         or always_in_place. Closes #350449.
7347
7348 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7349
7350         * ChangeLog:
7351           ChangeLog surgery to add comments to previous changes
7352
7353 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7354
7355         * gst/gst.c:
7356           Add comments
7357
7358         * gst/gstpad.c: (gst_pad_set_active):
7359           Be more verbose in the log
7360
7361         * libs/gst/base/gstbasetransform.c:
7362         (gst_base_transform_transform_caps):
7363           Simplify caps to get rid of duplicates, fixes #345444
7364
7365 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7366
7367         * gst/gstvalue.c:
7368         * gst/gstvalue.h:
7369           Use these optimizations only internally.
7370
7371 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7372
7373         * gst/gstvalue.c: (gst_value_compare_list),
7374         (gst_value_compare_fraction_range),
7375         (gst_value_intersect_fraction_fraction_range),
7376         (gst_value_intersect_fraction_range_fraction_range),
7377         (gst_value_subtract_fraction_fraction_range),
7378         (gst_value_subtract_fraction_range_fraction_range),
7379         (gst_value_get_compare_func), (gst_value_compare),
7380         (gst_value_compare_with_func):
7381         * gst/gstvalue.h:
7382           Saves the expensive lookup of the compare function in many cases
7383          (#345444)
7384
7385 2006-08-18  Edward Hervey  <edward@fluendo.com>
7386
7387         * tests/check/gst/gstinfo.c: (gst_info_suite):
7388         Disable test that require gstdebug if it wasn't built in core.
7389
7390 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7391
7392         * docs/random/ensonic/logging.txt:
7393           update ideas
7394           
7395         * gst/gstinfo.c: (gst_debug_log_default):
7396           reorder fields, save some columns, add optional color codes for log
7397           levels
7398
7399 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7400
7401         * docs/random/ensonic/logging.txt:
7402           add ideas about making the logs a bit more useful
7403
7404 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7405
7406         * docs/pwg/advanced-events.xml:
7407         * docs/pwg/titlepage.xml:
7408           Update for 0.10 API (#340627). Add myself
7409           to authors list.
7410
7411 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7412
7413         * docs/libs/gstreamer-libs-docs.sgml:
7414         * docs/libs/gstreamer-libs-sections.txt:
7415         * libs/gst/check/gstbufferstraw.c:
7416           Make gstcheck stuff show up in docs (still needs to
7417           be documented properly though).
7418
7419 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7420
7421         * docs/gst/gstreamer-sections.txt:
7422         * gst/Makefile.am:
7423         * gst/gst.c: (init_post):
7424         * gst/gst_private.h:
7425         * gst/gstquark.c: (_priv_gst_quarks_initialize):
7426         * gst/gstquark.h:
7427         * gst/gstquery.c: (gst_query_new_position),
7428         (gst_query_set_position), (gst_query_parse_position),
7429         (gst_query_new_duration), (gst_query_set_duration),
7430         (gst_query_parse_duration), (gst_query_new_convert),
7431         (gst_query_set_convert), (gst_query_parse_convert),
7432         (gst_query_new_segment), (gst_query_set_segment),
7433         (gst_query_parse_segment), (gst_query_new_seeking),
7434         (gst_query_set_seeking), (gst_query_parse_seeking):
7435         Add internal helpers for pre-registering quarks from static strings
7436         and using the quark values directly instead of looking them up when
7437         creating and parsing queries. Can be used for event construction too.
7438         Closes #350432.
7439
7440 2006-08-16  Wim Taymans  <wim@fluendo.com>
7441
7442         * gst/gstbin.c:
7443         Fix bogus docs.
7444
7445 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7446
7447         * gst/gstutils.c: (gst_util_set_value_from_string):
7448           Fix memleak (#351502).
7449
7450         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7451           Add unit test for most of gst_util_set_value_from_string()
7452           (not that one would want to encourage use of this function).
7453
7454 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7455
7456         * libs/gst/check/gstcheck.h:
7457           Use const gchar * variables in fail_unless_equals_string
7458           macro to avoid compiler warnings (and don't use tabs for
7459           indenting).
7460
7461 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7462
7463         * tools/gst-launch.c: (print_tag):
7464           More space on the left for the tag names, to cater
7465           for the 'extended comment' tag (not touching the
7466           string for the first line since it's translated).
7467
7468 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7469
7470         * libs/gst/check/gstcheck.h:
7471           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7472           print something when they fail.
7473
7474 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7475
7476         * docs/gst/gstreamer-sections.txt:
7477         * gst/gsttaglist.c: (_gst_tag_initialize):
7478         * gst/gsttaglist.h:
7479           API: add GST_TAG_EXTENDED_COMMENT (#350935).
7480           Also change merge function for GST_TAG_COMMENT to
7481           use_first.
7482
7483 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7484
7485         * gst/gstinfo.c: (gst_debug_print_object):
7486           Make GST_PTR_FORMAT print messages as well.
7487
7488         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7489         (GST_START_TEST), (gst_info_suite):
7490           More tests.
7491
7492 2006-08-14  Edward Hervey  <edward@fluendo.com>
7493
7494         * gst/gstelementfactory.c: (gst_element_register):
7495         If the GstElementClass doesn't have a GstElementDetails with all fields
7496         filled up correctly (longname, description AND author), then error out
7497         nicely instead of crashing.
7498
7499 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7500
7501         * gst/gststructure.c:
7502           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7503
7504         * gst/gstvalue.h:
7505           Expand on the difference between arrays and lists as we use them.
7506           
7507 2006-08-14  Wim Taymans  <wim@fluendo.com>
7508
7509         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7510         If the parent state change function failed, don't assume we can safely
7511         stop the source, this will be done when the pads are deactivated.
7512
7513 2006-08-14  Wim Taymans  <wim@fluendo.com>
7514
7515         * gst/gstbuffer.c:
7516         * gst/gsttask.c: (gst_task_join):
7517         Small doc updates.
7518
7519         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7520         (gst_pad_stop_task):
7521         When pad (de)activation failed for some reason, restore the old
7522         activation mode and set the pad to flushing instead of assuming the
7523         pad is deactivated.
7524         If the _task_join() failed, reinstall the task on the pad so that it can
7525         be stopped later and return an error.
7526
7527 2006-08-11  Andy Wingo  <wingo@pobox.com>
7528
7529         * configure.ac:
7530         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7531         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7532         is only for users of API that don't want to see deprecated
7533         functions in the headers; people that want to compile out
7534         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7535         CFLAGS. Fixes the build of multifdsink, or will soon..
7536
7537 2006-08-11  Wim Taymans  <wim@fluendo.com>
7538
7539         * docs/gst/gstreamer-sections.txt:
7540         Add GstClockClass vmethod docs.
7541
7542         * gst/gstcaps.h:
7543         Mark #endif with comment for associated #if
7544
7545         * gst/gstclock.c: (gst_clock_id_wait):
7546         * gst/gstclock.h:
7547         Add vmethod wait_jitter to avoid an unneeded _get_time() for
7548         most clock implementations.
7549         Document vmethods.
7550         Flesh out docs about resolution methods.
7551         API: GstClockClass::wait_jitter
7552
7553         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7554         (gst_system_clock_async_thread),
7555         (gst_system_clock_id_wait_jitter_unlocked),
7556         (gst_system_clock_id_wait_jitter):
7557         Use base class wait_jitter variant for improved performance
7558         due to less clock polling.
7559
7560 2006-08-11  Edward Hervey  <edward@fluendo.com>
7561
7562         * gst/gst.c: (gst_init_check), (init_post):
7563         Set gst as being initialized before scanning/updating the registry,
7564         since there might be my python plugin loader that calls gst_init() and
7565         we don't want to loop back in.
7566         Closes #350879
7567
7568 2006-08-11  Wim Taymans  <wim@fluendo.com>
7569
7570         * docs/design/part-qos.txt:
7571         Bring docs in line with the code. Mostly the sign of the jitter was
7572         wrong in the docs. Fixes #349943.
7573
7574         * gst/gstclock.c:
7575         Fix the docs for the jitter.
7576
7577         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7578         (gst_event_parse_tag), (gst_event_new_buffer_size),
7579         (gst_event_parse_buffer_size), (gst_event_parse_qos),
7580         (gst_event_new_seek), (gst_event_parse_seek),
7581         (gst_event_new_navigation):
7582         Make sure the GstStructure has no parent when creating custom
7583         events.
7584         Add some more argument checking so that we avoid 0.0 rates.
7585         Flesh out the docs for the QoS event some more.
7586
7587 2006-08-11  Wim Taymans  <wim@fluendo.com>
7588
7589         * docs/gst/gstreamer-sections.txt:
7590         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7591         (ensure_current_registry_forking), (ensure_current_registry),
7592         (parse_one_option), (parse_goption_arg), (gst_deinit),
7593         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7594         * gst/gst.h:
7595         Doc updates.
7596         Added API and command line option to disable registry forking in
7597         addition to the environment variable.
7598         Constify some static arrays.
7599         Added some more debug.
7600         Don't deinit twice.
7601         API: gst_registry_fork_is_enabled()
7602         API: gst_registry_fork_set_enabled()
7603         API: --gst-disable-registry-fork command line option
7604         Fixes #348918.
7605
7606 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
7607
7608         * gst/gst.c: (gst_init):
7609           Fix typo in error message.
7610
7611 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7612
7613         * libs/gst/controller/gstcontroller.h:
7614           fix ABI size-correction
7615
7616         * tests/check/libs/gdp.c: (gst_dp_suite):
7617           make tests that use deprecated API conditional
7618
7619 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7620
7621         * docs/libs/gstreamer-libs-sections.txt:
7622         * libs/gst/controller/gstcontroller.c:
7623         (_gst_controller_get_property), (_gst_controller_set_property),
7624         (_gst_controller_init), (_gst_controller_class_init):
7625         * libs/gst/controller/gstcontroller.h:
7626         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7627         (gst_object_set_control_rate):
7628           API: add gst_object_{s,g}et_control_rate(), add private data section,
7629           fix docs
7630
7631         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7632         * libs/gst/dataprotocol/dataprotocol.h:
7633           add deprecation guards to make gtk-doc happy and allow disabling cruft
7634
7635 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7636
7637         * tests/check/Makefile.am:
7638         * tests/check/gst/.cvsignore:
7639           Let's enable the new unit test as well.
7640
7641 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7642
7643         * configure.ac:
7644         * docs/gst/gstreamer-sections.txt:
7645         * gst/gstconfig.h.in:
7646         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7647         (_gst_info_printf_extension_ptr),
7648         (_gst_info_printf_extension_segment):
7649           API: add GST_SEGMENT_FORMAT, which is a printf extension we
7650           register that lets us easily dump GstSegments into debug
7651           logs (#350419).
7652
7653         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7654         (info_segment_format_printf_extension), (gst_info_suite):
7655           Add simple unit test that logs a bunch of different segments (not
7656           valgrinded at the moment because of leaks in
7657           gst_debug_add_log_function).
7658
7659 2006-08-09  Edward Hervey  <edward@fluendo.com>
7660
7661         * libs/gst/base/gstbasetransform.c:
7662         (gst_base_transform_buffer_alloc):
7663         Even if we can't figure out the proper format to request downstream,
7664         call buffer_alloc() downstream with the input parameters without setting
7665         the caps on the srcpad. This will force negotiation in the chain
7666         function.
7667         Closes #350449
7668
7669 2006-08-08  Edward Hervey  <edward@fluendo.com>
7670
7671         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7672         Unlinking from a pad without a target is now a perfectly valid case
7673         which should NOT raise an assertion.
7674         This case would happen if a linked ghostpad its target set to NULL after
7675         it was previously linked.
7676
7677 2006-08-08  Edward Hervey  <edward@fluendo.com>
7678
7679         * tests/check/libs/gdp.c:
7680         Also comment out the test (see below).
7681
7682 2006-08-08  Edward Hervey  <edward@fluendo.com>
7683
7684         * tests/check/libs/gdp.c: (gst_dp_suite):
7685         Use the architecture information from config.h and not gcc macros
7686         in order to properly disable a test that fails on PPC64.
7687
7688 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
7689
7690         * gst/gstelement.c: (gst_element_remove_pad):
7691           Don't crash printing the warning if the pad has no parent.
7692
7693 2006-08-02  Wim Taymans  <wim@fluendo.com>
7694
7695         * libs/gst/dataprotocol/dataprotocol.c:
7696         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7697         (gst_dp_crc), (gst_dp_header_payload_length),
7698         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7699         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7700         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7701         (gst_dp_event_from_packet), (gst_dp_validate_header),
7702         (gst_dp_validate_payload):
7703         Make debug category static
7704         Constify the crc table.
7705         Do some more arg checking in public functions.
7706         Fix some docs and do some small cleanups.
7707
7708         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7709         Add some more checks to see if GDP deals with bogus input.
7710
7711 2006-07-31  Wim Taymans  <wim@fluendo.com>
7712
7713         * gst/gstvalue.c: (gst_value_compare_list):
7714         Fix GstValueList comparison code. Fixes #347293.
7715
7716         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7717         Check to test GstValueList comparison.
7718
7719 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7720
7721         * gst/gstelementfactory.c: (gst_element_factory_create):
7722         Remove unnecessary ref/unref pair
7723
7724         * gst/parse/grammar.y:
7725         Make sure to free the parse buffer on all code paths.
7726         Move a g_free up to the error handler where it's easier to see.
7727
7728         * tests/check/gst/gstevent.c: (test_event):
7729         Extending timeout for downstream travelling events to 10 seconds to
7730         hopefully avoid intermittent failure on the buildbots.
7731
7732         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7733         Don't manually set the state of the src element - it will happen as a
7734         natural consequence of the pipeline changing state, and that way it
7735         will do it in the right order too.
7736
7737 2006-07-31  Wim Taymans  <wim@fluendo.com>
7738
7739         * libs/gst/base/gstbasetransform.c:
7740         (gst_base_transform_buffer_alloc):
7741         Use OBJECT_LOCK and refcounting to get the pad caps in the
7742         buffer_alloc function because the caps could change while we are
7743         busy with them. Fixes #349105
7744
7745 2006-07-31  Wim Taymans  <wim@fluendo.com>
7746
7747         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7748         Protect _PAD_CAPS with OBJECT_LOCK.
7749
7750 2006-07-31  Wim Taymans  <wim@fluendo.com>
7751
7752         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7753         (gst_pad_get_property), (gst_pad_activate_pull),
7754         (gst_pad_activate_push), (gst_pad_set_blocked_async),
7755         (gst_pad_set_activate_function),
7756         (gst_pad_set_activatepull_function),
7757         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7758         (gst_pad_set_getrange_function),
7759         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7760         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7761         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7762         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7763         (gst_pad_set_acceptcaps_function),
7764         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7765         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7766         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7767         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7768         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7769         (gst_pad_configure_sink), (gst_pad_configure_src),
7770         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7771         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7772         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7773         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7774         (gst_pad_send_event):
7775         Use _DEBUG_OBJECT when it makes sense.
7776         Protect GST_PAD_CAPS with the OBJECT_LOCK.
7777         Small cleanups and code reflows.
7778         Avoid caps refcounting in _accept_caps.
7779         Refactor alloc_buffer so that the code performed on the peer is in a
7780         separate function. Also if the pad does not implement a buffer alloc
7781         function, we should still check if the pad is flushing before falling
7782         back to the default allocator.
7783
7784 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7785
7786         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7787         Make all uses of identity and fakesink have silent=true to avoid
7788         serialising every passing data structure, which is breaking tests
7789         on FC4 for some unknown reason.
7790
7791 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7792
7793         * gst/parse/Makefile.am:
7794         * gst/parse/grammar.y:
7795         * gst/parse/parse.l:
7796           Reverted previous patch as it required to bump the flex dependency to
7797           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7798
7799 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7800
7801         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7802
7803         * gst/parse/Makefile.am:
7804         * gst/parse/grammar.y:
7805         * gst/parse/parse.l:
7806           push & pop the state of the lexer for reentrant use case
7807           Fixes #349180
7808
7809 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
7810
7811         * libs/gst/base/gstbasesrc.h:
7812           Note in the docs that the ::newsegment vfunc is not actually used by
7813           GstBaseSrc.
7814
7815 2006-07-28  Wim Taymans  <wim@fluendo.com>
7816
7817         * libs/gst/base/gstcollectpads.c:
7818         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7819         (gst_collect_pads_clear), (gst_collect_pads_flush),
7820         (gst_collect_pads_event), (gst_collect_pads_chain):
7821         When flushing a pad, also clear the queued buffer so that we don't
7822         accidentally use it when we shouldn't.
7823         Fix leaks by inreffing incomming buffer.
7824         Flush out queued buffers in case of errors.
7825         Fixes #347452.
7826
7827 2006-07-28  Wim Taymans  <wim@fluendo.com>
7828
7829         * docs/random/phonon-gst:
7830         Random notes about a Phonon backend.
7831
7832 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7833
7834         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7835         Extra debug output
7836         * tests/check/libs/gdp.c: (gst_dp_suite):
7837         Take a whack at fixing the ppc compile using a different define to
7838         disable the broken test.
7839
7840         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7841         Remove excess g_print()
7842
7843 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7844
7845         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7846         Oops, meant to uncomment this line too to dampen the noise a bit.
7847
7848 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7849
7850         * gst/parse/grammar.y:
7851         * gst/parse/parse.l:
7852         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7853         (GST_START_TEST), (parse_suite):
7854         Fix some of the leaks exposed by extending the parse-launch testsuite,
7855         and move the 3 I can't figure out into a separate test that won't run
7856         the pipelines unless the appropriate line is uncommented.
7857
7858 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7859
7860         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7861           Requesting 0 bytes before the end of the file should result in
7862           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7863           unit test.
7864
7865 2006-07-27  Wim Taymans  <wim@fluendo.com>
7866
7867         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7868         Fix useless assert, a uint is always positive.
7869
7870         * gst/gststructure.c: (gst_structure_nth_field_name),
7871         (gst_structure_foreach), (gst_structure_map_in_place):
7872         Check input arguments for public functions to avoid obvious crashes.
7873
7874         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7875         * plugins/elements/gstfakesink.h:
7876         Do less useless typechecking.
7877
7878 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7879
7880         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7881           Do not use mmap() by default since there are a number of error
7882           conditions that we would like to handle in a non-fatal way that
7883           will result in a SIGBUS if we use mmap(). Examples: external
7884           devices (USB harddrive, portable music player) being unplugged
7885           while in use; file on mounted CD/DVD that can't be read because
7886           the medium is partly damaged. Fixes #348455 and #348475.
7887
7888 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7889
7890         * gst/gstquery.h:
7891         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7892         rates are a gdouble
7893
7894 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
7895
7896         * gst/gstregistry.c:
7897           Move big documentation comment into class section header, so that it
7898           appears in the API docs.
7899
7900 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7901
7902         * docs/gst/gstreamer-sections.txt:
7903         Oops. Commit the docs additions too for new API.
7904         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7905
7906 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7907
7908         * gst/gststructure.c: (gst_structure_id_set),
7909         (gst_structure_id_set_valist):
7910         * gst/gststructure.h:
7911         Add API for setting values into structures without performing
7912         a quark lookup, if the appropriate quark is already known.
7913
7914         API: gst_structure_id_set
7915         API: gst_structure_id_set_valist
7916
7917         * gst/parse/grammar.y:
7918         * gst/parse/parse.l:
7919         Remove some dead code shown by the coverage information.
7920         Don't throw a critical g_warning when encountering a syntax error,
7921         just warn and let the normal error path handle it.
7922
7923         * plugins/elements/gstelements.c:
7924         Bump the rank of filesink up to PRIMARY so that it is preferred over
7925         gnomevfssink for file:// sink uri's
7926
7927         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7928         (GST_START_TEST), (run_delayed_test),
7929         (gst_parse_test_element_base_init),
7930         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7931         (gst_parse_test_element_change_state),
7932         (gst_register_parse_element), (parse_suite):
7933         Beef up the tests for parse syntax to check that more error cases
7934         fail as they are supposed to. Increases the test coverage a bit.
7935
7936 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7937
7938         * docs/manual/basics-elements.xml:
7939           Fix gst_element_link() example.
7940
7941         * gst/gstutils.c:
7942           Mention in API docs that one should usually gst_bin_add()
7943           elements to a bin or pipeline before doing the linking.
7944           
7945 2006-07-26  Wim Taymans  <wim@fluendo.com>
7946
7947         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7948         (gst_subbuffer_get_type), (gst_buffer_create_sub):
7949         Avoid function call for known types by keeping the buffer and
7950         subbuffer GType global.
7951
7952         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7953         Random silly optimisations in read() path.
7954
7955 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7956
7957         * tools/gst-launch.c: (main):
7958           If the top-level of the parse is a normal bin, it doesn't do the
7959           right logic to run as a top-level element, so place it inside a
7960           pipeline.
7961
7962 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7963
7964         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7965           Remove superfluous g_object_notify() calls, GObject does
7966           that for us automatically.
7967
7968 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
7969
7970         * gst/gstinfo.h:
7971           on Win32, use dllspec to export the debug category symbols
7972
7973 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
7974
7975         * gst/gsttaglist.c: (_gst_tag_initialize):
7976           Allow more than one GST_TAG_IMAGE per taglist.
7977
7978 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7979
7980         * gst/gstminiobject.c:
7981           update docs
7982         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7983         (gst_fd_src_create):
7984           log recurring events at LOG level
7985           add more debug for when the fd gets set
7986
7987 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7988
7989         * gst/gstparse.c: (gst_parse_launch):
7990           Also remove reentrance checks if flex is MT safe (#348179)
7991          Fix my empty ChangeLog entry below
7992
7993 2006-07-21  Andy Wingo  <wingo@pobox.com>
7994
7995         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7996
7997         * libs/gst/check/Makefile.am
7998         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7999         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
8000         * libs/gst/check/gstbufferstraw.h:
8001         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
8002         functions, thus proving I am still a GStreamer haxor. OK I wrote
8003         them a long time ago, but anyways.
8004
8005 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
8006
8007         * configure.ac:
8008         * gst/gstparse.c: (gst_parse_launch):
8009           Check for flex version and omit mutex if we have a MT save flex
8010           (fixes #348179)
8011
8012 2006-07-21  Wim Taymans  <wim@fluendo.com>
8013
8014         * gst/gstparse.c: (gst_parse_launch):
8015         Protect recursive calls to _parse with a recursive mutex
8016         and busy flag.
8017
8018 2006-07-21  Wim Taymans  <wim@fluendo.com>
8019
8020         * tests/check/gst/gstpad.c: (GST_START_TEST):
8021         Fix leak in test.
8022
8023 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
8024
8025         * gst/gstparse.c: (gst_parse_launch):
8026           Do not hang on recursive usage of gst_parse_launch()
8027
8028 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8029
8030         * gst/gsttaglist.c:
8031           Add some more docs, comments and FIXME 0.11s here and there
8032           and also fix some typos.
8033
8034 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8035
8036         * gst/gstsegment.h:
8037           Convert tabs to spaces for better readability. 
8038
8039 2006-07-20  Edward Hervey  <edward@fluendo.com>
8040
8041         * tests/check/libs/gdp.c: (gst_dp_suite):
8042         the test_buffer test fails at line 140 on ppc64 at the following
8043         check:
8044         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8045                 GST_BUFFER_FLAG_IN_CAPS),
8046                 "GST_BUFFER_IN_CAPS flag should have been copied !");
8047         See bug #348114 for more details.
8048
8049 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
8050
8051         * docs/pwg/advanced-scheduling.xml:
8052         * gst/gstpad.c:
8053           Fix typos (#348000).
8054
8055 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
8056
8057         * docs/pwg/intro-basics.xml:
8058           Fix wrong links (#347927).
8059
8060 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
8061
8062         * gst/gstregistry.h:
8063         * gst/gstregistryxml.c: (load_feature),
8064         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8065         * win32/common/config.h:
8066           make --disable-index work (#342564)
8067
8068 2006-07-18  Wim Taymans  <wim@fluendo.com>
8069
8070         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8071
8072         * gst/Makefile.am:
8073         * gst/gsttrace.h:
8074         The attached patch adds two missing defines to gsttrace.h when tracing
8075         is disabled.  It also corrects one existing define.
8076         Fixes #347756.
8077
8078 2006-07-17  Wim Taymans  <wim@fluendo.com>
8079
8080         * docs/gst/gstreamer-sections.txt:
8081         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8082         * gst/gst.h:
8083         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8084         Add two functions to check and change the SIGSEGV behaviour
8085         when loading plugins.
8086         Don't mess with the SIGSEGV handler when we were told not to.
8087         Fixes #347794.
8088         API: gst_segtrap_is_enabled
8089         API: gst_segtrap_set_enabled
8090
8091 2006-07-14  Wim Taymans  <wim@fluendo.com>
8092
8093         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8094         * tests/check/elements/filesrc.c: (GST_START_TEST):
8095         Revert fix for regression in #347408 after release.
8096
8097 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
8098
8099         Patch by: Antoine Tremblay <hexa00 at gmail com>
8100
8101         * gst/gstutils.c: (gst_element_unlink):
8102           Free iterator when done (#347311).
8103
8104         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8105           And add a test case for this.
8106
8107 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
8108
8109         * configure.ac:
8110         Bump nano back to CVS
8111
8112 === release 0.10.9 ===
8113
8114 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
8115
8116         * configure.ac:
8117           releasing 0.10.9, "On the road again"
8118
8119 2006-07-13  Wim Taymans  <wim@fluendo.com>
8120
8121         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8122         * tests/check/elements/filesrc.c: (GST_START_TEST):
8123         Revert pull-0 fix for release. Disable check. Fixes #347408.
8124
8125 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8126
8127         * libs/gst/dataprotocol/dataprotocol.c:
8128         (gst_dp_event_from_packet_1_0):
8129           Fixes #347337: failure to deserialize event packets with
8130           empty payload (only event type)
8131
8132 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8133
8134         * gst/Makefile.am:
8135           do not install a .c file in the header directory
8136
8137 2006-07-13  Edward Hervey  <edward@fluendo.com>
8138
8139         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8140         GhostPad no longer implicitely use the padtemplates of the targets.
8141         Fixes #347384
8142
8143 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
8144
8145         * gst/gstvalue.c: (gst_value_compare_list),
8146         (gst_value_compare_array), (_gst_value_initialize):
8147         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8148         Make GstValueArray comparison be order dependent as designed.
8149         Add checks for value lists and value array comparisons.
8150         Fixes #347221
8151
8152 2006-07-11  Edward Hervey  <edward@fluendo.com>
8153
8154         * gst/gstbin.c: (activate_pads),
8155         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8156         (gst_bin_change_state_func):
8157         (de)activate src pads before calling state_change on the childs.
8158         This is to avoid the case where a src ghostpad is blocked (holding the
8159         stream lock), which would block the deactivation of the ghostpad's
8160         target pad.
8161         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8162         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8163         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8164         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8165         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8166         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8167         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8168         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8169         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8170         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8171         (gst_ghost_pad_class_init),
8172         (gst_ghost_pad_internal_do_activate_push),
8173         (gst_ghost_pad_internal_do_activate_pull),
8174         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8175         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8176         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8177         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8178         GhostPads now create their internal GstProxyPad at creation (and not
8179         when they're linked, as it was being done previously).
8180         The internal and target pads are linked straight away.
8181         The data will also travel through the other pad in order to make
8182         pad blocking and probes non-hackish (the probe/block now really happens
8183         on the GhostPad and not on the target).
8184         * gst/gstpad.c: (gst_pad_set_blocked_async),
8185         (gst_pad_link_prepare), (gst_pad_push_event):
8186         Remove previous ghostpad cruft.
8187         * gst/gstutils.c: (gst_pad_add_data_probe),
8188         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8189         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8190         (gst_pad_remove_buffer_probe):
8191         Remove previous ghost pad cruft.
8192         Added more detailed debug statements.
8193         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8194         Fix the testsuite for refcounting changes.
8195         The comments about who has references were correct, but the refcount
8196         being checked wasn't the same (!?!).
8197
8198         Fixes #341029
8199
8200 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8201
8202         * docs/gst/gstreamer-sections.txt:
8203         * gst/gstconfig.h.in:
8204         More docs for configuration options, add docs to gtk-doc.
8205
8206 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8207
8208         * gst/Makefile.am:
8209         * gst/gstconfig.h.in:
8210         * win32/common/config.h:
8211         Fix build when disabling tracing (fixes #344016). Also start to document
8212         the defines that disable the sub-systems.
8213
8214 2006-07-10  Edward Hervey  <edward@fluendo.com>
8215
8216         * gst/gst.c: (ensure_current_registry_forking):
8217         let's make valgrind happy...
8218
8219 2006-07-09  Wim Taymans  <wim@fluendo.com>
8220
8221         * gst/gstelement.c: (activate_pads),
8222         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8223         Better pad activation code: Reset the collect value too on resync.
8224         Add some comments.
8225
8226 2006-07-09  Wim Taymans  <wim@fluendo.com>
8227
8228         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8229         (gst_pad_activate_push):
8230         Use some more macros where it makes sense.
8231         Allow pad mode switching instead of asserting. When a pad
8232         is activated in one mode and we activate it in another, 
8233         deactivate it first before activating it in a different mode.
8234         Fixes #329198.
8235
8236 2006-07-08  Andy Wingo  <wingo@pobox.com>
8237
8238         * tools/gst-launch.c (main): Handle err == NULL.
8239
8240         * gst/gst.c (init_post, ensure_current_registry)
8241         (ensure_current_registry_forking)
8242         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8243         factoring out the registry scanning into separate functions. Don't
8244         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8245         Better environment var name/interface suggestions accepted.
8246
8247 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8248
8249         * gst/gstobject.c: (gst_object_set_name_default),
8250         (gst_object_set_name):
8251           Random micro-optimisation: don't use a hash table
8252           with strings as keys and the usual strdup/strcmp
8253           involved, but rather just use the GQuark of the
8254           type name as key, since it needs to be looked up
8255           anyway to get the type name string.
8256
8257         * tests/check/gst/gstobject.c: (GST_START_TEST):
8258           Fix various leaks.
8259
8260 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8261
8262         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8263         (gst_bin_iterate_all_by_interface):
8264           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8265           GTypes are gulongs and thus the top 4 bytes might be cut
8266           off on some platforms when doing GPOINTER_TO_INT, leading
8267           to invalid GTypes and bad things happening (see RH bug #179654).
8268           Also add a check to make sure the type passed in is really
8269           an interface type.
8270
8271 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8272
8273         * .cvsignore:
8274           Ignore more.
8275
8276 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8277
8278         * Makefile.am:
8279         * configure.ac:
8280         * gst-element-check.m4:
8281         * gst-element-check.m4.in:
8282           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8283           instead of the unversioned gst-inspect (#324176, #168659).
8284
8285 2006-07-06  Wim Taymans  <wim@fluendo.com>
8286
8287         * gst/gstmessage.h:
8288         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8289         warnings.
8290
8291 2006-07-06  Wim Taymans  <wim@fluendo.com>
8292
8293         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8294         (gst_base_src_wait), (gst_base_src_update_length),
8295         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8296         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8297         (gst_base_src_loop), (gst_base_src_start),
8298         (gst_base_src_activate_pull):
8299         Update docs.
8300         blocksize == 0 now means the default blocksize when working in push
8301         based mode.
8302         Remove some pointless asserts in _wait function.
8303         Fix offset/length calculations and EOS handling. We can now pull 0
8304         bytes as well, which is allowed.
8305         use _check_get_range() to decide if we can operate in _pull based
8306         mode.
8307         Fix refcounting leak when check_get_range function was not 
8308         implemented.
8309         API GstBaseSrc::blocksize range can be 0 too now (default)
8310
8311         * tests/check/elements/filesrc.c: (GST_START_TEST),
8312         (filesrc_suite):
8313         Added check to test _get_range() behaviour.
8314
8315 2006-07-06  Wim Taymans  <wim@fluendo.com>
8316
8317         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8318         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8319         (gst_pad_pull_range):
8320         * gst/gstpad.h:
8321         Lots of comments and docs added to the pad functions.
8322         Flesh out the expected behaviour of the get_range() functions.
8323
8324 2006-07-06  Wim Taymans  <wim@fluendo.com>
8325
8326         * gst/gstbus.h:
8327         * gst/gstclock.h:
8328         * gst/gstevent.h:
8329         * gst/gstiterator.h:
8330         * gst/gstpad.h:
8331         * gst/gstplugin.h:
8332         * gst/gsttask.h:
8333         Remove comma at end of enumerator list. 
8334
8335 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
8336
8337         * win32/common/libgstbase.def:
8338         * win32/common/libgstdataprotocol.def:
8339         * win32/common/libsgtreamer.def:
8340         Add new exported functions.
8341
8342 2006-07-05  Wim Taymans  <wim@fluendo.com>
8343
8344         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8345         Add some more docs here and there.
8346
8347 2006-07-05  Wim Taymans  <wim@fluendo.com>
8348
8349         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8350         (gst_base_sink_loop), (gst_base_sink_get_position):
8351         When operating in pull mode update the offset so that we
8352         read sequentially.
8353
8354 2006-07-05  Wim Taymans  <wim@fluendo.com>
8355
8356         * gst/gstregistryxml.c: (read_string):
8357         Avoid strdup. (will happen in libxml, but hey!)
8358
8359         * gst/gsturi.c:
8360         Add some more docs.
8361
8362 2006-07-05  Wim Taymans  <wim@fluendo.com>
8363
8364         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8365         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8366         (gst_buffer_suite):
8367         No point in checking if the size of the subbuffer > 0, the
8368         code handles it correclty as demonstrated by unit test.
8369         Also add a unit test for the zero sized _new_and_alloc and
8370         _copy. Fixes #346663.
8371
8372 2006-07-05  Wim Taymans  <wim@fluendo.com>
8373
8374         * libs/gst/base/gstbasetransform.c:
8375         (gst_base_transform_prepare_output_buffer),
8376         (gst_base_transform_buffer_alloc),
8377         (gst_base_transform_handle_buffer):
8378         Make sure the buffer we pass to transform_ip has a refcount of
8379         1 and thus is writable. Fixes #343196
8380
8381 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
8382
8383         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8384         (gst_file_src_init), (gst_file_src_set_property),
8385         (gst_file_src_get_property), (gst_file_src_map_region):
8386         * plugins/elements/gstfilesrc.h:
8387         Add "sequential" property, off by default, to use madvise and hint
8388         to the kernel that sequential access is desired.
8389         Touch all retrieved pages by default to ensure they are pulled
8390         into memory. (Closes #345720)
8391
8392 2006-07-03  Wim Taymans  <wim@fluendo.com>
8393
8394         * docs/design/part-block.txt:
8395         * docs/design/part-dynamic.txt:
8396         Small docs updates.
8397
8398 2006-07-03  Wim Taymans  <wim@fluendo.com>
8399
8400         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8401         (gst_caps_unref), (gst_static_caps_get),
8402         (gst_caps_append_structure):
8403         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8404         Use GSlice when the glib we build against is >= 2.10
8405
8406 2006-07-03  Wim Taymans  <wim@fluendo.com>
8407
8408         * gst/gstelement.c: (gst_element_pads_activate):
8409         Small cleanup in pad activation code.
8410
8411 2006-07-03  Wim Taymans  <wim@fluendo.com>
8412
8413         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8414
8415         * gst/gst-i18n-app.h:
8416         * gst/gst-i18n-lib.h:
8417         * tools/gst-inspect.c: (print_signal_info):
8418         The attached patch will make the inclusion of gettext.h unconditional in
8419         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8420         libintl.h in tools/gst-inspect.c.
8421         This allows use of --disable-nls again and fixes #344642.
8422
8423 2006-07-03  Edward Hervey  <edward@fluendo.com>
8424
8425         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8426         Implement pad blocking on events according to part-block.txt.
8427         More comments on behaviour.
8428         * tests/check/gst/gstevent.c: (test_event):
8429         Send event to peer pad of blocked pad (else it will block).
8430
8431 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8432
8433         * libs/gst/check/gstcheck.c: (gst_check_message_error),
8434         (gst_check_run_suite):
8435           if we get the wrong message, give us the types as string
8436         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8437           Fix a translatable
8438         * tests/check/elements/filesrc.c: (GST_START_TEST):
8439           add a test for trying to open a non-existing file
8440
8441 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8442
8443         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8444           add a test for adding self
8445
8446 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8447
8448         * libs/gst/check/gstcheck.h:
8449           add some assert_ as alias for fail_unless_*
8450         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8451           increase test coverage
8452
8453 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8454
8455         * Makefile.am:
8456           include lcov.mak for lcov coverage generation
8457         * tools/Makefile.am:
8458           add to CLEANFILES
8459
8460 2006-07-02  Edward Hervey  <edward@fluendo.com>
8461
8462         * tests/check/elements/.cvsignore:
8463         moaping
8464
8465 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8466
8467         * configure.ac:
8468           don't set CFLAGS and friends for gcov, done from GST_GCOV now
8469         * tests/check/Makefile.am:
8470           clean up gcov files
8471
8472 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8473
8474         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8475           remove gst_caps_simplify; it was not declared and not used
8476           and deprecated in 0.8
8477
8478 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8479
8480         * docs/faq/gst-uninstalled:
8481           don't put empty paths on PYTHONPATH
8482         * docs/gst/gstreamer-sections.txt:
8483           remove some symbols that are not there
8484
8485 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8486
8487         * gst/gstcaps.c: (gst_caps_compare_structures):
8488           whitespace fixes
8489         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8490         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8491           add more tests
8492
8493 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8494
8495         * libs/gst/dataprotocol/Makefile.am:
8496           build dataprotocol test by linking to the lib, instead of
8497           compiling the source, so we get coverage
8498         * tests/check/Makefile.am:
8499         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8500         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8501           add a test for filesrc
8502
8503 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8504
8505         * tests/check/gst/gststructure.c: (GST_START_TEST),
8506         (gst_structure_suite):
8507           Push coverage from 59.04% to 70.00%
8508
8509 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8510
8511         * tests/check/Makefile.am:
8512           gst-inspect every element; this makes sure that we also get
8513           coverage on element's get/set functions
8514
8515 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8516
8517         * configure.ac:
8518           set CFLAGS and friends to -O0 if gcov is being used
8519           add GCOV LIBS
8520         * gst/Makefile.am:
8521         * libs/gst/base/Makefile.am:
8522         * libs/gst/check/Makefile.am:
8523         * libs/gst/controller/Makefile.am:
8524         * libs/gst/dataprotocol/Makefile.am:
8525         * libs/gst/net/Makefile.am:
8526         * plugins/elements/Makefile.am:
8527         * plugins/indexers/Makefile.am:
8528           add makefile rules to generate gcov data and clean up
8529         * tests/check/Makefile.am:
8530           add a coverage target that generates an html overview
8531           of coverage data
8532
8533 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8534
8535         * tests/check/elements/fakesink.c:
8536         * tests/check/elements/fakesrc.c:
8537         * tests/check/elements/fdsrc.c:
8538         * tests/check/elements/identity.c:
8539         * tests/check/generic/sinks.c: (gst_sinks_suite):
8540         * tests/check/generic/states.c:
8541         * tests/check/gst/gst.c:
8542         * tests/check/gst/gstabi.c:
8543         * tests/check/gst/gstbin.c:
8544         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8545         * tests/check/gst/gstbus.c: (gst_bus_suite):
8546         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8547         * tests/check/gst/gstelement.c:
8548         * tests/check/gst/gstevent.c: (gst_event_suite):
8549         * tests/check/gst/gstghostpad.c:
8550         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8551         * tests/check/gst/gstmessage.c: (gst_message_suite):
8552         * tests/check/gst/gstminiobject.c:
8553         * tests/check/gst/gstobject.c:
8554         * tests/check/gst/gstpad.c:
8555         * tests/check/gst/gstpipeline.c:
8556         * tests/check/gst/gstplugin.c:
8557         * tests/check/gst/gstquery.c: (gst_query_suite):
8558         * tests/check/gst/gstsegment.c: (gst_segment_suite):
8559         * tests/check/gst/gststructure.c:
8560         * tests/check/gst/gstsystemclock.c:
8561         * tests/check/gst/gsttag.c:
8562         * tests/check/gst/gsttask.c: (gst_task_suite):
8563         * tests/check/gst/gstutils.c:
8564         * tests/check/gst/gstvalue.c:
8565         * tests/check/libs/adapter.c:
8566         * tests/check/libs/basesrc.c:
8567         * tests/check/libs/collectpads.c:
8568         * tests/check/libs/controller.c:
8569         * tests/check/libs/gdp.c: (gst_dp_suite):
8570         * tests/check/libs/gstnetclientclock.c:
8571         * tests/check/libs/gstnettimeprovider.c:
8572         * tests/check/libs/libsabi.c: (libsabi_suite):
8573         * tests/check/libs/typefindhelper.c:
8574         * tests/check/pipelines/cleanup.c:
8575         * tests/check/pipelines/parse-launch.c:
8576         * tests/check/pipelines/simple-launch-lines.c:
8577         * tests/check/pipelines/stress.c: (stress_suite):
8578           use the new macro
8579
8580 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8581
8582         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8583         * libs/gst/check/gstcheck.h:
8584           create a macro and function so that the simple unit test
8585           case can be just one macro to create main()
8586
8587 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
8588
8589         * gst/gstbin.c: (gst_bin_restore_thyself):
8590         * gst/gstxml.c: (gst_xml_make_element):
8591           Fix deserialisation from XML. Set parent manually
8592           instead of using gst_bin_add(), since gst_bin_add()
8593           will unlink all pads of the element being added.
8594           Fixes #341667.
8595
8596 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
8597
8598         Patch by: Peter Kjellerstedt <pkj at axis com>
8599
8600         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8601           Fix missing g_strdup() and double free when using the
8602           --gst-plugin-load command line option (#346097).
8603
8604 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8605
8606         * gst/gstinfo.c:
8607           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8608
8609         * libs/gst/net/gstnetclientclock.c:
8610         * libs/gst/net/gstnettimeprovider.c:
8611           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8612
8613 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8614
8615         * docs/manual/advanced-dataaccess.xml:
8616           Fix buffer probe example compilation in
8617           ADM (#345708).
8618         
8619 2006-06-22  Edward Hervey  <edward@fluendo.com>
8620
8621         * gst/gstelement.c: (gst_element_pads_activate):
8622         We need to deactivate src pads first and then sink pads.
8623         The reason is the src pads might be blocking while holding the streaming
8624         lock, so we need to deactivate them first so that deactivating the sink
8625         pads doesn't block (since it will require the streaming lock).
8626
8627 2006-06-22  Wim Taymans  <wim@fluendo.com>
8628
8629         * libs/gst/base/gstbasetransform.c:
8630         (gst_base_transform_buffer_alloc):
8631         Forgot to remove two unneeded unrefs.
8632         Simplify a check _is_equal allready checks the obvious case.
8633
8634 2006-06-22  Wim Taymans  <wim@fluendo.com>
8635
8636         * docs/design/part-block.txt:
8637         Some docs about what pad_block should do.
8638
8639 2006-06-22  Wim Taymans  <wim@fluendo.com>
8640
8641         * gst/gstcaps.c: (gst_caps_replace):
8642         Fix crasher when passed NULL. Doc clarification.
8643         Optimize for the trivial case.
8644
8645         * gst/gstpipeline.c: (gst_pipeline_change_state):
8646         Small cleanups.
8647
8648         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8649         Small documentation cleanup.
8650
8651         * libs/gst/base/gstbasetransform.c:
8652         (gst_base_transform_buffer_alloc):
8653         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8654         is what we need and it avoids a whole lot of redundant 
8655         refcount operations.
8656
8657 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
8658
8659         Patch by: Philip Jägenstedt  <philip at lysator liu se>
8660
8661         * docs/manual/advanced-dataaccess.xml:
8662           Fix 'Embedding static elements' section to use
8663           GST_PLUGIN_DEFINE_STATIC (#345607).
8664
8665 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8666
8667         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8668           Attempt to 'fix' spuriously failing test case: it seems like the
8669           timeout of half a second is simply too small when the system is under
8670           load otherwise, and the timeout doesn't really seem to serve any
8671           particular purpose here. Give the pipeline a few seconds to preroll
8672           first, and then give it another half a second to go from PAUSED to
8673           PLAYING and marshal the message into the main thread.
8674
8675 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8676
8677         * tools/gst-feedback-m.m:
8678           Don't only use unversioned tools, try versioned tools as well
8679           (#345086).
8680
8681 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8682
8683         * gst/gstbus.c: (gst_bus_class_init):
8684           Fix some typos, make docs more explicit.
8685
8686 2006-06-20  Wim Taymans  <wim@fluendo.com>
8687
8688         * tests/check/gst/gstghostpad.c: (block_callback),
8689         (GST_START_TEST), (gst_ghost_pad_suite):
8690         Added some more ghostpad tests, mainly blocking
8691         and probes.
8692
8693 2006-06-16  Wim Taymans  <wim@fluendo.com>
8694
8695         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8696         (gst_file_sink_close_file), (gst_file_sink_do_seek),
8697         (gst_file_sink_event), (gst_file_sink_render):
8698         * plugins/elements/gstfilesink.h:
8699         Check if we can seek in the file instead of assuming
8700         we always can. Post an error when we are asked to seek in a
8701         non-seekable file (like a fifo). Fixes #343312.
8702         Some cleanups.
8703
8704 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8705
8706         * tools/gst-launch.1.in:
8707           Un-garble (fourcc) bit in filtered caps section.
8708
8709 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8710
8711         * docs/manual/advanced-autoplugging.xml:
8712         * docs/manual/basics-helloworld.xml:
8713         * docs/manual/highlevel-components.xml:
8714           Don't leak bus reference in sample code.
8715
8716 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
8717
8718         * autogen.sh:
8719           Add default for new --enable-plugin-docs switch.
8720
8721         * configure.ac:
8722           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8723           Fixes #344039.
8724
8725         * docs/Makefile.am:
8726           Use new ENABLE_PLUGIN_DOCS conditional.
8727
8728 2006-06-14  Wim Taymans  <wim@fluendo.com>
8729
8730         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8731         Make it clear with a FIXME and a real define what the #if 0
8732         previously disabled.
8733
8734 2006-06-14  Wim Taymans  <wim@fluendo.com>
8735
8736         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8737         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8738         * libs/gst/base/gstbasetransform.c:
8739         (gst_base_transform_sink_eventfunc):
8740         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8741         Don't randomly and silently reset a segment when the format 
8742         changes as this is a bug somewhere upstream. Fixes #330379.
8743
8744 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8745
8746         Patch by: Wouter Paesen  <wouter at kangaroot net>
8747
8748         * libs/gst/controller/gstcontroller.c:
8749         (gst_controlled_property_new):
8750           Fix controlling of float properties (#344849).
8751
8752         * tests/check/libs/controller.c:
8753         (gst_test_mono_source_get_property),
8754         (gst_test_mono_source_set_property),
8755         (gst_test_mono_source_class_init), (GST_START_TEST):
8756           While we're at it, add some float stuff to unit test.
8757
8758 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8759
8760         * docs/README:
8761         * docs/images/gdp-header.svg:
8762           add a gdp image
8763         * docs/libs/Makefile.am:
8764         * docs/libs/gdp-header.png:
8765         * libs/gst/dataprotocol/dataprotocol.c:
8766           add it to the API docs
8767         * docs/manual/intro-motivation.xml:
8768           fix typo
8769
8770 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8771
8772         * gst/gst.c: (scan_and_update_registry), (init_post):
8773           If the fork()'ed child process can't write the updated registry cache
8774           file to disk for some reason, make it exit with a failure exit code,
8775           so that the parent can then re-scan the plugins itself and update the
8776           registry structures in memory and work with that (rather than failing
8777           when creating elements because seemingly no plugins are available).
8778           Refactor registry scanning code into separate function for this and
8779           also separate fork() and non-fork() code paths. Fixes #344748.
8780
8781 2006-06-13  Wim Taymans  <wim@fluendo.com>
8782
8783         * docs/manual/advanced-dataaccess.xml:
8784         Fix wrong PluginDesc. Fixes #344755.
8785
8786 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8787
8788         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8789           Fix silly bug that prevented us from creating
8790           ~/.gstreamer-0.10 and writing the registry in one
8791           go (the first call to g_mkstemp() would overwrite the
8792           placeholder in the template string, so the second call
8793           to g_mkstemp() after creating the missing directory
8794           would then error out with 'invalid argument').
8795
8796 2006-06-13  Edward Hervey  <edward@fluendo.com>
8797
8798         * gst/gst.c: (init_post):
8799         Free string.
8800
8801 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8802
8803         * gst/glib-compat-private.h:
8804         * gst/glib-compat.c:
8805         * gst/glib-compat.h:
8806         * gst/gstvalue.c: (gst_value_serialize_flags):
8807           remove GLib 2.6 compatibility code
8808
8809 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
8810
8811         * gst/parse/Makefile.am:
8812           Fix build with 'make -j N' even more (#340016).
8813
8814 2006-06-12  Wim Taymans  <wim@fluendo.com>
8815
8816         * docs/gst/gstreamer-sections.txt:
8817         Fix docs.
8818
8819 2006-06-12  Wim Taymans  <wim@fluendo.com>
8820
8821         * gst/gstsegment.c: (gst_segment_set_duration),
8822         (gst_segment_set_last_stop), (gst_segment_set_seek),
8823         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8824         (gst_segment_to_running_time), (gst_segment_clip):
8825         Use G_UNLIKELY to help the compiler a bit.
8826
8827 2006-06-12  Wim Taymans  <wim@fluendo.com>
8828
8829         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8830
8831         * gst/gstevent.c: (gst_event_get_type):
8832         * gst/gstmessage.c:
8833         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8834         (gst_pad_push):
8835         constify quark registration strings. Fixes #344115
8836         Avoid unneeded type checking is _pad_push() by internally
8837         calling gst_pad_chain_unchecked().
8838
8839 2006-06-12  Wim Taymans  <wim@fluendo.com>
8840
8841         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8842         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8843         (gst_subbuffer_finalize), (gst_buffer_create_sub),
8844         (gst_buffer_is_span_fast), (gst_buffer_span):
8845         Init _type for consistency.
8846         Use _FLAGS macro to avoid type check.
8847         Avoid unneeded type checks in subbufer code.
8848
8849 2006-06-12  Wim Taymans  <wim@fluendo.com>
8850
8851         * gst/gst.c: (gst_debug_help):
8852         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8853         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8854         (gst_plugin_feature_list_free):
8855         * gst/gstregistry.c: (gst_registry_add_plugin),
8856         (gst_registry_add_feature), (gst_registry_plugin_filter),
8857         (gst_registry_feature_filter), (gst_registry_find_plugin),
8858         (gst_registry_find_feature), (gst_registry_get_plugin_list),
8859         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8860         * gst/gstregistryxml.c: (load_feature),
8861         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8862         * gst/gstminiobject.c: (gst_mini_object_unref),
8863         (gst_mini_object_replace), (gst_value_mini_object_free),
8864         (gst_value_mini_object_copy):
8865         Use _CAST macros to avoid unneeded type checking.
8866         Added some more G_UNLIKELY.
8867
8868 2006-06-12  Wim Taymans  <wim@fluendo.com>
8869
8870         * gst/gstbuffer.h:
8871         Avoid unneeded type checking.
8872         API: GST_BUFFER_IS_DISCONT
8873
8874         * gst/gstminiobject.h:
8875         Avoid type check in flag accessor.
8876
8877         * gst/gstelementfactory.h:
8878         * gst/gstplugin.h:
8879         * gst/gstpluginfeature.h:
8880         Add _CAST macros.
8881         API: GST_ELEMENT_FACTORY_CAST
8882         API: GST_PLUGIN_CAST
8883         API: GST_PLUGIN_FEATURE_CAST
8884
8885 2006-06-12  Wim Taymans  <wim@fluendo.com>
8886
8887         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8888         (gst_object_unref):
8889         Add G_UNLIKELY in type registration.
8890         Avoid type check in _ref/_unref since that is also
8891         done in glib.
8892
8893 2006-06-12  Wim Taymans  <wim@fluendo.com>
8894
8895         * gst/gsterror.c: (gst_g_error_get_type):
8896         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8897         (gst_static_pad_template_get_type):
8898         * gst/gsttaglist.c: (gst_tag_list_get_type):
8899         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8900         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8901         * gst/gsturi.c: (gst_uri_handler_get_type):
8902         * gst/gstvalue.c: (gst_date_get_type):
8903         * gst/gstxml.c: (gst_xml_get_type):
8904         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8905         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8906         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8907         Add G_UNLIKELY in type registration.
8908
8909 2006-06-12  Wim Taymans  <wim@fluendo.com>
8910
8911         * tools/gst-inspect.c: (print_signal_info):
8912         Properly print enum values.
8913
8914 2006-06-12  Wim Taymans  <wim@fluendo.com>
8915
8916         * gst/gstinfo.c: (gst_debug_set_active),
8917         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8918         * gst/gstinfo.h:
8919         Add some G_[UN]LIKELY.
8920         Maintain __gst_debug_min to avoid formatting the arguments of
8921         debug messages that will be dropped anyway to avoid a lot of 
8922         overhead from the debugging system.
8923
8924 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8925
8926         * po/POTFILES.in:
8927         * po/POTFILES.skip:
8928           add missing files containing translatable strings, tell intltool about
8929           one exception
8930
8931 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8932
8933         * tests/check/libs/.cvsignore:
8934         add test-binary to ignore list
8935
8936 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8937
8938         * docs/libs/gstreamer-libs-docs.sgml:
8939         reorder (put dp into a chapter) and indent
8940
8941 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8942
8943         * configure.ac:
8944           back to HEAD
8945
8946 === release 0.10.8 ===
8947
8948 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
8949
8950         * configure.ac:
8951           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8952
8953 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8954
8955         * gst/gst.c: (init_post):
8956           move pid declaration to declaration block
8957
8958 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8959
8960         * gst/gst.c: (init_post):
8961           use _exit() instead of exit() in our forked child; this ensures
8962           that none of the registered exit handlers from whatever is using
8963           GStreamer get executed.  This fixes gnome-mixer-applet failing
8964           to load, because ORBit would shut down.
8965           Spotted by: Edward Hervey  <edward@fluendo.com>
8966           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
8967           Fixes #344474
8968
8969 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8970
8971         * configure.ac:
8972           back to TRUNK
8973
8974 === release 0.10.7 ===
8975
8976 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
8977
8978         * configure.ac:
8979           releasing 0.10.7, "Soepeke, ik zie ou"
8980
8981 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8982
8983         * configure.ac:
8984         * po/af.po:
8985         * po/az.po:
8986         * po/bg.po:
8987         * po/ca.po:
8988         * po/cs.po:
8989         * po/de.po:
8990         * po/en_GB.po:
8991         * po/fr.po:
8992         * po/it.po:
8993         * po/nb.po:
8994         * po/nl.po:
8995         * po/ru.po:
8996         * po/sq.po:
8997         * po/sr.po:
8998         * po/sv.po:
8999         * po/tr.po:
9000         * po/uk.po:
9001         * po/vi.po:
9002         * po/zh_CN.po:
9003         * po/zh_TW.po:
9004         * win32/common/config.h:
9005           0.10.6.2 prerelease
9006
9007 2006-06-07  Wim Taymans  <wim@fluendo.com>
9008
9009         * gst/gstindex.c: (gst_index_gtype_resolver):
9010         * tools/gst-xmlinspect.c: (print_plugin_info):
9011         Fix leak spotted by coverity checker. Fixes #343827
9012         Fix another other leak found by paolo borelli.
9013
9014 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9015
9016         * libs/gst/dataprotocol/dataprotocol.c:
9017         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9018         (gst_dp_version_get_type), (gst_dp_init),
9019         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
9020         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
9021         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
9022         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
9023         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
9024         (gst_dp_packetizer_free):
9025         * libs/gst/dataprotocol/dataprotocol.h:
9026           API: add a GstDPPacketizer object, and create/free functions
9027           API: add GstDPVersion enum
9028           Add 1.0 event function that uses the string serialization
9029           Serialize more useful buffer flags
9030           Fixes #343988
9031
9032 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9033
9034         * tests/check/Makefile.am:
9035         * tests/check/gst/gstabi.c:
9036         * tests/check/gst/struct_ppc64.h:
9037         * tests/check/libs/libsabi.c:
9038         * tests/check/libs/struct_ppc64.h:
9039           add ppc64 structure sizes
9040
9041 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9042
9043         * tests/check/Makefile.am:
9044         * tests/check/gst/gstabi.c:
9045         * tests/check/gst/struct_x86_64.h:
9046         * tests/check/libs/libsabi.c:
9047         * tests/check/libs/struct_x86_64.h:
9048           generate and add structure size lists for x86_64
9049
9050 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9051
9052         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9053         * libs/gst/check/gstcheck.h:
9054           factor out the method from tests that checks size of structures,
9055           and add code to generate the header containing these sizes
9056         * tests/check/gst/gstabi.c: (GST_START_TEST):
9057         * tests/check/gst/struct_i386.h:
9058         * tests/check/libs/libsabi.c: (GST_START_TEST):
9059         * tests/check/libs/struct_i386.h:
9060           use it
9061
9062 2006-06-06  Michael Smith  <msmith@fluendo.com>
9063
9064         * gst/gstsegment.h:
9065           Don't use c++-style comments, fixes #343929
9066
9067 2006-06-05  Edward Hervey  <edward@fluendo.com>
9068
9069         * gst/gst.c:
9070         plugin_paths is not used if we build without registry support.
9071
9072         * gst/gstsegment.c: (gst_segment_copy): 
9073         _copy() was always returning NULL...
9074
9075 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9076
9077         * libs/gst/dataprotocol/dataprotocol.c:
9078         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9079         (gst_dp_packet_from_event):
9080           factor out CRC code
9081
9082 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9083
9084         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9085           make sure we unset caps
9086
9087 2006-06-02  Michael Smith  <msmith@fluendo.com>
9088
9089         * libs/gst/check/gstcheck.c: (gst_check_init),
9090         (gst_check_chain_func):
9091         * libs/gst/check/gstcheck.h:
9092           Add a cond/mutex to the check support lib, signal this whenever we
9093           add to the buffers list. This will allow tests to not busy-wait on
9094           the buffer-list.
9095
9096 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9097
9098         * libs/gst/dataprotocol/dataprotocol.c:
9099         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9100         (gst_dp_packet_from_event):
9101           factor out some common header init code
9102
9103 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9104
9105         * docs/libs/gstreamer-libs-sections.txt:
9106         * docs/libs/tmpl/gstdataprotocol.sgml:
9107         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9108         * libs/gst/dataprotocol/dataprotocol.h:
9109           API: make gst_dp_crc() public
9110
9111 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9112
9113         * plugins/indexers/gstindexers.c: (plugin_init):
9114         conditionally register fileindexer (fixes #343598)
9115
9116 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9117
9118         * gst/gsttagsetter.h:
9119         Can't cast ifaces to a class
9120
9121         * libs/gst/net/gstnetclientclock.h:
9122         * libs/gst/net/gstnettimeprovider.h:
9123         * plugins/elements/gstfakesink.h:
9124         * plugins/elements/gstfakesrc.h:
9125         * plugins/elements/gstfdsink.h:
9126         * plugins/elements/gstfdsrc.h:
9127         * plugins/elements/gstfilesink.h:
9128         * plugins/elements/gstfilesrc.h:
9129         * plugins/elements/gstidentity.h:
9130         * plugins/elements/gstqueue.h:
9131         * plugins/elements/gsttee.h:
9132         * plugins/indexers/gstfileindex.c:
9133         * plugins/indexers/gstmemindex.c:
9134         * tests/old/examples/plugins/example.h:
9135         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9136
9137 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9138
9139         * libs/gst/dataprotocol/dataprotocol.c:
9140         (gst_dp_header_from_buffer):
9141           make sure we zero the whole ABI-compatible area
9142
9143 2006-06-01  Wim Taymans  <wim@fluendo.com>
9144
9145         Patch by: Alessandro Decina <alessandro at nnva dot org>
9146
9147         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9148         Make sure the EOS flag is cleared from pads after a flush
9149         or stop. Fixes #343538.
9150
9151         * tests/check/libs/collectpads.c: (GST_START_TEST),
9152         (gst_collect_pads_suite):
9153         Added test for collectpads reusage after EOS.
9154
9155 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
9156
9157         * gst/gst.c:
9158          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9159         * win32/common/libgstbase.def:
9160          export gst_collect_pads_set_flushing
9161         * win32/common/libgstreamer.def:
9162          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9163          gst_value_fraction_multiply
9164         * win32/vs6/gst_inspect.dsp:
9165          add a link to intl.lib
9166
9167 2006-05-30  Wim Taymans  <wim@fluendo.com>
9168
9169         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9170         (gst_collect_pads_chain):
9171         Handle the case where a pad is removed from the collection
9172         that could cause the other pads to become collectable.
9173
9174 2006-05-30  Wim Taymans  <wim@fluendo.com>
9175
9176         * gst/gstelement.c:
9177         Clarify the use of _release_request_pad() and
9178         _get_request_pad() a bit better.
9179
9180         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9181         (gst_adapter_take_buffer):
9182         Fix some doc and comment typos.
9183
9184 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9185
9186         * docs/gst/gstreamer-sections.txt:
9187         * docs/libs/gstreamer-libs-sections.txt:
9188           add declared symbols
9189
9190 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
9191
9192         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9193         Add debug that can be enabled using a #define at the top of the file,
9194         for dumping stats about how late/early we were when waking up from
9195         waiting on the clock.
9196
9197 2006-05-30  Wim Taymans  <wim@fluendo.com>
9198
9199         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9200         When rebuilding the pad list, don't leak the previous list.
9201
9202 2006-05-30  Wim Taymans  <wim@fluendo.com>
9203
9204         Patch by: Lutz Mueller <lutz at topfrose dot de>
9205
9206         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9207         (gst_base_src_get_query_types), (gst_base_src_update_length):
9208         Publish supported query types.
9209         Update last_stop field in get_range mode so the position
9210         query works. Fixes #342321.
9211
9212 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
9213
9214         * docs/gst/gstreamer-sections.txt:
9215         * gst/gsttaglist.c: (_gst_tag_initialize):
9216         * gst/gsttaglist.h:
9217           API: add GST_TAG_PREVIEW_IMAGE (#343341).
9218
9219 2006-05-30  Wim Taymans  <wim@fluendo.com>
9220
9221         Patch by: Alessandro Decina <alessandro at nnva dot org>
9222
9223         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9224         Unlock mutex when removing an unknown pad.
9225         Fixes #343334.
9226
9227         * tests/check/Makefile.am:
9228         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9229         (push_event), (setup), (teardown), (GST_START_TEST),
9230         (gst_collect_pads_suite), (main):
9231         Added collecpads check, disabled for now as check crashes for
9232         some reason.
9233
9234 2006-05-29  Wim Taymans  <wim@fluendo.com>
9235
9236         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9237         Don't leak pads lists.
9238
9239 2006-05-29  Wim Taymans  <wim@fluendo.com>
9240
9241         * docs/libs/gstreamer-libs-sections.txt:
9242         * libs/gst/base/gstcollectpads.c:
9243         (gst_collect_pads_set_flushing_unlocked),
9244         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9245         (gst_collect_pads_stop):
9246         * libs/gst/base/gstcollectpads.h:
9247         API: gst_collect_pads_set_flushing()
9248         Added api to set the pads to flushing, useful for seeking
9249         code in elements using collectpads.
9250         Clear segment when receiving a flush.
9251
9252 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
9253
9254         * gst/gst.c: (add_path_func), (init_post):
9255           Don't scan registry paths passed via --gst-plugin-path immediately
9256           (will crash, because absolutely nothing is set up and no types are
9257           registered etc.); do this later in init_post(). Fixes #343057.
9258
9259 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9260
9261         * gst/gst.c: (init_post):
9262           if we have fork, fork while reading/rebuilding the registry
9263           so the parent doesn't take the hit of having all plugins loaded
9264           in memory.  Fixes #342777.
9265         * configure.ac:
9266           Check if we have fork()
9267         * win32/common/config.h.in:
9268           no fork() on win32
9269
9270 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9271
9272         * plugins/elements/gstelements.c:
9273         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9274         (gst_file_src_init), (gst_file_src_set_property),
9275         (gst_file_src_get_property), (gst_file_src_start):
9276         * plugins/elements/gstfilesrc.h:
9277           API: GstFileSrc::use-mmap
9278
9279         Add a use-mmap property to enable easier testing of all code paths.
9280         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9281         in the absence of gnomevfssrc. (Closes #340501)
9282
9283 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9284
9285         * tools/gst-inspect.c:
9286         Add missing include, removes warning of ngettext not being defined on
9287         some arches.
9288
9289 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9290
9291         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9292         Handle NULL input and output pointers silently as a failed conversion,
9293         rather than g_warnings.
9294
9295 2006-05-25  Wim Taymans  <wim@fluendo.com>
9296
9297         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9298         Initialize variable before using. Fixes #342820.
9299
9300 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
9301
9302         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9303           Fix off-by-one bug that would only allow peeks of N-1 bytes
9304           from the start even if the buffer to typefind on contains
9305           in fact N bytes of data (makes vorbis typefinding from a
9306           vorbis identification header buffer work).
9307
9308         * tests/check/Makefile.am:
9309         * tests/check/libs/.cvsignore:
9310         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9311         (gst_typefindhelper_suite), (main), (foobar_typefind),
9312         (plugin_init):
9313           Add very basic unit test for gst_type_find_helper_for_buffer()
9314           that checks for the problem fixed above.
9315
9316 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9317
9318         * tools/gst-inspect.c: (print_interfaces),
9319         (print_element_properties_info), (print_element_list), (main):
9320           add more translatable strings
9321
9322 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
9323
9324         Patch by: Julien Moutte  <julien at moutte net>
9325
9326         * docs/gst/gstreamer-sections.txt:
9327           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9328           
9329         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9330         (gst_fake_sink_preroll):
9331         * plugins/elements/gstfakesink.h:
9332           API: Add new GstFakeSink::preroll-handoff signal (#337100).
9333
9334 2006-05-23  Wim Taymans  <wim@fluendo.com>
9335
9336         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9337         * gst/gstpad.h:
9338         Added _CUSTOM error and success GstFlowReturn that can be
9339         used be elements internally. 
9340         Added macro to check for SUCCESS flowreturns.
9341         API: GST_FLOW_CUSTOM_SUCCESS
9342         API: GST_FLOW_CUSTOM_ERROR
9343         API: GST_FLOW_IS_SUCCESS
9344
9345         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9346         Added check for GstFlowReturn sanity.
9347
9348 2006-05-23  Wim Taymans  <wim@fluendo.com>
9349
9350         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9351
9352         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9353         (gst_collect_pads_event):
9354         clear/reset segment info in FLUSH_STOP.
9355         Fixes #336929.
9356
9357 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
9358
9359         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9360         (gst_collect_pads_check_collected):
9361         Flush queued buffer on _stop(), fixes playing again (#342454)
9362
9363 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9364
9365         * tests/check/gst/gststructure.c: (GST_START_TEST),
9366         (gst_structure_suite):
9367           add a test for a complete structure
9368
9369 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9370
9371         * docs/faq/developing.xml:
9372         * docs/faq/faq.xml:
9373         * docs/faq/troubleshooting.xml:
9374         * docs/faq/using.xml:
9375           Some minor FAQ updates that won't change the fact that
9376           our FAQ is badly structured, full of information hardly
9377           anyone new to GStreamer needs to know and lacking lots
9378           of information people constantly ask for.
9379           
9380 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
9381
9382         * gst/gstpad.c: (gst_pad_set_caps):
9383           Short-circuit gst_pad_set_caps if setting the existing
9384           caps pointer again, and avoid printing debug and 
9385           reffing/unreffing the caps.
9386
9387         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9388           There's actually no need to set the caps before pushing -
9389           the acceptcaps method will handle it anyway.
9390
9391 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9392
9393         * docs/gst/gstreamer-sections.txt:
9394         * win32/common/libgstreamer.def:
9395         * gst/gstutils.c: (gst_element_seek_simple):
9396         * gst/gstutils.h:
9397           API: add gst_element_seek_simple() (#342238).
9398
9399 2006-05-18  Edward Hervey  <edward@fluendo.com>
9400
9401         * gst/gsttypefind.c: (gst_type_find_get_type):
9402         * gst/gsttypefind.h:
9403         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9404         registered for GstTypeFind pointers. This allows wrapping the structure
9405         in bindings (i.e. gst-python).
9406
9407 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9408
9409         * gst/gsttagsetter.c:
9410           Docs additions and fixes (see #339918).
9411
9412 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9413
9414         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9415         The caps intersection algorithm can produce multiple copies of the
9416         caps. Until that is fixed, we need to simplify the result to be
9417         sure whether the allowed caps are fixed or not.
9418
9419         * plugins/elements/gstqueue.c: (gst_queue_init),
9420         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9421         (gst_queue_push_one):
9422         Proxied buffer alloc should not set the caps on the source pad.
9423         When pushing buffers, we always accept the caps change that triggers.
9424         This prevents negotiation errors caused by caps changing mid-stream 
9425         and then being refused on our source pad (because upstream is now
9426         refusing those caps).
9427
9428 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9429
9430         * tests/examples/helloworld/helloworld.c: (main):
9431           Must plug audioconvert and audioresample between decoder
9432           and audio sink.
9433
9434 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
9435
9436         * gst/gstregistryxml.c: (read_string), (load_pad_template),
9437         (load_feature), (load_plugin):
9438         Allow empty strings for some of the plugin fields so we don't 
9439         drop valid plugin entries that were written out correctly
9440         (Fixes #341479)
9441
9442 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
9443         
9444         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9445           Use g_remove and g_rename instead of remove and rename that don't 
9446           handle utf8 characters. rename was failing for users who had specific
9447           characters in their name then the registry was built at each 
9448           gstreamer init.
9449         * win32/vs6/gst_inspect.dsp:
9450         * win32/vs6/gst_launch.dsp:
9451         * win32/vs6/libgstbase.dsp:
9452         * win32/vs6/libgstcoreelements.dsp:
9453         * win32/vs6/libgstreamer.dsp:
9454           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
9455           build of libgstreamer and clean unused libraries in projects link 
9456           settings.
9457
9458 2006-05-17  Edward Hervey  <edward@fluendo.com>
9459
9460         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9461         The queue is not responsible for pushing an EOS when receiving a fatal
9462         flow error. It's up to the real element driving the pipeline to do that.
9463
9464 2006-05-16  Edward Hervey  <edward@fluendo.com>
9465
9466         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9467         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9468         buffer returned a fatal error. It should just send an EOS and stop
9469         its task.
9470         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9471         when pushing buffers on the queue and will be able to handle the event.
9472
9473 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9474
9475         * docs/manual/basics-bins.xml:
9476         * docs/manual/basics-init.xml:
9477           Fix typos and minor errors in sample code (#341856).
9478
9479 2006-05-16  Wim Taymans  <wim@fluendo.com>
9480
9481         * docs/design/part-qos.txt:
9482         Fix indexes in formulas to make more sense.
9483
9484 2006-05-15  Wim Taymans  <wim@fluendo.com>
9485
9486         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9487         Don't report POSITION based on clock time if sync is
9488         disabled in a sink.
9489
9490 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
9491
9492         * gst/gstobject.h:
9493           Add cast to make compiler happy - refcount variable was a gint
9494           in GstObject but is a guint in GObject and g_atomic_int_get()
9495           wants a gint *.
9496
9497 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9498
9499         * gst/parse/Makefile.am:
9500           chain commands using &&, which also makes parallel make work
9501
9502 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
9503
9504         * docs/gst/gstreamer-sections.txt:
9505         * gst/gstevent.c:
9506         * gst/gstevent.h:
9507         * gst/gstmessage.h:
9508           Minor docs fixes.
9509
9510 === release 0.10.6 ===
9511
9512 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
9513
9514         * configure.ac:
9515           releasing 0.10.6, "Take the cannoli"
9516
9517 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9518
9519         * tools/gst-launch.c: (print_tag):
9520           Fix use of uninitialized variable in the hypothetical
9521           case that some broken plugin creates a GST_TAG_IMAGE
9522           tag containing a NULL buffer (#341667).
9523
9524 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9525
9526         * tools/gst-launch.c: (print_tag):
9527           Print something more intelligible for image tags when
9528           using the -t switch (#341556).
9529
9530 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9531
9532         * Makefile.am:
9533           updates for win32
9534         * configure.ac:
9535           define GST_MAJORMINOR so we have it available in win32/common/config.h
9536           Possibly remove it from our Makefile.am files later
9537         * win32/common/config.h:
9538         * win32/common/config.h.in:
9539           added GST_MAJORMINOR
9540         * win32/common/gstenumtypes.c: (register_gst_resource_error):
9541         * win32/common/gstversion.h:
9542           updated
9543
9544 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
9545
9546         * win32/MANIFEST:
9547           Update win32 files listing.
9548         * win32/common/gstversion.h:
9549           Add GST_MAJORMINOR definition.
9550         * win32/common/libgstreamer.def:
9551           Add new exported functions.
9552           
9553 2006-05-12  Michael Smith  <msmith@fluendo.com>
9554
9555         * gst/gstplugin.c: (gst_plugin_load_file):
9556           If an so file has no plugin entry point, unload the module.
9557
9558 2006-05-11  Wim Taymans  <wim@fluendo.com>
9559
9560         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9561         (gst_queue_set_property):
9562         Don't forget to signal the _chain or _loop function 
9563         when the queue size or thresholds change since that might
9564         cause them to make progres again.
9565
9566 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
9567
9568         * gst/gstclock.c: (gst_clock_class_init):
9569         * gst/gstindex.c: (gst_index_class_init):
9570         * gst/gstobject.c: (gst_object_class_init):
9571         * gst/gstpad.c: (gst_pad_class_init):
9572         * gst/gstpipeline.c: (gst_pipeline_class_init):
9573         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9574         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9575         * libs/gst/base/gstbasetransform.c:
9576         (gst_base_transform_class_init):
9577         * libs/gst/net/gstnetclientclock.c:
9578         (gst_net_client_clock_class_init):
9579         * libs/gst/net/gstnettimeprovider.c:
9580         (gst_net_time_provider_class_init):
9581         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9582         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9583         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9584         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9585         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9586         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9587         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9588         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9589         * plugins/elements/gsttee.c: (gst_tee_class_init):
9590         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9591         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9592           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9593
9594 2006-05-11  Wim Taymans  <wim@fluendo.com>
9595
9596         * gst/gstbuffer.c: (_gst_buffer_initialize):
9597         Register subbufer along with the buffer type so that
9598         it does not accidentally gets registered from N
9599         different streaming threads in a non threadsafe way.
9600
9601 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9602
9603         * gst/gstbuffer.h:
9604         * gst/gstevent.h:
9605         * gst/gstmessage.h:
9606           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9607           gst_event_ref() and gst_message_ref() functions again
9608           (ugly hack, please do fix if there's a better way besides
9609           overrides.txt, which doesn't seem to work).
9610
9611 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9612
9613         * libs/gst/check/gstcheck.h:
9614           add an assert for setting state to avoid lots of repetitive code
9615           in the future
9616
9617 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9618
9619         * gst/gstvalue.c: (gst_value_serialize_flags):
9620           fix a leak if no flags are set
9621         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9622           fix leak in tests
9623
9624 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9625
9626         * docs/manual/basics-pads.xml:
9627           Expand a bit on caps and filtered links and update
9628           examples that were still using the no longer existing
9629           gst_pad_link_filtered() (#338206).
9630
9631 2006-05-10  Wim Taymans  <wim@fluendo.com>
9632
9633         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9634         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9635         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9636         (gst_collect_pads_stop):
9637         * libs/gst/base/gstcollectpads.h:
9638         No need to call _stop in _finalize.
9639         Iterate the main pad list in _finalize.
9640         Added some more debug.
9641         Free lists and data in the right order.
9642         Also free data whem doing _remove_pad when stopped for
9643         backward compatibility protect ::started with PAD_LOCK as
9644         well.
9645
9646 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9647
9648         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9649         (gst_structure_parse_value):
9650           add some comments
9651           rename a method so that it actually says what it does better
9652
9653 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9654
9655         * gst/gstevent.c: (_gst_event_initialize):
9656         * gst/gstformat.c: (_gst_format_initialize):
9657           make sure some essential types used by events are registered
9658           as part of gst_init()
9659         * gst/gstvalue.c: (gst_value_serialize_flags):
9660           if no flags are set, serialize them to a value that represents NONE
9661           so that deserializing them works
9662         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9663           add tests for serialization and deserialization of flags
9664
9665 2006-05-10  Wim Taymans  <wim@fluendo.com>
9666
9667         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9668         (gst_collect_pads_collect_range), (gst_collect_pads_available),
9669         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9670         (gst_collect_pads_event), (gst_collect_pads_chain):
9671         Update docs.
9672         Better debug info.
9673         Catch and return errors from the collect function
9674         Refuse data on eos pads.
9675
9676 2006-05-10  Edward Hervey  <edward@fluendo.com>
9677
9678         * gst/gstinterface.h:
9679         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9680         GInterface type checking.
9681         They were previously using non-defined macros.
9682
9683 2006-05-09  Wim Taymans  <wim@fluendo.com>
9684
9685         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9686         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9687         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9688         (gst_collect_pads_start), (gst_collect_pads_stop),
9689         (gst_collect_pads_peek), (gst_collect_pads_pop),
9690         (gst_collect_pads_available), (gst_collect_pads_read),
9691         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9692         (gst_collect_pads_is_collected), (gst_collect_pads_event),
9693         (gst_collect_pads_chain):
9694         * libs/gst/base/gstcollectpads.h:
9695         Clean up the mess that is collectpads, add comments and
9696         FIXMEs where needed.
9697         Maintain a separate pad list so we can add pads while
9698         collecting the other ones. For this we need a new separate 
9699         lock (see comics).
9700         Fix memory leak in finalize.
9701         Refactor some weird code to set/unset pad flushing flags, mark
9702         with comments.
9703         Don't crash in _available, _read, _flush when we're EOS.
9704
9705         * tests/check/libs/.cvsignore:
9706         Ignore adapter check binary.
9707
9708 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9709
9710         * gst/gstindex.c: (gst_index_resolver_get_type):
9711         * plugins/elements/gstfakesink.c:
9712         (gst_fake_sink_state_error_get_type):
9713         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9714         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9715         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9716           Const-ify GEnumValue arrays.
9717
9718 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9719
9720         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9721           Add test case for flags + gst_buffer_make_metadata_writable().
9722
9723 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9724
9725         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9726           gst_buffer_make_metadata_writable() should maintain the
9727           buffer flags (those that make sense at least) (see #340859).
9728
9729 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9730
9731         * tools/gst-inspect.c:
9732         * tools/gst-launch.c:
9733         * tools/gst-typefind.c:
9734         * tools/gst-xmlinspect.c:
9735         * tools/tools.h:
9736           Fix up includes: need to include stdlib.h in tools.h for exit().
9737
9738 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9739
9740         * gst/gsttaglist.c: (_gst_tag_initialize):
9741         * gst/gsttaglist.h:
9742           API: add GST_TAG_IMAGE tag (#340721).
9743
9744 2006-05-08  Wim Taymans  <wim@fluendo.com>
9745
9746         * gst/gstquery.c:
9747         Added some docs for the segment query.
9748
9749 2006-05-08  Wim Taymans  <wim@fluendo.com>
9750
9751         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9752         (gst_base_src_loop), (gst_base_src_change_state):
9753         Always push non-flushing serialized events in the streaming 
9754         thread.
9755
9756 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9757
9758         * gst/gsterror.c: (_gst_stream_errors_init):
9759           Add a missing error string.
9760
9761 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
9762
9763         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9764         Add applied_rate to the debug
9765
9766         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9767         Copy applied_rate into the outgoing NEWSEGMENT event
9768
9769 2006-05-08  Wim Taymans  <wim@fluendo.com>
9770
9771         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9772
9773         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9774         (gst_base_sink_change_state):
9775         call ::unlock before taking the PREROLL_LOCK so we can safely
9776         handle elements that lock in ::render.
9777         Fixes #340174.
9778
9779 2006-05-08  Edward Hervey  <edward@fluendo.com>
9780
9781         * autogen.sh: (CONFIGURE_DEF_OPT): 
9782         Darwin's libtoolize is in fact called glibtoolize.
9783         Adding glibtoolize to the list of accepted names for libtoolize.
9784
9785 2006-05-08  Wim Taymans  <wim@fluendo.com>
9786
9787         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9788         Unify error handling, don't post an error message
9789         when a push() returns EOS but perform our normal EOS
9790         handling code. Fixes #340772.
9791
9792 2006-05-08  Wim Taymans  <wim@fluendo.com>
9793
9794         * docs/design/part-overview.txt:
9795         Make upsteam/downstream concepts more clear.
9796         Give an example of serialized/non-serialized events.
9797
9798         * docs/design/part-events.txt:
9799         * docs/design/part-streams.txt:
9800         Mention applied_rate.
9801
9802         * docs/design/part-trickmodes.txt:
9803         Mention applied rate, flesh out some more use cases.
9804
9805         * gst/gstevent.c: (gst_event_new_new_segment),
9806         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9807         (gst_event_parse_new_segment_full), (gst_event_new_tag),
9808         (gst_event_parse_tag), (gst_event_new_buffer_size),
9809         (gst_event_parse_buffer_size), (gst_event_new_qos),
9810         (gst_event_parse_qos), (gst_event_parse_seek),
9811         (gst_event_new_navigation):
9812         * gst/gstevent.h:
9813         Add applied_rate field to NEWSEGMENT event.
9814         API: gst_event_new_new_segment_full()
9815         API: gst_event_parse_new_segment_full()
9816
9817         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9818         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9819         (gst_segment_to_stream_time), (gst_segment_to_running_time):
9820         * gst/gstsegment.h:
9821         Add applied_rate to GstSegment structure.
9822         Make calculation of stream_time and running_time more correct
9823         wrt rate/applied_rate.
9824         Add some more docs.
9825         API: GstSegment::applied_rate field
9826         API: gst_segment_set_newsegment_full();
9827
9828         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9829         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9830         * libs/gst/base/gstbasetransform.c:
9831         (gst_base_transform_sink_eventfunc),
9832         (gst_base_transform_handle_buffer):
9833         Parse and use applied_rate in the GstSegment field.
9834
9835         * tests/check/gst/gstevent.c: (GST_START_TEST):
9836         Add check for applied_rate field.
9837
9838         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9839         (gstsegments_suite):
9840         Add more checks for various GstSegment operations.
9841
9842 2006-05-08  Wim Taymans  <wim@fluendo.com>
9843
9844         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9845         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9846         (gst_base_sink_get_position), (gst_base_sink_change_state):
9847         Store the sync time of the buffer end position separatly in a
9848         new variable eos_rtime so we can properly sync the EOS event.
9849         Fixes #340697.
9850         Fix the docs for gst_base_sink_set_qos_enabled().
9851         Don't set segment start to invalid value when we receive a 
9852         non TIME newsegment.
9853         get closer to handling position reporting for negative rates 
9854         correctly.
9855
9856 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9857
9858         * gst/gstcaps.c:
9859         Docs about how to print caps for debug purposes.
9860
9861         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9862         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9863
9864 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9865
9866         * gst/gstelement.c:
9867           use full enum names and preprend a '%' in docs strings to make recent 
9868           gtk-doc turn that into a link
9869
9870 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9871
9872         * docs/manual/basics-bins.xml:
9873         * docs/manual/basics-bus.xml:
9874         * docs/manual/basics-pads.xml:
9875           Some typo fixes, some additions, some clarifications. 
9876
9877 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9878
9879         * tools/gst-inspect.c: (main):
9880         * tools/gst-launch.c: (main):
9881         * tools/gst-run.c: (main):
9882         * tools/gst-typefind.c: (main):
9883         * tools/gst-xmlinspect.c: (main):
9884           Use the string passed to g_option_context_new() for
9885           what it's intended for - the program name is already
9886           printed elsewhere.
9887
9888 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9889
9890         * tools/Makefile.am:
9891         * tools/gst-inspect.c: (main):
9892         * tools/gst-launch.c: (main):
9893         * tools/gst-xmlinspect.c: (main):
9894         * tools/tools.h:
9895           Add back --version command line option (#340460).
9896
9897         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9898           Add --version option and use GOption for argument parsing; refactor a
9899           bit; accept directories as arguments and recurse into them; lastly,
9900           print a decent error message when things go wrong.
9901
9902 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9903
9904         * docs/manual/basics-bins.xml:
9905         Don't mention GstThread (#340611)
9906         * docs/manual/basics-elements.xml:
9907         Update link to GObject tutorial (#340607)
9908         
9909 2006-05-05  Wim Taymans  <wim@fluendo.com>
9910
9911         * gst/gstbuffer.h:
9912         * gst/gstminiobject.c:
9913         Add note about refcounting and miniobject/buffer writeability
9914         to docs. Fixes #340604
9915
9916         * gst/gstelementfactory.h:
9917         Added some explanation about @klass.
9918
9919 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9920
9921         * docs/manual/intro-motivation.xml:
9922         * docs/manual/manual.xml:
9923         Avoid CORBA & Bonobo references (#340598)
9924
9925 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9926
9927         * docs/manual/basics-bus.xml:
9928         * docs/manual/basics-pads.xml:
9929         Fix up some inaccuracies and omissions (#340609)
9930         
9931 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9932
9933         * gst/gstghostpad.c:
9934           Small typo in docs (#340625)
9935
9936 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9937
9938         * gst/parse/Makefile.am:
9939           Make 'make -j' proof (see #340698).
9940
9941 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9942
9943         * configure.ac:
9944           Require GLib-2.8 here as well.
9945
9946 2006-05-05  Wim Taymans  <wim@fluendo.com>
9947
9948         * gst/glib-compat.c:
9949         * gst/gst.c: (init_pre):
9950         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9951         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9952         (gst_object_dispatch_properties_changed):
9953         * gst/gstobject.h:
9954         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9955         * gst/gststructure.c: (gst_structure_set_valist):
9956         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9957         Remove pre glib2.8 compatibility, fixes #340508
9958
9959 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9960
9961         * gst/gsttaglist.h:
9962           Mention type of tags in doc blurbs.
9963
9964 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
9965
9966         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9967         (gst_pad_configure_src), (gst_pad_push):
9968         Restore acceptcaps checking behaviour now that good plugins have
9969         been released.
9970
9971 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9972
9973         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9974
9975         * gst/gst.c:
9976         * gst/gstbus.c:
9977         * gst/gstclock.c:
9978         * gst/gstevent.c:
9979         * gst/gstformat.c:
9980         * gst/gstmessage.c:
9981         * gst/gstparse.c:
9982         * gst/gstquery.c:
9983         * gst/gstutils.c:
9984         * gst/parse/Makefile.am:
9985         * libs/gst/base/gstadapter.c:
9986         * libs/gst/base/gstbasesrc.c:
9987         * libs/gst/base/gstpushsrc.c:
9988         * libs/gst/base/gsttypefindhelper.c:
9989         * plugins/elements/gstfakesrc.c:
9990         * plugins/elements/gstidentity.c:
9991           Make sure gstprivate.h and/or config.h are
9992           always included first, otherwise some of our
9993           defines (like _FILE_OFFSET_BITS) might be
9994           redefined in the system headers. Fixes build
9995           on opensolaris (#340016).
9996
9997 2006-05-04  Wim Taymans  <wim@fluendo.com>
9998
9999         * docs/libs/gstreamer-libs-sections.txt:
10000         API: addition: gst_adapter_take_buffer()
10001         
10002         * libs/gst/base/gstadapter.c: (gst_adapter_push),
10003         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
10004         (gst_adapter_available_fast):
10005         * libs/gst/base/gstadapter.h:
10006         Prepare for optimizing the hell out of this hugely inefficient
10007         piece of code. 
10008         Added gst_adapter_take_buffer() so we can at least start thinking
10009         about subbuffering and merging.
10010         Added some comments.
10011
10012         * tests/check/Makefile.am:
10013         * tests/check/libs/adapter.c: (GST_START_TEST),
10014         (gst_adapter_suite), (main):
10015         Added GstAdapter check.
10016
10017 2006-05-04  Wim Taymans  <wim@fluendo.com>
10018
10019         * docs/design/part-overview.txt:
10020         Fix some typos, add blurb about buffer flags.
10021
10022 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10023
10024         * docs/libs/gstreamer-libs-sections.txt:
10025           make sure GstBaseTransformClass shows up in the docs
10026         * libs/gst/base/gstbasetransform.c:
10027         * libs/gst/base/gstbasetransform.h:
10028           move docs so gtk-doc picks it up now
10029
10030 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10031
10032         * docs/libs/gstreamer-libs-sections.txt:
10033           add missing symbols to docs
10034
10035 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10036
10037         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10038           back out the newsegment handling change, see #340060 for ongoing
10039           discussion
10040
10041 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
10042
10043         * tools/gst-run.c: (get_candidates), (main):
10044           Fix wrong g_file_test() usage (see glib docs for why it doesn't
10045           work); fix typo in error message. Fixes #340079.
10046
10047 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10048
10049         * common/Makefile.am:
10050         * docs/Makefile.am:
10051         * docs/faq/Makefile.am:
10052         * docs/gst/Makefile.am:
10053         * docs/libs/Makefile.am:
10054         * docs/manual/Makefile.am:
10055         * docs/plugins/Makefile.am:
10056         * docs/pwg/Makefile.am:
10057         * docs/slides/Makefile.am:
10058         * docs/upload.mak:
10059         * common/upload.mak:
10060           move upload.mak to common
10061
10062 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10063
10064         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10065           add more asserts on refcounts
10066           do more cleanup at end of tests
10067           fix test leaks showing in FC5
10068
10069 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
10070
10071         * plugins/elements/gsttypefindelement.c:
10072         (gst_type_find_element_handle_event):
10073         reverted wrong change and reflowed code to avoid others falling into
10074         this trap
10075
10076 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10077
10078         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10079           fix changelog entry about last collectpads change,
10080           add notes about proper fix
10081
10082 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10083
10084         * gst/gst.c:
10085         * gst/gstregistry.c: (gst_registry_scan_path_level),
10086         (gst_registry_scan_path):
10087         * gst/gstregistry.h:
10088           only write out registry if it has changed, fixes #338339
10089
10090 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10091
10092         * gst/gstbin.c:
10093         * gst/gstpipeline.c:
10094         * plugins/elements/gstcapsfilter.c:
10095         * plugins/elements/gstfakesink.c:
10096         * plugins/elements/gstfakesrc.c:
10097         * plugins/elements/gstfdsink.c:
10098         * plugins/elements/gstfdsrc.c:
10099         * plugins/elements/gstfilesink.c:
10100         * plugins/elements/gstfilesrc.c:
10101         * plugins/elements/gstidentity.c:
10102         * plugins/elements/gstqueue.c:
10103         * plugins/elements/gsttee.c:
10104         * plugins/elements/gsttypefindelement.c:
10105         (gst_type_find_element_handle_event):
10106           make GstElementDetails const
10107
10108 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10109
10110         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10111         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10112         (gst_collect_pads_is_collected), (gst_collect_pads_event):
10113           more detailed debug and formatting cleanup,
10114           forward newsegments to src-pad (so that e.g. adder not eats them)
10115
10116 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10117
10118         * gst/gstutils.c: (gst_element_link_pads):
10119           cleanup double code
10120
10121 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10122
10123         * libs/gst/controller/gstcontroller.c:
10124         (gst_controller_sync_values):
10125           some little tuning
10126         * tests/check/libs/controller.c: (GST_START_TEST),
10127         (gst_controller_suite):
10128           a new test for live value handling
10129
10130 2006-04-28  Wim Taymans  <wim@fluendo.com>
10131
10132         * gst/gstutils.c: (push_and_ref):
10133         Added some more docs.
10134         Fix refcount issue whith gst_element_found_tags() helper 
10135         function. Fixes #338335
10136
10137         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10138         Added testsuite for gst_element_found_tags().
10139
10140 2006-04-28  Michael Smith  <msmith@fluendo.com>
10141
10142         * gst/gstvalue.c: (gst_value_serialize_flags):
10143           Avoid NULL dereference when trying to serialize flags containing
10144           invalid values.
10145
10146 2006-04-28  Michael Smith  <msmith@fluendo.com>
10147
10148         * plugins/elements/gsttypefindelement.c:
10149         (gst_type_find_element_handle_event):
10150           If we get EOS before any data is accumulated, don't use
10151           uninitialised local variables.
10152
10153 2006-04-28  Michael Smith  <msmith@fluendo.com>
10154
10155         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10156         (gst_dp_event_from_packet):
10157           Fixes in reading/writing events over GDP (not currently used?) - 
10158           dereferencing NULL events for unknown/invalid event types, memory
10159           leak, and change g_warning to GST_WARNING.
10160
10161 2006-04-28  Wim Taymans  <wim@fluendo.com>
10162
10163         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10164         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10165         (gst_base_sink_get_position), (gst_base_sink_change_state):
10166         When frame dropping is enabled, we should not ignore frames
10167         without a duration.
10168         Update some documentation.
10169
10170 2006-04-28  Wim Taymans  <wim@fluendo.com>
10171
10172         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10173         (gst_base_src_send_event), (gst_base_src_change_state):
10174         Documentation updates.
10175
10176 2006-04-28  Wim Taymans  <wim@fluendo.com>
10177
10178         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10179         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10180         handle EAGAIN, EINTR and short writes correctly. Also clean
10181         up some error cases, avoid a deadlock on bad file descriptors and
10182         use GST_DEBUG_OBJECT.
10183         Fixes #339843
10184
10185 2006-04-28  Wim Taymans  <wim@fluendo.com>
10186
10187         * gst/gstvalue.c: (gst_value_serialize_buffer),
10188         (gst_value_deserialize_buffer):
10189         Don't try to serialize a GValue with a NULL buffer. 
10190         Fixes #339821.
10191
10192         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10193         Added check for serialisation of NULL buffers.
10194
10195 2006-04-28  Wim Taymans  <wim@fluendo.com>
10196
10197         * gst/gstminiobject.c: (gst_value_take_mini_object):
10198         Taking a NULL miniobject is valid, fix the case where
10199         we try to unref the NULL miniobject.
10200
10201 2006-04-28  Wim Taymans  <wim@fluendo.com>
10202
10203         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10204
10205         * gst/gstbin.c: (gst_bin_handle_message_func):
10206         Update docs.
10207         Don't leak bin refcount when a state recalc is
10208         in progress and we delay another one #339808.
10209
10210 2006-04-28  Wim Taymans  <wim@fluendo.com>
10211
10212         * docs/design/part-TODO.txt:
10213         Mention QoS as an ongoing work item.
10214
10215         * docs/design/part-buffering.txt:
10216         New doc about buffering that needs to be fleshed out
10217         at some point.
10218
10219         * docs/design/part-qos.txt:
10220         More QoS policy for decoders/demuxers/transforms
10221
10222         * docs/design/part-trickmodes.txt:
10223         Small update.
10224
10225 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10226
10227         * configure.ac:
10228           back to HEAD
10229
10230 === release 0.10.5 ===
10231
10232 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
10233
10234         * configure.ac:
10235           releasing 0.10.5, "Fogo"
10236
10237 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10238
10239         patch by: Wim Taymans
10240
10241         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10242         (gst_pad_configure_src), (gst_pad_push):
10243         * gst/gstpipeline.c: (gst_pipeline_init):
10244           Fix internal data flow errors.  Fixes #338711.
10245
10246 2006-04-12  Wim Taymans  <wim@fluendo.com>
10247
10248         * tests/check/gst/gstelement.c: (GST_START_TEST):
10249         Don't leak the factory.
10250
10251 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10252
10253         * configure.ac:
10254         * win32/common/config.h:
10255           prerelease
10256
10257 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
10258
10259         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10260         (gst_controller_unset_all):
10261           Free allocated GstTimedValues when freeing list nodes.
10262           Should fix leaks 'make check-valgrind' complains about.
10263
10264         * win32/common/libgstcontroller.def:
10265           Add gst_controller_unset_all.
10266
10267 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
10268
10269         * docs/libs/gstreamer-libs-sections.txt:
10270         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10271         (gst_controller_unset_all):
10272         * libs/gst/controller/gstcontroller.h:
10273         API: Added new method gst_controller_unset_all()
10274         fixed gst_controller_unset()
10275         * tests/check/libs/controller.c: (GST_START_TEST),
10276         (gst_controller_suite):
10277         Added two testcases for new and fixed method
10278
10279 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
10280
10281         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10282           MSG_DONTWAIT is not defined on Cygwin, so work
10283           around that (fixes #317048).
10284           
10285 2006-04-11  Wim Taymans  <wim@fluendo.com>
10286
10287         * gst/gstelementfactory.c: (gst_element_register),
10288         (gst_element_factory_create), (gst_element_factory_make):
10289         Some cleanups.
10290         Fixed a FIXME.
10291         Updated docs (Fixes #131079)
10292
10293         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10294         Small cleanups.
10295
10296         * tests/check/gst/gstelement.c: (GST_START_TEST),
10297         (gst_element_suite):
10298         Added testcase for elementfactory class field.
10299
10300 2006-04-10  Wim Taymans  <wim@fluendo.com>
10301
10302         * gst/gstsegment.c:
10303         Added some more docs.
10304
10305         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10306         (gst_base_sink_reset_qos):
10307         Calculate more accurate rate values.
10308
10309 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
10310
10311         * gst/gst_private.h:
10312           add a new #ifdef to use __declspec(dllimport) only for
10313           other modules and not for gstreamer core
10314         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10315           use gst_guint64_to_gdouble for conversion
10316         * win32/common/libgstreamer.def:
10317           add new exported functions
10318         * win32/vs6/gst_inspect.dsp:
10319         * win32/vs6/gst_launch.dsp:
10320         * win32/vs6/libgstbase.dsp:
10321         * win32/vs6/libgstcontroller.dsp:
10322         * win32/vs6/libgstcoreelements.dsp:
10323         * win32/vs6/libgstdataprotocol.dsp:
10324         * win32/vs6/libgstnet.dsp:
10325           update project files
10326
10327 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10328
10329         * gst/gstbuffer.c: (gst_subbuffer_class_init):
10330         * gst/gstclock.c: (gst_clock_class_init):
10331         * gst/gstelement.c: (gst_element_class_init):
10332         * gst/gstindex.c: (gst_index_class_init):
10333         * gst/gstindexfactory.c: (gst_index_factory_class_init):
10334         * gst/gstobject.c: (gst_object_class_init),
10335         (gst_signal_object_class_init):
10336         * gst/gstpad.c: (gst_pad_class_init):
10337         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10338         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10339         * gst/gstregistry.c: (gst_registry_class_init):
10340         * gst/gstsystemclock.c: (gst_system_clock_class_init):
10341         * gst/gsttask.c: (gst_task_class_init):
10342         * gst/gstxml.c: (gst_xml_class_init):
10343         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10344         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10345         (gst_base_src_loop):
10346         * libs/gst/controller/gstcontroller.c:/
10347         (_gst_controller_class_init):
10348         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10349         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10350         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10351         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10352         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10353         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10354
10355 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
10356
10357         * gst/gstpad.c: (gst_pad_link):
10358           Must set peer pads before calling the link function, otherwise
10359           a task started from a link function might get a flow-not-linked
10360           result when trying to push because the other thread where the
10361           linking happens hasn't had a chance to set the peers yet. This
10362           might happen for example when a queue gets linked to a downstream
10363           element, as queue starts a streaming task when its source pad
10364           gets linked. Happens in real life when playing back flac/musepack
10365           files in playbin (#332390).
10366           
10367 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10368
10369         * gst/gstindex.h:
10370         * gst/gstxml.h:
10371         * libs/gst/base/gstadapter.h:
10372         * libs/gst/base/gstbasesink.h:
10373         * libs/gst/base/gstbasesrc.h:
10374         * libs/gst/base/gstbasetransform.h:
10375         * libs/gst/base/gstcollectpads.h:
10376         * libs/gst/base/gstpushsrc.h:
10377         Fix broken GObject macros
10378
10379 2006-04-07  Wim Taymans  <wim@fluendo.com>
10380
10381         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10382         Initialize start and stop times, thanks valgrind.
10383
10384 2006-04-07  Wim Taymans  <wim@fluendo.com>
10385
10386         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10387         Be a bit nicer to badly behaving upstream elements that expect
10388         us to deal with non TIME segments and timestamps (such as fakesrc
10389         in the testsuite).
10390
10391 2006-04-07  Wim Taymans  <wim@fluendo.com>
10392
10393         * gst/gstbus.c:
10394         Small documentation clarification about the signal watch.
10395
10396         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10397         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10398         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10399         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10400         (gst_base_sink_get_position_last),
10401         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10402         Convert and store timestamps in stream time and running time, the
10403         raw timestamps are not useful, also document this better.
10404         Use different window sizes for good and bad QoS observations so
10405         we react to badness a little quicker.
10406         Keep track of the amount of rendered and dropped buffers.
10407         Send QoS timestamps in running time.
10408
10409         * libs/gst/base/gstbasetransform.c:
10410         (gst_base_transform_sink_eventfunc),
10411         (gst_base_transform_handle_buffer):
10412         Compare QoS timestamps against running time.
10413
10414 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10415
10416         * gst/gstpad.c:
10417           Typo fixes in docs.
10418
10419 2006-04-06  Michael Smith  <msmith@fluendo.com>
10420
10421         * gst/gstpad.c: (gst_pad_set_property):
10422           Use g_value_get_object() instead of g_value_dup_gst_object(),
10423           to avoid double-reffing the pad template (which we then sink,
10424           so this worked previously if (and only if) the pad template
10425           was floating.
10426
10427         * gst/gstpadtemplate.c: (gst_pad_template_init),
10428         (gst_pad_template_pad_created):
10429           Never return floating references to pad templates, create
10430           them as initially-sunken.
10431
10432           Document an extra function (and make this stop sinking our
10433           pad template, since that is now guaranteed to do nothing,
10434           since we created it sunken).
10435
10436         * gst/gstghostpad.c:
10437           Fix docs typo.
10438
10439 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10440
10441         * gst/gstinfo.c: (__gst_in_valgrind):
10442           Add some newlines.
10443
10444         * plugins/elements/gsttypefindelement.c:
10445         (gst_type_find_element_chain):
10446           Don't leak buffer caps.
10447
10448 2006-04-06  Michael Smith  <msmith@fluendo.com>
10449
10450         * gst/parse/grammar.y:
10451           Fix a leak in parse-launch for any source-or-sink named element 
10452           references used.
10453
10454         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10455           Unref the pipeline if it exists after we've failed parsing.
10456
10457 2006-04-05  Michael Smith  <msmith@fluendo.com>
10458
10459         * gst/gstpipeline.c: (gst_pipeline_init):
10460           When we create a pipeline bus, initially create it in flushing mode.
10461           Fixes leaks in at least one test, and makes a new pipeline work the
10462           same as one that has gone to READY and then back to NULL.
10463
10464         * gst/gstelement.c:
10465           Typo fix in docs.
10466
10467 2006-04-05  Michael Smith  <msmith@fluendo.com>
10468
10469         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10470           Unref a pad we reffed.
10471         * tests/check/gst/gstutils.c: (GST_START_TEST):
10472           Unref bins
10473
10474 2006-04-05  Michael Smith  <msmith@fluendo.com>
10475
10476         * gst/gstquery.c: (gst_query_set_formats),
10477         (gst_query_set_formatsv):
10478           Fix leaking GValues in queries, as shown by valgrind/testsuite.
10479
10480 2006-04-05  Michael Smith  <msmith@fluendo.com>
10481
10482         * tests/check/generic/sinks.c: (GST_START_TEST):
10483           Fix a variety of memleaks in sinks check, which are only sometimes 
10484           shown by running the tests under valgrind (weird?).
10485
10486 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
10487
10488         * docs/version.entities.in:
10489           Fix the substituted entity name after thomas' changes on the
10490           weekend.
10491
10492 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10493
10494         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10495         VALGRIND_PRINTF
10496         
10497 2006-04-05  Andy Wingo  <wingo@pobox.com>
10498
10499         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10500
10501         * libs/gst/base/gstbasetransform.c
10502         (gst_base_transform_sink_eventfunc): When resetting our segment on
10503         FLUSH_STOP, also update the flag saying we haven't seen a
10504         newsegment.
10505
10506 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10507
10508         Patch by: Paolo Borelli  <pborelli at katamail dot com>
10509
10510         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10511         (gst_plugin_check_license):
10512           minor clean-ups: G_DEFINE_TYPE already takes care of the
10513           parent_class stuff, no need to do it twice. Mark array of
10514           license strings as constant. (#337103)
10515           
10516 2006-04-04  Michael Smith  <msmith@fluendo.com>
10517
10518         * tools/gst-inspect.c: (print_element_list):
10519           Free the right plugin list; fixes a memory leak.
10520
10521 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10522
10523         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
10524
10525         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10526           Don't error out on empty buffers (#336945).
10527           
10528 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
10529
10530         * docs/libs/gstreamer-libs-sections.txt:
10531         * gst/gsttaglist.c:
10532         * libs/gst/base/gstbasesink.c:
10533         * libs/gst/base/gstbasesink.h:
10534         * libs/gst/base/gstbasesrc.c:
10535         * libs/gst/base/gstbasesrc.h:
10536           Documentation updates. Make BaseSink and BaseSrc docs contain the
10537           class structure so that people can actually see the prototypes for
10538           virtual functions they're supposed to be overriding.
10539
10540 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10541
10542         * plugins/elements/gsttypefindelement.c:
10543         (gst_type_find_element_chain):
10544           More debug info; when skipping typefinding, send cached
10545           events in all cases.
10546
10547 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10548
10549         * configure.ac:
10550           use new AS_VERSION and AS_NANO macros
10551         * gst/gst-i18n-lib.h:
10552         * gst/gst.c:
10553         * gst/gsterror.c:
10554         * gst/gstversion.h.in:
10555         * win32/common/config.h:
10556         * win32/common/config.h.in:
10557           update accordingly
10558
10559 2006-03-31  Michael Smith  <msmith@fluendo.com>
10560
10561         * plugins/elements/gsttypefindelement.c:
10562         (gst_type_find_element_chain):
10563           Do not typefind content if the buffers already have caps.
10564           Neccesary for icydemux (#333657), and the right thing to do anyway.
10565
10566 2006-03-30  Wim Taymans  <wim@fluendo.com>
10567
10568         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10569         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10570         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10571         (gst_base_sink_record_qos_observation),
10572         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10573         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10574         (gst_base_sink_change_state):
10575         More QoS measurements as described in the design doc.
10576         Get rid of ringbuffer with observations, running average is
10577         more simple and equally good.
10578         Calculates valid proportion now.
10579         Added beginning of flood measurement.
10580
10581 2006-03-29  Wim Taymans  <wim@fluendo.com>
10582
10583         * docs/design/part-qos.txt:
10584         * gst/gstclock.c:
10585         Small documentation updates and additions.
10586
10587 2006-03-29  Wim Taymans  <wim@fluendo.com>
10588
10589         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10590         (gst_base_src_send_event), (gst_base_src_loop),
10591         (gst_base_src_change_state):
10592         Perform the EOS logic when we reach the segment stop position.
10593         Fix compilation on gcc4.1
10594
10595 2006-03-29  Wim Taymans  <wim@fluendo.com>
10596
10597         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10598
10599         * plugins/elements/gstqueue.c: (gst_queue_init),
10600         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10601         (gst_queue_set_property):
10602         * plugins/elements/gstqueue.h:
10603         In queue, when EOS is received, if minimum threshold > max_size -
10604         current_level, there is chance that queue blocks forever in conditional
10605         item del wait. This is because the queue is not emptied completely due
10606         to minimum threshold.  Here is another approach. Instead of setting
10607         cur_levels to max in EOS, just zero all minimum threshold levels. This
10608         should make sure that queue gives out all data. When going to READY
10609         (stop) state, just reset the original minimum threshold levels.
10610         Fixes #336336.
10611
10612 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
10613
10614         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10615         (gst_type_find_element_handle_event),
10616         (gst_type_find_element_send_cached_events),
10617         (gst_type_find_element_change_state):
10618         * plugins/elements/gsttypefindelement.h:
10619           When typefinding is done in push mode, we should cache
10620           events we receive during typefinding instead of just
10621           dropping them (e.g. newsegment, custom events from
10622           dvdreadsrc etc.) and then send them out once we've
10623           determined the type of the stream (and decodebin
10624           has had a chance to plug in a decoder/demuxer).
10625           
10626 2006-03-27  Wim Taymans  <wim@fluendo.com>
10627
10628         * docs/design/part-qos.txt:
10629         First QoS ideas.
10630
10631 2006-03-27  Wim Taymans  <wim@fluendo.com>
10632
10633         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10634
10635         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10636         (gst_base_src_send_event), (gst_base_src_change_state):
10637         Handle element seek correctly when we are streaming.
10638         Fixes #326998.
10639
10640 2006-03-24  Michael Smith  <msmith@fluendo.com>
10641
10642         * docs/faq/gst-uninstalled:
10643           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10644           allow you to correctly run intalled applications built against old 
10645           core, using plugins that require updated core (e.g. running
10646           installed totem against a full uninstalled gstreamer stack)
10647
10648 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10649
10650         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10651         more debug details
10652
10653 2006-03-24  Wim Taymans  <wim@fluendo.com>
10654
10655         * docs/gst/gstreamer-sections.txt:
10656         Rearrange the order of the methods so that related methods
10657         are grouped together in sections.
10658
10659 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10660
10661         * gst/gstelement.c:
10662           Little clarification in the docs
10663
10664 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10665
10666         * docs/README:
10667         formatting fix
10668         * plugins/elements/gstidentity.c:
10669         * plugins/elements/gstqueue.c:
10670         * plugins/elements/gsttee.c:
10671         * plugins/elements/gsttypefindelement.c:
10672         GST_ELEMENT_DETAILS formatting
10673
10674 2006-03-24  Wim Taymans  <wim@fluendo.com>
10675
10676         * libs/gst/base/gstbasesink.h:
10677         Only add fields, not insert or we break ABI.
10678
10679 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10680
10681         * win32/common/libgstbase.def:
10682         * win32/common/libgstreamer.def:
10683           Update, add recently added functions.
10684
10685 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10686
10687         * docs/gst/gstreamer-sections.txt:
10688         * gst/gstutils.c: (gst_pad_query_peer_position),
10689         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10690         * gst/gstutils.h:
10691           API: add some new utility functions:
10692            - gst_pad_query_peer_position()
10693            - gst_pad_query_peer_duration()
10694            - gst_pad_query_peer_convert()
10695           
10696 2006-03-23  Wim Taymans  <wim@fluendo.com>
10697
10698         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10699         (gst_base_sink_init), (gst_base_sink_finalize),
10700         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10701         (gst_base_sink_set_property), (gst_base_sink_get_property),
10702         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10703         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10704         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10705         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10706         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10707         (gst_base_sink_preroll_object), (gst_base_sink_event),
10708         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10709         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10710         (gst_base_sink_query), (gst_base_sink_change_state):
10711         Decouple max-lateness and the fact that QoS messages are generated
10712         with a new property (qos).
10713         added API: GstBaseSink::async_play()
10714         Add vmethod so subclasses can be notified of ASYNC playing
10715         state changes.
10716         Collect timestamp start and stop to report better current
10717         position in EOS/PLAYING/PAUSED/READY/NULL.
10718         Refactor QoS/frame dropping and other measurements.
10719         API: GstBaseSrc::qos
10720         Fixes #326311
10721
10722         * libs/gst/base/gstbasesink.h:
10723         Added Private struct.
10724         API: gst_base_sink_set_qos_enabled()
10725         API: gst_base_sink_is_qos_enabled()
10726
10727 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10728
10729         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10730           If compiling against GLib-2.8 or newer, try to read the
10731           registry file using GMappedFile first before falling back
10732           to fopen() + fread() (#332151).
10733
10734 2006-03-22  Wim Taymans  <wim@fluendo.com>
10735
10736         * gst/gstinfo.c: (gst_debug_set_active),
10737         (gst_debug_category_set_threshold):
10738         Disable debugging unless explicitly activated.
10739         Fixes #335480.
10740
10741 2006-03-22  Wim Taymans  <wim@fluendo.com>
10742
10743         * gst/gstelement.c: (gst_element_set_locked_state),
10744         (gst_element_dispose):
10745         Cleanup the error case.
10746
10747         * gst/gstobject.c: (gst_object_dispose):
10748         print a critical when some object was disposed with
10749         a parent, also revive the object since it might
10750         crash the parent.
10751
10752 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
10753
10754         * tools/gst-launch.1.in:
10755           Fix another typo.
10756
10757 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10758
10759         * configure.ac:
10760         * tests/check/Makefile.am:
10761           disable some tests when we don't have a registry
10762         * tests/check/gst/gstutils.c: (gst_utils_suite):
10763           don't build the part that needs parsing
10764
10765 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10766
10767         * gst/Makefile.am
10768         * tests/examples/Makefile.am:
10769           fix --disable-parse build
10770
10771 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10772
10773         * tools/gst-feedback.1.in:
10774           Fix typo: s/feeback/feedback/ (#133494).
10775
10776 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10777
10778         * tools/Makefile.am:
10779         * tools/gst-launch.1.in:
10780           Add FILES section and correct entry about GST_REGISTRY_PATH
10781           environment variable (#133495; #133494).
10782
10783 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10784
10785         * tools/Makefile.am:
10786         * tools/gst-md5sum.1.in:
10787         * tools/gst-md5sum.c:
10788           Remove gst-md5sum and man page (the md5sink element
10789           required was removed ages ago)
10790
10791 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10792
10793         * gst/gststructure.c: (gst_structure_id_set_value):
10794           Make sure that string fields in structures/taglists
10795           contain valid UTF-8 - we don't want to pass rubbish to
10796           applications because of a buggy plugin (cp. #334167).
10797
10798 2006-03-21  Edward Hervey  <edward@fluendo.com>
10799
10800         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10801         (gst_bin_handle_message_func):
10802         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10803         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10804         (gst_element_set_bus_func):
10805         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10806         * gst/gstminiobject.c: (gst_value_set_mini_object),
10807         (gst_value_take_mini_object):
10808         * gst/gstpad.c: (gst_pad_set_pad_template):
10809         * gst/gstpipeline.c: (gst_pipeline_dispose),
10810         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10811         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10812         (gst_collect_pads_chain):
10813         * libs/gst/net/gstnettimeprovider.c:
10814         (gst_net_time_provider_set_property):
10815         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10816         It's in fact all issues with gst_*object_replace().
10817
10818 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10819
10820         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
10821         
10822         * pkgconfig/gstreamer-check-uninstalled.pc.in:
10823         * pkgconfig/gstreamer-check.pc.in:
10824           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10825
10826 2006-03-21  Edward Hervey  <edward@fluendo.com>
10827
10828         * gst/gstbuffer.h:
10829         * gst/gstevent.h:
10830         * gst/gstmessage.h:
10831         gst_[buffer|event|message]_ref() macros are replaced by a static
10832         inline functions because gcc-4.1 will about if the return value
10833         isn't used.
10834         * tests/check/gst/gstevent.c: (event_probe):
10835         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10836
10837 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
10838
10839         * gst/gstutils.h:
10840         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10841         the type' case. (Closes: #335195 for now). In the future, when we
10842         depend on GLib 2.10, we could also intern the type name using
10843         g_intern_static_string()
10844
10845 2006-03-20  Wim Taymans  <wim@fluendo.com>
10846
10847         * gst/gstbin.c: (gst_bin_handle_message_func),
10848         (bin_query_max_init), (bin_query_position_fold),
10849         (bin_query_position_done), (gst_bin_query):
10850         Position query should also take max of all streams.
10851
10852 2006-03-20  Wim Taymans  <wim@fluendo.com>
10853
10854         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10855         (gst_fake_src_finalize):
10856         Fix leaks in fakesrc.
10857
10858         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10859         Fix leaks in the testcase.
10860
10861 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
10862
10863         * gst/gst_private.h:
10864           add win32 specific import decoration(__declspec(dllimport)) 
10865           for all extern GstDebugCategory * variables
10866         * win32/common/libgstbase.def:
10867         * win32/common/libgstcontroller.def:
10868         * win32/common/libgstreamer.def:
10869           Add some exports, remove empty lines
10870         * win32/common/libgstdataprotocol.def:
10871         * win32/common/libgstdataprotocol.dsp:
10872         * win32/common/libgstnet.def:
10873         * win32/common/libgstnet.dsp:
10874           new project files and exportation files added
10875         
10876 2006-03-19  Wim Taymans  <wim@fluendo.com>
10877
10878         * tests/check/libs/basesrc.c: (eos_event_counter):
10879         Use proper return value for probe.
10880
10881 2006-03-17  Wim Taymans  <wim@fluendo.com>
10882
10883         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10884         (gst_pad_push):
10885         Don't leak buffers, caps and pads on negotiation errors.
10886
10887 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
10888
10889         * docs/faq/cvs.xml:
10890         * docs/faq/dependencies.xml:
10891         * docs/faq/developing.xml:
10892         * docs/faq/faq.xml:
10893         * docs/faq/general.xml:
10894         * docs/faq/getting.xml:
10895         * docs/faq/legal.xml:
10896         * docs/faq/troubleshooting.xml:
10897         * docs/faq/using.xml:
10898         Faq review and update.
10899
10900 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
10901
10902         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10903         (gst_pad_push):
10904         Don't pound the cpu to pieces by checking get_caps when accept_caps
10905         is called with the same caps as the pad already has.
10906         Use GST_DEBUG_OBJECT when outputting caps change information.
10907
10908 2006-03-15  Wim Taymans  <wim@fluendo.com>
10909
10910         * gst/gstclock.c: (gst_clock_class_init):
10911         Fix docs.
10912
10913 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
10914
10915         * gst/gstbuffer.h:
10916         Documentation fix.
10917
10918         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10919         (gst_pad_accept_caps), (gst_pad_configure_sink),
10920         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10921         Make the default acceptcaps behaviour be to check the requested 
10922         caps against the gst_pad_get_caps output. 
10923
10924         Ensure that gst_pad_accept_caps is used to check caps when a pad
10925         doesn't have a setcaps function, so that pads automatically refuse 
10926         caps that they don't allow in their pad template. (Fixes #332986)
10927
10928         When a buffer with attached caps is pushed, ensure that the source 
10929         pad receives those caps even if the element didn't call
10930         gst_pad_set_caps first.
10931
10932 2006-03-15  Wim Taymans  <wim@fluendo.com>
10933
10934         * libs/gst/base/gstadapter.c:
10935         Add some docs.
10936
10937 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
10938
10939         * win32/common/libgstbase.def:
10940         * win32/common/libgstcontroller.def:
10941         * win32/common/libgstreamer.def:
10942           Add a whole bunch of missing functions (#334434).
10943
10944 2006-03-14  Wim Taymans  <wim@fluendo.com>
10945
10946         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10947         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10948         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10949         Better debug info when we receive a segment event.
10950         Reorganize a bit so we can pass the get_times() results around.
10951         Use the segment format when calculating the running time.
10952         Don't do QoS is sync is disabled or we have no clock or the
10953         element does not want us to sync to the clock.
10954         Don't drop buffers if QoS is disabled for now.
10955
10956 2006-03-14  Wim Taymans  <wim@fluendo.com>
10957
10958         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10959         Marked the stats property as unimplemented so people don't get
10960         wild ideas.
10961         Add debug message when regression goes wrong.
10962         Added some more docs.
10963
10964 2006-03-14  Wim Taymans  <wim@fluendo.com>
10965
10966         * gst/gstsegment.c: (gst_segment_to_stream_time):
10967         Return correct return type in case of errors.
10968
10969 2006-03-14  Wim Taymans  <wim@fluendo.com>
10970
10971         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10972           Don't segfault on invalid formats.
10973
10974 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10975
10976         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10977           Can't use gst_segment_to_running_time() when the segment
10978           is not in GST_TIME_FORMAT (like with filesink, for example).
10979           Stops flac encoding pipelines from spewing critical warnings
10980           at EOS (#331248).
10981           
10982 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10983
10984         * gst/gstpipeline.c: (gst_pipeline_class_init):
10985           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10986
10987         * plugins/elements/gsttypefindelement.c:
10988         (gst_type_find_element_handle_event):
10989           Don't try to typefind empty streams.
10990
10991 2006-03-14  Wim Taymans  <wim@fluendo.com>
10992
10993         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10994         (gst_base_sink_do_qos):
10995         Separate QoS calculation.
10996         Only drop buffers when lateness is bigger than the 
10997         duration of the buffer.
10998
10999 2006-03-13  Wim Taymans  <wim@fluendo.com>
11000
11001         * gst/gstpipeline.c: (gst_pipeline_set_property),
11002         (gst_pipeline_get_property), (do_pipeline_seek),
11003         (gst_pipeline_change_state), (gst_pipeline_set_delay),
11004         (gst_pipeline_get_delay):
11005         Don't deadlock when reading properties.
11006
11007 2006-03-13  Wim Taymans  <wim@fluendo.com>
11008
11009         * libs/gst/base/gstbasetransform.c:
11010         (gst_base_transform_class_init), (gst_base_transform_init),
11011         (gst_base_transform_sink_event),
11012         (gst_base_transform_sink_eventfunc),
11013         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
11014         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11015         (gst_base_transform_set_property),
11016         (gst_base_transform_get_property),
11017         (gst_base_transform_change_state), (gst_base_transform_update_qos),
11018         (gst_base_transform_set_qos_enabled),
11019         (gst_base_transform_is_qos_enabled):
11020         * libs/gst/base/gstbasetransform.h:
11021         Make basetransform virtual method for src events too.
11022         Handle QOS in basetransform.
11023         API: gst_base_transform_update_qos()
11024         API: gst_base_transform_set_qos_enabled()
11025         API: gst_base_transform_is_qos_enabled()
11026
11027 2006-03-13  Wim Taymans  <wim@fluendo.com>
11028
11029         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11030         (gst_base_sink_do_sync):
11031         Small cleanups.
11032         Use QOS debug category.
11033
11034 2006-03-13  Wim Taymans  <wim@fluendo.com>
11035
11036         * plugins/elements/gstqueue.c:
11037         Very small doc update.
11038
11039 2006-03-13  Wim Taymans  <wim@fluendo.com>
11040
11041         * gst/gst_private.h:
11042         * gst/gstinfo.c: (_gst_debug_init):
11043         Added QOS debug category
11044
11045 2006-03-13  Wim Taymans  <wim@fluendo.com>
11046
11047         * docs/gst/gstreamer-sections.txt:
11048         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11049         * gst/gstbin.h:
11050         * gst/gstbus.c: (gst_bus_class_init):
11051         * gst/gstbus.h:
11052         * gst/gstclock.c:
11053         * gst/gstelement.c: (gst_element_set_locked_state):
11054         * gst/gstsegment.c:
11055         Documentation updates.
11056
11057         * gst/gstpipeline.c: (gst_pipeline_get_type),
11058         (gst_pipeline_class_init), (gst_pipeline_init),
11059         (gst_pipeline_dispose), (gst_pipeline_set_property),
11060         (gst_pipeline_get_property), (do_pipeline_seek),
11061         (gst_pipeline_send_event), (gst_pipeline_change_state),
11062         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11063         (gst_pipeline_get_delay):
11064         * gst/gstpipeline.h:
11065         Added methods for setting the delay.
11066         API: gst_pipeline_set_delay()
11067         API: gst_pipeline_get_delay()
11068         Add pipeline debug category
11069         Various cleanups.
11070         Updated docs.
11071         Don't reset stream time when seek failed.
11072
11073 2006-03-13  Wim Taymans  <wim@fluendo.com>
11074
11075         * docs/design/draft-klass.txt:
11076         * docs/design/part-clocks.txt:
11077         * docs/design/part-events.txt:
11078         * docs/design/part-gstbin.txt:
11079         * docs/design/part-gstpipeline.txt:
11080         * docs/design/part-messages.txt:
11081         * docs/design/part-negotiation.txt:
11082         * docs/design/part-overview.txt:
11083         * docs/design/part-preroll.txt:
11084         * docs/design/part-seeking.txt:
11085         * docs/design/part-states.txt:
11086         * docs/design/part-streams.txt:
11087         Documentation updates.
11088
11089 2006-03-12  Julien MOUTTE  <julien@moutte.net>
11090
11091         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11092         us to leak strings...
11093
11094 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11095
11096         * libs/gst/net/gstnettimeprovider.c:
11097           fix docs
11098         * win32/common/config.h:
11099           update
11100
11101 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
11102
11103         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11104
11105         * configure.ac:
11106           Don't check for libgnomeui (leftover from old examples
11107           that aren't built or disted any longer) (#334303).
11108           
11109 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
11110
11111         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11112         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11113           Emit RESOURCE_NO_SPACE_LEFT error here as well when
11114           there's no space left on the device.
11115
11116 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
11117
11118         * gst/gstclock.h:
11119           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11120           to cast the input to GstClockTime before comparing with
11121           another GstClockTime value.
11122
11123 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11124
11125         * configure.ac:
11126           back to trunk
11127
11128 === release 0.10.4 ===
11129
11130 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
11131
11132         * configure.ac:
11133           releasing 0.10.4, "Light"
11134
11135 2006-03-10  Michael Smith  <msmith@fluendo.com>
11136
11137         * libs/gst/dataprotocol/dataprotocol.c:
11138           Fix docs for dataprocotol to not get the return types completely
11139           wrong for a few functions.
11140
11141 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11142
11143         * docs/gst/gstreamer-sections.txt:
11144         * gst/gstpipeline.c: (gst_pipeline_class_init),
11145         (gst_pipeline_init), (gst_pipeline_set_property),
11146         (gst_pipeline_get_property), (gst_pipeline_change_state),
11147         (gst_pipeline_set_auto_flush_bus),
11148         (gst_pipeline_get_auto_flush_bus):
11149         * gst/gstpipeline.h:
11150           Add new API: gst_pipeline_set_auto_flush_bus() and
11151           gst_pipeline_get_auto_flush_bus() to disable automatic
11152           flushing of the pipeline's GstBus when going from READY
11153           to NULL state (#332045).
11154
11155 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11156
11157         * docs/gst/gstreamer-sections.txt:
11158         * gst/gsturi.c: (gst_uri_has_protocol):
11159         * gst/gsturi.h:
11160            Add new API: gst_uri_has_protocol() (#333779).
11161
11162 2006-03-09  Wim Taymans  <wim@fluendo.com>
11163
11164         * gst/gstclock.c: (gst_clock_entry_new),
11165         (gst_clock_id_compare_func), (gst_clock_id_wait),
11166         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11167         (gst_clock_init), (gst_clock_get_internal_time),
11168         (gst_clock_set_master), (do_linear_regression),
11169         (gst_clock_add_observation), (gst_clock_set_property):
11170         * gst/gstclock.h:
11171         Review docs.
11172         Small cleanups.
11173         Fix a possible segfault when the window-size is made smaller.
11174         Calculate jitter before performing the clock wait. Ideally
11175         the clock implementation should calculate jitter but we need
11176         API breakage for that.
11177
11178         * gst/gstsystemclock.c: (gst_system_clock_init):
11179         Docs review.
11180         
11181         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11182         Remove leftover else
11183
11184         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11185         (gst_systemclock_suite):
11186         Added check to test GST_CLOCK_DIFF.
11187
11188 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11189
11190         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11191         (gst_type_find_helper_get_range):
11192           If we are provided with the size, we should implement
11193           GstTypeFind::get_length, so that typefind functions who
11194           want to can actually peek at the middle of a file.
11195
11196 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
11197
11198         * docs/manual/advanced-dataaccess.xml:
11199           Add some very very basic error checking.
11200
11201         * docs/pwg/appendix-checklist.xml:
11202           Some updates to the list of things to check when writing an element.
11203
11204 2006-03-08  Wim Taymans  <wim@fluendo.com>
11205
11206         * docs/design/part-element-transform.txt:
11207         Added some docs about the design of tranform elements.
11208
11209         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11210         (gst_base_src_loop), (gst_base_src_change_state):
11211         Mark buffers with the DISCONT flag.
11212
11213 2006-03-08  Michael Smith  <msmith@fluendo.com>
11214
11215         * gst/gstregistry.h:
11216         * gst/gstregistryxml.c: (gst_registry_save),
11217         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11218         (gst_registry_xml_save_pad_template),
11219         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11220         (gst_registry_xml_write_cache):
11221           Rewrite registry-saving to avoid race conditions and check for
11222           failed writes.
11223
11224 2006-03-08  Wim Taymans  <wim@fluendo.com>
11225
11226         * libs/gst/base/gstbasetransform.c:
11227         (gst_base_transform_transform_caps),
11228         (gst_base_transform_transform_size),
11229         (gst_base_transform_prepare_output_buffer),
11230         (gst_base_transform_get_unit_size),
11231         (gst_base_transform_buffer_alloc),
11232         (gst_base_transform_handle_buffer),
11233         (gst_base_transform_change_state):
11234         Cleanups, separate normal flow from errors, add sensible
11235         DEBUG lines.
11236         Don't try to renegotiate when allocating an output buffer.
11237         Also copy DISCONT buffer flag when copying a buffer.
11238         Reset the transform after we finish streaming, not during.
11239
11240 2006-03-08  Wim Taymans  <wim@fluendo.com>
11241
11242         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11243         Use last buffer timestamp in qos message.
11244
11245 2006-03-07  Wim Taymans  <wim@fluendo.com>
11246
11247         Patch by: Christophe Fergeau
11248
11249         * docs/pwg/advanced-tagging.xml:
11250         * docs/pwg/building-pads.xml:
11251           fixes #333416
11252
11253 2006-03-07  Wim Taymans  <wim@fluendo.com>
11254
11255         * docs/libs/gstreamer-libs-sections.txt:
11256         Added basesink new methods.
11257
11258         * gst/gstevent.c:
11259         * gst/gstevent.h:
11260         Docs updates. Flesh out the QoS docs.
11261
11262         * libs/gst/base/gstadapter.c:
11263         Small doc clarification about ownership and flushing.
11264
11265         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11266         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11267         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11268         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11269         * libs/gst/base/gstbasesink.h:
11270         API additions: 
11271         Added new methods to allow subclass to control max-lateness 
11272         and sync.
11273         Generate very basic QoS events based on last sync observation.
11274         Updated docs, fix typo, added some QoS blurb.
11275
11276         * libs/gst/base/gstbasesrc.c:
11277         Remove obsolete _get_state() calls from docs.
11278
11279 2006-03-07  Wim Taymans  <wim@fluendo.com>
11280
11281         * docs/libs/gstreamer-libs-sections.txt:
11282         * libs/gst/base/gstbasetransform.h:
11283         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11284         Fix docs for GstBaseSrc.
11285
11286 2006-03-07  Wim Taymans  <wim@fluendo.com>
11287
11288         * docs/gst/gstreamer-sections.txt:
11289         * gst/gstbuffer.h:
11290         * gst/gstvalue.c:
11291         * libs/gst/base/gstbasetransform.h:
11292         Small documentation fixes.
11293
11294 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11295
11296         * gst/gstvalue.c:
11297           Document thread-unsafety of gst_value_register_foo_func()
11298           when used at the same time as gst_value_foo() (#322628).
11299
11300 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11301
11302         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11303         (gst_push_src_check_get_range):
11304           Push sources don't support pull mode by default.
11305
11306 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11307
11308         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11309         (gst_base_src_init), (gst_base_src_pad_check_get_range),
11310         (gst_base_src_default_check_get_range):
11311         * libs/gst/base/gstbasesrc.h:
11312           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11313           provide default implementation, and rename
11314           gst_base_src_check_get_range() to
11315           gst_base_src_pad_check_get_range() for clarity.
11316
11317 2006-03-06  Wim Taymans  <wim@fluendo.com>
11318
11319         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11320         Make property overridable.
11321
11322 2006-03-06  Wim Taymans  <wim@fluendo.com>
11323
11324         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11325         (gst_base_sink_init), (gst_base_sink_set_property),
11326         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11327         * libs/gst/base/gstbasesink.h:
11328         API addition: Make max-lateness a property.
11329
11330 2006-03-06  Wim Taymans  <wim@fluendo.com>
11331
11332         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11333         (gst_base_sink_do_sync), (gst_base_sink_render_object):
11334         Don't ever draw a frame that is >10ms late.
11335
11336 2006-03-06  Michael Smith  <msmith@fluendo.com>
11337
11338         * gst/gstmessage.c: (_gst_message_copy):
11339           When copying a message, set the parent_refcount of the enclosed
11340           structure to point at the copy, not the original message.
11341
11342 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11343
11344         Patch by: Christophe Fergeau
11345
11346         * gst/gstutils.h:
11347           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11348           usable in c++ code (#333417)
11349
11350 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11351
11352         * gst/gstclock.h:
11353           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11354
11355 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
11356
11357         * libs/gst/base/gstbasetransform.c:
11358         (gst_base_transform_transform_caps):
11359           Make sure caps are writable before passing them to
11360           gst_caps_append().
11361
11362 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11363
11364         * gst/gsterror.h:
11365           Fix some minor docs errors.
11366
11367 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11368
11369           Patch by: Ross Burton <ross at burtonini dot com>
11370
11371         * gst/gsterror.c: (_gst_resource_errors_init):
11372         * gst/gsterror.h:
11373           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11374
11375 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11376
11377         * gst/gst.c:
11378         Add a check and output a g_warning when GStreamer is built
11379         against GLib 2.6 but running against 2.8 or higher, and vice 
11380         versa. (Closes: #323542)
11381
11382 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11383
11384         * gst/parse/parse.l:
11385           Commit patch for parse_launch syntax from #331255. Removes 
11386           support for quoted strings and mimetypes when writing filtered 
11387           caps. See the bug report for more details - I'm pretty sure this
11388           obscure feature is not in use by _anyone_ anywhere.
11389
11390           With this simple change, the size of the gstreamer.so here 
11391           drops from 2193KB to 1565KB.
11392
11393 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11394
11395         * plugins/elements/gsttypefindelement.h:
11396         * plugins/elements/gsttypefindelement.c:
11397         (gst_type_find_element_src_event), (start_typefinding),
11398         (stop_typefinding), (gst_type_find_element_handle_event),
11399         (gst_type_find_element_chain),
11400         (gst_type_find_element_chain_do_typefinding):
11401           Use gst_type_find_helper_for_buffer() for chain-based
11402           typefinding.
11403
11404 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11405
11406         * plugins/elements/gsttypefindelement.c:
11407         (gst_type_find_element_class_init),
11408         (gst_type_find_element_set_property),
11409         (gst_type_find_element_get_property):
11410           Deprecate "maximum" property (not only was it only taken into
11411           account for typefinding in push-mode anyway, it also was never
11412           actually possible to set it in the first place because the
11413           property was registered with the numeric property ID for the
11414           "minimum" property). Register "maximum" property correctly,
11415           for the sake of future copy'n'pasters. Remove some cruft
11416           from property get/set functions.
11417
11418 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11419
11420         * plugins/elements/gsttypefindelement.c:
11421         (gst_type_find_element_activate):
11422           Use gst_type_find_helper_get_range() here, so we
11423           can honour the "minimum" property and also emit
11424           the signal with the correct probability of the found caps.
11425
11426 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
11427
11428         * docs/libs/gstreamer-libs-sections.txt:
11429         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11430         (helper_find_suggest), (gst_type_find_helper_get_range),
11431         (gst_type_find_helper):
11432         * libs/gst/base/gsttypefindhelper.h:
11433           New API: gst_type_find_helper_get_range() (#333042).
11434
11435 2006-03-02  Michael Smith  <msmith@fluendo.com>
11436
11437         * gst/gstregistryxml.c: (load_feature):
11438           Asserting on a failure to read part of the registry is Not Cool.
11439           Just log a warning and return NULL (which is already handled)
11440
11441 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
11442
11443         * win32/common/libgstbase.def:
11444           added export of gst_type_find_helper_for_buffer
11445         * win32/common/libgstbase.def:
11446           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11447           gst_ghost_pad_get_target
11448
11449 2006-02-28  Wim Taymans  <wim@fluendo.com>
11450
11451         * docs/design/draft-klass.txt:
11452         We use Filter now.
11453         Added Connector to mark elements that are only used to
11454         allow pipeline connections.
11455         Moved Debug to extra feature since most of them are 
11456         functionally something else.
11457
11458 2006-02-28  Wim Taymans  <wim@fluendo.com>
11459
11460         * docs/design/draft-klass.txt:
11461         Some updates and clarifications.
11462
11463 2006-02-28  Wim Taymans  <wim@fluendo.com>
11464
11465         * docs/design/draft-klass.txt:
11466         Proposal for klass field values.
11467
11468         * docs/design/part-streams.txt:
11469         Start of a doc describing stream anatomy.
11470
11471 2006-02-28  Wim Taymans  <wim@fluendo.com>
11472
11473         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11474         Help the compiler a bit with type registration.
11475         Use existing forward cod path instead of duplicating it when 
11476         handling a message.
11477         
11478         * gst/gstbus.c: (gst_bus_get_type):
11479         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11480         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11481         * gst/gstclock.c: (gst_clock_get_type):
11482         * gst/gstelement.c: (gst_element_get_type),
11483         * gst/gstelementfactory.c: (gst_element_factory_get_type):
11484         * gst/gstindexfactory.c: (gst_index_factory_get_type):
11485         * gst/gstminiobject.c: (gst_mini_object_get_type):
11486         * gst/gstpad.c: (gst_pad_get_type):
11487         * gst/gstsegment.c: (gst_segment_get_type):
11488         * gst/gststructure.c: (gst_structure_get_type):
11489         * gst/gstsystemclock.c: (gst_system_clock_get_type):
11490         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11491         * gst/gstvalue.c:
11492         Help compiler with type registration.
11493
11494         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11495         Small doc update.
11496
11497 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11498
11499         * plugins/elements/gsttypefindelement.c:
11500         (gst_type_find_element_handle_event):
11501           When we get an EOS event and have not found a type yet
11502           (most likely because we had not yet accumulated
11503           TYPE_FIND_MIN_SIZE of data yet), try to determine the
11504           type given the data we have so far. Fixes typefinding
11505           for very short streams again, most notably quicktime
11506           redirections as used on Apple's trailer site (#331701).
11507
11508 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11509
11510         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11511         (gst_type_find_helper):
11512           Try typefinding factories with the highest rank first.
11513
11514 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11515
11516         * docs/libs/gstreamer-libs-docs.sgml:
11517         * docs/libs/gstreamer-libs-sections.txt:
11518         * libs/gst/base/gsttypefindhelper.c:
11519           Add section for typefind helper and add documentation
11520           for the old and the new function.
11521
11522 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11523
11524         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11525         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11526         (gst_type_find_helper_for_buffer):
11527         * libs/gst/base/gsttypefindhelper.h:
11528           New API: gst_type_find_helper_for_buffer() (#332723).
11529           
11530 2006-02-27  Michael Smith  <msmith@fluendo.com>
11531
11532         Patch by: Loïc Minier
11533
11534         * configure.ac:
11535         * docs/Makefile.am:
11536         * docs/slides/Makefile.am:
11537           prevent CVS directories getting disted.
11538
11539 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11540
11541         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11542           Use the REFCOUNTING category for caps refcounting.
11543           
11544 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11545
11546         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11547           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11548
11549 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11550
11551         * plugins/elements/gsttypefindelement.c:
11552         (gst_type_find_element_activate):
11553           Use gst_pad_check_pull_range() before _activate_pull()
11554           to avoid unnecessary open/close (see #331690).
11555
11556 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11557
11558         * gst/gstutils.c:
11559           Docs enhancement: make it crystal clear what the
11560           gst_pad_add_*_probe() callbacks should look like.
11561
11562 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11563
11564         * libs/gst/base/gstbasesrc.c:
11565           Document how applications can stop recording from
11566           live sources (see #330996).
11567
11568 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11569
11570         * tests/check/Makefile.am:
11571         * tests/check/libs/basesrc.c: (eos_event_counter),
11572         (basesrc_eos_events_pull), (basesrc_eos_events_push),
11573         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11574         (gst_basesrc_suite), (main):
11575           ... and add some tests for the base source EOS stuff.
11576
11577 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11578
11579         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11580           Test case originally showed the problem fixed below,
11581           but was then amended. Add checks back at the place
11582           where they used to be.
11583
11584 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11585
11586         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11587         (gst_base_src_init), (gst_base_src_loop),
11588         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11589         (gst_base_src_change_state):
11590         * libs/gst/base/gstbasesrc.h:
11591           Don't unconditionally send EOS when going from PAUSED to
11592           READY state, esp. make sure we don't send two EOS events
11593           in some cases (e.g. one when reaching EOS and one when
11594           going from PAUSED to READY). Also, we don't want to send
11595           EOS events when operating in pull mode. However, we do
11596           want to send an EOS event when shutting down a live
11597           source explicitly, for example (fixes #330996).
11598           
11599 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11600
11601         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11602           Update src->read_position after a seek when not using mmap.
11603           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11604
11605 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
11606
11607         * gst/Makefile.am:
11608         * gst/gstparse.h:
11609         * gst/gstutils.c:
11610         * gst/gstutils.h:
11611         Make things work with --disable-parse as they do with 
11612         --disable-load-save - the symbols involved disappear, but the
11613         header is still installed and GST_DISABLE_PARSE is included via
11614         gstconfig.h
11615
11616 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11617
11618         * libs/gst/base/gstbasetransform.c:
11619         (gst_base_transform_change_state): Fix a stupid bug. I was 
11620         sure I compiled that.
11621
11622 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11623
11624         * gst/gstpad.c: (gst_pad_set_blocked_async):
11625         * gst/gstutils.c: (gst_pad_add_data_probe),
11626         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11627         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11628         (gst_pad_remove_buffer_probe): Make those function act on the
11629         ghostpad target when it's a ghostpad. (Closes #331727)
11630
11631 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11632
11633         * libs/gst/base/gstbasetransform.c:
11634         (gst_base_transform_change_state): Make basetransform reusable.
11635         (Closes #331898)
11636
11637 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
11638
11639         * docs/random/release:
11640         Move the current documentation of how to do a release to the top
11641         of the file.
11642
11643         * gst/gstbin.c: (gst_bin_class_init),
11644         (gst_bin_handle_message_func):
11645         Allow multiple state-recalculation threads. (Closes #328873)
11646
11647 2006-02-19  Julien MOUTTE  <julien@moutte.net>
11648
11649         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11650         * gst/gstpad.c: (gst_pad_set_event_function),
11651         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11652         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11653         2 strings. You can't use the STR_NULL macro on that.
11654
11655 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
11656
11657         * gst/gstpad.c: (gst_pad_set_event_function),
11658         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11659         (gst_pad_set_getcaps_function)
11660         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11661           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11662           So now, we can use --gst-debug-level=5 on Windows
11663         * win32/common/libgstcontroller.def:
11664           Added export of gst_controller_init
11665         * win32/vs6/libgstcontroller.dsp:
11666           Fixed Release post build configuration
11667
11668 2006-02-17  Wim Taymans  <wim@fluendo.com>
11669
11670         * tests/check/gst/gstquery.c: (GST_START_TEST):
11671         Added another check.
11672
11673 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
11674
11675         * plugins/elements/gsttypefindelement.c: (find_peek):
11676           We can do peeks at non-zero offsets, as long as they
11677           fall within the buffer we have.
11678
11679 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
11680
11681         * tests/check/Makefile.am:
11682         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11683         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11684         (parse_suite), (main):
11685           Add testsuite for parse launch syntax
11686
11687 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
11688
11689         * plugins/elements/gsttypefindelement.c:
11690         (gst_type_find_element_chain):
11691           When typefinding is unsuccessful in the chain function, don't
11692           error out immediately. Only error out with NO_CAPS_FOUND if
11693           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11694           otherwise simply wait for more data so we can try typefinding
11695           again with more data later. Also, don't attempt to typefind
11696           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11697           this should improve typefinding from network sources where the
11698           size of the first buffer can be somewhat random.
11699
11700 2006-02-14  Wim Taymans  <wim@fluendo.com>
11701
11702         * docs/gst/gstreamer-sections.txt:
11703         * gst/gstpadtemplate.c:
11704         * gst/gstpadtemplate.h:
11705         Fix padtemplate docs, fixes #328805.
11706
11707 2006-02-14  Wim Taymans  <wim@fluendo.com>
11708
11709         * tools/gst-launch.c: (main):
11710         NO_PREROLL is not an ERROR so don't send confusing messages
11711         to the user.
11712
11713 2006-02-14  Wim Taymans  <wim@fluendo.com>
11714
11715         Patch by: Torsten Schoenfeld
11716
11717         * gst/gstregistry.c: (gst_registry_get_default),
11718         (_gst_registry_cleanup):
11719         Protect default registry with lock and ref/sink it.
11720         Fixes #324818
11721
11722 2006-02-14  Wim Taymans  <wim@fluendo.com>
11723
11724         * gst/gstbuffer.c:
11725         * gst/gstquery.c: (gst_query_list_add_format),
11726         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11727         (gst_query_parse_formats_nth):
11728         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11729         Docs fixes.
11730
11731 2006-02-14  Wim Taymans  <wim@fluendo.com>
11732
11733         * docs/gst/gstreamer-sections.txt:
11734         Reworked query docs.
11735
11736         * gst/gstquery.c: (gst_query_new_formats),
11737         (gst_query_list_add_format), (gst_query_set_formats),
11738         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11739         (gst_query_parse_formats_nth):
11740         * gst/gstquery.h:
11741         Flesh out formats query, added some new methods.
11742         Fix part of #324398.
11743
11744         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11745         Added query creation tests.
11746
11747 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
11748
11749         * gst/gstpad.c: (fixate_value):
11750         Add a default fixation for fraction lists.
11751
11752 2006-02-13  Wim Taymans  <wim@fluendo.com>
11753
11754         * gst/gsttask.c: (gst_task_init), (gst_task_func),
11755         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11756         (gst_task_join):
11757         * gst/gsttask.h:
11758         Detect and warn for obvious deadlocks. fixes #320340
11759         Fix error case where lock was not released.
11760
11761         * tests/check/Makefile.am:
11762         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11763         (task_func), (gst_element_suite), (main):
11764         Add task check.
11765
11766 2006-02-13  Wim Taymans  <wim@fluendo.com>
11767
11768         * docs/gst/gstreamer-sections.txt:
11769         * gst/gstbus.c:
11770         Add new functions to docs.
11771
11772 2006-02-13  Wim Taymans  <wim@fluendo.com>
11773
11774         * docs/design/part-TODO.txt:
11775         Updated TODO list, basesrc supports seeking to non-bytes
11776         formats.
11777
11778         * docs/design/part-element-sink.txt:
11779         Update docs.
11780
11781         * gst/gstbin.c: (bin_replace_message),
11782         (gst_bin_handle_message_func):
11783         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11784         * gst/gstevent.c: (gst_event_finalize):
11785         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11786         (gst_pad_send_event):
11787         Use shiny new _TYPE_NAME macros.
11788
11789         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11790         Move debug statement up.
11791
11792         * gst/gstelement.c: (gst_element_set_locked_state):
11793         Add some debugging.
11794
11795 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
11796
11797         * docs/gst/gstreamer-sections.txt:
11798         * gst/gstmessage.h:
11799         * gst/gstquery.h:
11800           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11801           macros (#330906). Also, document the already existing
11802           GST_QUERY_TYPE macro.
11803
11804 2006-02-13  Wim Taymans  <wim@fluendo.com>
11805
11806         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11807         (event_probe), (GST_START_TEST):
11808         Only events up to the pipeline EOS are counted, there are
11809         some more when going to NULL currently which we don't care
11810         about for now.
11811
11812 2006-02-13  Wim Taymans  <wim@fluendo.com>
11813
11814         * gst/gstpad.c: (gst_pad_send_event):
11815         Correctly check flushing and emit probes. fixes #330125
11816
11817 2006-02-10  Andy Wingo  <wingo@pobox.com>
11818
11819         * gst/gstbus.c (gst_bus_class_init): Declare our private data
11820         structure.
11821         (gst_bus_init): Cache the location of the private data in the
11822         instance structure.
11823         (gst_bus_enable_sync_message_emission) 
11824         (gst_bus_disable_sync_message_emission): Implement new public
11825         functions.
11826         (gst_bus_post): Emit the sync-message signal if the user asked for
11827         it. Fixes #330684.
11828
11829         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11830         location of the bus-private structure.
11831         (gst_bus_enable_sync_message_emission)
11832         (gst_bus_disable_sync_message_emission): API addition
11833
11834 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
11835
11836         Patch by: Vincent Torri
11837
11838         * docs/pwg/building-boiler.xml:
11839         PWG patch from #326800
11840
11841 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
11842
11843         * configure.ac:
11844         * docs/Makefile.am:
11845         * docs/design/Makefile.am:
11846           Dist design docs.
11847
11848 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11849
11850         * configure.ac:
11851           back to CVS
11852
11853 === release 0.10.3 ===
11854
11855 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
11856
11857         * configure.ac:
11858           releasing 0.10.3, "Like a virgin"
11859
11860 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11861
11862         * configure.ac:
11863           2nd prerelease of 0.10.3
11864           Bump libtool versioning.
11865
11866 2006-02-07  Andy Wingo  <wingo@pobox.com>
11867
11868         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11869         update last_stop if we're in TIME format and the timestamp is
11870         valid.
11871
11872         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
11873         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
11874         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11875         If we get a new newsegment with a different format, adapt
11876         accordingly.
11877
11878         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11879         of 0. Not a problem, really.
11880
11881         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11882         warn if sync=true.
11883
11884 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
11885
11886         * configure.ac:
11887           Prelease of 0.10.3
11888
11889 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
11890
11891         * win32/vs7:
11892           project files updated to the default vs7 configuration
11893         * win32/common/libgstbase.def:
11894         * win32/common/libgstreamer.def:
11895           added new symbols,
11896           removed empty lines,
11897           sorted all exported symbols alphabetically
11898         * win32/common/dirent.c:
11899         * win32/common/dirent.h:
11900         * win32/common/gchar.h:
11901           use windows line end.
11902           
11903 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11904
11905         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11906           Send EOS event when stopping.
11907
11908 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11909
11910         * docs/README:
11911           Tell folks what to do if the plugin-foobar.xml file
11912           hasn't been generated for a newly-added plugin.
11913
11914 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11915
11916         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11917         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11918         (gst_collect_pads_start), (gst_collect_pads_stop),
11919         (gst_collect_pads_event): Collectpads now holds a reference
11920         to the GstPad that was added. Indeed we don't want to look
11921         at pads that might just go away with no warning...
11922
11923 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11924
11925         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11926         (gst_collect_pads_start), (gst_collect_pads_stop),
11927         (gst_collect_pads_event), (gst_collect_pads_chain):
11928         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11929         Mark Nauwelaerts's patch on bug #328491.
11930
11931 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11932
11933         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11934         (gst_utils_suite):
11935           Add some simple tests for gst_parse_bin_from_description() and
11936           gst_bin_find_unconnected_pad() (#329069).
11937
11938 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11939
11940         * tools/gst-launch.c: (event_loop), (main):
11941           Catch errors during preroll (#320084).
11942
11943 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
11944
11945         * plugins/elements/gsttypefindelement.c:
11946         (gst_type_find_element_activate):
11947           Post TYPE_NOT_FOUND error message when typefinding
11948           is unsuccessful in the activate function as well.
11949
11950 2006-02-02  Wim Taymans  <wim@fluendo.com>
11951
11952         * docs/design/part-element-sink.txt:
11953         Updated doc.
11954
11955 2006-02-02  Wim Taymans  <wim@fluendo.com>
11956
11957         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11958         (gst_base_sink_render_object),
11959         (gst_base_sink_queue_object_unlocked):
11960         Only keep track of prerollable items when we are 
11961         prerolling.
11962         Before rendering after preroll, always check if we
11963         have queued items.
11964         Added some more debugging.
11965
11966 2006-02-02  Wim Taymans  <wim@fluendo.com>
11967
11968         * gst/gstelement.c: (gst_element_continue_state),
11969         (gst_element_set_state_func), (gst_element_change_state):
11970         Fixed #326576, been running this for quite some time with
11971         no regressions at all.
11972
11973 2006-02-02  Wim Taymans  <wim@fluendo.com>
11974
11975         * common/gst.supp:
11976         Added more suppressions
11977
11978 2006-02-02  Wim Taymans  <wim@fluendo.com>
11979
11980         * docs/design/part-element-sink.txt:
11981         Updated document.
11982
11983         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11984         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11985         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11986         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11987         (gst_base_sink_do_sync), (gst_base_sink_render_object),
11988         (gst_base_sink_preroll_object),
11989         (gst_base_sink_queue_object_unlocked),
11990         (gst_base_sink_queue_object), (gst_base_sink_event),
11991         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11992         (gst_base_sink_loop), (gst_base_sink_activate_pull),
11993         (gst_base_sink_get_position), (gst_base_sink_change_state):
11994         * libs/gst/base/gstbasesink.h:
11995         Totally refactored matching the design doc.
11996         Use two segments, one to clip incomming buffers and another to
11997         perform sync.
11998         Handle queueing correctly, bypass the queue when playing.
11999         Make EOS cancelable.
12000         Handle errors correctly when operating in pull based mode.
12001
12002         * tests/check/elements/fakesink.c: (GST_START_TEST),
12003         (fakesink_suite):
12004         Added new check for sinks.
12005
12006 2006-02-02  Wim Taymans  <wim@fluendo.com>
12007
12008         * gst/gstsegment.c: (gst_segment_clip):
12009         No reason to refuse to clip when start == -1
12010
12011 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
12012
12013         * docs/README:
12014         * docs/manual/intro-basics.xml:
12015         * docs/manual/intro-preface.xml:
12016         * docs/manual/manual.xml:
12017         * docs/pwg/advanced-dparams.xml:
12018         * docs/pwg/intro-basics.xml:
12019         * docs/pwg/intro-preface.xml:
12020         * docs/pwg/pwg.xml:
12021           describe dparams (controller) for plugins
12022           unify docs a little more
12023
12024 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
12025
12026         * docs/gst/gstreamer-sections.txt:
12027         * gst/gstutils.c: (element_find_unconnected_pad),
12028         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12029         * gst/gstutils.h:
12030           Add new API: gst_parse_bin_from_description() and
12031           gst_bin_find_unconnected_pad() (#329069).
12032
12033 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
12034
12035         * docs/manual/README:
12036           uncover a nasty detail of the docs build
12037
12038 2006-01-31  Wim Taymans  <wim@fluendo.com>
12039
12040         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12041         Don't cache duration messages if we're not going to use or
12042         free them.
12043
12044 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
12045
12046         * docs/manual/advanced-dparams.xml:
12047         * docs/pwg/advanced-dparams.xml:
12048           more dparam docs
12049         * gst/gstindex.c:
12050           fix docs
12051         * libs/gst/controller/lib.c: (gst_controller_init):
12052           init just once
12053
12054 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
12055
12056         * gst/gstelement.c: (gst_element_message_full):
12057           also show file/line/func if no additional debug was given
12058
12059 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
12060         
12061         * win32/vs7/grammar.vcproj:
12062           activate copy of autogenerated files for Release mode
12063
12064 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12065         
12066         * win32/common/libgstreamer.def:
12067           export gst_value_compare
12068
12069 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
12070
12071         * plugins/elements/Makefile.am:
12072         * plugins/elements/gstelements.c:
12073         * plugins/elements/gstfdsink.c: (_do_init),
12074         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12075         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12076         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12077         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12078         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12079         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12080         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12081         * plugins/elements/gstfdsink.h:
12082         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12083
12084 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
12085
12086         * docs/manual/advanced-dparams.xml:
12087           describe controller
12088         * docs/manual/advanced-position.xml:
12089         * docs/manual/basics-init.xml:
12090         * docs/manual/manual.xml:
12091         * docs/manual/titlepage.xml:
12092         * docs/pwg/pwg.xml:
12093         * docs/pwg/titlepage.xml:
12094           cleanup xml (more to come)
12095         * libs/gst/controller/gstcontroller.c:
12096           fix typo
12097
12098 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12099         
12100         * win32/vs6/grammar.dsp:
12101           add autogen of gstmarshal.c,h for Release mode
12102                 
12103 2006-01-30  Wim Taymans  <wim@fluendo.com>
12104
12105         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12106         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12107         (gst_base_sink_handle_object), (gst_base_sink_event),
12108         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12109         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12110         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12111         (gst_base_sink_deactivate), (gst_base_sink_activate),
12112         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12113         (gst_base_sink_query), (gst_base_sink_change_state):
12114         Basesink cleanups, remove some old code.
12115         Handle the case where a subclass can preroll in the render
12116         method (mostly audiosinks).
12117         Handle more events.
12118         Remove some locks around variables that are now protected
12119         with the PREROLL_LOCK (clock_id, flushing, ..).
12120         Optimize position query some more, do correct locking.
12121         Remove old code to push queue in state change, this is not
12122         needed anymore since preroll blocks on all prerollable items 
12123         now.
12124         Almost implemented as described in design doc.
12125
12126 2006-01-30  Wim Taymans  <wim@fluendo.com>
12127
12128         * tests/check/gst/gstbin.c: (GST_START_TEST):
12129         Wait for refcount to settle down before checking.
12130
12131 2006-01-30  Wim Taymans  <wim@fluendo.com>
12132
12133         * docs/design/part-element-sink.txt:
12134         Pseudo code overview of desired sink behaviour regarding
12135         preroll.
12136
12137 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12138         * win32/vs6/grammar.dsp:
12139           fix some bugs in Release mode for autogenerated files
12140                 
12141 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12142         * win32/common/libgstbase.def:
12143         * win32/common/libgstreamer.def:
12144           export some new symbols: gst_base_src_set_format,
12145           gst_iterator_next, gst_structure_set_valist
12146
12147 2006-01-29  Julien MOUTTE  <julien@moutte.net>
12148
12149         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12150         Set pad functions unconditionally. Fixes #329105.
12151
12152 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12153         * win32/vs8:
12154           add vs8 project files created by Sergey Scobich
12155
12156 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
12157
12158         * gst/gstutils.c: (gst_element_unlink_pads):
12159         Don't leak pad references.
12160
12161         * tests/check/elements/fakesink.c: (GST_START_TEST):
12162         * tests/check/generic/sinks.c: (GST_START_TEST):
12163         * tests/check/generic/states.c: (GST_START_TEST):
12164         * tests/check/gst/gstbin.c: (GST_START_TEST):
12165         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12166         * tests/check/gst/gstelement.c: (GST_START_TEST):
12167         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12168         * tests/check/gst/gstiterator.c: (GST_START_TEST):
12169         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12170         Fix a bunch of leaks. Make generic/sinks.c
12171         use a bit less cpu by slowing the buffer rate
12172         between fakesrc and fakesink.
12173         
12174 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
12175         * gst/gstcaps.c:
12176         * gst/gstelement.c: (gst_element_send_event):
12177         * gst/gstevent.c:
12178         * gst/gstinfo.c:
12179         * gst/gstiterator.c:
12180         * gst/gstiterator.h:
12181         * gst/gstpad.c: (gst_pad_send_event):
12182         * gst/gststructure.c:
12183         * gst/gsturi.c:
12184         * gst/gstutils.c:
12185         * gst/gstvalue.c:
12186         * libs/gst/base/gstadapter.c:
12187           doc fixes, to link to function, just write gst_cool_function(), don't
12188           prefix with '#'
12189
12190 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12191
12192         * plugins/elements/gsttee.c: (gst_tee_do_push),
12193         (gst_tee_handle_buffer):
12194         Always prefer an actual return value from a src
12195         pad in place of NOT_LINKED. This means we return
12196         WRONG_STATE when all src pads are WRONG_STATE
12197         instead of NOT_LINKED.
12198
12199         Lock when replacing the last message to prevent
12200         racing with the get_property method.
12201
12202         Add debug output
12203
12204 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12205
12206         * tests/check/Makefile.am:
12207         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12208         (main):
12209         Add a very simple check that should have caught the memleak I fixed
12210         last night (if not for the slice allocator hiding it)
12211
12212 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12213
12214         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12215         (gst_bin_remove_func), (gst_bin_handle_message_func),
12216         (bin_query_duration_fold), (bin_query_generic_fold):
12217         Clean up references to the clock provider when disposed or when
12218         handling a clock-lost message from it.
12219
12220         Unref sinks when performing a query via gst_iterator_fold, as the
12221         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12222
12223         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12224         (gst_clock_set_master):
12225         Drop our reference to the master clock, if any, when we are disposed.
12226
12227         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12228         Chain up in dispose. 
12229
12230 2006-01-26  Wim Taymans  <wim@fluendo.com>
12231
12232         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12233         Add some debugging.
12234
12235 2006-01-26  Julien MOUTTE  <julien@moutte.net>
12236
12237         * plugins/elements/gsttee.c: (gst_tee_do_push),
12238         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12239         handles pad being NOT_LINKED or in WRONG_STATE.
12240
12241 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12242
12243         * win32/MANIFEST:
12244           more updating
12245
12246 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12247
12248         * win32/MANIFEST:
12249           remove obsolete entry
12250
12251 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12252
12253         * docs/gst/gstreamer-sections.txt:
12254         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12255         (gst_bin_iterate_sources), (gst_bin_send_event):
12256         * gst/gstbin.h:
12257         * gst/gstelement.c: (gst_element_send_event):
12258         * gst/gstevent.c:
12259         * gst/gstpad.c: (gst_pad_send_event):
12260           added code for downstream events, reviewed docs in gstevent.c
12261
12262 2006-01-25  Julien MOUTTE  <julien@moutte.net>
12263
12264         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12265         We only query position using the clock in the playing state.
12266         Query peer in the other cases.
12267         * win32/common/config.h: Updates.
12268
12269 2006-01-24  Wim Taymans  <wim@fluendo.com>
12270
12271         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12272         A clock entry that is scheduled for the exact time of the
12273         clock is still in time.
12274
12275         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12276         (gst_base_sink_do_sync):
12277         Add some more debug info.
12278
12279 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12280
12281         * win32/vs7:
12282           Add new vs7 project files and solution.
12283
12284 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12285
12286         * win32/vs7:
12287           all files removed as they were out-dated.
12288
12289 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12290
12291         * docs/random/release:
12292           update notes
12293         * gst/gstbin.c: (gst_bin_init):
12294         * gst/gstbus.c: (gst_bus_new):
12295         * gst/gstbus.h:
12296         * gst/gstpipeline.c: (gst_pipeline_init):
12297           use gst_bus_new(), improve logging, fix docs
12298         * win32/common/config.h:
12299           update for cvs build
12300
12301 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12302
12303         * autogen.sh:
12304           up required version of automake to 1.7
12305
12306 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
12307
12308         * win32/common/libgstreamer.def:
12309           export gst_buffer_is_metadata_writable
12310
12311 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
12312
12313         * docs/gst/gstreamer-sections.txt:
12314         * gst/gstevent.h:
12315           Add gst_event_replace() (#327001)
12316
12317 2006-01-20  Wim Taymans  <wim@fluendo.com>
12318
12319         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12320         Make it actually compile too..
12321
12322 2006-01-20  Wim Taymans  <wim@fluendo.com>
12323
12324         * gst/gstcaps.c:
12325         Clarify behaviour of _is_equal() when passing NULL parameters.
12326
12327         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12328         (gst_pad_set_caps):
12329         Cleanups. Don't unref NULL caps.
12330         When setting the same caps, protect caps of the pad with
12331         proper lock.
12332         Use full functionality of _is_equal() when comparing caps.
12333
12334 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12335
12336         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12337         Don't loop infinitely if there are no buffers to present. Partially
12338         fixes #327197, but collectpads is just broken for reusing elements
12339         to do multiple encodes atm.
12340
12341 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12342
12343         * tools/gst-inspect.c: (print_element_features):
12344         * tools/gst-xmlinspect.c: (main):
12345         URL_HANDLER is not a plugin feature we can search for in
12346         the registry.
12347
12348 2006-01-19  Edward Hervey  <edward@fluendo.com>
12349
12350         * gst/gstelement.c: (gst_element_pads_activate): 
12351         When activating, do src pads first, then sink pads.
12352         When de-activating, do sink pads first, then src pads.
12353
12354 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12355
12356         * docs/gst/gstreamer-sections.txt:
12357         Add gst_index_add_associationv to the docs
12358
12359 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12360
12361         * gst/gstevent.c:
12362           Fix docs typo
12363
12364         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12365         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12366           Do some refactoring. Doesn't actually change functionality,
12367           but makes landing the DRAIN event easier later.
12368
12369 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
12370
12371         * docs/pwg/advanced-scheduling.xml:
12372           Update from 0.9.x to 0.10 API and make example a bit
12373           clearer.
12374
12375 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12376
12377         * docs/gst/gstreamer-sections.txt:
12378         Add gst_buffer_(is|make)_metadata_writable methods.
12379
12380 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12381
12382         * docs/design/part-sparsestreams.txt:
12383         Update sparse streams doc, hopefully for greater clarity
12384
12385 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
12386
12387         * docs/design/part-events.txt:
12388         Remove mention of FILLER events.
12389         Add DRAIN event.
12390
12391         * docs/design/part-sparsestreams.txt:
12392         Write some things about using NEWSEGMENT to keep sparse streams
12393         flowing.
12394
12395 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12396
12397         * gst/gstbin.c: (gst_bin_dispose):
12398           Guard gst_object_unref call against a NULL object (dispose
12399           can theoretically be called multiple times).
12400           
12401 2006-01-18  Wim Taymans  <wim@fluendo.com>
12402
12403         * gst/gstbin.c: (gst_bin_element_set_state):
12404         * gst/gstclock.c: (gst_clock_id_wait):
12405         Added some more debug info.
12406
12407         * libs/gst/base/gstadapter.c:
12408         Added more docs.
12409
12410         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12411         (gst_base_sink_do_sync), (gst_base_sink_chain):
12412         Added some comments.
12413
12414 2006-01-18  Wim Taymans  <wim@fluendo.com>
12415
12416         * tests/check/Makefile.am:
12417         * tests/check/elements/fakesink.c: (chain_async_buffer),
12418         (chain_async), (chain_async_return), (GST_START_TEST),
12419         (fakesink_suite), (main):
12420         Added fakesink test that checks prerolling and clipping
12421         behaviour.
12422
12423         * tests/check/gst/gstutils.c: (GST_START_TEST):
12424         Make check run faster so that buildbots don't timeout.
12425
12426 2006-01-18  Wim Taymans  <wim@fluendo.com>
12427
12428         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12429         (gst_base_sink_do_sync):
12430         Some cleanups.
12431         When the sink finishes blocking on the preroll buffer, it can
12432         immediatly render it instead of rendering when the next buffer
12433         arrives.
12434
12435 2006-01-18  Wim Taymans  <wim@fluendo.com>
12436
12437         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12438         (gst_base_sink_get_property), (gst_base_sink_do_sync),
12439         (gst_base_sink_chain):
12440         Small cleanups.
12441         GST_ELEMENT_CLOCK and sync are protected with LOCK.
12442         Don't store _last_stop if the buffer is dropped.
12443
12444 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12445
12446         * plugins/elements/gsttypefindelement.c:
12447         (gst_type_find_element_class_init):
12448           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12449           object method handler that sets the caps on the pad and we want
12450           that to happen before we emit the signal (fixes e.g. feeding a
12451           plain text file to decodebin).
12452
12453 2006-01-18  Christian Schaller  <Christian@fluendo.com>
12454
12455         * gst/gstplugin.c: Add MPL and Proprietary as license options
12456
12457 2006-01-18  Andy Wingo  <wingo@pobox.com>
12458
12459         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12460         symbol was exported before, it appears this was just an oversight.
12461         Fixes #168703.
12462         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12463
12464         * gst/gstindex.c (gst_index_add_associationv): Changed int in
12465         prototype to gint. OK since this prototype was not in the header.
12466
12467 2006-01-17  Andy Wingo  <wingo@pobox.com>
12468
12469         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12470         registry while we remove plugins.
12471
12472         * tools/gst-inspect.c (print_element_info): Don't unref the
12473         factory arg, that should be the responsibility of whatever code
12474         received the ref. Fixes a double-free when called from
12475         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12476         (main): Unref the factory if we have one.
12477         (print_element_list): No change -- relies on the
12478         plugin_feature_list_free to free the list of features.
12479
12480 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
12481
12482         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12483         (gst_buffer_make_metadata_writable):
12484         * gst/gstbuffer.h:
12485         * libs/gst/base/gstbasetransform.c:
12486         (gst_base_transform_prepare_output_buf):
12487         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12488         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12489           Replace gst_buffer_(make|is)_metadata_writable patch now
12490           that the release is out.
12491
12492 2006-01-17  Andy Wingo  <wingo@pobox.com>
12493
12494         * gst/gstregistry.c: Reflow design comment. Update so as to speak
12495         in the present tense without reference to versions.
12496
12497         * gst/gstregistry.c (gst_registry_add_plugin)
12498         (gst_registry_remove_plugin, gst_registry_remove_feature)
12499         (gst_registry_find_feature, gst_registry_get_feature_list)
12500         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12501         (gst_registry_lookup, gst_registry_scan_path)
12502         (_gst_registry_remove_cache_plugins)
12503         (gst_registry_get_feature_list_by_plugin): Add argument
12504         validation.
12505
12506 === release 0.10.2 ===
12507
12508 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
12509
12510         * configure.ac:
12511           releasing 0.10.2, "If man is five"
12512
12513 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12514
12515         * gst/gstbuffer.c:
12516         * gst/gstbuffer.h:
12517         * libs/gst/base/gstbasetransform.c:
12518         (gst_base_transform_prepare_output_buf):
12519         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12520         * tests/check/gst/gstbuffer.c: (gst_test_suite):
12521           Back out patch until after the release.
12522
12523 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12524
12525         * gst/gstminiobject.c:
12526           Spelling fix in docs.
12527         * ChangeLog - remove conflict indicator
12528
12529 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12530
12531         Reviewed By: Andy Wingo
12532
12533         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12534         (gst_buffer_make_metadata_writable):
12535         * gst/gstbuffer.h:
12536           Add gst_buffer_(is|make)_metadata_writable as analogues of
12537           gst_buffer_(is|make)_writable.
12538
12539         * libs/gst/base/gstbasetransform.c:
12540         (gst_base_transform_prepare_output_buf):
12541         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12542           Use name gst_buffer_(is|make)_metadata_writable functions.
12543
12544         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12545           Test gst_buffer_(is|make)_metadata_writable
12546         
12547           (Closes: #324162)
12548
12549 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12550
12551         * docs/manual/Makefile.am:
12552           don't do parallel make
12553         * configure.ac:
12554           AC_SUBST HOST_CPU
12555         * win32/common/config.h.in:
12556           add generations for HOST_CPU and GST_MAJORMINOR
12557         * win32/common/config.h:
12558           commit generated result
12559
12560 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
12561
12562         * docs/manual/appendix-integration.xml:
12563           Update GNOME integration section to use gst_init_get_option_group()
12564           instead of the old popt stuff (#322911). Also, GNOME applications
12565           should  now use gconf*sink and gconf*src instead of the old gconf
12566           helper lib we had.
12567
12568 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
12569
12570
12571         * docs/gst/gstreamer-docs.sgml:
12572         * docs/gst/gstreamer-sections.txt:
12573         * docs/libs/gstreamer-libs-sections.txt:
12574           add new API entries to the docs
12575         * libs/gst/controller/Makefile.am:
12576         * libs/gst/controller/gstcontroller.c:
12577         * libs/gst/controller/gstcontroller.h:
12578         * libs/gst/controller/gstcontrollerprivate.h:
12579         * libs/gst/controller/gsthelper.c:
12580         * libs/gst/controller/gstinterpolation.c:
12581           move private structs to private header
12582         * po/README:
12583           gstreamer-0.7 -> gstreamer-0.10
12584         * tests/check/libs/struct_i386.h:
12585           remove private structs
12586
12587 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12588
12589         * plugins/indexers/Makefile.am:
12590           Fixes as part of #317048
12591
12592 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12593
12594         * plugins/indexers/Makefile.am:
12595           fix #316086 - compilation when mmap is missing
12596
12597 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
12598
12599         * libs/gst/base/gstbasesink.c:
12600           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
12601           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12602         * win32/common/config.h:
12603           added some defines GST_MAJORMINOR and HOST_CPU
12604         * win32/common/libgstbase.def:
12605         * win32/common/libgstreamer.def:
12606           added some exported functions.
12607
12608 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12609
12610         * libs/gst/controller/gstcontroller.c:
12611         (gst_controlled_property_set_interpolation_mode),
12612         (gst_controlled_property_new):
12613         * libs/gst/controller/gstcontroller.h:
12614         * libs/gst/controller/gstinterpolation.c:
12615         (interpolate_none_get_string_value_array):
12616           make G_TYPE_STRING controlable
12617
12618 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12619
12620         * tools/README:
12621         * tools/gst-feedback.1.in:
12622         * tools/gst-inspect.1.in:
12623         * tools/gst-launch.1.in:
12624         * tools/gst-md5sum.1.in:
12625         * tools/gst-typefind.1.in:
12626         * tools/gst-xmlinspect.1.in:
12627         * tools/gst-xmllaunch.1.in:
12628           cleanup man-pages, remove reference to gst-register, document env-vars
12629
12630 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
12631
12632         * gst/gstbuffer.c: (gst_buffer_span):
12633           gst_buffer_span should copy the timestamp of the first buffer
12634           if they were both originally overlapping subbuffers of the 
12635           same parent, using the same logic as the 'slow copy' case.
12636
12637 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
12638
12639         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12640           Need to awaken ALL the pads when we pop a buffer, otherwise
12641           collectpads only works when there is 2 input streams.
12642
12643 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
12644
12645         * docs/random/ensonic/media-device-daemon.txt:
12646           more ideas (dbus)
12647         * gst/gstbuffer.c:
12648           fix doc example, add clarification
12649         * tools/gst-launch.1.in:
12650           add initial info about GST_PLUGIN_PATH, needs more work
12651
12652 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
12653
12654         * docs/manual/basics-bins.xml:
12655         * docs/manual/basics-elements.xml:
12656         * docs/manual/intro-basics.xml:
12657           Some more minor docs additions and updates.
12658
12659 2006-01-11  Wim Taymans  <wim@fluendo.com>
12660
12661         * docs/manual/basics-bins.xml:
12662         * docs/manual/basics-elements.xml:
12663         Some small fixes as pointed out by Ser-ver on IRC.
12664
12665 2006-01-10  Edward Hervey  <edward@fluendo.com>
12666
12667         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12668         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12669         the single-segment mode.
12670
12671 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
12672
12673         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12674
12675         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12676         (gst_base_src_perform_seek), (gst_base_src_send_event),
12677         (gst_base_src_set_property), (gst_base_src_get_property),
12678         (gst_base_src_loop), (gst_base_src_start),
12679         (gst_base_src_activate_push):
12680         * libs/gst/base/gstbasesrc.h:
12681           Name (private) union; makes Sun's Forte compiler happy (#324900).
12682
12683 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
12684
12685         * README:
12686           gst-register is gone.
12687
12688 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12689
12690         * gst/gstvalue.c: (_gst_value_initialize):
12691           make the G_TYPE_DATE instantiation work if debug is disabled
12692
12693 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
12694
12695         * gst/gstmessage.c: (gst_message_parse_tag),
12696         (gst_message_parse_error), (gst_message_parse_warning):
12697           Don't crash when return location for error/warning debug
12698           string is NULL; add fact that return locations can be
12699           NULL to docs where appropriate.
12700
12701 2006-01-05  Wim Taymans  <wim@fluendo.com>
12702
12703         * gst/gstplugin.c: (gst_plugin_load_file):
12704         Replace strdup by g_strdup.
12705
12706 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12707
12708         * docs/pwg/advanced-types.xml:
12709           fix doc borkage
12710
12711 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12712
12713         submitted by: Abel Cheung
12714
12715         * po/LINGUAS:
12716         * po/zh_TW.po:
12717           Added Chinese (traditional) translation
12718
12719 2006-01-04  Wim Taymans  <wim@fluendo.com>
12720
12721         * docs/manual/basics-pads.xml:
12722         * docs/plugins/Makefile.am:
12723         * docs/plugins/gstreamer-plugins-docs.sgml:
12724         * docs/plugins/gstreamer-plugins-sections.txt:
12725         * docs/pwg/advanced-clock.xml:
12726         * docs/pwg/advanced-scheduling.xml:
12727         * docs/pwg/advanced-types.xml:
12728         * plugins/elements/gstfdsink.c:
12729         * plugins/elements/gstfdsrc.c:
12730         * plugins/elements/gstfdsrc.h:
12731         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12732         * plugins/elements/gstidentity.h:
12733         * plugins/elements/gstqueue.h:
12734         * plugins/elements/gsttee.c:
12735         * plugins/elements/gsttee.h:
12736         * plugins/elements/gsttypefindelement.c:
12737         (gst_type_find_element_class_init):
12738         * plugins/elements/gsttypefindelement.h:
12739         Small updates to various docs.
12740         Added core plugins to docs.
12741
12742 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12743
12744         * common/gst.supp:
12745           add a suppression for liboil's uninitialized variable
12746
12747 2006-01-02  James Livingston  <jrl at ids dot org dot au>
12748
12749         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12750
12751         * gst/gstutils.h:
12752           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12753           macro, so that gcc doesn't complain if the -Wmissing-prototypes
12754           compiler switch is being used (#325429).
12755
12756 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
12757
12758         * gst/gstbin.c: (gst_bin_query):
12759           Disable duration query caching in bins until it gets
12760           fixed (see #324807).
12761
12762 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12763
12764         * tools/gst-inspect.c: (print_element_properties_info):
12765           Handle properties of POINTER and BOXED type.
12766
12767 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12768
12769         * gst/gst.c: (init_post):
12770           Init tags stuff and some other things before loading
12771           any static plugins (there may be other static plugins
12772           than just the GStreamer ones, and they may want to
12773           register their own tags or formats or whatever, and
12774           preferably without segfaulting).
12775
12776         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12777           Print at least a warning in the debug logs if we drop a
12778           query just because we don't know how to adjust the value
12779           in the particular format.
12780
12781 2005-12-24  David Schleef  <ds@schleef.org>
12782
12783         * tools/gstreamer-completion:
12784           Replacement for gst-complete written in sh and sed.  Only
12785           completes names of features, but that's 90% of what I want
12786           it for.  Properties are not available in registry.xml.  (Maybe
12787           they should be...)
12788
12789 === release 0.10.1 ===
12790
12791 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
12792
12793         * configure.ac:
12794           releasing 0.10.1, "Nollaig chridheil"
12795
12796 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
12797
12798         * docs/faq/cvs.xml:
12799           Add missing quote, should be make ERROR_CFLAGS="".
12800
12801 2005-12-20  Wim Taymans  <wim@fluendo.com>
12802
12803         * docs/design/part-trickmodes.txt:
12804         More documentation on trickmodes.
12805
12806 2005-12-20  Edward Hervey  <edward@fluendo.com>
12807
12808         * gst/gstcaps.c: (gst_static_caps_get_type):
12809         * gst/gstcaps.h:
12810           API addition: GST_TYPE_STATIC_CAPS
12811         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12812         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12813         * gst/gstpadtemplate.h:
12814           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12815         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12816         bindings.
12817
12818 2005-12-18  Wim Taymans  <wim@fluendo.com>
12819
12820         * libs/gst/base/gstadapter.c:
12821         * libs/gst/base/gstadapter.h:
12822         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12823         (gst_base_sink_get_position):
12824         * libs/gst/base/gstbasesink.h:
12825         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12826         (gst_base_src_default_query), (gst_base_src_default_do_seek),
12827         (gst_base_src_do_seek), (gst_base_src_perform_seek),
12828         (gst_base_src_send_event), (gst_base_src_update_length),
12829         (gst_base_src_get_range), (gst_base_src_loop),
12830         (gst_base_src_start):
12831         * libs/gst/base/gstbasesrc.h:
12832         * libs/gst/base/gstbasetransform.h:
12833         * libs/gst/base/gstcollectpads.h:
12834         * libs/gst/base/gstpushsrc.c:
12835         * libs/gst/base/gstpushsrc.h:
12836         * libs/gst/dataprotocol/dataprotocol.c:
12837         * libs/gst/dataprotocol/dataprotocol.h:
12838         * libs/gst/net/gstnetclientclock.h:
12839         * libs/gst/net/gstnettimeprovider.h:
12840         Documentation updates.
12841
12842 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
12843
12844         * docs/manual/basics-helloworld.xml:
12845           Remove superfluous closing bracket in helloworld example.
12846
12847 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
12848
12849         * tools/gst-launch.1.in:
12850           Update gst-launch man page; add a section with useful
12851           environment variables. Fixes #323882.
12852
12853 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
12854
12855         * gst/gst.c:
12856         * gst/gst_private.h:
12857           change some char* into char[]
12858
12859 2005-12-16  Wim Taymans  <wim@fluendo.com>
12860
12861         * gst/gstregistryxml.c: (load_feature):
12862         Cleanups.
12863         Don't use g_object_unref on GstObjects so that we avoid
12864         leaks on unsafe glibs.
12865
12866 2005-12-16  Wim Taymans  <wim@fluendo.com>
12867
12868         * gst/gstbin.c: (gst_bin_recalc_state):
12869         Small doc updates.
12870
12871 2005-12-16  Wim Taymans  <wim@fluendo.com>
12872
12873         * common/check.mak:
12874         Added make forever target for check.
12875
12876 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12877
12878         * gst/gst.c: (init_post):
12879           make the registry cache file HOST_CPU-dependent
12880
12881 2005-12-16  Andy Wingo  <wingo@pobox.com>
12882
12883         * plugins/elements/gstbufferstore.c
12884         (gst_buffer_store_cleared_func): Pay attention to g_list_append
12885         return value.
12886
12887         * tests/check/gst/gstobject.c
12888         (test_fake_object_name_threaded_unique): Pay attention to
12889         g_list_sort return value.
12890
12891 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
12892
12893         * tools/gst-feedback-m.m:
12894           Update for 0.9/0.10 (fixes #323870).
12895
12896 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
12897
12898         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12899           Fix lcopy for mini objects, the mini object needs to be ref'ed.
12900           
12901         * tests/check/gst/gstminiobject.c: (my_foo_init),
12902         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12903         (test_value_collection), (gst_mini_object_suite):
12904           Add test to ensure refcounts end up as expected when passing
12905           GstMiniObjects through g_object_get() and g_object_set().
12906
12907 2005-12-14  Julien MOUTTE  <julien@moutte.net>
12908
12909         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12910         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12911         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12912         of collectpads. This version removes a lot of races without
12913         touching API/ABI. Yay !
12914
12915 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
12916
12917         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12918           Don't allow activation of a srcpad in pull_range if it has no
12919           getrange function.
12920           Change some debug statements to be a little clearer
12921
12922         * plugins/elements/gsttypefindelement.c:
12923         (gst_type_find_handle_src_query):
12924           Check that we have a peer before executing queries thereupon.
12925
12926         * tests/examples/metadata/read-metadata.c: (message_loop):
12927           Use gst_bus_pop instead of gst_bus_poll when we just want it to
12928           immediately return us any available message with 0 timeout.
12929
12930 2005-12-12  Michael Smith  <msmith@fluendo.com>
12931
12932         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12933           Don't unref factories after calling them.
12934         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12935         * plugins/elements/gsttypefindelement.c:
12936         (gst_type_find_element_chain):
12937           Free lists of factories after using them. Fixing typefinding memory
12938           leaks.
12939
12940 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12941
12942         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12943         (gst_plugin_feature_load):
12944           more meaningful debug output
12945         * configure.ac:
12946         * tests/Makefile.am:
12947         * tests/old/examples/Makefile.am:
12948           make make distcheck happy again
12949
12950 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12951
12952         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12953           Catch the special case where we are operating chain-based,
12954           but the downstream peer pad has no chain function. Emit a
12955           custom error message in this case instead of letting the
12956           core generate one implying that this is some sort of core
12957           bug. It's not, it just means that whatever got plugged
12958           into the pipeline downstream when we announced the type
12959           can only operate pull-based, while our source can only
12960           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12961           Error string has not been marked for translation yet, as
12962           it probably needs some more work first.
12963
12964         (gst_type_find_element_get_best_possibility):
12965           Add helper function to find the best of all available
12966           found possibilities that qualify given the min. threshold.
12967
12968         (gst_type_find_element_handle_event):
12969           Fix the case where we get an EOS while still in TYPEFIND
12970           mode (we want to chose the best of all possible types,
12971           not just the first type that happens to be in our unsorted
12972           list of possible types).
12973
12974         (gst_type_find_element_chain):
12975           Make sure we return GST_FLOW_ERROR when we errored out
12976           in stop_typefinding(); also, don't just find the best of
12977           all found type entries and then use the last examined
12978           type entry, but actually use the best entry.
12979
12980 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12981
12982         * tests/examples/typefind/typefind.c: (type_found):
12983         * tests/examples/xml/runxml.c: (xml_loaded):
12984           More gcc4 fixes and a mem leak fix.
12985
12986 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12987
12988         * tests/examples/xml/createxml.c: (object_saved):
12989           gcc 4 fixes
12990
12991 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12992
12993         * tests/Makefile.am:
12994           enable the examples even more
12995
12996 2005-12-12  Andy Wingo  <wingo@pobox.com>
12997
12998         * libs/gst/net/gstnettimeprovider.c
12999         (gst_net_time_provider_class_init, gst_net_time_provider_init)
13000         (gst_net_time_provider_set_property)
13001         (gst_net_time_provider_get_property):
13002         API addition: Export "active" as a GObject property.
13003         (gst_net_time_provider_thread): Only respond to time queries if
13004         the time provider is active.
13005
13006         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
13007         NetTimeProvider, preserving binary compat.
13008
13009 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13010
13011         * tests/examples/controller/audio-example.c: (main):
13012         * tests/examples/launch/Makefile.am:
13013           convert comments again
13014
13015 2005-12-12  Wim Taymans  <wim@fluendo.com>
13016
13017         * libs/gst/base/gstpushsrc.c:
13018         Fix typo.
13019
13020 2005-12-12  Wim Taymans  <wim@fluendo.com>
13021
13022         * docs/libs/gstreamer-libs-sections.txt:
13023         Added new symbol to docs.
13024
13025         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13026         (gst_base_src_init), (gst_base_src_set_format),
13027         (gst_base_src_default_query), (gst_base_src_query),
13028         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13029         (gst_base_src_perform_seek), (gst_base_src_send_event),
13030         (gst_base_src_default_event), (gst_base_src_event_handler),
13031         (gst_base_src_set_property), (gst_base_src_get_property),
13032         (gst_base_src_wait), (gst_base_src_do_sync),
13033         (gst_base_src_update_length), (gst_base_src_get_range),
13034         (gst_base_src_check_get_range), (gst_base_src_loop),
13035         (gst_base_src_default_negotiate), (gst_base_src_start),
13036         (gst_base_src_activate_push), (gst_base_src_activate_pull),
13037         (gst_base_src_change_state):
13038         * libs/gst/base/gstbasesrc.h:
13039         Implement seeking to other formats than _BYTES.
13040         Implement more seeking methods correctly.
13041         Doc updates.
13042         Added query vmethod.
13043         Added do_seek vmethod to make life easier for subclasses
13044         when seeking.
13045         API addition: gst_base_src_set_format()
13046
13047 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13048
13049         * tests/examples/Makefile.am:
13050           added that too
13051
13052 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13053
13054         * configure.ac:
13055         * docs/random/ensonic/media-device-daemon.txt:
13056         * tests/examples/controller/.cvsignore:
13057         * tests/examples/controller/Makefile.am:
13058         * tests/examples/controller/audio-example.c: (main):
13059         * tests/examples/helloworld/.cvsignore:
13060         * tests/examples/helloworld/Makefile.am:
13061         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13062         * tests/examples/launch/.cvsignore:
13063         * tests/examples/launch/Makefile.am:
13064         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13065         * tests/examples/metadata/.cvsignore:
13066         * tests/examples/metadata/Makefile.am:
13067         * tests/examples/metadata/read-metadata.c: (message_loop),
13068         (make_pipeline), (print_tag), (main):
13069         * tests/examples/queue/.cvsignore:
13070         * tests/examples/queue/Makefile.am:
13071         * tests/examples/queue/queue.c: (event_loop), (main):
13072         * tests/examples/typefind/.cvsignore:
13073         * tests/examples/typefind/Makefile.am:
13074         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13075         (main):
13076         * tests/examples/xml/.cvsignore:
13077         * tests/examples/xml/Makefile.am:
13078         * tests/examples/xml/createxml.c: (object_saved), (main):
13079         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13080         * tests/old/examples/Makefile.am:
13081         * tests/old/examples/TODO:
13082         * tests/old/examples/controller/.cvsignore:
13083         * tests/old/examples/controller/Makefile.am:
13084         * tests/old/examples/controller/audio-example.c:
13085         * tests/old/examples/helloworld/.cvsignore:
13086         * tests/old/examples/helloworld/Makefile.am:
13087         * tests/old/examples/helloworld/helloworld.c:
13088         * tests/old/examples/launch/.cvsignore:
13089         * tests/old/examples/launch/Makefile.am:
13090         * tests/old/examples/launch/mp3parselaunch.c:
13091         * tests/old/examples/launch/mp3play:
13092         * tests/old/examples/manual/Makefile.am:
13093         * tests/old/examples/metadata/Makefile.am:
13094         * tests/old/examples/metadata/read-metadata.c:
13095         * tests/old/examples/queue/.cvsignore:
13096         * tests/old/examples/queue/Makefile.am:
13097         * tests/old/examples/queue/queue.c:
13098         * tests/old/examples/typefind/.cvsignore:
13099         * tests/old/examples/typefind/Makefile.am:
13100         * tests/old/examples/typefind/typefind.c:
13101         * tests/old/examples/xml/.cvsignore:
13102         * tests/old/examples/xml/Makefile.am:
13103         * tests/old/examples/xml/createxml.c:
13104         * tests/old/examples/xml/runxml.c:
13105           applied some simple fixing to some examples
13106           re-enabled the working examples
13107
13108 2005-12-12  Wim Taymans  <wim@fluendo.com>
13109
13110         * gst/gstsegment.c: (gst_segment_init),
13111         (gst_segment_set_last_stop), (gst_segment_set_seek),
13112         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13113         (gst_segment_to_running_time):
13114         Added more documentation.
13115         Make sure the last_pos value is updated properly.
13116         Make sure to_stream_time and to_running_time don't
13117         operate on wrong values.
13118
13119         * tests/check/gst/gstsegment.c: (GST_START_TEST):
13120         Update check.
13121
13122 2005-12-12  Michael Smith  <msmith@fluendo.com>
13123
13124         * plugins/elements/gsttypefindelement.c: (free_entry),
13125         (gst_type_find_element_chain):
13126           Now that we're not leaking factories, make sure we keep references
13127           to them while we need them.
13128
13129 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13130
13131         * tests/check/gst/struct_i386.h:
13132           ifdef out the XML structs
13133
13134 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13135
13136         * gst/gstvalue.c: (gst_value_transform_double_fraction):
13137           floor is not needed, F is always positive; this obviates the
13138           need for adding -lm when building without libxml
13139
13140 2005-12-12  Wim Taymans  <wim@fluendo.com>
13141
13142         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13143         Take current playback rate into account when reporting
13144         the position.
13145
13146 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13147
13148         * docs/manual/mime-world.fig:
13149           Let's try this again, this time with a file that is
13150           actually in XFig format.
13151
13152 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13153
13154         * docs/manual/mime-world.fig:
13155           Add audioconvert element to diagram so that it
13156           matches the text and the code (fixes #319526).
13157
13158 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13159
13160         * docs/pwg/building-chainfn.xml:
13161         * docs/pwg/building-pads.xml:
13162         * docs/pwg/building-state.xml:
13163         * docs/pwg/other-source.xml:
13164           Update state change stuff for 0.10 (fixes #322969).
13165
13166 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13167
13168         * docs/manual/advanced-dataaccess.xml:
13169         * docs/manual/appendix-checklist.xml:
13170         * docs/manual/appendix-programs.xml:
13171         * docs/manual/basics-pads.xml:
13172         * docs/manual/highlevel-components.xml:
13173         * docs/manual/manual.xml:
13174           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13175           add converters in front of pipelines; remove curly
13176           brackets for threads stuff, they no longer exist; use
13177           GST_TYPE_FRACTION for framerates; update some pieces of
13178           code to 0.10, but there's plenty more to do.
13179
13180         * docs/manual/appendix-porting.xml:
13181           Expand on asynchroneous state changes; s/0.9/0.10/;
13182           mention disappearance of gst_init_get_popt_table()
13183           (fixes #322916).
13184
13185 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13186
13187         * docs/faq/using.xml:
13188           Spider no longer exists, and neither does gst-launch-ext.
13189           Update examples to use decodebin and playbin and put
13190           converters in front of sinks (fixes #323726).
13191
13192 2005-12-09  Michael Smith  <msmith@fluendo.com>
13193
13194         * plugins/elements/gsttypefindelement.c: (find_peek),
13195         (gst_type_find_element_chain):
13196           Fix leaking element factories in typefinding.
13197           Fix problem where we forgot about a probable type on non-seekable
13198           files, and thus later mis-typefound it.
13199
13200 2005-12-09  Michael Smith  <msmith@fluendo.com>
13201
13202         * common/m4/gst-makecontext.m4:
13203         * common/m4/gst-mcsc.m4:
13204         * configure.ac:
13205         * win32/common/config.h:
13206         * win32/common/config.h.in:
13207           Remove makecontext stuff; not used in 0.10 and causes problems on
13208           HPUX according to bug #322441
13209
13210 2005-12-07  Wim Taymans  <wim@fluendo.com>
13211
13212         * tests/check/Makefile.am:
13213         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13214         (main):
13215         * tests/check/libs/struct_i386.h:
13216         Added ABI check for libs
13217
13218 2005-12-07  Wim Taymans  <wim@fluendo.com>
13219
13220         * tests/check/Makefile.am:
13221         And add the struct_i386.h to dist.
13222
13223 2005-12-07  Wim Taymans  <wim@fluendo.com>
13224
13225         * tests/check/Makefile.am:
13226         * tests/check/gst/.cvsignore:
13227         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13228         (main):
13229         * tests/check/gst/struct_i386.h:
13230         Added check for ABI compatibility.
13231
13232 2005-12-07  Wim Taymans  <wim@fluendo.com>
13233
13234         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13235         (gst_fake_src_get_times), (gst_fake_src_create):
13236         Fix broken sync option, fixes #323259
13237
13238 2005-12-07  Wim Taymans  <wim@fluendo.com>
13239
13240         * gst/gstbuffer.c:
13241         Small docs update.
13242
13243         * gst/gstcaps.c: (gst_caps_is_equal):
13244         Don't assert on NULL <--> X. Fixes #323260
13245
13246         * gst/gstminiobject.c: (gst_mini_object_replace):
13247         If we're doing atomic operations, we might just as well use
13248         the proper way to get an atomic pointer.
13249
13250         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13251         Clean up debugging.
13252
13253 2005-12-07  Michael Smith  <msmith@fluendo.com>
13254
13255         * gst/parse/grammar.y:
13256           Remove handling of { } for threads.
13257
13258 2005-12-06  David Schleef  <ds@schleef.org>
13259
13260         * libs/gst/base/gstbasetransform.c: speling fix.
13261
13262 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13263
13264         * docs/libs/tmpl/gstdataprotocol.sgml:
13265         * docs/random/omega/testing/gstobject.c:
13266         * gst/gst.c:
13267         * gst/gstclock.c:
13268         * gst/gstelement.c:
13269         * gst/gstelementfactory.c:
13270         * gst/gsterror.c:
13271         * gst/gstevent.c:
13272         * gst/gstghostpad.c:
13273         * gst/gstinfo.c:
13274         * gst/gstpadtemplate.c:
13275         * gst/gstregistryxml.c:
13276         * gst/gsttaglist.c:
13277         * gst/gsttagsetter.c:
13278         * gst/gsttypefind.c:
13279         * gst/gstvalue.c:
13280         * libs/gst/base/gstbasesrc.c:
13281         * libs/gst/net/gstnetclientclock.c:
13282         * libs/gst/net/gstnettimeprovider.c:
13283         * plugins/elements/gstfakesrc.c:
13284         * plugins/elements/gstfdsrc.c:
13285         * plugins/elements/gstfilesrc.c:
13286         * plugins/elements/gstidentity.c:
13287         * plugins/elements/gstqueue.c:
13288         * plugins/elements/gsttypefindelement.c:
13289         * plugins/indexers/gstfileindex.c:
13290         * plugins/indexers/gstmemindex.c:
13291         * tests/check/gst/gsttag.c:
13292         * tests/old/examples/cutter/cutter.c:
13293         * tests/old/examples/mixer/mixer.c:
13294         * tests/old/examples/xml/runxml.c: (main):
13295         * tests/old/testsuite/caps/normalisation.c:
13296         * tests/old/testsuite/debug/global.c:
13297         * tests/old/testsuite/parse/parse1.c:
13298         * tools/gst-xmlinspect.c:
13299         * win32/common/dirent.c:
13300           expand tabs
13301
13302 === release 0.10.0 ===
13303
13304 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13305
13306         * configure.ac:
13307           releasing 0.10.0, "Maroilles"
13308
13309 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13310
13311         submitted by: Funda Wang <fundawang@linux.net.cn>
13312
13313         * po/LINGUAS:
13314         * po/zh_CN.po:
13315           added Chinese (Traditional) translation
13316
13317 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13318
13319         * docs/gst/gstreamer-sections.txt:
13320         * docs/libs/tmpl/gstdataprotocol.sgml:
13321         * docs/random/thomasvs/TODO:
13322         * gst/gstutils.c:
13323         * gst/gstutils.h:
13324           fix docs
13325
13326 2005-12-05  Andy Wingo  <wingo@pobox.com>
13327
13328         patch by: Wim Taymans <wim@fluendo.com>
13329
13330         * libs/gst/base/gstbasetransform.c
13331         (gst_base_transform_prepare_output_buf)
13332         (gst_base_transform_buffer_alloc):
13333         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13334         alloc_buffer_and_set_caps.
13335
13336         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13337         set_caps on the source pad.
13338         (gst_pad_alloc_buffer_and_set_caps): New function, does what
13339         alloc_buffer used to do. Fixes #322874.
13340
13341         * docs/gst/gstreamer-sections.txt: 
13342         * docs/design/part-negotiation.txt: 
13343         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13344         changes.
13345
13346 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13347
13348         patch by: Sebastien Moutte
13349
13350         * win32/MANIFEST:
13351         * win32/common/config.h.in:
13352         * win32/vs6/libgstcontroller.dsp:
13353           win32 build fixes
13354
13355 2005-12-05  Wim Taymans  <wim@fluendo.com>
13356
13357         * gst/gstcaps.c: (gst_caps_is_equal):
13358         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13359         (gst_fake_src_create):
13360         Back out previous code changes, leave doc updates, file bugs 
13361         instead. 
13362
13363 2005-12-05  Wim Taymans  <wim@fluendo.com>
13364
13365         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13366         (gst_fake_src_get_times), (gst_fake_src_create):
13367         * plugins/elements/gstfakesrc.h:
13368         Fix broken sync code.
13369
13370 2005-12-05  Wim Taymans  <wim@fluendo.com>
13371
13372         * gst/gstcaps.c: (gst_caps_is_equal):
13373         Comparing NULL against !NULL yields different caps, not a
13374         failure.
13375
13376 2005-12-05  Wim Taymans  <wim@fluendo.com>
13377
13378         * gst/gstpipeline.c:
13379         Fix small typo in docs.
13380
13381 2005-12-05  Andy Wingo  <wingo@pobox.com>
13382
13383         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
13384
13385         * gst/gst.c (init_post): remove hard-coded 0.9 location for
13386         registries/plugins with a MAJORMINOR one.
13387         (plugin_desc): Rename library from gstcoreleements to
13388         staticelements. Fixes #323222.
13389
13390 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
13391
13392         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13393           Change debug category to 'collectpads' from 'collect_pads'
13394           (fixes #323250).
13395
13396 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13397
13398         patch by: Sebastien Moutte
13399
13400         * libs/gst/controller/gstinterpolation.c:
13401           use convert function for uint64/double
13402         * win32/vs6/libgstcontroller.dsp:
13403           link to GLib
13404
13405 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13406
13407         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13408         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13409         * gst/gstutils.h:
13410         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13411           add tests that seem to show that the guint64/gdouble conversions
13412           are correct.
13413
13414 2005-12-02  Wim Taymans  <wim@fluendo.com>
13415
13416         * gst/gstregistry.c: (gst_registry_add_path):
13417         * gst/gstregistry.h:
13418         * gst/gstregistryxml.c:
13419         Fix docs again.
13420
13421 2005-12-02  Wim Taymans  <wim@fluendo.com>
13422
13423         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13424         (gst_util_uint64_scale_int):
13425         Small cleanup.
13426
13427         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13428         Add debug log line.
13429
13430         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13431         Add FIXME.
13432
13433 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13434
13435         * win32/MANIFEST:
13436         * win32/common/config.h:
13437         * win32/vs6/gstreamer.dsw:
13438         * win32/vs6/libgstcoreelements.dsp:
13439         * win32/vs6/libgstelements.dsp:
13440           renamed core elements plugin
13441
13442 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13443
13444         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13445         (get_candidates):
13446           do piece-wise major/minor comparison so 0.9 < 0.10
13447           also allow .exe extensions for tools
13448
13449 2005-12-02  Michael Smith  <msmith@fluendo.com>
13450
13451         * gst/gst.c:
13452           Escape a % to make gtkdoc happier; bug 322958.
13453
13454 === release 0.9.7 ===
13455
13456 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13457
13458         * configure.ac:
13459           releasing 0.9.7, "My Dog Has No Nose"
13460
13461 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13462
13463         * common/gst-xmlinspect.py:
13464         * configure.ac:
13465         * docs/libs/tmpl/gstdataprotocol.sgml:
13466         * docs/random/release:
13467         * po/af.po:
13468         * po/az.po:
13469         * po/bg.po:
13470         * po/ca.po:
13471         * po/cs.po:
13472         * po/de.po:
13473         * po/en_GB.po:
13474         * po/fr.po:
13475         * po/it.po:
13476         * po/nb.po:
13477         * po/nl.po:
13478         * po/ru.po:
13479         * po/sq.po:
13480         * po/sr.po:
13481         * po/sv.po:
13482         * po/tr.po:
13483         * po/uk.po:
13484         * po/vi.po:
13485         * win32/common/config.h:
13486         * win32/common/config.h.in:
13487         * win32/vs6/gst_inspect.dsp:
13488         * win32/vs6/gst_launch.dsp:
13489         * win32/vs6/libgstbase.dsp:
13490         * win32/vs6/libgstelements.dsp:
13491         * win32/vs6/libgstreamer.dsp:
13492         * win32/vs7/GStreamer.vcproj:
13493         * win32/vs7/gst-inspect.vcproj:
13494         * win32/vs7/gst-launch.vcproj:
13495         * win32/vs7/libgstbase.vcproj:
13496           bump GST_MAJORMINOR to 0.10
13497           reset libtool version
13498
13499 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13500
13501         * po/LINGUAS:
13502         * po/bg.po:
13503           Added Bulgarian translation by (Alexander Shopov)
13504
13505 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13506
13507         * tests/check/gst/gstplugin.c:
13508           fix test
13509
13510 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13511
13512         * common/gst-xmlinspect.py:
13513         * common/gtk-doc-plugins.mak:
13514         * configure.ac:
13515         * docs/Makefile.am:
13516         * docs/gst/Makefile.am:
13517         * docs/gst/gstreamer-docs.sgml:
13518         * docs/gst/gstreamer-sections.txt:
13519         * docs/gst/gstreamer.types:
13520         * docs/gst/gstreamer.types.in:
13521         * docs/plugins/Makefile.am:
13522         * docs/plugins/gstreamer-plugins-docs.sgml:
13523         * docs/plugins/gstreamer-plugins-sections.txt:
13524         * docs/plugins/gstreamer-plugins.types:
13525         * docs/plugins/inspect.stamp:
13526         * docs/plugins/inspect/plugin-coreelements.xml:
13527         * docs/plugins/inspect/plugin-coreindexers.xml:
13528         * docs/plugins/scanobj-build.stamp:
13529         * gstreamer.spec.in:
13530         * plugins/elements/Makefile.am:
13531         * plugins/elements/gstelements.c:
13532         * plugins/elements/gstfakesink.c:
13533         * plugins/elements/gstfakesrc.c:
13534         * plugins/elements/gstfilesink.c:
13535         * plugins/elements/gstfilesrc.c:
13536         * plugins/elements/gstqueue.c:
13537         * plugins/indexers/Makefile.am:
13538         * plugins/indexers/gstindexers.c:
13539           document core plugins in a separate document just like all the
13540           others
13541           rename these plugins to something starting with core
13542
13543 2005-12-01  Andy Wingo  <wingo@pobox.com>
13544
13545         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13546         padding here before, but it missed the commit.
13547
13548 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13549
13550         * libs/gst/controller/gstinterpolation.c:
13551           whitespace prices have crashed, we should feel free to use some now
13552           use gst_guint64_to_gdouble
13553
13554 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13555
13556         * libs/gst/controller/gstcontroller.c:
13557         * libs/gst/controller/gsthelper.c:
13558         * libs/gst/controller/gstinterpolation.c:
13559         * libs/gst/controller/lib.c:
13560           wrap config.h include
13561
13562 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13563
13564         * docs/gst/gstreamer-sections.txt:
13565           update docs
13566
13567 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13568
13569         * plugins/elements/gstelements.c:
13570         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13571         (gst_fd_sink__class_init), (gst_fd_sink__init),
13572         (gst_fd_sink__chain), (gst_fd_sink__set_property),
13573         (gst_fd_sink__get_property):
13574         * plugins/elements/gstfdsink.h:
13575         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13576         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13577         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13578         (gst_fd_src_unlock), (gst_fd_src_set_property),
13579         (gst_fd_src_get_property), (gst_fd_src_create),
13580         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13581         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13582         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13583         (gst_fd_src_uri_handler_init):
13584         * plugins/elements/gstfdsrc.h:
13585         * plugins/elements/gstqueue.c: (gst_queue_get_type):
13586           more anal cleanup
13587
13588 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13589
13590         * docs/gst/Makefile.am:
13591         * docs/gst/gstreamer.types.in:
13592         * gst/Makefile.am:
13593           fix the docs build
13594
13595 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13596
13597         * configure.ac:
13598         * gst/Makefile.am:
13599         * gst/gst.c:
13600         * gst/gstplugin.h:
13601         * gst/gstregistry.h:
13602         * tests/benchmarks/complexity.c:
13603         * tests/benchmarks/mass-elements.c:
13604         * tests/check/Makefile.am:
13605         * tools/Makefile.am:
13606         * tools/gst-inspect.c:
13607         * tools/gst-xmlinspect.c:
13608           various fixes to make
13609           --disable-nls --disable-registry --disable-loadsave
13610           --disable-parse --disable-gst-debug
13611           work and get the core .so down to 360444 bytes after stripping
13612
13613 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13614
13615         * Makefile.am:
13616         * configure.ac:
13617           descend into tests
13618         * docs/random/thomasvs/TODO:
13619         * tests/Makefile.am:
13620         * tests/README:
13621           add a README
13622
13623 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13624
13625         * win32/GStreamer.vcproj:
13626         * win32/MANIFEST:
13627         * win32/Makefile:
13628         * win32/Makefile.inspect:
13629         * win32/Makefile.launch:
13630         * win32/Makefile.register:
13631         * win32/README.txt:
13632         * win32/gst-inspect.vcproj:
13633         * win32/gst-launch.vcproj:
13634         * win32/gst-register.vcproj:
13635         * win32/gstelements.vcproj:
13636         * win32/gstgetbits.def:
13637         * win32/gstgetbits.vcproj:
13638         * win32/gstreamer-dbg.def:
13639         * win32/gstreamer.def:
13640         * win32/libgstbase.def:
13641         * win32/libgstbase.vcproj:
13642         * win32/link_oldruntime.c:
13643         * win32/mman.c:
13644         * win32/mman.h:
13645         * win32/mman.inl:
13646         * win32/msvc71.sln:
13647           move even more stuff, win32/ is nice and clean now
13648
13649 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13650
13651         * libs/gst/control/.cvsignore:
13652         * win32/MANIFEST:
13653         * win32/config.h:
13654         * win32/dirent.c:
13655         * win32/dirent.h:
13656         * win32/gstbytestream.def:
13657         * win32/gstbytestream.vcproj:
13658         * win32/gstconfig.h:
13659         * win32/gstenumtypes.c:
13660         * win32/gstenumtypes.h:
13661         * win32/gstoptimalscheduler.vcproj:
13662         * win32/gstversion.h:
13663         * win32/gtchar.h:
13664         * win32/testsuite/bins.vcproj:
13665         * win32/testsuite/bytestream.vcproj:
13666         * win32/testsuite/caps.vcproj:
13667         * win32/testsuite/cleanup.vcproj:
13668         * win32/testsuite/clock.vcproj:
13669         * win32/testsuite/debug.vcproj:
13670         * win32/testsuite/dlopen.vcproj:
13671         * win32/testsuite/dynparams.vcproj:
13672         * win32/testsuite/elements.vcproj:
13673         * win32/testsuite/ghostpads.vcproj:
13674         * win32/testsuite/indexers.vcproj:
13675         * win32/testsuite/negotiation.vcproj:
13676         * win32/testsuite/parse.vcproj:
13677         * win32/testsuite/plugin.vcproj:
13678         * win32/testsuite/refcounting.vcproj:
13679         * win32/testsuite/schedulers.vcproj:
13680         * win32/testsuite/states.vcproj:
13681         * win32/testsuite/tags.vcproj:
13682         * win32/testsuite/threads.vcproj:
13683           remove old win32 stuff that isn't maintained and should be
13684           reorganized
13685
13686 2005-11-30  Andy Wingo  <wingo@pobox.com>
13687
13688         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13689         loading the gst.interfaces python module bork.
13690
13691         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13692         available since GLib 2.2. Fixes #318031.
13693
13694 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13695
13696         * Makefile.am:
13697         * check/.cvsignore:
13698         * check/Makefile.am:
13699         * check/elements/.cvsignore:
13700         * check/elements/fakesrc.c:
13701         * check/elements/fdsrc.c:
13702         * check/elements/identity.c:
13703         * check/generic/.cvsignore:
13704         * check/generic/states.c:
13705         * check/gst-libs/.cvsignore:
13706         * check/gst-libs/controller.c:
13707         * check/gst-libs/gdp.c:
13708         * check/gst/.cvsignore:
13709         * check/gst/capslist.h:
13710         * check/gst/gst.c:
13711         * check/gst/gstbin.c:
13712         * check/gst/gstbuffer.c:
13713         * check/gst/gstbus.c:
13714         * check/gst/gstcaps.c:
13715         * check/gst/gstelement.c:
13716         * check/gst/gstevent.c:
13717         * check/gst/gstghostpad.c:
13718         * check/gst/gstiterator.c:
13719         * check/gst/gstmessage.c:
13720         * check/gst/gstminiobject.c:
13721         * check/gst/gstobject.c:
13722         * check/gst/gstpad.c:
13723         * check/gst/gstpipeline.c:
13724         * check/gst/gstplugin.c:
13725         * check/gst/gstsegment.c:
13726         * check/gst/gststructure.c:
13727         * check/gst/gstsystemclock.c:
13728         * check/gst/gsttag.c:
13729         * check/gst/gstutils.c:
13730         * check/gst/gstvalue.c:
13731         * check/net/.cvsignore:
13732         * check/net/gstnetclientclock.c:
13733         * check/net/gstnettimeprovider.c:
13734         * check/pipelines/.cvsignore:
13735         * check/pipelines/cleanup.c:
13736         * check/pipelines/simple_launch_lines.c:
13737         * check/pipelines/stress.c:
13738         * check/states/.cvsignore:
13739         * check/states/sinks.c:
13740         * configure.ac:
13741         * examples/Makefile.am:
13742         * examples/appreader/.cvsignore:
13743         * examples/appreader/Makefile.am:
13744         * examples/appreader/appreader.c:
13745         * examples/controller/.cvsignore:
13746         * examples/controller/Makefile.am:
13747         * examples/controller/audio-example.c:
13748         * examples/cutter/.cvsignore:
13749         * examples/cutter/Makefile.am:
13750         * examples/cutter/cutter.c:
13751         * examples/cutter/cutter.h:
13752         * examples/events/Makefile.am:
13753         * examples/events/seek.c:
13754         * examples/helloworld/.cvsignore:
13755         * examples/helloworld/Makefile.am:
13756         * examples/helloworld/helloworld.c:
13757         * examples/helloworld2/.cvsignore:
13758         * examples/helloworld2/Makefile.am:
13759         * examples/helloworld2/helloworld2.c:
13760         * examples/launch/.cvsignore:
13761         * examples/launch/Makefile.am:
13762         * examples/launch/mp3parselaunch.c:
13763         * examples/launch/mp3play:
13764         * examples/manual/.cvsignore:
13765         * examples/manual/Makefile.am:
13766         * examples/manual/extract.pl:
13767         * examples/metadata/Makefile.am:
13768         * examples/metadata/read-metadata.c:
13769         * examples/mixer/.cvsignore:
13770         * examples/mixer/Makefile.am:
13771         * examples/mixer/mixer.c:
13772         * examples/mixer/mixer.h:
13773         * examples/pingpong/.cvsignore:
13774         * examples/pingpong/Makefile.am:
13775         * examples/pingpong/pingpong.c:
13776         * examples/plugins/.cvsignore:
13777         * examples/plugins/Makefile.am:
13778         * examples/plugins/example.c:
13779         * examples/plugins/example.h:
13780         * examples/pwg/.cvsignore:
13781         * examples/pwg/Makefile.am:
13782         * examples/pwg/extract.pl:
13783         * examples/queue/.cvsignore:
13784         * examples/queue/Makefile.am:
13785         * examples/queue/queue.c:
13786         * examples/queue2/.cvsignore:
13787         * examples/queue2/Makefile.am:
13788         * examples/queue2/queue2.c:
13789         * examples/queue3/.cvsignore:
13790         * examples/queue3/Makefile.am:
13791         * examples/queue3/queue3.c:
13792         * examples/queue4/.cvsignore:
13793         * examples/queue4/Makefile.am:
13794         * examples/queue4/queue4.c:
13795         * examples/retag/.cvsignore:
13796         * examples/retag/Makefile.am:
13797         * examples/retag/retag.c:
13798         * examples/retag/transcode.c:
13799         * examples/thread/.cvsignore:
13800         * examples/thread/Makefile.am:
13801         * examples/thread/thread.c:
13802         * examples/typefind/.cvsignore:
13803         * examples/typefind/Makefile.am:
13804         * examples/typefind/typefind.c:
13805         * examples/xml/.cvsignore:
13806         * examples/xml/Makefile.am:
13807         * examples/xml/createxml.c:
13808         * examples/xml/runxml.c:
13809         * tests/Makefile.am:
13810         * tests/check/Makefile.am:
13811         * testsuite/.cvsignore:
13812         * testsuite/Makefile.am:
13813         * testsuite/Rules:
13814         * testsuite/caps/.cvsignore:
13815         * testsuite/caps/Makefile.am:
13816         * testsuite/caps/app_fixate.c:
13817         * testsuite/caps/audioscale.c:
13818         * testsuite/caps/caps.c:
13819         * testsuite/caps/caps.h:
13820         * testsuite/caps/caps_strings:
13821         * testsuite/caps/compatibility.c:
13822         * testsuite/caps/deserialize.c:
13823         * testsuite/caps/enumcaps.c:
13824         * testsuite/caps/eratosthenes.c:
13825         * testsuite/caps/filtercaps.c:
13826         * testsuite/caps/fixed.c:
13827         * testsuite/caps/fraction-convert.c:
13828         * testsuite/caps/fraction-multiply-and-zero.c:
13829         * testsuite/caps/intersect2.c:
13830         * testsuite/caps/intersection.c:
13831         * testsuite/caps/normalisation.c:
13832         * testsuite/caps/random.c:
13833         * testsuite/caps/renegotiate.c:
13834         * testsuite/caps/sets.c:
13835         * testsuite/caps/simplify.c:
13836         * testsuite/caps/string-conversions.c:
13837         * testsuite/caps/structure.c:
13838         * testsuite/caps/subtract.c:
13839         * testsuite/caps/union.c:
13840         * testsuite/debug/.cvsignore:
13841         * testsuite/debug/Makefile.am:
13842         * testsuite/debug/category.c:
13843         * testsuite/debug/commandline.c:
13844         * testsuite/debug/global.c:
13845         * testsuite/debug/output.c:
13846         * testsuite/debug/printf_extension.c:
13847         * testsuite/dlopen/.cvsignore:
13848         * testsuite/dlopen/Makefile.am:
13849         * testsuite/dlopen/dlopen_gst.c:
13850         * testsuite/dlopen/loadgst.c:
13851         * testsuite/elements/.cvsignore:
13852         * testsuite/elements/Makefile.am:
13853         * testsuite/elements/gst-inspect-check.in:
13854         * testsuite/elements/struct_i386.h:
13855         * testsuite/elements/struct_size.c:
13856         * testsuite/indexers/.cvsignore:
13857         * testsuite/indexers/Makefile.am:
13858         * testsuite/indexers/cache1.c:
13859         * testsuite/indexers/indexdump.c:
13860         * testsuite/parse/.cvsignore:
13861         * testsuite/parse/Makefile.am:
13862         * testsuite/parse/parse1.c:
13863         * testsuite/parse/parse2.c:
13864         * testsuite/plugin/.cvsignore:
13865         * testsuite/plugin/Makefile.am:
13866         * testsuite/plugin/README:
13867         * testsuite/plugin/dynamic.c:
13868         * testsuite/plugin/linked.c:
13869         * testsuite/plugin/loading.c:
13870         * testsuite/plugin/registry.c:
13871         * testsuite/plugin/static.c:
13872         * testsuite/plugin/static2.c:
13873         * testsuite/plugin/testplugin.c:
13874         * testsuite/plugin/testplugin2.c:
13875         * testsuite/plugin/testplugin2_s.c:
13876         * testsuite/plugin/testplugin_s.c:
13877         * testsuite/refcounting/.cvsignore:
13878         * testsuite/refcounting/Makefile.am:
13879         * testsuite/refcounting/bin.c:
13880         * testsuite/refcounting/element.c:
13881         * testsuite/refcounting/element_pad.c:
13882         * testsuite/refcounting/mainloop.c:
13883         * testsuite/refcounting/mem.c:
13884         * testsuite/refcounting/mem.h:
13885         * testsuite/refcounting/object.c:
13886         * testsuite/refcounting/pad.c:
13887         * testsuite/refcounting/sched.c:
13888         * testsuite/refcounting/thread.c:
13889         * testsuite/states/.cvsignore:
13890         * testsuite/states/Makefile.am:
13891         * testsuite/states/bin.c:
13892         * testsuite/states/locked.c:
13893         * testsuite/states/parent.c:
13894         * testsuite/threads/.cvsignore:
13895         * testsuite/threads/159566.c:
13896         * testsuite/threads/159852.c:
13897         * testsuite/threads/Makefile.am:
13898         * testsuite/threads/queue.c:
13899         * testsuite/threads/signals.c:
13900         * testsuite/threads/staticrec.c:
13901         * testsuite/threads/thread.c:
13902         * testsuite/threads/threadb.c:
13903         * testsuite/threads/threadc.c:
13904         * testsuite/threads/threadd.c:
13905         * testsuite/threads/threade.c:
13906         * testsuite/threads/threadf.c:
13907         * testsuite/threads/threadg.c:
13908         * testsuite/threads/threadh.c:
13909         * testsuite/threads/threadi.c:
13910           move all of these under tests
13911
13912 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13913
13914         * configure.ac:
13915         * tests/Makefile.am:
13916           fix distcheck
13917
13918 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13919
13920         * docs/gst/gstreamer-sections.txt:
13921         * tests/sched/.cvsignore:
13922         * tests/sched/Makefile.am:
13923         * tests/sched/cases/(fs-fs).xml:
13924         * tests/sched/cases/(fs-i-fs).xml:
13925         * tests/sched/cases/(fs-i-i-fs).xml:
13926         * tests/sched/cases/(fs-i-q[i-fs]).xml:
13927         * tests/sched/dynamic-pipeline.c:
13928         * tests/sched/interrupt1.c:
13929         * tests/sched/interrupt2.c:
13930         * tests/sched/interrupt3.c:
13931         * tests/sched/runtestcases:
13932         * tests/sched/runxml.c:
13933         * tests/sched/sched-stress.c:
13934         * tests/sched/sort.c:
13935         * tests/sched/testcases:
13936         * tests/sched/testcases1.tc:
13937         * tests/seeking/.cvsignore:
13938         * tests/seeking/Makefile.am:
13939         * tests/seeking/seeking1.c:
13940         * tests/threadstate/.cvsignore:
13941         * tests/threadstate/Makefile.am:
13942         * tests/threadstate/test1.c:
13943         * tests/threadstate/test2.c:
13944         * tests/threadstate/threadstate1.c:
13945         * tests/threadstate/threadstate2.c:
13946         * tests/threadstate/threadstate3.c:
13947         * tests/threadstate/threadstate4.c:
13948         * tests/threadstate/threadstate5.c:
13949           remove obsolete tests
13950         * configure.ac:
13951         * tests/bench-complexity.scm:
13952         * tests/bench-mass_elements.scm:
13953         * tests/complexity.c:
13954         * tests/complexity.gnuplot:
13955         * tests/instantiate/.cvsignore:
13956         * tests/instantiate/Makefile.am:
13957         * tests/instantiate/caps.c:
13958         * tests/mass_elements.c:
13959         * tests/network-clock-utils.scm:
13960         * tests/network-clock.scm:
13961         * tests/plot-data:
13962         First pass at cleaning up tests/ dir before moving the rest
13963         Combined with CVS surgery
13964
13965 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13966
13967         * po/POTFILES.in:
13968           queue has moved, update
13969
13970 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13971
13972         * docs/gst/gstreamer-sections.txt:
13973           remove double entries from the docs
13974         * gst/gst_private.h:
13975         * gst/gstinfo.c: (_gst_debug_init):
13976           remove the THREAD debug category
13977         * gst/Makefile.am:
13978         * gst/gstqueue.c:
13979         * gst/gstqueue.h:
13980         * docs/gst/gstreamer.types:
13981         * plugins/elements/gstqueue.c: (gst_queue_get_type),
13982         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13983           completely move queue and fix up debugging categories
13984
13985 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13986
13987         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13988           make initialization portable, using LL is not
13989
13990 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13991
13992         * win32/common/gstconfig.h:
13993           add large padding
13994
13995 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13996
13997         * win32/common/libgstreamer.def:
13998           rename symbols; sort base section
13999
14000 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14001
14002         * gst/gstclock.c: (do_linear_regression):
14003           remove crack non-portable handrolled DEBUG macro
14004
14005 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14006
14007         * docs/random/release:
14008           update notes
14009         * win32/common/gstenumtypes.c: (register_gst_object_flags),
14010         (gst_object_flags_get_type), (register_gst_bin_flags),
14011         (gst_bin_flags_get_type), (register_gst_buffer_flag),
14012         (gst_buffer_flag_get_type), (register_gst_bus_flags),
14013         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14014         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
14015         (gst_caps_flags_get_type), (register_gst_clock_return),
14016         (gst_clock_return_get_type), (register_gst_clock_entry_type),
14017         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14018         (gst_clock_flags_get_type), (register_gst_state),
14019         (gst_state_get_type), (register_gst_state_change_return),
14020         (gst_state_change_return_get_type), (register_gst_state_change),
14021         (gst_state_change_get_type), (register_gst_element_flags),
14022         (gst_element_flags_get_type), (register_gst_core_error),
14023         (gst_core_error_get_type), (register_gst_library_error),
14024         (gst_library_error_get_type), (register_gst_resource_error),
14025         (gst_resource_error_get_type), (register_gst_stream_error),
14026         (gst_stream_error_get_type), (register_gst_event_type_flags),
14027         (gst_event_type_flags_get_type), (register_gst_event_type),
14028         (gst_event_type_get_type), (register_gst_seek_type),
14029         (gst_seek_type_get_type), (register_gst_seek_flags),
14030         (gst_seek_flags_get_type), (register_gst_format),
14031         (gst_format_get_type), (register_gst_index_certainty),
14032         (gst_index_certainty_get_type), (register_gst_index_entry_type),
14033         (gst_index_entry_type_get_type),
14034         (register_gst_index_lookup_method),
14035         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14036         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14037         (gst_index_resolver_method_get_type), (register_gst_index_flags),
14038         (gst_index_flags_get_type), (register_gst_debug_level),
14039         (gst_debug_level_get_type), (register_gst_debug_color_flags),
14040         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14041         (gst_iterator_result_get_type), (register_gst_iterator_item),
14042         (gst_iterator_item_get_type), (register_gst_message_type),
14043         (gst_message_type_get_type), (register_gst_mini_object_flags),
14044         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14045         (gst_pad_link_return_get_type), (register_gst_flow_return),
14046         (gst_flow_return_get_type), (register_gst_activate_mode),
14047         (gst_activate_mode_get_type), (register_gst_pad_direction),
14048         (gst_pad_direction_get_type), (register_gst_pad_flags),
14049         (gst_pad_flags_get_type), (register_gst_pad_presence),
14050         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14051         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14052         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14053         (gst_plugin_error_get_type), (register_gst_plugin_flags),
14054         (gst_plugin_flags_get_type), (register_gst_rank),
14055         (gst_rank_get_type), (register_gst_query_type),
14056         (gst_query_type_get_type), (register_gst_tag_merge_mode),
14057         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14058         (gst_tag_flag_get_type), (register_gst_task_state),
14059         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14060         (gst_alloc_trace_flags_get_type),
14061         (register_gst_type_find_probability),
14062         (gst_type_find_probability_get_type), (register_gst_uri_type),
14063         (gst_uri_type_get_type), (register_gst_parse_error),
14064         (gst_parse_error_get_type):
14065         * win32/common/gstenumtypes.h:
14066         * win32/common/gstversion.h:
14067           update visual studio generated files
14068
14069 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14070
14071         * win32/vs6/libgstbase.dsp:
14072         * win32/vs6/libgstelements.dsp:
14073           update project files for new locations
14074
14075 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14076
14077         * Makefile.am:
14078           remove some files
14079         * README:
14080           reinstate and update
14081         * DEVEL:
14082         * REQUIREMENTS:
14083           removed
14084         * LICENSE:
14085         * docs/random/LICENSE:
14086           moved to random
14087
14088 2005-11-30  Edward Hervey  <edward@fluendo.com>
14089
14090         * gst/gsttypefind.c: (gst_type_find_register):
14091         * gst/gsttypefind.h:
14092         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14093         (gst_type_find_factory_dispose):
14094         * gst/gsttypefindfactory.h:
14095         Fix memory leak in GstTypeFindFactory.
14096
14097 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14098
14099         * gst/gst.c:
14100         * plugins/elements/Makefile.am:
14101         * plugins/elements/gstelements.c:
14102         * plugins/elements/gstqueue.c:
14103           move queue from core to the elements plugin
14104
14105 2005-11-29  Andy Wingo  <wingo@pobox.com>
14106
14107         * libs/gst/base/gstbasetransform.h: 
14108         * libs/gst/base/gstbasesrc.h: 
14109         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14110
14111         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14112         of pointers by which to pad very extensible base classes (like the
14113         ones in libs/gst/base).
14114
14115 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14116
14117         * docs/gst/gstreamer-docs.sgml:
14118         * docs/gst/gstreamer-sections.txt:
14119         * docs/libs/gstreamer-libs-docs.sgml:
14120         * docs/libs/gstreamer-libs-sections.txt:
14121           moving documentation from core to lib
14122
14123 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14124
14125         * check/Makefile.am:
14126         * configure.ac:
14127         * docs/gst/Makefile.am:
14128         * gst/Makefile.am:
14129         * gst/base/.cvsignore:
14130         * gst/base/Makefile.am:
14131         * gst/base/README:
14132         * gst/base/gstadapter.c:
14133         * gst/base/gstadapter.h:
14134         * gst/base/gstbasesink.c:
14135         * gst/base/gstbasesink.h:
14136         * gst/base/gstbasesrc.c:
14137         * gst/base/gstbasesrc.h:
14138         * gst/base/gstbasetransform.c:
14139         * gst/base/gstbasetransform.h:
14140         * gst/base/gstcollectpads.c:
14141         * gst/base/gstcollectpads.h:
14142         * gst/base/gstpushsrc.c:
14143         * gst/base/gstpushsrc.h:
14144         * gst/base/gsttypefindhelper.c:
14145         * gst/base/gsttypefindhelper.h:
14146         * gst/check/Makefile.am:
14147         * gst/check/gstcheck.c:
14148         * gst/check/gstcheck.h:
14149         * gst/net/Makefile.am:
14150         * gst/net/gstnet.h:
14151         * gst/net/gstnetclientclock.c:
14152         * gst/net/gstnetclientclock.h:
14153         * gst/net/gstnettimepacket.c:
14154         * gst/net/gstnettimepacket.h:
14155         * gst/net/gstnettimeprovider.c:
14156         * gst/net/gstnettimeprovider.h:
14157         * libs/gst/Makefile.am:
14158         * libs/gst/base/Makefile.am:
14159         * libs/gst/base/gstbasetransform.c:
14160         * libs/gst/check/Makefile.am:
14161         * plugins/elements/Makefile.am:
14162         * po/POTFILES.in:
14163           CVS surgery + support to move base, check, and net out of gst
14164           and into libs/gst
14165
14166 2005-11-29  Andy Wingo  <wingo@pobox.com>
14167
14168         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14169
14170         * gst/gststructure.h (struct _GstStructure): Only one pointer of
14171         padding.
14172
14173         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14174
14175         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14176
14177         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14178
14179         * gst/gstobject.h: (struct _GstObject): Only one pointer of
14180         padding; reduces object size by about 30%. We don't expect
14181         anything else to go into gstobject.
14182
14183         * gst/gstminiobject.h (struct _GstMiniObject)
14184         (struct _GstMiniObjectClass): Only one pointer of padding; the
14185         payload is only a pointer and two ints anyway. For the class there
14186         are only two methods as well.
14187         
14188         * gst/gstelement.h (struct _GstElementClass): Removed
14189         the state_changed signal callback, it is not used.
14190
14191 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14192
14193         * docs/gst/gstreamer.types:
14194           fix includes, though they are a little dinky
14195
14196 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14197
14198         * check/Makefile.am:
14199           look in the right place for elements, a lot more chance of
14200           success
14201         * gst/Makefile.am:
14202           remove indexers and elements subdirs
14203         * plugins/Makefile.am:
14204           make indexers conditional
14205
14206 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14207
14208         * Makefile.am:
14209         * configure.ac:
14210         * plugins/elements/Makefile.am:
14211         * plugins/elements/gstcapsfilter.c:
14212         * plugins/elements/gstfilesink.c:
14213         * plugins/elements/gstfilesrc.c:
14214         * plugins/elements/gstidentity.c:
14215         * plugins/indexers/Makefile.am:
14216           do CVS surgery and related build fixery to move elements
14217           and indexers in a new gstreamer/plugins directory, out of the
14218           gst/ directory
14219
14220 2005-11-29  Andy Wingo  <wingo@pobox.com>
14221
14222         * check/Makefile.am:
14223         * pkgconfig/gstreamer-net-uninstalled.pc.in:
14224         * pkgconfig/gstreamer-net.pc.in:
14225         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14226         #322257.
14227
14228 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14229
14230         * tools/Makefile.am:
14231         * tools/gst-complete.1.in:
14232         * tools/gst-complete.c:
14233         * tools/gst-compprep.1.in:
14234         * tools/gst-compprep.c:
14235           removing -compprep and -complete
14236
14237 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14238
14239         * gst/gstevent.c: (gst_event_new_new_segment),
14240         (gst_event_parse_new_segment):
14241         * gst/gstevent.h:
14242           fix #320529 - clean up new_segment API and structure.
14243           Let's hope everyone was using the methods, and not the structure.
14244
14245 2005-11-29  Edward Hervey  <edward@fluendo.com>
14246
14247         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14248         (gst_base_sink_event), (gst_base_sink_do_sync),
14249         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14250         Properly handle non GST_FORMAT_TIME segment
14251         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14252         Properly handle non GST_FORMAT_TIME segment
14253         * gst/gstsegment.c:
14254         This function is valid if the accumulator is 0 and the format
14255         is different from the requested format.
14256         
14257 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14258
14259         * docs/gst/gstreamer-sections.txt:
14260         Add gst_query_new_seeking and gst_query_parse_seeking to the
14261         docs.
14262
14263 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14264
14265         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14266           Treat a pad alloc with new caps the same as if we were not
14267           negotiated, in order to allow a changing upstream output
14268           to produce a new format of data.
14269
14270 2005-11-29  Edward Hervey  <edward@fluendo.com>
14271
14272         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14273         (gst_base_transform_event), (gst_base_transform_eventfunc):
14274         The event virtual method is now properly implemented, with a default
14275         handler
14276         Sub classes should call the parent_class event method. They should
14277         return FALSE if they had a problem handling the given event, or don't
14278         want GstBaseTransform to send that even downstream
14279         * gst/elements/gstidentity.c: (gst_identity_class_init),
14280         (gst_identity_init), (gst_identity_event),
14281         (gst_identity_transform_ip), (gst_identity_set_property),
14282         (gst_identity_get_property):
14283         * gst/elements/gstidentity.h:
14284         Added the single-segment boolean property.
14285         If set to TRUE, it will output a single segment of data, starting from
14286         0, will eat up all incoming newsegment, and modify the timestamp of the
14287         buffers accordingly
14288
14289 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
14290
14291         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14292           Don't ref NULL target pad (#322751). Improve docs.
14293
14294 2005-11-29  Michael Smith  <msmith@fluendo.com>
14295
14296         * gst/gstregistryxml.c: (load_plugin):
14297           Don't crash if we failed to load a feature from a plugin. 
14298
14299 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14300
14301         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14302         (GST_START_TEST):
14303           use more check API and less GLib API
14304
14305 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14306
14307         * Makefile.am:
14308           don't run checks if we don't have check
14309         * common/check.mak:
14310           remove the registry when running make torture
14311         * docs/gst/gstreamer-sections.txt:
14312           remove second multiply
14313         * gst/gstqueue.c: (gst_queue_loop):
14314           fix a compile warning when disabling debug
14315
14316 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14317
14318         * gst/gstinfo.h:
14319         Hey! Let's print the pad name if the pointer != NULL instead
14320         of when it == NULL :-)
14321
14322 2005-11-28  Wim Taymans  <wim@fluendo.com>
14323
14324         * check/gst/gstutils.c: (GST_START_TEST):
14325         Updated check, add some scaling accuracy checking code.
14326
14327         * gst/gstutils.c: (gst_util_div128_64),
14328         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14329         (gst_util_uint64_scale_int):
14330         Fix 6 times faster division code. Optimize for common 
14331         1/1 and less common X/1 cases.
14332
14333 2005-11-28  Wim Taymans  <wim@fluendo.com>
14334
14335         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14336         More checks.
14337
14338         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14339         (do_linear_regression), (gst_clock_add_observation):
14340         Cleanups.
14341         Release lock when the clock cannot be slaved.
14342         Catch the case where the regression returned an invalid denominator.
14343
14344         * gst/gstutils.c: (gst_util_div128_64_iterate),
14345         (gst_util_div128_64), (gst_util_uint64_scale_int64),
14346         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14347         Add protentially more performant non-iterative 128/64 divide function
14348         that unfortunatly does not work yet.
14349         Shortcut the trivial 0/X = 0 case.
14350         Remove the warnings on overflow.
14351
14352 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14353
14354         * gst/gstplugin.c: (gst_plugin_register_func):
14355           everything causing a plugin not to load should be at least a WARNING
14356
14357 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
14358
14359         * docs/random/ensonic/dparams.txt:
14360           some TODOs for the next dev cycle
14361         * libs/gst/controller/gstcontroller.c:
14362         (gst_controlled_property_set_interpolation_mode),
14363         (gst_controlled_property_new):
14364         * libs/gst/controller/gstcontroller.h:
14365           use base type to assign acccessor functions
14366
14367 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14368
14369         * check/Makefile.am:
14370         Oops, that should have been top_srcdir
14371
14372 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14373
14374         * check/Makefile.am:
14375         * check/elements/fdsrc.c: (GST_START_TEST):
14376         Use a cmdline define to specify the location of a file to use for
14377         testing, to avoid breaking distcheck.
14378
14379 2005-11-28  Andy Wingo  <wingo@pobox.com>
14380
14381         * gst/gstpad.c (fixate_value): Use array functions for arrays.
14382
14383 2005-11-28  Edward Hervey  <edward@fluendo.com>
14384
14385         * tools/gst-launch.c: (main):
14386         Clarify the output strings, makes it easier to translate.
14387         Fixes #322626
14388
14389 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14390
14391         * gst/Makefile.am:
14392           don't try and build net if we don't even have <sys/socket.h>
14393
14394 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
14395
14396         * check/Makefile.am:
14397         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14398         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14399           Add tests for fdsrc seekability
14400
14401         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14402         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14403         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14404         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14405         * gst/elements/gstfdsrc.h:
14406           fdsrc should not be a 'live' source.
14407           Implement seeking on seekable fd's.
14408
14409         * gst/gstquery.c: (gst_query_new_seeking),
14410         (gst_query_parse_seeking):
14411         * gst/gstquery.h:
14412           Implement SEEKING query functions: 
14413             *_new_seeking and *_parse_seeking
14414
14415 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14416
14417         * gst/gstelement.c: (gst_element_dispose):
14418           don't loop forever
14419
14420         * gst/gstiterator.c:
14421         * gst/gststructure.c:
14422           doc fixes
14423
14424         * libs/gst/controller/gstcontroller.c:
14425         (gst_controlled_property_set_interpolation_mode):
14426         * libs/gst/controller/gstcontroller.h:
14427         * libs/gst/controller/gstinterpolation.c:
14428         (interpolate_none_get_enum_value_array):
14429           support controlling enums
14430
14431 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14432
14433         * gst/gstvalue.c:
14434           Improve documentation for gst_value_union().
14435
14436         * gst/gstvalue.h:
14437           Change return value for union, intersect and subtract functions
14438           from gint to gboolean.
14439
14440 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14441
14442         * gst/gstvalue.c: (gst_value_serialize_any_list),
14443         (gst_value_transform_any_list_string),
14444         (gst_value_deserialize_list), (gst_value_deserialize_array),
14445         (gst_value_set_int_range), (gst_value_deserialize_int_range),
14446         (gst_value_set_double_range), (gst_value_deserialize_double_range),
14447         (gst_value_set_fraction_range_full),
14448         (gst_value_deserialize_fraction_range),
14449         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14450         (gst_value_deserialize_boolean),
14451         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14452         (gst_value_serialize_float), (gst_value_deserialize_float),
14453         (gst_string_wrap), (gst_value_deserialize_string),
14454         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14455         (gst_value_union_int_range_int_range),
14456         (gst_value_intersect_int_range_int_range),
14457         (gst_value_intersect_double_range_double_range),
14458         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14459         (gst_value_subtract_int_range_int_range),
14460         (gst_value_subtract_double_double_range),
14461         (gst_value_subtract_double_range_double_range),
14462         (gst_value_deserialize_fraction):
14463         * gst/gstvalue.h:
14464           Use gint, gdouble and gchar in our API instead of int, double and
14465           char (and make usage in gstvalue.c more consistent).
14466
14467 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14468
14469         * check/Makefile.am:
14470         * libs/gst/controller/Makefile.am:
14471         * libs/gst/dataprotocol/Makefile.am:
14472           fix up Makefile.am and remove GST_ENABLE_NEW
14473
14474 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14475
14476         * configure.ac:
14477         * gst/Makefile.am:
14478         * gst/base/Makefile.am:
14479         * gst/check/Makefile.am:
14480         * gst/elements/Makefile.am:
14481         * gst/net/Makefile.am:
14482           update LDFLAGS use some more
14483
14484 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14485
14486         * common/m4/gst-doc.m4:
14487           Fixes #312589
14488
14489 2005-11-26  Edward Hervey  <edward@fluendo.com>
14490
14491         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14492         This shouldn't issue a g_warning since it returns NULL if it
14493         couldn't find the plugin, and all functions using this behave
14494         properly on a NULL return. Switching to a GST_WARNING.
14495
14496 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
14497
14498         * gst/gstbin.c: (gst_bin_handle_message_func):
14499         Don't leak clock messages.
14500
14501 2005-11-25  Wim Taymans  <wim@fluendo.com>
14502
14503         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14504         (gst_util_uint64_scale_int):
14505         Optimisations, remove unneeded vars.
14506
14507 2005-11-25  Wim Taymans  <wim@fluendo.com>
14508
14509         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14510         Added more checks for the high precision uint64 cases.
14511
14512         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14513         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14514         Implement high precision (guint64 * guint64) / guint64.
14515
14516 2005-11-24  Wim Taymans  <wim@fluendo.com>
14517
14518         * gst/base/gstbasesrc.c: (gst_base_src_query):
14519         Fix wrong percentage query.
14520
14521         * gst/gstutils.c: (gst_util_uint64_scale),
14522         (gst_util_uint64_scale_int):
14523         Add some more common cases that can be handled 
14524         efficiently to _scale.
14525
14526 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14527
14528         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14529         (gst_mini_object_suite):
14530           don't use check calls from threads; check probably isn't
14531           threadsafe and using a lock to make it threadsafe would
14532           defeat the purpose of this check
14533         * gst/check/gstcheck.c:
14534         * gst/check/gstcheck.h:
14535           use GST_DEBUG some more
14536
14537 2005-11-24  Wim Taymans  <wim@fluendo.com>
14538
14539         * gst/gstutils.c: (gst_util_uint64_scale),
14540         (gst_util_uint64_scale_int):
14541         Chain trivial case to _scale_int.
14542
14543 2005-11-24  Wim Taymans  <wim@fluendo.com>
14544
14545         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14546         Added test for scaling.
14547
14548         * gst/gstclock.h:
14549         Small doc fix.
14550
14551         * gst/gstutils.c: (gst_util_uint64_scale_int):
14552         Implemented high precision scaling code.
14553
14554 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
14555
14556         * gst/gstinfo.h:
14557           do not crash on pad==NULL
14558
14559 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14560
14561         Patch by: Stefan Kost
14562
14563         * common/gtk-doc.mak:
14564         * docs/gst/Makefile.am:
14565         * docs/libs/Makefile.am:
14566           Fix distcheck issues for the libraries docs build
14567           Closes #319599.
14568
14569 2005-11-24  Michael Smith <msmith@fluendo.com>
14570
14571         * docs/manual/basics-helloworld.xml:
14572           Fix bug #315027: memory leak in example code in docs.
14573
14574 2005-11-24  Michael Smith <msmith@fluendo.com>
14575
14576         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14577           Unlock the PREROLL_LOCK in a failure case.
14578
14579 2005-11-24  Wim Taymans  <wim@fluendo.com>
14580
14581         * docs/gst/gstreamer-sections.txt:
14582         * gst/base/gstadapter.h:
14583         * gst/base/gstbasesink.h:
14584         * gst/base/gstbasesrc.h:
14585         * gst/base/gstbasetransform.h:
14586         * gst/base/gstpushsrc.h:
14587         * gst/elements/gstfakesink.h:
14588         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14589         * gst/elements/gstfakesrc.h:
14590         * gst/elements/gstfilesink.h:
14591         * gst/elements/gstfilesrc.h:
14592         * gst/gst.c:
14593         * gst/gstbin.c:
14594         * gst/gstbuffer.c: (_gst_buffer_copy):
14595         * gst/gstbus.h:
14596         * gst/gstcaps.c:
14597         * gst/gstchildproxy.c:
14598         * gst/gstclock.c:
14599         * gst/gstelement.c:
14600         * gst/gstelementfactory.c:
14601         * gst/gstelementfactory.h:
14602         * gst/gstevent.c:
14603         * gst/gstghostpad.h:
14604         * gst/gstindex.h:
14605         * gst/gstinterface.h:
14606         * gst/gstminiobject.c:
14607         * gst/gstminiobject.h:
14608         * gst/gstpad.c:
14609         * gst/gstpad.h:
14610         * gst/gstpadtemplate.h:
14611         * gst/gstpipeline.h:
14612         * gst/gstpluginfeature.h:
14613         * gst/gstquery.h:
14614         * gst/gstqueue.h:
14615         * gst/gsttaglist.c:
14616         * gst/gsttaglist.h:
14617         * gst/gsttagsetter.c:
14618         * gst/gsttagsetter.h:
14619         * gst/gsttrace.c:
14620         * gst/gsttrace.h:
14621         * gst/gsttypefind.h:
14622         * gst/gsturi.h:
14623         * gst/gstvalue.c:
14624         * gst/net/gstnetclientclock.c:
14625         * gst/net/gstnetclientclock.h:
14626         * gst/net/gstnettimepacket.c:
14627         * gst/net/gstnettimeprovider.c:
14628         * gst/net/gstnettimeprovider.h:
14629         Doc fixes.
14630
14631 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14632
14633         * configure.ac: back to HEAD
14634
14635 === release 0.9.6 ===
14636
14637 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
14638
14639         * configure.ac:
14640           releasing 0.9.6, "Always On Time"
14641
14642 2005-11-23  Wim Taymans  <wim@fluendo.com>
14643
14644         * docs/gst/gstreamer-sections.txt:
14645         * gst/glib-compat.c:
14646         * gst/gsttagsetter.c:
14647         * gst/gstvalue.c:
14648         * gst/net/gstnetclientclock.c:
14649         * gst/net/gstnettimepacket.h:
14650         Doc updates.
14651
14652 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14653
14654         * docs/faq/using.xml:
14655         * docs/libs/tmpl/gstcontrol.sgml:
14656         * docs/manual/advanced-dparams.xml:
14657         * docs/manual/appendix-checklist.xml:
14658         * docs/manual/basics-elements.xml:
14659         * docs/pwg/other-source.xml:
14660         * docs/random/moving-plugins:
14661         * gst/gstpad.c:
14662         * tools/gst-launch.1.in:
14663           remove mentions of sinesrc
14664
14665 2005-11-23  Michael Smith <msmith@fluendo.com>
14666
14667         * docs/gst/gstreamer-sections.txt:
14668           Update for new API and API changes.
14669         * gst/gstobject.h:
14670           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14671         * gst/gstvalue.c:
14672           Documentation typo fix.
14673         * gst/net/gstnettimepacket.c:
14674           Documentation fixes for arguments.
14675
14676 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
14677
14678         * gst/gststructure.c: (gst_structure_get_fraction),
14679         (gst_structure_parse_value),
14680         (gst_structure_fixate_field_nearest_fraction):
14681         * gst/gststructure.h:
14682         * gst/gstutils.c: (gst_util_uint64_scale_int):
14683         * gst/gstutils.h:
14684         * scripts/update-funcnames:
14685         API Changes. 
14686         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14687         Make gst_structure_fixate_field_nearest_fraction take a numerator
14688         and denominator argument instead of a GValue
14689         add gst_structure_get_fraction helper function.
14690
14691 2005-11-23  Wim Taymans  <wim@fluendo.com>
14692
14693         * docs/design/part-TODO.txt:
14694         Update TODO.
14695
14696         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14697         * gst/net/gstnetclientclock.h:
14698         Use parent fields for timeout and window_size.
14699
14700 2005-11-23  Andy Wingo  <wingo@pobox.com>
14701
14702         * check/net/gstnetclientclock.c (test_functioning): Adjust to
14703         rate_num/rate_denom change.
14704
14705         * gst/net/gstnetclientclock.c
14706         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14707         OBJECT_LOCK. Don't call add_observation with the lock.
14708
14709         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14710         fraction.
14711         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14712         rate fraction.
14713         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14714         deal with rate as a fraction whose numerator and denominator are
14715         GstClockTime values.
14716         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14717         master; the other fields are protected by the SLAVE_LOCK.
14718         (do_linear_regression): Note that this must be called with the
14719         SLAVE_LOCK.
14720         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14721         OBJECT_LOCK. Call set_calibration instead of touching the
14722         variables directly.
14723         (gst_clock_set_property, gst_clock_get_property): Protect
14724         master/slave parameters with the SLAVE_LOCK.
14725
14726         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14727         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14728         note that all of the instance variables that add_observation and
14729         the set_master functions use are protected by that lock and not
14730         the OBJECT_LOCK.
14731         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14732
14733         * gst/gstclock.c (gst_clock_add_observation): No longer requires
14734         the caller to take the object lock.
14735
14736 2005-11-23  Wim Taymans  <wim@fluendo.com>
14737
14738         * gst/gsterror.c: (_gst_core_errors_init):
14739         * gst/gsterror.h:
14740         Add error for clock stuff.
14741
14742         * gst/gstpipeline.c: (gst_pipeline_change_state),
14743         (gst_pipeline_set_clock):
14744         Post clock error when clock cannot be used in a pipeline.
14745
14746 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
14747
14748         * docs/gst/gstreamer-sections.txt:
14749           make two symbols from gstinfo private for the docs
14750         * gst/base/gstcollectpads.h:
14751         * gst/gstutils.c:
14752           fix doc typos, update docs
14753
14754 2005-11-22  Wim Taymans  <wim@fluendo.com>
14755
14756         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14757         (gst_base_sink_wait), (gst_base_sink_do_sync),
14758         (gst_base_sink_handle_event):
14759         * gst/base/gstbasesink.h:
14760         No need to store the clock, the parent element class already
14761         has it.
14762
14763         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14764         Updates for clock_set returning a gboolean
14765
14766         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14767         (gst_clock_id_wait_async), (gst_clock_class_init),
14768         (gst_clock_init), (gst_clock_finalize),
14769         (gst_clock_get_internal_time), (gst_clock_get_time),
14770         (gst_clock_slave_callback), (gst_clock_set_master),
14771         (gst_clock_get_master), (do_linear_regression),
14772         (gst_clock_add_observation), (gst_clock_set_property),
14773         (gst_clock_get_property):
14774         * gst/gstclock.h:
14775         Implement master/slave. When setting a clock as a slave, a
14776         periodic timeout is scheduled to sample master and slave times.
14777         Then the slave clock is recalibrated to match offset and rate
14778         of the master clock.
14779         Update logging a bit.
14780         Add flag so that a clock can state that is cannot be slaved to
14781         another clock.
14782
14783         * gst/gstelement.c: (gst_element_set_clock):
14784         * gst/gstelement.h:
14785         The set clock returns a gboolean for when an element cannot
14786         deal with the selected clock in the pipeline. 
14787
14788         * gst/gstpipeline.c: (gst_pipeline_change_state),
14789         (gst_pipeline_set_clock):
14790         * gst/gstpipeline.h:
14791         Handle the case where the selected clock cannot be set on
14792         the pipeline.
14793
14794         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14795         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14796         (gst_net_client_clock_set_property),
14797         (gst_net_client_clock_get_property),
14798         (gst_net_client_clock_observe_times):
14799         * gst/net/gstnetclientclock.h:
14800         Use regression code in GstClock parent, remove duplicated
14801         functionality.
14802
14803 2005-11-22  Michael Smith <msmith@fluendo.com>
14804
14805         * gst/gstutils.c: (gst_util_clock_time_scale):
14806         * gst/gstutils.h:
14807         * docs/gst/gstreamer-sections.txt:
14808           Rename method to have extra underscore.
14809
14810 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14811
14812         * gst/elements/Makefile.am:
14813         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14814         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14815         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14816         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14817         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14818         * gst/elements/gstfakesrc.h:
14819         * gst/gstqueue.c: (queue_leaky_get_type):
14820           correctly fix GEnumValues so that nick is the short lowercase
14821           dashed tag
14822         * tools/gst-inspect.c: (print_element_properties_info):
14823           also show the nick, since it's useful to use from parse_launch
14824           syntax
14825           Fixes #322139
14826
14827 2005-11-22  Michael Smith <msmith@fluendo.com>
14828
14829         * gst/gstutils.c: (gst_util_clocktime_scale):
14830         * gst/gstutils.h:
14831         * docs/gst/gstreamer-sections.txt:
14832           Add util method for scaling a clocktime by a fraction. Useful 
14833           implementation is left as an exercise for the reader.
14834
14835 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14836
14837         * gst/gstvalue.c: (gst_value_collect_fraction_range):
14838         If needed, allocate storage in the destination value during
14839         collection.
14840
14841 2005-11-22  Edward Hervey  <edward@fluendo.com>
14842
14843         * docs/gst/gstreamer-sections.txt:
14844         * gst/Makefile.am:
14845         * gst/gst.h:
14846         * gst/gsturitype.c:
14847         * gst/gsturitype.h:
14848         * gst/gstutils.c: (gst_util_set_object_arg):
14849         * tools/gst-compprep.c: (main):
14850         * tools/gst-inspect.c: (print_element_properties_info):
14851         Removed GstURI, closes bug #321061
14852
14853 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14854
14855         * check/gst/gststructure.c: (GST_START_TEST):
14856         * gst/gststructure.c: (gst_structure_parse_value):
14857           Oops, broke automatic string type parsing.
14858           Add a test to catch it in future.
14859
14860 2005-11-22  Andy Wingo  <wingo@pobox.com>
14861
14862         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
14863         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14864         Actually rename the function implementations. Grr.
14865
14866 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14867
14868         * check/gst/capslist.h:
14869           Comment test cases
14870         * check/gst/gststructure.c: (GST_START_TEST),
14871         (gst_structure_suite):
14872           Test automatic value type detection in gst_structure_from_string.
14873         * gst/gststructure.c: (gst_structure_parse_value):
14874           Add fraction as a type we try and guess automatically in
14875           caps/structure strings.
14876
14877 2005-11-22  Andy Wingo  <wingo@pobox.com>
14878
14879         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14880
14881         * gst/gsttagsetter.h:
14882         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14883         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14884         (gst_tag_setter_add_tag_valist)
14885         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14886         _add_values, _add_valist, and _add_valist_values. Since this is an
14887         interface the function suffixes should be more explicit so
14888         language binding don't end up with element.add_valist ->
14889         gst_tag_setter_add_valist, for example. Fixes #322069.
14890
14891 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14892
14893         * check/gst/gstcaps.c: (GST_START_TEST):
14894           Extend caps string tests to check that a caps to string
14895           conversion is reversible and produces the same caps.
14896
14897         * gst/gststructure.c: (gst_structure_value_get_generic_type):
14898           Output "fraction" as the generic type fraction range, so caps
14899           serialisation and deserialisation works.
14900         * check/gst/capslist.h:
14901         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14902           Support 'MIN' and 'MAX' for deserialising fractions.
14903
14904 2005-11-22  Andy Wingo  <wingo@pobox.com>
14905
14906         * gst/gstevent.h (gst_event_new_new_segment)
14907         (gst_event_parse_new_segment, gst_event_new_buffer_size)
14908         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14909         Renamed from *_newsegment, *_buffersize, *_notarget.
14910
14911         * scripts/update-funcnames: New script, performs the changes
14912         listed above.
14913
14914 2005-11-22  Wim Taymans  <wim@fluendo.com>
14915
14916         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14917         Make sure the GstFlowReturn is returned.
14918
14919         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14920         (gst_bus_add_signal_watch):
14921         * gst/gstbus.h:
14922         add gst_bus_add_signal_watch_full.
14923
14924         * gst/gstplugin.c: (gst_plugin_load_file):
14925         Small style cleanup.
14926
14927 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14928
14929         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14930           Block the fakesrc srcpad when we send an event, to avoid
14931           contention on the stream_lock causing random test failures.
14932
14933 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14934
14935         * check/gst/gstvalue.c: (GST_START_TEST):
14936         * gst/gstvalue.c: (gst_value_fraction_subtract):
14937           Fix subtraction.
14938
14939 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
14940
14941         * gst/gst.h:
14942           include "gstchildproxy.h"
14943         * gst/gstchildproxy.h:
14944         * libs/gst/controller/gstcontroller.h:
14945           use G_GNUC_NULL_TERMINATED
14946
14947 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14948
14949         * check/gst/capslist.h:
14950         * check/gst/gstcaps.c: (GST_START_TEST):
14951         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14952         * gst/gststructure.c: (gst_structure_parse_range),
14953         (gst_structure_fixate_field_nearest_fraction):
14954         * gst/gststructure.h:
14955         * gst/gstvalue.c: (gst_value_init_fraction_range),
14956         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14957         (gst_value_collect_fraction_range),
14958         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14959         (gst_value_set_fraction_range_full),
14960         (gst_value_get_fraction_range_min),
14961         (gst_value_get_fraction_range_max),
14962         (gst_value_serialize_fraction_range),
14963         (gst_value_transform_fraction_range_string),
14964         (gst_value_compare_fraction_range),
14965         (gst_value_deserialize_fraction_range),
14966         (gst_value_intersect_fraction_fraction_range),
14967         (gst_value_intersect_fraction_range_fraction_range),
14968         (gst_value_subtract_fraction_fraction_range),
14969         (gst_value_subtract_fraction_range_fraction),
14970         (gst_value_subtract_fraction_range_fraction_range),
14971         (gst_value_collect_fraction), (gst_value_fraction_multiply),
14972         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14973         (gst_value_transform_string_fraction), (_gst_value_initialize):
14974         * gst/gstvalue.h:
14975           Implement fraction ranges and extend GstFraction to support
14976           arithmetic subtraction, as well as deserialization from integer
14977           strings such as "100"
14978           Add a testsuite as for int and double range set operations
14979
14980 2005-11-21  Andy Wingo  <wingo@pobox.com>
14981
14982         * gst/gsttaglist.h: 
14983         * gst/gstcaps.h: 
14984         * gst/gststructure.h: Add glib-compat.h.
14985
14986 2005-11-21  Wim Taymans  <wim@fluendo.com>
14987
14988         * gst/gstbin.c: (gst_bin_change_state_func):
14989         Fix for #321595
14990
14991 2005-11-21  Wim Taymans  <wim@fluendo.com>
14992
14993         * gst/gstsegment.h:
14994         And add a nice define too.
14995
14996 2005-11-21  Wim Taymans  <wim@fluendo.com>
14997
14998         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14999         (gst_segment_new), (gst_segment_free), (gst_segment_init),
15000         (gst_segment_set_duration), (gst_segment_set_last_stop),
15001         (gst_segment_set_seek), (gst_segment_set_newsegment),
15002         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15003         (gst_segment_clip):
15004         * gst/gstsegment.h:
15005         Make binding friendly.
15006
15007 2005-11-21  Andy Wingo  <wingo@pobox.com>
15008
15009         * gst/gsttagsetter.h: 
15010         * gst/gsttaglist.h: 
15011         * gst/gststructure.h: 
15012         * gst/gstcaps.h: 
15013         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
15014         #319940.
15015
15016         * gst/gsterror.c (_gst_core_errors_init):
15017         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
15018         category.
15019
15020         * gst/Makefile.am (gst_headers): Add glib-compat.h.
15021         (noinst_HEADERS): noinst the -private.
15022
15023 2005-11-21  Michael Smith <msmith@fluendo.com>
15024
15025         * gst/gstplugin.h:
15026         * gst/gstregistry.h:
15027           Remove unimplemented declarations for which we can see no sensible
15028           use.
15029
15030 2005-11-21  Andy Wingo  <wingo@pobox.com>
15031
15032         * gst/gst.h: Include glib-compat.h.
15033
15034         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15035
15036         * gst/glib-compat.c: Include the public and the private header.
15037
15038         * gst/glib-compat-private.h: Copied here from glib-compat.h.
15039
15040         * gst/gstvalue.c: 
15041         * gst/gstpad.c: 
15042         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15043
15044         * check/gst/gstevent.c (create_custom_events): Check that
15045         FLUSH_STOP is serialized.
15046
15047         * check/elements/identity.c (event_func): 
15048         * check/elements/fakesrc.c (event_func): No stream lock, the core
15049         takes it.
15050
15051         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15052         stream lock taking, yay.
15053
15054         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15055         ensure that core takes the stream lock.
15056
15057         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15058         lock name change.
15059
15060         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15061         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15062         it already. For the flush start we do take it though so we get the
15063         right preroll state change messages.
15064
15065         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15066         the stream lock here, the core does it for us.
15067
15068         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15069         GST_STREAM_GET_LOCK.
15070         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
15071         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
15072         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15073         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15074         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
15075         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15076
15077         * gst/gstpad.c: Update for stream lock name change.
15078
15079         * gst/base/gstbasesink.c: Update for preroll lock name change.
15080
15081 2005-11-21  Wim Taymans  <wim@fluendo.com>
15082
15083         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15084         (gst_clock_get_master):
15085         * gst/gstclock.h:
15086         * gst/gstsystemclock.c: (gst_system_clock_init):
15087         Convert Clock flags to object flags.
15088         Added methods to manage master/slave clocks.
15089
15090 2005-11-21  Wim Taymans  <wim@fluendo.com>
15091
15092         * check/gst/gstsegment.c: (GST_START_TEST):
15093         * docs/design/part-TODO.txt:
15094         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15095         (gst_base_sink_event), (gst_base_sink_do_sync),
15096         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15097         (gst_base_sink_query), (gst_base_sink_change_state):
15098         * gst/base/gstbasesink.h:
15099         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15100         (gst_base_src_default_newsegment),
15101         (gst_base_src_configure_segment), (gst_base_src_do_seek),
15102         (gst_base_src_get_range), (gst_base_src_loop),
15103         (gst_base_src_change_state):
15104         * gst/base/gstbasesrc.h:
15105         * gst/base/gstbasetransform.c:
15106         (gst_base_transform_prepare_output_buf),
15107         (gst_base_transform_event), (gst_base_transform_change_state):
15108         * gst/base/gstbasetransform.h:
15109         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15110         (gst_collect_pads_event):
15111         * gst/base/gstcollectpads.h:
15112         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15113         (gst_fake_src_create):
15114         * gst/elements/gstfakesrc.h:
15115         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15116         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15117         (gst_segment_set_last_stop), (gst_segment_set_seek),
15118         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15119         (gst_segment_to_running_time), (gst_segment_clip):
15120         * gst/gstsegment.h:
15121         More segment updates, replace code in plugins with segment
15122         helper functions.
15123
15124 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15125
15126         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15127         Don't ignore sscanf results
15128
15129 2005-11-21  Andy Wingo  <wingo@pobox.com>
15130
15131         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15132
15133         * *.h:
15134         * *.c: Ran scripts/update-macros. Oh yes.
15135
15136         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15137         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15138         GST_GET_LOCK, etc.
15139
15140         * scripts/update-macros: New script. Run it on your files to
15141         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15142         well.
15143
15144 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15145
15146         * docs/gst/Makefile.am:
15147         * docs/gst/gstreamer-docs.sgml:
15148         * docs/gst/gstreamer-sections.txt:
15149         * docs/gst/gstreamer.types:
15150         * gst/gstinfo.h:
15151           more docs fixes, add new api to the docs
15152
15153 2005-11-21  Andy Wingo  <wingo@pobox.com>
15154
15155         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15156         state_broadcast call.
15157
15158         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15159
15160 2005-11-21  Julien MOUTTE  <julien@moutte.net>
15161
15162         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15163         function calls for arrays.
15164
15165 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15166
15167         * docs/random/ensonic/media-device-daemon.txt:
15168           wild idea, can this be done?
15169         * docs/gst/gstreamer-sections.txt:
15170         * gst/gsterror.h:
15171         * gst/gstfilter.c:
15172         * gst/gstfilter.h:
15173         * gst/gstplugin.h:
15174         * gst/gstpluginfeature.c:
15175         * gst/gsttrace.c:
15176         * gst/gstvalue.c:
15177         * gst/gstvalue.h:
15178           doc fixes and additions
15179
15180 2005-11-21  Andy Wingo  <wingo@pobox.com>
15181
15182         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
15183         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
15184         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
15185         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15186         private to the basesrc implementation.
15187
15188         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15189         behalf of event function if necessary. It should no longer be
15190         necessary to take the stream lock in pad's event functions. Fixes
15191         #320299.
15192
15193 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15194         * docs/gst/gstreamer-sections.txt:
15195         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15196         (gst_structure_fixate_field_nearest_double),
15197         (gst_structure_fixate_field_boolean):
15198         * gst/gststructure.h:
15199         * win32/common/libgstreamer.def:
15200         * win32/gstreamer.def:
15201
15202         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15203         (#322027)
15204
15205 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15206
15207         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15208         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15209         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15210         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15211         (gst_fdsrc_uri_handler_init):
15212         * gst/elements/gstfdsrc.h:
15213           Port fd:// URI handler from 0.8 to fdsrc
15214
15215 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15216
15217         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15218         (gst_value_serialize_fourcc):
15219         * gst/gstvalue.h:
15220           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15221           consistent with our other format defines (#320324).
15222
15223 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15224
15225         * gst/gstvalue.c: (gst_value_is_fixed):
15226           Revert previous commit. Value lists are by definition
15227           not fixed, as they are a list of possible values.
15228
15229 2005-11-21  Andy Wingo  <wingo@pobox.com>
15230
15231         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15232         during the stable series if we need it. Fixes #319178.
15233
15234         * gst/gstevent.c (gst_event_new_filler): Removed.
15235
15236         * check/gst/gstevent.c: Update comment about filler events.
15237
15238 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15239
15240         * gst/gstvalue.c: (gst_value_is_fixed):
15241           Should handle both value arrays and value lists.
15242
15243 2005-11-21  Andy Wingo  <wingo@pobox.com>
15244
15245         patch by: Alessandro Dessina <alessandro nnva org>
15246
15247         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15248         functions to access arrays. Fixes #321962.
15249
15250 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15251
15252         * docs/gst/gstreamer.types:
15253           gst_collectpads_get_type => gst_collect_pads_get_type.
15254           
15255         * gst/base/gstbasetransform.c:
15256           Remove unused SIGNAL_HANDOFF enum.
15257
15258 2005-11-21  Andy Wingo  <wingo@pobox.com>
15259
15260         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15261         the event type (upstream, downstream, serialized). Renamed
15262         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15263         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15264         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15265
15266         * gst/gstevent.c: Update for new CUSTOM event names.
15267
15268         * check/gst/gstevent.c: Update check for new CUSTOM event names.
15269
15270         * gst/gstevent.h:
15271         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15272         bug #319392.
15273
15274 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15275
15276         * docs/gst/gstreamer-sections.txt:
15277         * win32/common/libgstbase.def:
15278         * win32/libgstbase.def:
15279         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15280         (gst_collect_pads_class_init), (gst_collect_pads_init),
15281         (gst_collect_pads_finalize), (gst_collect_pads_new),
15282         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15283         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15284         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15285         (gst_collect_pads_start), (gst_collect_pads_stop),
15286         (gst_collect_pads_peek), (gst_collect_pads_pop),
15287         (gst_collect_pads_available), (gst_collect_pads_read),
15288         (gst_collect_pads_flush), (gst_collect_pads_event),
15289         (gst_collect_pads_chain):
15290         * gst/base/gstcollectpads.h:
15291           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15292           unimplemented functions as unimplemented. Add padding to
15293           GstCollectData. (#320766, #320423)
15294
15295 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15296
15297         * gst/gstmessage.c:
15298           Improve docs for DURATION message (usage of duration parameter)
15299           (#320113)
15300
15301 2005-11-20  Wim Taymans  <wim@fluendo.com>
15302
15303         * check/Makefile.am:
15304         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15305         (main):
15306         * gst/Makefile.am:
15307         * gst/gst.h:
15308         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15309         (gst_segment_set_seek), (gst_segment_set_newsegment),
15310         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15311         (gst_segment_clip):
15312         * gst/gstsegment.h:
15313         Added segment helper structure and methods. Not fully implemented
15314         yet.
15315         Added segment check.
15316
15317 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
15318
15319         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15320           Add a deserialisation test for fractions
15321         * examples/metadata/read-metadata.c: (message_loop),
15322         (make_pipeline), (main):
15323           Fix up metadata reading sample.
15324         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15325           Debug format fix
15326         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15327           Don't try and fixate empty caps
15328         * gst/gst_private.h:
15329           Wrap in G_BEGIN_DECLS/G_END_DECLS
15330         * gst/gstvalue.c: (gst_value_collect_fraction),
15331         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15332         (gst_value_transform_string_fraction),
15333         (gst_value_compare_fraction):
15334           Add some extra guards to ensure that we don't end up 
15335           with an invalid denominator of 0 in a gstfraction and
15336           that fractions always get reduced.
15337
15338 2005-11-20  Wim Taymans  <wim@fluendo.com>
15339
15340         * docs/gst/gstreamer-sections.txt:
15341         * gst/gstbuffer.h:
15342         * gst/gstelement.c:
15343         * gst/gstformat.c:
15344         * gst/gstformat.h:
15345         * gst/gstindex.h:
15346         * gst/gstquery.c:
15347         * gst/gstquery.h:
15348         * gst/gstvalue.c:
15349         Doc fixes.
15350
15351 2005-11-20  Wim Taymans  <wim@fluendo.com>
15352
15353         * docs/design/part-TODO.txt:
15354         * gst/gstcaps.h:
15355         Make a proper enum of the flag.
15356
15357 2005-11-19  Wim Taymans  <wim@fluendo.com>
15358
15359         * docs/design/part-TODO.txt:
15360         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15361         (gst_format_to_quark), (gst_format_register):
15362         * gst/gstformat.h:
15363         * gst/gstquery.c: (_gst_query_initialize),
15364         (gst_query_type_get_name), (gst_query_type_to_quark),
15365         (gst_query_type_register):
15366         * gst/gstquery.h:
15367         Add type to quark and type to string conversions.
15368
15369 2005-11-19  Andy Wingo  <wingo@pobox.com>
15370
15371         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15372         #320097.
15373
15374 2005-11-19  Wim Taymans  <wim@fluendo.com>
15375
15376         * docs/design/part-TODO.txt:
15377         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15378         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15379         (gst_bin_handle_message_func):
15380         * gst/gstbin.h:
15381         Make message handling overridable.
15382
15383 2005-11-19  Andy Wingo  <wingo@pobox.com>
15384
15385         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15386
15387         * gst/gstclock.h:
15388         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15389         be a GstClockTime.
15390         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15391         is a GstClockTime. Fixes #321710.
15392
15393         * gst/gstclock.h (GstClock): Remove offset property. Add
15394         internal_calibration and external_calibration. Fix padding. Pad
15395         also by GstClockTime so we don't run into problems.
15396
15397         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15398         (gst_clock_get_rate_offset): Remove.
15399         (gst_clock_set_time_adjust): Remove. Fixes #321712.
15400
15401         * gst/gstutils.h:
15402         * gst/gstutils.c (g_static_rec_cond_wait)
15403         (g_static_rec_cond_timed_wait): Removed, no longer needed.
15404
15405         * gst/gstbin.c: Remove terrible continue_state prototype.
15406
15407         * gst/gstelement.h (gst_element_continue_state): Make public.
15408
15409         * gst/gstelement.h:
15410         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15411         by continue_state. Fixes #319389.
15412
15413         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15414         Really fixes #168438. However I don't see anywhere where the
15415         filter function is called... stupid GStreamer...
15416         
15417         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15418         don't have a dispose function, so it won't get called when the
15419         object is unreffed, but oh well!
15420
15421         * gst/gstindex.c (gst_index_set_filter_full): New API function,
15422         allows a destroy function to be set so user_data can be freed.
15423         Fixes #168438.
15424         (gst_index_set_filter): Call gst_index_set_filter_full.
15425
15426         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15427
15428         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15429         string should produce an error, given the lack of a way to
15430         represent NULL strings. Fixes #165650.
15431         
15432         * gst/gstvalue.h: 
15433         * gst/gstvalue.c (gst_value_array_append_value) 
15434         (gst_value_array_prepend_value, gst_value_array_get_size) 
15435         (gst_value_array_get_value): New API, copied from
15436         gst_value_list_*, only operates on arrays.
15437         (gst_value_list_append_value, gst_value_list_prepend_value) 
15438         (gst_value_list_concat, gst_value_list_get_size) 
15439         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15440
15441         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15442         init_list, because it works on both.
15443         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15444         (gst_value_copy_list_or_array): Renamed from copy_list.
15445         (gst_value_free_list_or_array): Renamed from free_list.
15446         (gst_value_collect_list_or_array): Renamed from collect_list.
15447         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15448         (gst_value_list_or_array_peek_pointer): Renamed from
15449         list_peek_pointer.
15450         (_gst_value_array_value_table, _gst_value_list_value_table):
15451         Update value table functions.
15452         (gst_value_compare_list_or_array): Renamed from compare_list.
15453
15454         * gsttaglist.h: Whoops, foreach function returns void. Also fix
15455         some constness.
15456
15457         * gst/gsttaglist.c:
15458         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15459         GstTagList*. Fixes #143472.
15460
15461         * gst/gststructure.h: Clarify what the foreach/map functions can
15462         or can't do to their arguments.
15463
15464 2005-11-18  Wim Taymans  <wim@fluendo.com>
15465
15466         * gst/gstclock.c: (gst_clock_set_calibration),
15467         (gst_clock_get_calibration):
15468         Doc and API fixes.
15469         Calibration can be set with internal time equal to current
15470         internal time too.
15471
15472 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15473
15474         * gst/gsterror.c:
15475         * gst/gsterror.h:
15476           document
15477
15478 2005-11-18  Andy Wingo  <wingo@pobox.com>
15479
15480         * configure.ac: 
15481         * pkgconfig/gstreamer-net.pc.in:
15482         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15483         * pkgconfig/Makefile.am: Add net pkgconfig files.
15484
15485 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
15486
15487         * gst/gstcaps.c:
15488         * gst/gstghostpad.c:
15489         * gst/gsttrace.c:
15490         * gst/gstvalue.c:
15491         * gst/gstvalue.h:
15492           docs fixes
15493
15494 2005-11-18  Andy Wingo  <wingo@pobox.com>
15495
15496         * gst/net/gstnetclientclock.c: Turn off debugging.
15497
15498         * check/net/gstnetclientclock.c (test_functioning): Assert that the
15499         times connverge somewhat. Can't make a real test.
15500
15501         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15502         integer arithmetic. Return the minimum of the domain, which can be
15503         set as "internal" for gst_clock_set_calibration.
15504         (gst_net_client_clock_observe_times): Call _set_calibration.
15505         (gst_net_client_clock_new): Call _set_calibration instead of
15506         rate_offset.
15507
15508         * check/net/gstnetclientclock.c (test_functioning): Use the right
15509         adjustment api.
15510
15511         * gst/gstclock.h:
15512         * gst/gstclock.c (gst_clock_get_calibration) 
15513         (gst_clock_set_calibration): New functions, obsolete the ones I
15514         added yesterday. Doh. Precision issues mean we have to extrapolate
15515         from a point in the more recent past than 1970.
15516         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15517         obsolete.
15518         (gst_clock_adjust_unlocked): Use the right calibration data.
15519
15520 2005-11-18  Edward Hervey  <edward@fluendo.com>
15521
15522         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
15523         Also reset the ->current_* values in READY->PAUSED
15524
15525 2005-11-18  Andy Wingo  <wingo@pobox.com>
15526
15527         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15528         Whoops, check the right fd. Also add some debugging.
15529         (gst_net_client_clock_observe_times): Adjust for int64 offset.
15530         (do_linear_regression): Add a crapload of debugging. Subtract off
15531         the minimum values from the input series to discard unneeded bits.
15532         Use only int arithmetic. There is still double arithmetic when
15533         calculating the intercept that needs fixing. Return boolean to
15534         indicate success; FALSE would mean the domain or range is too
15535         great. Still needs fixes.
15536
15537 2005-11-18  Wim Taymans  <wim@fluendo.com>
15538
15539         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15540         For the current position in stream time, we need to subtract
15541         accumulated time.
15542         
15543         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15544         Release lock before calling the callback function of async
15545         entries.
15546
15547 2005-11-18  Andy Wingo  <wingo@pobox.com>
15548
15549         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15550         Port goes all the way to MAXUINT16.
15551
15552         * gst/net/gstnettimeprovider.c: Make the port range the same as
15553         for the kernel: 0 assigns, otherwise ports are less than
15554         MAXUINT16.
15555
15556         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15557         port change.
15558
15559         * check/net/gstnetclientclock.c (test_functioning): Add the start
15560         of another test. 
15561
15562 2005-11-18  Wim Taymans  <wim@fluendo.com>
15563
15564         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15565         (gst_bin_remove_func), (bin_bus_handler):
15566         * gst/gstbin.h:
15567         Removing a clock provider from a bin, triggers a clock lost message
15568         so that a new clock will be selected.
15569         Adding a clock to a bin triggers a clock provider message.
15570         Make sure we reselect a clock when we received a clock lost message.
15571         Keep a reference to the element that provided the clock.
15572
15573 2005-11-18  Andy Wingo  <wingo@pobox.com>
15574
15575         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15576         the clock initially so it produces values around the base time.
15577         (gst_net_client_clock_class_init): Typo fix.
15578         (gst_net_client_clock_thread): Add note on when the socket gets
15579         closed.
15580
15581 2005-11-17  Wim Taymans  <wim@fluendo.com>
15582
15583         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15584         Free remote and local time arrays.
15585
15586 2005-11-17  Wim Taymans  <wim@fluendo.com>
15587
15588         * gst/net/gstnetclientclock.c: (do_linear_regression),
15589         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15590         Fix compilation, uninitialized vars and a forgotten continue.
15591
15592 2005-11-17  Andy Wingo  <wingo@pobox.com>
15593
15594         * check/Makefile.am (check_PROGRAMS): 
15595         * check/net/gstnetclientclock.c: Add a most minimal test for the
15596         net client clock. More to come later.
15597
15598         * gst/net/gstnet.h: 
15599         * gst/net/Makefile.am: Add netclientclock.
15600
15601         * gst/net/gstnetclientclock.h:
15602         * gst/net/gstnetclientclock.c: New files, implement an untested
15603         GstClock that takes its time from a network time provider.
15604         Implements the algorithm in network-clock.scm.
15605
15606         * tests/network-clock.scm (*window-size*): Rename from
15607         *queue-length*.
15608         * tests/network-clock.scm (network-time): 
15609         * tests/network-clock-utils.scm (q-push): Update callers.
15610
15611 2005-11-17  Wim Taymans  <wim@fluendo.com>
15612
15613         * gst/gstbin.c: (gst_bin_provide_clock_func),
15614         (gst_bin_sort_iterator_new):
15615         And unref the child too..
15616
15617 2005-11-17  Wim Taymans  <wim@fluendo.com>
15618
15619         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15620         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15621         Refactor the sort iterator so it can be used while holding the
15622         LOCK too.
15623         Make clock selection select a clock closest to the source.
15624
15625 2005-11-17  Michael Smith <msmith@fluendo.com>
15626
15627         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15628         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15629         * gst/gstclock.h:
15630           Anonymous structs are a gcc (and some other compilers) extension, so
15631           don't use them. Since this is only for ABI-compatibility, and our
15632           API/ABI freeze is over in a few days, this whole thing will only
15633           last a few days, so don't bother trying to think up a meaningful
15634           name for the struct.
15635
15636 2005-11-17  Andy Wingo  <wingo@pobox.com>
15637
15638         * gst/gstclock.h (GstClock): Add rate and offset properties,
15639         preserving ABI stability. Add rate/offset accessors. Will file bug
15640         for the freeze break.
15641
15642         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15643         and offset, trying to keep precision and avoiding
15644         underflow/overflow.
15645         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15646         functions. Make gst_clock_set_time_adjust obsolete.
15647         (gst_clock_set_time_adjust): Note that this function is obsolete.
15648         Will file bug soon.
15649
15650         * gst/base/gstbasetransform.h: Make the ABI-stability hack
15651         greppable by using GST_PADDING-1+1.
15652
15653 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
15654
15655         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15656
15657         * gst/gstmessage.c: (gst_message_parse_clock_lost):
15658           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15659
15660         * gst/gstpadtemplate.h:
15661         * gst/gstpluginfeature.h:
15662           Don't use c++ style comments in headers (#321638).
15663
15664 2005-11-16  Andy Wingo  <wingo@pobox.com>
15665
15666         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15667         buffer.
15668
15669         * check/net/gstnettimeprovider.c: Check to see that the time
15670         provider actually provides times. Works, yo!
15671
15672 2005-11-16  Wim Taymans  <wim@fluendo.com>
15673
15674         * check/Makefile.am:
15675         Enable more tests.
15676
15677         * check/elements/fakesrc.c: (GST_START_TEST):
15678         Set element to NULL before disposing it.
15679
15680 2005-11-16  Andy Wingo  <wingo@pobox.com>
15681
15682         * gst/net/Makefile.am:
15683         * gst/net/gstnet.h:
15684         * gst/net/gstnettimeprovider.c: 
15685         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15686         provider, include it from gstnet.h, and add it to the build.
15687
15688         * gst/net/gstnettimepacket.h: 
15689         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15690         sending and receiving.
15691
15692 2005-11-16  Wim Taymans  <wim@fluendo.com>
15693
15694         * check/Makefile.am:
15695         Enable valgrind check.
15696
15697         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15698         (gst_fake_src_alloc_buffer):
15699         Fix memleak.
15700
15701 2005-11-16  Wim Taymans  <wim@fluendo.com>
15702
15703         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15704         Call parent finalize too.
15705
15706 2005-11-16  Wim Taymans  <wim@fluendo.com>
15707
15708         * check/Makefile.am:
15709         Enable valgrind check that should work fine now.
15710
15711         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15712         * gst/gstqueue.c: (gst_queue_init):
15713         Fix memleaks in pad allocation.
15714
15715 2005-11-16  Andy Wingo  <wingo@pobox.com>
15716
15717         * gst/net/Makefile.am:
15718         * gst/net/gstnet.h: New part of core to hold network elements and
15719         objects. Put in core because it exposes API that applications want
15720         to use. The library is named libgstnet-tempname right now because
15721         of the existing libgstnet in gst-plugins-base. Solution is
15722         probably to rename the one in plugins-base; will file a bug for
15723         the freeze break.
15724
15725         * gst/net/gstnettimeprovider.c: 
15726         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15727         get_time call over the network.
15728
15729         * configure.ac: 
15730         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15731
15732         * check/Makefile.am:
15733         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15734         get additions shortly.
15735
15736 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15737
15738         * gst/gstpad.c: (gst_pad_new_from_static_template):
15739         * gst/gstpad.h:
15740           add gst_pad_new_from_static_template functions
15741         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15742         (gst_check_setup_sink_pad):
15743         * gst/elements/gsttee.c: (gst_tee_init):
15744           and use them
15745
15746 2005-11-16  Wim Taymans  <wim@fluendo.com>
15747
15748         * gst/gstpad.c: (gst_pad_pause_task):
15749         Removed warning, it's not really an error either.
15750
15751 2005-11-16  Wim Taymans  <wim@fluendo.com>
15752
15753         * gst/base/gstbasetransform.c:
15754         (gst_base_transform_prepare_output_buf),
15755         (gst_base_transform_event):
15756         Check if the caps are NULL, this can happen if the element
15757         is shutting down and the pad caps are set to NULL.
15758
15759 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15760
15761         * gst/elements/gsttee.c: (gst_tee_init):
15762           fix pad template leak in tee
15763
15764 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15765
15766         * gst/glib-compat.c: (g_value_dup_gst_object):
15767         * gst/glib-compat.h:
15768         * gst/gstpad.c: (gst_pad_set_property):
15769           use gst_object_ref when setting the pad template; this will
15770           trigger the pad template leaks on GLib 2.6 and the slaves
15771
15772 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15773
15774         * gst/glib-compat.c: (gst_flags_get_first_value):
15775         * gst/glib-compat.h:
15776         * gst/gstregistryxml.c:
15777           remove functions copied from GLib 2.6
15778
15779 2005-11-16  Michael Smith <msmith@fluendo.com>
15780
15781         * gst/Makefile.am:
15782           Don't link against VALGRIND_LIBS. That was always the wrong thing to
15783           do, but only breaks with newer valgrind versions. We're not a
15784           valgrind tool, we have no link-time dependencies on libcoregrind.
15785
15786 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15787
15788         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15789           some debug changes
15790         * gst/gstmessage.h:
15791           typo fixes
15792
15793 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15794
15795         * gst/base/gstbasesrc.c: (gst_base_src_init):
15796         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15797         * gst/gstqueue.c: (gst_queue_init):
15798         * gst/gstregistryxml.c: (load_feature):
15799           Revert all these unrefs, they don't even pass make check !
15800
15801 2005-11-15  Johan Dahlin  <johan@gnome.org>
15802
15803         * gst/base/gstbasesrc.c: (gst_base_src_init):
15804         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15805         * gst/gstqueue.c: (gst_queue_init): 
15806         Free pad templates, fixes a couple of leaks.
15807
15808 2005-11-15  Daniel Fischer  <dan at f3c dot com>
15809
15810         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15811
15812         * gst/gstpad.c: (gst_pad_get_property):
15813           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15814           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15815           (#321452)
15816
15817 2005-11-15  Wim Taymans  <wim@fluendo.com>
15818
15819         * gst/gstevent.c:
15820         Small doc update.
15821
15822 2005-11-15  Andy Wingo  <wingo@pobox.com>
15823
15824         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15825
15826         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15827         using GST_CLOCK_TIME_NONE to disable base time management.
15828         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15829         time if it was NONE before.
15830         (gst_pipeline_change_state): Only munge the base time if
15831         stream_time != GST_CLOCK_TIME_NONE.
15832
15833         * check/gst/gstpipeline.c (test_base_time): Punt around the
15834         problem of the probe not being called, because that's not the
15835         issue I'm looking at. Add a check that setting stream_time to NONE
15836         disables base time management.
15837         
15838 2005-11-15  Wim Taymans  <wim@fluendo.com>
15839
15840         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15841         segment_stop == -1 at startup.
15842
15843         * gst/base/gstbasetransform.c: (gst_base_transform_event),
15844         (gst_base_transform_change_state):
15845         Init segment values at start.
15846
15847 2005-11-15  Wim Taymans  <wim@fluendo.com>
15848
15849         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15850         0 segment values are 0 in any format.
15851
15852         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15853         * gst/base/gstbasetransform.h:
15854         Parse newsegment correctly in basetransform
15855
15856         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15857         Sync to clock using updated segment values.
15858
15859 2005-11-15  Andy Wingo  <wingo@pobox.com>
15860
15861         * check/gst/gstpipeline.c (test_base_time): Add check that the
15862         base time and stream time are reset correctly.
15863
15864 2005-11-15  Wim Taymans  <wim@fluendo.com>
15865
15866         * docs/design/part-TODO.txt:
15867         Some more TODO items.
15868
15869 2005-11-15  Andy Wingo  <wingo@pobox.com>
15870
15871         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15872         error if the user selected "no clock" as the clocking method.
15873
15874         * check/gst/gstpipeline.c (test_base_time): New test for buffer
15875         timestamps with live capture.
15876
15877         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15878         is 0 but we are a live source, timestamp the buffers using the
15879         element's clock.
15880
15881 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
15882
15883         * docs/gst/gstreamer-sections.txt:
15884         * gst/gsterror.c:
15885         * gst/gstghostpad.c:
15886         * gst/gstobject.h:
15887         * gst/gstxml.c:
15888           more section docs
15889
15890 2005-11-14  Wim Taymans  <wim@fluendo.com>
15891
15892         * common/gst.supp:
15893           add suppressions from Wim's Debian machine
15894
15895 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15896
15897         * common/gst.supp:
15898           add suppressions from Andy's AMD64 Ubuntu machine
15899
15900 2005-11-14  Andy Wingo  <wingo@pobox.com>
15901
15902         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15903         STATE_LOCK not necessary. Fixes #311489.
15904
15905         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15906         #305291.
15907
15908         * gst/gstindex.c (gst_index_add_object): Note in the docs that
15909         this function is not implemented.
15910
15911 2005-11-14  Julien MOUTTE  <julien@moutte.net>
15912
15913         * gst/base/gstbasetransform.c:
15914         (gst_base_transform_prepare_output_buf):
15915         Ref the source pad caps while we need them.
15916         Fixes (#321386)
15917
15918 2005-11-11  Wim Taymans  <wim@fluendo.com>
15919
15920         * docs/gst/gstreamer-sections.txt:
15921         Added some docs for GstCollectData.
15922
15923         * gst/base/gstadapter.c:
15924         Some small code example fix.
15925
15926         * gst/base/gstcollectpads.c:
15927         * gst/base/gstcollectpads.h:
15928         Document some more.
15929
15930 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15931
15932         * configure.ac: back to HEAD
15933
15934 === release 0.9.5 ===
15935
15936 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
15937
15938         * configure.ac:
15939           releasing 0.9.5, "Bike Lunch Day"
15940
15941 2005-11-11  Wim Taymans  <wim@fluendo.com>
15942
15943         * gst/gstbuffer.c: (_gst_buffer_copy):
15944         Copy more flags.
15945
15946         * gst/gstcaps.c: (gst_caps_is_equal):
15947         Fix some docs.
15948         Make _is_equal fast in the trivial cases.
15949
15950         * gst/gstminiobject.c:
15951         * gst/gstminiobject.h:
15952         More docs. Spifify .h file.
15953
15954         * gst/gstutils.c:
15955         Small doc update.
15956
15957 2005-11-11  Wim Taymans  <wim@fluendo.com>
15958
15959         * gst/base/gstbasetransform.c:
15960         (gst_base_transform_prepare_output_buf),
15961         (gst_base_transform_handle_buffer):
15962         Small cleanups.
15963         If we're processing a buffer and need to allocate an output
15964         buffer, we cannot accept a format change. If we did get a 
15965         format change, we have to alloc a buffer ourselves of the 
15966         right size.
15967
15968 2005-11-11  Wim Taymans  <wim@fluendo.com>
15969
15970         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15971         While checking the flag for reentrancy in the gstcaps function
15972         is nice to detect recursive invocations, it also makes it 
15973         impossible to call getcaps from multiple threads, which must be
15974         possible. So, checking for recursive calls has to go.
15975
15976 2005-11-11  Michael Smith <msmith@fluendo.com>
15977
15978         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15979           Don't sync on buffers that fall partially outside our current
15980           segment. Prevents an assertion failure/abort playing some files.
15981
15982 2005-11-10  Andy Wingo  <wingo@pobox.com>
15983
15984         * check/gst/gstbin.c (test_message_state_changed_children): Style
15985         fix..
15986
15987         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15988         gst_bus_poll with the signal watch. Ensures that poll and a signal
15989         watch see the same messages.
15990
15991         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15992         a poll and a watch at the same time get the same messages.
15993
15994 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15995
15996         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15997         * gst/gstcaps.c: (gst_caps_intersect):
15998           Don't call gst_caps_do_simplify - it doesn't respect order of caps
15999           and it's not needed.
16000
16001 2005-11-10  Wim Taymans  <wim@fluendo.com>
16002
16003         * docs/design/part-TODO.txt:
16004         Updated todo.
16005
16006 2005-11-10  Wim Taymans  <wim@fluendo.com>
16007
16008         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16009         * gst/base/gstbasesrc.c: (gst_base_src_wait),
16010         (gst_base_src_do_sync), (gst_base_src_get_range):
16011         Implement clock sync in base class.
16012
16013 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16014
16015         patch by: Tim-Philipp Müller <tim at centricular dot net>
16016
16017         * gst/gststructure.c: (gst_structure_parse_field),
16018         (gst_structure_from_string):
16019           Forward-port a 0.8 patch to handle escaped spaces in structure string,
16020           so that gst_parse_launch() can deal with spaces in filtered link
16021           caps (fixes #164479)
16022         * check/gst/capslist.h:
16023         * check/gst/gststructure.c: (GST_START_TEST):
16024           add unit tests for this change
16025
16026 2005-11-10  Wim Taymans  <wim@fluendo.com>
16027
16028         * docs/gst/gstreamer-sections.txt:
16029         * gst/gstelement.c:
16030         * gst/gstelement.h:
16031         Fix docs, move some STATE macros to private.
16032
16033 2005-11-10  Wim Taymans  <wim@fluendo.com>
16034
16035         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16036         Added check for bug #317341
16037
16038         * gst/gstbuffer.c:
16039         * gst/gstbuffer.h:
16040         Some more spiffifying.
16041
16042         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16043         Call peer linkfunction if we are a source pad. Totally fixes
16044         #317341
16045
16046         * gst/gstpad.c:
16047         Update docs, source pads should call the peer linkfunction
16048         so they can atomically perform the pad link.
16049
16050 2005-11-09  Wim Taymans  <wim@fluendo.com>
16051
16052         * gst/gstbuffer.c:
16053         * gst/gstbuffer.h:
16054         Uber-spiffy-spiffify some more.
16055
16056 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
16057
16058         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16059         * gst/elements/gstfilesink.c: (gst_file_sink_init):
16060         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16061         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16062         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16063         * gst/gstpad.c: (gst_pad_init):
16064           Use GST_DEBUG_FUNCPTR() more extensively.
16065
16066 2005-11-09  Wim Taymans  <wim@fluendo.com>
16067
16068         * gst/gstobject.c: (gst_object_class_init):
16069         * gst/gstobject.h:
16070         Documentation fixes.
16071
16072 2005-11-09  Edward Hervey  <edward@fluendo.com>
16073
16074         * gst/gsttypefindfactory.c:
16075         Fix docs.
16076         
16077 2005-11-09  Edward Hervey  <edward@fluendo.com>
16078
16079         * gst/base/gsttypefindhelper.c:
16080         * gst/gsttypefind.c:
16081         * gst/gsttypefind.h:
16082         Fix docs.
16083
16084 2005-11-09  Wim Taymans  <wim@fluendo.com>
16085
16086         * gst/gstiterator.c:
16087         Fix revision data.
16088
16089         * gst/gsttask.c:
16090         * gst/gsttask.h:
16091         Fix docs.
16092
16093 2005-11-09  Wim Taymans  <wim@fluendo.com>
16094
16095         * gst/gstevent.h:
16096         * gst/gsturi.h:
16097         Fix docs.
16098
16099 2005-11-09  Wim Taymans  <wim@fluendo.com>
16100
16101         * docs/gst/gstreamer-sections.txt:
16102         Moved the message async delivery private lock and cond
16103         to the private section.
16104
16105         * gst/gstmessage.c:
16106         * gst/gstmessage.h:
16107         Fixed docs.
16108
16109 2005-11-09  Edward Hervey  <edward@fluendo.com>
16110
16111         * docs/gst/gstreamer-sections.txt:
16112         * gst/gsturi.c:
16113         * gst/gsturi.h:
16114         Document GstURIHandler
16115
16116 2005-11-09  Wim Taymans  <wim@fluendo.com>
16117
16118         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16119         (gst_iterator_find_custom):
16120         * gst/gstiterator.h:
16121         Fix iterator docs.
16122
16123 2005-11-09  Wim Taymans  <wim@fluendo.com>
16124
16125         * gst/gstbin.h:
16126         Document another field.
16127
16128         * gst/gststructure.c:
16129         * gst/gststructure.h:
16130         Document.
16131
16132 2005-11-09  Wim Taymans  <wim@fluendo.com>
16133
16134         * gst/gstbin.h:
16135         Documented structs.
16136
16137 2005-11-09  Wim Taymans  <wim@fluendo.com>
16138
16139         * docs/gst/gstreamer-sections.txt:
16140         Added some new macros.
16141
16142         * gst/gstclock.c:
16143         * gst/gstclock.h:
16144         * gst/gstobject.h:
16145         Docs updates.
16146
16147 2005-11-09  Wim Taymans  <wim@fluendo.com>
16148
16149         * docs/design/part-TODO.txt:
16150         Some more items for the TODO
16151
16152         * gst/gstcaps.c:
16153         * gst/gstcaps.h:
16154         Document GstCaps.
16155
16156 2005-11-09  Andy Wingo  <wingo@pobox.com>
16157
16158         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16159         to work on something else now tho...
16160
16161         * gst/base/gstadapter.c: More adapter docs.
16162
16163         * gst/elements/gstfilesink.c (gst_file_sink_start) 
16164         (gst_file_sink_stop): New functions, replace the state change
16165         handler.
16166         (gst_file_sink_class_init): Hook up the start and stop functions.
16167         (gst_file_sink_base_init): Don't set the state change handler any
16168         more. It was a bit ugly too, being set from here...
16169         (gst_file_sink_get_property, gst_file_sink_set_property):
16170         Cleanups...
16171         (gst_file_sink_set_location): More robust check that doesn't call
16172         GST_STATE. Ugggggg.
16173
16174 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
16175
16176         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16177           Hold STREAM_LOCK while pushing newsegment or tag events as well.
16178
16179 2005-11-08  Wim Taymans  <wim@fluendo.com>
16180
16181         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16182         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16183         (gst_base_sink_chain), (gst_base_sink_change_state):
16184         * gst/base/gstbasesink.h:
16185         * gst/base/gstbasesrc.h:
16186         * gst/gstelement.h:
16187         * gst/gstevent.h:
16188         Avoid excessive typechecking in macros.
16189
16190         * gst/gstminiobject.c: (gst_mini_object_get_type),
16191         (gst_mini_object_init), (gst_mini_object_new),
16192         (gst_mini_object_free):
16193         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16194         (gst_object_finalize):
16195         Remove cruft code, optimize alloc_trace.
16196
16197 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16198
16199         * docs/faq/gst-uninstalled:
16200           fix up PS1 for systems that try to reset it
16201
16202 2005-11-07  Wim Taymans  <wim@fluendo.com>
16203
16204         * gst/base/gstbasesrc.c: (gst_base_src_init),
16205         (gst_base_src_get_range):
16206         Set the segment_end to -1 initially. Fixed typefind.
16207
16208 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
16209
16210         * gst/base/gstadapter.c:
16211           Debug category should be 'adapter', not 'GstAdapter'.
16212           
16213         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16214         (gst_collectpads_class_init), (gst_collectpads_init),
16215         (gst_collectpads_peek), (gst_collectpads_pop),
16216         (gst_collectpads_event), (gst_collectpads_chain):
16217           Add debug category and some debugging output. Use boilerplate
16218           macros. Remove some extraneous words from docs.
16219
16220 2005-11-05  Andy Wingo  <wingo@pobox.com>
16221
16222         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16223         macro.
16224
16225 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16226
16227         * docs/gst/gstreamer-sections.txt:
16228         * gst/gstcaps.h:
16229         * gst/gstinfo.c:
16230         * gst/gstminiobject.h:
16231         * gst/gstobject.h:
16232         * gst/gstutils.h:
16233           more docs added
16234
16235 2005-11-04  Wim Taymans  <wim@fluendo.com>
16236
16237         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16238         Small update to stop at the configured segment_end
16239         position.
16240
16241 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16242
16243         * gst/gstregistry.c:
16244         * gst/gstregistry.h:
16245           added missing docs
16246
16247 2005-11-04  Edward Hervey  <edward@fluendo.com>
16248
16249         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16250         Check if we are doing a segment seek and have arrived at the
16251         end of that segment.
16252
16253 2005-11-04  Wim Taymans  <wim@fluendo.com>
16254
16255         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16256         Don't leak a mutex unlock in case of an error.
16257
16258         * gst/gstbus.h:
16259         Doc fixes.
16260
16261 2005-11-04  Wim Taymans  <wim@fluendo.com>
16262
16263         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16264         (gst_bus_post):
16265         Get the context to wake up only once.
16266
16267 2005-11-03  Wim Taymans  <wim@fluendo.com>
16268
16269         * check/states/sinks.c: (GST_START_TEST):
16270         Uncomment fixed check.
16271
16272         * docs/design/part-TODO.txt:
16273         Updated TODO.
16274
16275         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16276         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16277         (gst_base_sink_get_position):
16278         If we are going to PLAYING, post the right pending state
16279         when we post the intermediate paused message.
16280
16281         * gst/gstelement.c: (gst_element_continue_state),
16282         (gst_element_set_state_func), (gst_element_change_state):
16283         Don't post state changes that were between the same state
16284         and were not ASYNC.
16285
16286 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16287
16288         * docs/gst/gstreamer-sections.txt:
16289         * gst/gstcaps.h:
16290         * gst/gstinfo.c:
16291         * gst/gstminiobject.h:
16292         * gst/gstobject.h:
16293         * gst/gstutils.h:
16294           more docs and doc style fixes
16295
16296 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16297
16298         * docs/gst/gstreamer-sections.txt:
16299         * gst/gstelement.c:
16300         * gst/gstminiobject.c:
16301         doc fixes
16302
16303 2005-11-03  Andy Wingo  <wingo@pobox.com>
16304
16305         * check/states/sinks.c (test_livesrc_sink): Add checks that the
16306         state-changed messages actually have the right order and the right
16307         values.
16308
16309 2005-11-03  Wim Taymans  <wim@fluendo.com>
16310
16311         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16312         Added some more checks. Specifically the case where NO_PREROLL
16313         elements are in the pipeline.
16314
16315         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16316         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16317         (gst_base_sink_get_position):
16318         Post READY->PAUSED state change messages too.
16319         Fix bug where VOID was posted as pending state...
16320
16321         * gst/gstbin.c: (gst_bin_recalc_state):
16322         use _element_continue_state() to continue the state change.
16323
16324         * gst/gstelement.c: (gst_element_continue_state),
16325         (gst_element_commit_state), (gst_element_set_state_func),
16326         (gst_element_change_state), (gst_element_change_state_func):
16327         Lots of state change cleanups, assign the STATE_RETURN in
16328         a new continue_state() function that also propagates the
16329         last return value from a state change to the app.
16330         Update some debug statements with proper category.
16331
16332 2005-11-03  Wim Taymans  <wim@fluendo.com>
16333
16334         * docs/design/part-events.txt:
16335         * docs/design/part-gstpipeline.txt:
16336         * docs/design/part-messages.txt:
16337         * docs/design/part-overview.txt:
16338         * docs/design/part-seeking.txt:
16339         * docs/design/part-states.txt:
16340         * docs/design/part-trickmodes.txt:
16341         * docs/manual/advanced-position.xml:
16342         Small docs updates.
16343
16344         * gst/gstobject.h:
16345         People think !! is ugly, this looks better.
16346
16347         * gst/gstpad.c: (gst_pad_set_blocked_async):
16348         Remove !! since it's fixed elsewhere now.
16349
16350 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16351
16352         * gst/gstminiobject.h:
16353         * gst/gstobject.h:
16354           Add !! to _FLAG_IS_SET macros to make the result boolean.
16355
16356 2005-11-03  Edward Hervey  <edward@fluendo.com>
16357
16358         * gst/gstpad.c: (gst_pad_set_blocked_async):
16359         comparing a flag and a gboolean rarely returns coherent results...
16360         Added two characters (!!) to make that work correctly.
16361         
16362 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16363
16364         * gst/gstbus.c: (gst_bus_class_init):
16365           Fix some typos.
16366           
16367         * gst/gstqueue.c: (gst_queue_loop):
16368           Don't assume a miniobject that isn't a buffer is an
16369           event (it could be that there is a refcounting
16370           problem somewhere and the pointer is stale and
16371           refers to an already destroyed miniobject).
16372
16373 2005-11-03  Julien MOUTTE  <julien@moutte.net>
16374
16375         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16376
16377 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16378
16379         * docs/manual/advanced-position.xml:
16380           Update seek example and explanations to current 0.9 API.
16381
16382         * gst/elements/gsttypefindelement.c:
16383         (gst_type_find_element_activate):
16384           Remove FIXME comment now that the found caps
16385           are unreffed.
16386
16387 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16388
16389         * gst/gstregistryxml.c: (load_feature):
16390           Add another GST_STR_NULL instance
16391
16392 2005-11-02  Edward Hervey  <edward@fluendo.com>
16393
16394         * gst/gstpad.c: (handle_pad_block):
16395         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16396         
16397 2005-11-02  Wim Taymans  <wim@fluendo.com>
16398
16399         * gst/gstbin.c:
16400         Fix typo in docs.
16401
16402         * gst/gstelement.c: (gst_element_commit_state):
16403         Remove unused value.
16404
16405         * gst/gstiterator.c:
16406         Mention that the returned element is reffed in the docs.
16407
16408 2005-11-02  Wim Taymans  <wim@fluendo.com>
16409
16410         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16411         (gst_pad_push), (gst_pad_push_event):
16412         Unlock blocked pads when they are flushed.
16413
16414 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16415
16416         * docs/README:
16417         * docs/gst/gstreamer-sections.txt:
16418         * gst/gstbin.c:
16419           doc updates
16420         * gst/gstregistry.c: (gst_registry_scan_path_level):
16421           fix for a nasty little missed situation where an installed plug-in
16422           which was in the cache did not get overridden by an uninstalled one
16423           which was earlier in the plugin path because the newly created plugin
16424           for the uninstalled one (not in the registry) didn't get its
16425           ->registered set to TRUE
16426
16427 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16428
16429         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16430         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16431         (gst_collectpads_is_active), (gst_collectpads_collect),
16432         (gst_collectpads_collect_range), (gst_collectpads_start),
16433         (gst_collectpads_stop), (gst_collectpads_peek),
16434         (gst_collectpads_pop), (gst_collectpads_available),
16435         (gst_collectpads_read), (gst_collectpads_flush):
16436           Guard public API with assertions.
16437         
16438         * gst/gstpad.c:
16439           Fix docs for gst_pad_set_link_function().
16440
16441 2005-11-02  Johan Dahlin  <johan@gnome.org>
16442
16443         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
16444         Unref found_caps after we used it.
16445
16446 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16447
16448         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16449           Don't try to ref NULL.
16450
16451 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16452
16453         * win32/common/config.h.in:
16454           provide a GST_FUNCTION that just gives a string for now
16455
16456 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16457
16458         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16459         (gst_object_flags_get_type), (register_gst_bin_flags),
16460         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16461         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16462         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16463         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16464         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16465         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16466         (gst_clock_flags_get_type), (register_gst_state),
16467         (gst_state_get_type), (register_gst_state_change_return),
16468         (gst_state_change_return_get_type), (register_gst_state_change),
16469         (gst_state_change_get_type), (register_gst_element_flags),
16470         (gst_element_flags_get_type), (register_gst_core_error),
16471         (gst_core_error_get_type), (register_gst_library_error),
16472         (gst_library_error_get_type), (register_gst_resource_error),
16473         (gst_resource_error_get_type), (register_gst_stream_error),
16474         (gst_stream_error_get_type), (register_gst_event_type),
16475         (gst_event_type_get_type), (register_gst_seek_type),
16476         (gst_seek_type_get_type), (register_gst_seek_flags),
16477         (gst_seek_flags_get_type), (register_gst_format),
16478         (gst_format_get_type), (register_gst_index_certainty),
16479         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16480         (gst_index_entry_type_get_type),
16481         (register_gst_index_lookup_method),
16482         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16483         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16484         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16485         (gst_index_flags_get_type), (register_gst_debug_level),
16486         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16487         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16488         (gst_iterator_result_get_type), (register_gst_iterator_item),
16489         (gst_iterator_item_get_type), (register_gst_message_type),
16490         (gst_message_type_get_type), (register_gst_mini_object_flags),
16491         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16492         (gst_pad_link_return_get_type), (register_gst_flow_return),
16493         (gst_flow_return_get_type), (register_gst_activate_mode),
16494         (gst_activate_mode_get_type), (register_gst_pad_direction),
16495         (gst_pad_direction_get_type), (register_gst_pad_flags),
16496         (gst_pad_flags_get_type), (register_gst_pad_presence),
16497         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16498         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16499         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16500         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16501         (gst_plugin_flags_get_type), (register_gst_rank),
16502         (gst_rank_get_type), (register_gst_query_type),
16503         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16504         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16505         (gst_tag_flag_get_type), (register_gst_task_state),
16506         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16507         (gst_alloc_trace_flags_get_type),
16508         (register_gst_type_find_probability),
16509         (gst_type_find_probability_get_type), (register_gst_uri_type),
16510         (gst_uri_type_get_type), (register_gst_parse_error),
16511         (gst_parse_error_get_type):
16512         * win32/common/gstversion.h:
16513           update win32 copies
16514
16515 2005-11-01  Luca Ognibene  <luogni@tin.it>
16516
16517         * gst/gst.c:
16518           fix docs. popt is dead, long live GOption.
16519
16520 2005-10-31  Wim Taymans  <wim@fluendo.com>
16521
16522         * gst/gstbuffer.h:
16523         Small doc fix.
16524
16525 2005-10-31  Andy Wingo  <wingo@pobox.com>
16526
16527         * Boo!
16528
16529         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16530
16531         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16532         need to serialize property notifications on GLib 2.8. GLib 2.6 has
16533         the possibility of deadlocks here if code calling notify() or
16534         set() has a lock that can be taken in another notify handler (ABBA
16535         with class lock and e.g. python GIL state lock).
16536
16537 2005-10-28  Julien MOUTTE  <julien@moutte.net>
16538
16539         * gst/gstbus.c: Doc updates.
16540
16541 2005-10-28  Wim Taymans  <wim@fluendo.com>
16542
16543         * docs/design/part-TODO.txt:
16544         * gst/gstiterator.c:
16545         * gst/gstsystemclock.c:
16546         * gst/gstsystemclock.h:
16547         Doc updates.
16548
16549 2005-10-28  Edward Hervey  <edward@fluendo.com>
16550
16551         * docs/gst/gstreamer-docs.sgml:
16552         * docs/gst/gstreamer-sections.txt:
16553         the GstURIType documentation page is private, it only defines GstURIType
16554         which should be defined in the GstURIHandler page
16555         
16556 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16557
16558         * gst/gstbin.c: (gst_bin_class_init):
16559         * gst/gstbin.h:
16560         * gst/gstutils.c:
16561         Documentation updates.
16562
16563 2005-10-28  Wim Taymans  <wim@fluendo.com>
16564
16565         * docs/gst/gstreamer-sections.txt:
16566         * gst/gstclock.c:
16567         * gst/gstclock.h:
16568         Documented the clocks.
16569
16570 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
16571
16572         * docs/gst/gstreamer-sections.txt:
16573           move some macros to private sections
16574         * gst/gstminiobject.c:
16575         * gst/gstminiobject.h:
16576           add descriptions provided by ds and some more
16577         * gst/gstpad.h:
16578           mark macro as to be removed
16579
16580 2005-10-28  Wim Taymans  <wim@fluendo.com>
16581
16582         * docs/design/part-TODO.txt:
16583         Add an item to TODO.
16584
16585         * gst/gstiterator.c: (gst_iterator_fold),
16586         (gst_iterator_find_custom):
16587         * gst/gstiterator.h:
16588         Add iterator docs.
16589
16590 2005-10-28  Wim Taymans  <wim@fluendo.com>
16591
16592         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16593         (gst_base_transform_init):
16594         Don't leak class.
16595
16596         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16597         An EOS event marks the queue as completely filled.
16598
16599 2005-10-27  Wim Taymans  <wim@fluendo.com>
16600
16601         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16602         (gst_base_sink_do_sync), (gst_base_sink_get_position):
16603         Some more debugging.
16604
16605         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16606         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16607         (gst_base_transform_event), (gst_base_transform_getrange),
16608         (gst_base_transform_chain):
16609         * gst/base/gstbasetransform.h:
16610         Fix debugging,
16611         Protect transform and concurrent buffer alloc with a new lock.
16612         Try not to break ABI/API.
16613
16614 2005-10-27  Wim Taymans  <wim@fluendo.com>
16615
16616         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16617         (gst_base_src_init), (gst_base_src_query),
16618         (gst_base_src_default_newsegment),
16619         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16620         (gst_base_src_send_event), (gst_base_src_event_handler),
16621         (gst_base_src_pad_get_range), (gst_base_src_loop),
16622         (gst_base_src_unlock), (gst_base_src_default_negotiate),
16623         (gst_base_src_start), (gst_base_src_deactivate),
16624         (gst_base_src_activate_push), (gst_base_src_change_state):
16625         Move some stuff around and cleanup things.
16626
16627 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
16628
16629         * gst/base/gstbasesrc.c: (gst_base_src_query):
16630           Add missing break statements.
16631
16632 2005-10-27  Wim Taymans  <wim@fluendo.com>
16633
16634         * check/gst/gstbin.c: (GST_START_TEST):
16635         An extra refcount is taken in basesrc.
16636
16637         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16638         (gst_base_src_get_range), (gst_base_src_pad_get_range),
16639         (gst_base_src_loop):
16640         Small cleanups, check for flushing after being unlocked from the 
16641         LIVE_LOCK. take refcounts correctly (not yet everywhere).
16642         Don't send out EOS when going to READY.
16643
16644 2005-10-27  Wim Taymans  <wim@fluendo.com>
16645
16646         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16647         (gst_base_sink_get_position):
16648         Some more debug.
16649
16650         * gst/gstbin.c: (message_check), (bin_replace_message),
16651         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16652         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16653         (bin_query_duration_init), (bin_query_duration_fold),
16654         (bin_query_duration_done), (bin_query_generic_fold),
16655         (gst_bin_query):
16656         * tools/gst-launch.c: (main):
16657         Remove old option.
16658
16659 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
16660
16661         * examples/controller/audio-example.c: (main):
16662         * examples/queue/queue.c: (event_loop):
16663         * gst/base/gstbasetransform.h:
16664         * gst/gstelement.c: (gst_element_send_event):
16665         * gst/gstevent.h:
16666         * gst/gstpad.c: (gst_pad_send_event):
16667           fixing examples
16668           fixing docs typos
16669           changing log priority in error situations
16670
16671 2005-10-25  Wim Taymans  <wim@fluendo.com>
16672
16673         * gst/gstbin.c: (message_check), (bin_replace_message),
16674         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16675         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16676         (bin_query_duration_init), (bin_query_duration_fold),
16677         (bin_query_duration_done), (bin_query_generic_fold),
16678         (gst_bin_query):
16679         Some doc and debug updates.
16680         Cache previously requested query DURATION for speed. invalidate
16681         cached duration if element posts a DURATION message.
16682
16683 2005-10-25  Wim Taymans  <wim@fluendo.com>
16684
16685         * docs/design/part-TODO.txt:
16686         Update TODO.
16687
16688         * gst/gstbin.c: (message_check), (bin_replace_message),
16689         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16690         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16691         (bin_query_duration_init), (bin_query_duration_fold),
16692         (bin_query_duration_done), (bin_query_generic_fold),
16693         (gst_bin_query):
16694         Handle SEGMENT_START/DONE messages correctly.
16695         More evolved query algorithm that handles duration queries
16696         correctly.
16697
16698         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16699         (gst_element_get_state_func), (gst_element_abort_state),
16700         (gst_element_commit_state), (gst_element_lost_state):
16701         Some more debugging.
16702
16703         * gst/gstmessage.h:
16704         Added doc.
16705
16706 2005-10-25  Wim Taymans  <wim@fluendo.com>
16707
16708         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16709         Don't use invalid stream_time.
16710
16711         * gst/gstevent.c: (gst_event_new_newsegment):
16712         stream_time in newsegment cannot be undefined.
16713
16714 2005-10-24  Wim Taymans  <wim@fluendo.com>
16715
16716         * gst/gstbus.c:
16717         Doc fix.
16718
16719         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16720         (gst_queue_loop):
16721         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16722
16723 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
16724
16725         * docs/libs/tmpl/gstdparam.sgml:
16726         * docs/libs/tmpl/gstdplinint.sgml:
16727         * docs/libs/tmpl/gstdpman.sgml:
16728         * docs/libs/tmpl/gstdpsmooth.sgml:
16729         * docs/libs/tmpl/gstunitconvert.sgml:
16730           these are obsolete
16731
16732 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16733
16734         * configure.ac:
16735           back to HEAD
16736
16737 === release 0.9.4 ===
16738
16739 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16740
16741         * configure.ac:
16742           releasing 0.9.4, "Tyrannosaurus Rex"
16743
16744 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
16745
16746         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16747         (gst_file_sink_get_current_offset):
16748           Use fseeko() and ftello() if available. When falling back on
16749           lseek() to get the current offset, fflush() first to make sure
16750           everything is up-to-date and we get the right offset.
16751
16752 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16753
16754         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16755         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16756         * gst/gsterror.c: (_gst_stream_errors_init):
16757         * gst/gsterror.h:
16758         * gst/gstqueue.c: (gst_queue_loop):
16759         * po/POTFILES.in:
16760           remove prematurely added error category and clean up the instances
16761
16762 2005-10-21  Wim Taymans  <wim@fluendo.com>
16763
16764         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16765         (gst_base_sink_get_position), (gst_base_sink_query),
16766         (gst_base_sink_change_state):
16767         Simply set the right flag when going to playing, that's all
16768         we need to do instead of calling a function inside the object
16769         lock (that could take the lock as well and deadlock)
16770
16771 2005-10-21  Wim Taymans  <wim@fluendo.com>
16772
16773         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16774         (gst_base_src_loop):
16775         Don't warn, the peer element knows what to do best when
16776         the seek failed, it might try something else.
16777
16778 2005-10-21  Wim Taymans  <wim@fluendo.com>
16779
16780         * gst/base/gstbasesrc.c: (gst_base_src_init),
16781         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16782         Fix seeking.
16783
16784 2005-10-21  Wim Taymans  <wim@fluendo.com>
16785
16786         * docs/design/part-segments.txt:
16787         More docs.
16788
16789         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16790         Correctly set caps, even on the subbufer.
16791
16792 2005-10-21  Wim Taymans  <wim@fluendo.com>
16793
16794         * docs/gst/gstreamer-docs.sgml:
16795         * docs/gst/gstreamer-sections.txt:
16796         * gst/gstelement.h:
16797         * gst/gstevent.c:
16798         * gst/gstevent.h:
16799         * gst/gstmessage.h:
16800         * gst/gstpad.h:
16801         * gst/gstparse.h:
16802         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16803         * gst/gsttask.h:
16804         * gst/gstutils.c:
16805         * gst/gstutils.h:
16806         And 2% more doc coverage.
16807
16808 2005-10-21  Andy Wingo  <wingo@pobox.com>
16809
16810         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16811         position reporting.
16812
16813 2005-10-20  Wim Taymans  <wim@fluendo.com>
16814
16815         * gst/gsterror.c: (gst_error_get_message):
16816         * gst/gstparse.h:
16817         * gst/gstquery.h:
16818         * gst/gststructure.c:
16819         * gst/gsttrace.c:
16820         * gst/gstutils.c:
16821         More docs.
16822
16823 2005-10-20  Wim Taymans  <wim@fluendo.com>
16824
16825         * gst/gstbuffer.h:
16826         * gst/gstpad.c:
16827         * gst/gstparse.c:
16828         Another 1% more coverage.
16829
16830 2005-10-20  Wim Taymans  <wim@fluendo.com>
16831
16832         * docs/gst/gstreamer-sections.txt:
16833         * gst/gstelement.c: (gst_element_get_state_func),
16834         (gst_element_abort_state), (gst_element_commit_state),
16835         (gst_element_lost_state):
16836         * gst/gstevent.h:
16837         * gst/gstquery.c: (gst_query_set_position),
16838         (gst_query_parse_position), (gst_query_set_duration),
16839         (gst_query_parse_duration), (gst_query_new_convert):
16840         * gst/gstutils.c:
16841         Yay! 1% more docs coverage.
16842
16843 2005-10-20  Wim Taymans  <wim@fluendo.com>
16844
16845         * gst/gstpad.h:
16846         * gst/gstquery.c: (gst_query_set_position),
16847         (gst_query_parse_position), (gst_query_set_duration),
16848         (gst_query_parse_duration), (gst_query_new_convert):
16849         * gst/gstquery.h:
16850         * gst/gstutils.c: (gst_element_query_convert):
16851         * gst/gstutils.h:
16852         Docs and consistency fixes.
16853
16854 2005-10-20  Wim Taymans  <wim@fluendo.com>
16855
16856         * gst/gsttask.c:
16857         * gst/gsttask.h:
16858         More docs.
16859
16860 2005-10-20  Wim Taymans  <wim@fluendo.com>
16861
16862         * gst/gstbin.c: (message_check), (bin_replace_message),
16863         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16864         (update_degree), (gst_bin_sort_iterator_next),
16865         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16866         Reworked the message handling a bit, cache the messages instead of
16867         only the senders. alows us to do more in the future.
16868
16869 2005-10-20  Wim Taymans  <wim@fluendo.com>
16870
16871         * docs/design/part-TODO.txt:
16872         Update TODO
16873
16874         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16875         (gst_base_sink_query):
16876         Don't use clock time to report position when in EOS.
16877
16878 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
16879
16880         * tools/gst-inspect.c: (print_interfaces),
16881         (print_element_properties_info), (print_element_info):
16882           Fix interface output with gst-inspect -a; don't print
16883           newlines after double/float properties.
16884
16885 2005-10-20  Wim Taymans  <wim@fluendo.com>
16886
16887         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16888         (gst_base_sink_query):
16889         Speed up current position calculation.
16890
16891         * gst/base/gstbasesrc.c: (gst_base_src_query),
16892         (gst_base_src_default_newsegment):
16893         Correctly set stream position in newsegment.
16894
16895         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16896         (update_degree), (gst_bin_sort_iterator_next),
16897         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16898         * gst/gstmessage.c: (gst_message_new_custom):
16899         Clean up debugging info
16900
16901         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16902         (gst_queue_loop), (gst_queue_handle_src_query):
16903         Pause task faster.
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         Fix query handling again.
16910
16911 2005-10-19  Wim Taymans  <wim@fluendo.com>
16912
16913         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16914         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16915         * gst/base/gstbasesrc.c: (gst_base_src_query):
16916         * gst/elements/gstfilesink.c: (gst_file_sink_query):
16917         * gst/elements/gsttypefindelement.c:
16918         (gst_type_find_handle_src_query), (find_element_get_length),
16919         (gst_type_find_element_activate):
16920         API change fix.
16921
16922         * gst/gstquery.c: (gst_query_new_position),
16923         (gst_query_set_position), (gst_query_parse_position),
16924         (gst_query_new_duration), (gst_query_set_duration),
16925         (gst_query_parse_duration), (gst_query_set_segment),
16926         (gst_query_parse_segment):
16927         * gst/gstquery.h:
16928         Bundling query position/duration is not a good idea since duration
16929         does not change much and we don't want to recalculate it for every
16930         position query, so they are separated again..
16931         Base value in segment query is not needed.
16932
16933         * gst/gstqueue.c: (gst_queue_handle_src_query):
16934         * gst/gstutils.c: (gst_element_query_position),
16935         (gst_element_query_duration), (gst_pad_query_position),
16936         (gst_pad_query_duration):
16937         * gst/gstutils.h:
16938         Updates for query API change.
16939         Added some docs here and there.
16940
16941 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16942
16943         * check/gst/gstbin.c: (GST_START_TEST):
16944         * check/gst/gstghostpad.c: (GST_START_TEST):
16945         * check/pipelines/cleanup.c: (GST_START_TEST):
16946           wait on thread to die so we can check refcount correctly
16947
16948 2005-10-18  Wim Taymans  <wim@fluendo.com>
16949
16950         * check/pipelines/stress.c: (GST_START_TEST):
16951         Make check a little more time consuming.
16952
16953 2005-10-18  Wim Taymans  <wim@fluendo.com>
16954
16955         * check/Makefile.am:
16956         * check/pipelines/stress.c: (GST_START_TEST),
16957         (simple_launch_lines_suite), (main):
16958         Small state change torture test.
16959
16960         * docs/design/part-states.txt:
16961         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16962         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16963         (gst_base_sink_change_state):
16964         Never take state lock from streaming thread, clean up ugly
16965         hacks. Unfortunatly core does not yet support nice ways to
16966         async commit state.
16967         
16968         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16969         (bin_bus_handler):
16970         Start state recalc if a STATE_DIRTY message is posted, but only
16971         on the toplevel bin.
16972
16973         * gst/gstelement.c: (gst_element_sync_state_with_parent),
16974         (gst_element_get_state_func), (gst_element_abort_state),
16975         (gst_element_commit_state), (gst_element_lost_state),
16976         (gst_element_set_state_func), (gst_element_change_state):
16977         * gst/gstelement.h:
16978         State variables are now protected with the LOCK, the state
16979         lock is only used to serialize _set_state().
16980
16981 2005-10-18  Wim Taymans  <wim@fluendo.com>
16982
16983         * check/gst/gstbin.c: (GST_START_TEST):
16984         * check/gst/gstmessage.c: (GST_START_TEST):
16985         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16986         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16987         (bin_bus_handler):
16988         * gst/gstelement.c: (gst_element_abort_state),
16989         (gst_element_commit_state), (gst_element_lost_state):
16990         * gst/gstmessage.c: (gst_message_new_state_changed),
16991         (gst_message_new_state_dirty), (gst_message_new_segment_start),
16992         (gst_message_new_segment_done), (gst_message_new_duration),
16993         (gst_message_parse_state_changed),
16994         (gst_message_parse_segment_start),
16995         (gst_message_parse_segment_done), (gst_message_parse_duration):
16996         * gst/gstmessage.h:
16997         * tools/gst-launch.c: (event_loop):
16998         Seriously, this is better than a previous commit as we only need
16999         to notify the fact that an element changed state in a streaming
17000         thread, marking the state of the parents dirty, hence the 
17001         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
17002         message.
17003
17004 2005-10-18  Wim Taymans  <wim@fluendo.com>
17005
17006         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
17007         (gst_bin_recalc_func):
17008         * gst/gstelement.c: (gst_element_set_clock),
17009         (gst_element_abort_state), (gst_element_lost_state):
17010         Cleanups, prepare for state change fixes.
17011
17012 2005-10-18  Wim Taymans  <wim@fluendo.com>
17013
17014         * gst/gstbin.h:
17015         * gst/gstelement.c: (gst_element_class_init),
17016         (gst_element_set_state), (gst_element_set_state_func):
17017         * gst/gstelement.h:
17018         Pending ABI changes.
17019         GThreadPool in GstBinClass to monitor async state changes.
17020         state_cookie in GstElement to detect concurrent gst/set state.
17021         set_state is now virtual too in case a very complicated element
17022         has to be constructed.
17023
17024 2005-10-18  Wim Taymans  <wim@fluendo.com>
17025
17026         * check/gst/gstbin.c: (GST_START_TEST):
17027         * check/gst/gstmessage.c: (GST_START_TEST):
17028         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17029         * gst/gstbin.c: (bin_bus_handler):
17030         * gst/gstelement.c: (gst_element_commit_state),
17031         (gst_element_lost_state):
17032         * gst/gstmessage.c: (gst_message_new_state_changed),
17033         (gst_message_new_segment_start), (gst_message_new_segment_done),
17034         (gst_message_new_duration), (gst_message_parse_state_changed),
17035         (gst_message_parse_segment_start),
17036         (gst_message_parse_segment_done), (gst_message_parse_duration):
17037         * gst/gstmessage.h:
17038         * tools/gst-launch.c: (event_loop):
17039         Make messages future proof.
17040         state-change gets a flag if it was a message comming from the
17041         streaming thread.
17042         segment-start/stop can also be specified in other formats.
17043         A message to notify an app that a pipeline changed playback 
17044         duration.
17045         Also fix a GstMessage leak in -launch
17046
17047 2005-10-18  Andy Wingo  <wingo@pobox.com>
17048
17049         * gst/gstelement.c (gst_element_dispose): More helpful message.
17050
17051 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17052
17053         reviewed by: <delete if not using a buddy>
17054
17055         * common/gtk-doc.mak:
17056
17057 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17058
17059         * gst/gstregistry.c: (gst_registry_scan_path_level):
17060           unref a plug-in we get that was already initialized
17061
17062 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
17063
17064         * docs/gst/gstreamer-sections.txt:
17065         * docs/libs/gstreamer-libs-sections.txt:
17066         * gst/gstelement.h:
17067           add new api entries
17068           hide internal macro
17069
17070 2005-10-17  Andy Wingo  <wingo@pobox.com>
17071
17072         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17073         cleanup.
17074
17075         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17076
17077         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17078
17079         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17080         (gst_element_get_state_func): Better debug message.
17081         (gst_element_commit_state): s/INFO/DEBUG/.
17082         (gst_element_lost_state, gst_element_change_state): 
17083
17084         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17085         (gst_message_new_custom): s/INFO/LOG/.
17086
17087 2005-10-17  Michael Smith <msmith@fluendo.com>
17088
17089         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17090           Check if end time is valid using end time, not start time.
17091
17092 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
17093
17094         * check/gst-libs/controller.c: (GST_START_TEST),
17095         (gst_controller_suite):
17096         * libs/gst/controller/gstcontroller.c:
17097         (gst_controlled_property_set_interpolation_mode):
17098         * libs/gst/controller/gstcontroller.h:
17099         * libs/gst/controller/gstinterpolation.c:
17100         * testsuite/controller/.cvsignore:
17101         * testsuite/controller/Makefile.am:
17102         * testsuite/controller/interpolator.c:
17103           merge controller testsuites
17104           fix broken tests
17105           remove mem-chunk from docs
17106
17107 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17108
17109         * gst/gstmemchunk.c:
17110         * gst/gstmemchunk.h:
17111         * gst/gsttrashstack.c:
17112         * gst/gsttrashstack.h:
17113           out.  get out.  you're fired.  to the Attic !
17114
17115 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17116
17117         * gst/gstcaps.c: (gst_caps_intersect):
17118           fix signedness issues in a (hopefully) correct way
17119         * gst/gstelement.c: (gst_element_pads_activate):
17120           some debugging
17121         * gst/gstobject.c: (gst_object_set_parent):
17122           some debugging
17123
17124 2005-10-17  Julien MOUTTE  <julien@moutte.net>
17125
17126         * gst/gstvalue.h: Fix prototypes.
17127
17128 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17129
17130         * docs/gst/gstreamer-sections.txt:
17131         * gst/gst.c: (gst_version_string):
17132         * gst/gst.h:
17133         * gst/gstversion.h.in:
17134         * win32/common/libgstreamer.def:
17135           add gst_version_string ()
17136
17137 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17138
17139         * configure.ac:
17140           clean up further
17141         * gst/gst.c: (init_post):
17142         * win32/common/config.h.in:
17143           it's PLUGINDIR now
17144         * gst/gstcaps.c: (gst_caps_intersect):
17145           use gint64, the range could be bigger than a guint
17146
17147 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17148
17149         * gst/gstclock.h:
17150           document potential problem in 2038
17151
17152 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17153
17154         * gst/gstcaps.c: (gst_caps_intersect):
17155           Fix guint j diving under 0
17156
17157 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17158
17159         * configure.ac:
17160         * win32/common/config.h:
17161         * win32/common/config.h.in:
17162           check for process.h, declares getpid() on Windows
17163         * gst/gstinfo.c:
17164           include process.h if we have it
17165         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17166         * gst/gstmemchunk.h:
17167           fix signedness issues
17168         * win32/common/libgstreamer.def:
17169           fix get_type's
17170
17171 2005-10-16  Julien MOUTTE  <julien@moutte.net>
17172
17173         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17174         fix. Because of unsigned ints, caps intersection was going nuts and
17175         trying to access structures with G_MAXUINT index. That fixes
17176         videotestsrc ! ffmpegcolorspace ! fakesink
17177         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17178         consistency.
17179
17180 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17181
17182         * configure.ac:
17183           use the gettext macro
17184         * gst/elements/gstelements.c:
17185         * gst/gst.c:
17186         * gst/indexers/gstindexers.c:
17187           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17188         * win32/common/config.h:
17189           updated config.h
17190         * win32/common/config.h.in:
17191           add the template to generate config.h
17192         * win32/common/gstenumtypes.c:
17193         * win32/common/gstversion.h:
17194           updated copies
17195
17196 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17197
17198         * gst/gst.c: (gst_version):
17199         * gst/gstversion.h.in:
17200           add the nano
17201
17202 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17203
17204         * gst/gstevent.h:
17205           Oops, add missing closing bracket.
17206
17207 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17208
17209         * configure.ac:
17210           use common m4's for argument checking
17211
17212 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17213
17214         * docs/gst/gstreamer-sections.txt:
17215         * gst/gstevent.h:
17216           Add GST_EVENT_TYPE_NAME() macro.
17217
17218 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17219
17220         * gst/gstinfo.c:
17221         * gst/gstpluginfeature.c:
17222         * gst/gsttask.c:
17223           privatize more symbols
17224
17225 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17226
17227         * configure.ac:
17228           add srcdir, builddir includes to GST_ALL_CFLAGS, since
17229           everything that uses GStreamer API should have the includes
17230
17231 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17232
17233         * docs/gst/gstreamer-sections.txt:
17234         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17235         * gst/gstvalue.h:
17236           give each value a _get_type, removes the DATA exports
17237
17238 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17239
17240         * gst/gst.c:
17241         * gst/gst.h:
17242           remove _gst_registry_auto_load, not used anymore
17243         * gst/gstbin.c: (gst_bin_get_type):
17244         * gst/gstbin.h:
17245         * gst/gstelement.c: (gst_element_get_type):
17246         * gst/gstelement.h:
17247         * gst/gstobject.c: (gst_object_get_type):
17248         * gst/gstobject.h:
17249         * gst/gstpad.c: (gst_pad_get_type):
17250         * gst/gstpad.h:
17251           make _get_type functions similar, fixes data export from library
17252
17253 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17254
17255         * configure.ac:
17256           correctly make conditionals
17257         * gst/elements/Makefile.am:
17258         * gst/elements/gstelements.c:
17259           fix typo causing fdsrc not to build
17260
17261 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17262
17263         * testsuite/Makefile.am:
17264         * testsuite/bytestream/.cvsignore:
17265         * testsuite/bytestream/Makefile.am:
17266         * testsuite/bytestream/filepadsink.c:
17267         * testsuite/bytestream/gstbstest.c:
17268         * testsuite/bytestream/test1.c:
17269         * testsuite/bytestream/testfile1:
17270         * testsuite/caps/normalisation.c:
17271         * testsuite/caps/random.c: (main):
17272         * testsuite/cleanup/.cvsignore:
17273         * testsuite/cleanup/Makefile.am:
17274         * testsuite/cleanup/cleanup1.c:
17275         * testsuite/cleanup/cleanup2.c:
17276         * testsuite/cleanup/cleanup3.c:
17277         * testsuite/cleanup/cleanup4.c:
17278         * testsuite/cleanup/cleanup5.c:
17279         * testsuite/controller/interpolator.c:
17280         * testsuite/debug/printf_extension.c: (main):
17281         * testsuite/elements/tee.c:
17282         * testsuite/negotiation/.cvsignore:
17283         * testsuite/negotiation/Makefile.am:
17284         * testsuite/negotiation/pad_link.c:
17285         * testsuite/pad/Makefile.am:
17286         * testsuite/pad/chainnopull.c:
17287         * testsuite/pad/getnopush.c:
17288         * testsuite/pad/link.c:
17289         * testsuite/refcounting/sched.c: (create_pipeline):
17290         * testsuite/registry/Makefile.am:
17291         * testsuite/registry/gst-print-formats.c:
17292         * testsuite/schedulers/.cvsignore:
17293         * testsuite/schedulers/142183-2.c:
17294         * testsuite/schedulers/142183.c:
17295         * testsuite/schedulers/143777-2.c:
17296         * testsuite/schedulers/143777.c:
17297         * testsuite/schedulers/147713.c:
17298         * testsuite/schedulers/147819.c:
17299         * testsuite/schedulers/147894-2.c:
17300         * testsuite/schedulers/147894.c:
17301         * testsuite/schedulers/Makefile.am:
17302         * testsuite/schedulers/group_link.c:
17303         * testsuite/schedulers/queue_link.c:
17304         * testsuite/schedulers/relink.c:
17305         * testsuite/schedulers/unlink.c:
17306         * testsuite/schedulers/unref.c:
17307         * testsuite/schedulers/useless_iteration.c:
17308         * testsuite/states/bin.c:
17309           clean out/remove some stuff from the testsuite directories
17310
17311 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17312
17313         * configure.ac:
17314           check for some headers
17315         * gst/elements/Makefile.am:
17316         * gst/elements/gstelements.c:
17317           don't compile fdsrc without sys/socket.h
17318         * gst/indexers/Makefile.am:
17319         * gst/indexers/gstindexers.c: (plugin_init):
17320           don't compile fileindex without mmap
17321
17322 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17323
17324         * configure.ac:
17325           reorganize
17326           clean up
17327           document more
17328           remove cruft
17329         * check/Makefile.am:
17330         * docs/gst/Makefile.am:
17331         * examples/helloworld/Makefile.am:
17332         * gst/Makefile.am:
17333         * gst/base/Makefile.am:
17334         * gst/check/Makefile.am:
17335         * gst/elements/Makefile.am:
17336         * gst/indexers/Makefile.am:
17337         * gst/parse/Makefile.am:
17338         * libs/gst/controller/Makefile.am:
17339         * libs/gst/dataprotocol/Makefile.am:
17340         * examples/helloworld/helloworld.c: (event_loop):
17341           compile fixes, though it's not being compiled currently
17342
17343 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17344
17345         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17346           Add some simple tests for the new taglist date API.
17347
17348 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17349
17350         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17351         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17352           Beautify 'last-message' output: print 'none' for buffer timestamps
17353           and durations if none is set; improve alignment with next messages.
17354
17355 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17356
17357         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17358         * gst/gstpluginfeature.h:
17359         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17360         * gst/gstregistry.h:
17361         * docs/gst/gstreamer-sections.txt:
17362           Add new API to check plugin feature version requirements.
17363
17364         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17365           Some basic tests for the above.         
17366
17367 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17368
17369         * gst/gststructure.c: (gst_structure_to_string):
17370           guard against NULL printf - happens when for example
17371           a message structure with GstClock gets serialized
17372
17373 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17374
17375         * gst/base/gstcollectpads.c: (gst_collectpads_event):
17376           Fix presumable copy'n'pasto.
17377
17378 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17379
17380         * gst/elements/gstfakesrc.h:
17381         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17382         * gst/elements/gsttypefindelement.c:
17383           fix some signedness
17384         * gst/elements/gstfilesink.c: (gst_file_sink_render):
17385           I wonder if this could actually write +2GB files before
17386
17387 2005-10-13  Andy Wingo  <wingo@pobox.com>
17388
17389         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17390         Fix Timmeke Waymans bug.
17391         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17392         string of the proper length to gst_caps_from_string. There's a
17393         potential for, before this fix, that this could cause someone
17394         connecting over the network to cause a segfault if the payload is
17395         not NUL-terminated.
17396
17397 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17398
17399         * docs/design/draft-push-pull.txt:
17400         * docs/design/part-overview.txt:
17401         * docs/random/TODO-pre-0.9:
17402         * docs/random/old/ChangeLog.gstreamer:
17403         * gst/base/gstpushsrc.c:
17404         * gst/gstclock.c:
17405           fixed typos
17406
17407 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17408
17409         * gst/glib-compat.c: (gst_flags_get_first_value):
17410         * gst/glib-compat.h:
17411         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17412         (gst_value_compare_double), (gst_value_serialize_flags):
17413           GLib 2.6 g_flags_get_first_value has a bug that triggers an
17414           infinite loop
17415
17416 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17417
17418         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17419         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17420           fix up debugging
17421         * tools/gst-launch.c: (event_loop):
17422           print out clock nicely
17423
17424 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17425
17426         * docs/gst/gstreamer-sections.txt:
17427         * gst/gsttaglist.h:
17428         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17429         (gst_tag_list_get_date_index):
17430           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17431           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17432
17433 2005-10-13  Julien MOUTTE  <julien@moutte.net>
17434
17435         * gst/base/gstcollectpads.c: (gst_collectpads_event),
17436         (gst_collectpads_chain):
17437         * gst/base/gstcollectpads.h: Handle newsegment and store informations
17438         in CollectData.
17439
17440 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17441
17442         * docs/gst/gstreamer-sections.txt:
17443         * gst/gst.c:
17444         * gst/gsterror.h:
17445         * tools/gst-inspect.c: (main):
17446         * tools/gst-launch.c: (main):
17447         * tools/gst-run.c: (main):
17448         * tools/gst-xmlinspect.c: (main):
17449           fix GOption context leaks
17450           doc fixes
17451
17452 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17453
17454         * gst/gstbus.c:
17455           use HAVE_UNISTD_H
17456         * win32/common/config.h:
17457           update config
17458         * win32/vs6/grammar.dsp:
17459         * win32/vs6/libgstelements.dsp:
17460         * win32/vs6/libgstreamer.dsp:
17461           update vs6 files
17462
17463 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17464
17465         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17466         * gst/base/gstbasesrc.c: (gst_base_src_query):
17467           fix more guint64<->gdouble conversions
17468
17469 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17470
17471         * Makefile.am:
17472           add win32-update target
17473         * win32/common/gstconfig.h:
17474         * win32/common/gstenumtypes.c:
17475         * win32/common/gstenumtypes.h:
17476         * win32/common/gstversion.h:
17477           add files that visual studio can't generate
17478
17479 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17480
17481         * Makefile.am:
17482           add a win32-update target
17483         * configure.ac:
17484
17485 2005-10-12  Wim Taymans  <wim@fluendo.com>
17486
17487         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17488         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17489         * gst/gstelement.c: (gst_element_commit_state),
17490         (gst_element_set_state):
17491         Protect flags with proper lock.
17492         unref provided cached clock in dispose.
17493
17494 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17495
17496         * gst/gst.c:
17497         * gst/gstminiobject.h:
17498         * gst/gstpad.h:
17499         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17500           removed unused flags from miniobject
17501           doc fixes
17502
17503 2005-10-12  Wim Taymans  <wim@fluendo.com>
17504
17505         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17506         (gst_file_sink_event), (gst_file_sink_render):
17507         Flush before seeking.
17508
17509 2005-10-12  Andy Wingo  <wingo@pobox.com>
17510
17511         * gst/gst.c (gst_init_check): Ignore unknown options, as has
17512         always been the case.
17513
17514 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17515
17516         * check/gst/gstbin.c: (GST_START_TEST):
17517         * docs/gst/gstreamer-sections.txt:
17518         * gst/base/gstbasesink.c: (gst_base_sink_init):
17519         * gst/base/gstbasesrc.c: (gst_base_src_init),
17520         (gst_base_src_get_range), (gst_base_src_check_get_range),
17521         (gst_base_src_start), (gst_base_src_stop):
17522         * gst/base/gstbasesrc.h:
17523         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17524         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17525         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17526         (bin_bus_handler):
17527         * gst/gstbin.h:
17528         * gst/gstbuffer.h:
17529         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17530         * gst/gstbus.h:
17531         * gst/gstelement.c: (gst_element_is_locked_state),
17532         (gst_element_set_locked_state), (gst_element_commit_state),
17533         (gst_element_set_state):
17534         * gst/gstelement.h:
17535         * gst/gstindex.c: (gst_index_init):
17536         * gst/gstindex.h:
17537         * gst/gstminiobject.h:
17538         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17539         (gst_object_set_parent):
17540         * gst/gstobject.h:
17541         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17542         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17543         * gst/gstpad.h:
17544         * gst/gstpadtemplate.h:
17545         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17546         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17547         * gst/gstpipeline.h:
17548         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17549         (gst_file_index_commit):
17550         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17551         * testsuite/pad/link.c: (gst_test_src_init),
17552         (gst_test_filter_init), (gst_test_sink_init):
17553         * testsuite/states/locked.c: (main):
17554           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17555           moved bitshift from macro to enum definition
17556
17557 2005-10-12  Wim Taymans  <wim@fluendo.com>
17558
17559         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17560         * gst/elements/gstfilesink.c: (gst_file_sink_event),
17561         (gst_file_sink_render):
17562         Some more debugging info.
17563
17564 2005-10-12  Wim Taymans  <wim@fluendo.com>
17565
17566         * docs/design/part-states.txt:
17567         * tools/gst-launch.c: (main):
17568         Some doc updates.
17569         Revert non-intentional change.
17570
17571 2005-10-12  Wim Taymans  <wim@fluendo.com>
17572
17573         * check/gst/gstbin.c: (GST_START_TEST):
17574         * check/gst/gstelement.c: (GST_START_TEST):
17575         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17576         * check/gst/gstghostpad.c: (GST_START_TEST):
17577         * check/gst/gstpipeline.c: (GST_START_TEST):
17578         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17579         * check/states/sinks.c: (GST_START_TEST):
17580         * gst/elements/gsttypefindelement.c: (stop_typefinding):
17581         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17582         (gst_bin_remove_func), (gst_bin_get_state_func),
17583         (gst_bin_recalc_state), (gst_bin_change_state_func),
17584         (bin_bus_handler):
17585         * gst/gstelement.c: (gst_element_get_state_func),
17586         (gst_element_get_state), (gst_element_abort_state),
17587         (gst_element_commit_state), (gst_element_set_state),
17588         (gst_element_change_state), (gst_element_change_state_func):
17589         * gst/gstelement.h:
17590         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17591         (gst_pipeline_provide_clock_func):
17592         * gst/gstutils.c: (gst_element_link_pads_filtered):
17593         * tools/gst-launch.c: (main):
17594         * tools/gst-typefind.c: (main):
17595         Use GstClockTime in _get_state() instead of GTimeVal.
17596         Remove old code in gstutils.c
17597
17598 2005-10-12  Andy Wingo  <wingo@pobox.com>
17599
17600         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17601         removed.
17602
17603         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17604         there is no task. Shouldn't affect any code, as nothing in our
17605         plugins checks this return value.
17606         (gst_pad_stop_task): Also take the stream lock if the pad has no
17607         task. Docs updated.
17608
17609 2005-10-12  Wim Taymans  <wim@fluendo.com>
17610
17611         * gst/gstpad.c: (pre_activate), (post_activate),
17612         (gst_pad_activate_pull), (gst_pad_activate_push):
17613         Cleanup activation code. Reset old state if
17614         activation failed.
17615
17616 2005-10-12  Wim Taymans  <wim@fluendo.com>
17617
17618         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17619         (gst_base_sink_change_state):
17620         No need to prerol after receiving EOS.
17621
17622         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17623         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17624         * gst/elements/gstidentity.c: (gst_identity_event):
17625         Print events more verbosely.
17626
17627 2005-10-12  Wim Taymans  <wim@fluendo.com>
17628
17629         * check/Makefile.am:
17630         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17631         * check/states/sinks2.c:
17632         Moved sinks2 testcode in sinks check.
17633
17634         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17635         (gst_bin_remove_func), (gst_bin_recalc_state),
17636         (gst_bin_change_state_func), (bin_bus_handler):
17637         Fix potential race condition when _get_state() iterated over an
17638         ASYNC element right before it posted a state completion.
17639
17640         * gst/gstclock.h:
17641         Do proper cast here.
17642
17643         * gst/gstevent.c: (gst_event_new_newsegment),
17644         (gst_event_parse_newsegment):
17645         A playback rate of 0.0 is not allowed.
17646
17647 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17648
17649         * win32/common/config.h:
17650         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17651         (_trewinddir), (_ttelldir), (_tseekdir):
17652         * win32/common/dirent.h:
17653         * win32/common/gtchar.h:
17654         * win32/common/libgstbase.def:
17655         * win32/common/libgstreamer.def:
17656         * win32/vs6/grammar.dsp:
17657         * win32/vs6/gst_inspect.dsp:
17658         * win32/vs6/gst_launch.dsp:
17659         * win32/vs6/gstreamer.dsw:
17660         * win32/vs6/libgstbase.dsp:
17661         * win32/vs6/libgstelements.dsp:
17662         * win32/vs6/libgstreamer.dsp:
17663           Visual Studio 6 project files, and a new common directory.
17664           Phear.
17665
17666 2005-10-11  Wim Taymans  <wim@fluendo.com>
17667
17668         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17669         (gst_base_sink_do_sync), (gst_base_sink_query),
17670         (gst_base_sink_change_state):
17671         * gst/base/gstbasesink.h:
17672         Correctly parse newsegment info.
17673
17674 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17675
17676         * gst/gst.c: (init_post):
17677           split plugin paths correctly
17678
17679 2005-10-11  Wim Taymans  <wim@fluendo.com>
17680
17681         * check/gst/gstevent.c: (GST_START_TEST):
17682         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17683         (gst_base_sink_change_state):
17684         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17685         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17686         * gst/elements/gstfilesink.c: (gst_file_sink_event):
17687         * gst/gstevent.c: (gst_event_new_newsegment),
17688         (gst_event_parse_newsegment):
17689         * gst/gstevent.h:
17690         Added extra flag to newsegment for future API freeze.
17691         Updated check and base elements.
17692
17693 2005-10-11  Julien MOUTTE  <julien@moutte.net>
17694
17695         * gst/base/gstcollectpads.c: (gst_collectpads_init),
17696         (gst_collectpads_add_pad), (gst_collectpads_pop),
17697         (gst_collectpads_event), (gst_collectpads_chain):
17698         * gst/base/gstcollectpads.h: Handle EOS correctly.
17699
17700 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17701
17702         * tools/gst-launch.c: (main):
17703           more null protecting
17704
17705 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17706
17707         * gst/gst-i18n-lib.h:
17708           check for ENABLE_NLS, not GETTEXT_PACKAGE
17709         * gst/gstregistry.c: (gst_registry_add_plugin),
17710         (gst_registry_scan_path_level),
17711         (_gst_registry_remove_cache_plugins):
17712           protect possibly NULL strings
17713         * gst/parse/types.h:
17714           config.h already included before
17715         * tools/gst-inspect.c: (main):
17716           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17717           check for ENABLE_NLS, not GETTEXT_PACKAGE
17718         * tools/gst-launch.c: (main):
17719           check for ENABLE_NLS, not GETTEXT_PACKAGE
17720
17721 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17722
17723         * configure.ac:
17724           if we don't have glib, fail before testing 2.8
17725         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17726           fix a leak, should fix plugins-base testsuite
17727
17728 2005-10-11  Andy Wingo  <wingo@pobox.com>
17729
17730         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17731         take the mode we're going to as an arg. Go head and set the mode
17732         and flushing flags now, so that if the activate function starts a
17733         thread all the flags will be in the right state.
17734         (post_activate): Renamed also. Just handle making sure streaming
17735         finishes for the deactivation case, and setting the deactivated
17736         mode.
17737         (gst_pad_set_active): Complain loudly if deactivation fails.
17738         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17739         (gst_pad_activate_push): Adapt to pre/post_activate changes,
17740         remove the terrible hack.
17741
17742 2005-10-11  Wim Taymans  <wim@fluendo.com>
17743
17744         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17745         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17746         (gst_bin_recalc_state), (gst_bin_change_state_func),
17747         (gst_bin_dispose), (bin_bus_handler):
17748         * gst/gstbin.h:
17749         Prepare to make current EOS message queue more generic.
17750         Fix some typos.
17751
17752         * gst/gstevent.c: (gst_event_new_newsegment),
17753         (gst_event_parse_newsegment):
17754         * gst/gstevent.h:
17755         Rename base to stream_time.
17756
17757         * gst/gstmessage.h:
17758         Fix typo in docs.
17759
17760 2005-10-11  Wim Taymans  <wim@fluendo.com>
17761
17762         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17763         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17764         (gst_bin_change_state_func), (bin_bus_handler):
17765         * gst/gstbin.h:
17766         Work on proper clock selection.
17767
17768 2005-10-11  Edward Hervey  <edward@fluendo.com>
17769
17770         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
17771         * libs/gst/controller/gstcontroller.h:
17772         Added GList* version of _remove_properties() in order to be able to wrap
17773         it in bindings.
17774
17775 2005-10-11  Wim Taymans  <wim@fluendo.com>
17776
17777         * docs/design/part-states.txt:
17778         Some more docs.
17779
17780         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17781         (gst_bin_change_state_func), (bin_bus_handler):
17782         Doc updates. Don't distribute the same clock over and over again.
17783
17784         * gst/gstclock.c:
17785         * gst/gstclock.h:
17786         Doc updates.
17787
17788         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17789         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17790         (gst_pad_send_event):
17791         * gst/gstpad.h:
17792         Make probe emission threadsafe again.
17793         Register quarks and move _get_name() from utils.
17794         Doc updates.
17795
17796         * gst/gstpipeline.c: (gst_pipeline_class_init),
17797         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17798         Only redistribute the clock of it changed.
17799
17800         * gst/gstsystemclock.h:
17801         Doc updates. 
17802
17803         * gst/gstutils.c:
17804         * gst/gstutils.h:
17805         Moved the _flow_get_name() to GstPad.
17806
17807 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17808
17809         * check/gst-libs/gdp.c: (GST_START_TEST):
17810         * check/gst/gstcaps.c: (GST_START_TEST):
17811         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17812         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17813         (gst_dp_packet_from_caps):
17814           fix more valgrind warnings before turning up the heat
17815
17816 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17817
17818         * gst/parse/grammar.y:
17819           some cleanup before the hacking
17820
17821 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17822
17823         * gst/base/gstbasesrc.c: (gst_base_src_query):
17824           use conversions
17825         * gst/gstutils.c: (gst_guint64_to_gdouble),
17826         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17827         * gst/gstutils.h:
17828           externalize, basesrc uses it
17829           obviously the implementation needs testing
17830
17831 2005-10-10  Wim Taymans  <wim@fluendo.com>
17832
17833         * tests/sched/Makefile.am:
17834         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17835         (make_pipeline3), (make_pipeline4), (print_elem), (main):
17836
17837 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17838
17839         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17840           apparently converting from guint64 to double is not implemented
17841           on MSVC
17842
17843 2005-10-10  Wim Taymans  <wim@fluendo.com>
17844
17845         * check/Makefile.am:
17846         * check/generic/states.c: (GST_START_TEST):
17847         * check/gst/gstbin.c: (GST_START_TEST):
17848         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17849         * check/states/sinks.c: (GST_START_TEST):
17850         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17851         (main):
17852         Check fixes, use API as stated in design docs, remove hacks.
17853
17854         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17855         (gst_base_sink_change_state):
17856         Catch stopping our task while we're shutting down.
17857
17858         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17859         (gst_bin_remove_func), (gst_bin_get_state_func),
17860         (gst_bin_recalc_state), (gst_bin_change_state_func),
17861         (bin_bus_handler):
17862         * gst/gstbin.h:
17863         * gst/gstelement.c: (gst_element_init),
17864         (gst_element_get_state_func), (gst_element_abort_state),
17865         (gst_element_commit_state), (gst_element_lost_state),
17866         (gst_element_set_state), (gst_element_change_state),
17867         (gst_element_change_state_func):
17868         * gst/gstelement.h:
17869         New state change algorithm (see #318116)
17870
17871         * gst/gstpipeline.c: (gst_pipeline_class_init),
17872         (gst_pipeline_init), (gst_pipeline_set_property),
17873         (gst_pipeline_get_property), (do_pipeline_seek),
17874         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17875         * gst/gstpipeline.h:
17876         Remove crude state change hacks.
17877
17878         * gst/gstutils.h:
17879         Remove crude hacks.
17880
17881         * tools/gst-launch.c: (main):
17882         Fixes for state change. Needs some more work to fully use the
17883         new stuff.
17884
17885 2005-10-10  Andy Wingo  <wingo@pobox.com>
17886
17887         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17888
17889         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17890         this flag, but it's not even in GLib 2.6. Odd. Hack around the
17891         issue.
17892
17893 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17894
17895         * gst/gstiterator.c: (gst_iterator_new):
17896           Fix my previous commit: GTypes passed to gst_iterator_new()
17897           can be fundamental types.
17898
17899 2005-10-10  Wim Taymans  <wim@fluendo.com>
17900
17901         * gst/gstelement.c: (gst_element_iterate_pad_list),
17902         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17903         (gst_element_iterate_sink_pads):
17904         Use src/sink pads lists for the respective iterators instead
17905         of filtering.
17906
17907 2005-10-10  Andy Wingo  <wingo@pobox.com>
17908
17909         Merged in popt removal + GOption addition patch from Ronald, bug
17910         #169772.
17911
17912         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17913         GstElement macros around, remove popt-related symbols, add goption
17914         stuff.
17915
17916         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17917         
17918         * docs/gst/Makefile.am:
17919         * docs/libs/Makefile.am: No POPT_CFLAGS.
17920         
17921         * examples/manual/Makefile.am:
17922         * docs/manual/basics-init.xml: Doc updates with an example.
17923         
17924         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17925         (gst_init), (parse_one_option), (parse_goption_arg):
17926         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17927         bit of hand merging and debugging to get the GOption stuff working
17928         tho.
17929         
17930         * tests/Makefile.am:
17931         * tools/Makefile.am:
17932         * tools/gst-inspect.c: (main):
17933         * tools/gst-launch.c: (main):
17934         * tools/gst-run.c: (main):
17935         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17936
17937 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17938
17939         * gst/gstiterator.c: (gst_iterator_new):
17940           Add assertions to make sure passed GType is likely to really
17941           be a GType (as the compiler won't catch it if the size and
17942           GType arguments get mixed up, see #318447).
17943
17944 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
17945
17946         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17947
17948         * gst/gstbin.c: (gst_bin_iterate_sorted):
17949           Pass GType and size arguments to gst_iterator_new() in the right
17950           order (maybe we should make _new() take the GType as first argument
17951           just like _new_list()?) (#318447).
17952           
17953
17954 2005-10-10  Wim Taymans  <wim@fluendo.com>
17955
17956         * gst/gstelement.c: (gst_element_finalize):
17957         And free the GStaticRecMutex too
17958
17959 2005-10-10  Andy Wingo  <wingo@pobox.com>
17960
17961         * gst/gstelement.c (gst_element_init, gst_element_finalize):
17962         Allocate and free the mutex properly.
17963
17964         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17965         New macros.
17966         (GstElement): The state_lock is now recursive. Rebuild your
17967         plugins, suckers. Old macros adapted.
17968
17969         * docs/gst/gstreamer-sections.txt: Doc updates.
17970
17971         * gst/gstutils.h:
17972         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
17973         (g_static_rec_cond_wait): Ported from state changes patch, while
17974         we wait on bug #317802 to be solved in a well-distributed GLib.
17975
17976         * gst/gstelement.c (gst_element_change_state_func): Renamed from
17977         gst_element_change_state, variable name changes.
17978         (gst_element_change_state): Split out of gst_element_set_state in
17979         preparation for the state change merge. Doesn't pay attention to
17980         the 'transition' argument.
17981         (gst_element_set_state): Updates, hopefully purely cosmetic.
17982         (gst_element_sync_state_with_parent): MT-safety. Ported from the
17983         state change patch.
17984         (gst_element_get_state_func): Renamed from get_state, cosmetic
17985         changes.
17986
17987 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17988
17989         * gst/elements/gstelements.c:
17990         * win32/GStreamer.vcproj:
17991         * win32/config.h:
17992         * win32/dirent.c: (_tseekdir):
17993         * win32/gst-inspect.vcproj:
17994         * win32/gst-launch.vcproj:
17995         * win32/gstconfig.h:
17996         * win32/gstelements.vcproj:
17997         * win32/gstenumtypes.c: (gst_object_flags_get_type):
17998         * win32/gstreamer.def:
17999         * win32/msvc71.sln:
18000           updates for the win32 build (patch from Sebastien Moutte)
18001
18002 2005-10-10  Andy Wingo  <wingo@pobox.com>
18003
18004         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
18005         gst_bin_get_state, cleaned up (but no logic changes).
18006         (bin_element_is_sink): Comment updates.
18007         (sink_iterator_filter): Remove needless cast.
18008         (gst_bin_iterate_sinks): Doc update.
18009         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
18010         cleaned up (but no logic changes).
18011
18012         * check/states/sinks.c (test_src_sink): Cleanups from the state
18013         change patch.
18014         (test_livesrc_sink): Sync on the state.
18015
18016         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
18017         the state change patch.
18018
18019         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
18020         change patch.
18021
18022         * check/gst/gstbin.c: Merge in some style fixes and additional
18023         checks from Wim's state change patch.
18024
18025 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18026
18027         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18028         (gst_type_find_helper):
18029           Check whether we have the requested data already in our list of
18030           cached buffers before pulling a new buffer; also make the buffer
18031           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18032
18033 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18034
18035         * gst/gstcaps.c:
18036         * gst/gstevent.c:
18037           doc updates
18038         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18039           don't use long long, it's not portable.  Replacing with
18040           gint64 seems to work; let's hope no skeletons fall out of the closet.
18041
18042 2005-10-10  Andy Wingo  <wingo@pobox.com>
18043
18044         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18045
18046 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
18047
18048         * docs/gst/gstreamer-sections.txt:
18049         * gst/gstevent.c:
18050         * gst/gstevent.h:
18051         * gst/gstinfo.c:
18052         * gst/gstinfo.h:
18053         * gst/gstmessage.c: (gst_message_parse_state_changed):
18054         * gst/gstpad.c:
18055         * gst/gstpad.h:
18056           more docs, fix compilation
18057
18058 2005-10-09  Philippe Khalaf <burger@speedy.org>
18059         * gst/gstmessage.c:
18060           Fixed a few forgotten variables on previous commit
18061
18062 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
18063
18064         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18065           Fix evil typefind crasher: getrange() might return a short
18066           buffer at the end of a file, but gst_type_find_peek() must
18067           either return the full data as requested or NULL, but
18068           never a short buffer.
18069
18070 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18071
18072         * gst/gstmessage.c: (gst_message_new_state_changed),
18073         (gst_message_parse_state_changed):
18074         * gst/gstmessage.h:
18075           don't use "new", it's a C++ keyword
18076
18077 2005-10-08  Wim Taymans  <wim@fluendo.com>
18078
18079         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18080         * gst/gstelement.c: (gst_element_post_message):
18081         * gst/gstpipeline.c: (gst_pipeline_change_state):
18082         Small docs and debug updates.
18083
18084 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18085
18086         * docs/gst/gstreamer-sections.txt:
18087         * gst/gstelementfactory.c:
18088         * gst/gstevent.c:
18089         * gst/gsttaglist.c:
18090           more docs
18091
18092 2005-10-08  Wim Taymans  <wim@fluendo.com>
18093
18094         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18095         (gst_bin_dispose), (bin_bus_handler):
18096         Fix typos, add comments.
18097         Clear EOS list when going to PAUSED from any direction and do it
18098         in a threadsafe way.
18099         Get base time in a threadsafe way too.
18100         Fix confusing debug in the change_state function.
18101         Various other small cleanups.
18102         
18103         * gst/gstelement.c: (gst_element_post_message):
18104         Fix very verbose bus posting code.
18105
18106         * gst/gstpipeline.c: (gst_pipeline_class_init),
18107         (gst_pipeline_set_property), (gst_pipeline_get_property),
18108         (gst_pipeline_change_state):
18109         Small ARG_ -> PROP_ cleanup
18110
18111 2005-10-08  Wim Taymans  <wim@fluendo.com>
18112
18113         * gst/gstbin.c: (is_eos), (bin_bus_handler):
18114         Do a less CPU demanding EOS check because we can.
18115
18116 2005-10-08  Wim Taymans  <wim@fluendo.com>
18117
18118         * libs/gst/dataprotocol/dataprotocol.c:
18119         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18120         (gst_dp_packet_from_event):
18121         * libs/gst/dataprotocol/dataprotocol.h:
18122         * libs/gst/dataprotocol/dp-private.h:
18123         It's about time we bump the version number.
18124         Since event types don't fit in the guint8 anymore describing
18125         the payload type, make payload type 16 bits wide.
18126
18127 2005-10-08  Wim Taymans  <wim@fluendo.com>
18128
18129         * docs/design/part-TODO.txt:
18130         * docs/design/part-clocks.txt:
18131         * docs/design/part-events.txt:
18132         * docs/design/part-gstbin.txt:
18133         * docs/design/part-gstelement.txt:
18134         * docs/design/part-gstpipeline.txt:
18135         * docs/design/part-live-source.txt:
18136         * docs/design/part-messages.txt:
18137         * docs/design/part-overview.txt:
18138         * docs/design/part-states.txt:
18139         Many doc updates.
18140
18141 2005-10-08  Wim Taymans  <wim@fluendo.com>
18142
18143         * gst/gstevent.c:
18144         * gst/gstevent.h:
18145         Fix event quark registration.
18146         Add some space between events so we can insert them in the
18147         right groups.
18148
18149 2005-10-08  Wim Taymans  <wim@fluendo.com>
18150
18151         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18152         (gst_base_sink_handle_buffer):
18153         Better log message.
18154
18155         * gst/gstbus.h:
18156         * gst/gstelement.h:
18157         More docs.
18158
18159         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18160         (gst_queue_set_property), (gst_queue_get_property):
18161         * gst/gstqueue.h:
18162         Remove old unused properties.
18163
18164 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18165         * docs/gst/gstreamer-sections.txt:
18166         * gst/gstmessage.c:
18167         * gst/gstmessage.h:
18168         * gst/gstminiobject.c:
18169         * gst/gstminiobject.h:
18170         * gst/gstobject.h:
18171         * gst/gstpad.h:
18172         * gst/gstutils.h:
18173           lots of new docs and doc fixes
18174
18175 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18176
18177         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18178         * gst/gstplugin.h:
18179         * gst/gstregistry.c: (gst_registry_lookup_locked),
18180         (gst_registry_scan_path_level):
18181         * gst/gstregistryxml.c: (load_plugin):
18182           Only ever load one plugin for a given plugin basename.
18183           This ensures correct overriding of GST_PLUGIN_PATH over
18184           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18185           system installed plugins.
18186
18187 2005-10-08  Wim Taymans  <wim@fluendo.com>
18188
18189         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18190         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18191         Prepare for doing QOS.
18192
18193 2005-10-08  Wim Taymans  <wim@fluendo.com>
18194
18195         * check/gst/gstbin.c: (GST_START_TEST):
18196         * check/pipelines/cleanup.c: (GST_START_TEST):
18197         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18198         Allow new clock message too.
18199
18200 2005-10-08  Wim Taymans  <wim@fluendo.com>
18201
18202         * gst/gstmessage.c: (gst_message_new_error),
18203         (gst_message_new_warning), (gst_message_new_tag),
18204         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18205         (gst_message_new_clock_lost), (gst_message_new_new_clock),
18206         (gst_message_new_segment_start), (gst_message_new_segment_done),
18207         (gst_message_parse_state_changed),
18208         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18209         (gst_message_parse_new_clock):
18210         * gst/gstmessage.h:
18211         Also carry the clock in question.
18212
18213 2005-10-08  Wim Taymans  <wim@fluendo.com>
18214
18215         * gst/gstmessage.c: (gst_message_new_custom),
18216         (gst_message_new_eos), (gst_message_new_error),
18217         (gst_message_new_warning), (gst_message_new_tag),
18218         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18219         (gst_message_new_new_clock), (gst_message_new_segment_start),
18220         (gst_message_new_segment_done), (gst_message_parse_state_changed),
18221         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18222         * gst/gstmessage.h:
18223         Clean up.
18224         Added clock related messages.
18225
18226         * gst/gstpipeline.c: (gst_pipeline_change_state):
18227         Post message when the clock changed.
18228
18229         * tools/gst-launch.c: (event_loop):
18230         Print new clock.
18231
18232 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
18233
18234         * tools/gst-inspect.c: (print_element_properties_info):
18235           Can't pass NULL strings to g_print() on windows.
18236
18237 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18238
18239         * docs/Makefile.am:
18240         * docs/gst/Makefile.am:
18241         * docs/gst/gstreamer-docs.sgml:
18242         * docs/gst/running.xml:
18243         * docs/version.entities.in:
18244           add a chapter on running GStreamer.
18245           document GST_DEBUG and GST_PLUGIN* env vars
18246
18247 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18248
18249         * Makefile.am:
18250           remove include dir
18251         * configure.ac:
18252           remove PLUGINS_BUILDDIR stuff
18253         * gst/gst.c: (init_post):
18254           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18255         * idiottest.mak:
18256           remove, it was condescending and not needed
18257
18258 2005-10-08  Wim Taymans  <wim@fluendo.com>
18259
18260         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18261         (gst_base_sink_handle_object), (gst_base_sink_event),
18262         (gst_base_sink_wait), (gst_base_sink_handle_event),
18263         (gst_base_sink_change_state):
18264         * gst/base/gstbasesink.h:
18265         Repost EOS message while going to PLAYING if still EOS.
18266         Make sure that when receiving a FLUSH_START we don't attempt
18267         to sync on the clock anymore.
18268
18269 2005-10-08  Wim Taymans  <wim@fluendo.com>
18270
18271         * tools/gst-launch.c: (event_loop):
18272         Better message printout.
18273
18274 2005-10-08  Wim Taymans  <wim@fluendo.com>
18275
18276         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18277         (gst_bin_child_proxy_get_children_count):
18278         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18279         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18280         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18281         (gst_child_proxy_set_valist):
18282         * gst/parse/grammar.y:
18283         Make ChildProxy threadsafe and fix mem leaks.
18284
18285 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18286
18287         * gst/gst.c: (init_post):
18288           debug the GST_PLUGIN_ env vars
18289
18290 2005-10-08  Wim Taymans  <wim@fluendo.com>
18291
18292         * check/gst/gstbin.c: (GST_START_TEST):
18293         * check/gst/gstmessage.c: (GST_START_TEST):
18294         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18295         * gst/gstelement.c: (gst_element_commit_state),
18296         (gst_element_lost_state):
18297         * gst/gstmessage.c: (gst_message_new_state_changed),
18298         (gst_message_parse_state_changed):
18299         * gst/gstmessage.h:
18300         * tools/gst-launch.c: (event_loop):
18301         Added extra field to STATE_CHANGE message with the pending
18302         state, which will be different from the new state soon.
18303
18304 2005-10-08  Wim Taymans  <wim@fluendo.com>
18305
18306         * gst/gstbus.c: (gst_bus_pop):
18307         * gst/gstclock.c:
18308         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18309         Small cleanups and doc updates.
18310
18311 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18312
18313         * gst/gst.c: (init_pre):
18314         * gst/gstbin.c: (gst_bin_add_func):
18315           log distributing clocks and base time
18316         * gst/gstregistry.c: (gst_registry_add_plugin),
18317         (gst_registry_scan_path_level), (gst_registry_scan_path):
18318           clean up the debugging output a little
18319         * gst/gstutils.c: (gst_element_state_get_name):
18320           warn about a memleak (I've actually seen this be used, though
18321           it was probably a bug)
18322
18323 2005-10-07  Wim Taymans  <wim@fluendo.com>
18324
18325         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18326         (gst_base_src_init), (gst_base_src_default_newsegment),
18327         (gst_base_src_newsegment), (gst_base_src_do_seek),
18328         (gst_base_src_loop), (gst_base_src_start):
18329         * gst/base/gstbasesrc.h:
18330         Make the newsegment event customizable by subclasses.
18331
18332 2005-10-07  Wim Taymans  <wim@fluendo.com>
18333
18334         * gst/gstevent.c: (gst_event_new_buffersize),
18335         (gst_event_parse_buffersize):
18336         * gst/gstevent.h:
18337         New event for future idea.
18338
18339 2005-10-07  Andy Wingo  <wingo@pobox.com>
18340
18341         * gst/gstelement.c (gst_element_post_message): Doc update.
18342
18343         * docs/gst/gstreamer-sections.txt: Update.
18344
18345         * gst/gstmessage.c (gst_message_new_application): Made into a
18346         function like honest API calls.
18347         (gst_message_new_element): New message type.
18348
18349         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18350
18351         * check/elements/fakesrc.c (test_no_preroll): New check, checks
18352         that setting a live fakesrc to PAUSED returns NO_PREROLL both
18353         times.
18354
18355         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18356         NO_PREROLL from gst_element_change_state to fall through.
18357
18358 2005-10-07  Wim Taymans  <wim@fluendo.com>
18359
18360         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18361         (gst_ghost_pad_do_activate_push):
18362         Activating a ghostpad with no internal pad in push mode
18363         is ok.
18364
18365 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18366
18367         * gst/gstobject.h:
18368           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18369           Fixes compilation on Windows.
18370
18371 2005-10-07  Michael Smith <msmith@fluendo.com>
18372
18373         * tools/gst-inspect.c:
18374           Print out feature and plugin count at the end when printing out
18375           all features.
18376
18377 2005-10-04  Michael Smith <msmith@fluendo.com>
18378
18379         * gst/gsterror.c: (_gst_stream_errors_init):
18380           Add another error string used in a few existing plugins.
18381
18382         * gst/gstplugin.c:
18383         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18384         * tools/gst-inspect.c: (print_element_info):
18385           When a feature disappears from a plugin (and the feature exists in
18386           the cached registry file), things went horribly wrong. This isn't a
18387           complete fix, we should actually be removing the 'missing' features
18388           from the features list when we load the actual plugin. That's not
18389           yet implemented. 
18390
18391 2005-10-04  Johan Dahlin  <johan@gnome.org>
18392
18393         * check/gst/gstiterator.c: (GST_START_TEST):
18394         * gst/gstbin.c: (gst_bin_iterate_elements),
18395         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18396         * gst/gstelement.c: (gst_element_iterate_pads):
18397         * gst/gstformat.c: (gst_format_iterate_definitions):
18398         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18399         (gst_iterator_new_list), (gst_iterator_filter):
18400         * gst/gstiterator.h:
18401         * gst/gstquery.c: (gst_query_type_iterate_definitions):
18402         Add a GType to GstIterator, update callsites and tests.
18403
18404 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18405
18406         * gst/gstpad.c: (gst_pad_event_default_dispatch):
18407           give events a chance to be handled by event probes when the pad
18408           is not linked
18409
18410 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18411
18412         * gst/gstevent.c: (gst_event_type_get_name),
18413         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18414         * gst/gstevent.h:
18415           add string representations for event types
18416
18417 2005-10-06  Wim Taymans  <wim@fluendo.com>
18418
18419         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18420         Don't use NULL pointers.
18421
18422 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18423
18424         * gst/gst_private.h:
18425         * gst/gstbus.c:
18426         * gst/gstelement.c:
18427         * gst/gstinfo.c:
18428         * gst/gstpluginfeature.c:
18429           widen the debug category in output to fit the biggest one we have
18430           add a bus category and use it
18431           play with the colors
18432           fix up some categories
18433
18434 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18435
18436         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18437           add push activation of sink ghost pads.
18438           Andye, please verify
18439
18440 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18441
18442         * gst/gstutils.c: (gst_element_link_pads):
18443           fix a bug in the case where neither element has a pad
18444         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18445           add a test for that case
18446
18447 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18448
18449         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18450           emit have-data before checking for peers.  This allows
18451           for probe handlers to connect elements.  This helps autopluggers.
18452         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18453         (gst_pad_suite):
18454           add six checks, linked/unlinked with no/true/false probe
18455
18456 2005-10-04  Wim Taymans  <wim@fluendo.com>
18457
18458         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18459         (gst_fake_sink_event), (gst_fake_sink_preroll),
18460         (gst_fake_sink_render), (gst_fake_sink_change_state):
18461         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18462         (gst_fake_src_get_property), (gst_fake_src_create),
18463         (gst_fake_src_stop):
18464         * gst/elements/gstidentity.c: (gst_identity_stop):
18465         Protect last_message with lock.
18466
18467 2005-10-04  Edward Hervey  <edward@fluendo.com>
18468
18469         * gst/gstformat.h: 
18470         Added precision in the comments for GST_FORMAT_DEFAULT
18471
18472 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
18473
18474         * tools/gst-launch.c: (main):
18475           Don't try to run erroneous pipelines.
18476
18477 2005-10-04  Julien MOUTTE  <julien@moutte.net>
18478
18479         * gst/gstbus.c: We don't need this header.
18480
18481 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18482
18483         * configure.ac:
18484           back to development
18485
18486 === release 0.9.3 ===
18487
18488 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18489
18490         * README:
18491         * configure.ac:
18492           Releasing 0.9.3, "Unregistered"
18493
18494 2005-10-03  Andy Wingo  <wingo@pobox.com>
18495
18496         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18497         whereby calling a pad's activatepush() function can start a thread
18498         that starts to push or pull before the pad gets the FLUSHING flag
18499         unset. Hack around it by holding the stream lock until the flag is
18500         set. Need to replace this with a proper solution. Together with
18501         the ghost pad fixes, this fixes mp3 playing/tagreading.
18502
18503         * docs/design/part-gstghostpad.txt: Add a note about activation of
18504         proxy pads outside of ghost pads.
18505
18506         * gst/gstghostpad.c: Implement the ghost pad activation design.
18507
18508 2005-10-02  Andy Wingo  <wingo@pobox.com>
18509
18510         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18511         It is volatile, after all.
18512
18513         * docs/design/part-gstghostpad.txt: Flesh out activation with
18514         ghost pads.
18515
18516         * gst/base/gstbasesrc.c (gst_base_src_init): Use
18517         GST_DEBUG_FUNCPTR.
18518
18519 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
18520
18521         * configure.ac:
18522           Fix (unused) AM_CONDITIONAL tests.
18523
18524 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
18525
18526         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18527
18528         * gst/gstutils.c: (gst_pad_query_convert):
18529           Add assertion that makes sure src_val is >=0, just like
18530           gst_query_new_convert() has. (#315895)
18531
18532 2005-09-30  Edward Hervey  <edward@fluendo.com>
18533
18534         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18535         Let's not iterate pads we're not interested in, it avoids getting 
18536         sky-high refcounts on sinkpad.
18537
18538 2005-09-30  Wim Taymans  <wim@fluendo.com>
18539
18540         * gst/gstelement.c: (gst_element_set_state),
18541         (gst_element_change_state):
18542         Small tweak, element in ASYNC remains ASYNC.
18543
18544 2005-09-30  Wim Taymans  <wim@fluendo.com>
18545
18546         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18547         Only error is an error.
18548
18549         * gst/gstbin.c: (gst_bin_change_state):
18550         Better debugging.
18551
18552         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18553         Also call pad_block in pad alloc.
18554
18555         * gst/gstutils.c: (gst_flow_get_name):
18556         Better debugging.
18557
18558 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18559
18560         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18561         (gst_base_src_get_range):
18562           Fix documentation typos. Add some more debug info.
18563
18564 2005-09-29  David Schleef  <ds@schleef.org>
18565
18566         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18567           more end-user friendly.
18568         * tools/gst-inspect.c: (main): Check if command-line argument is
18569           a file and attempt to load that file as a plugin.
18570
18571 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18572
18573         * check/gst/gstbin.c:
18574         * check/states/sinks.c:
18575           fix tests for the new warning
18576         * check/gst/gstpipeline.c:
18577           add a test for pipeline and bus interaction
18578         * gst/gstelement.c:
18579           elements should be NULL if they get disposed; add a warning if not
18580
18581 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18582
18583         * gst/gstobject.c:
18584           for 2.6 refcounting, make debug log more correct by printing
18585           the actual refcounts at the time of swap (Wim)
18586
18587 2005-09-29  Andy Wingo  <wingo@pobox.com>
18588
18589         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18590         removes signal watches previously added via
18591         gst_bus_add_signal_watch.
18592         (gst_bus_add_signal_watch): Don't return the source id, just store
18593         it on the bus if there wasn't an id already.
18594
18595         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18596         add_signal_watch and remove_signal_watch.
18597
18598 2005-09-29  Edward Hervey  <edward@fluendo.com>
18599
18600         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
18601         Better if we actually iterate the list :)
18602
18603 2005-09-29  Wim Taymans  <wim@fluendo.com>
18604
18605         * check/gst/gstbin.c: (GST_START_TEST):
18606         Change for new bus API.
18607
18608         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18609         (send_messages), (GST_START_TEST), (gstbus_suite):
18610         Change for new bus signal API.
18611
18612         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18613         (gst_bus_source_prepare), (gst_bus_source_check),
18614         (gst_bus_create_watch), (gst_bus_add_watch_full),
18615         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18616         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18617         * gst/gstbus.h:
18618         Remove support for multiple GSources operating on different
18619         message types as it is too complex and unneeded when using
18620         signals.
18621         Added support for receiving signals from the bus.
18622
18623 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18624
18625         * docs/libs/tmpl/gstdataprotocol.sgml:
18626         * docs/manual/advanced-dataaccess.xml:
18627         * gst/elements/gstcapsfilter.c:
18628         * gst/gstutils.c:
18629           rename filter-caps to caps property
18630
18631 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18632
18633         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18634           More robust fraction string parsing.
18635
18636         * docs/pwg/appendix-porting.xml:
18637           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18638
18639 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18640
18641         * gst/gstcaps.c: (gst_caps_do_simplify):
18642           Thou shalt not free a structure and then continue using it
18643           in the next loop iteration.
18644
18645         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18646         (gst_caps_suite):
18647           Add test case for caps simplification.
18648
18649 2005-09-29  Wim Taymans  <wim@fluendo.com>
18650
18651         * check/gst/gstbin.c: (GST_START_TEST):
18652         Oops.
18653
18654 2005-09-29  Wim Taymans  <wim@fluendo.com>
18655
18656         * check/gst/gstbin.c: (GST_START_TEST):
18657         Add bus to bin.
18658
18659         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18660         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18661         (find_element), (gst_bin_sort_iterator_next),
18662         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18663         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18664         (gst_bin_change_state), (gst_bin_dispose):
18665         A bin does not have a bus, it gets the bus from the parent.
18666
18667         * gst/gstelement.c: (gst_element_requires_clock),
18668         (gst_element_provides_clock), (gst_element_is_indexable),
18669         (gst_element_is_locked_state), (gst_element_change_state),
18670         (gst_element_set_bus_func):
18671         Small cleanups.
18672
18673         * gst/gstpipeline.c: (gst_pipeline_class_init),
18674         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18675         The pipeline provides a bus.
18676
18677 2005-09-28  Johan Dahlin  <johan@gnome.org>
18678
18679         * gst/gstmessage.c (gst_message_parse_state_changed): Use
18680         gst_structure_get_enum instead of gst_structure_get_int
18681
18682         * gst/gststructure.c (gst_structure_get_enum): Impl.
18683
18684         * gst/gststructure.h (gst_structure_get_enum): Add
18685
18686         * docs/gst/gstreamer-sections.txt: Ditto
18687
18688         * gst/gstmessage.c (gst_message_new_state_changed): Use
18689         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18690         which does introspection.
18691         Reviewed by Christian Schaller
18692
18693 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18694
18695         * gst/gstinfo.c: (gst_debug_log_default):
18696           don't do dummy g_strdup()s
18697         * libs/gst/controller/gstcontroller.c:
18698         (on_object_controlled_property_changed),
18699         (gst_controlled_property_new), (gst_controller_new_valist),
18700         (gst_controller_new_list),
18701         (gst_controller_remove_properties_valist), (gst_controller_set),
18702         (gst_controller_get), (gst_controller_sync_values),
18703         (gst_controller_get_value_array), (_gst_controller_class_init),
18704         (gst_controller_get_type):
18705         * libs/gst/controller/gstcontroller.h:
18706         * libs/gst/controller/gstinterpolation.c:
18707         (gst_controlled_property_find_timed_value_node):
18708           convert // to /**/ comments
18709
18710 2005-09-28  Wim Taymans  <wim@fluendo.com>
18711
18712         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18713         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18714         (gst_bus_sync_signal_handler):
18715         * gst/gstbus.h:
18716         Added async-message and sync-message signals to the bus.
18717         Added helper BusFunc to emit signals for all posted messages.
18718
18719         * gst/gstmessage.c: (gst_message_type_get_name),
18720         (gst_message_type_to_quark), (gst_message_get_type):
18721         * gst/gstmessage.h:
18722         Register quarks for message names.
18723
18724 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18725
18726         * docs/libs/gstreamer-libs-sections.txt:
18727         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18728         (gst_controller_new_list):
18729         * libs/gst/controller/gstcontroller.h:
18730           added another constructor for language bindings
18731
18732 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18733
18734         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18735           add another check
18736         * gst/gstbus.c:
18737           add some doc
18738         * gst/gstinfo.c: (_gst_debug_init):
18739           slightly more readable color for refcount debugging
18740
18741 2005-09-28  Wim Taymans  <wim@fluendo.com>
18742
18743         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18744         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18745         (find_element), (gst_bin_sort_iterator_next),
18746         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18747         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18748         (gst_bin_change_state), (gst_bin_dispose):
18749         Small doc fixes. get_clock -> provide_clock.
18750
18751         * gst/gstelement.c: (gst_element_class_init),
18752         (gst_element_provides_clock), (gst_element_provide_clock),
18753         (gst_element_get_clock), (gst_element_commit_state),
18754         (gst_element_lost_state):
18755         * gst/gstelement.h:
18756         Make get/set_clock() symetric. Add provide_clock vmethod since
18757         that is actually what this function does.
18758
18759         * gst/gstpipeline.c: (gst_pipeline_class_init),
18760         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18761         (gst_pipeline_get_clock):
18762         get_clock -> provide_clock.
18763
18764 2005-09-28  Andy Wingo  <wingo@pobox.com>
18765
18766         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18767         lieu of real docs...
18768
18769         * gst/elements/gstfdsrc.c: Cleaned up a bit.
18770
18771 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
18772
18773         * gst/elements/gstcapsfilter.c:
18774         * gst/elements/gstfakesink.c:
18775         * gst/elements/gstfakesrc.c:
18776         * gst/elements/gstfdsink.c:
18777         * gst/elements/gstfdsrc.c:
18778         * gst/elements/gstfilesink.c:
18779         * gst/elements/gstfilesrc.c:
18780         * gst/elements/gstidentity.c:
18781         * gst/elements/gsttee.c:
18782         * gst/elements/gsttypefindelement.c:
18783           Make element details static.
18784
18785 2005-09-28  Wim Taymans  <wim@fluendo.com>
18786
18787         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18788         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18789         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18790         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18791         (gst_bin_change_state), (gst_bin_dispose):
18792         Some documentation updates.
18793         Clean up dispose handlers.
18794
18795         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18796         * gst/gstpad.c: (gst_pad_dispose):
18797         Clean up dispose handler.
18798
18799         * gst/gstpipeline.c: (gst_pipeline_change_state):
18800         Removed spurious UNLOCK.
18801
18802 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
18803
18804         * docs/gst/gstreamer-sections.txt:
18805         * gst/base/gstbasesrc.h:
18806         * gst/gstelement.h:
18807         * gst/gstevent.h:
18808         * gst/gstobject.h:
18809         * gst/gstpad.h:
18810         * gst/gstpipeline.c:
18811         * gst/gstpipeline.h:
18812         * gst/gstutils.h:
18813         * gst/gstxml.h:
18814           added two new functions to the docs
18815                 documents all undocumented GstXXXFlags
18816                 completed some incomplete docs 
18817
18818 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18819
18820         * gst/gstbin.c: (gst_bin_dispose):
18821         * gst/gstelement.c: (gst_element_dispose):
18822           remove now useless and leaky resurrection code in dispose
18823         * gst/base/gstbasesrc.c: (gst_base_src_init):
18824         * gst/gstelementfactory.c: (gst_element_factory_create):
18825         * gst/gstobject.c: (gst_object_set_parent):
18826           add some debugging
18827
18828 2005-09-27  Wim Taymans  <wim@fluendo.com>
18829
18830         * docs/design/part-TODO.txt:
18831         Update TODO.
18832
18833         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18834         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18835         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18836         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18837         (gst_bin_change_state):
18838         * gst/gstelement.h:
18839         Remove element variable, we keep element info in the iterator now.
18840
18841 2005-09-27  Andy Wingo  <wingo@pobox.com>
18842
18843         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18844         values.
18845
18846 2005-09-27  Wim Taymans  <wim@fluendo.com>
18847
18848         * check/gst/gstbin.c: (GST_START_TEST):
18849         Enable check that works now.
18850
18851         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18852         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18853         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18854         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18855         (gst_bin_change_state):
18856         * gst/gstbin.h:
18857         Redid the state change algorithm using a topological sort algo.
18858         Handles all cases correctly.
18859         Exposed iterator for state change order.
18860
18861         * gst/gstelement.h:
18862         Temp storage for state changes. Need to get rid of this soon.
18863
18864 2005-09-27  Wim Taymans  <wim@fluendo.com>
18865
18866         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18867         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18868         (link_fold_func), (gst_pad_proxy_setcaps):
18869         Leak fixes, the fold functions need to unref the passed object and
18870         _get_parent_*() returns ref to parent.
18871
18872 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18873
18874         * check/gst/gstbuffer.c: (test_make_writable):
18875           Plug leak in test case and fix 'make check-valgrind'
18876
18877 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18878
18879         * gst/gstbuffer.c: (gst_subbuffer_init):
18880           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18881           works correctly in all circumstances (we could have just copied
18882           the parent buffer's readonly flag, but conceptually it seems
18883           cleaner to mark all subbuffers as read-only). (based on patch
18884           by Alessandro Decina, #314710).
18885         
18886         * check/gst/gstbuffer.c: (create_read_only_buffer),
18887         (test_make_writable), (test_subbuffer_make_writable),
18888         (gst_test_suite):
18889           Add some tests for gst_buffer_make_writable().
18890
18891 2005-09-27  Wim Taymans  <wim@fluendo.com>
18892
18893         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18894         use gst_object_has_ancestor().
18895
18896         * gst/gstobject.c: (gst_object_has_ancestor):
18897         * gst/gstobject.h:
18898         gst_object_has_ancestor() copied from gstbin.c as it is a
18899         useful function.
18900
18901         * tests/instantiate/create.c: (create_all_elements):
18902         * tests/lat.c: (handoff_src), (handoff_sink):
18903         * tests/sched/runxml.c: (main):
18904         * tests/seeking/seeking1.c: (main):
18905         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18906         (main):
18907         Fix compilation of some tests.
18908
18909 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18910
18911         * gst/gsterror.h:
18912           Remove comment. GST_TYPE_G_ERROR is here to stay,
18913           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18914           (#316961, #300610).
18915
18916 2005-09-26  Wim Taymans  <wim@fluendo.com>
18917
18918         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18919         Added check that shows error in state change order.
18920
18921 2005-09-26  Wim Taymans  <wim@fluendo.com>
18922
18923         * gst/gstbin.c: (gst_bin_change_state):
18924         Make state change function use 3 queues again, we were
18925         adding elements in the wrong order.
18926
18927         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18928         Some debug info,
18929
18930         * gst/gstpad.c: (gst_pad_dispose):
18931         Added some debug info first.
18932
18933 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
18934
18935         * docs/design/draft-push-pull.txt:
18936         * docs/design/part-events.txt:
18937         * docs/design/part-overview.txt:
18938         * docs/design/part-scheduling.txt:
18939           Replace all _pull_region() with _pull_range()
18940           
18941 2005-09-26  Andy Wingo  <wingo@pobox.com>
18942
18943         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18944
18945         * check/gst-libs/controller.c: Update for controller api change.
18946
18947         * configure.ac: 
18948         * tests/Makefile.am:
18949         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18950         over by GLib bug 118439.
18951         
18952         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18953         routines to a function.
18954
18955         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18956
18957         * libs/gst/controller/gsthelper.c:
18958         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18959         (gst_object_sync_values): Renamed from sink_values. Ugh.
18960
18961         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18962
18963         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18964         Renamed from controller_key, as it is exported.
18965
18966         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18967
18968 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
18969
18970         * gst/Makefile.am:
18971         * gst/gst.h:
18972         * gst/gstpad.h:
18973         * gst/gstpadtemplate.h:
18974         * gst/gstquery.c:
18975         * gst/gstquery.h:
18976         * gst/gstqueryutils.c:
18977         * gst/gstqueryutils.h:
18978           remove queryutils headers after moving the two used functions
18979           to gstquery.  also fixes build problem for gstsiddec
18980
18981 2005-09-26  Michael Smith <msmith@fluendo.com>
18982
18983         * tools/gst-launch.1.in:
18984         Correct documentation in manpage of debug syntax
18985
18986 2005-09-26  Wim Taymans  <wim@fluendo.com>
18987
18988         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18989         (gst_base_src_is_seekable), (gst_base_src_change_state):
18990         Some more debugging info.
18991
18992 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18993
18994         * docs/gst/gstreamer-sections.txt:
18995         * gst/base/gstbasetransform.h:
18996         * gst/gstindex.h:
18997           added more docs
18998
18999 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19000
19001         * docs/gst/.cvsignore:
19002         * docs/gst/tmpl/.cvsignore:
19003         * docs/gst/tmpl/gstpipeline.sgml:
19004         * docs/gst/tmpl/gstplugin.sgml:
19005         * gst/gstpipeline.c:
19006         * gst/gstplugin.c:
19007         * gst/gstplugin.h:
19008           inlined the last two docs files
19009           removed the tmpl directory from cvs (no more conflicts here!)
19010
19011 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19012
19013         * docs/gst/gstreamer-sections.txt:
19014         * docs/gst/tmpl/.cvsignore:
19015         * docs/gst/tmpl/gstpad.sgml:
19016         * docs/gst/tmpl/gstpadtemplate.sgml:
19017         * gst/Makefile.am:
19018         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
19019         (gst_pad_finalize), (gst_pad_set_pad_template):
19020         * gst/gstpad.h:
19021         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
19022         (gst_pad_template_class_init), (gst_pad_template_init),
19023         (gst_pad_template_dispose), (name_is_valid),
19024         (gst_static_pad_template_get), (gst_pad_template_new),
19025         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19026         (gst_pad_template_pad_created):
19027         * gst/gstpadtemplate.h:
19028           inlined two more docs
19029           factored gstpadtemplate out of gstpad
19030
19031 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
19032
19033         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19034         (test_children_state_change_order_semi_sink):
19035           Fix test case: we can't rely on a fixed state change order when
19036           going from READY => PAUSED because the sink might commit its 
19037           new state first when the first buffer created by the source 
19038           reaches the sink before the source has finished its change state.
19039           (Test case still fails at times, see #316856, comment 5 onwards)
19040
19041 2005-09-24  Wim Taymans  <wim@fluendo.com>
19042
19043         * docs/design/part-events.txt:
19044         * docs/design/part-gstbus.txt:
19045         * docs/design/part-gstpipeline.txt:
19046         * docs/design/part-messages.txt:
19047         * docs/design/part-overview.txt:
19048         * docs/design/part-segments.txt:
19049         * gst/gstbin.c:
19050         * gst/gstbuffer.c:
19051         * gst/gstclock.c:
19052         * gst/gstelement.c:
19053         * gst/gstevent.c:
19054         * gst/gstfilter.c:
19055         * gst/gstiterator.c:
19056         Various documentation updates.
19057
19058 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19059
19060         * gst/gstclock.h:
19061           Well, that's embarassing.  Luckily we weren't using
19062           GST_CLOCK_DIFF anywhere.
19063
19064 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19065
19066         * common/gtk-doc.mak:
19067           don't fail on building XML, FC4 slave shows a bunch of doc
19068           missing bits that I don't get
19069         * gst/gstpad.c:
19070         * gst/gstpipeline.c:
19071         * gst/gststructure.c:
19072           some doc updates
19073
19074 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19075
19076         * docs/design/part-gstbin.txt:
19077         * docs/design/part-gstbus.txt:
19078         * gst/gstbus.c:
19079           Add blurb about how the bus goes into flushing mode and
19080           drops all messages when its bin goes from READY into NULL 
19081           state.
19082
19083 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19084
19085         * docs/gst/gstreamer-sections.txt:
19086         * gst/gststructure.c: (gst_structure_get_clock_time):
19087         * gst/gststructure.h:
19088           add a method to get a GstClockTime out of a structure
19089
19090 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19091
19092         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19093         (test_children_state_change_order_semi_sink), (gst_bin_suite):
19094           Added test to check state change order in bins (can still be made
19095           to fail here under heavy disk load; bails out with 'Push on pad
19096           fakesink:sink0, but it was not activated in push mode').
19097
19098         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19099           Fix state change order when there is only a semi sink (#316856)
19100
19101         * gst/gstbus.c: (gst_bus_class_init):
19102           Use _class_peek_parent(), not _class_ref(); fix docs to say
19103           'default main context' instead of 'mainloop' where that is
19104           what's meant.
19105
19106         * gst/gstelement.c: (gst_element_commit_state),
19107         (gst_element_set_state):
19108           Fix typos in debug messages
19109
19110 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19111
19112         * docs/README:
19113         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19114         * gst/gstpluginfeature.c:
19115         * gst/gstutils.c:
19116           various doc updates
19117         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19118           change an assert into an error until it gets fixed properly
19119
19120 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
19121
19122         * docs/gst/gstreamer-sections.txt:
19123         * docs/gst/tmpl/.cvsignore:
19124         * docs/gst/tmpl/gstelement.sgml:
19125         * docs/gst/tmpl/gstinfo.sgml:
19126         * docs/gst/tmpl/gstobject.sgml:
19127         * gst/gstelement.c:
19128         * gst/gstelement.h:
19129         * gst/gstinfo.c:
19130         * gst/gstinfo.h:
19131         * gst/gstobject.c: (gst_object_class_init):
19132         * gst/gstobject.h:
19133           inlined 3 more biiiig doc files and added some missing docs on the fly
19134
19135 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19136
19137         * check/gst/.cvsignore:
19138         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19139         * gst/gstregistryxml.c: (load_plugin),
19140         (gst_registry_xml_save_plugin):
19141           put back source in registry.  add checks for find_plugin.
19142         * testsuite/states/bin.c: (assert_state), (empty_bin),
19143         (test_adding_one_element), (main):
19144         * testsuite/states/locked.c: (main):
19145           some compile/run fixes
19146
19147 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19148
19149         * check/gst/gstvalue.c: (GST_START_TEST):
19150           fix leaks in the test itself
19151
19152 2005-09-22  Wim Taymans  <wim@fluendo.com>
19153
19154         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19155         (gst_base_sink_send_event), (gst_base_sink_peer_query),
19156         (gst_base_sink_query):
19157         Prepare for more accurate position reporting and query
19158         handling.
19159
19160         * gst/gstelement.c: (gst_element_send_event),
19161         (gst_element_set_state):
19162         Add some comment.
19163
19164 2005-09-22  Wim Taymans  <wim@fluendo.com>
19165
19166         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19167         (gst_query_parse_segment):
19168         * gst/gstquery.h:
19169         More documentation.
19170         Add segment query for future use.
19171
19172 2005-09-22  Wim Taymans  <wim@fluendo.com>
19173
19174         * gst/gstbin.c: (gst_bin_add_func):
19175         Some more debug info.
19176
19177         * gst/gstelement.c: (gst_element_send_event):
19178         Simplify send_event
19179
19180         * gst/gstelement.h:
19181         Don't know how flags got broken.
19182
19183         * gst/gstquery.h:
19184         Added new query.
19185
19186 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19187
19188         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19189           Add simplistic test suite for GST_TYPE_DATE serialisation and
19190           deserialisation.
19191
19192 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19193
19194         * docs/gst/gstreamer-sections.txt:
19195         * gst/gststructure.c: (gst_structure_set_valist),
19196         (gst_structure_get_date):
19197         * gst/gststructure.h:
19198         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19199         (gst_date_copy), (gst_value_compare_date),
19200         (gst_value_serialize_date), (gst_value_deserialize_date),
19201         (gst_value_transform_date_string),
19202         (gst_value_transform_string_date), (_gst_value_initialize):
19203         * gst/gstvalue.h:
19204           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19205           bunch of utility functions along with a hack that checks that
19206           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19207           is required. Part of the grand scheme in #170777.
19208
19209 2005-09-22  Andy Wingo  <wingo@pobox.com>
19210
19211         * gst/gstconfig.h.in: Psych out gtk-doc.
19212
19213         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19214
19215         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19216
19217         * tools/gst-inspect.c (print_element_list): Plug some
19218         inconsequential leaks.
19219
19220         * gst/gstregistry.c (gst_registry_get_default): Doc.
19221
19222         * check/gst/gstplugin.c: 
19223         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19224         * gst/gstelementfactory.c (gst_element_factory_create): 
19225         * gst/gstindexfactory.c (gst_index_factory_create): Update for
19226         refcount changes.
19227
19228         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19229         (gst_plugin_feature_load): Doc, don't eat refs.
19230
19231         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19232         (gst_plugin_list_free): Doc.
19233         (gst_plugin_load_file): Doc updates.
19234
19235         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19236         accessors returning refcounted objects, return a ref.
19237
19238         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19239         accessor for caps. IDEMPOTENCE. Oh yes.
19240
19241 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
19242
19243         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19244
19245         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19246         (_gst_debug_register_funcptr):
19247           Add mutex to serialise access to the hash table with
19248           the function pointer => function name string mapping;
19249           make that hash table static scope (#316809).
19250
19251         * gst/registries/.cvsignore:
19252           Remove left-over file.
19253
19254 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19255
19256         * docs/pwg/appendix-porting.xml:
19257           And something about newsegment events and caps-on-buffers to
19258           the porting guide (feel free to improve).
19259
19260 2005-09-21  Andy Wingo  <wingo@pobox.com>
19261
19262         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19263         data and event probes on the same pad.
19264         (test_buffer_probe_once): Test that removing probes from within
19265         the probe functions works.
19266
19267 2005-09-21  Andy Wingo  <wingo@pobox.com>
19268
19269         * check/gst/gstutils.c: New file.
19270         (test_buffer_probe_n_times): A simple buffer probe test. More to
19271         come, foolios.
19272
19273         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19274         have-data::buffer, not have-data.
19275         (gst_pad_add_event_probe): Likewise for have-data::event.
19276         (gst_pad_add_data_probe): More docs. The part about 'resolving the
19277         peer' isn't quite right yet though.
19278         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
19279         (gst_pad_remove_data_probe): Change to take the guint handler_id
19280         as their arg, not the function+data, which is more glib-like.
19281
19282         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19283         the signal emission to indicate if the data is a buffer or an
19284         event.
19285         (gst_pad_get_type): Initialize buffer and event quarks.
19286         (gst_pad_class_init): have-data is now a detailed signal, yes it
19287         is.
19288
19289 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19290
19291         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19292         * gst/gstutils.c: (gst_util_set_value_from_string),
19293         (gst_util_set_object_arg):
19294           Don't put functional code in g_return_if_fail() or
19295           g_return_val_if_fail() statements, otherwise things will 
19296           break when G_DISABLE_CHECKS is defined during compilation.
19297
19298 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19299
19300         * docs/gst/tmpl/.cvsignore:
19301         * docs/gst/tmpl/gstvalue.sgml:
19302         * gst/gstvalue.c:
19303         * gst/gstvalue.h:
19304           inlied another one and added  some obvious docs
19305
19306 2005-09-21  Wim Taymans  <wim@fluendo.com>
19307
19308         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19309         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19310         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19311         (gst_fdsrc_get_property), (gst_fdsrc_create):
19312         * gst/elements/gstfdsrc.h:
19313         Properly implement fdsrc. Removed signal and timeout,
19314         better implemented somewhere else.
19315
19316 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19317
19318         * docs/gst/tmpl/.cvsignore:
19319         * docs/gst/tmpl/gstimplementsinterface.sgml:
19320         * gst/gstinterface.c:
19321           inlined more docs
19322
19323 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19324
19325         * docs/gst/gstreamer-sections.txt:
19326         * docs/gst/tmpl/.cvsignore:
19327         * docs/gst/tmpl/gstenumtypes.sgml:
19328           remove obsolete doc file
19329
19330 2005-09-21  David Schleef  <ds@schleef.org>
19331
19332         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19333         little beer, fix a little leak.
19334
19335 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19336
19337         * docs/gst/gstreamer-docs.sgml:
19338         * docs/gst/gstreamer-sections.txt:
19339         * docs/gst/tmpl/.cvsignore:
19340         * gst/Makefile.am:
19341         * gst/gst.h:
19342         * gst/gstbin.c:
19343         * gst/gstelement.h:
19344         * gst/gstindex.c: (gst_index_class_init):
19345         * gst/gstindex.h:
19346         * gst/gstindexfactory.c: (gst_index_factory_get_type),
19347         (gst_index_factory_class_init), (gst_index_factory_init),
19348         (gst_index_factory_finalize), (gst_index_factory_new),
19349         (gst_index_factory_destroy), (gst_index_factory_find),
19350         (gst_index_factory_create), (gst_index_factory_make):
19351         * gst/gstindexfactory.h:
19352         * gst/gstpluginfeature.c:
19353         * gst/gstpluginfeature.h:
19354         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19355           more docs inlined, splitted gstindex.{c,h}
19356
19357 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19358
19359         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19360           fix a leak
19361
19362 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19363
19364         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19365           Set sync to FALSE by default.
19366
19367 2005-09-20  Wim Taymans  <wim@fluendo.com>
19368
19369         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19370         (gst_base_sink_init):
19371         Make sync property settable from subclass.
19372
19373         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19374         (gst_fake_sink_change_state):
19375         Set sync to FALSE by default.
19376
19377 2005-09-20  Wim Taymans  <wim@fluendo.com>
19378
19379         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19380         * tools/gst-launch.c: (main):
19381         The timeout handler should have lower priority than the source
19382         so we don't timeout before popping a message with 0 timeout.
19383         Dump error messages after failed state change.
19384
19385 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19386
19387         * tools/gst-inspect.c: (print_element_properties_info):
19388           Fix two typos.
19389
19390 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19391
19392         * check/gst/gstevent.c:
19393         * gst/elements/gstfakesink.c:
19394         * gst/elements/gstfakesink.h:
19395           remove the sync property from fakesink.
19396           has the side effect of setting sync TRUE
19397           for fakesink, which is a change.  Anyone who knows how
19398           to fix this nicely in a GObject-y way, feel free.
19399
19400 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19401
19402         * docs/gst/gstreamer-docs.sgml:
19403           remove probe refsection
19404
19405 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19406
19407         * check/Makefile.am:
19408           disable valgrinding the controller test again
19409         * docs/gst/gstreamer-sections.txt:
19410           update for api-changes
19411
19412 2005-09-20  Wim Taymans  <wim@fluendo.com>
19413
19414         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19415         (gst_base_sink_set_property), (gst_base_sink_get_property),
19416         (gst_base_sink_do_sync):
19417         * gst/base/gstbasesink.h:
19418         Added sync property to basesink to disable clock sync.
19419
19420 2005-09-20  Andy Wingo  <wingo@pobox.com>
19421
19422         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19423         eating the caller's refcount.
19424
19425         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
19426         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19427         refcount.
19428
19429         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19430         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19431         of GLib 2.8 public, so we can know which refcount to check in
19432         tests.
19433
19434         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19435         (gst_object_init): Only set the gst refcount if we're going ahead
19436         with the refcount hack.
19437
19438 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19439
19440         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19441         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19442           more leaks plumbed, added more debug-logging
19443         * gst/gstmacros.h:
19444           whitespace fix
19445
19446 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19447
19448         * gst/gstmessage.c:
19449           remove include of gstmemchunk.h
19450
19451 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19452
19453         * gst/gstclock.c: (_gst_clock_id_free):
19454           Commit from the Political Party For More Atomic CVS Commits,
19455           so that people don't waste too much of their day fishing
19456           out obvious leaks out of massive commits.
19457           Oh, and fix a pretty damn obvious leak in the memchunk
19458           removal code.
19459
19460 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19461
19462         * check/Makefile.am:
19463         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19464           plug mem-leak, re-add to valgrindable tests
19465
19466 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19467
19468         * gst/gstplugin.h:
19469           unbreak the build for those who have chronic arthritis
19470           and typing "make check" is just too taxing on the hands
19471
19472 2005-09-20  Andy Wingo  <wingo@pobox.com>
19473
19474         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19475         really want it out, you should fix plugins at the same time.
19476
19477 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
19478
19479         * configure.ac:
19480         * docs/gst/gstreamer-sections.txt:
19481         * gst/gstobject.c:
19482           added missing symbols to api docs
19483           disable ref-count hack if we have glib >= 2.8
19484
19485 2005-09-19  David Schleef  <ds@schleef.org>
19486
19487         * docs/gst/Makefile.am: Ignore a few more internal headers
19488         * docs/gst/gstreamer-docs.sgml: Remove old sections
19489         * docs/gst/gstreamer-sections.txt: Remove old sections
19490         * docs/gst/tmpl/gstobject.sgml: update
19491         * docs/gst/tmpl/gstplugin.sgml: update
19492         * docs/gst/tmpl/gstpluginfeature.sgml: update
19493         * docs/random/ds/0.9-suggested-changes: update.
19494         * gst/Makefile.am: remove memchunk and trashstack, since they're
19495           not used.
19496         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19497         * gst/gst.h: don't include some headers
19498         * gst/gstchildproxy.c: add gstmarshal.h
19499         * gst/gstclock.c: Don't use memchunks
19500         * gst/gstminiobject.c: Add some docs
19501         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19502         * gst/gstobject.h: same
19503         * gst/gstplugin.c: include gstmacros.h
19504         * gst/gstplugin.h: don't include gstmacros.h, since it's private
19505         * gst/gstquery.c: don't use memchunks
19506         * gst/gstregistry.c: rename gst_registry_deinit()
19507         * gst/gstregistry.h: same
19508
19509 2005-09-19  David Schleef  <ds@schleef.org>
19510
19511         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19512         * docs/libs/gstreamer-libs-sections.txt:
19513         * docs/libs/tmpl/gstgetbits.sgml:
19514         * docs/libs/tmpl/gstputbits.sgml:
19515
19516 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
19517
19518         * win32/gstenumtypes.c:
19519         * win32/gstenumtypes.h:
19520           Update.
19521
19522 2005-09-19  Wim Taymans  <wim@fluendo.com>
19523
19524         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19525         Automatically PAUSE and RESUME a pipeline when a flushing seek
19526         is performed.
19527
19528 2005-09-19  Andy Wingo  <wingo@pobox.com>
19529
19530         * gst/gstregistry.h: Spacing fixen.
19531
19532 2005-09-19  Wim Taymans  <wim@fluendo.com>
19533
19534         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19535         Handle state change failure more correctly.
19536
19537 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19538
19539         * check/Makefile.am:
19540         * check/pipelines/cleanup.c: (run_pipeline):
19541         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19542         (GST_START_TEST):
19543           enable cleanup again after fixing the leak
19544         * docs/README:
19545           some more info on docs
19546
19547 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19548
19549         * check/Makefile.am:
19550           re-enable tests now that leaks are plugged
19551         * check/gst/gst.c:
19552         * check/gst/gstbin.c:
19553         * check/gst/gstpipeline.c:
19554           add some more tests while fixing leaks
19555         * common/check.mak:
19556           make sure binaries are uptodate when valgrinding/gdbing
19557         * gst/gst.c:
19558         * gst/gstelementfactory.c:
19559           remove a ref too many, and add a FIXME for when we get
19560           round to disposing of classes
19561         * gst/gstplugin.c:
19562           fix the refcounting when loading a plugin from a file and
19563           the code pretends that the pointer is the same even though
19564           of course it can change
19565         * gst/gstpluginfeature.c:
19566           unref plugins marked cached (a bit confusing as a name)
19567           as the docs state should be done
19568           various doc additions to explain refcounting
19569         * gst/gstregistry.c:
19570         * gst/gstregistryxml.c:
19571           debugging
19572
19573 2005-09-19  Wim Taymans  <wim@fluendo.com>
19574
19575         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19576         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19577         (send_messages), (GST_START_TEST), (gstbus_suite):
19578         * check/gst/gstpipeline.c: (GST_START_TEST):
19579         * check/pipelines/cleanup.c: (run_pipeline):
19580         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19581         (GST_START_TEST):
19582         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19583         (gst_bus_source_check), (gst_bus_source_dispatch),
19584         (gst_bus_create_watch), (gst_bus_add_watch_full),
19585         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19586         * gst/gstbus.h:
19587         * tools/gst-launch.c: (event_loop):
19588         * tools/gst-md5sum.c: (event_loop):
19589         GstBusHandler -> GstBusFunc, return value has the same meaning as
19590         any other GSource (FALSE == remove source).
19591         _add_watch() and _add_watch_full() now take a MessageType mask to
19592         only handle specific types of messages.
19593         _poll() returns the GstMessage instead of the message type to avoid
19594         race conditions.
19595         _have_pending() takes a MessageType mask now too.
19596         Added testsuite for multiple bus watches.
19597         Fix testsuites and applications for new bus API.
19598
19599 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19600
19601         * check/Makefile.am:
19602           mark a bunch of the tests as to fix until we fix them
19603
19604 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19605
19606         * common/check.mak:
19607           use GST_PLUGIN settings for valgrind tests as well, so we're
19608           valgrinding the correct thing
19609         * gst/gst.c: (init_post):
19610           plug another leak
19611
19612 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19613
19614         * gst/gst.c: (init_post), (gst_deinit):
19615         * gst/gstelementfactory.c: (gst_element_factory_class_init),
19616         (gst_element_factory_finalize), (gst_element_factory_cleanup):
19617         * gst/gstindex.c: (gst_index_factory_class_init),
19618         (gst_index_factory_finalize):
19619         * gst/gstobject.c: (gst_object_dispose):
19620         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19621         (gst_plugin_load_file), (gst_plugin_desc_free):
19622         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19623         (gst_plugin_feature_finalize):
19624         * gst/gstregistry.c: (gst_registry_class_init),
19625         (gst_registry_init), (gst_registry_finalize),
19626         (gst_registry_get_default), (gst_registry_deinit):
19627         * gst/gstregistry.h:
19628         * gst/gstregistryxml.c: (load_feature), (load_plugin):
19629           various cleanups and memleak plugging.  make valgrind is happy now.
19630
19631 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19632
19633         * common/check.mak:
19634           add a check-valgrind target
19635
19636 2005-09-18  David Schleef  <ds@schleef.org>
19637
19638         * tools/gst-inspect.c: Revert the GOption code.
19639
19640 2005-09-17  David Schleef  <ds@schleef.org>
19641
19642         * check/Makefile.am: Fix environment variables.
19643         * check/gst/gstplugin.c: Fix for API changes.
19644         * tools/gst-inspect.c: Fix for API changes.
19645         * tools/gst-xmlinspect.c: Fix for API changes.
19646         * gst/gstelementfactory.c:
19647         * gst/gstplugin.c:
19648         * gst/gstplugin.h:
19649         * gst/gstpluginfeature.c:
19650         * gst/gstpluginfeature.h:
19651         * gst/gstregistry.c:
19652         * gst/gstregistry.h:
19653         * gst/gstregistryxml.c:
19654         * gst/gsttypefind.c:
19655         * gst/gsttypefindfactory.c:
19656         * gst/indexers/gstfileindex.c:
19657         * gst/indexers/gstmemindex.c:
19658         * gst/schedulers/Makefile.am:
19659           Change registry to keep track of both plugins and features,
19660           removing the feature tracking from plugins themselves.
19661
19662 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19663
19664         * check/Makefile.am:
19665         * tools/gst-register.1.in:
19666           remove gst-register
19667
19668 2005-09-15  David Schleef  <ds@schleef.org>
19669
19670         * check/gst/gstplugin.c:
19671         * gst/gstelementfactory.c:
19672         * gst/gstplugin.c:
19673         * gst/gstpluginfeature.c:
19674         * gst/gstregistry.c:
19675           Getting tired of debugging.  Disabled all the unreffing of
19676           plugins and features, which fixes the segfaults, but of
19677           course leaks like crazy.  At least playbin works.
19678
19679 2005-09-15  David Schleef  <ds@schleef.org>
19680
19681         * check/gst/gstplugin.c: (register_check_elements),
19682         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19683         More testing
19684         * gst/elements/gsttypefindelement.c: Fix refcounting.
19685         * gst/gsttypefind.c:
19686         * gst/gsttypefindfactory.c:
19687         * gst/gsttypefindfactory.h:
19688
19689 2005-09-15  David Schleef  <ds@schleef.org>
19690
19691         * gst/gstindex.c: get refcounting correct.
19692         * gst/gstregistry.c: Handle the case where a feature/plugin is
19693           not found.
19694
19695 2005-09-15  David Schleef  <ds@schleef.org>
19696
19697         * check/Makefile.am:
19698         * check/gst/gstplugin.c: Add test
19699         * gst/gstplugin.c: Fix problems noticed by testsuite
19700         * gst/gstplugin.h:
19701         * gst/gstregistry.c: 
19702         * gst/gstregistry.h:
19703
19704 2005-09-15  David Schleef  <ds@schleef.org>
19705
19706         * gst/gstplugin.c: Implement semi-decent recounting and locking
19707           in plugins and plugin features.
19708         * gst/gstplugin.h:
19709         * gst/gstpluginfeature.c:
19710         * gst/gstpluginfeature.h:
19711         * gst/gstregistry.c:
19712
19713 2005-09-15  Michael Smith <msmith@fluendo.com>
19714
19715         * gst/gstregistry.c: (gst_registry_get_feature_list):
19716           Implement this. Makes oggdemux work; decodebin still broken.
19717
19718 2005-09-14  David Schleef  <ds@schleef.org>
19719
19720         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19721           #316076)
19722         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19723         * gst/check/Makefile.am:
19724         * libs/gst/controller/Makefile.am:
19725         * libs/gst/dataprotocol/Makefile.am:
19726
19727 2005-09-14  David Schleef  <ds@schleef.org>
19728
19729         * configure.ac: Remove getbits library.  Nothing uses it, and
19730           it should be in something like liboil if someone did want
19731           to use it.
19732         * libs/gst/Makefile.am:
19733         * libs/gst/getbits/Makefile.am:
19734         * libs/gst/getbits/gbtest.c:
19735         * libs/gst/getbits/getbits.c:
19736         * libs/gst/getbits/getbits.h:
19737         * libs/gst/getbits/gstgetbits_generic.c:
19738         * libs/gst/getbits/gstgetbits_i386.s:
19739         * libs/gst/getbits/gstgetbits_inl.h:
19740
19741 2005-09-14  David Schleef  <ds@schleef.org>
19742
19743         * gst/Makefile.am: Dist glib-compat.h
19744
19745 2005-09-14  David Schleef  <ds@schleef.org>
19746
19747         * configure.ac: Remove gst/registries, since it's no longer used.
19748         * gst/registries/Makefile.am:
19749         * gst/registries/gstlibxmlregistry.c:
19750         * gst/registries/gstlibxmlregistry.h:
19751         * gst/registries/gstxmlregistry.c:
19752         * gst/registries/gstxmlregistry.h:
19753         * gst/registries/registrytest.c:
19754
19755 2005-09-14  David Schleef  <ds@schleef.org>
19756
19757         * gst/glib-compat.h:
19758         * gst/gstregistryxml.c:
19759           Convergence is near.  Seriously.
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         * gst/glib-compat.h:
19765           Attempt #4 to appease the buildbots.
19766
19767 2005-09-14  David Schleef  <ds@schleef.org>
19768
19769         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19770           Attempt #3.
19771
19772 2005-09-14  David Schleef  <ds@schleef.org>
19773
19774         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19775         Attempt #2.
19776
19777 2005-09-14  David Schleef  <ds@schleef.org>
19778
19779         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19780           the new functions.
19781
19782 2005-09-14  David Schleef  <ds@schleef.org>
19783
19784         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19785         * gst/glib-compat.h: Add some functions that are in newer versions
19786           of glib than we care to require.
19787         * gst/gstregistryxml.c: Use them.
19788
19789 2005-09-14  David Schleef  <ds@schleef.org>
19790
19791         * po/POTFILES.in: remove gst-register.c
19792
19793 2005-09-14  David Schleef  <ds@schleef.org>
19794
19795         * docs/gst/gstreamer-docs.sgml:
19796         * docs/gst/gstreamer-sections.txt:
19797         * docs/gst/gstreamer.types:
19798         * docs/gst/tmpl/gstelement.sgml:
19799         * docs/gst/tmpl/gstplugin.sgml:
19800         * docs/gst/tmpl/gstpluginfeature.sgml:
19801           Documentation updates for registry changes.
19802
19803 2005-09-14  David Schleef  <ds@schleef.org>
19804
19805         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19806           because we don't require glib-2.8.
19807
19808 2005-09-14  David Schleef  <ds@schleef.org>
19809
19810         * gst/gstregistryxml.c: Added.  Essentially moved out of the
19811           registries directory.
19812
19813 2005-09-14  David Schleef  <ds@schleef.org>
19814
19815         * check/Makefile.am:
19816         * check/generic/states.c:
19817         * gst/Makefile.am:
19818         * gst/gst.c:
19819         * gst/gst.h:
19820         * gst/gst_private.h:
19821         * gst/gstelementfactory.c:
19822         * gst/gstindex.c:
19823         * gst/gstinfo.c:
19824         * gst/gstplugin.c:
19825         * gst/gstplugin.h:
19826         * gst/gstpluginfeature.c:
19827         * gst/gstpluginfeature.h:
19828         * gst/gstregistry.c:
19829         * gst/gstregistry.h:
19830         * gst/gstregistrypool.c: remove
19831         * gst/gstregistrypool.h: remove
19832         * gst/gsttypefind.c:
19833         * gst/gsttypefindfactory.c:
19834         * gst/gsturi.c:
19835         * tools/Makefile.am:
19836         * tools/gst-compprep.c:
19837         * tools/gst-inspect.c:
19838         * tools/gst-register.c: remove
19839         * tools/gst-xmlinspect.c:
19840           Registry rewrite.  Changes registry from being a file created
19841           by a tool into a simple cache file created automatically by 
19842           libgstreamer.  Removed gst-register (because it's no longer
19843           needed).  Remove registry pools, because we only have one
19844           registry implementation (XML).  Fix up other subsystems as
19845           necessary.
19846
19847 2005-09-13  Michael Smith <msmith@fluendo.com>
19848
19849         * gst/gstconfig.h.in:
19850           Don't Use windows linking attributes for MinGW. Fixes #316157
19851
19852 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19853
19854         * gst/gstutils.c: (set_state_async_thread_func),
19855         (gst_element_set_state_async):
19856           Apparently people think it's better if this function doesn't
19857           try to set the state to whatever state was asked for on the first
19858           call to this function for any object.  Seriously.
19859
19860 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19861
19862         * check/gst/gstpipeline.c: (GST_START_TEST):
19863         * docs/gst/gstreamer-sections.txt:
19864         * gst/gstutils.c: (set_state_async_thread_func),
19865         (gst_element_set_state_async):
19866         * gst/gstutils.h:
19867           add a "gst_element_set_state_async" method that
19868           sets the state and starts a thread to make sure the state
19869           change completes as best as it can
19870
19871 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19872
19873         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19874           codify design+behaviour in testsuite after discussion
19875
19876 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19877
19878         * docs/gst/tmpl/gstelement.sgml:
19879         * docs/manual/appendix-quotes.xml:
19880           add a quote
19881         * gst/gstelement.c: (gst_element_set_state):
19882           add some debug
19883
19884 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
19885
19886         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19887         (gst_base_transform_prepare_output_buf),
19888         (gst_base_transform_handle_buffer):
19889         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19890         (gst_capsfilter_prepare_buf):
19891           Remove the requirement for sub-classes to call the parent
19892           implementation of prepare_output_buffer with a wrapper function.
19893           
19894         * gst/gsttaglist.h:
19895         * gst/gsttagsetter.h:
19896           Fix #define wrapper
19897
19898 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
19899
19900         * docs/gst/gstreamer-sections.txt:
19901           more doc cleanups
19902
19903 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19904
19905         * docs/gst/gstreamer-sections.txt:
19906         * docs/gst/tmpl/gstelement.sgml:
19907         * docs/gst/tmpl/gstplugin.sgml:
19908         * gst/gstminiobject.c:
19909         * gst/gstvalue.h:
19910           docs now stop throwing warnings
19911
19912 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19913
19914         * docs/gst/gstreamer-sections.txt:
19915         * docs/gst/gstreamer.types:
19916         * docs/gst/tmpl/gstpad.sgml:
19917         * docs/gst/tmpl/gsttypes.sgml:
19918         * gst/base/gstadapter.h:
19919         * gst/base/gstbasesink.h:
19920         * gst/base/gstbasesrc.h:
19921         * gst/gstbin.h:
19922         * gst/gstbuffer.h:
19923         * gst/gstbus.h:
19924         * gst/gstcaps.h:
19925         * gst/gstclock.h:
19926         * gst/gstelement.h:
19927         * gst/gstevent.h:
19928         * gst/gstmessage.h:
19929         * gst/gstpad.h:
19930         * gst/gststructure.c:
19931         * gst/registries/gstlibxmlregistry.h:
19932           various documentation fixes
19933
19934 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19935
19936         * docs/gst/gstreamer-sections.txt:
19937         * docs/gst/tmpl/gstvalue.sgml:
19938           rearrange gstvalue section
19939         * gst/gstutils.c: (gst_element_state_get_name):
19940           NONE -> VOID
19941         * gst/gstvalue.c: (_gst_value_initialize):
19942         * gst/gstvalue.h:
19943           doc updates
19944
19945 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
19946
19947         * check/gst-libs/controller.c:
19948           Header include fix.
19949         * gst/base/gstbasetransform.c:
19950         (gst_base_transform_default_prepare_buf),
19951         (gst_base_transform_handle_buffer):
19952         * gst/base/gstbasetransform.h:
19953           Some more basetransform changes and fixes to enable sub-classes
19954           that modify buffer metadata only.
19955         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19956         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19957         (gst_capsfilter_prepare_buf):
19958           If the output pad has fixed allowed caps and input buffers 
19959           don't have any, set the fixed caps on outgoing buffers.
19960
19961 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
19962         * check/elements/identity.c: (GST_START_TEST):
19963           Make the error a little clearer when the test fails because
19964           identity made a copy of the buffer.
19965         * docs/gst/gstreamer-sections.txt:
19966           New symbols in gstbasetransform.h
19967         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19968         (gst_base_transform_init), (gst_base_transform_transform_size),
19969         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19970         (gst_base_transform_default_prepare_buf),
19971         (gst_base_transform_get_unit_size),
19972         (gst_base_transform_buffer_alloc),
19973         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19974         (gst_base_transform_change_state),
19975         (gst_base_transform_set_passthrough),
19976         (gst_base_transform_set_in_place),
19977         (gst_base_transform_is_in_place):
19978         * gst/base/gstbasetransform.h:
19979           Change BaseTransform to separate in_place operate from same_caps
19980           output. in_place implies that the element can perform the transform
19981           on incoming buffers in-place, even if the caps on the output are
19982           different.
19983           Sub-class elements can now implement special buffer allocation
19984           methods for outgoing buffers if they wish to.
19985           Big documentation addition.
19986         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19987         * gst/elements/gstelements.c:
19988           Changes for basetransform modifications.
19989         * gst/elements/Makefile.am:
19990         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19991           Compile fix. Extra debug output.
19992
19993 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19994
19995         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19996         (gst_pad_suite):
19997           add tests for valid pad naming
19998         * gst/check/gstcheck.c: (gst_check_log_message_func),
19999         (gst_check_log_critical_func):
20000           add ASSERT_WARNING
20001           remove printing of code, it is fragile when the code contains
20002           % and the line number is enough info
20003         * gst/check/gstcheck.h:
20004         * gst/gstpad.c: (gst_pad_template_new):
20005           fix memleaks
20006
20007 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20008
20009         * configure.ac:
20010           say what CHECK flags we use
20011         * docs/libs/gstreamer-libs.types:
20012         * libs/gst/controller/Makefile.am:
20013         * libs/gst/controller/gst-controller.c:
20014         * libs/gst/controller/gst-controller.h:
20015         * libs/gst/controller/gst-helper.c:
20016         * libs/gst/controller/gst-interpolation.c:
20017         * libs/gst/controller/gstcontroller.c:
20018         * libs/gst/controller/gsthelper.c:
20019         * libs/gst/controller/gstinterpolation.c:
20020         * tools/gst-inspect.c: (print_plugin_info):
20021           we don't use dashes in header names
20022
20023 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20024
20025         * check/Makefile.am:
20026         * check/gst/.cvsignore:
20027         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20028         (gst_pipeline_suite), (main):
20029           adding a test for pipelines and state changes
20030         * gst/gstutils.c: (get_state_func):
20031           add some debugging
20032         * gstreamer.spec.in:
20033           fix up spec file
20034
20035 2005-09-08  Michael Smith <msmith@fluendo.com>
20036
20037         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20038         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20039         (gst_file_src_is_seekable), (gst_file_src_get_size),
20040         (gst_file_src_start):
20041         * gst/elements/gstfilesrc.h:
20042           Various fixes for unseekable, unmmapable, and non-normal files, so
20043           that fallback to read() rather than mmap() works.
20044         * gst/gstevent.c: (gst_event_new_newsegment):
20045           Allow newsegment events with segment_start == segment_end, as will
20046           correctly happen if you use filesrc on a zero-size file, for
20047           example.
20048
20049 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20050
20051         * gst/gstplugin.c: (gst_plugin_load_file):
20052           Call g_module_close when we don't load the module
20053
20054         * gst/registries/gstlibxmlregistry.c:
20055         (gst_xml_registry_get_property):
20056           Port leak fix from 0.8
20057
20058 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20059
20060         * docs/gst/gstreamer-docs.sgml:
20061         * docs/gst/tmpl/.cvsignore:
20062         * docs/gst/tmpl/gsttrace.sgml:
20063         * docs/gst/tmpl/gsttrashstack.sgml:
20064         * gst/Makefile.am:
20065         * gst/gst.h:
20066         * gst/gstelement.h:
20067         * gst/gstevent.h:
20068         * gst/gstmessage.c:
20069         * gst/gstmessage.h:
20070         * gst/gsttag.c:
20071         * gst/gsttag.h:
20072         * gst/gsttaginterface.c:
20073         * gst/gsttaginterface.h:
20074         * gst/gsttaglist.c:
20075         * gst/gsttaglist.h:
20076         * gst/gsttagsetter.c:
20077         * gst/gsttagsetter.h:
20078         * gst/gsttrace.c:
20079         * gst/gsttrace.h:
20080         * gst/gsttrashstack.c:
20081           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20082           inlined docs for gsttrace, gsttrashstack
20083
20084 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20085
20086         * gst/Makefile.am:
20087         * gst/elements/gstbufferstore.h:
20088         * gst/elements/gsttypefindelement.c:
20089         * gst/elements/gsttypefindelement.h:
20090         * gst/gst.h:
20091         * gst/gsttypefind.c:
20092         * gst/gsttypefind.h:
20093         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20094         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20095         (gst_type_find_factory_dispose),
20096         (gst_type_find_factory_unload_thyself),
20097         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20098         (gst_type_find_factory_get_caps),
20099         (gst_type_find_factory_get_extensions),
20100         (gst_type_find_factory_call_function):
20101         * gst/gsttypefindfactory.h:
20102         * gst/registries/gstlibxmlregistry.c:
20103         * gst/registries/gstxmlregistry.c:
20104           splitted gsttypefind into gsttypefind, gsttypefindfactory
20105
20106 2005-09-07  Andy Wingo  <wingo@pobox.com>
20107
20108         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20109         condition whereby the pad's task function is entered before the
20110         pad_mode variable was set.
20111
20112 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20113
20114         * gst/gstpad.c: (gst_pad_alloc_buffer):
20115           Catch misbehaving pad_alloc functions that don't
20116           set up caps and do it for them.
20117
20118 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20119
20120         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20121           test for pipe!=NULL
20122         * docs/gst/tmpl/.cvsignore:
20123         * docs/gst/tmpl/gstmemchunk.sgml:
20124         * docs/gst/tmpl/gstparse.sgml:
20125         * docs/gst/tmpl/gsttaglist.sgml:
20126         * docs/gst/tmpl/gsttagsetter.sgml:
20127         * docs/gst/tmpl/gsttypefind.sgml:
20128         * docs/gst/tmpl/gsttypefindfactory.sgml:
20129         * gst/gstmemchunk.c:
20130         * gst/gstparse.c:
20131         * gst/gsttag.c:
20132         * gst/gsttaginterface.c:
20133         * gst/gsttypefind.c:
20134         * gst/gsttypefind.h:
20135           inlined more docs
20136
20137 === release 0.9.2 ===
20138
20139 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20140
20141         * NEWS:
20142         * RELEASE:
20143         * configure.ac:
20144           releasing 0.9.2, "South"
20145
20146 2005-09-05  Andy Wingo  <wingo@pobox.com>
20147
20148         * gst/registries/gstxmlregistry.h:
20149         * gst/registries/gstxmlregistry.c: Um... resurrect...
20150         
20151         * gst/registries/gstxmlregistry.h:
20152         * gst/registries/gstxmlregistry.c: and update to newer API.
20153         Incidentally they should be a bit faster now that they don't have
20154         to parse the caps.
20155         
20156 2005-09-05  Andy Wingo  <wingo@pobox.com>
20157
20158         * gst/registries/gstxmlregistry.h:
20159         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20160         replaced by the libxml registry a while back
20161
20162 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20163
20164         * docs/gst/tmpl/gstplugin.sgml:
20165         * gst/elements/gstelements.c:
20166         * gst/gst.c:
20167         * gst/gstplugin.c: (gst_plugin_register_func),
20168         (gst_plugin_desc_copy), (gst_plugin_desc_free),
20169         (gst_plugin_get_source):
20170         * gst/gstplugin.h:
20171         * gst/registries/gstlibxmlregistry.c: (load_plugin),
20172         (gst_xml_registry_save_plugin):
20173         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20174         (gst_xml_registry_save_plugin):
20175         * tools/gst-inspect.c: (print_plugin_info):
20176           add a "source" plugin description field, to represent the source
20177           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
20178           will set it to PACKAGE, which is automake's idea of the name of
20179           the source project.
20180
20181 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20182
20183         * Makefile.am:
20184         * autogen.sh:
20185         * configure.ac:
20186         * docs/Makefile.am:
20187         * docs/faq/Makefile.am:
20188         * docs/gst/tmpl/gstelement.sgml:
20189         * docs/gst/tmpl/gsttypes.sgml:
20190         * docs/htmlinstall.mak:
20191         * docs/manual/Makefile.am:
20192         * docs/pwg/Makefile.am:
20193           reorganize doc build a little
20194           split out docbook and gtk-doc stuff
20195           have two separate --enable's and enable them through autogen
20196           but disable by default in configure (to be similar to other
20197           projects)
20198         * gstreamer.spec.in:
20199           clean up docs install
20200         * po/af.po:
20201         * po/az.po:
20202         * po/ca.po:
20203         * po/cs.po:
20204         * po/de.po:
20205         * po/en_GB.po:
20206         * po/fr.po:
20207         * po/it.po:
20208         * po/nb.po:
20209         * po/nl.po:
20210         * po/ru.po:
20211         * po/sq.po:
20212         * po/sr.po:
20213         * po/sv.po:
20214         * po/tr.po:
20215         * po/uk.po:
20216         * po/vi.po:
20217           translation updates
20218
20219 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
20220
20221         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20222           Add comment.
20223           
20224         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20225         (gst_fake_sink_change_state):
20226           Make state change function thread-safe.
20227           
20228         * gst/gstpad.c: (gst_pad_alloc_buffer):
20229           Set offset on generic buffer allocated by fallback.
20230
20231 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
20232
20233         * docs/gst/gstreamer-sections.txt:
20234         * docs/gst/tmpl/gstelement.sgml:
20235         * gst/gstpad.c:
20236         * libs/gst/controller/gst-controller.c:
20237         (gst_controlled_property_set_interpolation_mode),
20238         (gst_controlled_property_new),
20239         (gst_controller_find_controlled_property):
20240          run the wingo-magic script against the docs
20241
20242 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20243
20244         * docs/gst/gstreamer-docs.sgml:
20245         * docs/gst/gstreamer-sections.txt:
20246         * docs/gst/tmpl/.cvsignore:
20247         * docs/gst/tmpl/gstelementdetails.sgml:
20248         * docs/gst/tmpl/gstelementfactory.sgml:
20249         * gst/gst.c:
20250         * gst/gstbus.c:
20251         * gst/gstelementfactory.c:
20252         * gst/gstelementfactory.h:
20253           merged elementdetails docs into elementfactory docs
20254           inlined both
20255
20256 2005-09-02  Andy Wingo  <wingo@pobox.com>
20257
20258         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20259         consider this enum an enum and not a flags.
20260
20261 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20262
20263         * docs/gst/gstreamer-docs.sgml:
20264         * docs/gst/tmpl/.cvsignore:
20265         * docs/gst/tmpl/gstghostpad.sgml:
20266         * docs/gst/tmpl/gstiterator.sgml:
20267         * docs/gst/tmpl/gstmacros.sgml:
20268         * docs/gst/tmpl/gstrealpad.sgml:
20269         * docs/gst/tmpl/gstregistry.sgml:
20270         * docs/gst/tmpl/gstregistrypool.sgml:
20271         * docs/gst/tmpl/gststructure.sgml:
20272         * docs/gst/tmpl/gstsystemclock.sgml:
20273         * docs/gst/tmpl/gsttrace.sgml:
20274         * gst/gstghostpad.c:
20275         * gst/gstmacros.h:
20276         * gst/gstmemchunk.c:
20277         * gst/gstmemchunk.h:
20278         * gst/gstqueue.c:
20279         * gst/gstregistry.c:
20280         * gst/gstregistrypool.c:
20281         * gst/gststructure.c:
20282         * gst/gstsystemclock.c:
20283           more docs inlined
20284
20285 2005-09-02  Andy Wingo  <wingo@pobox.com>
20286
20287         * gst/gstelement.h (GstState): Renamed from GstElementState,
20288         changed to be a normal enum instead of flags.
20289         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20290         munged to be GST_STATE_CHANGE_*.
20291         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20292         work with the new state representation.
20293         (GstStateChange): New enumeration of possible state transitions.
20294         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20295         (GstElementClass::change_state): Pass the GstStateChange along as
20296         an argument. Helps language bindings, so they don't have to use
20297         tricky lock-needing macros like GST_STATE_CHANGE ().
20298
20299         * scripts/update-states (file): New script. Run it on a file to
20300         update it for state naming and API changes. Updates files in
20301         place.
20302
20303         * All files updated for the new API.
20304
20305 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20306
20307         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20308         * gst/gstutils.c: (gst_util_set_value_from_string),
20309         (gst_util_set_object_arg):
20310           fix a bunch of unchecked return values
20311         * tools/gst-complete.c: (main):
20312         * gstreamer.spec.in:
20313           clean up a little
20314
20315 2005-09-01  Wim Taymans  <wim@fluendo.com>
20316
20317         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20318         (gst_base_sink_event), (gst_base_sink_do_sync),
20319         (gst_base_sink_handle_event):
20320         * gst/base/gstbasesink.h:
20321         Handle newsegments more correctly.
20322
20323         * gst/gstbus.c:
20324         Fix docs.
20325
20326         * gst/gstevent.c: (gst_event_new_newsegment):
20327         A newsegment cannot have a start_time of -1
20328
20329 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
20330
20331         * win32/gstenumtypes.c:
20332         * win32/gstenumtypes.h:
20333           Update
20334
20335 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20336
20337         * libs/gst/controller/gst-controller.c:
20338         (gst_controlled_property_set_interpolation_mode),
20339         (gst_controlled_property_new):
20340          fixed boolean again
20341
20342 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
20343
20344         * docs/faq/gst-uninstalled:
20345           add -good
20346         * gst/gstevent.c:
20347         * gst/gstevent.h:
20348           remove wrong docs
20349         * gst/gstutils.c: (gst_element_link_filtered):
20350         * gst/gstutils.h:
20351           add gst_element_link_filtered
20352
20353 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20354
20355         * docs/gst/gstreamer-docs.sgml:
20356         * docs/gst/gstreamer-sections.txt:
20357         * docs/gst/tmpl/.cvsignore:
20358         * docs/gst/tmpl/gsterror.sgml:
20359         * docs/gst/tmpl/gstfilter.sgml:
20360         * docs/gst/tmpl/gsturihandler.sgml:
20361         * docs/gst/tmpl/gsturitype.sgml:
20362         * docs/gst/tmpl/gstutils.sgml:
20363         * docs/gst/tmpl/gstxml.sgml:
20364         * gst/gsterror.c:
20365         * gst/gsterror.h:
20366         * gst/gstfilter.c:
20367         * gst/gsturi.c:
20368         * gst/gsturitype.c:
20369         * gst/gstutils.c:
20370         * gst/gstxml.c:
20371           inlined more docs, fixed double id-ref
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):
20377         Passthrough elements don't need the caps as they don't care.
20378
20379 2005-08-31  Wim Taymans  <wim@fluendo.com>
20380
20381         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20382         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20383         Don't leak refcounts on buffers.
20384
20385 2005-08-31  Wim Taymans  <wim@fluendo.com>
20386
20387         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20388         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20389         (gst_base_transform_chain), (gst_base_transform_change_state):
20390         * gst/base/gstbasetransform.h:
20391         Handle the case where we are not negotiated more gracefully.
20392
20393 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
20394
20395         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20396         (gst_file_src_map_region):
20397           Set READONLY flag on mmap'ed buffers, otherwise
20398           gst_buffer_make_writable() won't work properly (#314708).
20399
20400 2005-08-31  Wim Taymans  <wim@fluendo.com>
20401
20402         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20403         passthrough elements can even do inplace on non writable
20404         buffers (as they don't touch them).
20405
20406 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20407
20408         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20409         (gst_test_mono_source_set_property),
20410         (gst_test_mono_source_class_init), (GST_START_TEST),
20411         (gst_controller_suite):
20412           more tests (hehe I have the most)
20413         * gst/gstbus.c:
20414           describe popping messages whenusing mulltiple sources
20415         * libs/gst/controller/gst-controller.c:
20416         (gst_controlled_property_set_interpolation_mode),
20417         (gst_controlled_property_new):
20418         * libs/gst/controller/gst-controller.h:
20419         * libs/gst/controller/gst-interpolation.c:
20420           implement boolean properties
20421
20422 2005-08-31  Wim Taymans  <wim@fluendo.com>
20423
20424         * gst/gstminiobject.c: (gst_mini_object_ref):
20425         Cannot assert that the refcount has to be positive
20426         since a disposed object can be resurrected.
20427
20428 2005-08-31  Wim Taymans  <wim@fluendo.com>
20429
20430         * gst/gstpad.c: (gst_pad_init):
20431         Revert change, need to first fix badly behaving 
20432         apps.
20433
20434 2005-08-30  Wim Taymans  <wim@fluendo.com>
20435
20436         * check/elements/fakesrc.c: (setup_fakesrc):
20437         * check/elements/identity.c: (setup_identity):
20438         Activate pads before using them.
20439
20440 2005-08-30  Wim Taymans  <wim@fluendo.com>
20441
20442         * gst/base/gstadapter.c: (gst_adapter_flush):
20443         Flushing out 0 bytes is ok for this function.
20444
20445         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20446         no newsegment gives a warning and sets the start/stop to 
20447         invalid.
20448
20449         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20450         (gst_base_transform_set_passthrough):
20451         Some debug info.
20452
20453         * gst/gstminiobject.c: (gst_mini_object_ref):
20454         Check refcount here too.
20455
20456         * gst/gstpad.c: (gst_pad_init):
20457         Pads are initially flushing and refusing data.
20458
20459         * gst/gstutils.c: (gst_element_link_pads_filtered):
20460         When adding a capsfilter element make sure it has the
20461         same state as the parent bin.
20462
20463 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20464
20465         * docs/gst/tmpl/.cvsignore:
20466         * docs/gst/tmpl/gstformat.sgml:
20467         * docs/gst/tmpl/gstversion.sgml:
20468         * gst/gstbus.h:
20469         * gst/gstformat.c:
20470         * gst/gstformat.h:
20471         * gst/gstversion.h.in:
20472           more docs and two more inlined
20473
20474 2005-08-30  Wim Taymans  <wim@fluendo.com>
20475
20476         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20477         Don't sync to clock.
20478
20479 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20480
20481         * docs/gst/gstreamer-sections.txt:
20482           ultral33t func10ns deserve to appear in the docs actually
20483         * docs/gst/tmpl/.cvsignore:
20484         * docs/gst/tmpl/gstcompat.sgml:
20485         * docs/gst/tmpl/gstconfig.sgml:
20486         * gst/check/gstcheck.c:
20487         * gst/gstcompat.h:
20488         * gst/gstconfig.h.in:
20489           inlined more docs
20490
20491 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20492
20493         * docs/gst/tmpl/.cvsignore:
20494         * docs/gst/tmpl/gstquery.sgml:
20495         * docs/gst/tmpl/gstutils.sgml:
20496         * gst/gstquery.c:
20497         * gst/gstquery.h:
20498           inlined and extended docs
20499
20500 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20501
20502         * check/gst-libs/controller.c: (GST_START_TEST),
20503         (gst_controller_suite):
20504           more tests
20505         * docs/gst/tmpl/gstutils.sgml:
20506         * docs/libs/gstreamer-libs-sections.txt:
20507         * docs/libs/tmpl/gstdataprotocol.sgml:
20508           include path fixes
20509         * examples/controller/audio-example.c: (main):
20510           controller example works now
20511         * gst/gstclock.h:
20512           doc fixes
20513         * tools/gst-inspect.c: (print_element_properties_info):
20514           show param spec flags
20515
20516 2005-08-29  Andy Wingo  <wingo@pobox.com>
20517
20518         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20519
20520 2005-08-28  Andy Wingo  <wingo@pobox.com>
20521
20522         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20523         as having two arguments instead of just one. Allows superclasses
20524         to access information on subclasses -- see the terrible for() loop
20525         in gtype.c:g_type_create_instance for the reason why. All callers
20526         changed.
20527
20528 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20529
20530         * docs/design/part-messages.txt:
20531           update info
20532         * docs/gst/tmpl/.cvsignore:
20533         * docs/gst/tmpl/gstcaps.sgml:
20534         * docs/gst/tmpl/gstclock.sgml:
20535         * gst/gstbus.c:
20536         * gst/gstcaps.c:
20537         * gst/gstcaps.h:
20538         * gst/gstclock.c:
20539         * gst/gstclock.h:
20540         * gst/gstmessage.c:
20541           added descriptions for bus and message
20542           inline caps and clock docs
20543
20544 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20545
20546         * gst/gstmessage.c:
20547         * gst/gstmessage.h:
20548           doc fixes
20549
20550 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20551
20552         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20553           fix div-by-zero
20554
20555 2005-08-26  Andy Wingo  <wingo@pobox.com>
20556
20557         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20558         element_set_state's return val.
20559         (test_2_elements): Add test that's been disabled for months.
20560
20561         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20562         can-activate-pull properties.
20563
20564         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20565         can-activate-pull properties. Implement is_seekable so fakesrc can
20566         operate in pull mode.
20567
20568         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20569         properties.
20570         (gst_base_sink_activate, gst_base_sink_activate_pull)
20571         (gst_base_sink_activate_push): Make activation mode choosing work.
20572         Cleanups.
20573         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20574         is right. Make pull mode work. Post an eos before pausing in pull
20575         mode.
20576         (gst_base_sink_change_state): Pay attention to the core's
20577         change_state() return val.
20578         
20579         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20580         has-getrange properties. Cleanups.
20581         
20582         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20583         has_getrange and replace with can_activate_pull and
20584         can_activate_push.
20585
20586         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20587         locking comments. Remove has_loop, has_chain and replace with
20588         can_activate_pull and can_activate_push.
20589
20590 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
20591
20592         * configure.ac:
20593         * examples/Makefile.am:
20594         * examples/metadata/Makefile.am:
20595         * examples/metadata/read-metadata.c: (message_loop),
20596         (have_pad_handler), (make_pipeline), (print_tag), (main):
20597           Add metadata reading example that loops over a list of filenames,
20598           dumping any tags found.
20599
20600         * gst/gstbus.c: (gst_bus_dispose):
20601         * gst/gstelement.c: (gst_element_dispose):
20602           Release a few potentially-held references in dispose.
20603
20604 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20605
20606         * docs/gst/tmpl/gstminiobject.sgml:
20607           do *not* add tmpl/*.sgml files to CVS!
20608
20609 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20610
20611         * libs/gst/bytestream/.cvsignore:
20612         * libs/gst/bytestream/Makefile.am:
20613         * libs/gst/bytestream/adapter.c:
20614         * libs/gst/bytestream/adapter.h:
20615         * libs/gst/bytestream/bytestream.c:
20616         * libs/gst/bytestream/bytestream.h:
20617         * libs/gst/bytestream/filepad.c:
20618         * libs/gst/bytestream/filepad.h:
20619           removing obsolete files
20620
20621 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20622
20623         * docs/gst/gstreamer-docs.sgml:
20624         * docs/libs/gstreamer-libs-docs.sgml:
20625           disabed additional index entries again, as this makes docs-gen just
20626           slow and they aren't useful yet
20627         * docs/libs/gstreamer-libs-sections.txt:
20628           little -section.txt cleanup for libs
20629
20630 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20631
20632         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20633         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20634           fix up some debugging
20635         (gst_base_transform_get_unit_size),
20636         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20637         (gst_base_transform_handle_buffer):
20638         * gst/base/gstbasetransform.h:
20639           handle and store timed NEWSEGMENT events so that subclasses that
20640           calculate time by counting samples have a segment_start time they
20641           need to add to their timestamps - see audioresample
20642
20643 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20644
20645         * gst/gstbin.h:
20646           removed ';' from the end of macro defs
20647         * docs/gst/gstreamer-docs.sgml:
20648         * docs/gst/gstreamer-sections.txt:
20649         * docs/gst/tmpl/.cvsignore:
20650         * gst/gstbus.h:
20651         * gst/gstelement.c: (gst_element_class_init),
20652         (gst_element_set_state), (activate_pads),
20653         (gst_element_save_thyself):
20654         * gst/gstevent.c: (gst_event_new_newsegment):
20655         * gst/gstevent.h:
20656         * gst/gstiterator.c:
20657         * gst/gstiterator.h:
20658         * gst/gstpad.c:
20659         * gst/gstprobe.h:
20660         * gst/gstutils.c: (gst_pad_query_convert):
20661         * gst/gstutils.h:
20662           fixed parameter name mismatches between source, header and docs
20663           added some more docs, resolved the last batch of unused elements in
20664           docs (now someone needs to doc them)
20665
20666 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20667
20668         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20669         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20670           don't walk through the plugins backwards.  Where is all this
20671           reversed logic coming from ?
20672
20673 2005-08-25  Wim Taymans  <wim@fluendo.com>
20674
20675         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20676         (gst_base_transform_transform_size),
20677         (gst_base_transform_configure_caps),
20678         (gst_base_transform_get_unit_size),
20679         (gst_base_transform_buffer_alloc),
20680         (gst_base_transform_change_state):
20681         * gst/base/gstbasetransform.h:
20682         Cache caps unit_size.
20683         Make sure we cannot negotiate up and downstream at the
20684         same time.
20685
20686 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20687
20688         * gst/gst.c: (init_pre), (init_post):
20689           register the installed plugin path after the env var
20690         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20691         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20692           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20693           directories, so the tests can prefer uninstalled over installed
20694
20695 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20696
20697         * gst/base/gstbasetransform.h:
20698           comment
20699         * gst/gstpad.c:
20700           add to docs
20701
20702 2005-08-25  Wim Taymans  <wim@fluendo.com>
20703
20704         * gst/gstbin.c: (bin_bus_handler):
20705         Be a bit more conservative about the posted message.
20706         
20707         * gst/gstbus.c: (gst_bus_post):
20708         Some cleanups, warn wrong return values.
20709
20710 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
20711
20712         * check/gst/gstbin.c: (GST_START_TEST):
20713         * gst/gstbin.c: (bin_bus_handler):
20714         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20715         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20716         (gst_message_new_warning), (gst_message_new_tag),
20717         (gst_message_new_state_changed), (gst_message_new_segment_start),
20718         (gst_message_new_segment_done), (gst_message_new_custom):
20719         * gst/gstmessage.h:
20720         * tools/gst-launch.c: (event_loop):
20721         * tools/gst-md5sum.c: (event_loop):
20722           Revert unpopular change for GST_MESSAGE_SRC to GObject.
20723
20724 2005-08-25  Wim Taymans  <wim@fluendo.com>
20725
20726         * check/generic/states.c: (GST_START_TEST):
20727         Cleanup can be done at the end.
20728
20729         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20730         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20731         (gst_task_get_state), (gst_task_start), (gst_task_pause):
20732         Oh boy.. Thanks for finding this, Thomas. 
20733
20734 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20735
20736         * docs/gst/gstreamer.types:
20737           added missing types
20738
20739 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20740
20741         * docs/gst/gstreamer-docs.sgml:
20742         * docs/gst/gstreamer-sections.txt:
20743         * docs/gst/tmpl/.cvsignore:
20744         * gst/gstbin.c:
20745         * gst/gstiterator.c:
20746         * gst/gstutils.c:
20747         * gst/registries/gstxmlregistry.h:
20748           added missing classes and symbols (123 more to go)
20749           removed removed symbols from section file
20750           fixed many doc-comments
20751
20752 2005-08-24  Wim Taymans  <wim@fluendo.com>
20753
20754         * check/generic/states.c: (GST_START_TEST):
20755         Make sure all tasks are stopped.
20756
20757         * check/gst/gstbin.c: (GST_START_TEST):
20758         Unref after usage for proper valgrinding.
20759
20760         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20761         Really wait for the task to stop before destroying the
20762         mutex.
20763
20764         * gst/gstqueue.c: (gst_queue_sink_activate_push),
20765         (gst_queue_src_activate_push):
20766         Small cleanups. Don't stop the task when we did not start
20767         it.
20768
20769         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20770         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20771         (gst_task_get_state), (gst_task_start), (gst_task_pause),
20772         (gst_task_join):
20773         * gst/gsttask.h:
20774         Protect the stream lock with the object lock.
20775         Disallow setting the stream lock when running.
20776         Add cleanup_all to wait for the threadpool to finish.
20777         Remove code to autoallocate a mutex if none was provided.
20778         Add _join() to wait for a task to stop.
20779         Protect the thread pool with a global lock.
20780
20781 2005-08-24  Wim Taymans  <wim@fluendo.com>
20782
20783         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20784         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20785         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20786         * gst/base/gstbasesink.h:
20787         Handle newsegment events correctly.
20788         Drop buffers out of the segment range.
20789
20790 2005-08-22  Andy Wingo  <wingo@pobox.com>
20791
20792         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20793         macro, implements an interface and gstimplementsinterface for a
20794         new type.
20795
20796 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20797
20798         * check/Makefile.am:
20799         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20800           add a test that does a bunch of state changes on elements
20801           needs some fixing for valgrind
20802         * check/states/sinks.c: (gst_object_suite):
20803           whitespace
20804         * gst/gstcaps.h:
20805           add prototype for gst_caps_is_equal_fixed
20806         * gst/gstplugin.c:
20807         * gst/gstregistrypool.c:
20808           doc fixes
20809
20810 2005-08-24  Andy Wingo  <wingo@pobox.com>
20811
20812         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20813         convert a negative value. Doesn't make much sense. Mostly this is
20814         here to force callers to ensure -1 maps to -1.
20815
20816 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20817
20818         * docs/pwg/advanced-types.xml:
20819           Well done to Michael for catching my deliberate introduction
20820           of this spelling mistake. 
20821         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20822         * gst/gstelement.h:
20823           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20824           unlink pads before removing the element from the bin.
20825
20826 2005-08-24  Andy Wingo  <wingo@pobox.com>
20827
20828         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20829         the same thing as GST_DEBUG=*:4.
20830         (parse_debug_level, parse_debug_category): New helper parsers.
20831
20832 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20833
20834         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20835         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20836         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20837         (gst_base_transform_buffer_alloc),
20838         (gst_base_transform_handle_buffer):
20839           use gboolean return values and pointers to size so we can use the
20840           full GST_BUFFER_SIZE range (guint) for buffer sizes
20841           use GstPadDirection for transform_caps
20842         * gst/base/gstbasetransform.h:
20843           rename get_size to get_unit_size since that's what it is
20844         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20845           use GstPadDirection for transform_caps
20846         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20847         * gst/gstutils.h:
20848           cleanup and debugging
20849
20850 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20851
20852         * gst/gstelement.c: (gst_element_class_init),
20853         (gst_element_set_state), (activate_pads),
20854         (gst_element_save_thyself):
20855         * tools/gst-compprep.c: (main):
20856         * tools/gst-inspect.c: (print_element_properties_info):
20857         * tools/gst-xmlinspect.c: (print_element_properties):
20858           Fixed long standing mem-leak
20859
20860 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20861
20862         * check/gst/gstbin.c: (GST_START_TEST):
20863         * gst/gstbin.c: (bin_bus_handler):
20864         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20865         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20866         (gst_message_new_warning), (gst_message_new_tag),
20867         (gst_message_new_state_changed), (gst_message_new_segment_start),
20868         (gst_message_new_segment_done), (gst_message_new_custom):
20869         * gst/gstmessage.h:
20870         * tools/gst-launch.c: (event_loop):
20871         * tools/gst-md5sum.c: (event_loop):
20872           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20873           that applications can sensibly post custom messages with references
20874           to their own objects.
20875
20876 2005-08-24  Andy Wingo  <wingo@pobox.com>
20877
20878         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20879         already.
20880
20881 2005-08-24  Wim Taymans  <wim@fluendo.com>
20882
20883         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20884         (gst_base_transform_transform_caps),
20885         (gst_base_transform_transform_size),
20886         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20887         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20888         (gst_base_transform_handle_buffer):
20889         * gst/base/gstbasetransform.h:
20890         Many fixes and new features added by Thomas. Can now also do
20891         transforms with variable sizes and a custom fixate_caps function.
20892
20893 2005-08-24  Wim Taymans  <wim@fluendo.com>
20894
20895         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20896         Some debugging.
20897
20898         * gst/gstclock.h:
20899         Cast to ClockTime before formatting to time.
20900
20901         * gst/gstutils.h:
20902         Cleanups.
20903
20904 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20905
20906         * check/gst-libs/controller.c: (GST_START_TEST),
20907         (gst_controller_suite):
20908         * docs/gst/tmpl/gstcaps.sgml:
20909         * docs/gst/tmpl/gstghostpad.sgml:
20910         * docs/gst/tmpl/gstquery.sgml:
20911         * docs/gst/tmpl/gstutils.sgml:
20912         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20913         (gst_object_sink_values), (gst_object_get_value_arrays),
20914         (gst_object_get_value_array):
20915           gracefully handle helper method calls to objects that are not beeing
20916           controlled, added test case for that          
20917
20918 2005-08-23  Wim Taymans  <wim@fluendo.com>
20919
20920         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20921         (gst_event_new_newsegment), (gst_event_parse_newsegment),
20922         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20923         (gst_event_parse_qos), (gst_event_new_seek),
20924         (gst_event_parse_seek):
20925         * gst/gstevent.h:
20926         Some more debugging output and doc cleanups.
20927
20928         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20929         Fix possible deadlock.
20930
20931 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20932
20933         * docs/gst/gstreamer-docs.sgml:
20934         * docs/gst/gstreamer-sections.txt:
20935         * docs/gst/gstreamer.types:
20936         * docs/gst/tmpl/.cvsignore:
20937         * gst/gstbin.h:
20938         * gst/gstbus.c:
20939         * gst/gstelement.c:
20940         * gst/gstevent.h:
20941           added 100 symbols from gstreamer-unused.txt to the right sections
20942           fixed more broken comments
20943           added GstBus to docs
20944
20945 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20946
20947         * docs/gst/gstreamer-sections.txt:
20948         * docs/gst/tmpl/.cvsignore:
20949         * docs/gst/tmpl/gstbin.sgml:
20950         * docs/gst/tmpl/gstbuffer.sgml:
20951         * gst/base/gstbasesrc.c:
20952         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20953         * gst/gstbuffer.c:
20954         * gst/gstbuffer.h:
20955         * tools/gst-launch.1.in:
20956           inlined more doc comments, added missing comments and fixed comments
20957           fixed typos
20958
20959 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20960
20961         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20962           some debugging
20963         * gst/gstcaps.h:
20964           whitespace fixes
20965         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20966           more debugging
20967         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20968         * gst/gststructure.h:
20969           add a fixate function for booleans; add a FIXME that these func
20970           names should probably be gst_structure_fixate_*
20971
20972 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20973
20974         * docs/gst/gstreamer-docs.sgml:
20975         * docs/gst/gstreamer-sections.txt:
20976         * gst/Makefile.am:
20977         * gst/gstbin.c: (gst_bin_get_type),
20978         (gst_bin_child_proxy_get_child_by_index),
20979         (gst_bin_child_proxy_get_children_count),
20980         (gst_bin_child_proxy_init):
20981         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20982         (gst_child_proxy_get_child_by_index),
20983         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20984         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20985         (gst_child_proxy_get), (gst_child_proxy_set_property),
20986         (gst_child_proxy_set_valist), (gst_child_proxy_set),
20987         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20988         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20989         * gst/gstchildproxy.h:
20990         * gst/parse/grammar.y:
20991         * tools/gst-inspect.c: (print_interfaces),
20992         (print_element_properties_info), (print_element_info):
20993           ported gstchildproxy over from 0.8
20994           ported gst-inspect fixes and enhancements over from 0.8
20995
20996 2005-08-22  Wim Taymans  <wim@fluendo.com>
20997
20998         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20999         (gst_base_transform_handle_buffer):
21000         Also call the transform function if we have ANY caps.
21001
21002         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
21003         Fix debug info.
21004
21005 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21006
21007         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
21008           Don't pretend to handle seek events if the source is not seekable
21009
21010 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21011
21012         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21013           Remove extra parameter to debug output
21014
21015         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21016         (gst_base_src_do_seek), (gst_base_src_activate_push):
21017           Fix seek event handling.
21018
21019         * gst/gstpipeline.c: (gst_pipeline_change_state):
21020         * gst/gstqueue.c: (gst_queue_handle_sink_event),
21021         (gst_queue_src_activate_push):
21022           Don't start the src pad task on FLUSH_STOP if the pad
21023           isn't linked.
21024           Debug changes.
21025
21026 2005-08-22  Wim Taymans  <wim@fluendo.com>
21027
21028         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21029         Added check for gst_static_caps_get() refcounting.
21030
21031 2005-08-22  Wim Taymans  <wim@fluendo.com>
21032
21033         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21034         Make _static_caps_get() refcounting sane.
21035         
21036         * gst/gstelement.c: (gst_element_set_state):
21037         Add g_return_val_if_fail() to protect against segfaults.
21038
21039 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
21040
21041         * docs/gst/tmpl/gstevent.sgml:
21042         * gst/gstevent.c:
21043         * gst/gstevent.h:
21044           inlined remaining docs, added missing doc comments
21045
21046 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21047
21048         * check/gst/gstbin.c: (GST_START_TEST):
21049           since we don't know when preroll is done, use refcount range
21050           check for the sink
21051         * gst/check/gstcheck.h:
21052           add macro for checking refcount range
21053
21054 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21055
21056         * check/Makefile.am:
21057           clean up environment for when registry gets built versus
21058           when actual tests are run; valgrind seems to not report
21059           leaks if GST_PLUGIN_PATH is set to some specific values
21060         * check/gst/gstbin.c: (GST_START_TEST):
21061           add more refcounting checks; maybe this exposes a
21062           preroll lock bug ?
21063         * common/check.mak:
21064         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21065         * gst/check/gstcheck.h:
21066         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21067         (gst_bin_change_state):
21068         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21069           add/fix debugging/whitespace
21070
21071 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21072
21073         * check/gst/gstevent.c: (event_probe), (test_event),
21074         (GST_START_TEST):
21075          Er, don't call gst_bin_watch_for_state_change you idiot.
21076
21077 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21078
21079         * check/Makefile.am:
21080           Use CHECK_CFLAGS and CHECK_LIBS
21081         * check/gst/gstevent.c: (event_probe), (test_event),
21082         (GST_START_TEST):
21083           Don't leak events.
21084         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21085         (gst_base_src_start), (gst_base_src_stop),
21086         (gst_base_src_activate_push), (gst_base_src_activate_pull),
21087         (gst_base_src_change_state):
21088           Sprinkle gst_base_src_stop liberally around error paths to fix
21089           problems reusing a source after failed state changes.
21090         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21091         (helper_find_suggest), (gst_type_find_helper):
21092           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21093         * gst/gstevent.h:
21094         * docs/gst/tmpl/gstevent.sgml:
21095           Migrate part of the docs from the SGML file. Wait for ensonic to
21096           tell me how I did it wrong ;)
21097         * tools/gst-typefind.c: (main):
21098           Extra robustness to state changes between files.
21099
21100 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21101
21102         * check/Makefile.am:
21103           don't valgrind the controller test - it's leaking - Stefan, HELP
21104         * gst/check/gstcheck.c: (gst_check_message_error),
21105         (gst_check_chain_func), (gst_check_setup_element),
21106         (gst_check_teardown_element), (gst_check_setup_src_pad),
21107         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21108         (gst_check_teardown_sink_pad):
21109         * gst/check/gstcheck.h:
21110           add a bunch of methods to set up elements, and src and sink pads
21111         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21112         * check/elements/identity.c: (setup_identity), (cleanup_identity),
21113         (GST_START_TEST):
21114           use them
21115         * gst/gstmessage.c:
21116         * gst/gsttag.h:
21117           whitespace/doc fixes
21118
21119 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21120
21121         * gst/gstelement.h:
21122           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21123           be handled by the application and not always printed as well
21124
21125 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21126
21127         * check/Makefile.am:
21128           set GST_TOOLS_DIR
21129         * gst/check/gstcheck.c: (gst_check_message_error):
21130         * gst/check/gstcheck.h:
21131           add a fail_unless_equals_int
21132           add fail_unless for error messages
21133
21134 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21135
21136         * check/Makefile.am:
21137         * check/gst.supp:
21138         * common/Makefile.am:
21139         * common/check.mak:
21140         * common/gst.supp:
21141           factor out some of the common stuff so we can use it
21142
21143 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21144
21145         * check/Makefile.am:
21146         * check/gst/gstiterator.c: (GST_START_TEST):
21147         * check/gst/gstsystemclock.c: (GST_START_TEST),
21148         (gst_systemclock_suite):
21149         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21150         * gst/gstclock.c:
21151           valgrind more tests
21152
21153 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21154
21155         * check/elements/.cvsignore:
21156         * check/elements/gstfakesrc.c:
21157           rename to name of element
21158         * check/elements/identity.c: (chain_func), (event_func),
21159         (setup_identity), (cleanup_identity), (GST_START_TEST),
21160         (identity_suite), (main):
21161           add a test for identity
21162         * check/Makefile.am:
21163         * pkgconfig/Makefile.am:
21164         * pkgconfig/gstreamer-check.pc.in:
21165         * pkgconfig/gstreamer-check-uninstalled.pc.in:
21166         * gst/check:
21167         * gst/Makefile.am:
21168         * configure.ac:
21169           move the check stuff to a library that gets installed
21170         * check/gst-libs/controller.c: (GST_START_TEST):
21171         * check/gst-libs/gdp.c:
21172         * check/gst/gst.c: (GST_START_TEST):
21173         * check/gst/gstbin.c:
21174         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21175         * check/gst/gstbus.c:
21176         * check/gst/gstcaps.c: (GST_START_TEST):
21177         * check/gst/gstelement.c:
21178         * check/gst/gstghostpad.c:
21179         * check/gst/gstiterator.c:
21180         * check/gst/gstmessage.c:
21181         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21182         * check/gst/gstobject.c:
21183         * check/gst/gstpad.c: (GST_START_TEST):
21184         * check/gst/gststructure.c: (GST_START_TEST):
21185         * check/gst/gstsystemclock.c: (GST_START_TEST),
21186         (gst_systemclock_suite):
21187         * check/gst/gsttag.c: (gst_tag_suite):
21188         * check/gst/gstvalue.c:
21189         * check/pipelines/cleanup.c:
21190         * check/pipelines/simple_launch_lines.c:
21191         * check/states/sinks.c:
21192           change include statement
21193
21194         * docs/gst/gstreamer-sections.txt:
21195         * docs/gst/tmpl/gstpad.sgml:
21196           document more pad stuff
21197         * gst/gstminiobject.c: (gst_mini_object_ref),
21198         (gst_mini_object_unref):
21199           debug refcounting
21200
21201 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
21202
21203         * docs/gst/tmpl/gst.sgml:
21204         * gst/gst.c:
21205           eliminate another tmpl file, fix spelling in the long-description
21206
21207 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21208
21209         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21210         (test_event), (timediff), (gstevents_suite):
21211           Should fix build on 64-bit arch's
21212
21213 2005-08-18  Andy Wingo  <wingo@pobox.com>
21214
21215         Make sure that when a pipeline goes to PLAYING, that data has
21216         actually hit the sink.
21217
21218         * check/states/sinks.c (test_sink): A sink that doesn't get any
21219         data shouldn't return SUCCESS for going to either PLAYING or
21220         PAUSED. Test also the return values on the way back down.
21221
21222         * gst/gstelement.c (gst_element_set_state): When changing the
21223         state of an element currently changing state asynchronously, go to
21224         lost-state after commiting the pending state. Makes future calls
21225         to get_state continue to return ASYNC.
21226
21227         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21228         ASYNC when going to PLAYING if we still don't have preroll, as can
21229         happen with live sources.
21230
21231 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21232
21233         * docs/pwg/advanced-types.xml:
21234           Hack long paragraph into 2 chunks as a workaround for buggy
21235           jadetex version in sid and breezy that loops infinitely and
21236           eats all RAM.
21237
21238 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21239
21240         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21241         (test_event), (timediff), (gstevents_suite):
21242           Provide more error margin in clock measurements to allow for 
21243           g_get_current_time inaccuracies.
21244
21245 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21246
21247         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21248         (test_event), (timediff), (gstevents_suite):
21249            Fix error message output so I might be able to tell why the
21250            test works here but fails on the build farm.
21251
21252 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21253
21254         * check/Makefile.am:
21255         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21256         (test_event), (timediff), (gstevents_suite), (main):
21257           I wrote a test!
21258
21259         * docs/design/part-seeking.txt:
21260           Spelling correction
21261
21262         * docs/gst/tmpl/gstevent.sgml:
21263         * docs/gst/tmpl/gstfakesrc.sgml:
21264           Docs updates.
21265
21266         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21267           Treat a buffer-without-newsegment the same as a receiving 
21268           a newsegment not in time format, and disable syncing to the clock
21269           with a warning.
21270
21271         * gst/gstbus.c: (gst_bus_set_sync_handler):
21272           Assert if anyone tries to replace the existing sync_handler for bus, 
21273           as only the owner should be setting it.
21274
21275         * gst/gstevent.h:
21276           Have a fixed set of custom event enums with events identified by
21277           their structure name (as in 0.8), rather than a free-for-all
21278           allowing collisions between enum values from different plugins.
21279
21280         * gst/gstpad.c: (gst_pad_class_init):
21281           Docs change.
21282           
21283         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21284           Handle out-of-band downstream events from the sending thread.
21285
21286 2005-08-17  Andy Wingo  <wingo@pobox.com>
21287
21288         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21289         play-timeout==0 to mean no timeout at all. In that case, don't
21290         bother with a get_state or a warning, just return directly, even
21291         if it's ASYNC.
21292
21293         * gst/base/gstbasetransform.c: Debug changes.
21294
21295         * gst/gstutils.h:
21296         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21297         ensure bins post state change messages. A bit of a hack but I can't
21298         think of a way to avoid it.
21299
21300         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21301
21302 2005-08-16  Andy Wingo  <wingo@pobox.com>
21303
21304         * gst/base/gstadapter.h:
21305         * gst/base/gstadapter.c (gst_adapter_take): New function, like
21306         peek() but you own the data. Not terribly efficient atm.
21307
21308 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21309
21310         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21311         (gst_element_found_tags):
21312         * gst/gstutils.h:
21313           Add two utility functions for tag handling.
21314
21315 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21316
21317         * docs/manual/advanced-dataaccess.xml:
21318         * docs/manual/basics-helloworld.xml:
21319           Fix docs to use _bin_add() before _link(), which fixes the examples
21320           with recent core versions (reported by Madhan Raj M
21321           <raj_madan@rediffmail.com>, #313199).
21322
21323 2005-08-16  Wim Taymans  <wim@fluendo.com>
21324
21325         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21326         Added subtract checks.
21327
21328         * docs/design/part-events.txt:
21329         Some more docs about newsegment
21330
21331         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21332         Fix FIXME
21333
21334         * gst/gstcaps.c: (gst_caps_to_string):
21335         Add comments, cleanups.
21336         
21337         * gst/gstelement.c: (gst_element_save_thyself):
21338         cleanups
21339         
21340         * gst/gstvalue.c: (gst_value_collect_int_range),
21341         (gst_string_unwrap), (gst_value_union_int_int_range),
21342         (gst_value_union_int_range_int_range),
21343         (gst_value_intersect_int_int_range),
21344         (gst_value_intersect_int_range_int_range),
21345         (gst_value_intersect_double_double_range),
21346         (gst_value_intersect_double_range_double_range),
21347         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21348         (gst_value_subtract_int_range_int),
21349         (gst_value_subtract_double_range_double),
21350         (gst_value_subtract_double_range_double_range),
21351         (gst_value_subtract_from_list), (gst_value_subtract_list),
21352         (gst_value_can_compare), (gst_value_compare_fraction):
21353         Cleanups, add comments, remove unneeded asserts.
21354
21355 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21356
21357         * tools/gst-launch.c: (event_loop):
21358           don't convert NULL structures to strings
21359
21360 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
21361
21362         * docs/gst/gstreamer-sections.txt:
21363           made some defines private
21364         * docs/gst/tmpl/gstconfig.sgml:
21365         * docs/gst/tmpl/gstqueue.sgml:
21366         * docs/gst/tmpl/gsttaglist.sgml:
21367         * docs/gst/tmpl/gsttypes.sgml:
21368         * docs/gst/tmpl/gstutils.sgml:
21369         * docs/pwg/appendix-porting.xml:
21370         * gst/base/gstbasesink.h:
21371         * gst/base/gstbasesrc.c:
21372         * gst/base/gstbasesrc.h:
21373         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21374         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21375         * gst/gstelement.c: (gst_element_class_init):
21376         * gst/gstpad.c: (gst_pad_class_init):
21377         * gst/gstqueue.c: (gst_queue_class_init):
21378         * gst/gstxml.c: (gst_xml_class_init):
21379           documented all undocumented signal inline
21380         * libs/gst/controller/gst-controller.h:
21381           added padding
21382
21383 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21384
21385         * docs/pwg/appendix-porting.xml:
21386           Document _set_link_function -> _set_setcaps_function.
21387
21388 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21389
21390         * check/Makefile.am:
21391           add a .check target for running the check
21392         * check/gst-libs/controller.c: (GST_START_TEST):
21393           cosmetic fixups
21394         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21395           complete checks for gstbuffer; would be nice if I could get the
21396           gcov stuff to work so I can see if I actually completed gstbuffer.c
21397         * check/gstcheck.h:
21398           add ASSERT_BUFFER_REFCOUNT
21399
21400 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
21401
21402         * docs/gst/gstreamer-sections.txt:
21403         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21404         * gst/gsttag.h:
21405           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21406           spew out a warning if a tag that is already registered
21407           is re-registered, unless it is re-registered with a 
21408           different type (#308438).
21409
21410 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
21411
21412         * docs/pwg/appendix-porting.xml:
21413         * docs/pwg/building-state.xml:
21414           Add some paragraphs about state changes in 0.9 to the PWG
21415           and the porting guide, in particular about the new meaning
21416           of GST_STATE_PAUSED and how to write state change functions
21417           with concurrent access by multiple threads in mind.
21418
21419 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21420
21421         * docs/gst/gstreamer-docs.sgml:
21422         * docs/libs/gstreamer-libs-docs.sgml:
21423           added deprecation and since indexes
21424         * libs/gst/controller/gst-controller.c:
21425         * libs/gst/controller/gst-helper.c:
21426           added since tags
21427
21428
21429 2005-08-11  Wim Taymans  <wim@fluendo.com>
21430
21431         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21432         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21433         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21434         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21435         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21436         (gst_ghost_pad_set_target):
21437         Actually implement (re)setting the target on a ghostpad
21438         as described in the docs.
21439
21440 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21441
21442         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21443           Check whether GST_DEBUG_NO_COLOR environment variable is
21444           set and disable coloured debug output if that is the case.
21445
21446 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21447
21448         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21449         (gst_type_find_helper):
21450           The memory returned by gst_type_find_peek() needs to
21451           stay valid until the end of a typefind function, and
21452           typefind functions may keep results from different 
21453           offsets around, so we can't just unref the buffer from
21454           the previous _peek(), but have to save all buffers 
21455           returned by _peek() until typefinding is done and only
21456           free them then.
21457
21458 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
21459
21460         * docs/gst/gstreamer-sections.txt:
21461         * gst/gstutils.h:
21462           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21463
21464 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21465
21466         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21467           Fix a pretty good memleak.
21468
21469 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21470
21471         * gst/gstiterator.h:
21472           Fix wrong include and 'make distcheck'.
21473
21474 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21475
21476         * gst/gstbin.c: (bin_bus_handler):
21477           Use gst_element_post_message() instead.
21478
21479 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21480
21481         * gst/base/gstadapter.h:
21482         * gst/base/gstbasesink.h:
21483         * gst/base/gstbasesrc.h:
21484         * gst/base/gstbasetransform.h:
21485         * gst/base/gstcollectpads.h:
21486         * gst/base/gstpushsrc.h:
21487         * gst/gstiterator.h:
21488           Add padding to our base elements' class and instance structs and
21489           to GstIterator (you will need to rebuild all plugins and apps!)
21490
21491 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21492
21493         * gst/gstbin.c: (bin_bus_handler):
21494           Make default message forwarding from child->bus to bin->bus
21495           threadsafe and make it not emit warnings if the parent has no bus.
21496
21497 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21498
21499         * gst/gstelement.c: (activate_pads):
21500           On paused->ready, set pad->caps to NULL, as is the documented
21501           behaviour in this state change. Fixes playback of series of
21502           media files when visualization is enabled in Totem.
21503
21504 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21505
21506         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21507           Allow NULL as filter-caps (which means "any").
21508
21509 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21510
21511         * docs/libs/gstreamer-libs-sections.txt:
21512         * libs/gst/controller/gst-controller.c:
21513         * libs/gst/controller/gst-controller.h:
21514         * libs/gst/controller/gst-helper.c:
21515           adding more entries to the docs and fix small doc-bugs
21516
21517 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21518
21519         * docs/gst/gstreamer-docs.sgml:
21520         * docs/gst/gstreamer-sections.txt:
21521         * docs/gst/gstreamer.types:
21522         * docs/gst/tmpl/gstbasesink.sgml:
21523         * docs/gst/tmpl/gstbasesrc.sgml:
21524         * docs/gst/tmpl/gstbasetransform.sgml:
21525         * docs/gst/tmpl/gstfakesrc.sgml:
21526         * gst/base/gstcollectpads.c:
21527         * gst/base/gstcollectpads.h:
21528         * libs/gst/controller/gst-controller.c:
21529         * libs/gst/controller/gst-controller.h:
21530         * libs/gst/controller/gst-helper.c:
21531         * libs/gst/controller/gst-interpolation.c:
21532         * libs/gst/controller/lib.c:
21533           added long/short desc for controller docs
21534           added collectpads base class docs
21535           added correct includes to base-class docs
21536
21537 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21538
21539         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21540         (gst_test_mono_source_set_property),
21541         (gst_test_mono_source_class_init), (GST_START_TEST),
21542         (gst_controller_suite):
21543         * docs/gst/gstreamer-docs.sgml:
21544         * docs/gst/gstreamer-sections.txt:
21545         * docs/gst/gstreamer.types:
21546         * docs/libs/gstreamer-libs-docs.sgml:
21547         * docs/libs/gstreamer-libs-sections.txt:
21548         * gst/base/gstadapter.c:
21549         * libs/gst/controller/gst-controller.c:
21550         (gst_controlled_property_new), (gst_controlled_property_free),
21551         (gst_controller_new_valist),
21552         (gst_controller_remove_properties_valist),
21553         (gst_controller_sink_values), (_gst_controller_finalize):
21554         * libs/gst/controller/gst-controller.h:
21555         * libs/gst/controller/gst-helper.c:
21556         (gst_object_control_properties), (gst_object_uncontrol_properties),
21557         (gst_object_get_controller), (gst_object_set_controller),
21558         (gst_object_sink_values), (gst_object_get_value_arrays),
21559         (gst_object_get_value_array):
21560           more tests (and fixes) for the controller
21561           more docs for the controller
21562           integrated companies docs for the adapter 
21563
21564 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21565
21566         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21567         (GST_START_TEST), (fakesrc_suite):
21568           add tests for sizetype
21569
21570 2005-08-04  Andy Wingo  <wingo@pobox.com>
21571
21572         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21573         fixes buffer_alloc proxying among other things.
21574
21575         * gst/base/gstbasetransform.c:
21576         * gst/base/gstbasetransform.h:
21577         Revert patch to gstbasetransform from 7-28 removing
21578         delay_configure.
21579
21580         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21581         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21582         Semantics changed, should return not the size of the output buffer
21583         but the byte size of a buffer with a given caps.
21584
21585         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21586         debug object.
21587         (gst_base_transform_configure_caps): Don't set out_size here: (in,
21588         out) are not the pad caps until setcaps finishes.
21589         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21590         not-in-place case as well. Deal with changing from in-place to
21591         not-in-place within calling pad_alloc_buffer. Still a bit
21592         concerned about the overhead here...
21593
21594 2005-08-03  Andy Wingo  <wingo@pobox.com>
21595
21596         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21597         fixating is an error.
21598
21599 2005-08-04  Edward Hervey  <edward@fluendo.com>
21600
21601         * gst/base/gstadapter.h: 
21602         Added gst_adapter_get_type() to the header
21603
21604 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21605
21606         * check/Makefile.am:
21607         * check/gst-libs/controller.c:
21608         * libs/gst/controller/gst-controller.c:
21609         (gst_controller_new_valist):
21610           added check test suite for the controller
21611         * gst/base/gstpushsrc.c:
21612           fixed a doc typo
21613
21614 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21615
21616         * docs/gst/Makefile.am:
21617         * docs/gst/gstreamer-docs.sgml:
21618         * docs/gst/gstreamer-sections.txt:
21619         * docs/gst/gstreamer.types:
21620         * docs/gst/tmpl/gstfakesrc.sgml:
21621         * gst/base/README:
21622         * gst/base/gstbasesink.c:
21623         * gst/base/gstbasesink.h:
21624         * gst/base/gstbasesrc.c:
21625         * gst/base/gstbasesrc.h:
21626         * gst/base/gstbasetransform.c:
21627         * gst/base/gstpushsrc.c:
21628         * gst/base/gstpushsrc.h:
21629           add short/long description docs to base classes
21630           add pushsrc to the docs
21631           remove consolidated doc fragments
21632
21633 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21634
21635         * configure.ac:
21636         * docs/libs/Makefile.am:
21637         * docs/libs/gstreamer-libs-docs.sgml:
21638         * docs/libs/gstreamer-libs-sections.txt:
21639         * docs/libs/gstreamer-libs.types:
21640         * examples/Makefile.am:
21641         * examples/controller/.cvsignore:
21642         * examples/controller/Makefile.am:
21643         * examples/controller/audio-example.c: (main):
21644         * libs/gst/Makefile.am:
21645         * libs/gst/controller/.cvsignore:
21646         * libs/gst/controller/Makefile.am:
21647         * libs/gst/controller/gst-controller.c:
21648         (on_object_controlled_property_changed), (gst_timed_value_compare),
21649         (gst_timed_value_find),
21650         (gst_controlled_property_set_interpolation_mode),
21651         (gst_controlled_property_new), (gst_controlled_property_free),
21652         (gst_controller_find_controlled_property),
21653         (gst_controller_new_valist), (gst_controller_new),
21654         (gst_controller_remove_properties_valist),
21655         (gst_controller_remove_properties), (gst_controller_set),
21656         (gst_controller_set_from_list), (gst_controller_unset),
21657         (gst_controller_get), (gst_controller_get_all),
21658         (gst_controller_sink_values), (gst_controller_get_value_arrays),
21659         (gst_controller_get_value_array),
21660         (gst_controller_set_interpolation_mode),
21661         (_gst_controller_finalize), (_gst_controller_init),
21662         (_gst_controller_class_init), (gst_controller_get_type):
21663         * libs/gst/controller/gst-controller.h:
21664         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21665         (g_object_uncontrol_properties), (g_object_get_controller),
21666         (g_object_set_controller), (g_object_sink_values),
21667         (g_object_get_value_arrays), (g_object_get_value_array):
21668         * libs/gst/controller/gst-interpolation.c:
21669         (gst_controlled_property_find_timed_value_node),
21670         (interpolate_none_get), (interpolate_trigger_get),
21671         (interpolate_trigger_get_value_array):
21672         * libs/gst/controller/lib.c: (gst_controller_init):
21673         * pkgconfig/Makefile.am:
21674         * pkgconfig/gstreamer-control-uninstalled.pc.in:
21675         * pkgconfig/gstreamer-control.pc.in:
21676         * testsuite/Makefile.am:
21677         * testsuite/controller/.cvsignore:
21678         * testsuite/controller/Makefile.am:
21679         * testsuite/controller/interpolator.c: (main):
21680           added controller code
21681           removed dparam pc files
21682
21683 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21684         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21685         (gst_collectpads_stop):
21686           Broadcast the condition when shutting down, to make sure we wake all
21687           threads up. Shut down pads on finalize, for safety.
21688
21689 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21690         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21691         (gst_base_transform_handle_buffer),
21692         (gst_base_transform_change_state):
21693           Handle PAUSED->READY->PAUSED transition after negotiation
21694           occurred already.
21695         * gst/gstmessage.c: (gst_message_init):
21696           Extra piece of debug for new messages.
21697
21698 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
21699
21700         * configure.ac:
21701         * docs/gst/tmpl/gstbasesrc.sgml:
21702         * docs/gst/tmpl/gstelement.sgml:
21703         * docs/gst/tmpl/gstevent.sgml:
21704         * docs/gst/tmpl/gstfakesrc.sgml:
21705         * docs/gst/tmpl/gstformat.sgml:
21706         * docs/gst/tmpl/gstghostpad.sgml:
21707         * docs/gst/tmpl/gstpad.sgml:
21708         * docs/gst/tmpl/gstquery.sgml:
21709         * docs/gst/tmpl/gststructure.sgml:
21710         * docs/gst/tmpl/gsttaglist.sgml:
21711         * docs/gst/tmpl/gstvalue.sgml:
21712         * docs/libs/gstreamer-libs-docs.sgml:
21713         * docs/libs/gstreamer-libs-sections.txt:
21714         * docs/libs/gstreamer-libs.types:
21715         * libs/gst/Makefile.am:
21716         * libs/gst/control/.cvsignore:
21717         * libs/gst/control/Makefile.am:
21718         * libs/gst/control/control.c:
21719         * libs/gst/control/control.h:
21720         * libs/gst/control/dparam.c:
21721         * libs/gst/control/dparam.h:
21722         * libs/gst/control/dparam_smooth.c:
21723         * libs/gst/control/dparam_smooth.h:
21724         * libs/gst/control/dparamcommon.h:
21725         * libs/gst/control/dparammanager.c:
21726         * libs/gst/control/dparammanager.h:
21727         * libs/gst/control/dplinearinterp.c:
21728         * libs/gst/control/dplinearinterp.h:
21729         * libs/gst/control/unitconvert.c:
21730         * libs/gst/control/unitconvert.h:
21731         * testsuite/Makefile.am:
21732         * testsuite/dynparams/.cvsignore:
21733         * testsuite/dynparams/Makefile.am:
21734         * testsuite/dynparams/dparamstest.c:
21735         * tools/Makefile.am:
21736         * tools/gst-inspect.c: (print_element_info), (main):
21737         * tools/gst-xmlinspect.c: (print_element_info), (main):
21738           deactivate and remove dparams (libgstcontrol)
21739
21740 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21741
21742         * gst/elements/gsttypefindelement.c:
21743         (gst_type_find_element_have_type), (gst_type_find_element_init),
21744         (stop_typefinding), (gst_type_find_element_handle_event),
21745         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21746         * gst/elements/gsttypefindelement.h:
21747           Set caps on all outgoing buffers, not just the first one.
21748
21749 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21750
21751         * gst/elements/gsttypefindelement.c:
21752         (gst_type_find_element_have_type),
21753         (gst_type_find_element_check_set_buffer_caps),
21754         (gst_type_find_element_init), (stop_typefinding),
21755         (gst_type_find_element_handle_event),
21756         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21757         * gst/elements/gsttypefindelement.h:
21758           Set caps on first outgoing buffer when we've found the type.
21759
21760 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21761
21762         * docs/gst/gstreamer-docs.sgml:
21763         * docs/gst/gstreamer-sections.txt:
21764         * docs/gst/tmpl/gstscheduler.sgml:
21765         * docs/gst/tmpl/gstschedulerfactory.sgml:
21766           Remove some old cruft from docs.
21767
21768 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
21769
21770         * gst/gstpad.h:
21771           Fix inline docs for GstPadLinkReturn.
21772           
21773         * gst/gststructure.c: (gst_structure_has_name):
21774         * gst/gststructure.h:
21775         * docs/gst/gstreamer-sections.txt:
21776           New API: gst_structure_has_name().
21777
21778 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
21779
21780         * configure.ac:
21781           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21782           and _LARGEFILE_SOURCE in config.h as required. Do not 
21783           export those flags in our .pc files any longer (#142209).
21784
21785           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21786
21787         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21788         (gst_file_sink_do_seek), (gst_file_sink_event),
21789         (gst_file_sink_get_current_offset), (gst_file_sink_render):
21790           Redo seek/tell calls with large file support in mind; add some
21791           debugging messages; add log message that tells us when large
21792           file support is unavailable or not enabled for some reason.
21793
21794         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21795           Add log message that tells us when large file support 
21796           is unavailable or not enabled for some reason.
21797
21798 2005-07-29  Wim Taymans  <wim@fluendo.com>
21799
21800         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21801         Added test for removing an element with ghostpad from a bin.
21802         Fixed test as current implementation does the right thing.
21803
21804         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21805         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21806         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21807         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21808         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21809         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21810         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21811         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21812         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21813         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21814         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21815         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21816         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21817         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21818         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21819         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21820         * gst/gstghostpad.h:
21821         Clean up ghostpads, remove properties for internal stuff.
21822         Make threadsafe.
21823         Fix refcounting.
21824         Prepare for switching targets, not all use cases work yet.
21825
21826 2005-07-29  Wim Taymans  <wim@fluendo.com>
21827
21828         * docs/design/part-gstghostpad.txt:
21829         Small update.
21830
21831         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21832         (gst_bin_remove_func):
21833         Unlinking pads while holding the bin LOCK is not a good
21834         idea.
21835
21836         * gst/gstpad.c: (gst_pad_class_init),
21837         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21838         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21839         No prob setting template after creating the pad.
21840
21841 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
21842
21843         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21844         (gst_bus_peek), (gst_bus_source_dispatch),
21845         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21846         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21847           gst_bus_poll may be called from other threads. Handle
21848           this nicely by not making poll_data disappear off the
21849           stack once gst_bus_poll returns.
21850           gst_bus_peek now increments the refcount on the returned
21851           message.
21852
21853 2005-07-29  Wim Taymans  <wim@fluendo.com>
21854
21855         * docs/design/part-gstghostpad.txt:
21856         Overview of current GhostPad datastructures and use
21857         cases for changing the target.
21858
21859 2005-07-28  Wim Taymans  <wim@fluendo.com>
21860
21861         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21862         Added checks for hierarchy consistency whan adding linked
21863         elements to bins.
21864
21865         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21866         Added check to test element scheduling without bin/pipeline.
21867
21868         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21869         First add elements to bin, then link.
21870         
21871         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21872         (gst_bin_remove_func):
21873         Unlink pads from elements added/removed from bin to maintain
21874         hierarchy consistency.
21875
21876 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21877
21878         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21879         (gst_base_transform_handle_buffer):
21880         * gst/base/gstbasetransform.h:
21881           Remove broken delay_configure (fixes renegotiation of software
21882           scaling pipelines); remove some leftover printf()s.
21883
21884 2005-07-28  Wim Taymans  <wim@fluendo.com>
21885
21886         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21887         Added some more tests for wrong hierarchy
21888
21889         * docs/design/part-overview.txt:
21890         Some updates.
21891
21892         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21893         Cleanups.
21894
21895         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21896         (gst_element_dispose):
21897         Some more cleanups.
21898
21899         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21900         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21901         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21902         (gst_pad_set_caps), (gst_pad_send_event):
21903         Check for correct hierarchy when linking pads. Moving to
21904         strict requirement for ghostpads when linking elements in
21905         different bins.
21906
21907         * gst/gstpad.h:
21908         Clean ups. Added WRONG_HIERARCHY return value.
21909
21910 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21911
21912         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21913           Better debug if no transform is possible.
21914
21915 2005-07-27  Wim Taymans  <wim@fluendo.com>
21916
21917         * docs/random/wtay/network-transp:
21918         Some old doc I had.
21919
21920 2005-07-27  Wim Taymans  <wim@fluendo.com>
21921
21922         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21923         (gst_dp_event_from_packet):
21924         Fix serialization of seek events.
21925
21926 2005-07-27  Wim Taymans  <wim@fluendo.com>
21927
21928         * check/gst-libs/gdp.c: (GST_START_TEST):
21929         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21930         Fix compilation and fix event serialization.
21931
21932 2005-07-27  Wim Taymans  <wim@fluendo.com>
21933
21934         * CHANGES-0.9:
21935         * docs/design/part-TODO.txt:
21936         * docs/design/part-events.txt:
21937         Some docs updates
21938
21939         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21940         (gst_base_sink_event), (gst_base_sink_do_sync),
21941         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21942         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21943         (gst_base_src_do_seek), (gst_base_src_event_handler),
21944         (gst_base_src_loop):
21945         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21946         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21947         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21948         (gst_base_transform_event), (gst_base_transform_handle_buffer),
21949         (gst_base_transform_set_passthrough),
21950         (gst_base_transform_is_passthrough):
21951         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21952         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21953         Event updates.
21954
21955         * gst/gstbuffer.h:
21956         Use faster casts.
21957
21958         * gst/gstelement.c: (gst_element_seek):
21959         * gst/gstelement.h:
21960         Update gst_element_seek.
21961
21962         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21963         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21964         (gst_event_new_flush_start), (gst_event_new_flush_stop),
21965         (gst_event_new_eos), (gst_event_new_newsegment),
21966         (gst_event_parse_newsegment), (gst_event_new_tag),
21967         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21968         (gst_event_parse_qos), (gst_event_new_seek),
21969         (gst_event_parse_seek), (gst_event_new_navigation):
21970         * gst/gstevent.h:
21971         Make GstEvent use GstStructure. Add parsing code, make sure the
21972         API is sufficiently generic.
21973         Mark possible directions of events and serialization.
21974
21975         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21976         (_gst_message_copy), (gst_message_new_segment_start),
21977         (gst_message_new_segment_done), (gst_message_new_custom),
21978         (gst_message_parse_segment_start),
21979         (gst_message_parse_segment_done):
21980         Small cleanups.
21981
21982         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21983         (gst_pad_set_caps), (gst_pad_send_event):
21984         Update for new events. 
21985         Catch events sent in wrong directions.
21986
21987         * gst/gstqueue.c: (gst_queue_link_src),
21988         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21989         (gst_queue_handle_src_query):
21990         Event updates.
21991
21992         * gst/gsttag.c:
21993         * gst/gsttag.h:
21994         Remove event code from this file.
21995
21996         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21997         (gst_dp_event_from_packet):
21998         Event updates.
21999
22000 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22001
22002         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
22003         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22004         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
22005           Make debugging actually useful.
22006
22007 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22008
22009         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
22010         (gst_pad_fixate_caps):
22011           Implement default fixation once again, so that gst_pad_fixate()
22012           actually does anything at all. This probably needs to be some
22013           sort of a last resort, and use profile-based fixation first, but
22014           since that doesn't exist yet, this is the best we have. Fixes
22015           visualization in Totem.
22016
22017 2005-07-22  Wim Taymans  <wim@fluendo.com>
22018
22019         * docs/design/part-events.txt:
22020         Small update.
22021
22022         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22023         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
22024         (gst_base_sink_activate_pull):
22025         Some more comments.
22026
22027         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22028         (gst_fake_src_create):
22029         Fix handoff marshall.
22030
22031         * gst/elements/gstidentity.c: (gst_identity_class_init),
22032         (gst_identity_transform_ip):
22033         We're a real inplace element.
22034
22035         * gst/gstbus.c: (gst_bus_post):
22036         Added some comments.
22037
22038         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22039         * tests/muxing/case1.c: (main):
22040         * tests/sched/dynamic-pipeline.c: (main):
22041         * tests/sched/interrupt1.c: (main):
22042         * tests/sched/interrupt2.c: (main):
22043         * tests/sched/interrupt3.c: (main):
22044         * tests/sched/runxml.c: (main):
22045         * tests/sched/sched-stress.c: (main):
22046         * tests/seeking/seeking1.c: (event_received), (main):
22047         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22048         (main):
22049         * tests/threadstate/threadstate3.c: (main):
22050         * tests/threadstate/threadstate4.c: (main):
22051         * tests/threadstate/threadstate5.c: (main):
22052         Fix the tests.
22053
22054 2005-07-21  Wim Taymans  <wim@fluendo.com>
22055
22056         * docs/design/part-seeking.txt:
22057         Some small additions.
22058
22059         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22060         (gst_base_sink_get_times), (gst_base_sink_do_sync),
22061         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22062         * gst/base/gstbasesink.h:
22063         discont values are gint64, handle the math correctly.
22064
22065         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22066         Make the basesrc report error if the source pad is not linked.
22067
22068         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22069         (gst_queue_loop), (gst_queue_handle_src_query),
22070         (gst_queue_src_activate_push):
22071         Make queue collect data even if the srcpad is not linked.
22072         Start pushing out data as soon as it is linked.
22073
22074         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22075         * gst/gstutils.h:
22076         Added gst_flow_get_name() to ease error reporting.
22077
22078 2005-07-20  Wim Taymans  <wim@fluendo.com>
22079
22080         * gst/gstmessage.c: (gst_message_new_segment_start),
22081         (gst_message_new_segment_done), (gst_message_parse_segment_start),
22082         (gst_message_parse_segment_done):
22083         * gst/gstmessage.h:
22084         Added a bunch of messages for advanced seeking.
22085
22086         * gst/parse/grammar.y:
22087         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22088         (gst_dpman_state_changed):
22089         Fix some new-pad -> pad-added signals
22090
22091 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22092
22093         * docs/manual/appendix-porting.xml:
22094         * docs/pwg/appendix-porting.xml:
22095           Document new-pad/state-change signal renames and the FixedList
22096           type rename.
22097
22098 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22099
22100         * docs/manual/advanced-autoplugging.xml:
22101         * docs/manual/basics-helloworld.xml:
22102         * docs/manual/basics-pads.xml:
22103         * docs/random/ds/0.9-suggested-changes:
22104         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22105         * gst/gstelement.h:
22106         * gst/gstevent.h:
22107         * gst/gstformat.h:
22108         * gst/gstquery.h:
22109         * gst/gststructure.c: (gst_structure_value_get_generic_type),
22110         (gst_structure_parse_array), (gst_structure_parse_value):
22111         * gst/gstvalue.c: (gst_type_is_fixed),
22112         (gst_value_list_prepend_value), (gst_value_list_append_value),
22113         (gst_value_list_get_size), (gst_value_list_get_value),
22114         (gst_value_transform_array_string), (gst_value_serialize_array),
22115         (gst_value_deserialize_array), (gst_value_intersect_array),
22116         (gst_value_is_fixed), (_gst_value_initialize):
22117         * gst/gstvalue.h:
22118           GstElement::new-pad -> pad-added, GstElement::state-change ->
22119           state-changed, GstValueFixedList -> GstValueArray, add format and
22120           flags as their own arguments in gst_element_seek() (should improve
22121           "bindeability"), remove function generators since they don't work
22122           under a whole bunch of compilers (they were deprecated already
22123           anyway).
22124
22125 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22126
22127         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22128         (_gst_debug_register_funcptr):
22129         * gst/gstinfo.h:
22130           Fix illegal cast on some platforms (#309253).
22131
22132 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22133
22134         * gst/gstmessage.c: (gst_message_new_custom):
22135         * gst/gstmessage.h:
22136           Add _new_custom, make _new_application a macro to _new_custom.
22137
22138 2005-07-20  Wim Taymans  <wim@fluendo.com>
22139
22140         * gst/base/gstbasesrc.c: (gst_base_src_init),
22141         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22142         * gst/base/gstbasesrc.h:
22143         Add a gboolean to decide when to push out a discont.
22144
22145         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22146         (gst_queue_loop), (gst_queue_handle_src_query),
22147         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22148         (gst_queue_set_property), (gst_queue_get_property):
22149         Some cleanups.
22150
22151         * tests/threadstate/threadstate1.c: (main):
22152         Make a thread test compile and run... very silly..
22153
22154
22155 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22156
22157         * docs/manual/appendix-porting.xml:
22158           Mention removal of libgstgconf-0.9.la and existence of gconf
22159           elements.
22160
22161 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22162
22163         * docs/pwg/advanced-clock.xml:
22164         * docs/pwg/appendix-porting.xml:
22165         * docs/pwg/intro-preface.xml:
22166         * docs/pwg/other-base.xml:
22167         * docs/pwg/other-manager.xml:
22168         * docs/pwg/other-nton.xml:
22169         * docs/pwg/other-ntoone.xml:
22170         * docs/pwg/other-oneton.xml:
22171         * docs/pwg/pwg.xml:
22172           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22173           demuxer), remove n-to-n (was never written), fix some code examples
22174           and links and update the porting section to include all this.
22175
22176 2005-07-19  Wim Taymans  <wim@fluendo.com>
22177
22178         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22179         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22180         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22181         (gst_queue_src_activate_push), (gst_queue_change_state),
22182         (gst_queue_get_property):
22183         * gst/gstqueue.h:
22184         Propagate GstFlowReturn more intelligently upstream and output
22185         an ERROR/EOS when streaming stopped due to fatal error.
22186
22187 2005-07-19  Wim Taymans  <wim@fluendo.com>
22188
22189         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22190         Don't block forever for the state change to complete, the
22191         pipeline already did with a sensible timeout.
22192
22193 2005-07-19  Wim Taymans  <wim@fluendo.com>
22194
22195         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22196         Make sure we never call the create function is we
22197         got deactivated.
22198
22199 2005-07-19  Andy Wingo  <wingo@pobox.com>
22200
22201         * gst/parse/parse.l: Attempt to solve bug #172815.
22202
22203 2005-07-19  Wim Taymans  <wim@fluendo.com>
22204
22205         * docs/design/part-clocks.txt:
22206         * docs/design/part-events.txt:
22207         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22208         Small docs updates.
22209         Only update the seeking values when we are not
22210         busy streaming.
22211
22212 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22213
22214         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22215           Oops, ignore the result of gst_pad_push_event here.
22216
22217 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22218
22219         * gst/base/gstbasesrc.c: (gst_base_src_loop),
22220         (gst_base_src_activate_push):
22221           Send discont event from the loop function, as pads
22222           aren't activated yet in the activate_push handler.
22223
22224         * gst/gstbin.c: (bin_bus_handler):
22225           Don't leak element name.
22226
22227 2005-07-18  Andy Wingo  <wingo@pobox.com>
22228
22229         * configure.ac: Use AS_LIBTOOL_TAGS.
22230
22231 2005-07-18  Wim Taymans  <wim@fluendo.com>
22232
22233         * docs/gst/gstreamer.types:
22234         Remove deleted types.
22235
22236 2005-07-18  Wim Taymans  <wim@fluendo.com>
22237
22238         * check/elements/gstfakesrc.c: (GST_START_TEST):
22239         * configure.ac:
22240         * gst/Makefile.am:
22241         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22242         (init_popt_callback):
22243         * gst/gst.h:
22244         * gst/gst_private.h:
22245         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22246         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22247         * gst/gstbin.h:
22248         * gst/gstbus.h:
22249         * gst/gstconfig.h.in:
22250         * gst/gstelement.c: (gst_element_class_init),
22251         (gst_element_set_base_time), (gst_element_get_base_time),
22252         (iterator_fold_with_resync), (gst_element_change_state),
22253         (gst_element_dispose), (gst_element_get_bus):
22254         * gst/gstelement.h:
22255         * gst/gstelementfactory.h:
22256         * gst/gsterror.c: (_gst_core_errors_init):
22257         * gst/gsterror.h:
22258         * gst/gstevent.h:
22259         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22260         * gst/gstindex.c:
22261         * gst/gstinfo.c: (_gst_debug_init):
22262         * gst/gstmessage.c: (_gst_message_copy):
22263         * gst/gstmessage.h:
22264         * gst/gstminiobject.h:
22265         * gst/gstobject.c:
22266         * gst/gstobject.h:
22267         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22268         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22269         * gst/gstpad.h:
22270         * gst/gstparse.h:
22271         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22272         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22273         (gst_pipeline_get_last_stream_time):
22274         * gst/gstpipeline.h:
22275         * gst/gstpluginfeature.h:
22276         * gst/gstquery.h:
22277         * gst/gstscheduler.c:
22278         * gst/gstscheduler.h:
22279         * gst/gststructure.h:
22280         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22281         (gst_task_finalize), (gst_task_func), (gst_task_create),
22282         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22283         (gst_task_stop), (gst_task_pause):
22284         * gst/gsttask.h:
22285         * gst/gsttypefind.h:
22286         * gst/gsttypes.h:
22287         * gst/registries/gstlibxmlregistry.c: (load_feature),
22288         (gst_xml_registry_load), (gst_xml_registry_save_feature):
22289         * gst/registries/gstxmlregistry.c:
22290         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22291         * gst/schedulers/threadscheduler.c:
22292         * libs/gst/control/dparammanager.h:
22293         * tools/gst-inspect.c: (print_element_list),
22294         (print_plugin_features), (print_element_features):
22295         * tools/gst-xmlinspect.c: (print_element_list),
22296         (print_plugin_info), (main):
22297         Removed plugable schedulers.
22298         Removed Scheduler/Manager from elements.
22299         Removed gsttypes.h, rearranged includes.
22300         Removed dependency pad<->element, element<>pipeline, and
22301         various others,  fix includes.
22302         implement gst_pad_get_parent() with gst_object_get_parent()
22303         Make GstTask sefcontained.
22304         Fix _get_state() on GstBin, it did not return ASYNC with a 0
22305         timeout.
22306         Fix endless loop in iterator_fold_with_resync.
22307
22308
22309 2005-07-18  Wim Taymans  <wim@fluendo.com>
22310
22311         * gst/Makefile.am:
22312         * gst/gstarch.h:
22313         Remove old file.
22314
22315 2005-07-18  Wim Taymans  <wim@fluendo.com>
22316
22317         * gst/Makefile.am:
22318         No more cothreads.h
22319
22320 2005-07-18  Wim Taymans  <wim@fluendo.com>
22321
22322         * gst/cothreads.c:
22323         * gst/cothreads.h:
22324         Let's remove these.
22325
22326 2005-07-18  Wim Taymans  <wim@fluendo.com>
22327
22328         * docs/design/part-dynamic.txt:
22329         * docs/design/part-events.txt:
22330         * docs/design/part-seeking.txt:
22331         Some more docs in the works.
22332
22333         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22334         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22335         (gst_base_transform_setcaps), (gst_base_transform_get_size),
22336         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22337         (gst_base_transform_handle_buffer),
22338         (gst_base_transform_sink_activate_push),
22339         (gst_base_transform_src_activate_pull),
22340         (gst_base_transform_set_passthrough),
22341         (gst_base_transform_is_passthrough):
22342         Refcounting fixes.
22343
22344         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22345         Cleanups.
22346
22347         * gst/gstevent.c: (gst_event_finalize):
22348         Set SRC to NULL.
22349
22350         * gst/gstutils.c: (gst_element_unlink),
22351         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22352         (gst_pad_proxy_setcaps):
22353         * gst/gstutils.h:
22354         Add _get_parent_element() to get a pads parent as an element.
22355
22356 2005-07-18  Wim Taymans  <wim@fluendo.com>
22357
22358         * check/gst/gstbin.c: (GST_START_TEST):
22359         Remove bogus test.
22360
22361 2005-07-18  Wim Taymans  <wim@fluendo.com>
22362
22363         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22364         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22365         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22366         (gst_base_sink_event), (gst_base_sink_do_sync),
22367         (gst_base_sink_chain), (gst_base_sink_loop),
22368         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22369         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22370         Refcounting fixes.
22371         Fix logic for returning ASYNC when not prerolled.
22372
22373 2005-07-18  Wim Taymans  <wim@fluendo.com>
22374
22375         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22376         Fix nasty refcount bug.
22377
22378 2005-07-16 Philippe Khalaf <burger@speedy.org>
22379
22380         * gst/elements/gstfdsrc.c:
22381         * gst/elements/gstfdsrc.h:
22382         * gst/elements/gstelements.c:
22383         * gst/elements/Makefile.am:
22384         Ported fdsrc to 0.9.
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_do_sync):
22390         Fix compile error.
22391
22392 2005-07-16  Wim Taymans  <wim@fluendo.com>
22393
22394         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22395         (gst_base_sink_event), (gst_base_sink_get_times),
22396         (gst_base_sink_do_sync), (gst_base_sink_change_state):
22397         * gst/base/gstbasesink.h:
22398         Store and use discont values when syncing buffers as described
22399         in design docs.
22400         
22401         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22402         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22403         (gst_base_src_activate_push):
22404         Push discont event when starting.
22405
22406         * gst/elements/gstidentity.c: (gst_identity_transform):
22407         Small cleanups.
22408
22409         * gst/gstbin.c: (gst_bin_change_state):
22410         Small cleanups in base_time  distribution.
22411
22412         * gst/gstelement.c: (gst_element_set_base_time),
22413         (gst_element_get_base_time), (gst_element_change_state):
22414         * gst/gstelement.h:
22415         Added methods for the base_time of the element.
22416         Some MT fixes.
22417
22418         * gst/gstpipeline.c: (gst_pipeline_send_event),
22419         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22420         (gst_pipeline_get_last_stream_time):
22421         * gst/gstpipeline.h:
22422         MT fixes.
22423         Handle seeking as described in design doc, remove stream_time
22424         hack.
22425         Cleanups clock and stream_time selection code. Added accessors
22426         for the stream_time.
22427         
22428
22429 2005-07-16  Andy Wingo  <wingo@pobox.com>
22430
22431         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22432         (#305291).
22433
22434 2005-07-16  Wim Taymans  <wim@fluendo.com>
22435
22436         * check/gst/gstbin.c: (GST_START_TEST):
22437         Make elements silent as the deep_notify refs the
22438         parent, which might make the test fail.
22439
22440         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22441         Don't hold the lock for too long.
22442
22443 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
22444
22445         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22446           Don't unref the caps we passed to gst_caps_make_writable() after
22447           passing them. gst_caps_make_writable() will do that for us.
22448
22449 2005-07-15  Andy Wingo  <wingo@pobox.com>
22450
22451         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22452         (#157311).
22453
22454         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22455         own marshalling function for the handoff signal. Properly type the
22456         buffer as a buffer. Fixes some warnings. Should do a more general
22457         solution.
22458         (gst_identity_class_init): Plug into the right marshaller.
22459
22460 2005-07-15  Wim Taymans  <wim@fluendo.com>
22461
22462         * docs/design/part-TODO.txt:
22463         * docs/design/part-clocks.txt:
22464         * docs/design/part-element-sink.txt:
22465         * docs/design/part-events.txt:
22466         * docs/design/part-gstpipeline.txt:
22467         Updated docs, mostly DISCONT related.
22468
22469 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
22470
22471         * docs/pwg/building-pads.xml:
22472           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22473
22474 2005-07-15  Andy Wingo  <wingo@pobox.com>
22475
22476         * tools/gst-typefind.c: Update, add copyright block.
22477
22478         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22479         Normalize and truncate caps before fixation.
22480
22481         * gst/gstcaps.h:
22482         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22483         discards all but the first structure from its argument.
22484
22485 2005-07-15  Wim Taymans  <wim@fluendo.com>
22486
22487         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22488         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22489         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22490         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22491         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22492         (gst_base_transform_chain), (gst_base_transform_change_state),
22493         (gst_base_transform_set_passthrough),
22494         (gst_base_transform_is_passthrough):
22495         * gst/base/gstbasetransform.h:
22496         Make passthrough work using the bufferpools.
22497         Changed API a bit, subclasses have to write into a buffer
22498         provided by the base class.
22499         More debug info in nego functions.
22500         
22501         * gst/elements/gstidentity.c: (gst_identity_init),
22502         (gst_identity_transform):
22503         Port to new base class.
22504
22505 2005-07-15  Wim Taymans  <wim@fluendo.com>
22506
22507         * gst/gstmessage.c: (gst_message_new_state_changed):
22508         * tools/gst-launch.c: (event_loop), (main):
22509         Totally dump messages in -launch with the -m option.
22510         Fix message name for State messages,
22511
22512 2005-07-14  Wim Taymans  <wim@fluendo.com>
22513
22514         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22515         Post error messages on errors.
22516
22517 2005-07-14  Wim Taymans  <wim@fluendo.com>
22518
22519         * gst/gstcaps.c: (gst_caps_do_simplify):
22520         Remove debug info.
22521
22522         * gst/gsterror.h:
22523         Define error for stream stopped.
22524
22525         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22526         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22527         Do proper return values.
22528
22529         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22530         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22531         (gst_pad_get_range):
22532         Better return values.
22533
22534         * gst/gstpad.h:
22535         Reorganise return values, add macro to check for fatal errors.
22536
22537         * gst/gstqueue.c: (gst_queue_chain):
22538         Return proper GstFlowReturn values,
22539
22540 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
22541
22542         * docs/gst/gstreamer-sections.txt:
22543         * docs/gst/gstreamer.types:
22544         * docs/gst/tmpl/gst.sgml:
22545         * docs/gst/tmpl/gstbasesink.sgml:
22546         * docs/gst/tmpl/gstbasesrc.sgml:
22547         * docs/gst/tmpl/gstbasetransform.sgml:
22548         * docs/gst/tmpl/gstbin.sgml:
22549         * docs/gst/tmpl/gstbuffer.sgml:
22550         * docs/gst/tmpl/gstcaps.sgml:
22551         * docs/gst/tmpl/gstclock.sgml:
22552         * docs/gst/tmpl/gstcompat.sgml:
22553         * docs/gst/tmpl/gstconfig.sgml:
22554         * docs/gst/tmpl/gstelement.sgml:
22555         * docs/gst/tmpl/gstelementdetails.sgml:
22556         * docs/gst/tmpl/gstelementfactory.sgml:
22557         * docs/gst/tmpl/gstenumtypes.sgml:
22558         * docs/gst/tmpl/gsterror.sgml:
22559         * docs/gst/tmpl/gstevent.sgml:
22560         * docs/gst/tmpl/gstfakesink.sgml:
22561         * docs/gst/tmpl/gstfakesrc.sgml:
22562         * docs/gst/tmpl/gstfilesink.sgml:
22563         * docs/gst/tmpl/gstfilesrc.sgml:
22564         * docs/gst/tmpl/gstfilter.sgml:
22565         * docs/gst/tmpl/gstformat.sgml:
22566         * docs/gst/tmpl/gstghostpad.sgml:
22567         * docs/gst/tmpl/gstimplementsinterface.sgml:
22568         * docs/gst/tmpl/gstindex.sgml:
22569         * docs/gst/tmpl/gstindexfactory.sgml:
22570         * docs/gst/tmpl/gstinfo.sgml:
22571         * docs/gst/tmpl/gstiterator.sgml:
22572         * docs/gst/tmpl/gstmacros.sgml:
22573         * docs/gst/tmpl/gstmemchunk.sgml:
22574         * docs/gst/tmpl/gstminiobject.sgml:
22575         * docs/gst/tmpl/gstobject.sgml:
22576         * docs/gst/tmpl/gstpad.sgml:
22577         * docs/gst/tmpl/gstpadtemplate.sgml:
22578         * docs/gst/tmpl/gstparse.sgml:
22579         * docs/gst/tmpl/gstpipeline.sgml:
22580         * docs/gst/tmpl/gstplugin.sgml:
22581         * docs/gst/tmpl/gstpluginfeature.sgml:
22582         * docs/gst/tmpl/gstquery.sgml:
22583         * docs/gst/tmpl/gstqueue.sgml:
22584         * docs/gst/tmpl/gstregistry.sgml:
22585         * docs/gst/tmpl/gstregistrypool.sgml:
22586         * docs/gst/tmpl/gstscheduler.sgml:
22587         * docs/gst/tmpl/gstschedulerfactory.sgml:
22588         * docs/gst/tmpl/gststructure.sgml:
22589         * docs/gst/tmpl/gstsystemclock.sgml:
22590         * docs/gst/tmpl/gsttaglist.sgml:
22591         * docs/gst/tmpl/gsttagsetter.sgml:
22592         * docs/gst/tmpl/gsttrace.sgml:
22593         * docs/gst/tmpl/gsttrashstack.sgml:
22594         * docs/gst/tmpl/gsttypefind.sgml:
22595         * docs/gst/tmpl/gsttypefindfactory.sgml:
22596         * docs/gst/tmpl/gsttypes.sgml:
22597         * docs/gst/tmpl/gsturihandler.sgml:
22598         * docs/gst/tmpl/gsturitype.sgml:
22599         * docs/gst/tmpl/gstutils.sgml:
22600         * docs/gst/tmpl/gstvalue.sgml:
22601         * docs/gst/tmpl/gstversion.sgml:
22602         * docs/gst/tmpl/gstxml.sgml:
22603         * docs/libs/tmpl/gstcontrol.sgml:
22604         * docs/libs/tmpl/gstdataprotocol.sgml:
22605         * docs/libs/tmpl/gstdparam.sgml:
22606         * docs/libs/tmpl/gstdplinint.sgml:
22607         * docs/libs/tmpl/gstdpman.sgml:
22608         * docs/libs/tmpl/gstdpsmooth.sgml:
22609         * docs/libs/tmpl/gstgetbits.sgml:
22610         * docs/libs/tmpl/gstunitconvert.sgml:
22611         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22612         (gst_push_src_base_init), (gst_push_src_class_init),
22613         (gst_push_src_init), (gst_push_src_create):
22614         * gst/base/gstpushsrc.h:
22615         * gst/elements/gstelements.c:
22616         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22617         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22618         (gst_fake_sink_init), (gst_fake_sink_set_property),
22619         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22620         (gst_fake_sink_event), (gst_fake_sink_preroll),
22621         (gst_fake_sink_render), (gst_fake_sink_change_state):
22622         * gst/elements/gstfakesink.h:
22623         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22624         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22625         (gst_fake_src_base_init), (gst_fake_src_class_init),
22626         (gst_fake_src_init), (gst_fake_src_event_handler),
22627         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22628         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22629         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22630         (gst_fake_src_create_buffer), (gst_fake_src_create),
22631         (gst_fake_src_start), (gst_fake_src_stop):
22632         * gst/elements/gstfakesrc.h:
22633         * gst/elements/gstfilesink.c: (_do_init),
22634         (gst_file_sink_base_init), (gst_file_sink_class_init),
22635         (gst_file_sink_init), (gst_file_sink_dispose),
22636         (gst_file_sink_set_location), (gst_file_sink_set_property),
22637         (gst_file_sink_get_property), (gst_file_sink_open_file),
22638         (gst_file_sink_close_file), (gst_file_sink_query),
22639         (gst_file_sink_event), (gst_file_sink_render),
22640         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22641         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22642         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22643         * gst/elements/gstfilesink.h:
22644         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22645         (gst_file_src_class_init), (gst_file_src_init),
22646         (gst_file_src_finalize), (gst_file_src_set_location),
22647         (gst_file_src_set_property), (gst_file_src_get_property),
22648         (gst_file_src_map_region), (gst_file_src_map_small_region),
22649         (gst_file_src_create_mmap), (gst_file_src_create_read),
22650         (gst_file_src_create), (gst_file_src_is_seekable),
22651         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22652         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22653         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22654         (gst_file_src_uri_handler_init):
22655         * gst/elements/gstfilesrc.h:
22656           more autistic cleanliness in functions/names/defines
22657
22658 2005-07-13  Andy Wingo  <wingo@pobox.com>
22659
22660         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22661         source couldn't negotiate.
22662
22663         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22664         connections again.
22665
22666         * gst/gstutils.h:
22667         * gst/gstutils.c (gst_element_link_pads_filtered): New old
22668         function. I am channeling Hades. Put your boots on suckers!!!
22669
22670 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22671
22672         * testsuite/caps/Makefile.am:
22673         * testsuite/caps/value_compare.c:
22674         * testsuite/caps/value_intersect.c:
22675         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22676           move two testsuite apps over to the check dir
22677
22678 2005-07-12  Wim Taymans  <wim@fluendo.com>
22679
22680         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22681         Added more debug info in the negotiate process.
22682
22683         * gst/gstmessage.h:
22684         Prepare for segment playback.
22685
22686         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22687         Better debugging.
22688
22689         * gst/gstutils.c:
22690         Some more docs.
22691
22692         * tools/gst-launch.c: (main):
22693         NULL pipeline on errors.
22694
22695 2005-07-12  Andy Wingo  <wingo@pobox.com>
22696
22697         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22698         not it comes from a malloc region. Make sure our copy gets freed.
22699
22700 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22701
22702         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22703         * check/gst/gstmessage.c: (GST_START_TEST):
22704         * check/gst/gststructure.c: (GST_START_TEST),
22705         (gst_structure_suite), (main):
22706           more testing
22707         * gst/gstelement.c: (gst_element_message_full):
22708           clean up GError and debug string now that they get copied
22709         * gst/gstmessage.c: (gst_message_new_error),
22710         (gst_message_new_warning), (gst_message_parse_error),
22711         (gst_message_parse_warning):
22712           use GST_TYPE_G_ERROR for structure_new, and take copies of
22713           arguments, so that we don't mess up refcounting
22714
22715 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22716
22717         * check/Makefile.am:
22718           add per-test valgrind targets
22719         * check/gst-libs/gdp.c: (GST_START_TEST),
22720         (gst_data_protocol_suite), (main):
22721           clean up
22722
22723 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22724
22725         * check/Makefile.am:
22726           instate more valgrindable tests
22727         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22728         (GST_START_TEST), (fakesrc_suite):
22729         * check/gst/gstpad.c: (GST_START_TEST):
22730         * check/gst/gststructure.c: (GST_START_TEST):
22731           fix test leaks
22732         * docs/gst/tmpl/gstminiobject.sgml:
22733         * gst/gstpad.c: (gst_pad_finalize):
22734           fix the static mutex leak
22735
22736 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22737
22738         * check/Makefile.am:
22739           add two more tests for valgrinding
22740         * check/gst/gstvalue.c: (GST_START_TEST):
22741           test refcount of deserialized buffer, found a leak
22742         * docs/gst/gstreamer-docs.sgml:
22743         * docs/gst/gstreamer-sections.txt:
22744         * docs/gst/gstreamer.types:
22745         * docs/gst/tmpl/gstminiobject.sgml:
22746           add miniobject to docs
22747         * gst/gstminiobject.c:
22748           add some docs
22749         * gst/gstvalue.c: (gst_value_deserialize_buffer),
22750         (gst_string_unwrap):
22751           fix a hard-to-find invalid write for one of the tests
22752           fix a leak for deserialized buffers
22753
22754 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22755
22756         * docs/pwg/advanced-events.xml:
22757         * docs/pwg/advanced-request.xml:
22758         * docs/pwg/advanced-scheduling.xml:
22759         * docs/pwg/appendix-porting.xml:
22760         * docs/pwg/building-boiler.xml:
22761         * docs/pwg/intro-preface.xml:
22762         * docs/pwg/other-ntoone.xml:
22763           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22764           of example code and explanation for pad activation, loop() and
22765           getrange() functions and a bit more. Remove old comments pointing
22766           to loop-functions.
22767         * examples/pwg/Makefile.am:
22768           Add loop/getrange examples.
22769
22770 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22771
22772         * configure.ac:
22773           check for valgrind binary + some fixes
22774         * check/gst.supp:
22775           valgrind suppressions for the tests
22776         * check/Makefile.am:
22777           add a valgrind: target that valgrinds the unit tests
22778         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22779         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22780         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22781         * check/gst/gstghostpad.c:
22782           added some cleanup
22783         * check/gst/gstdata.c:
22784           removed
22785         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22786         (thread_unref), (gst_mini_object_suite), (main):
22787           added
22788         * gst/gst.c: (gst_deinit):
22789         * gst/gst.h:
22790           add a method to clean up.
22791         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22792         (gst_system_clock_obtain):
22793           allow for disposing the system clock.
22794         * tools/gst-launch.c: (main):
22795           deinit
22796
22797 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22798
22799         * docs/gst/tmpl/gstbasesrc.sgml:
22800         * docs/gst/tmpl/gstfakesrc.sgml:
22801         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22802         (gst_base_src_init), (gst_base_src_set_property),
22803         (gst_base_src_get_property), (gst_base_src_get_range),
22804         (gst_base_src_start):
22805         * gst/base/gstbasesrc.h:
22806           add num-buffers property
22807         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22808         (gst_fakesrc_init), (gst_fakesrc_set_property),
22809         (gst_fakesrc_get_property), (gst_fakesrc_create),
22810         (gst_fakesrc_start):
22811           remove num-buffers property
22812
22813 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22814
22815         * docs/gst/gstreamer-sections.txt:
22816         * docs/gst/tmpl/gstbasesink.sgml:
22817         * docs/gst/tmpl/gstbasesrc.sgml:
22818         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22819         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22820         (gst_base_sink_finalize), (gst_base_sink_set_clock),
22821         (gst_base_sink_set_property), (gst_base_sink_get_property),
22822         (gst_base_sink_handle_object), (gst_base_sink_event),
22823         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22824         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22825         (gst_base_sink_loop), (gst_base_sink_deactivate),
22826         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22827         (gst_base_sink_change_state):
22828         * gst/base/gstbasesink.h:
22829         * gst/base/gstbasesrc.h:
22830         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22831         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22832         (gst_filesink_init):
22833           more macro splitting
22834
22835 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22836
22837         * gst/gstelement.c: (gst_element_get_bus):
22838           add debug
22839         * tools/gst-launch.c: (check_intr), (event_loop):
22840           fix bus leaks
22841
22842 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22843
22844         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22845           fix a caps leak
22846
22847 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22848
22849         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22850         (gst_base_src_finalize):
22851           add finalize method and clean up properly
22852         * gst/gstpipeline.c: (gst_pipeline_dispose):
22853           add debug
22854
22855 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22856
22857         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22858         (gst_bin_suite):
22859           add more things to check
22860         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22861         * gst/gstelement.c:
22862           more debug
22863
22864 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22865
22866         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22867         (GST_START_TEST), (fakesrc_suite):
22868         * check/gst-libs/gdp.c: (GST_START_TEST):
22869         * check/gst/gst.c: (GST_START_TEST):
22870         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22871         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22872         * check/gst/gstbus.c: (GST_START_TEST):
22873         * check/gst/gstcaps.c: (GST_START_TEST):
22874         * check/gst/gstdata.c: (GST_START_TEST):
22875         * check/gst/gstelement.c: (GST_START_TEST):
22876         * check/gst/gstghostpad.c: (GST_START_TEST):
22877         * check/gst/gstiterator.c: (GST_START_TEST):
22878         * check/gst/gstmessage.c: (GST_START_TEST):
22879         * check/gst/gstobject.c: (GST_START_TEST):
22880         * check/gst/gstpad.c: (GST_START_TEST):
22881         * check/gst/gststructure.c: (GST_START_TEST):
22882         * check/gst/gstsystemclock.c: (GST_START_TEST),
22883         (gst_systemclock_suite):
22884         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22885         * check/gst/gstvalue.c: (GST_START_TEST):
22886         * check/pipelines/cleanup.c: (GST_START_TEST):
22887         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22888         * check/states/sinks.c: (GST_START_TEST):
22889         * check/gstcheck.c: (gst_check_init):
22890         * check/gstcheck.h:
22891           add debugging category
22892           use GST_START_TEST now, so we add a debug line
22893
22894 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22895
22896         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22897           add test for state change message on a bin
22898         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22899           add another test
22900         * gst/gstbin.c: (gst_bin_init):
22901         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22902         * gst/gstelement.c: (gst_element_post_message),
22903         (gst_element_set_state):
22904         * gst/gstelementfactory.c: (gst_element_factory_create):
22905         * gst/gstmessage.c: (gst_message_new):
22906         * gst/gstscheduler.c:
22907           various debugging additions and cleanups
22908
22909 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22910
22911         * check/Makefile.am:
22912         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22913         (main):
22914           adding tests for elements
22915         * gst/gstelement.c: (gst_element_dispose):
22916
22917 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22918
22919         * gst/registries/gstlibxmlregistry.c: (load_feature):
22920           plug more leaks.  A simple gst_init() now is leakfree, yay.
22921
22922 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22923
22924         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22925         (gst_xml_registry_load):
22926           plug another memleak
22927
22928 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22929
22930         * configure.ac:
22931           use GST_SET_ERROR_CFLAGS
22932         * docs/faq/cvs.xml:
22933           change to ERROR_CFLAGS
22934
22935 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22936
22937         * configure.ac:
22938           make GST_ERROR_CFLAGS overridable and re-enable Werror
22939         * docs/faq/cvs.xml:
22940           add a note about error CFLAGS
22941         * docs/gst/tmpl/gstfakesrc.sgml:
22942         * gst/elements/gstfakesrc.c:
22943           comment out some unused code
22944         * gst/gst.c: (split_and_iterate):
22945         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22946         (load_feature):
22947           plug some memleaks
22948
22949 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22950
22951         * common/Makefile.am:
22952         * common/gtk-doc.mak:
22953         * docs/gst/Makefile.am:
22954           factor out gtk-doc.mak
22955
22956 2005-07-07  Wim Taymans  <wim@fluendo.com>
22957
22958         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22959         (gst_thread_scheduler_dispose):
22960         Unlock the STREAM_LOCK completely.
22961
22962 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22963
22964         * check/Makefile.am:
22965         * check/elements/.cvsignore:
22966         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22967         (START_TEST), (fakesrc_suite), (main):
22968         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22969         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22970         (gst_fakesrc_create), (gst_fakesrc_start):
22971         * gst/elements/gstfakesrc.h:
22972           adding a first element test
22973
22974 2005-07-07  Andy Wingo  <wingo@pobox.com>
22975
22976         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22977         debug message.
22978
22979 2005-07-07  Wim Taymans  <wim@fluendo.com>
22980
22981         * gst/gstquery.c:
22982         * gst/gstquery.h:
22983         Remove old types
22984
22985 2005-07-07  Wim Taymans  <wim@fluendo.com>
22986
22987         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22988         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22989         Allow subclasses to implement their own negotiation.
22990
22991 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22992
22993         * docs/design/part-gstbin.txt:
22994         * docs/design/part-gstpipeline.txt:
22995           Update design notes to reflect the movement of
22996           responsibility for bus handling from GstPipeline to
22997           GstBin
22998
22999 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23000
23001         * configure.ac:
23002           Remove unnecessary queue2/3/4 examples.
23003
23004 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23005
23006         * examples/Makefile.am:
23007         * examples/helloworld/helloworld.c: (event_loop), (main):
23008         * examples/queue/queue.c: (event_loop), (main):
23009         * examples/queue2/queue2.c: (main):
23010           Update a couple of the examples to work again.
23011
23012         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23013         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
23014          Spelling corrections and extra debug.
23015         
23016         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
23017         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
23018         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
23019         * gst/gstbin.h:
23020         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23021         (gst_pipeline_change_state):
23022         * gst/gstpipeline.h:
23023           Move the bus handler for children to the GstBin, and create a
23024           separate bus for receiving messages from children to the one the
23025           bus sends 'upwards' on.
23026
23027 2005-07-06  Wim Taymans  <wim@fluendo.com>
23028
23029         * gst/base/README:
23030         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23031         (gst_base_sink_handle_object), (gst_base_sink_loop),
23032         (gst_base_sink_change_state):
23033         * gst/base/gstbasesink.h:
23034         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23035         (gst_base_src_init), (gst_base_src_setcaps),
23036         (gst_base_src_getcaps), (gst_base_src_loop),
23037         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23038         (gst_base_src_start), (gst_base_src_change_state):
23039         * gst/base/gstbasesrc.h:
23040         Make basesrc negotiate.
23041         Handle the case where preroll fails in basesink.
23042         Update README.
23043
23044 2005-07-06  Wim Taymans  <wim@fluendo.com>
23045
23046         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23047         Implement the fixate function.
23048         Clean up acceptcaps.
23049
23050 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23051
23052         * docs/pwg/building-filterfactory.xml:
23053         * docs/pwg/pwg.xml:
23054           Remove never-written filter-factory chapter; I'll add the various
23055           base classes to part 4 ("other element types") later on.
23056
23057 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23058
23059         * docs/pwg/advanced-negotiation.xml:
23060         * docs/pwg/building-boiler.xml:
23061         * docs/pwg/building-pads.xml:
23062         * docs/pwg/pwg.xml:
23063         * examples/pwg/Makefile.am:
23064           Add a chapter on caps negotiation, simplify the original code
23065           samples a bit w.r.t. caps negotiation, add link to the advanced
23066           section. Add a bunch of examples showing different use cases of
23067           different types of caps negotiation. Upstream renegotiation isn't
23068           fully documented yet since nobody knows how that works.
23069
23070 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23071
23072         * check/gst/gstpad.c:
23073         * check/gstcheck.c:
23074         * gst/gstpad.c: (gst_pad_get_internal_links_default):
23075           if pad has no parent, return NULL as list of internal links
23076
23077 2005-07-05  Andy Wingo  <wingo@pobox.com>
23078
23079         * gst/elements/gstfilesrc.c:
23080         * gst/elements/gstfakesrc.c: 
23081         * gst/base/gstpushsrc.c:
23082         * gst/base/gstbasesrc.h: 
23083         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23084         
23085 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
23086
23087         * Makefile.am:
23088           better report generation target (lcov needs a patch)
23089
23090 2005-07-05  Andy Wingo  <wingo@pobox.com>
23091
23092         * gst/elements, testsuite: Null if we got it...
23093
23094 2005-07-05  Wim Taymans  <wim@fluendo.com>
23095
23096         * configure.ac:
23097         * libs/gst/dataprotocol/Makefile.am:
23098         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23099         * libs/gst/dataprotocol/dataprotocol.h:
23100         * pkgconfig/Makefile.am:
23101         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23102         * pkgconfig/gstreamer-dataprotocol.pc.in:
23103         Ported dataprotol to 0.9. 
23104         Added pkgconfig files.
23105
23106 2005-07-05  Andy Wingo  <wingo@pobox.com>
23107
23108         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23109         Default to returning TRUE for the case when tranform_caps returns
23110         a fixed caps, like for identity or volume.
23111
23112         * check/gst/gstbus.c (pound_bus_with_messages): 
23113         * check/gst/gstmessage.c (START_TEST): 
23114         * check/pipelines/simple_launch_lines.c (got_handoff): Application
23115         message API change.
23116
23117         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23118         logic weaks here: always run transform_caps, trying passthrough
23119         operation only if the original caps intersects with the transform.
23120
23121         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23122         source and sink caps.
23123
23124         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23125         Intersect the peer caps with the pad template before going into
23126         transform_caps.
23127         (gst_base_transform_transform_caps): More debugging.
23128
23129         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23130         src argument.
23131
23132 2005-07-04  Edward Hervey  <edward@fluendo.com>
23133
23134         * gst/gstutils.c:
23135         * gst/gstutils.h:
23136         (gst_pad_add_*_probe): now returns the signal id for better wrapping
23137         in bindings.
23138
23139 2005-07-04  Andy Wingo  <wingo@pobox.com>
23140
23141         * check/gst/gstpad.c: Only set explicit caps on pads.
23142
23143 2005-07-01  Andy Wingo  <wingo@pobox.com>
23144
23145         * tests/network-clock.scm: Commentary update.
23146
23147         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23148         Didn't really make sense, not implementable with basetransform,
23149         etc.
23150         (gst_identity_transform): Unref inbuf via make_writable. Feeble
23151         attempt at implementing the sync property, needs an unlock method.
23152
23153         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23154         New func, by default returns the same caps (the identity
23155         transformation).
23156         (gst_base_transform_getcaps): Uses transform_caps to return
23157         something sensible.
23158         (gst_base_transform_setcaps): Complicated logic to get caps on
23159         both pads, even if they are different, and to call set_caps once
23160         for every time both pads get their caps set.
23161         (gst_base_transform_handle_buffer): Give the ref to the transform
23162         function. Allows in-place modification of the buffer.
23163
23164         * gst/base/gstbasetransform.h (transform_caps): New class method.
23165         Given caps on one side, what can I do on the other.
23166         (set_caps): Take two caps, one for each side of the element.
23167
23168         * gst/gstpad.h:
23169         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23170         caps in place. This is safe because we can check the mutability of
23171         the caps, and a good idea because fixate functions are just called
23172         as a matter of last resort. (Not actually implemented.)
23173         (gst_pad_set_caps): If the caps we're setting is actually the same
23174         as the existing pad caps, just update the pointer without calling
23175         setcaps. Assert that caps is either NULL or fixed, as per the
23176         docs.
23177
23178         * gst/gstghostpad.c: Update for fixate changes.
23179
23180 2005-07-02  Andy Wingo  <wingo@pobox.com>
23181
23182         * gst/gstcaps.c:
23183         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23184         two refcounts makes it immutable, which is enough. Doc more.
23185
23186 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
23187
23188         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23189           Put the mini_object into GValue as a mini_object,
23190           not a gpointer, since that's how we declared
23191           the signal.
23192
23193 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23194
23195         * examples/pwg/Makefile.am:
23196           Fix buildbot again.
23197
23198 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23199
23200         * docs/pwg/building-testapp.xml:
23201           Add extra check.
23202         * examples/pwg/Makefile.am:
23203           Fix buildbot.
23204
23205 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23206
23207         * configure.ac:
23208         * examples/Makefile.am:
23209         * examples/pwg/Makefile.am:
23210         * examples/pwg/extract.pl:
23211           Enable building the PWG examples.
23212         * docs/pwg/advanced-interfaces.xml:
23213           Add URI interface stub.
23214         * docs/pwg/advanced-types.xml:
23215         * docs/pwg/other-autoplugger.xml:
23216         * docs/pwg/appendix-porting.xml:
23217         * docs/pwg/pwg.xml:
23218           Add porting guide (mostly stubs), remove autoplugging (see ADM).
23219         * docs/pwg/building-boiler.xml:
23220         * docs/pwg/building-chainfn.xml:
23221         * docs/pwg/building-pads.xml:
23222         * docs/pwg/building-props.xml:
23223         * docs/pwg/building-state.xml:
23224         * docs/pwg/building-testapp.xml:
23225           Update the building-*.xml parts for 0.9 changes. All examples
23226           code blocks compile in examples/pwg/*.
23227
23228 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23229
23230         * docs/manual/advanced-autoplugging.xml:
23231         * docs/manual/appendix-checklist.xml:
23232         * docs/manual/appendix-integration.xml:
23233         * docs/manual/highlevel-components.xml:
23234           Fix playbin/decodebin examples, update docs a bit, mention bus
23235           instead of signals in various places, mention kmplayer and
23236           kaffeine since they have a working GStreamer backend in the KDE
23237           section.
23238
23239 2005-06-30  Wim Taymans  <wim@fluendo.com>
23240
23241         * CHANGES-0.9:
23242         * docs/design/draft-ghostpads.txt:
23243         * docs/design/draft-push-pull.txt:
23244         * docs/design/draft-query.txt:
23245         * docs/design/part-TODO.txt:
23246         * docs/design/part-query.txt:
23247         Added CHANGES-0.9 doc, updated status of other docs.
23248         
23249         * gst/gstquery.h:
23250         Remove "hmm" macro
23251
23252 2005-06-30  Wim Taymans  <wim@fluendo.com>
23253
23254         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23255         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23256         (gst_base_sink_change_state):
23257         * gst/base/gstbasesink.h:
23258         Some tweaks, only EOS and a buffer complete a preroll.
23259
23260 2005-06-30  Andy Wingo  <wingo@pobox.com>
23261
23262         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23263         activate_push down to the internal pad as well.
23264
23265 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
23266
23267         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23268
23269         * gst/gsttaginterface.c:
23270           Some documentation fixes (#307394 and #307397).
23271
23272 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
23273
23274         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23275
23276         * gst/gstvalue.c: (gst_value_intersect_list):
23277           Fix memleak (#309125).
23278
23279 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23280
23281         * docs/manual/advanced-dataaccess.xml:
23282           Fix fakesrc example to compile; doesn't work, bug somewhere...?
23283         * docs/manual/basics-pads.xml:
23284           Add reference for filtered caps to above chapter.
23285
23286 2005-06-30  Wim Taymans  <wim@fluendo.com>
23287
23288         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23289         (gst_bin_change_state):
23290         Probes are gone.
23291         Lame attempt at making the state change function a bit
23292         more readable.
23293
23294 2005-06-30  Wim Taymans  <wim@fluendo.com>
23295
23296         * docs/design/part-clocks.txt:
23297         * docs/design/part-element-sink.txt:
23298         * docs/design/part-events.txt:
23299         * docs/design/part-preroll.txt:
23300         * docs/design/part-states.txt:
23301         Some more tweeks and additions to the docs.
23302
23303 2005-06-30  Wim Taymans  <wim@fluendo.com>
23304
23305         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23306         (default_have_data), (gst_pad_class_init), (gst_pad_init),
23307         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23308         (gst_pad_check_pull_range), (gst_pad_get_range),
23309         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23310         * gst/gstpad.h:
23311         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23312         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23313         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23314         (gst_pad_remove_buffer_probe):
23315         Removed atomic operations, use existing LOCK.
23316         Move exception handling out of main code path.
23317
23318 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23319
23320         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23321         (silly_return_true_function), (gst_pad_class_init),
23322         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23323         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23324         (gst_pad_send_event):
23325           Fix accumulator, add default value by using _emitv() instead
23326           of _emit() for signal emission.
23327
23328 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23329
23330         * docs/manual/advanced-dataaccess.xml:
23331         * examples/manual/Makefile.am:
23332           Add probe example.
23333         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23334           Make work (??).
23335
23336 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
23337
23338         * gst/elements/gstfilesink.c: (gst_filesink_render):
23339           Simplify code so that we don't have to handle short
23340           writes and return GST_FLOW_ERROR if an error occured.
23341
23342 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23343
23344         * docs/gst/gstreamer-docs.sgml:
23345           Remove probes more.
23346
23347 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23348
23349         * docs/gst/gstreamer-sections.txt:
23350         * docs/gst/tmpl/gstpad.sgml:
23351         * docs/gst/tmpl/gstprobe.sgml:
23352         * gst/Makefile.am:
23353         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23354         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23355         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23356         (gst_pad_push_event), (gst_pad_send_event):
23357         * gst/gstpad.h:
23358         * gst/gstutils.c: (gst_pad_add_data_probe),
23359         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23360         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23361         (gst_pad_remove_buffer_probe):
23362         * gst/gstutils.h:
23363           Remove old probes, add new g-signal-based probes and some utility
23364           functions.
23365
23366 2005-06-29  Edward Hervey  <edward@fluendo.com>
23367
23368         * gst/gstelementfactory.c:
23369         * gst/gstutils.h:
23370         * gst/gstutils.c:
23371         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23372         the definition to the header file.
23373
23374 2005-06-29  Andy Wingo  <wingo@pobox.com>
23375
23376         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23377         plugins from the source directory.
23378
23379 2005-06-29  Wim Taymans  <wim@fluendo.com>
23380
23381         * docs/gst/tmpl/gstbuffer.sgml:
23382         * docs/gst/tmpl/gstclock.sgml:
23383         Some fixings for blantently wrong text.
23384
23385 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23386
23387         * check/Makefile.am:
23388         * gst/gst.c: (add_path_func), (init_pre):
23389         * gst/gstregistry.c: (gst_registry_add_path):
23390           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23391           only scan the GST_PLUGIN_PATH locations, and not add
23392           system locations
23393
23394 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23395
23396         * docs/gst/gstreamer-sections.txt:
23397         * docs/gst/tmpl/gstbasesrc.sgml:
23398         * gst/gstelement.c:
23399         * gst/gstelement.h:
23400         * gst/gstevent.c:
23401         * gst/gstutils.c:
23402           doc fixes
23403
23404 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23405
23406         * docs/manual/advanced-autoplugging.xml:
23407           Fix autoplugging example.
23408
23409 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23410
23411         * docs/manual/advanced-autoplugging.xml:
23412         * docs/manual/mime-world.fig:
23413           Try to get autoplugging working, fix type detection. Fix text
23414           in hello-world image.
23415
23416 2005-06-29  Wim Taymans  <wim@fluendo.com>
23417
23418         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23419         (gst_base_sink_change_state):
23420         Small debug line.
23421
23422         * gst/gstclock.h:
23423         map SIGNAL and BROADCAST to the right function.
23424
23425         * gst/gstobject.h:
23426         Remove redundant braces.
23427
23428         * gst/gstpad.c: (gst_pad_set_caps):
23429         Don't call setcaps function when reseting caps to NULL.
23430
23431         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23432         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23433         (gst_system_clock_id_unschedule):
23434         Use BROADCAST as this is what we do.
23435
23436 2005-06-29  Wim Taymans  <wim@fluendo.com>
23437
23438         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23439         We are actually prerolling before commiting the state
23440         change. 
23441
23442 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23443
23444         * docs/manual/advanced-clocks.xml:
23445         * docs/manual/advanced-interfaces.xml:
23446         * docs/manual/advanced-metadata.xml:
23447         * docs/manual/advanced-position.xml:
23448         * docs/manual/advanced-schedulers.xml:
23449         * docs/manual/advanced-threads.xml:
23450         * docs/manual/appendix-porting.xml:
23451         * docs/manual/basics-bins.xml:
23452         * docs/manual/basics-bus.xml:
23453         * docs/manual/basics-elements.xml:
23454         * docs/manual/basics-helloworld.xml:
23455         * docs/manual/basics-pads.xml:
23456         * docs/manual/highlevel-components.xml:
23457         * docs/manual/manual.xml:
23458         * docs/manual/thread.fig:
23459           Update (until threads/scheduling) Application Development Manual;
23460           remove GstThread, add GstBus, add simple porting checklist, add
23461           documentation for tag writing, clocks, make all examples until this
23462           part compile and run.
23463         * examples/manual/Makefile.am:
23464           Update from changes to Application Development Manual; add bus
23465           example, remove thread example.
23466
23467 2005-06-28  Wim Taymans  <wim@fluendo.com>
23468
23469         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23470         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23471         (gst_bus_source_dispatch):
23472         Add debugging messages.
23473         Make internal methods static.
23474         Handle the case where the bus is flushed in the handler.
23475         
23476         * gst/gstelement.c: (gst_element_get_bus):
23477         Fix refcount in _get_bus();
23478
23479         * gst/gstpipeline.c: (gst_pipeline_change_state),
23480         (gst_pipeline_get_clock_func):
23481         Clock refcounting fixes.
23482         Handle the case where preroll timed out more gracefully.
23483         
23484         * gst/gstsystemclock.c: (gst_system_clock_dispose):
23485         Clean up the internal thread in dispose. This is needed
23486         for subclasses that actually get disposed.
23487         
23488         * gst/schedulers/threadscheduler.c:
23489         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23490         (gst_thread_scheduler_dispose):
23491         Free thread pool in dispose.
23492
23493 2005-06-28  Andy Wingo  <wingo@pobox.com>
23494
23495         * tests/network-clock-utils.scm (debug, print-event): New utils.
23496
23497         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23498         (*packet-loss*): Unified loss probability.
23499         (network-time): Report out-of-band events.
23500
23501         * tests/plot-data: Add support for out-of-band events. Hack it
23502         into this script instead of passing it down the pipe; should fix
23503         this later.
23504
23505 2005-06-28  Wim Taymans  <wim@fluendo.com>
23506
23507         * docs/gst/gstreamer.types:
23508         * docs/gst/tmpl/gstbasesrc.sgml:
23509         * docs/gst/tmpl/gstpad.sgml:
23510         Docs fixes.
23511
23512 2005-06-28  Wim Taymans  <wim@fluendo.com>
23513
23514         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23515         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23516         (gst_proxy_pad_do_fixatecaps):
23517         Correctly proxy the check_pull_range function.
23518
23519 2005-06-28  Andy Wingo  <wingo@pobox.com>
23520
23521         * tests/network-clock.scm: Removed need for slib.
23522         
23523 2005-06-28  Wim Taymans  <wim@fluendo.com>
23524
23525         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23526         (gst_basesink_preroll_queue_flush):
23527         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23528         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23529         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23530         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23531         (gst_proxy_pad_set_property):
23532         * gst/gstpad.c:
23533         * gst/gstpad.h:
23534         * gst/gstqueue.c: (gst_queue_init):
23535         The deprecated pad loop function is removed now.
23536
23537 2005-06-28  Andy Wingo  <wingo@pobox.com>
23538
23539         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23540         New parameters, simulate network packet loss.
23541
23542         * tests/network-clock-utils.scm: Initialize the RNG.
23543
23544 2005-06-28  Wim Taymans  <wim@fluendo.com>
23545
23546         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23547         (gst_basesink_event), (gst_basesink_deactivate):
23548         Flushing the preroll queue always needs to unlock the waiters.
23549
23550 2005-06-28  Edward Hervey  <edward@fluendo.com>
23551
23552         * gst/gstpipeline.c: (gst_pipeline_send_event): 
23553         Wheen a seek was successful on a pipeline, set the stream_time to the
23554         seek offset in order to have a synchronized stream_time.
23555
23556 2005-06-28  Wim Taymans  <wim@fluendo.com>
23557
23558         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23559         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23560         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23561         (gst_proxy_pad_do_fixatecaps):
23562         Call wrapper function instead of just calling the function
23563         pointers. This takes care of any locking and whatmore.
23564
23565 2005-06-28  Wim Taymans  <wim@fluendo.com>
23566
23567         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23568         (gst_pad_pull_range):
23569         * gst/gstpad.h:
23570         CONNECTED -> LINKED.
23571
23572 2005-06-28  Andy Wingo  <wingo@pobox.com>
23573
23574         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23575         source-munging commit!!!
23576
23577         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
23578         (gst_object_sink): Take gpointer arguments, not GstObject --
23579         avoids casts. Like GLib.
23580
23581         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23582         activate.
23583
23584 2005-06-27  Andy Wingo  <wingo@pobox.com>
23585
23586         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23587         remaining buffer.
23588
23589         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23590         returns a sorted copy of the trace list.
23591         (gst_alloc_trace_print_live): New API, only prints traces with
23592         live objects. Sort the list.
23593         (gst_alloc_trace_print_all): Sort the list.
23594         (gst_alloc_trace_print): Align columns.
23595
23596         * gst/elements/gstttypefindelement.c:
23597         * gst/elements/gsttee.c:
23598         * gst/base/gstbasesrc.c:
23599         * gst/base/gstbasesink.c:
23600         * gst/base/gstbasetransform.c:
23601         * gst/gstqueue.c: Adapt for pad activation changes.
23602
23603         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23604         sched.
23605         (gst_pipeline_dispose): Drop ref on sched.
23606
23607         * gst/gstpad.c (gst_pad_init): Set the default activate func.
23608         (gst_pad_activate_default): Push mode by default.
23609         (pre_activate_switch, post_activate_switch): New stubs, things to
23610         do before and after switching activation modes on pads.
23611         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23612         the pad's activate function to choose which mode to activate.
23613         Shortcut on deactivation and call the right function directly.
23614         (gst_pad_activate_pull): New API, (de)activates a pad in pull
23615         mode.
23616         (gst_pad_activate_push): New API, same for push mode.
23617         (gst_pad_set_activate_function) 
23618         (gst_pad_set_activatepull_function) 
23619         (gst_pad_set_activatepush_function): Setters for new API.
23620
23621         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23622         Trace all miniobjects.
23623         (gst_mini_object_make_writable): Unref the arg if we copy, like
23624         gst_caps_make_writable.
23625
23626         * gst/gstmessage.c (_gst_message_initialize): No trace init.
23627
23628         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
23629         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23630         Adapt for new pad API.
23631
23632         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23633
23634         * gst/gstelement.h:
23635         * gst/gstelement.c (gst_element_iterate_src_pads) 
23636         (gst_element_iterate_sink_pads): New API functions.
23637         
23638         * gst/gstelement.c (iterator_fold_with_resync): New utility,
23639         should fold into gstiterator.c in some form.
23640         (gst_element_pads_activate): Simplified via use of fold and
23641         delegation of decisions to gstpad->activate.
23642
23643         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23644         help in debugging.
23645
23646         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23647         class once in init, like gstmessage. Didn't run into this issue
23648         but it seems correct. Don't initialize a trace, gstminiobject does
23649         that.
23650
23651         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23652         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23653         to the bus.
23654         (assert_live_count): New util function, uses alloc traces to check
23655         cleanup.
23656
23657         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23658         To be modified when unlink drops the internal pad.
23659
23660 2005-06-27  Wim Taymans  <wim@fluendo.com>
23661
23662         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23663         (gst_bin_change_state):
23664         Cleanup the get_state() function a little, make sure it
23665         iterates the same set of elements.
23666         Added stub iterate_state_order().
23667
23668 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
23669
23670         * docs/gst/gstreamer-docs.sgml:
23671         * docs/gst/gstreamer-sections.txt:
23672         * docs/gst/gstreamer.types:
23673         * docs/gst/tmpl/gstbasesink.sgml:
23674         * docs/gst/tmpl/gstbasesrc.sgml:
23675         * docs/gst/tmpl/gstbasetransform.sgml:
23676         * docs/gst/tmpl/gstelement.sgml:
23677         * docs/gst/tmpl/gstiterator.sgml:
23678         * gst/base/gstbasesrc.c:
23679         * gst/base/gstbasesrc.h:
23680         * gst/base/gstbasetransform.h:
23681         * gst/gstelement.c:
23682         * gst/gstiterator.h:
23683           adding basetransform and iterator docs
23684
23685 2005-06-27  Andy Wingo  <wingo@pobox.com>
23686
23687         * docs/design/part-activation.txt: Notes on how activation should
23688         work -- not quite implemented yet.
23689
23690 2005-06-25  Wim Taymans  <wim@fluendo.com>
23691
23692         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23693         At least get the chain function correct, needs more
23694         fixing.
23695
23696 2005-06-25  Wim Taymans  <wim@fluendo.com>
23697
23698         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23699         (gst_basesink_handle_object), (gst_basesink_event),
23700         (gst_basesink_do_sync), (gst_basesink_handle_event),
23701         (gst_basesink_change_state):
23702         * gst/gsttask.h:
23703         Right, two problems here: ghostpads don't take locks and
23704         glib _rec_mutex_lock_full() with depth==0 still locks.
23705         Catch illegal locking and g_warn them.
23706
23707 2005-06-25  Wim Taymans  <wim@fluendo.com>
23708
23709         * check/states/sinks.c: (START_TEST), (gst_object_suite):
23710         Have to check for completion now...
23711
23712 2005-06-25  Wim Taymans  <wim@fluendo.com>
23713
23714         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23715         (gst_basesink_handle_object), (gst_basesink_event),
23716         (gst_basesink_do_sync), (gst_basesink_handle_event),
23717         (gst_basesink_change_state):
23718         * gst/gstpad.h:
23719         Unlock STREAM_LOCK whatever the recursion was.
23720
23721 2005-06-25  Wim Taymans  <wim@fluendo.com>
23722
23723         * gst/base/gstbasesink.c: (gst_basesink_set_property),
23724         (gst_basesink_preroll_queue_empty),
23725         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23726         (gst_basesink_event), (gst_basesink_do_sync),
23727         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23728         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23729         (gst_basesink_change_state):
23730         Reworked the base sink, handle event and buffer serialisation
23731         correctly and removed possible deadlock.
23732         Handle EOS correctly.
23733
23734 2005-06-25  Wim Taymans  <wim@fluendo.com>
23735
23736         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23737         (gst_pipeline_change_state):
23738         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23739         Allow elements to post EOS in the state change function.
23740         Fix up -launch, make it exit the poll loop when the
23741         pipeline actually changed state.
23742         Fix up warning parsing in -launch.
23743
23744 2005-06-25  Wim Taymans  <wim@fluendo.com>
23745
23746         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23747         (gst_tee_sink_activate):
23748         Core takes STREAM_LOCK for us now.
23749
23750 2005-06-25  Wim Taymans  <wim@fluendo.com>
23751
23752         * gst/gstelement.c: (gst_element_get_state_func),
23753         (gst_element_set_state):
23754         * gst/gstelement.h:
23755         * gst/gstmessage.c: (gst_message_parse_error),
23756         (gst_message_parse_warning):
23757         Keep track of current target state while performing a state
23758         change so that subclasses can do something interesting.
23759         Fix parsing of warning/error messages when GError is NULL.
23760
23761 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23762
23763         * docs/gst/Makefile.am:
23764         * docs/gst/gstreamer-docs.sgml:
23765         * docs/gst/gstreamer-sections.txt:
23766         * docs/gst/gstreamer.types:
23767         * docs/gst/tmpl/gstbasesink.sgml:
23768         * docs/gst/tmpl/gstbasesrc.sgml:
23769         * docs/gst/tmpl/gstbin.sgml:
23770         * docs/gst/tmpl/gstcompat.sgml:
23771         * docs/gst/tmpl/gstfakesink.sgml:
23772         * docs/gst/tmpl/gstfakesrc.sgml:
23773         * docs/gst/tmpl/gstfilesink.sgml:
23774         * docs/gst/tmpl/gstfilesrc.sgml:
23775         * docs/gst/tmpl/gstindex.sgml:
23776         * docs/manual/appendix-quotes.xml:
23777         * gst/base/gstbasesrc.h:
23778         * gst/elements/gstfakesrc.h:
23779         * gst/gstmessage.h:
23780           start pulling in base classes and elements in our docs
23781
23782 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
23783
23784         * docs/gst/Makefile.am:
23785         * docs/libs/Makefile.am:
23786           fixed make distcheck with gtk-doc 1.3
23787
23788 2005-06-23  Wim Taymans  <wim@fluendo.com>
23789
23790         * gst/gstelement.c: (gst_element_get_state_func),
23791         (gst_element_set_state), (gst_element_change_state):
23792         When the state did not change, also report NO_PREROLL
23793         when it matters.
23794
23795 2005-06-23  Wim Taymans  <wim@fluendo.com>
23796
23797         * gst/gstpad.c: (gst_pad_event_default):
23798         * gst/gstqueue.c: (gst_queue_loop):
23799         No unsafe task pausing please.
23800
23801 2005-06-23  Wim Taymans  <wim@fluendo.com>
23802
23803         * gst/schedulers/threadscheduler.c:
23804         (gst_thread_scheduler_task_start),
23805         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23806         Ref the task before pushing it on the threadpool. This
23807         makes sure that we have a ref when the threadfunction is
23808         actually called.
23809
23810 2005-06-23  Andy Wingo  <wingo@pobox.com>
23811
23812         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23813         offset is greater than the file's size.
23814
23815         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
23816         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23817         * gst/gstobject.c (gst_object_class_init): Make the class lock
23818         recursive. Wim won't let me drop deep_notify. Decodebin works
23819         again, whoopdy doo.
23820
23821         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23822         internal pad, and hacks accordingly. Doesn't do it on the target
23823         pad because we change its caps. Probably catches all cases of
23824         interest tho.
23825         (gst_ghost_pad_set_property): Connect to notify::caps as
23826         appropritate.
23827
23828         * tests/network-clock.scm (plot-simulation): Pipe data to the
23829         elite python skript.
23830
23831         * tests/network-clock-utils.scm (define-parameter): New macro,
23832         defines a parameter that can be set via the command line.
23833         (set-parameter!, parse-parameter-arguments): Command line args
23834         parser.
23835
23836         * tests/plot-data: Simple matplotlib-based plotter, takes input on
23837         stdin.
23838
23839 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
23840
23841         * gst/elements/gsttypefindelement.c:
23842         (gst_type_find_element_handle_event):
23843           Don't restart typefinding on a discont.
23844         * gst/gstelement.c: (gst_element_set_state):
23845           Debug spelling fix.
23846         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23847           Allow changing mode of an active pad.
23848           Debug output fixes.
23849         * gst/registries/gstlibxmlregistry.c: (load_feature):
23850           Don't cast a static pad template to a normal pad template.
23851
23852 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23853
23854         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23855         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23856           remove gst_strtoll completely, since it didn't actually do
23857           anything more than what g_ascii_strtoull already does.
23858           check for range errors when deserializing
23859           do a cast for the unsigned cases; but further fixing needs
23860           a decision on what the interpretation of "(int)" and
23861           deserialization should be for values that fall outside the
23862           type's boundaries (ie, refuse, or interpret as casting)
23863
23864 2005-06-23  Wim Taymans  <wim@fluendo.com>
23865
23866         * check/Makefile.am:
23867         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23868         * docs/design/part-live-source.txt:
23869         * docs/design/part-states.txt:
23870         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23871         (gst_basesrc_set_live), (gst_basesrc_is_live),
23872         (gst_basesrc_get_range), (gst_basesrc_activate),
23873         (gst_basesrc_change_state):
23874         * gst/base/gstbasesrc.h:
23875         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23876         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23877         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23878         * gst/gstelement.c: (gst_element_get_state_func),
23879         (gst_element_set_state):
23880         * gst/gstelement.h:
23881         * gst/gsttypes.h:
23882         * tools/gst-launch.c: (event_loop), (main):
23883         Added support for live sources and other elements that
23884         cannot do preroll.
23885         Updated design docs, added live-source design doc.
23886         Implemented live source functionality in basesrc
23887         Fix error condition in _bin_get_state()
23888         Implement live source handling in -launch.
23889         Added check for live sources.
23890         Fixed case in GstBin where elements were changed state
23891         multiple times.
23892
23893
23894 2005-06-23  Andy Wingo  <wingo@pobox.com>
23895
23896         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23897         borken refcounting.
23898
23899         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23900         gst_caps_replace takes care of this for us.
23901
23902         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23903         gst_pad_set_caps on the target, not just its setcaps() function.
23904
23905         * tests/network-clock.scm: 
23906         * tests/network-clock-utils.scm: A network clock simulator.
23907         Something of an algorithmic testbed before doing something in C.
23908
23909 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23910
23911         * check/Makefile.am:
23912         * check/gst/capslist.h:
23913           copy over from 0.8, and add two with bitmasks specified with
23914           (int) 0xFF...
23915         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23916           add test to parse everything from capslist.h
23917         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23918         (main):
23919           add test for structure deserialization
23920         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23921           add tests for deserialization of strings to int types
23922         * gst/gststructure.c: (gst_structure_nth_field_name):
23923         * gst/gststructure.h:
23924           add a way to get the name of a field referenced by index
23925         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23926           instead of checking if the resulting long long lies between
23927           min and max, we check if the long long would fit into
23928           a number of bytes for the final type.
23929           This fixes cases where a string represents 2^32 - 1, which
23930           when cast to int would be the (valid) -1, but is bigger than
23931           G_MAXINT
23932
23933 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23934
23935         * gst/parse/grammar.y:
23936           add a log line for type deserialization
23937
23938 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23939
23940         * check/gst/gstvalue.c: (START_TEST):
23941         * gst/gstvalue.c: (gst_value_deserialize):
23942           return long long, not int, so gint64 deserialization actually
23943           works.  Is there any flag that makes the compiler check this ?
23944           Fixes #308559
23945
23946 2005-06-22  Wim Taymans  <wim@fluendo.com>
23947
23948         * gst/gstbuffer.h:
23949         Added convenience macros for setting buffers in GValue.
23950
23951 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23952
23953         * check/gst/.cvsignore:
23954         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23955           add a test deserializing int64, and comment part out because
23956           it fails, yay !
23957
23958 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23959
23960         * check/Makefile.am:
23961         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23962         * testsuite/Makefile.am:
23963         * testsuite/caps/Makefile.am:
23964         * testsuite/caps/value_serialize.c:
23965         * testsuite/test_gst_init.c:
23966           move a value_serialize test over
23967
23968 2005-06-20  Wim Taymans  <wim@fluendo.com>
23969
23970         * gst/gstpad.c:
23971         Small doc updates.
23972         
23973         * gst/gstvalue.c: (gst_value_compare_buffer),
23974         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23975         (gst_value_compare_flags), (gst_value_serialize_flags),
23976         (gst_value_deserialize_flags), (_gst_value_initialize):
23977         Fix serialisation of buffers, they are not boxed types anymore
23978
23979 2005-06-20  Wim Taymans  <wim@fluendo.com>
23980
23981         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23982         Testcase to show error in buffer-on-caps serialisation.
23983
23984 2005-06-20  Andy Wingo  <wingo@pobox.com>
23985
23986         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23987         will be adding to later.
23988
23989         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23990         if its socks fill with rocks.
23991         (gst_system_clock_obtain): Set the name on object construction.
23992         Avoid double-checked locking.
23993
23994 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
23995
23996         * gst/gsturi.c: (gst_element_make_from_uri):
23997           Fix potential endless loop.
23998
23999 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24000
24001         * check/Makefile.am:
24002           add gsttag
24003         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
24004         (main):
24005           move over from testsuite dir and clean up
24006         * configure.ac:
24007         * gst/gsttag.c:
24008         * testsuite/Makefile.am:
24009         * testsuite/tags/.cvsignore:
24010         * testsuite/tags/Makefile.am:
24011         * testsuite/tags/merge.c:
24012           remove testsuite/tags
24013
24014 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24015
24016         * docs/gst/gstreamer-sections.txt:
24017         * docs/gst/tmpl/gstenumtypes.sgml:
24018         * win32/gstenumtypes.c:
24019           clean up documentation build a little
24020
24021 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24022
24023         * check/gstcheck.h:
24024           add macros for checking refcounts on objects and caps
24025         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24026           add some more unit tests
24027         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24028         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24029           fix leaked refcounts (I hope :)) so unittest works
24030         * gst/gstpad.h:
24031           whitespace removal
24032
24033 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24034
24035         * configure.ac: back to HEAD
24036
24037 === release 0.9.1 ===
24038
24039 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24040
24041         * NEWS:
24042         * RELEASE:
24043           updated
24044
24045 2005-06-17  Andy Wingo  <wingo@pobox.com>
24046
24047         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24048         assert; it's always possible that the pad gets deactivated in
24049         between the checks in gstpad.c and the implementation. Rely on
24050         finish_preroll() to return a FLUSHING or similar instead of on the
24051         assert.
24052         
24053         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24054         clock and post an EOS message if we come out of finish_preroll in
24055         the playing state.
24056
24057 2005-06-16  David Schleef  <ds@schleef.org>
24058
24059         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24060         (gst_capsfilter_set_property): Allow NULL as possible value
24061         for filter_caps property, indicating GST_CAPS_ANY.
24062
24063 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24064
24065         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24066           fix debug output
24067         * gst/schedulers/Makefile.am:
24068           use libgst prefix
24069         * gstreamer.spec.in:
24070           fix spec for it
24071
24072 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24073
24074         * gstreamer.spec.in:
24075           clean up
24076
24077 2005-06-08  Andy Wingo  <wingo@pobox.com>
24078
24079         * gst/gstutils.c: RPAD fixes all around.
24080         (gst_element_link_pads): Refcounting fixes.
24081
24082         * tools/gst-inspect.c:
24083         * tools/gst-xmlinspect.c:
24084         * parse/grammar.y:
24085         * gst/base/gsttypefindhelper.c:
24086         * gst/base/gstbasesink.c:
24087         * gst/gstqueue.c: RPAD fixes.
24088
24089         * gst/gstghostpad.h:
24090         * gst/gstghostpad.c: New ghost pad implementation as full proxy
24091         pads. The tricky thing is they provide both source and sink
24092         interfaces, since they proxy the internal pad for the external
24093         pad, and vice versa. Implement with lower-level ProxyPad objects,
24094         with the interior proxy pad as a child of the exterior ghost pad.
24095         Should write a doc on this.
24096         
24097         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24098         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24099         gst_object API.
24100         
24101         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24102         pads are real pads. No ghost pads in this file. Not documenting
24103         the myriad s/RPAD/PAD/ and REALIZE fixes.
24104         (gst_pad_class_init): Add properties for "direction" and
24105         "template". Both are construct-only, so they can't change during
24106         the life of the pad. Fixes properly deriving from GstPad.
24107         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24108         derived objects, just set properties when creating the objects via
24109         g_object_new.
24110         (gst_pad_get_parent): Implement as a function, return NULL if the
24111         parent is not an element.
24112         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24113         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24114         
24115         * gst/gstobject.c (gst_object_class_init): Make name a construct
24116         property. Don't set it in the object init.
24117
24118         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24119         with UNKNOWN direction.
24120         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24121         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24122         (gst_element_remove_pad): Remove ghost-pad special cases.
24123         (gst_element_pads_activate): Remove rpad cruft.
24124
24125         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24126         catch the pad's-parent-not-an-element case.
24127
24128         * gst/gst.h: Include gstghostpad.h.
24129
24130         * gst/gst.c (init_post): No more real, ghost pads.
24131
24132         * gst/Makefile.am: Add gstghostpad.[ch].
24133
24134         * check/Makefile.am:
24135         * check/gst/gstbin.c:
24136         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24137         into a bin creates ghost pads, and that the refcounts are right.
24138         Partly moved from gstbin.c.
24139
24140 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24141
24142         * check/gst-libs/.cvsignore:
24143         * check/gst/.cvsignore:
24144         * check/pipelines/.cvsignore:
24145           ignore more
24146         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24147         (START_TEST), (cleanup_suite), (main):
24148           add some tests related to cleanup after running pipelines
24149
24150 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24151
24152         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24153           add a testsuite for GstBuffer
24154
24155 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24156
24157         * gst/gstminiobject.h:
24158           add defines for accessing the refcount
24159
24160 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
24161
24162         * Makefile.am: added support for html unit test coverage reports
24163
24164 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
24165
24166         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24167           Free existing caps if the capsfilter changes. Add a FIXME about
24168           setting those caps on the pads.
24169
24170         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24171           Before adding a ghost pad to a parent bin, check that there isn't
24172           already one for the element on the bin. Prevents infinite recursion
24173           when using decodebin in parse pipelines. Andy says he'll rewrite the
24174           way this works anyway, so ignore the hack.
24175
24176 2005-06-02  Andy Wingo  <wingo@pobox.com>
24177
24178         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24179         file size, pass it on to the type find helper.
24180
24181         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24182         segment_start and segment_end properly according to the seek
24183         method. Segment_end is still a bit flaky because offset can be
24184         negative for CUR and END cases, but it takes -1 as an "unset"
24185         value.
24186
24187 2005-06-02  Wim Taymans  <wim@fluendo.com>
24188
24189         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24190         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24191         (gst_basesink_activate):
24192         * gst/base/gstbasesink.h:
24193         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24194         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24195         (gst_pad_query), (gst_pad_start_task):
24196         * gst/gstpad.h:
24197         * gst/gstqueue.c: (gst_queue_bufferalloc),
24198         (gst_queue_handle_sink_event), (gst_queue_chain):
24199         Bufferalloc: return GstFlowReturn to more accuratly report
24200         why allocation failed.
24201
24202 2005-06-02  Wim Taymans  <wim@fluendo.com>
24203
24204         * gst/gstpipeline.c: (gst_pipeline_send_event):
24205         Take snapshot of state without blocking.
24206
24207 2005-06-02  Wim Taymans  <wim@fluendo.com>
24208
24209         * docs/design/part-TODO.txt:
24210         * docs/design/part-caps.txt:
24211         * docs/design/part-clocks.txt:
24212         * docs/design/part-negotiation.txt:
24213         * docs/design/part-preroll.txt:
24214         Small doc updates 
24215
24216 2005-05-30  Wim Taymans  <wim@fluendo.com>
24217
24218         * gst/elements/gstidentity.c: (gst_identity_event),
24219         (gst_identity_transform), (gst_identity_get_property):
24220         Protect last_message property as it is accessed from
24221         multiple threads.
24222
24223 2005-05-30  Wim Taymans  <wim@fluendo.com>
24224
24225         * gst/gstelement.c: (gst_element_init),
24226         (gst_element_pads_activate), (gst_element_change_state):
24227         Slicker pad activation code.
24228
24229 2005-05-30  Wim Taymans  <wim@fluendo.com>
24230
24231         * gst/Makefile.am:
24232         * gst/gstelement.h:
24233         * gst/gstelementfactory.h:
24234         * gst/gsttypes.h:
24235         Move elementfactory methods to separate .h file.
24236
24237 2005-05-30  Wim Taymans  <wim@fluendo.com>
24238
24239         * docs/design/part-overview.txt:
24240         * gst/gstsystemclock.h:
24241         Small typo fixes, doc updates.
24242
24243 2005-05-30  Wim Taymans  <wim@fluendo.com>
24244
24245         * gst/gst.c: (gst_init_get_popt_table), (init_post),
24246         (init_popt_callback):
24247         Remove cpu-opt flag.
24248
24249 2005-05-30  Wim Taymans  <wim@fluendo.com>
24250
24251         * gst/gstbuffer.c: (gst_subbuffer_finalize),
24252         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24253         * gst/gstbuffer.h:
24254         Avoid typechecking in places where not needed.
24255         Added accessor for malloc_data.
24256
24257 2005-05-30  Wim Taymans  <wim@fluendo.com>
24258
24259         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24260         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24261         (gst_pad_configure_sink), (gst_pad_configure_src),
24262         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24263         (gst_pad_start_task):
24264         Propagate errors from _set_caps() in configure_src/sink
24265         functions instead of returning TRUE.
24266         FLUSH events can travel up and downstream
24267
24268
24269 2005-05-30  Wim Taymans  <wim@fluendo.com>
24270
24271         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24272         (gst_basesink_activate):
24273         Handle EOS in preroll.
24274
24275 2005-05-30  Wim Taymans  <wim@fluendo.com>
24276
24277         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24278         (gst_queue_loop), (gst_queue_handle_src_event):
24279         Remove old pieces of code
24280         Flushing the queue in an upstream event is a very bad idea.
24281
24282 2005-05-26  Andy Wingo  <wingo@pobox.com>
24283
24284         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24285         gst_value_set_mini_object so as to add a ref on the object (which
24286         will be removed when the value is unset).
24287
24288         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24289         arg type in ::handoff.
24290
24291         * gst/gstelement.c (gst_element_change_state): Also deactivate
24292         pads in READY->NULL, just in case the element didn't make it to
24293         PAUSED. Wingo tested, Wim approved.
24294
24295 2005-05-26  Wim Taymans  <wim@fluendo.com>
24296
24297         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24298         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24299         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24300         A flushing pad cannot be used to alloc_buffer from.
24301
24302 2005-05-26  Wim Taymans  <wim@fluendo.com>
24303
24304         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24305         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24306         (gst_bus_source_dispatch), (gst_bus_source_finalize),
24307         (gst_bus_create_watch), (gst_bus_add_watch_full):
24308         * gst/gstbus.h:
24309         Implement a real GSource and use g_main_context_wakeup() to
24310         signal new messages instead of the socketpair.
24311
24312 2005-05-25  Wim Taymans  <wim@fluendo.com>
24313
24314         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24315         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24316         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24317         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24318         (gst_pad_send_event), (gst_pad_start_task):
24319         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24320         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24321         (gst_queue_sink_activate), (gst_queue_src_activate),
24322         (gst_queue_change_state):
24323         * gst/gstqueue.h:
24324         Fix state changes for non sinks. We now change sinks, then elements
24325         with unconnected srcpads, then the rest.
24326         More efficient queue unlocking in flush and state changes.
24327         Set the pad activate mode even if it does not have an activate
24328         function.
24329
24330 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24331
24332         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24333           Don't go in pull mode for non-seekable sources.
24334         * gst/elements/gsttypefindelement.h:
24335         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24336         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24337         (free_entry), (stop_typefinding),
24338         (gst_type_find_element_handle_event), (find_peek),
24339         (gst_type_find_element_chain), (do_pull_typefind),
24340         (gst_type_find_element_change_state):
24341           Allow typefinding (w/o seeking) in push-mode, simplified version
24342           of what was in 0.8.
24343         * gst/gstutils.c: (gst_buffer_join):
24344         * gst/gstutils.h:
24345           gst_buffer_join() from 0.8.
24346
24347 2005-05-25  Wim Taymans  <wim@fluendo.com>
24348
24349         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24350         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24351         (gst_pad_send_event), (gst_pad_start_task):
24352         Disable attempt at mode switching until it is figured out.
24353
24354 2005-05-25  Wim Taymans  <wim@fluendo.com>
24355
24356         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24357         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24358         (gst_basesink_finish_preroll), (gst_basesink_chain),
24359         (gst_basesink_loop), (gst_basesink_activate),
24360         (gst_basesink_change_state):
24361         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24362         (gst_basesrc_get_range), (gst_basesrc_loop),
24363         (gst_basesrc_activate):
24364         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24365         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24366         (gst_real_pad_init), (gst_real_pad_set_property),
24367         (gst_real_pad_get_property), (gst_pad_set_active),
24368         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24369         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24370         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24371         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24372         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24373         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24374         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24375         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24376         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24377         (gst_pad_stop_task):
24378         * gst/gstpad.h:
24379         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24380         (gst_queue_loop), (gst_queue_src_activate):
24381         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24382         (gst_task_get_state):
24383         * gst/gsttask.h:
24384         * gst/schedulers/threadscheduler.c:
24385         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24386         Implement gst_pad_pause/start/stop_task(), take STREAM lock
24387         in task function.
24388         Remove ACTIVE pad flag, use FLUSHING everywhere
24389         Added _pad_chain(), _pad_get_range() to call chain/getrange 
24390         functions.
24391         Add locks around IS_FLUSHING when reading.
24392         Take STREAM lock in chain(), get_range() functions so plugins
24393         don't need to take it anymore.
24394         
24395
24396
24397 2005-05-25  Wim Taymans  <wim@fluendo.com>
24398
24399         * tools/gst-launch.c: (event_loop):
24400         Unref message after using its contents instead of
24401         before.
24402
24403 2005-05-24  Wim Taymans  <wim@fluendo.com>
24404
24405         * docs/design/draft-ghostpads.txt:
24406         * docs/design/draft-push-pull.txt:
24407         * docs/design/draft-query.txt:
24408         * docs/design/part-overview.txt:
24409         Docs updates, added general overview doc.
24410
24411 2005-05-21  David Schleef  <ds@schleef.org>
24412
24413         * docs/gst/tmpl/old/GstBin.sgml:
24414         * docs/gst/tmpl/old/GstBuffer.sgml:
24415         * docs/gst/tmpl/old/GstCaps.sgml:
24416         * docs/gst/tmpl/old/GstClock.sgml:
24417         * docs/gst/tmpl/old/GstCompat.sgml:
24418         * docs/gst/tmpl/old/GstData.sgml:
24419         * docs/gst/tmpl/old/GstElement.sgml:
24420         * docs/gst/tmpl/old/GstEvent.sgml:
24421         * docs/gst/tmpl/old/GstIndex.sgml:
24422         * docs/gst/tmpl/old/GstStructure.sgml:
24423         * docs/gst/tmpl/old/GstTag.sgml:
24424         * docs/gst/tmpl/old/cothreads.sgml:
24425         * docs/gst/tmpl/old/cothreads_compat.sgml:
24426         * docs/gst/tmpl/old/gettext.sgml:
24427         * docs/gst/tmpl/old/gobject2gtk.sgml:
24428         * docs/gst/tmpl/old/grammar.tab.sgml:
24429         * docs/gst/tmpl/old/gst-i18n-app.sgml:
24430         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24431         * docs/gst/tmpl/old/gst_private.sgml:
24432         * docs/gst/tmpl/old/gstaggregator.sgml:
24433         * docs/gst/tmpl/old/gstarch.sgml:
24434         * docs/gst/tmpl/old/gstatomic_impl.sgml:
24435         * docs/gst/tmpl/old/gstbufferstore.sgml:
24436         * docs/gst/tmpl/old/gstdata_private.sgml:
24437         * docs/gst/tmpl/old/gstdisksink.sgml:
24438         * docs/gst/tmpl/old/gstdisksrc.sgml:
24439         * docs/gst/tmpl/old/gstelementfactory.sgml:
24440         * docs/gst/tmpl/old/gstextratypes.sgml:
24441         * docs/gst/tmpl/old/gstfakesink.sgml:
24442         * docs/gst/tmpl/old/gstfakesrc.sgml:
24443         * docs/gst/tmpl/old/gstfdsink.sgml:
24444         * docs/gst/tmpl/old/gstfdsrc.sgml:
24445         * docs/gst/tmpl/old/gstfilesink.sgml:
24446         * docs/gst/tmpl/old/gstfilesrc.sgml:
24447         * docs/gst/tmpl/old/gsthttpsrc.sgml:
24448         * docs/gst/tmpl/old/gstidentity.sgml:
24449         * docs/gst/tmpl/old/gstindexfactory.sgml:
24450         * docs/gst/tmpl/old/gstmarshal.sgml:
24451         * docs/gst/tmpl/old/gstmd5sink.sgml:
24452         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24453         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24454         * docs/gst/tmpl/old/gstpadtemplate.sgml:
24455         * docs/gst/tmpl/old/gstpipefilter.sgml:
24456         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24457         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24458         * docs/gst/tmpl/old/gstshaper.sgml:
24459         * docs/gst/tmpl/old/gstspider.sgml:
24460         * docs/gst/tmpl/old/gstspideridentity.sgml:
24461         * docs/gst/tmpl/old/gststatistics.sgml:
24462         * docs/gst/tmpl/old/gsttee.sgml:
24463         * docs/gst/tmpl/old/gsttimecache.sgml:
24464         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24465         * docs/gst/tmpl/old/gstxmlregistry.sgml:
24466         * docs/gst/tmpl/old/gthread-cothreads.sgml:
24467         * docs/gst/tmpl/old/types.sgml:
24468           I didn't intend to add these or check them in.
24469
24470 2005-05-19  David Schleef  <ds@schleef.org>
24471
24472         * configure.ac: Use -no-common everywhere.  In a sane world, it
24473           would be the default in libtool, because without it, you can't
24474           build DLLs on Windows.
24475         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24476         * docs/gst/gstreamer-sections.txt:
24477         * docs/gst/tmpl/gstcpu.sgml:
24478         * docs/gst/tmpl/gstdata.sgml:
24479         * docs/gst/tmpl/gstthread.sgml:
24480
24481 2005-05-19  David Schleef  <ds@schleef.org>
24482
24483         * gst/gstminiobject.c: (gst_value_set_mini_object),
24484         (gst_value_take_mini_object), (gst_value_get_mini_object):
24485         * gst/gstminiobject.h: Add GValue set/get functions.
24486
24487 2005-05-19  Wim Taymans  <wim@fluendo.com>
24488
24489         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24490         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24491         (gst_subbuffer_init), (gst_buffer_is_span_fast):
24492         * gst/gstbuffer.h:
24493         * gst/gstbus.c: (gst_bus_post):
24494         * gst/gstelement.c: (gst_element_get_random_pad):
24495         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24496         Make subbufer unref the parent in finalize.
24497         some more debugging info.
24498
24499
24500 2005-05-19  Wim Taymans  <wim@fluendo.com>
24501
24502         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24503         (gst_basesink_init), (gst_basesink_finalize),
24504         (gst_basesink_activate), (gst_basesink_change_state):
24505         Don't free preroll queue too early.
24506
24507 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24508
24509         * gst/Makefile.am:
24510         * gst/ROADMAP:
24511           Hi, I'm outdated. Please shoot me.
24512
24513 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24514
24515         * gst/gstpipeline.c: (gst_pipeline_send_event):
24516           Do not access variables after they have been deleted.
24517
24518 2005-05-19  Wim Taymans  <wim@fluendo.com>
24519
24520         * tools/gst-inspect.c: (print_plugin_features):
24521         A plugin feature does unfortunatly not use the
24522         object name yet...
24523
24524 2005-05-18  Wim Taymans  <wim@fluendo.com>
24525
24526         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24527         Port _span() functions to new subbuffers.
24528
24529 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24530
24531         * gst/gstbin.c: (gst_bin_add_func):
24532           Fix clock settery in bins when adding kids after the clock has
24533           been selected.
24534
24535 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24536
24537         * gst/elements/gstidentity.c: (gst_identity_class_init):
24538           Workaround until signals support GstMiniObject.
24539
24540 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
24541
24542         * gst/gstbuffer.c:
24543         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24544
24545 2005-05-18  Wim Taymans  <wim@fluendo.com>
24546
24547         * gst/base/Makefile.am:
24548         * gst/base/gstadapter.c: (gst_adapter_base_init),
24549         (gst_adapter_class_init), (gst_adapter_init),
24550         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24551         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24552         (gst_adapter_flush), (gst_adapter_available),
24553         (gst_adapter_available_fast):
24554         * gst/base/gstadapter.h:
24555         Ported and added adapter to the base classes.
24556
24557 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24558
24559         * gst/gst.c:
24560         * gst/gstmessage.c:
24561           Make sure the class is reffed/unreffed once before threads can be
24562           used.  Fixes #304551.
24563
24564 2005-05-17  Wim Taymans  <wim@fluendo.com>
24565
24566         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24567         (gst_basesink_chain_unlocked), (gst_basesink_activate):
24568         * gst/gstminiobject.c: (gst_mini_object_get_type),
24569         (gst_mini_object_free):
24570         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24571         (gst_pad_push), (gst_pad_push_event):
24572         * gst/gstqueue.c: (gst_queue_change_state):
24573         Don't queue buffers in basesink when we are flushing.
24574         Unref buffer when flushing in basesink.
24575         Flush queue when going to READY
24576         Unref buffer when _push() returns an error.
24577         Don't free MiniObject instance when refcount is incremented
24578         in _finalize() so that we can recover objects.
24579
24580 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24581
24582         * docs/manual/advanced-schedulers.xml:
24583         * docs/manual/appendix-checklist.xml:
24584         * docs/pwg/advanced-clock.xml:
24585         * docs/pwg/advanced-interfaces.xml:
24586         * docs/pwg/advanced-request.xml:
24587         * docs/pwg/advanced-types.xml:
24588         * docs/pwg/intro-preface.xml:
24589         * examples/plugins/example.c: (gst_example_get_type),
24590         (gst_example_class_init), (gst_example_chain),
24591         (gst_example_set_property), (gst_example_get_property),
24592         (gst_example_change_state), (plugin_init):
24593         * examples/plugins/example.h:
24594           small doc fixes
24595
24596 2005-05-17  Wim Taymans  <wim@fluendo.com>
24597
24598         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24599         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24600         * gst/gstqueue.c: (gst_queue_change_state):
24601         Clear queue when going to READY.
24602         Remove IN_SETCAPS flag too.
24603
24604 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
24605
24606         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24607           Remove implicit cast from gboolean to GstElementStateReturn;
24608           make sure we still return failure in paused => ready case if
24609           the parent class fails to change state and our own stop 
24610           vfunc succeeds.
24611
24612 2005-05-17  Wim Taymans  <wim@fluendo.com>
24613
24614         * tools/gst-launch.c: (event_loop):
24615         Message was unreffed too soon.
24616
24617 2005-05-16  Andy Wingo  <wingo@pobox.com>
24618
24619         * gst/gstbin.c (sink_iterator_filter): Err... um...
24620
24621         * check/gst/gstbin.c (test_ghost_pads): New test for the
24622         ghosting-if-elements-not-in-same-bin behavior.
24623
24624 2005-05-16  David Schleef  <ds@schleef.org>
24625
24626         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24627         accessing refcount directly.
24628
24629 2005-05-15  David Schleef  <ds@schleef.org>
24630
24631         * check/Makefile.am: remove GstData checks
24632         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24633         * gst/Makefile.am: add miniobject, remove data
24634         * gst/gst.h: add miniobject, remove data
24635         * gst/gstdata.c: remove
24636         * gst/gstdata.h: remove
24637         * gst/gstdata_private.h: remove
24638         * gst/gsttypes.h: remove GstEvent and GstMessage
24639         * gst/gstelement.c: (gst_element_post_message): fix for API changes
24640         * gst/gstmarshal.list: change BOXED -> OBJECT
24641
24642         Implement GstMiniObject.
24643         * gst/gstminiobject.c:
24644         * gst/gstminiobject.h:
24645
24646         Modify to be subclasses of GstMiniObject.
24647         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24648         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24649         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24650         (gst_subbuffer_get_type), (gst_subbuffer_init),
24651         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24652         (gst_buffer_span):
24653         * gst/gstbuffer.h:
24654         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24655         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24656         (_gst_event_copy), (gst_event_new):
24657         * gst/gstevent.h:
24658         * gst/gstmessage.c: (_gst_message_initialize),
24659         (gst_message_get_type), (gst_message_class_init),
24660         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24661         (gst_message_new), (gst_message_new_error),
24662         (gst_message_new_warning), (gst_message_new_tag),
24663         (gst_message_new_state_changed), (gst_message_new_application):
24664         * gst/gstmessage.h:
24665         * gst/gstprobe.c: (gst_probe_perform),
24666         (gst_probe_dispatcher_dispatch):
24667         * gst/gstprobe.h:
24668         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24669         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24670         (_gst_query_copy), (gst_query_new):
24671
24672         Update elements for GstData -> GstMiniObject changes
24673         * gst/gstquery.h:
24674         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24675         (gst_queue_chain), (gst_queue_loop):
24676         * gst/elements/gstbufferstore.c:
24677         (gst_buffer_store_add_buffer_func),
24678         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24679         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24680         (gst_fakesink_render):
24681         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24682         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24683         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24684         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24685         (gst_filesrc_create_read):
24686         * gst/elements/gstidentity.c: (gst_identity_class_init):
24687         * gst/elements/gsttypefindelement.c:
24688         (gst_type_find_element_src_event), (free_entry_buffers),
24689         (gst_type_find_element_handle_event):
24690         * libs/gst/dataprotocol/dataprotocol.c:
24691         (gst_dp_header_from_buffer):
24692         * libs/gst/dataprotocol/dataprotocol.h:
24693         * libs/gst/dataprotocol/dp-private.h:
24694
24695 2005-05-15  David Schleef  <ds@schleef.org>
24696
24697         * gst/elements/gstelements.c: Don't include headers that were
24698         just removed.
24699
24700 2005-05-15  David Schleef  <ds@schleef.org>
24701
24702         * gst/elements/Makefile.am: Remove some elements that don't
24703         need to be in the core (or even exist at all).
24704         * gst/elements/gstaggregator.c:
24705         * gst/elements/gstaggregator.h:
24706         * gst/elements/gstmd5sink.c:
24707         * gst/elements/gstmd5sink.h:
24708         * gst/elements/gstmultifilesrc.c:
24709         * gst/elements/gstmultifilesrc.h:
24710         * gst/elements/gstpipefilter.c:
24711         * gst/elements/gstpipefilter.h:
24712         * gst/elements/gstshaper.c:
24713         * gst/elements/gstshaper.h:
24714         * gst/elements/gststatistics.c:
24715         * gst/elements/gststatistics.h:
24716         * po/POTFILES.in: Remove above files.
24717
24718 2005-05-14  Andy Wingo  <wingo@pobox.com>
24719
24720         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24721         so as to get the refs right.
24722         (sink_iterator_filter): New function, wraps bin_element_is_sink,
24723         unreffing objects that don't pass the filter.
24724
24725         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24726         gst_element_set_bus.
24727         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24728         normal cases, this will destroy the bus.
24729
24730         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24731         object.
24732
24733         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24734         has no sinks.
24735
24736 2005-05-13  Andy Wingo  <wingo@pobox.com>
24737
24738         * gst/gstutils.c (gst_element_link_pads): Instead of calling
24739         gst_pad_link, call pad_link_maybe_ghosting,
24740         (pad_link_maybe_ghosting): Links pads, making sure that the
24741         elements being linked are in the same bin.
24742         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24743         Helpers for pad_link_maybe_ghosting.
24744
24745 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24746
24747         * configure.ac:
24748           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24749
24750 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24751
24752         * docs/design/part-element-source.txt:
24753           Mention GstPushSrc
24754
24755 2005-05-12  Wim Taymans  <wim@fluendo.com>
24756
24757         * gst/base/gstbasesink.c: (gst_basesink_init),
24758         (gst_basesink_activate):
24759         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24760         (gst_basesrc_is_seekable):
24761         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24762         (bin_element_is_sink), (gst_bin_change_state):
24763         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24764         * gst/gstelement.h:
24765         Identify sinks by their flag to avoid overly complicated
24766         checks (fow now).
24767         Do state changes even for elements not reachable from the
24768         sinks.
24769         BaseSink is a sink now :)
24770         Some more debugging info in the basesrc.
24771
24772
24773 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24774
24775         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24776           Implement _query on a bin, similar to _send_event.
24777
24778 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
24779
24780         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24781           Discont event offset format should be GST_FORMAT_BYTES,
24782           not GST_FORMAT_TIME.
24783
24784 2005-05-12  Wim Taymans  <wim@fluendo.com>
24785
24786         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24787         Same fix as Ronald's but without the signal. 
24788
24789 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24790
24791         * gst/gstutils.c: (gst_element_query_position):
24792           No, an element is not a pad.
24793
24794 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24795
24796         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24797         (gst_bin_get_state):
24798           If a child is removed from a bin while we remove the child from
24799           the bin and while we're retrieving its state, signal this to the
24800           get_state function so we abort the wait (instead of waiting for
24801           a timeout) and can immediately re-iterate over all other elements.
24802
24803 2005-05-12  Wim Taymans  <wim@fluendo.com>
24804
24805         * gst/base/Makefile.am:
24806         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24807         (gst_basesrc_start):
24808         * gst/base/gstbasesrc.h:
24809         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24810         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24811         (gst_pushsrc_init), (gst_pushsrc_create):
24812         * gst/base/gstpushsrc.h:
24813         Added is_seekable to BaseSrc
24814         Added simple PushSrc.
24815
24816 2005-05-11  Wim Taymans  <wim@fluendo.com>
24817
24818         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24819         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24820         (gst_element_link_pads), (gst_element_query_position),
24821         (gst_element_query_convert), (intersect_caps_func),
24822         (gst_pad_query_position), (gst_pad_query_convert):
24823         Fix refcounting in utils function.
24824         No point in trying to activate a pad when it's added, it could
24825         be added from the state change function and then we deadlock, the
24826         element has to decide what to do.
24827
24828 2005-05-10  Andy Wingo  <wingo@pobox.com>
24829
24830         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24831         *all* the arguments.
24832
24833         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24834         stream lock if it's a FLUSH_DONE; normal flushes don't get the
24835         lock (according to the docs -- if this is wrong change the docs).
24836
24837         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24838         flush messages in the NULL state.
24839
24840         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24841         message immediately and return.
24842         (gst_bus_set_flushing): New function. If a bus is flushing, it
24843         flushes out any queued messages and immediately unrefs new
24844         messages. This is so when an element goes to NULL, all of the
24845         unhandled messages coming from it can be freed, and their
24846         references to the element dropped. In other words: message source
24847         ref considered harmful :P
24848
24849         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24850         we're finished with it.
24851
24852         * gst/gstmessage.c (gst_message_new_state_changed): 
24853
24854 2005-05-10  Wim Taymans  <wim@fluendo.com>
24855
24856         * gst/gstvalue.c: (gst_value_compare_flags),
24857         (gst_value_serialize_flags), (gst_value_deserialize_flags),
24858         (_gst_value_initialize):
24859         Added flags serialize/deserialize/compare code.
24860
24861 2005-05-09  Andy Wingo  <wingo@pobox.com>
24862
24863         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24864         Intersect the peer's caps with our caps.
24865
24866 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24867
24868         * gst/base/gsttypefindhelper.c: (helper_find_peek):
24869         * gst/elements/gsttypefindelement.c: (find_peek):
24870           Handle negative offsets better. Fixes decodebin.
24871
24872 2005-05-09  Wim Taymans  <wim@fluendo.com>
24873
24874         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24875         (gst_base_transform_event):
24876         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24877         Implement accept_caps.
24878         Fix silly lock/unlock mismatch in base class.
24879
24880 2005-05-09  Wim Taymans  <wim@fluendo.com>
24881
24882         * docs/design/draft-push-pull.txt:
24883         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24884         * gst/elements/gstfilesink.c: (gst_filesink_init),
24885         (gst_filesink_query):
24886         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24887         (gst_type_find_handle_src_query), (find_element_get_length):
24888         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24889         * gst/gstelement.h:
24890         * gst/gstmessage.c:
24891         * gst/gstmessage.h:
24892         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24893         (gst_real_pad_get_caps_unlocked),
24894         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24895         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24896         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24897         (gst_real_pad_dispose), (gst_real_pad_finalize),
24898         (gst_pad_load_and_link), (gst_pad_save_thyself),
24899         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24900         (gst_pad_check_pull_range), (gst_pad_pull_range),
24901         (gst_pad_template_get_type), (gst_pad_template_class_init),
24902         (gst_pad_template_init), (gst_pad_template_dispose),
24903         (name_is_valid), (gst_static_pad_template_get),
24904         (gst_pad_template_new), (gst_static_pad_template_get_caps),
24905         (gst_pad_template_get_caps), (gst_pad_set_element_private),
24906         (gst_pad_get_element_private), (gst_pad_start_task),
24907         (gst_pad_pause_task), (gst_pad_stop_task),
24908         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24909         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24910         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24911         (gst_ghost_pad_new):
24912         * gst/gstpad.h:
24913         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24914         (gst_query_new_position), (gst_query_set_position),
24915         (gst_query_parse_position), (gst_query_new_convert),
24916         (gst_query_set_convert), (gst_query_parse_convert):
24917         * gst/gstquery.h:
24918         * gst/gstqueryutils.c:
24919         * gst/gstqueryutils.h:
24920         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24921         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24922         (gst_queue_handle_src_query):
24923         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24924         (gst_element_query_position), (gst_element_query_convert),
24925         (intersect_caps_func), (gst_pad_query_position),
24926         (gst_pad_query_convert):
24927         * gst/gstutils.h:
24928         * tools/gst-inspect.c: (print_pad_info):
24929         * tools/gst-xmlinspect.c: (print_element_info):
24930         Remove old query functions. Ported old code.
24931         Added position/convert helper functions to gstutils.
24932         Reordered gstpad.c code, grouping relevant things.
24933         Remove gst_message_new(), always need to speficy a specific
24934         message.
24935
24936
24937 2005-05-09  Andy Wingo  <wingo@pobox.com>
24938
24939         * gst/gstiterator.h: Add some includes.
24940
24941         * gst/gstqueryutils.h: Include more headers.
24942
24943         * gst/gstpad.h:
24944         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24945         some uses of gst_pad_query.
24946
24947         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24948         NULL out parameters.
24949         (gst_query_new_position): New proc, allocates a new position
24950         query.
24951
24952         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24953         gstqueryutils.c to the build.
24954
24955         * gst/gststructure.c (gst_structure_set_valist): Implement with
24956         the generic G_VALUE_COLLECT.
24957         
24958 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
24959
24960         * gst/Makefile.am: (gst_headers):
24961         Added gstqueryutils.h to the list of headers to install, that was
24962         a 'nachty' move wingo :)
24963
24964 2005-05-06  Andy Wingo  <wingo@pobox.com>
24965
24966         * gst/gstquery.h
24967         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24968         GstData, init a memchunk.
24969         (standard_definitions): Add a few query types, deprecate a few.
24970         (gst_query_get_type): New proc.
24971         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24972         implementation.
24973         (gst_query_new_application, gst_query_get_structure): New public
24974         procs.
24975
24976         * docs/design/draft-query.txt: Removed LINKS from the query types,
24977         because all the rest can be dispatched to other pads -- seemed
24978         ugly to have a query that couldn't be dispatched. internal_links
24979         is fine as a pad method.
24980
24981         * gst/gstpad.h: Add query2 as a pad method, add the new functions
24982         in gstpad.c, but maintain binary compatibility for the moment.
24983         Will fix before 0.9 is out.
24984
24985         * gst/gstqueryutils.c: 
24986         * gst/gstqueryutils.h: New files, implement 3 methods for each
24987         query type: parse_query, parse_response, and set. Probably need an
24988         allocator as well.
24989
24990         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24991
24992         * gst/elements/gstfilesink.c (gst_filesink_query2):
24993         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24994         query_types, and formats methods.
24995
24996         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24997         (gst_pad_set_query2_function): New functions.
24998         (gst_real_pad_init): Set query2_default as the default query2
24999         function. Basically just dispatches to internally linked pads.
25000
25001         Needs review!
25002         
25003         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
25004         without using the atomic operations. Only one thread can possibly
25005         be accessing the data at this point. Changed so as to avoid
25006         gst_atomic operations.
25007
25008 2005-05-06  Wim Taymans  <wim@fluendo.com>
25009
25010         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
25011         Also set caps if we use the fallback buffer alloc.
25012
25013 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
25014
25015         * docs/gst/Makefile.am:
25016         * docs/gst/gstreamer-docs.sgml:
25017         * docs/gst/gstreamer-sections.txt:
25018         * docs/gst/tmpl/gstatomic.sgml:
25019         * docs/gst/tmpl/gstmemchunk.sgml:
25020         * testsuite/elements/struct_i386.h:
25021         * win32/GStreamer.vcproj:
25022         * win32/Makefile:
25023           Purge GstAtomic stuff from docs and win32 makefiles as well
25024
25025 2005-05-06  Wim Taymans  <wim@fluendo.com>
25026
25027         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25028         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25029         * gst/gstpad.c: (gst_pad_peer_get_caps):
25030         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25031         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25032         (gst_queue_src_activate), (gst_queue_change_state):
25033         * gst/gstqueue.h:
25034         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25035         (intersect_caps_func):
25036         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25037         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25038         Some fixes for the peer_get_caps() change.
25039
25040 2005-05-06  Wim Taymans  <wim@fluendo.com>
25041
25042         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25043         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25044         (gst_basesink_activate):
25045         Actually do something with error codes returned from the push
25046         functions.
25047
25048 2005-05-06  Wim Taymans  <wim@fluendo.com>
25049
25050         * docs/design/part-element-sink.txt:
25051         * docs/design/part-element-source.txt:
25052         * gst/base/gstbasesink.c: (gst_basesink_class_init),
25053         (gst_basesink_event), (gst_basesink_activate):
25054         * gst/base/gstbasesink.h:
25055         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25056         (gst_basesrc_activate):
25057         * gst/base/gstbasesrc.h:
25058         * gst/gstelement.c: (gst_element_pads_activate):
25059         Some more documentation.
25060         Fixed scheduling decision in _pads_activate().
25061
25062 2005-05-05  Andy Wingo  <wingo@pobox.com>
25063
25064         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25065         the test suite.
25066
25067 2005-05-05  Wim Taymans  <wim@fluendo.com>
25068
25069         * gst/base/Makefile.am:
25070         * gst/base/gstbasesink.h:
25071         * gst/base/gstbasesrc.c: (gst_basesrc_init),
25072         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25073         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25074         (gst_collectpads_class_init), (gst_collectpads_init),
25075         (gst_collectpads_finalize), (gst_collectpads_new),
25076         (gst_collectpads_set_function), (gst_collectpads_add_pad),
25077         (find_pad), (gst_collectpads_remove_pad),
25078         (gst_collectpads_is_active), (gst_collectpads_collect),
25079         (gst_collectpads_collect_range), (gst_collectpads_start),
25080         (gst_collectpads_stop), (gst_collectpads_peek),
25081         (gst_collectpads_pop), (gst_collectpads_available),
25082         (gst_collectpads_read), (gst_collectpads_flush),
25083         (gst_collectpads_chain):
25084         * gst/base/gstcollectpads.h:
25085         * gst/elements/Makefile.am:
25086         * gst/elements/gstelements.c:
25087         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25088         (gst_fakesink_get_times), (gst_fakesink_event),
25089         (gst_fakesink_preroll), (gst_fakesink_render):
25090         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25091         (gst_filesink_init), (gst_filesink_set_location),
25092         (gst_filesink_open_file), (gst_filesink_close_file),
25093         (gst_filesink_pad_query), (gst_filesink_event),
25094         (gst_filesink_render), (gst_filesink_change_state):
25095         * gst/elements/gstfilesink.h:
25096         Added object to help in making collect pad based elements.
25097         Ported filesink.
25098         Make event function in sink baseclass return gboolean.
25099
25100 2005-05-05  Wim Taymans  <wim@fluendo.com>
25101
25102         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25103         (gst_bin_get_by_name):
25104         * gst/gstbuffer.h:
25105         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25106         (gst_clock_finalize):
25107         * gst/gstdata.c: (gst_data_replace):
25108         * gst/gstdata.h:
25109         * gst/gstelement.c: (gst_element_request_pad),
25110         (gst_element_pads_activate):
25111         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25112         (gst_object_unref):
25113         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25114         (gst_pad_set_checkgetrange_function),
25115         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25116         (gst_pad_check_pull_range), (gst_pad_pull_range),
25117         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25118         (gst_pad_pause_task), (gst_pad_stop_task):
25119         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25120         (gst_element_request_pad), (gst_pad_proxy_getcaps):
25121         Fix name lookup in GstBin.
25122         Added _data_replace() function and _buffer_replace()
25123         Use finalize method to clean up clock.
25124         Fix refcounting on request pads.
25125         Fix pad schedule mode error.
25126         Some more object refcounting debug info,
25127
25128
25129 2005-05-04  Andy Wingo <wingo@pobox.com>
25130
25131         * check/Makefile.am:
25132         * docs/gst/tmpl/gstatomic.sgml:
25133         * docs/gst/tmpl/gstplugin.sgml:
25134         * gst/base/gstbasesink.c: (gst_basesink_activate):
25135         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25136         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25137         (gst_basesrc_query), (gst_basesrc_set_property),
25138         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25139         (gst_basesrc_activate):
25140         * gst/base/gstbasesrc.h:
25141         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25142         (gst_base_transform_src_activate):
25143         * gst/elements/gstelements.c:
25144         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25145         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25146         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25147         * gst/elements/gsttypefindelement.c: (find_element_get_length),
25148         (gst_type_find_element_checkgetrange),
25149         (gst_type_find_element_activate):
25150         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25151         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25152         (gst_caps_load_thyself):
25153         * gst/gstelement.c: (gst_element_pads_activate),
25154         (gst_element_save_thyself), (gst_element_restore_thyself):
25155         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25156         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25157         * gst/gstpad.h:
25158         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25159         (gst_xml_parse_file), (gst_xml_parse_memory),
25160         (gst_xml_get_element), (gst_xml_make_element):
25161         * gst/indexers/gstfileindex.c: (gst_file_index_load),
25162         (_file_index_id_save_xml), (gst_file_index_commit):
25163         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25164         (read_enum), (load_pad_template), (load_feature), (load_plugin),
25165         (load_paths):
25166         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25167         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25168         * tools/gst-complete.c: (main):
25169         * tools/gst-compprep.c: (main):
25170         * tools/gst-inspect.c: (print_element_properties_info):
25171         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25172         * tools/gst-xmlinspect.c: (print_element_properties):
25173         GCC 4 fixen.
25174         
25175 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25176
25177         * gst/gstplugin.c: (gst_plugin_check_module),
25178         (gst_plugin_check_file), (gst_plugin_load_file):
25179             apply patch from #172526 to make register work on MacOSX
25180
25181 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25182
25183         * docs/gst/tmpl/gstconfig.sgml:
25184         * gst/gstconfig.h.in:
25185           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
25186         * testsuite/debug/printf_extension.c: (main):
25187           Do not use GST_PTR_FORMAT on pointers to types with
25188           sizeof < sizeof(gpointer).  Fixes test on 64-bit
25189         * testsuite/elements/property.h:
25190           use correct printf format
25191
25192 2005-05-02  Wim Taymans  <wim@fluendo.com>
25193
25194         * docs/design/draft-push-pull.txt:
25195         * docs/design/draft-query.txt:
25196         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25197         (gst_basesrc_start):
25198         Added draft for new query API.
25199         Added draft for better selecting scheduling methods.
25200         Make basesrc ignore length if the subclass does not support
25201         it.
25202
25203 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25204
25205         * gst/Makefile.am:
25206           possible fixes for automake-1.5 - _LIBADD is reserved
25207
25208 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25209
25210         * docs/faq/Makefile.am:
25211         * docs/manual/Makefile.am:
25212         * docs/manuals.mak:
25213         * docs/pwg/Makefile.am:
25214         * gst/Makefile.am:
25215           possible fixes for automake-1.5
25216
25217 2005-04-28  Wim Taymans  <wim@fluendo.com>
25218
25219         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25220         (gst_basesink_pad_getcaps), (gst_basesink_init),
25221         (gst_basesink_do_sync):
25222         * gst/gstclock.c: (gst_clock_entry_new):
25223         * gst/gstevent.c: (gst_event_discont_get_value):
25224         * gst/gstpipeline.c: (pipeline_bus_handler),
25225         (gst_pipeline_change_state):
25226         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25227         Better debugging of clocking info.
25228         Allow NULL values when getting discont values.
25229
25230 2005-04-27  Wim Taymans  <wim@fluendo.com>
25231
25232         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25233         * check/gst/gstpad.c: (gst_pad_suite):
25234         Increase timeout for checks.
25235
25236 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25237
25238         * check/Makefile.am:
25239           fix the broken rule for cleanup.  Apparently this rule is
25240           only needed on FC2, so maybe this warrants further autotool
25241           inspection.
25242
25243 2005-04-26  Wim Taymans  <wim@fluendo.com>
25244
25245         * gst/gsttrashstack.h:
25246         Ooohh. a nasty one! After having a failed pop() from the stack,
25247         it's possible that the stack is empty. In that case, don't
25248         follow the NULL pointer.
25249
25250 2005-04-25  Wim Taymans  <wim@fluendo.com>
25251
25252         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25253         (gst_pad_set_checkgetrange_function),
25254         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25255         (gst_pad_check_pull_range), (gst_pad_pull_range),
25256         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25257         (gst_pad_pause_task), (gst_pad_stop_task):
25258         * gst/gstplugin.c: (gst_plugin_load):
25259         * gst/gstplugin.h:
25260         Remove gst_library_load as it does more harm than good with
25261         the new g_module flags.
25262         Revert bogus caps template check in pad linking, pad caps
25263         are important when linking not the template, which is more
25264         general than the current caps.
25265
25266 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25267
25268         * gst/autoplug/.cvsignore:
25269         * gst/autoplug/Makefile.am:
25270         * gst/autoplug/gstsearchfuncs.c:
25271         * gst/autoplug/gstsearchfuncs.h:
25272         * gst/autoplug/gstspider.c:
25273         * gst/autoplug/gstspider.h:
25274         * gst/autoplug/gstspideridentity.c:
25275         * gst/autoplug/gstspideridentity.h:
25276         * gst/autoplug/spidertest.c:
25277           Die, spider, die.
25278
25279 2005-04-25  Wim Taymans  <wim@fluendo.com>
25280
25281         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25282         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25283         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25284         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25285         * gst/gstpad.h:
25286         Added stubs for unimplemented functions. 
25287
25288 2005-04-24  David Schleef  <ds@schleef.org>
25289
25290         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
25291         please fix.
25292
25293 2005-04-24  David Schleef  <ds@schleef.org>
25294
25295         Convert everything from GstAtomicInt to g_atomic_int_*, and
25296         remove gstatomic.
25297         * gst/Makefile.am:
25298         * gst/gstatomic.c:
25299         * gst/gstatomic.h:
25300         * gst/gstatomic_impl.h:
25301         * gst/gstbuffer.c:
25302         * gst/gstcaps.c:
25303         * gst/gstcaps.h:
25304         * gst/gstclock.c:
25305         * gst/gstclock.h:
25306         * gst/gstdata.c:
25307         * gst/gstdata.h:
25308         * gst/gstdata_private.h:
25309         * gst/gstevent.c:
25310         * gst/gstinfo.c:
25311         * gst/gstinfo.h:
25312         * gst/gstmessage.c:
25313         * gst/gstobject.c:
25314         * gst/gstobject.h:
25315         * gst/gststructure.c:
25316         * gst/gststructure.h:
25317         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25318         * gst/gstutils.h:
25319
25320 2005-04-24  David Schleef  <ds@schleef.org>
25321
25322         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25323         make the regressions tests work.  Remove some code that is no
25324         longer true.
25325         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25326         Disable warning for pads without templates.
25327
25328 2005-04-24  David Schleef  <ds@schleef.org>
25329
25330         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
25331         functions that handle filtered links.
25332         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25333         removed functions.
25334         * gst/gstutils.c: Fix/remove utility functions that handle
25335         filtered caps.
25336         * gst/gstutils.h:
25337         * gst/gstvalue.c: Add serialization/deserialization of caps
25338         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
25339         requires fixing so that the filter caps notation creates
25340         a capsfilter element and sets the filter_caps property.  I
25341         think everyone probably wants to keep the shorthand notation.
25342         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25343         * docs/gst/tmpl/gstpad.sgml:
25344
25345         * gst/elements/gstelements.c: Register capsfilter element.
25346         * gst/Makefile.am: fix spacing
25347         * docs/random/ds/0.9-suggested-changes: random
25348
25349 2005-04-23  David Schleef  <ds@schleef.org>
25350
25351         * gst/elements/Makefile.am:
25352         * gst/elements/gstcapsfilter.c: New element that acts like an
25353         identity, but filters caps.  Will eventually replace filtered
25354         caps in pad linking.
25355         * gst/gstutils.c: (gst_element_create_all_pads): New function
25356         to create all the ALWAYS pads that are registered with an
25357         element class.  This functionality should eventually be
25358         merged in with GstElement initialization.
25359         * gst/gstutils.h:
25360         * testsuite/trigger/README: part of trigger test code that should
25361         have been checked in a long time ago.
25362
25363 2005-04-23  David Schleef  <ds@schleef.org>
25364
25365         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
25366         needed with new versions of libtool (nobody will confirm this),
25367         and hard to carry around.
25368         * gst/autoplug/Makefile.am:
25369         * gst/base/Makefile.am:
25370         * gst/elements/Makefile.am:
25371         * gst/indexers/Makefile.am:
25372         * gst/schedulers/Makefile.am:
25373         * libs/gst/bytestream/Makefile.am:
25374         * libs/gst/control/Makefile.am:
25375         * libs/gst/dataprotocol/Makefile.am:
25376         * libs/gst/getbits/Makefile.am:
25377
25378 2005-04-21  Wim Taymans  <wim@fluendo.com>
25379
25380         * docs/design/draft-push-pull.txt:
25381         * docs/design/part-MT-refcounting.txt:
25382         * docs/design/part-TODO.txt:
25383         * docs/design/part-caps.txt:
25384         * docs/design/part-events.txt:
25385         * docs/design/part-gstbus.txt:
25386         * docs/design/part-gstpipeline.txt:
25387         * docs/design/part-messages.txt:
25388         * docs/design/part-push-pull.txt:
25389         * docs/design/part-query.txt:
25390         Some more docs.
25391
25392 2005-04-21  Wim Taymans  <wim@fluendo.com>
25393
25394         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25395         (gst_message_new), (gst_message_new_error),
25396         (gst_message_new_warning), (gst_message_new_tag),
25397         (gst_message_new_state_changed), (gst_message_new_application),
25398         (gst_message_get_structure):
25399         * gst/gstmessage.h:
25400         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25401         (gst_structure_copy_conditional):
25402         Use parent refcount in GstMessage to ensure GstStructure
25403         consistency.
25404         Cleaned up headers a bit.
25405         
25406
25407 2005-04-20  Wim Taymans  <wim@fluendo.com>
25408
25409         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25410         (gst_basesink_pad_getcaps), (gst_basesink_init),
25411         (gst_basesink_chain_unlocked):
25412         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25413         (gst_type_find_helper):
25414         * gst/elements/gsttypefindelement.c:
25415         (gst_type_find_element_have_type), (gst_type_find_element_init),
25416         (stop_typefinding), (gst_type_find_element_handle_event),
25417         (find_suggest), (gst_type_find_element_chain),
25418         (gst_type_find_element_checkgetrange),
25419         (gst_type_find_element_getrange), (do_typefind),
25420         (gst_type_find_element_activate):
25421         * gst/gstbuffer.c: (_gst_buffer_sub_free),
25422         (gst_buffer_default_free), (gst_buffer_default_copy),
25423         (gst_buffer_set_caps):
25424         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25425         (gst_caps_replace):
25426         * gst/gstmessage.c: (gst_message_new),
25427         (gst_message_new_state_changed):
25428         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25429         (gst_pad_set_checkgetrange_function),
25430         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25431         (gst_pad_set_caps), (gst_pad_check_pull_range),
25432         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25433         * gst/gstpad.h:
25434         * gst/gsttypefind.c: (gst_type_find_register):
25435         Make gst_caps_replace() work like other _replace() functions.
25436         Use _caps_replace() where possible.
25437         Make sure _message_new() initialises its field.
25438         Add gst_static_pad_template_get_caps()
25439
25440
25441 2005-04-18  Andy Wingo  <wingo@pobox.com>
25442
25443         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25444         on the peer, not the pad. I think that was a typo. Pass an extra
25445         arg to see if random access is possible. Activate the pads as
25446         PULL_RANGE if possible.
25447
25448         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25449
25450         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
25451         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25452         to PROP_....
25453
25454 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25455
25456         * docs/faq/using.xml:
25457           Add note on gstreamer-properties (#154996).
25458
25459 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25460
25461         * docs/random/bbb/optional-properties:
25462           Some analysis on optional properties.
25463
25464 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25465
25466         * docs/gst/tmpl/gstelementfactory.sgml:
25467         * gst/gstelement.h:
25468         * gst/gstelementfactory.c: (gst_element_factory_init),
25469         (gst_element_factory_cleanup), (gst_element_register),
25470         (__gst_element_factory_add_static_pad_template),
25471         (gst_element_factory_get_static_pad_templates),
25472         (gst_element_factory_can_src_caps),
25473         (gst_element_factory_can_sink_caps):
25474         * gst/registries/Makefile.am:
25475         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25476         (gst_xml_registry_class_init), (gst_xml_registry_init),
25477         (gst_xml_registry_new), (gst_xml_registry_set_property),
25478         (gst_xml_registry_get_property), (get_time), (make_dir),
25479         (gst_xml_registry_get_perms_func),
25480         (plugin_times_older_than_recurse), (plugin_times_older_than),
25481         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25482         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25483         (add_to_char_array), (read_string), (read_uint), (read_enum),
25484         (load_pad_template), (load_feature), (load_plugin), (load_paths),
25485         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25486         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25487         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25488         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25489         (gst_xml_registry_rebuild):
25490         * gst/registries/gstlibxmlregistry.h:
25491         * tools/gst-compprep.c: (main):
25492         * tools/gst-inspect.c: (print_pad_templates_info):
25493         * tools/gst-xmlinspect.c: (print_element_info):
25494           Use libxml2 for registry parsing, use staticpadtemplates in
25495           elementfactories. Makes gst_init() +/- 10x faster.
25496
25497 2005-04-12  Wim Taymans  <wim@fluendo.com>
25498
25499         * gst/base/Makefile.am:
25500         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25501         (gst_basesink_pad_getcaps), (gst_basesink_init),
25502         (gst_basesink_event), (gst_basesink_change_state):
25503         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25504         (gst_basesrc_init), (gst_basesrc_query),
25505         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25506         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25507         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25508         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25509         (gst_basesrc_stop), (gst_basesrc_activate),
25510         (gst_basesrc_change_state):
25511         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25512         (helper_find_suggest), (gst_type_find_helper):
25513         * gst/base/gsttypefindhelper.h:
25514         * gst/elements/Makefile.am:
25515         * gst/elements/gstelements.c:
25516         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25517         (gst_fakesink_get_times), (gst_fakesink_event),
25518         (gst_fakesink_preroll), (gst_fakesink_render):
25519         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25520         (gst_fakesrc_init), (gst_fakesrc_event_handler),
25521         (gst_fakesrc_get_property), (gst_fakesrc_create),
25522         (gst_fakesrc_start), (gst_fakesrc_stop):
25523         * gst/elements/gstfakesrc.h:
25524         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25525         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25526         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25527         (gst_filesrc_create_read), (gst_filesrc_create),
25528         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25529         (gst_filesrc_start):
25530         * gst/elements/gsttypefindelement.c:
25531         (gst_type_find_element_have_type), (gst_type_find_element_init),
25532         (start_typefinding), (stop_typefinding), (push_buffer_store),
25533         (gst_type_find_element_handle_event),
25534         (gst_type_find_element_chain),
25535         (gst_type_find_element_checkgetrange),
25536         (gst_type_find_element_getrange), (do_typefind),
25537         (gst_type_find_element_activate),
25538         (gst_type_find_element_change_state):
25539         * gst/elements/gsttypefindelement.h:
25540         * gst/gstpipeline.c: (pipeline_bus_handler):
25541         Added typefind helper.
25542         Small preroll fix in the base sink.
25543         Disable typefind code in basesrc.
25544         Crude port of typefindelement.
25545         Fakesrc cleanups.
25546
25547
25548 2005-04-11  Wim Taymans  <wim@fluendo.com>
25549
25550         * check/gst/gstbus.c: (gstbus_suite):
25551         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25552         * check/gstcheck.h:
25553           Fix up the timeout so that the test does not fail.
25554
25555 2005-04-06  Wim Taymans  <wim@fluendo.com>
25556
25557         * gst/base/README:
25558         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25559         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25560         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25561         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25562         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25563         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25564         (gst_basesrc_stop), (gst_basesrc_activate),
25565         (gst_basesrc_change_state), (basesrc_find_peek),
25566         (basesrc_find_suggest), (gst_basesrc_type_find):
25567         * gst/base/gstbasesrc.h:
25568         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25569         (gst_filesrc_class_init), (gst_filesrc_init),
25570         (gst_filesrc_finalize), (gst_filesrc_set_location),
25571         (gst_filesrc_set_property), (gst_filesrc_get_property),
25572         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25573         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25574         (gst_filesrc_create_read), (gst_filesrc_create),
25575         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25576         * gst/elements/gstfilesrc.h:
25577         * gst/gstelement.c: (gst_element_get_state_func),
25578         (gst_element_lost_state), (gst_element_pads_activate):
25579         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25580         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25581         (gst_pad_pull_range):
25582         * gst/gstpad.h:
25583         More work on the generic source base class, implement seeking,
25584         query.
25585         Make filesrc extend the base source class.
25586         Added gst_pad_set_checkgetrange_function to GstPad.
25587
25588 2005-04-06  Andy Wingo  <wingo@pobox.com>
25589
25590         * pkgconfig/gstreamer-base.pc.in:
25591         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25592
25593         * pkgconfig/Makefile.am:
25594         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25595
25596 2005-04-04  Wim Taymans  <wim@fluendo.com>
25597
25598         * gst/base/Makefile.am:
25599         * gst/base/README:
25600         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25601         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25602         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25603         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25604         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25605         (gst_basesrc_base_init), (gst_basesrc_class_init),
25606         (gst_basesrc_init), (gst_basesrc_get_formats),
25607         (gst_basesrc_get_query_types), (gst_basesrc_query),
25608         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25609         (gst_basesrc_set_property), (gst_basesrc_get_property),
25610         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25611         (gst_basesrc_loop), (gst_basesrc_activate),
25612         (gst_basesrc_change_state):
25613         * gst/base/gstbasesrc.h:
25614         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25615         (gst_fakesrc_class_init), (gst_fakesrc_init),
25616         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25617         (gst_fakesrc_get_property), (gst_fakesrc_create):
25618         * gst/elements/gstfakesrc.h:
25619         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25620         (gst_filesrc_open_file), (gst_filesrc_loop),
25621         (gst_filesrc_activate), (filesrc_find_peek),
25622         (gst_filesrc_type_find):
25623         Made base source class, make fakesrc extend it.
25624         Add comments to basesink class.
25625         Some filesrc cleanup.
25626
25627 2005-03-31  David Schleef  <ds@schleef.org>
25628
25629         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25630         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25631         expected to link against libgstreamer.
25632         * gst/base/Makefile.am: link against libgstreamer
25633         * gst/elements/Makefile.am: same
25634
25635 2005-03-31  Andy Wingo  <wingo@pobox.com>
25636
25637         * tests/instantiate/Makefile.am:
25638         * tests/instantiate/caps.c: Add test to test speed of caps copy
25639         and free.
25640
25641         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25642         GMemChunk to be fair.
25643
25644         * gst/gsttrashstack.h: Remove warning about using the fallback
25645         trash stack implementation, it's still faster than malloc.
25646
25647 2005-03-30  Andy Wingo  <wingo@pobox.com>
25648
25649         * tests/complexity.c: Add a copyright.
25650
25651 2005-03-31  Wim Taymans  <wim@fluendo.com>
25652
25653         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25654         (gst_base_transform_class_init), (gst_base_transform_init),
25655         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25656         (gst_base_transform_get_property),
25657         (gst_base_transform_sink_activate),
25658         (gst_base_transform_src_activate),
25659         (gst_base_transform_change_state):
25660         * gst/base/gstbasetransform.h:
25661         * gst/elements/gstidentity.c: (gst_identity_class_init),
25662         (gst_identity_event), (gst_identity_check_perfect),
25663         (gst_identity_transform), (gst_identity_start),
25664         (gst_identity_stop):
25665         Added start/stop methods to transform base class so subclasses 
25666         don't need to deal with state changes even.
25667
25668 2005-03-31  Wim Taymans  <wim@fluendo.com>
25669
25670         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25671         (gst_event_new_discontinuous), (gst_event_discont_get_value):
25672         * gst/gstevent.h:
25673         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25674         (gst_pad_pull_range):
25675         Added rate to the discont event to prepare for variable speed
25676         and reverse playback.
25677
25678 2005-03-29  David Schleef  <ds@schleef.org>
25679
25680         * configure.ac:
25681         * testsuite/trigger/Makefile.am:
25682         * testsuite/trigger/trigger.c: A little example program to show
25683         how trigger-based elements can work.
25684
25685 2005-03-29  Wim Taymans  <wim@fluendo.com>
25686
25687         * gst/base/Makefile.am:
25688         * gst/base/README:
25689         * gst/base/gstbasesink.c: (gst_basesink_get_type),
25690         (gst_basesink_base_init), (gst_basesink_class_init),
25691         (gst_basesink_pad_getcaps), (gst_basesink_init),
25692         (gst_basesink_activate), (gst_basesink_change_state):
25693         * gst/base/gstbasesink.h:
25694         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25695         (gst_base_transform_base_init), (gst_base_transform_finalize),
25696         (gst_base_transform_class_init), (gst_base_transform_init),
25697         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25698         (gst_base_transform_event), (gst_base_transform_getrange),
25699         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25700         (gst_base_transform_set_property),
25701         (gst_base_transform_get_property),
25702         (gst_base_transform_sink_activate),
25703         (gst_base_transform_src_activate),
25704         (gst_base_transform_change_state):
25705         * gst/base/gstbasetransform.h:
25706         * gst/elements/gstidentity.c: (gst_identity_finalize),
25707         (gst_identity_class_init), (gst_identity_init),
25708         (gst_identity_event), (gst_identity_check_perfect),
25709         (gst_identity_transform), (gst_identity_set_property),
25710         (gst_identity_get_property), (gst_identity_change_state):
25711         * gst/elements/gstidentity.h:
25712         * gst/gstelement.c: (gst_element_get_state_func),
25713         (gst_element_lost_state), (gst_element_pads_activate):
25714         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25715         (gst_pad_check_pull_range), (gst_pad_pull_range):
25716         * gst/gstpad.h:
25717         Simplify pad activation.
25718         Added function to check if pull_range can be performed.
25719         Error out when pulling inactive or flushing pads.
25720         Removed const from refcounted types as it does not make sense.
25721         Simplify pad templates in basesink
25722         Added base class for simple 1-to-1 transforms.
25723         Make identity subclass the base transform.
25724
25725 2005-03-29  Andy Wingo  <wingo@pobox.com>
25726
25727         * docs/libs/gstreamer-libs-overrides.txt: 
25728         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25729         really don't understand what's going on, but like whatever. I want
25730         green buildbot!
25731
25732         * docs/gst/Makefile.am:
25733         * docs/libs/Makefile.am: Dist the overrides files.
25734
25735         * check/Makefile.am (clean-local): Remove .libs directories.
25736
25737         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25738         elements to EXTRA_DIST, so po/ files are happy.
25739
25740         * po/POTFILES.in: Er, remove it here.
25741
25742         * po/POTFILES: Remove gstspider.c.
25743
25744         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25745
25746         * docs/libs/gstreamer-libs-docs.sgml: 
25747         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25748         bytestream.
25749
25750         * tests/complexity.c (main): Set the length of the preroll queue
25751         on the sinks to prevent a lockup.
25752
25753         * libs/gst/dataprotocol/Makefile.am: 
25754         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25755         the same as the one in check/gst-libs/gdp.c.
25756
25757         * po/, docs/gst/: Commit automatic changes to docs and po files.
25758
25759         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25760         the versioned libgstbase.
25761
25762         * check/Makefile.am: Depend on an unversioned gst-register, seems
25763         to make autoconf happier.
25764
25765         * gst/base/Makefile.am: Make libgstbase a versioned lib.
25766
25767 2005-03-28  Wim Taymans  <wim@fluendo.com>
25768
25769         * configure.ac:
25770         * docs/design/part-gstelement.txt:
25771         * docs/design/part-negotiation.txt:
25772         * docs/design/part-preroll.txt:
25773         * docs/design/part-scheduling.txt:
25774         * docs/design/part-states.txt:
25775         * gst/Makefile.am:
25776         * gst/base/Makefile.am:
25777         * gst/base/README:
25778         * gst/base/gstbasesink.c: (gst_basesink_get_template),
25779         (gst_basesink_base_init), (gst_basesink_class_init),
25780         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25781         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25782         (gst_basesink_set_pad_functions),
25783         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25784         (gst_basesink_set_property), (gst_basesink_get_property),
25785         (gst_base_sink_get_template), (gst_base_sink_get_caps),
25786         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25787         (gst_basesink_preroll_queue_push),
25788         (gst_basesink_preroll_queue_empty),
25789         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25790         (gst_basesink_event), (gst_basesink_get_times),
25791         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25792         (gst_basesink_chain_unlocked), (gst_basesink_chain),
25793         (gst_basesink_loop), (gst_basesink_activate),
25794         (gst_basesink_change_state):
25795         * gst/base/gstbasesink.h:
25796         * gst/elements/Makefile.am:
25797         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25798         (gst_fakesink_class_init), (gst_fakesink_init),
25799         (gst_fakesink_set_property), (gst_fakesink_get_property),
25800         (gst_fakesink_get_times), (gst_fakesink_event),
25801         (gst_fakesink_preroll), (gst_fakesink_render),
25802         (gst_fakesink_change_state):
25803         * gst/elements/gstfakesink.h:
25804         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25805         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25806         * gst/gstelement.c: (gst_element_add_pad),
25807         (gst_element_get_state_func), (gst_element_abort_state),
25808         (gst_element_commit_state), (gst_element_lost_state),
25809         (gst_element_set_state), (gst_element_pads_activate):
25810         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25811         * gst/gstpipeline.c: (gst_pipeline_send_event),
25812         (gst_pipeline_change_state):
25813         Added state change code.
25814         Added/updated docs.
25815         Added sink base class, make fakesink extend the base class.
25816         Small cleanups in GstPipeline.
25817
25818 2005-03-26  David Schleef  <ds@schleef.org>
25819
25820         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
25821         is broken and should be implemented in a different library.
25822         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25823         * gst/gst.h: remove gstcpu.h
25824         * gst/gstcpu.c: remove
25825         * gst/gstcpu.h: remove
25826         * gst/Makefile.am.future: Remove this file.  It's ancient.
25827
25828 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25829
25830         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25831         (gst_bin_send_event):
25832           Add default event/set_manager handlers. The set_manager handler
25833           takes care that the manager is distributed over kids that were
25834           already in the bin before the manager was set. The event handler
25835           is a utility virtual function that sends the event over all sinks,
25836           so that gst_element_send_event (bin, event); has the expected
25837           behaviour.
25838         * gst/gstpad.c: (gst_pad_event_default):
25839           Re-install default event handling for discontinuities, so that
25840           seeking works without requiring hacks in applications or extra
25841           code in sinks.
25842         * gst/gstpipeline.c: (gst_pipeline_class_init),
25843         (gst_pipeline_send_event):
25844           Half hack, half utility: set a pipeline to PAUSED for seek events,
25845           since that is the only way we can guarantee a/v sync. Means that
25846           you can do gst_element_seek (pipeline, method, pos); on a pipeline
25847           and it "just works".
25848
25849 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25850
25851         * gst/gstpipeline.c: (gst_pipeline_use_clock):
25852           Lock/unlock mismatch.
25853
25854 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25855
25856         * docs/faq/gst-uninstalled:
25857           add gst-plugins-base
25858         * docs/gst/Makefile.am:
25859           don't error out until docs are fixed
25860         * docs/gst/gstreamer.types:
25861           remove thread
25862
25863 2005-03-22  Wim Taymans  <wim@fluendo.com>
25864
25865         * check/Makefile.am:
25866         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25867         * gst/gststructure.c: (gst_structure_set_valist),
25868         (gst_structure_copy_conditional):
25869         Activated more tests.
25870         Added message test.
25871         Added G_TYPE_POINTER to GstStructure.
25872         
25873
25874 2005-03-22  Wim Taymans  <wim@fluendo.com>
25875
25876         * docs/design/part-TODO.txt:
25877         * docs/design/part-events.txt:
25878         * docs/design/part-gstbin.txt:
25879         * docs/design/part-gstbus.txt:
25880         * docs/design/part-gstpipeline.txt:
25881         * docs/design/part-messages.txt:
25882         * gst/gstbus.c:
25883         * gst/gstmessage.c:
25884         Docs updates
25885
25886 2005-03-21  Wim Taymans  <wim@fluendo.com>
25887
25888         * gst/gstbus.c: (gst_bus_post):
25889         Fix copy-and-paste error.
25890
25891 2005-03-21  Wim Taymans  <wim@fluendo.com>
25892
25893         * check/Makefile.am:
25894         * gst/Makefile.am:
25895         * gst/elements/Makefile.am:
25896         * gst/elements/gstelements.c:
25897         * gst/elements/gstfakesink.c: (gst_fakesink_init),
25898         (gst_fakesink_event), (gst_fakesink_chain):
25899         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25900         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25901         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25902         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25903         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25904         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25905         (gst_fakesrc_loop), (gst_fakesrc_activate),
25906         (gst_fakesrc_change_state):
25907         * gst/elements/gstfakesrc.h:
25908         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25909         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25910         (gst_filesrc_open_file), (gst_filesrc_loop),
25911         (gst_filesrc_activate), (gst_filesrc_change_state),
25912         (filesrc_find_peek), (filesrc_find_suggest),
25913         (gst_filesrc_type_find):
25914         * gst/elements/gstidentity.c: (gst_identity_finalize),
25915         (gst_identity_class_init), (gst_identity_init),
25916         (gst_identity_proxy_getcaps), (identity_queue_push),
25917         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25918         (gst_identity_getrange), (gst_identity_chain),
25919         (gst_identity_sink_loop), (gst_identity_src_loop),
25920         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25921         (gst_identity_set_property), (gst_identity_get_property),
25922         (gst_identity_change_state):
25923         * gst/elements/gstidentity.h:
25924         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25925         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25926         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25927         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25928         (gst_tee_sink_activate):
25929         * gst/elements/gsttee.h:
25930         * gst/gst.c: (gst_register_core_elements), (init_post):
25931         * gst/gst.h:
25932         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25933         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25934         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25935         (gst_bin_change_state):
25936         * gst/gstbin.h:
25937         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25938         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25939         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25940         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25941         (gst_bus_set_sync_handler), (gst_bus_create_watch),
25942         (bus_watch_callback), (bus_watch_destroy),
25943         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25944         (poll_timeout), (gst_bus_poll):
25945         * gst/gstbus.h:
25946         * gst/gstcaps.h:
25947         * gst/gstdata.h:
25948         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25949         (gst_element_post_message), (gst_element_message_full),
25950         (gst_element_get_state_func), (gst_element_get_state),
25951         (gst_element_abort_state), (gst_element_commit_state),
25952         (gst_element_lost_state), (gst_element_set_state),
25953         (gst_element_pads_activate), (gst_element_change_state),
25954         (gst_element_dispose), (gst_element_set_manager_func),
25955         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25956         (gst_element_set_manager), (gst_element_get_manager),
25957         (gst_element_set_bus), (gst_element_get_bus),
25958         (gst_element_set_scheduler), (gst_element_get_scheduler):
25959         * gst/gstelement.h:
25960         * gst/gstevent.c: (gst_event_new_segment_seek),
25961         (gst_event_new_flush):
25962         * gst/gstevent.h:
25963         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25964         (_gst_message_free), (gst_message_get_type), (gst_message_new),
25965         (gst_message_new_eos), (gst_message_new_error),
25966         (gst_message_new_warning), (gst_message_new_tag),
25967         (gst_message_new_state_changed), (gst_message_new_application),
25968         (gst_message_get_structure), (gst_message_parse_tag),
25969         (gst_message_parse_state_changed), (gst_message_parse_error),
25970         (gst_message_parse_warning):
25971         * gst/gstmessage.h:
25972         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25973         (gst_real_pad_set_property), (gst_pad_set_active),
25974         (gst_pad_is_active), (gst_pad_set_blocked_async),
25975         (gst_pad_set_blocked), (gst_pad_is_blocked),
25976         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25977         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25978         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25979         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25980         (gst_pad_link_filtered), (gst_pad_relink_filtered),
25981         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25982         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25983         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25984         (gst_pad_set_caps), (gst_pad_configure_sink),
25985         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25986         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25987         (gst_real_pad_dispose), (gst_real_pad_finalize),
25988         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25989         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25990         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25991         * gst/gstpad.h:
25992         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25993         (pipeline_bus_handler), (gst_pipeline_change_state),
25994         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25995         * gst/gstpipeline.h:
25996         * gst/gstprobe.h:
25997         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25998         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25999         (gst_queue_link_src), (gst_queue_bufferalloc),
26000         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
26001         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
26002         (gst_queue_loop), (gst_queue_handle_src_event),
26003         (gst_queue_handle_src_query), (gst_queue_src_activate),
26004         (gst_queue_change_state):
26005         * gst/gstqueue.h:
26006         * gst/gstscheduler.c: (gst_scheduler_init),
26007         (gst_scheduler_dispose), (gst_scheduler_create_task),
26008         (gst_scheduler_factory_create):
26009         * gst/gstscheduler.h:
26010         * gst/gststructure.c: (gst_structure_get_type),
26011         (gst_structure_copy_conditional):
26012         * gst/gststructure.h:
26013         * gst/gsttaginterface.h:
26014         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26015         (gst_task_init), (gst_task_dispose), (gst_task_create),
26016         (gst_task_get_state), (gst_task_start), (gst_task_stop),
26017         (gst_task_pause):
26018         * gst/gsttask.h:
26019         * gst/gstthread.c:
26020         * gst/gstthread.h:
26021         * gst/gsttypes.h:
26022         * gst/schedulers/Makefile.am:
26023         * gst/schedulers/cothreads_compat.h:
26024         * gst/schedulers/entryscheduler.c:
26025         * gst/schedulers/faircothreads.c:
26026         * gst/schedulers/faircothreads.h:
26027         * gst/schedulers/fairscheduler.c:
26028         * gst/schedulers/gstbasicscheduler.c:
26029         * gst/schedulers/gstoptimalscheduler.c:
26030         * gst/schedulers/gthread-cothreads.h:
26031         * gst/schedulers/threadscheduler.c:
26032         (gst_thread_scheduler_task_get_type),
26033         (gst_thread_scheduler_task_class_init),
26034         (gst_thread_scheduler_task_init),
26035         (gst_thread_scheduler_task_start),
26036         (gst_thread_scheduler_task_stop),
26037         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26038         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26039         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26040         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26041         (plugin_init):
26042         * libs/gst/Makefile.am:
26043         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26044         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26045         (gst_file_pad_parent_set):
26046         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26047         (gst_dp_event_from_packet):
26048         * tests/complexity.c: (main):
26049         * tests/mass_elements.c: (main):
26050         * testsuite/states/locked.c: (message_received), (main):
26051         * testsuite/states/parent.c: (main):
26052         * tools/gst-inspect.c: (print_element_flag_info),
26053         (print_implementation_info), (print_pad_info):
26054         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26055         (main):
26056         * tools/gst-md5sum.c: (event_loop), (main):
26057         * tools/gst-typefind.c: (main):
26058         * tools/gst-xmlinspect.c: (print_element_info):
26059         Next big merge.
26060         Added GstBus for mainloop integration.
26061         Added GstMessage for sending notifications on the bus.
26062         Added GstTask as an abstraction for pipeline entry points.
26063         Removed GstThread.
26064         Removed Schedulers.
26065         Simplified GstQueue for multithreaded core.
26066         Made _link threadsafe, removed old capsnego.
26067         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26068         Added pad blocking functions.
26069         Reworked scheduling functions in GstPad to prepare for
26070         scheduling updates soon.
26071         Moved events out of data stream.
26072         Simplified GstEvent types.
26073         Added return values to push/pull.
26074         Removed clocking from GstElement.
26075         Added prototypes for state change function for next merge.
26076         Removed iterate from bins and state change management.
26077         Fixed some elements, disabled others for now.
26078         Fixed -inspect and -launch.
26079         Added check for GstBus.
26080
26081 2005-03-10  Wim Taymans  <wim@fluendo.com>
26082
26083         * docs/design/part-MT-refcounting.txt:
26084         * docs/design/part-clocks.txt:
26085         * docs/design/part-gstelement.txt:
26086         * docs/design/part-gstobject.txt:
26087         * docs/design/part-standards.txt:
26088         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26089         (gst_bin_remove_func), (gst_bin_remove):
26090         * gst/gstbin.h:
26091         * gst/gstbuffer.c:
26092         * gst/gstcaps.h:
26093         * testsuite/clock/clock1.c: (main):
26094         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26095         (main):
26096         * testsuite/dlopen/loadgst.c: (do_test):
26097         * testsuite/refcounting/bin.c: (add_remove_test1),
26098         (add_remove_test2), (main):
26099         * testsuite/refcounting/element.c: (main):
26100         * testsuite/refcounting/element_pad.c: (main):
26101         * testsuite/refcounting/pad.c: (main):
26102         * tools/gst-launch.c: (sigint_handler_sighandler):
26103         * tools/gst-typefind.c: (main):
26104         Doc updates.
26105         Added doc about clock.
26106         removed gst_bin_iterate_recurse_up(), marked methods
26107         for removal.
26108         Fix more testsuites.
26109
26110 2005-03-09  Wim Taymans  <wim@fluendo.com>
26111
26112         * gst/gstpad.c: (gst_pad_get_direction),
26113         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26114         (gst_pad_collect_valist):
26115         * testsuite/bins/interface.c: (main):
26116         * testsuite/caps/audioscale.c: (test_caps):
26117         * testsuite/caps/caps.c: (test1), (test2), (test3):
26118         * testsuite/caps/deserialize.c: (main):
26119         * testsuite/caps/enumcaps.c: (main):
26120         * testsuite/caps/filtercaps.c: (main):
26121         * testsuite/caps/intersect2.c: (main):
26122         * testsuite/caps/random.c: (main):
26123         * testsuite/caps/renegotiate.c: (my_fixate), (main):
26124         * testsuite/caps/sets.c: (check_caps):
26125         * testsuite/caps/simplify.c: (check_caps), (main):
26126         * testsuite/caps/subtract.c: (check_caps):
26127         Fix _pad_get_direction wrt ghostpads.
26128         Fix caps testsuite.
26129
26130 2005-03-09  Wim Taymans  <wim@fluendo.com>
26131
26132         * check/Makefile.am:
26133         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26134         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26135         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26136         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26137         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26138         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26139         (gst_bin_remove), (gst_bin_iterate_recurse_up),
26140         (bin_element_is_sink), (gst_bin_iterate_sinks),
26141         (gst_bin_iterate_all_by_interface):
26142         * gst/gstbin.h:
26143         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26144         (gst_element_change_state), (gst_element_dispose),
26145         (gst_element_finalize), (gst_element_set_loop_function):
26146         * gst/gstelement.h:
26147         * gst/gstiterator.c: (find_custom_fold_func):
26148         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26149         (gst_pad_collectv), (gst_pad_collect_valist),
26150         (gst_pad_template_new):
26151         * gst/gstpipeline.c: (gst_pipeline_class_init),
26152         (gst_pipeline_dispose), (gst_pipeline_set_property),
26153         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26154         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26155         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26156         * gst/gstutils.h:
26157         * gst/schedulers/entryscheduler.c:
26158         * gst/schedulers/gstbasicscheduler.c:
26159         (gst_basic_scheduler_cothreaded_chain),
26160         (gst_basic_scheduler_chain_add_element):
26161         * testsuite/bins/interface.c: (main):
26162         Added GstBin test.
26163         Added GstSystemClock test.
26164         Implemented clock distribution code in GstBin.
26165         Implemented iterate sinks method for future use.
26166         Rearranged gstelement.h
26167         Fix GstIterator comparison bug.
26168         Moved some code to GstPipeline, mostly clocking related.
26169
26170 2005-03-09  Wim Taymans  <wim@fluendo.com>
26171
26172         * configure.ac:
26173         * gst/gst_private.h:
26174         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26175         (gst_bin_remove_func), (gst_bin_remove),
26176         (gst_bin_get_by_name_recurse_up):
26177         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26178         (gst_clock_id_compare_func), (gst_clock_id_wait),
26179         (gst_clock_id_wait_async), (gst_clock_init),
26180         (gst_clock_adjust_unlocked), (gst_clock_get_time):
26181         * gst/gstelement.h:
26182         * gst/gstinfo.c: (_gst_debug_init):
26183         * gst/gstobject.h:
26184         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26185         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26186         * gst/gstpad.h:
26187         Bump version number, we're now 0.9.0
26188         Add future debugging category.
26189         Fix NULL _unref() in _get_by_name_recurse_up
26190         Rearrange gstpad.h.
26191         Update some docs.
26192
26193 2005-03-08  Wim Taymans  <wim@fluendo.com>
26194
26195         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26196         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26197         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26198         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26199         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26200         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26201         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26202         * gst/elements/gstidentity.c: (gst_identity_class_init):
26203         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26204         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26205         * gst/elements/gstshaper.c: (gst_shaper_class_init):
26206         * gst/elements/gststatistics.c: (gst_statistics_class_init):
26207         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26208         (gst_tee_link):
26209         * gst/gstelement.c: (gst_element_class_init),
26210         (gst_element_base_class_init), (gst_element_init),
26211         (gst_element_get_random_pad), (gst_element_wait_state_change),
26212         (gst_element_change_state), (gst_element_dispose),
26213         (gst_element_finalize), (gst_element_set_loop_function):
26214         * gst/gstelement.h:
26215         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26216         * gst/gstthread.c: (gst_thread_class_init),
26217         (gst_thread_release_children_locks), (gst_thread_change_state):
26218         * gst/schedulers/gstbasicscheduler.c:
26219         (gst_basic_scheduler_loopfunc_wrapper),
26220         (gst_basic_scheduler_chain_wrapper),
26221         (gst_basic_scheduler_src_wrapper),
26222         (gst_basic_scheduler_remove_element):
26223         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26224         Remove threadsafe properties. Fix elements because GObject
26225         complains when installing a property before declaring a
26226         set/get_property handler.
26227         Rearrange gstelement.h file, use STATE macros for state locks.
26228         Free mutexes in the finalize method instead of dispose.
26229
26230 2005-03-08  Wim Taymans  <wim@fluendo.com>
26231
26232         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26233         * gst/gstthread.c: (gst_thread_release_children_locks):
26234         Added parentage check.
26235         Fix build og GstThread again.
26236
26237 2005-03-08  Wim Taymans  <wim@fluendo.com>
26238
26239         * docs/design/part-MT-refcounting.txt:
26240         * docs/design/part-conventions.txt:
26241         * docs/design/part-gstobject.txt:
26242         * docs/design/part-relations.txt:
26243         * docs/design/part-standards.txt:
26244         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26245         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26246         (gst_bin_get_by_name), (gst_bin_get_by_interface),
26247         (gst_bin_iterate_all_by_interface):
26248         * gst/gstbuffer.h:
26249         * gst/gstclock.h:
26250         * gst/gstelement.c: (gst_element_class_init),
26251         (gst_element_change_state), (gst_element_set_loop_function):
26252         * gst/gstelement.h:
26253         * gst/gstiterator.c:
26254         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26255         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26256         (gst_object_dispatch_properties_changed), (gst_object_set_name),
26257         (gst_object_set_parent), (gst_object_unparent),
26258         (gst_object_check_uniqueness):
26259         * gst/gstobject.h:
26260         Docs updates, clean up some headers.
26261
26262 2005-03-07  Wim Taymans  <wim@fluendo.com>
26263
26264         * check/.cvsignore:
26265         * check/Makefile.am:
26266         * check/gst-libs/.cvsignore:
26267         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26268         * check/gst/.cvsignore:
26269         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26270         (START_TEST), (gstbus_suite), (main):
26271         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26272         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26273         (gst_data_suite), (main):
26274         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26275         (add_fold_func), (gstiterator_suite), (main):
26276         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26277         (thread_name_object), (thread_name_object_default),
26278         (gst_object_name_compare), (gst_object_suite), (main):
26279         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26280         (gst_pad_suite), (main):
26281         * check/gstcheck.c: (gst_check_log_message_func),
26282         (gst_check_log_critical_func), (gst_check_init):
26283         * check/gstcheck.h:
26284         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26285         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26286         Added checks.
26287
26288 2005-03-07  Wim Taymans  <wim@fluendo.com>
26289
26290         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26291         (gst_list_iterator_next), (gst_list_iterator_resync),
26292         (gst_list_iterator_free), (gst_iterator_new_list),
26293         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26294         (gst_iterator_free), (gst_iterator_push), (filter_next),
26295         (filter_resync), (filter_uninit), (filter_free),
26296         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26297         (gst_iterator_foreach), (find_custom_fold_func),
26298         (gst_iterator_find_custom):
26299         * gst/gstiterator.h:
26300         Added missing files.
26301
26302 2005-03-07  Wim Taymans  <wim@fluendo.com>
26303
26304         * Makefile.am:
26305         * configure.ac:
26306         * docs/design/part-MT-refcounting.txt:
26307         * docs/design/part-conventions.txt:
26308         * docs/design/part-gstobject.txt:
26309         * docs/design/part-relations.txt:
26310         * examples/mixer/mixer.c: (main):
26311         * examples/thread/thread.c: (eos), (main):
26312         * gst/Makefile.am:
26313         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26314         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26315         (gst_spider_plug_from_srcpad):
26316         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26317         (gst_spider_identity_change_state),
26318         (gst_spider_identity_sink_loop_type_finding):
26319         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26320         * gst/elements/gstidentity.c: (gst_identity_init):
26321         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26322         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26323         * gst/elements/gsttypefindelement.c: (free_entry):
26324         * gst/gst.c:
26325         * gst/gst.h:
26326         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26327         (gst_bin_set_clock_func), (gst_bin_auto_clock),
26328         (gst_bin_set_index), (gst_bin_set_element_sched),
26329         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26330         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26331         (gst_bin_iterate_elements), (iterate_child_recurse),
26332         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26333         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26334         (compare_interface), (gst_bin_get_by_interface),
26335         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26336         * gst/gstbin.h:
26337         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26338         (gst_buffer_default_free), (gst_buffer_default_copy),
26339         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26340         (gst_buffer_create_sub):
26341         * gst/gstbuffer.h:
26342         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26343         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26344         (gst_caps_unref), (gst_static_caps_get),
26345         (gst_caps_remove_and_get_structure), (gst_caps_append),
26346         (gst_caps_append_structure), (gst_caps_remove_structure),
26347         (gst_caps_copy_nth), (gst_caps_set_simple),
26348         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26349         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26350         (gst_caps_structure_intersect_field), (gst_caps_intersect),
26351         (gst_caps_structure_subtract_field), (gst_caps_subtract),
26352         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26353         (gst_caps_structure_figure_out_union),
26354         (gst_caps_switch_structures), (gst_caps_do_simplify),
26355         (gst_caps_replace), (gst_caps_from_string),
26356         (gst_caps_copy_conditional):
26357         * gst/gstcaps.h:
26358         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26359         (_gst_clock_id_free), (gst_clock_id_unref),
26360         (gst_clock_id_compare_func), (gst_clock_id_wait),
26361         (gst_clock_id_wait_async), (gst_clock_class_init),
26362         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26363         (gst_clock_get_time), (gst_clock_set_time_adjust),
26364         (gst_clock_set_property), (gst_clock_get_property):
26365         * gst/gstclock.h:
26366         * gst/gstcompat.h:
26367         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26368         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26369         * gst/gstdata.h:
26370         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26371         (gst_element_requires_clock), (gst_element_provides_clock),
26372         (gst_element_set_clock), (gst_element_clock_wait),
26373         (gst_element_wait), (gst_element_set_time_delay),
26374         (gst_element_is_indexable), (gst_element_add_pad),
26375         (gst_element_add_ghost_pad), (gst_element_remove_pad),
26376         (pad_compare_name), (gst_element_get_static_pad),
26377         (gst_element_request_pad), (gst_element_get_request_pad),
26378         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26379         (gst_element_class_get_pad_template_list),
26380         (gst_element_class_get_pad_template), (gst_element_error_func),
26381         (gst_element_get_random_pad), (gst_element_get_event_masks),
26382         (gst_element_send_event), (gst_element_seek),
26383         (gst_element_get_query_types), (gst_element_query),
26384         (gst_element_get_formats), (gst_element_convert),
26385         (gst_element_is_locked_state), (gst_element_set_locked_state),
26386         (gst_element_sync_state_with_parent), (gst_element_change_state),
26387         (gst_element_finalize), (gst_element_yield),
26388         (gst_element_interrupt), (gst_element_set_scheduler),
26389         (gst_element_get_scheduler), (gst_element_set_loop_function):
26390         * gst/gstelement.h:
26391         * gst/gstevent.h:
26392         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26393         (gst_format_get_by_nick), (gst_format_get_details),
26394         (gst_format_iterate_definitions):
26395         * gst/gstformat.h:
26396         * gst/gstindex.c: (gst_index_gtype_resolver):
26397         * gst/gstinfo.c:
26398         * gst/gstinfo.h:
26399         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26400         (gst_mem_chunk_free):
26401         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26402         (gst_object_ref), (gst_object_unref), (gst_object_sink),
26403         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26404         (gst_object_dispatch_properties_changed),
26405         (gst_object_set_name_default), (gst_object_set_name),
26406         (gst_object_get_name), (gst_object_set_name_prefix),
26407         (gst_object_get_name_prefix), (gst_object_set_parent),
26408         (gst_object_get_parent), (gst_object_unparent),
26409         (gst_object_check_uniqueness), (gst_object_save_thyself),
26410         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26411         (gst_object_set_property), (gst_object_get_property),
26412         (gst_object_get_path_string):
26413         * gst/gstobject.h:
26414         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26415         (gst_real_pad_init), (gst_real_pad_get_property),
26416         (gst_pad_custom_new), (gst_pad_get_direction),
26417         (gst_pad_set_active), (gst_pad_is_active),
26418         (gst_pad_set_event_function), (gst_pad_is_linked),
26419         (gst_pad_link_free), (gst_pad_link_intersect),
26420         (gst_pad_link_fixate), (gst_pad_set_caps),
26421         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26422         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26423         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26424         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26425         (gst_pad_get_caps), (gst_pad_peer_get_caps),
26426         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26427         (gst_pad_realize), (gst_pad_get_allowed_caps),
26428         (gst_real_pad_dispose), (gst_real_pad_finalize),
26429         (gst_pad_collectv), (gst_pad_collect_valist),
26430         (gst_pad_template_dispose), (gst_pad_template_new),
26431         (gst_pad_get_internal_links):
26432         * gst/gstpad.h:
26433         * gst/gstpipeline.c: (gst_pipeline_dispose),
26434         (gst_pipeline_change_state):
26435         * gst/gstpipeline.h:
26436         * gst/gstplugin.c:
26437         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26438         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26439         * gst/gstpluginfeature.h:
26440         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26441         * gst/gstquery.c: (_gst_query_type_initialize),
26442         (gst_query_type_register), (gst_query_type_get_by_nick),
26443         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26444         * gst/gstquery.h:
26445         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26446         * gst/gstscheduler.c: (gst_scheduler_add_element),
26447         (gst_scheduler_factory_create):
26448         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26449         (gst_structure_free), (gst_structure_set_name),
26450         (gst_structure_id_set_value), (gst_structure_set_value),
26451         (gst_structure_set_valist), (gst_structure_remove_field),
26452         (gst_structure_remove_fields),
26453         (gst_structure_remove_fields_valist),
26454         (gst_structure_remove_all_fields), (gst_structure_foreach),
26455         (gst_structure_map_in_place),
26456         (gst_caps_structure_fixate_field_nearest_int),
26457         (gst_caps_structure_fixate_field_nearest_double):
26458         * gst/gststructure.h:
26459         * gst/gstsystemclock.c: (gst_system_clock_class_init),
26460         (gst_system_clock_init), (gst_system_clock_dispose),
26461         (gst_system_clock_async_thread),
26462         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26463         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26464         * gst/gstsystemclock.h:
26465         * gst/gsttag.c: (gst_tag_list_add_value_internal),
26466         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26467         * gst/gsttaginterface.c:
26468         * gst/gstthread.c: (gst_thread_dispose),
26469         (gst_thread_release_children_locks), (gst_thread_change_state),
26470         (gst_thread_main_loop):
26471         * gst/gsttrashstack.h:
26472         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26473         * gst/gsttypes.h:
26474         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26475         (gst_element_request_pad), (gst_element_get_pad_from_template),
26476         (gst_element_request_compatible_pad),
26477         (gst_element_get_compatible_pad_filtered),
26478         (gst_element_get_compatible_pad), (gst_element_state_get_name),
26479         (gst_element_link_pads_filtered), (gst_element_link_filtered),
26480         (gst_element_link_many), (gst_element_link),
26481         (gst_element_link_pads), (gst_element_unlink_pads),
26482         (gst_element_unlink_many), (gst_element_unlink),
26483         (gst_pad_can_link_filtered), (gst_pad_can_link),
26484         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26485         (gst_object_default_error), (gst_bin_add_many),
26486         (gst_bin_remove_many), (gst_element_populate_std_props),
26487         (gst_element_class_install_std_props), (gst_buffer_merge),
26488         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26489         (link_fold_func), (gst_pad_proxy_setcaps):
26490         * gst/gstutils.h:
26491         * gst/gstvalue.c: (gst_value_deserialize_string):
26492         * gst/parse/grammar.y:
26493         * gst/schedulers/gstbasicscheduler.c:
26494         (gst_basic_scheduler_cothreaded_chain),
26495         (gst_basic_scheduler_chain_recursive_add),
26496         (gst_basic_scheduler_pad_link):
26497         * gst/schedulers/gstoptimalscheduler.c:
26498         (get_group_schedule_function),
26499         (gst_opt_scheduler_state_transition),
26500         (gst_opt_scheduler_add_element), (element_get_reachables_func):
26501         * libs/gst/bytestream/bytestream.c:
26502         * libs/gst/dataprotocol/dataprotocol.c:
26503         (gst_dp_header_from_buffer):
26504         * po/nb.po:
26505         * po/ru.po:
26506         * tests/threadstate/threadstate2.c: (eos):
26507         * tools/gst-compprep.c: (main):
26508         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26509         (print_pad_info), (print_children_info):
26510         * tools/gst-launch.c: (idle_func), (main):
26511         * tools/gst-md5sum.c: (idle_func), (main):
26512         * tools/gst-xmlinspect.c: (print_element_info):
26513         First THREADED backport attempt, focusing on adding locks and
26514         making sure the API is threadsafe. Needs more work. More docs
26515         follow this week.
26516
26517 2005-02-24  Andy Wingo  <wingo@pobox.com>
26518
26519         * tests/bench-complexity.scm:
26520         * tests/complexity.gnuplot: New files, good for running complexity
26521         benchmarks.
26522
26523         * tests/Makefile.am:
26524         * tests/complexity.c: New test, sets up N elements, at each level
26525         teeing into M streams per element. Eeeenteresting.
26526
26527         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26528         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26529         running bench-mass_elements.scm.
26530
26531         * tests/bench-mass_elements.scm: New script, runs mass_elements
26532         for various numbers of identities, outputting the results to a
26533         file. Requires guile 1.6. Just for testing.
26534
26535 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26536
26537         * gst/schedulers/fairscheduler.c:
26538           compile with debug disabled
26539
26540 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26541
26542         * configure.ac:
26543           hunting season on 0.9 is now OPEN