configure.ac: Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
2
3         * configure.ac:
4           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5
6 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
7
8         * gst/gststructure.c: (gst_structure_validate_name),
9           (gst_structure_new_valist), (gst_structure_parse_value),
10           (gst_structure_from_string):
11           Don't crash in _from_string() if the structure name is not valid
12           (fixes #501560).  Allow structure names to start with a number
13           again (this apparently broke the ubuntu codec installer).
14
15         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
16           (GST_START_TEST):
17           Add unit test for the crash; update unit tests for new behaviour.
18
19 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
20
21         * gst/gstutils.c:
22         Clarify gst_element_get_compatible_pad() documentation.
23         Fixes #500919.
24
25 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
26
27         * tests/check/Makefile.am:
28           Don't forget to dist {gst,libs}/struct_hppa.h.
29
30 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
31
32         * libs/gst/base/gstbasesink.c:
33           Use new API to get elapsed time.
34
35 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
36
37         * gst/gstdebugutils.c:
38         * gst/gstinfo.c:
39           Fix wrong order of args in GST_CLOCK_DIFF() usage.
40
41         * tools/gst-launch.c:
42           Use new API to get elapsed time.
43
44 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
45
46         * docs/gst/gstreamer-sections.txt:
47         * gst/gstclock.h:
48         * gst/gstdebugutils.c:
49         * gst/gstinfo.c:
50           Rename new API + ChangeLog surgery to remove old name from last entry..
51           API: GST_GET_TIMESTAMP
52
53 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
54
55         * docs/gst/gstreamer-sections.txt:
56         * gst/gstclock.h:
57         * gst/gstdebugutils.c:
58         * gst/gstinfo.c:
59           Now hide the different clock stuff behind a macro.
60
61 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
62
63         * configure.ac:
64         * gst/gstdebugutils.c:
65         * gst/gstinfo.c:
66           Apply the posix-timer check from #361155. Conditionally use the posix
67           timer for logging. This gives better timestamp precission, less
68           overhead and no ntp jitter.
69
70 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
71
72         * gst/gstminiobject.c: (gst_mini_object_get_type),
73         (gst_mini_object_class_init), (gst_mini_object_copy_default),
74         (gst_mini_object_finalize), (gst_mini_object_copy),
75         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
76         (gst_mini_object_replace), (param_mini_object_validate),
77         (gst_param_spec_mini_object_get_type):
78         Some cleanup and checking against invalid function parameters.
79
80 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
81
82         * docs/gst/gstreamer-sections.txt:
83         * gst/gstclock.h:
84         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
85         (gst_systemclock_suite):
86         Start merging in the easy bits of #361155, the monotonic clock patch.
87         This one adds a few handy macros with docs and a testsuite.
88
89 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
90
91         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
92         Be a bit smarter when seeking, like, don't try to do a seek when it's
93         not needed. This avoids errors when the file is not seekable.
94         Fixes #499771.
95
96 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
97
98         * docs/gst/gstreamer-docs.sgml:
99         * docs/gst/gstreamer-sections.txt:
100         * docs/gst/gstreamer.types.in:
101         * gst/Makefile.am:
102         * gst/gst.h:
103         * gst/gstpreset.c:
104         * gst/gstpreset.h:
105         * plugins/elements/gstqueue.c:
106           Due to popular request remove preset interface again. :-(.
107
108 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
109
110         * tools/gst-inspect.c:
111           Print 'default value' for enums and flags too.
112
113 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
114
115         * docs/random/ensonic/profiling.txt:
116           More ideas.
117
118         * gst/gstbin.c:
119           Fix typo and give better log output.
120
121         * gst/gstdebugutils.c:
122         * gst/gstdebugutils.h:
123           More ideas, make graphs a bit smaller and fix param name in macro.
124
125 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
126
127         * gst/gstpreset.c:
128           Try harder to use the return value from fgets().
129
130 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
131
132         * gst/gstpreset.c:
133           For theses two fgets we handle the error below.
134
135 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
136
137         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
138         Only send upstream events upstream. Fixes #498746.
139
140 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
141
142         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
143
144         * plugins/elements/gstidentity.c: (gst_identity_class_init),
145         (gst_identity_init), (gst_identity_transform_ip),
146         (gst_identity_set_property), (gst_identity_get_property):
147         * plugins/elements/gstidentity.h:
148         Add property to disable handoff signal emission. Fixes #498694.
149         API: GstIdentity::signal-handoffs
150
151 2007-11-21  Julien Moutte  <julien@fluendo.com>
152
153         * docs/faq/gst-uninstalled: Yet another missing library for the
154         uninstalled script (fft)
155
156 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
157
158         * docs/faq/developing.xml:
159         Add a question about how to submit new translations.
160
161         * docs/random/release:
162         Update the contact email address for the Translation Project
163
164         * plugins/elements/gstfdsrc.c:
165         The parent_class for fdsrc is pushsrc, not GstElement.
166
167 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
168
169         * gst/gstpreset.c:
170           Plug a leak and fix saving.
171
172 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
173
174         * docs/gst/gstreamer-sections.txt:
175         Add new gst_preset__get_property_names() function to the docs
176         to fix the build.
177
178 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
179
180         * gst/gstpreset.c:
181         * gst/gstpreset.h:
182           Change _get_preset_names API to return a strv with copies. Add
183           _get_property_names to allow implementations to filter and provide
184           good default implementation.
185
186 2007-11-20  Julien MOUTTE  <julien@moutte.net>
187
188         * docs/faq/gst-uninstalled: Add another library to the uninstalled
189         script (sdp).
190
191 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
192
193         * gst/gstpreset.c:
194           More cleanups, docs, and TODOs from comments that now slowly come in.
195
196 2007-11-19  Julien MOUTTE  <julien@moutte.net>
197
198         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
199         search path.
200
201 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
202
203         * gst/gstpreset.c:
204           Fix bogus warning and make the property type specific code more
205           similar.
206
207 2007-11-19  Julien MOUTTE  <julien@moutte.net>
208
209         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
210         it build on OS X.
211
212 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
213
214         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
215         (gst_bin_add_func), (gst_bin_remove_func),
216         (gst_bin_change_state_func), (gst_bin_continue_func):
217         Change email, cleanups add some more debug and comments.
218         Also set bus and clock on new elements when the pipeline was in error.
219
220 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
221
222         * gst/gstbin.c:
223         * gst/gstdebugutils.c:
224           Fix build with --disable-gst-debug. Fixes #497859.
225           Spotted by Sameer Naik.
226
227 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
228
229         * gst/gstevent.c:
230           Little documentation improvment.
231
232         * gst/gstpreset.c:
233           More TODO cleanups. Remove c++ comments.
234
235         * libs/gst/controller/gstcontroller.c:
236           Add TODO and use quark from static string.
237
238         * tests/check/gst/gstmessage.c:
239         * tests/check/gst/gststructure.c:
240           Use quark from static string.
241
242 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
243
244         * gst/gstpreset.c:
245           Add some comments and TODOs.
246
247         * gst/gstpreset.h:
248           Add padding for future changes.
249
250         * plugins/elements/gstqueue.c:
251           Implement the iface.    
252
253 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
254
255         * docs/gst/gstreamer-docs.sgml:
256         * docs/gst/gstreamer-sections.txt:
257         * docs/gst/gstreamer.types.in:
258         * gst/Makefile.am:
259         * gst/gst.h:
260         * gst/gstpreset.c:
261         * gst/gstpreset.h:
262           Add the preset interface (Fixes #396779). Do some doc cleanups along.
263
264 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
265
266         * configure.ac:
267
268         Back to CVS
269
270 === release 0.10.15 ===
271
272 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
273
274         * configure.ac:
275           releasing 0.10.15, "October"
276
277 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
278
279         * win32/vs6/libgstreamer.dsp:
280         Convert line endings back to DOS.
281
282 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
283
284         * docs/design/draft-tagreading.txt:
285         * docs/random/ensonic/profiling.txt:
286         Update fast tagreading draft and performance profiling ideas.
287
288 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
289
290         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
291         Don't hold the object lock when unreffing a buffer because it could
292         cause a deadlock when the finalize function wants to grab the object
293         lock too. Fixes #495133.
294
295 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
296
297         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
298         (gst_segment_to_stream_time), (gst_segment_to_running_time):
299         Also accumulate time correctly when doing reverse playback. Fixes
300         #488201,
301         When converting to running and stream time, use default values for
302         start/stop/time/accum when comparing different formats. Fixes #494245.
303
304         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
305         Do running/stream time in TIME format.
306
307         * tests/check/gst/gstsegment.c: (GST_START_TEST),
308         (gst_segment_suite):
309         2 new unit tests for segment accumulation.
310
311 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
312
313         * gst/gst.c: (init_pre):
314         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
315           (_gst_debug_bin_to_dot_file):
316           Move getenv() back into gst_init, so everyone can live happily
317           ever after. Make sure the symbol isn't exported though.
318
319 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
320
321         Patch by: Sebastien Moutte  <sebastien moutte net>
322
323         * win32/common/gstenumtypes.c:
324         * win32/common/gstenumtypes.h:
325           Update enum types.
326
327         * win32/vs6/libgstreamer.dsp:
328           Update vs6 project files (#494343).
329
330 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
331
332         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
333         (gst_base_src_perform_seek), (gst_base_src_default_event),
334         (gst_base_src_set_flushing), (gst_base_src_activate_push),
335         (gst_base_src_activate_pull):
336         Unify flushing code, remove some old unlock code that is no longer used.
337         Take the streaming lock when seeking to avoid races. Fixes #492729.
338         Added some more comments.
339
340 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
341
342         * gst/gst.c: (_gst_disable_segtrap):
343           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
344           we can use gst_segtrap_is_enabled() there now that we have that API.
345           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
346           to do the getenv here (and export the variable).
347
348         * gst/gstdebugutils.c: (debug_dump_element),
349           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
350           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
351
352         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
353           (gst_debug_log_default):
354           Rename _gst_info_start_time to priv_gst_info_start_time so it
355           doesn't get exported (was never in any header).
356
357         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
358           (gst_plugin_loading_mutex):
359           Make static mutex gst_plugin_loading_mutex really static (was never
360           in any header), and use gst_segtrap_is_enabled() instead of
361           _gst_disable_segtrap.
362
363         * gst/gsttrace.c: (_gst_trace_default):
364           Make local _gst_trace_default static (was never in any header).
365
366 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
367
368         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
369
370         * win32/common/libgstbase.def:
371         * win32/common/libgstcontroller.def:
372         * win32/common/libgstdataprotocol.def:
373         * win32/common/libgstnet.def:
374         * win32/common/libgstreamer.def:
375           Add more missing symbols, remove some duplicates, and sort
376           as the 'sort' command sorts it (partially fixes #493983).
377
378 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
379
380         * gst/gstelement.c: (gst_element_set_state_func):
381         Only change the state cookie if a different state was set on the
382         element. See #492729.
383
384 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
385
386         * gst/gstvalue.c:
387           Remove unused and uninitialised type variables that were still
388           exported for some reason (they were never in any header files
389           though).
390
391 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
392
393         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
394         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
395         (gst_base_sink_event), (gst_base_sink_get_position_last),
396         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
397         (gst_base_sink_change_state):
398         Don't try to report a 0 position when we don't know, return -1 and FALSE
399         instead. This mostly happens when we are prerolling.
400         Make sure we can report the right position before we post the ASYNC_DONE
401         message so that a message handler can query position without races.
402
403         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
404         (async_done_handoff), (async_done_func), (send_buffer),
405         (async_done_eos_func), (gst_sinks_suite):
406         Add two tests for the above.
407
408 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
409
410         * MAINTAINERS:
411         Update with new email address.
412
413         * docs/design/part-TODO.txt:
414         Add some more info about future pad-block and negotiation changes.
415
416         * docs/design/part-buffering.txt:
417         Add some ideas about buffering reporting.
418
419 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
420
421         * tests/check/gst/gstobject.c:
422         Disable silly racy test that always fails on this combination of CPU
423         and kernel.
424
425 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
426
427         Patch by: Murray Cumming  <murrayc@murrayc.com>
428
429         * gst/gstobject.c:
430           Corrected the registration of the parent-set and parent-unset
431           signals: The parameter is a GstObject, not a GObject (#493134).
432
433 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
434
435         * gst/gst_private.h:
436         * gst/gstbuffer.h:
437         * gst/gstevent.h:
438         * gst/gstformat.h:
439         * gst/gstmessage.h:
440         * gst/gstplugin.h:
441         * gst/gstquery.h:
442         * gst/gsttaglist.h:
443         * gst/gstvalue.h:
444           Move declaration of private _gst_foo_initialize() functions into
445           our private header file where they should have been all along.
446
447 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
448
449         * docs/plugins/gstreamer-plugins-sections.txt:
450         * gst/gstdebugutils.h:
451         * gst/gstxml.h:
452         * plugins/elements/gstqueue.c:
453           gtk-doc fixes; trailing-comma-in-enum fix.
454
455 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
456
457         * gst/gst.c: (gst_deinit):
458           Clean up on deinit (not the external ones though, doesn't seem to be
459           needed for some reason).
460
461 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
462
463         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
464           Remove __declspec(dllimport) for MSVC that was copied over into core
465           from a plugin, obviously without ever having been tested (note the
466           single underscore in _declspec in the initial commit), and that doesn't
467           really make sense.  See #492077.
468
469 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
470
471         * gst/gst.c: (init_post):
472         * gst/gstevent.c: (_gst_event_initialize):
473         * gst/gstquery.c: (_gst_query_initialize):
474         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
475           g_type_class_ref() other types as well, see #349410 and #64764.
476
477         * gst/gstbuffer.c: (_gst_buffer_initialize):
478         * gst/gstmessage.c: (_gst_message_initialize):
479           Simplify existing g_type_class_ref().
480
481 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
482
483         * gst/gstformat.c: (_gst_format_initialize):
484           g_type_class_ref() our GstFormat type to make sure we avoid the
485           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
486           bug #64764. Should fix intermittent tee unit test failures (#474823).
487
488 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
489
490         * tests/check/elements/tee.c: (test_num_buffers):
491           Simplify, simplify, simplify - or not.  Rewrite unit test
492           not to use gst_parse_launch(); allow N sub-streams. Increasing
493           the number of sub-streams seems to reproduce #474823 more easily.
494
495 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
496
497         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
498
499         * gst/gsttrace.c:
500         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
501         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
502         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
503           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
504           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
505           so use _pipe() directly (#492077).
506
507         * win32/common/dirent.c: (_treaddir):
508           Add a couple of casts to make it build without warnings with MSVC.
509
510         * win32/common/libgstreamer.def:
511           Add some more symbols that need to be exported.
512
513 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
514
515         * tests/examples/metadata/read-metadata.c: (message_loop):
516           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
517           arriving in a second or third tag message are added to
518           the tag list as well.
519
520 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
521
522         * libs/gst/base/gstbasesrc.c:
523           Its "Since:" and not "@Since:". And remove an superflous cast.
524
525 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
526
527         * docs/libs/gstreamer-libs-sections.txt:
528         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
529         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
530         (gst_base_sink_get_property), (gst_base_sink_render_object),
531         (gst_base_sink_preroll_object),
532         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
533         (gst_base_sink_change_state):
534         * libs/gst/base/gstbasesink.h:
535         Add a new last-buffer property that contains the last buffer used in
536         basesink for preroll or rendering. useful for making snapshots.
537         API: gst_base_sink_get_last_buffer()
538         API: GstBaseSink::last-buffer
539
540 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
541
542         * docs/gst/running.xml:
543         * gst/gst.c:
544         * gst/gstdebugutils.c:
545         * gst/gstdebugutils.h:
546         * tools/gst-launch.c:
547           Improve bin graph dumping, by using the envvar to specify a path.
548           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
549
550 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
551
552         * plugins/elements/gsttypefindelement.c:
553           (gst_type_find_element_handle_event),
554           (gst_type_find_element_activate):
555           Post special error message if we can't determine the type of a stream
556           because it's empty.
557
558 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
559
560         * docs/gst/running.xml:
561         * gst/gstdebugutils.c:
562           Document new env-var. Add one log-line after dumpng a graph.
563
564 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
565
566         * configure.ac:
567           Ugly hack to put the (recently removed and non-portable, apparently)
568           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
569           GNU ld, because without that 'make check' fails miserably on my debian
570           stable box.  Someone with more knowledge of linker intricacies and
571           portability issues than me fix this properly please.
572
573 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
574
575         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
576         Reset last seen position after flushing so that we don't report the old
577         position anymore.
578
579 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
580
581         * gst/gstelementfactory.c: (gst_element_register):
582         * gst/gsturi.h:
583         Patch from Alessandro Decina adding get_type_full and
584         get_protocols_full private vfuncs to the URIHandler interface
585         to allow bindings to support creating URI handlers. 
586         Partially fixes: #339279
587         API: GstURIHandlerInterface::get_type_full
588         API: GstURIHandlerInterface::get_protocols_full
589
590 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
591
592         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
593         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
594         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
595         Make it so that pads are considered linked until a buffer is pushed
596         and discovered otherwise. This avoids problems with decodebin2 hanging
597         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
598         case.
599
600         Make sure we lock the multiqueue when updating the max-size properties.
601         
602         Fix a crash on Solaris in a debug statement in get_request_pad that
603         passes a NULL string to GST_DEBUG. 
604
605         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
606         (run_output_order_test):
607         Fix the test to allow the first buffer on not-linked pads to come out
608         of sequence while multiqueue discovers that they are not-linked.
609
610 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
611
612         * configure.ac:
613         * libs/gst/check/Makefile.am:
614         Use a custom export symbol regex for libgstcheck, as it needs
615         to export symbols that don't match the standard GStreamer gst_*
616         pattern, and  --export-dynamic is not portable (only works on 
617         GNU ld)
618
619         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
620         (gst_check_setup_sink_pad):
621         Make sure to pass a message parameter to the fail_* macros.
622
623         * tests/check/gst/gstinfo.c: (GST_START_TEST):
624         Fix some compiler warnings.
625
626 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
627
628         * tests/check/gst/gststructure.c: (test_to_string):
629           Disable test that checks that white spaces are not allowed
630           in structure names or field names, since we need to
631           support that for now for backwards compatibility reasons.
632
633 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
634
635         * docs/gst/gstreamer-sections.txt:
636         * gst/gsttaglist.c:
637         * gst/gsttaglist.h:
638           API: add GST_TAG_ARTIST_SORTNAME
639           API: add GST_TAG_ALBUM_SORTNAME
640           API: add GST_TAG_TITLE_SORTNAME
641           Add tag variants for sorting (#414539).
642
643 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
644
645         * gst/gststructure.c:
646           Also allow white space for names so we don't break
647           backwards compatibility.
648
649 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
650
651         * docs/design/part-TODO.txt:
652         * docs/design/part-segments.txt:
653         * docs/design/part-streams.txt:
654         Small updates.
655
656 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
657
658         * docs/gst/gstreamer-sections.txt:
659          Fixed documentation from my previous commit (added new API add
660          gst_value_set_structure(), add gst_value_get_structure() and
661          GST_VALUE_HOLDS_STRUCTURE).
662
663 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
664
665         * gst/gstdebugutils.c:
666           Reflow code to fix uninitialized variable warning.
667
668 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
669
670         * gst/gstcaps.c: (gst_caps_to_string),
671         (gst_caps_from_string_inplace):
672         * gst/gststructure.c: (gst_structure_get_abbrs),
673         (gst_structure_to_string), (gst_structure_from_string):
674         * gst/gstvalue.c: (gst_value_set_structure),
675         (gst_value_get_structure), (gst_value_serialize_structure),
676         (gst_value_deserialize_structure), (_gst_value_initialize):
677         * gst/gstvalue.h:
678         * tests/check/gst/gststructure.c: (GST_START_TEST),
679         (gst_structure_suite):
680         * tests/check/gst/gstvalue.c: (GST_START_TEST):
681          Added GstStructure to gst_value_table and its related functions.
682          Changed gst_structure_to_string to print ';' in the end.
683          Changed gst_caps_to_string to not print ';' beteween its
684          fields (structures) anymore and remove the lastes ';' from latest
685          structure. Now it is possible to have nested structures.
686          In addition, backward compatibilty is assured by accepting '\0' as
687          end delimiter. Fixes: #487969.
688          API: add gst_value_set_structure()
689          API: add gst_value_get_structure()
690          API: add GST_VALUE_HOLDS_STRUCTURE
691
692 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
693
694         * gst/gstbus.c:
695           When no GSource callback has been set up, tell developer
696           to use a function that actually exists.
697
698 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
699
700         * docs/gst/gstreamer-sections.txt:
701         * gst/Makefile.am:
702         * gst/gst.c:
703         * gst/gst.h:
704         * gst/gstdebugutils.c:
705         * gst/gstdebugutils.h:
706         * gst/gstinfo.c:
707         * gst/gstinfo.h:
708         * tools/gst-launch.c:
709           Allow dumping pipelines as dot graphs. Fixes #456573.
710
711 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
712
713         * gst/gststructure.c:
714           Allow '+' as well, it can be part of media or mime types
715           such as image/svg+xml.
716
717 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
718
719         * docs/gst/gstreamer-sections.txt:
720         * gst/gstbus.c:
721         * gst/gstbus.h:
722           API: add gst_bus_pop_filtered
723           API: add gst_bus_timed_pop_filtered
724           Two new functions for waiting for specific message types on the
725           bus for a specified amount of time without iterating any main
726           loops or main contexts.
727
728         * tests/check/gst/gstbus.c:
729           Some tests for the new functions.
730
731 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
732
733         * docs/libs/gstreamer-libs-sections.txt:
734           Make gtk-doc ignore stuff it should ignore.
735
736 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
737
738         * libs/gst/check/gstcheck.c:
739         * libs/gst/check/gstcheck.h:
740           Allow runtime selection of unit tests to run via the GST_CHECKS
741           environment variable (test case function names, comma-separated).
742
743 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
744
745         * gst/gststructure.c:
746         * tests/check/gst/gststructure.c:
747           Revert serialisation change and constrain structure-names after
748           consensus on irc. Update api documentation to reflect the change.
749
750 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
751
752         * gst/gststructure.c:
753           Improve serialization and fix tests.
754
755         * tests/check/gst/gststructure.c:
756           Add another test that covers why I actually did the previous structure
757           change.
758
759 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
760
761         * tools/gst-inspect.c: (print_element_info):
762         Don't crash when inspecting an element.
763
764 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
765
766         * tests/check/gst/gststructure.c:
767           Add unit test for escaping of structure name when serialising
768           and deserialising to/from strings.
769
770 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
771
772         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
773         (gst_single_queue_new):
774         * plugins/elements/gstqueue.c: (gst_queue_init),
775         (gst_queue_push_one):
776         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
777         upstream is tricked into thinking it can suggest a format downstream
778         while downstream does not support that format. The real problem is that
779         core calls acceptcaps when pushing a buffer with new caps, for which we
780         do a little workaround by setting the caps on the srcpad ourselves
781         before pushing the buffer (until this is figured out). Fixes #486758.
782
783 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
784
785         * gst/gststructure.c:
786         * gst/gstvalue.c:
787           Add some more comments and debug output. Quote structure name to fix
788           deserialisation of some strings.
789
790 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
791
792         * gst/gstbuffer.h:
793           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
794           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
795
796 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
797
798         * tools/gst-inspect.c:
799           Save approx. 400 1 byte allocs when printing. Use API to acces element
800           details.
801
802         * tools/gst-run.c:
803           Avoid a strdup.
804
805         * tools/gst-xmlinspect.c:
806           Use API to acces element details.
807
808 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
809
810         * gst/gstinfo.c:
811           Fix some spelling errors.
812
813 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
814
815         * gst/gstbin.c: (bin_handle_async_done):
816         Correctly set the next state if all of our async children commited their
817         state. This makes sure we can actually cancel the state change in
818         progress. Fixes a regression in Rhythmbox when seeking.
819
820 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
821
822         * gst/gstbin.c:
823           Don't shadow local variable.
824
825         * gst/gstinfo.c:
826           Don't shadow global function name.
827
828 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
829
830         * gst/gstelementfactory.c:
831         * gst/gstpluginfeature.c:
832         * gst/gstpluginfeature.h:
833         * gst/gstregistrybinary.c:
834         * gst/gstregistryxml.c:
835         * gst/gsttypefind.c:
836           Use already-interned string for the private GstPluginFeature
837           plugin_name field.
838
839 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
840
841         * docs/libs/gstreamer-libs-sections.txt:
842           Add new API to docs; fixes the build.
843
844 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
845         
846         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
847
848         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
849         (gst_base_sink_event):
850         * libs/gst/base/gstbasesink.h:
851         Add function to wait for EOS, subclasses can use this to correctly wait
852         for devices to drain before performing the EOS logic. Fixes #485343.
853         API: gst_base_sink_wait_eos()
854
855 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
856
857         * gst/gstplugin.h:
858           Cast description string constants in GST_PLUGIN_DEFINE macros
859           to a (gchar*) to make C++ code using these macros compile
860           without warning with g++-4.2 (see #462737).  Even if slightly
861           ugly, this seems preferable to putting the description strings
862           into the GLib quark table or making the structure member a
863           const gchar * and doing casts in core code that allocs and
864           frees these strings, or requiring a cast in the C++ code.
865
866 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
867
868         * gst/gstinfo.h:
869           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
870           to print the entire class/function signature into the log
871           file for C++ code.  This only affects C++ code, for C code
872           everything remains the same.
873
874 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
875
876         * gst/gstbin.c: (remove_from_queue):
877         Work around a problem with pipelines containing (semi)loops until a
878         proper, more complicated solution is ready. See #475455.
879
880 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
881
882         * gst/gstplugin.c:
883         * gst/gstplugin.h:
884         * gst/gstregistrybinary.c:
885         * gst/gstregistryxml.c:
886           Put more strings into the GLib quark table. No need to keep
887           a hundred-something copies of identical version strings,
888           license strings, package name strings and package origin
889           strings around. 
890
891 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
892
893         * docs/manual/advanced-dataaccess.xml:
894           Don't imply that it's okay to unconditionally change
895           buffer data or buffer metadata in a pad probe callback,
896           and a bunch of other comments. Fixes #430031.
897
898 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
899
900         * win32/common/gstenumtypes.c:
901         * win32/common/gstenumtypes.h:
902         * win32/common/gstversion.h:
903           Update generated files.
904
905 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
906
907         * docs/manual/advanced-autoplugging.xml:
908           Prefix section with broken code with a warning (see #342432).
909
910 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
911
912         * docs/manual/appendix-integration.xml:
913         * docs/manual/basics-init.xml:
914           Call g_thread_init() before g_option_context_new() to
915           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
916
917 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
918
919         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
920         (gst_base_sink_queue_object_unlocked),
921         (gst_base_sink_queue_object), (gst_base_sink_event),
922         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
923         When we received EOS and are waiting for when to post the EOS message,
924         our state is prerolled and we should not return ASYNC.
925         Reorganize some code paths to implement this behavior.
926
927         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
928         (gst_sinks_suite):
929         Add unit test to verify above EOS fix.
930
931 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
932
933         * plugins/elements/gsttypefindelement.c:
934         (gst_type_find_element_have_type), (gst_type_find_element_init),
935         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
936         Move detecting the input caps of the sinkpad to the setcaps function.
937         This allows us to update the output caps when we receive new input caps
938         instead of always using the first detected caps.
939
940 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
941
942         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
943         (gst_base_sink_get_position):
944         Don't try to preroll non-async elements after a flush.
945         Subtract latency form clock times when reporting position.
946
947 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
948
949         * gst/gstpad.c: (gst_pad_pause_task):
950         * gst/gstutils.c:
951         Small comment and documentation update.
952
953 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
954
955         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
956         (gst_base_src_set_live), (gst_base_src_is_live),
957         (gst_base_src_query_latency), (gst_base_src_perform_seek),
958         (gst_base_src_default_event), (gst_base_src_wait),
959         (gst_base_src_do_sync), (gst_base_src_get_range),
960         (gst_base_src_pad_get_range), (gst_base_src_loop),
961         (gst_base_src_unlock), (gst_base_src_unlock_stop),
962         (gst_base_src_set_flushing), (gst_base_src_set_playing),
963         (gst_base_src_activate_push), (gst_base_src_activate_pull),
964         (gst_base_src_change_state):
965         Rework the locking of basesrc in a similar fashion to basesink. We
966         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
967         us to handle live sources and semi live ones much better.
968         Simplify flushing.
969         Fix unlocking when seeking, shutting down and pausing in live sources.
970
971 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
972
973         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
974         Fix compilation again.
975
976 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
977
978         * gst/gstelement.c:
979           Use meaningful categories for the logs to clean the default one.
980
981 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
982
983         * tests/check/pipelines/cleanup.c:
984           Print message name and not just number.
985
986 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
987
988         * docs/design/draft-tagreading.txt:
989           Add some more thoughts.
990
991 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
992
993         * tests/check/pipelines/simple-launch-lines.c:
994           Print message name and not just number.
995
996 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
997
998         * libs/gst/base/gsttypefindhelper.c:
999           Speedup typefinding. This is work in progress (see #459862).
1000
1001 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1002
1003         * gst/gstplugin.c:
1004           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1005           Spotted by Josep Torra Valles <josep@fluendo.com>.
1006
1007 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
1008
1009         * gst/gstclock.h:
1010           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1011           field has moved to GstObject.
1012
1013 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
1014
1015         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1016         (gst_base_src_get_range), (gst_base_src_change_state):
1017         Call unlock for live sources so that they can't get stuck in _create and
1018         produce a buffer before they are set back to PLAYING.
1019
1020 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
1021
1022         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1023         (gst_queue_locked_dequeue):
1024         Comment the segment-related code... in the PROPER function.
1025         See #482147 and my commit from yesterday.
1026
1027 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
1028
1029         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1030         Also initialize the counter that calculates the first timestamp on a
1031         buffer correctly for non-live sources.
1032
1033 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
1034
1035         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1036         Disable code that's breaking the current-time-level reporting.
1037         See #482147
1038
1039 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
1040
1041         * docs/gst/gstreamer-sections.txt:
1042         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1043         as they shouldn't show up. Fixes the docs build.
1044
1045 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
1046         
1047         * gst/gstinfo.h:
1048         Add an explicit variable importation needed on VS6 (only for MSC_VER)
1049         Define M_PI which is used in files which are including gstinfo.h. 
1050         VS6 includes doesn't define it.
1051         * win32/common/libgstbase.def:
1052         * win32/common/libgstcontroller.def:
1053         * win32/common/libgstreamer.def:
1054         Add new exported functions and variables.
1055         * win32/vs6/libgstcontroller.dsp:
1056         * win32/vs6/libgstreamer.dsp:
1057         Update the list of files to build.
1058         
1059 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1060
1061         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1062
1063         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1064         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1065         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1066         Improve debugging. Fixes #480858.
1067
1068 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1069
1070         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1071
1072         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1073         First patch of code cleanups, use the macros and right arguments in the
1074         macros to signal and lock the queue. See #480858.
1075
1076 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
1077
1078         * gst/gstbus.c: (poll_func):
1079         Improve debugging when dealing with _poll().
1080
1081 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
1082
1083         * gst/gstregistryxml.c:
1084           Fix memory leak I introduced a few days ago.
1085
1086 2007-09-26  Michael Smith <msmith@fluendo.com>
1087
1088         * gst/gstbuffer.c: (gst_buffer_finalize):
1089           Make it once again possible to free GstBuffers in the default
1090           build.
1091           The poisoning scribbles on parts of the miniobject we need in
1092           order to free it.
1093           Fixes #480341
1094
1095 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
1096
1097         * docs/gst/gstreamer-sections.txt:
1098         * gst/gsttaglist.c:
1099         * gst/gsttaglist.h:
1100         API: add GST_TAG_COMPOSER, fixes #459809.
1101
1102 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
1103
1104         * gst/gstplugin.c:
1105         * gst/gstplugin.h:
1106         Add the 3-clause BSD license and the MIT/X11 license to the license
1107         list. Fixes #479784.
1108
1109 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
1110
1111         * docs/faq/getting.xml:
1112           Add Q+A about different GStreamer versions (#364056).
1113
1114 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1115
1116         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1117         (gst_base_sink_event), (gst_base_sink_change_state):
1118         Return correct gboolean from query function.
1119
1120 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1121
1122         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1123         (gst_base_sink_event), (gst_base_sink_query),
1124         (gst_base_sink_change_state):
1125         Simplify latency query.
1126         When not synchronizing, we can report latency without querying the peer
1127         element.
1128
1129 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1130
1131         * gst/gstobject.h:
1132         * gst/gstvalue.c:
1133         Fix small typos in the docs.
1134
1135 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1136
1137         * docs/design/draft-latency.txt:
1138         * docs/design/draft-push-pull.txt:
1139         * docs/design/draft-tagreading.txt:
1140         * docs/design/part-MT-refcounting.txt:
1141         * docs/design/part-activation.txt:
1142         * docs/design/part-block.txt:
1143         * docs/design/part-element-source.txt:
1144         * docs/design/part-events.txt:
1145         * docs/design/part-gstbin.txt:
1146         * docs/design/part-gstelement.txt:
1147         * docs/design/part-gstobject.txt:
1148         * docs/design/part-gstpipeline.txt:
1149         * docs/design/part-messages.txt:
1150         * docs/design/part-preroll.txt:
1151         * docs/design/part-push-pull.txt:
1152         * docs/design/part-qos.txt:
1153         * docs/design/part-query.txt:
1154         * docs/design/part-scheduling.txt:
1155         * docs/design/part-seeking.txt:
1156         * docs/design/part-segments.txt:
1157         * docs/design/part-states.txt:
1158         Documentation updates and typo fixes.
1159
1160 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
1161
1162         * plugins/elements/gstfakesink.c:
1163           Add some debug text to error message to indicate that
1164           we errored out on request.
1165
1166         * tools/gst-launch.c:
1167           When the state change to PLAYING fails, check for an
1168           error message on the bus and print it.
1169
1170 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1171
1172         translated by: Jorge González González <aloriel@gmail.com>
1173
1174         * po/LINGUAS:
1175         * po/es.po:
1176           Added Spanish translation.
1177
1178 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
1179
1180         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1181         Fix printf arguments.
1182
1183 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1184
1185         * tests/check/generic/states.c:
1186           Improved state change unit test.
1187
1188 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1189
1190         * gst/gstbin.h:
1191           Move priv to the right place.
1192
1193         * gst/gstsystemclock.c:
1194           Add FIXME: and improve log.
1195
1196         * tests/check/Makefile.am:
1197         * tests/examples/manual/Makefile.am:
1198           Work with all types of registries.
1199
1200 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
1201
1202         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1203         Don't unref the event after pushing it. Fixes #478401.
1204
1205 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1206
1207         * .cvsignore:
1208         * tests/examples/manual/.cvsignore:
1209           Ignore registries in any format.
1210
1211 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
1212
1213         * gst/glib-compat-private.h:
1214           Add compatibility macro for g_intern_string() for
1215           GLib-2.8 (any reason we can't just bump the
1216           requirement to at least 2.10?)
1217
1218         * gst/gstpadtemplate.h:
1219         * gst/gstelementfactory.c:
1220         * gst/gstregistryxml.c:
1221         * gst/gstregistrybinary.c:
1222           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1223           up the internal code accordingly.  This shouldn't be a problem, since
1224           there is no reason external code could ever assume the string in such
1225           a structure is dynamically allocated unless it did that itself;  the
1226           use of g_strdup() is private to element factories.  The new code also
1227           saves some memory by putting pad template name strings into the GLib
1228           quark table instead of allocating them dynamically.
1229           Declaring this field constant fixes warnings with g++-4.2 when using
1230           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1231
1232 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1233
1234         * gst/gstelementfactory.c:
1235           Release static caps. Fixes #475723.
1236
1237 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
1238
1239         * gst/gstinfo.c:
1240         * gst/gstinfo.h:
1241           Make some internal API take const gchar * instead of just
1242           gchar * to avoid compiler warnings with g++-4.2.2 when
1243           passing string constants (partially fixes #478092).
1244
1245 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1246
1247         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1248         A latency query fails when one of the sinks fail.
1249
1250         * gst/gstelement.c: (gst_element_set_base_time):
1251         Improve debugging.
1252
1253 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1254
1255         * gst/gstbin.c: (gst_bin_continue_func):
1256         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1257         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1258         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1259
1260         Fix minor compilation warnings shown with Forte.
1261
1262 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1263
1264         * plugins/elements/gstqueue.c: (apply_buffer),
1265         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1266         Measure queue level based on the diff between head and tail timestamps
1267         even when pushing the first buffer.
1268
1269 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1270
1271         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1272         (gst_base_sink_event), (gst_base_sink_change_state):
1273         Sinks that don't preroll can always be queried for the latency.
1274         Don't post ASYNC start when we are not async.
1275
1276 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1277
1278         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1279         (gst_queue_handle_sink_event), (gst_queue_chain),
1280         (gst_queue_push_one), (gst_queue_handle_src_query),
1281         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1282         * plugins/elements/gstqueue.h:
1283         When downstream returns UNEXPECTED from pushing a buffer, don't try to
1284         push more buffers but allow pushing of EOS and NEWSEGMENT.
1285         Add some more debug info here and there. Fixes #476514.
1286
1287 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1288
1289         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1290         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1291         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1292         (gst_base_sink_set_flushing), (gst_base_sink_query),
1293         (gst_base_sink_change_state):
1294         Latency query is allowed after we are prerolled. Introduce a new flag
1295         for this and stop abusing other variables.
1296
1297 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1298
1299         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1300         Push OOB events downstream when we get them in send_event. This allows
1301         the application to insert events in the pipeline.
1302         Add some more comments.
1303
1304 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1305
1306         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1307         (do_bin_latency), (gst_bin_change_state_func):
1308         * gst/gstpipeline.c: (gst_pipeline_change_state):
1309         Move latency query from GstPipeline to GstBin so that we can also
1310         use it when async-handling is enabled on bins.
1311
1312 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1313
1314         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1315         (gst_base_src_do_sync), (gst_base_src_change_state):
1316         Update docs.
1317         Clean up the timestamping and syncing code for pseudo live sources.
1318
1319 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
1320
1321         Patch by: Steve Fink  <sphink gmail com>
1322
1323         * docs/manual/appendix-checklist.xml:
1324           Mention less -R switch in the section about debug output (#474055).
1325
1326 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1327
1328         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1329         Queue can latency to the pipeline up to the configured max size in time.
1330         Report this fact in the latency query.
1331
1332 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1333
1334         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1335
1336         * libs/gst/controller/gstinterpolation.c:
1337         * libs/gst/controller/gstlfocontrolsource.c:
1338         Use gst_guint64_to_gdouble() when converting from a uint64 or
1339         GstClockTime to double to fix the build on win32. Fixes #474371.
1340
1341 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1342
1343         * gst/gstbuffer.c: (gst_buffer_finalize):
1344         Implement poisoning for GstBuffer if --enable-poisoning is specified.
1345         When finalizing a buffer the complete struct is filled with 0xff,
1346         thus making a use of the buffer after the final unref impossible.
1347
1348 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1349
1350         * tests/check/libs/controller.c: (GST_START_TEST):
1351         Use fail_unless_equals_int(a, b) instead of
1352         fail_unless_equals (a == b) to get better output on failures.
1353
1354 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1355
1356         * tests/check/gst/gsturi.c:
1357           Also check for the other file URI variant on win32.
1358
1359 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1360
1361         * gst/gsturi.c: (gst_uri_get_location):
1362           If there's no hostname, we want to return 'c:/foo/bar.txt'
1363           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1364
1365         * tests/check/gst/gsturi.c:
1366           Unit test for the above and a few more things.
1367
1368 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1369
1370         * docs/design/part-live-source.txt:
1371         Add docs on how live sources should timestamp.
1372
1373         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1374         Add some more debug info.
1375         For subclasses that are live and like to sync, add aditional startup
1376         latency to sync time and timestamps so that we timstamp according to the
1377         design doc.
1378
1379 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1380
1381         * gst/gstbuffer.c:
1382           Also do a g_type_class_ref() for the subbuffer type in
1383           the init function.
1384
1385 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1386
1387         * docs/gst/gstreamer-sections.txt:
1388         * gst/gstpad.c: (gst_pad_peer_query):
1389         * gst/gstpad.h:
1390         Add function to perform a query on the peer of a pad.
1391         API: gst_pad_peer_query()
1392
1393 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1394
1395         * tests/check/gst/gstsystemclock.c:
1396           Cleanup the test a little (use gst-logging and not g_message). Improve
1397           test to check if a wait reached the target.
1398
1399 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1400
1401         * docs/libs/gstreamer-libs-sections.txt:
1402           Add new API to docs and fix the build.
1403
1404 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
1405
1406         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1407         (gst_base_src_init), (gst_base_src_set_do_timestamp),
1408         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1409         (gst_base_src_get_property), (gst_base_src_do_sync):
1410         * libs/gst/base/gstbasesrc.h:
1411         Add property to make the basesrc timestamp buffers based on the current
1412         running time.
1413         API: GstBaseSrc::do-timestamp
1414         API: gst_base_src_set_do_timestamp()
1415         API: gst_base_src_get_do_timestamp()
1416
1417 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
1418
1419         * docs/random/release:
1420           Really make sure translations are up-to-date before
1421           a release (#465010).
1422
1423 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
1424
1425         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1426         Always destroy the timer, also in error cases.
1427
1428 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1429
1430         * docs/manual/highlevel-xml.xml:
1431         Fix XML example code. Fixes #472714.
1432
1433 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1434
1435         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1436         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1437         (gst_base_sink_query):
1438         Protect eos and have_preroll with the OBJECT lock so we don't need to
1439         take the PREROLL lock when querying the latency. Fixes #473846.
1440
1441 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
1442
1443         * gst/gstelement.c:
1444           Give some log-messages a category.
1445
1446 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
1447
1448         * gst/gststructure.c:
1449         (gst_structure_fixate_field_nearest_fraction):
1450         Fix fraction list fixation code. Take the fraction with the smallest
1451         difference with the target instead of the first one in the list.
1452
1453         * tests/check/gst/gststructure.c: (GST_START_TEST),
1454         (gst_structure_suite):
1455         Added test to verify correct fraction list fixation behaviour.
1456
1457 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
1458
1459         * win32/common/libgstreamer.def:
1460           Export gst_bus_add_signal_watch too.
1461
1462 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
1463
1464         * docs/libs/gstreamer-libs-sections.txt:
1465         Add new methods to docs.
1466
1467         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1468         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1469         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1470         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1471         * libs/gst/base/gstbasesink.h:
1472         Add ts-offset property to fine-tune the synchronisation.
1473         API: GstBaseSink::ts-offset property
1474         API: gst_base_sink_set_ts_offset()
1475         API: gst_base_sink_get_ts_offset()
1476
1477 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
1478
1479         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1480         (gst_base_sink_init), (gst_base_sink_set_sync),
1481         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1482         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1483         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1484         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1485         (gst_base_sink_get_property), (gst_base_sink_change_state):
1486         * libs/gst/base/gstbasesink.h:
1487         Add async property to instruct the sink never to inform the parent about
1488         ASYNC state changes, update docs.
1489         Check argument with g_return_* for the public functions.
1490         API: GstBaseSink::async property
1491         API: gst_base_sink_set_async_enabled()
1492         API: gst_base_sink_is_async_enabled()
1493
1494 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
1495
1496         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1497         Improve debugging.
1498
1499         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1500         (gst_base_src_default_query), (gst_base_src_wait),
1501         (gst_base_src_do_sync), (gst_base_src_change_state):
1502         Rearrange some code so that we can add support for measuring the 
1503         startup latency.
1504
1505 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
1506
1507         * docs/random/ensonic/dynlink.txt:
1508           More thoughs on this.
1509
1510         * plugins/elements/gstcapsfilter.c:
1511           Add bugzilla ticket number to FIXME comment.
1512
1513 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
1514
1515         * docs/design/part-TODO.txt:
1516         * docs/design/part-block.txt:
1517         Update some docs.
1518
1519 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1520
1521         * gst/Makefile.am:
1522           Revert patch which uses $(gst_headers) instead of $^ because it
1523           breaks make dist.
1524
1525 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1526
1527         * tests/check/gst/gstbin.c: (GST_START_TEST):
1528           Fix leaks in the new unit test.
1529
1530 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
1531
1532         * gst/gst.c:
1533           Don't use GST_INFO before the debug system is actually initialised
1534           (shouldn't do any harm, but won't print anything either, so we can
1535           just as well remove it).
1536
1537         * gst/gstinfo.h:
1538           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1539           compilers that don't support variadic macros (such as MSVC), should
1540           check for debug_level <= __gst_debug_min as well, since that's the
1541           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1542           inline helper functions. Should improve performance a bit, but also
1543           makes sure uses of GST_INFO et.al are ignored if the debugging
1544           system isn't initialised yet (instead of printing an assertion
1545           failure).
1546
1547 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
1548
1549         patch by: David Nečas <yeti@physics.muni.cz>
1550
1551         * gst/Makefile.am:
1552           Replace some non portable makefile constructs.
1553
1554 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
1555
1556         * common/gtk-doc-plugins.mak:
1557           Grrrrr. Don't remove the types file on make clean.
1558
1559 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
1560
1561         * tools/gst-launch.1.in:
1562         Add colorspace to example pipeline. Fixes #458274.
1563
1564 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
1565
1566         * docs/random/release:
1567           The release manager should run 'make download-po' before making a
1568           release to make sure translations are up-to-date.
1569
1570         * po/LINGUAS:
1571         * po/be.po:
1572         * po/pl.po:
1573         * po/rw.po:
1574           Add some new translations.
1575
1576 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
1577
1578         * tools/gst-launch.c: (event_loop), (main):
1579         Don´t try to do any state management when a live pipeline posts
1580         buffering messages.
1581         Also make the buffering string translatable.
1582
1583 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1584
1585         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1586         (bin_handle_async_start), (gst_bin_handle_message_func):
1587         Improve debugging.
1588         When adding elements, insert messages into the bus of the newly added
1589         element and make sure the element is the source of the message. This
1590         allows the parent bin to intercept the message and do the
1591         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1592         messages to the app (which is not allowed).
1593         Update some docs.
1594
1595         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1596         Fix testsuite so that is does not work around messages that should not
1597         have been posted in the first place.
1598
1599 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1600
1601         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1602         (update_degree), (gst_bin_sort_iterator_next):
1603         Fix annoying bug in the sorted iterator where a sink that is not really
1604         a sink (when it has downstream links) screwed up the iterator.
1605
1606         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1607         Unit test to verify the fix.
1608
1609 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1610
1611         * gst/gstmessage.h:
1612         Add some more docs for the messages.
1613
1614         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1615         (gst_base_sink_query):
1616         Add some more debugging.
1617
1618         * tools/gst-launch.c: (event_loop):
1619         When interrupting, don't try to set pipeline to PAUSED twice.
1620
1621 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1622
1623         
1624         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1625         (bin_handle_async_start), (gst_bin_handle_message_func):
1626         Move ASYNC_START message posting to where it belongs, similar to
1627         async_done. 
1628         Don't post ASYNC_START when we are in error. 
1629         Post ASYNC_START when we added an async element to a bin.
1630
1631 2007-08-14  Julien MOUTTE  <julien@moutte.net>
1632
1633         * gst/gstindex.c: (gst_index_add_association): Fix index entry
1634         generation from vargs. Fixes #466595.
1635
1636 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1637
1638         * gst/gstbin.c: (gst_bin_element_set_state):
1639         Always change the state of a NO_PREROLL element even if it has ASYNC
1640         elements inside (in case of a bin).
1641
1642         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1643         Unit test for this case.
1644
1645 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
1646
1647         * libs/gst/check/gstbufferstraw.c:
1648         * libs/gst/check/gstcheck.h:
1649         * libs/gst/controller/gstcontroller.c:
1650         * libs/gst/controller/gstcontrolsource.h:
1651         * libs/gst/controller/gstlfocontrolsource.h:
1652         * plugins/elements/gstcapsfilter.h:
1653         * plugins/elements/gstfdsink.h:
1654         * plugins/elements/gstfdsrc.h:
1655           Add more missing docs.
1656
1657 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1658
1659         * gst/gststructure.c:
1660         Add Since tag to docs.
1661
1662 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1663
1664         * docs/gst/gstreamer-sections.txt:
1665         * gst/gststructure.c: (gst_structure_get_uint):
1666         * gst/gststructure.h:
1667         Add function to get uint from a structure.
1668         API: gst_structure_get_uint()
1669
1670 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1671
1672         * gst/gstcaps.c: (gst_caps_set_simple_valist),
1673         (gst_caps_intersect):
1674         Fix proper check for simple caps.
1675
1676 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
1677
1678         * docs/gst/Makefile.am:
1679         * docs/libs/Makefile.am:
1680           Remove cruft and do some cleanups.
1681
1682         * docs/gst/gstreamer-docs.sgml:
1683         * docs/libs/gstreamer-libs-docs.sgml:
1684           Prepare for comming gtkdoc features (rebase against online docs).
1685
1686 2007-08-10  Michael Smith <msmith@fluendo.com>
1687
1688         * docs/gst/gstreamer-sections.txt:
1689           Add gst_registry_add_path to docs.
1690
1691 2007-08-10  Michael Smith <msmith@fluendo.com>
1692
1693         * gst/gstregistry.h:
1694           Add gst_registry_add_path, which was missing from this header.
1695
1696 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
1697
1698         * libs/gst/controller/gstlfocontrolsource.c:
1699           Printf format fix.
1700
1701 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1702
1703         * libs/gst/base/gstbasesink.c:
1704           Don't send an async_start message during downwards state change if 
1705           target state is less than READY
1706
1707 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1708
1709         translated by: Gabor Kelemen <kelemeng@gnome.hu>
1710
1711         * po/LINGUAS:
1712         * po/hu.po:
1713           Added Hungarian translation.
1714
1715 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1716
1717         * po/fi.po:
1718         * po/it.po:
1719         * po/nl.po:
1720         * po/sv.po:
1721         * po/uk.po:
1722           Updated translations.
1723
1724 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1725
1726         * libs/gst/controller/Makefile.am:
1727         Dist gstlfocontrolsourceprivate.h
1728
1729 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1730
1731         * docs/libs/gstreamer-libs.types:
1732         Don't register the enum type gst_lfo_waveform_get_type() in the
1733         .types file - only GObject derived types belong.
1734
1735 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1736
1737         Patch by: <arenevier at fdn dot fr>
1738
1739         * gst/gstbuffer.h:
1740         Remove comma from last element in enum to avoid compile errors when
1741         using -pendantic. Fixes #464366.
1742
1743 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1744
1745         * docs/design/part-TODO.txt:
1746         Add some more TODO items
1747
1748         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1749         Improve debugging.
1750
1751         * gst/gstcaps.c: (gst_caps_intersect):
1752         Optimize trivial intersection case between identical caps pointers.
1753
1754         * gst/gstelement.c: (gst_element_continue_state),
1755         (gst_element_set_state_func):
1756         * gst/gstpad.c:
1757         Fix spelling and grammar mistakes.
1758
1759 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
1760
1761         * po/POTFILES.in:
1762         * po/POTFILES.skip:
1763           Update POTFILES. Fixes #461599.
1764
1765 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1766
1767         * gst/gst.c:
1768         Fix confusing typo in debug output.
1769
1770 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1771
1772         reviewed by: Stefan Kost <ensonic@users.sf.net>
1773
1774         * libs/gst/controller/Makefile.am:
1775         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1776         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1777         (gst_lfo_control_source_new),
1778         (gst_lfo_control_source_set_waveform),
1779         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1780         (gst_lfo_control_source_finalize),
1781         (gst_lfo_control_source_dispose),
1782         (gst_lfo_control_source_set_property),
1783         (gst_lfo_control_source_get_property),
1784         (gst_lfo_control_source_class_init):
1785         * libs/gst/controller/gstlfocontrolsource.h:
1786         * libs/gst/controller/gstlfocontrolsourceprivate.h:
1787         API: Add GstLFOControlSource, a control source that gives values
1788         for specific timestamps based on several periodic waveforms.
1789         Fixes #459717.
1790
1791         * tests/check/libs/controller.c: (GST_START_TEST),
1792         (gst_controller_suite):
1793         * docs/libs/gstreamer-libs-docs.sgml:
1794         * docs/libs/gstreamer-libs-sections.txt:
1795         * docs/libs/gstreamer-libs.types:
1796         Add documentation and unit tests for GstLFOControlSource.
1797
1798 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
1799
1800         * configure.ac:
1801         Back to CVS
1802
1803 === release 0.10.14 ===
1804
1805 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
1806
1807         * configure.ac:
1808           releasing 0.10.14, "Breathing Vacuum"
1809
1810 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
1811
1812         * gst/gstelement.c: (gst_element_class_set_details_simple):
1813         * gst/gstelement.h:
1814           Make strings passed to gst_element_class_set_details_simple()
1815           constant, as they should be (#462752).
1816
1817 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
1818
1819         * gst/gstbin.c: (gst_bin_change_state_func),
1820         (bin_handle_async_done), (gst_bin_handle_message_func):
1821         Don't forget about the fact that some element went ASYNC even after a
1822         resync. This makes us post the ASYNC_DONE message correctly.
1823         Fixes #462558.
1824
1825 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1826
1827         * gst/gstregistry.c: (gst_registry_add_feature):
1828         When replacing an existing feature in the registry, make sure to
1829         continue holding a reference until we've replaced the name string
1830         within our feature hash table. Make sure to use g_hash_table_replace
1831         instead of g_hash_table_insert to ensure the new name string is used
1832         as a key instead of the old one that we're about to free.
1833         Fixes: #462085
1834
1835 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1836
1837         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1838         (gst_plugin_feature_set_name):
1839         Revert patch from #459466 until after the release and we can work
1840         out exactly what the problem is (if any).
1841
1842 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1843
1844         * docs/gst/gstreamer-sections.txt:
1845         * gst/gsttaglist.c:
1846         * gst/gsttaglist.h:
1847           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1848
1849 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1850
1851         * docs/libs/Makefile.am:
1852         Include our build-prefix libs and includes before the generic ones to
1853         avoid linking against the installed libs when we want the build-tree
1854         ones.
1855
1856 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1857
1858         Patch by: Steve Fink  <sphink gmail com>
1859
1860         * docs/pwg/building-testapp.xml:
1861           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1862           if people try to build or install the example from the plugin
1863           template against a GStreamer from package using the configure
1864           defaults.
1865
1866 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1867
1868         Patch by: Steve Fink  <sphink gmail com>
1869
1870         * tools/gst-inspect.1.in:
1871           Document --print-all and --print-plugin-auto-install-info command
1872           line options in man page.
1873
1874 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1875
1876         * docs/gst/gstreamer-sections.txt:
1877         Add docs for new api function.
1878
1879 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1880
1881         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1882         * gst/gstelementfactory.h:
1883         API: gst_element_factory_has_interface()
1884         Added method to check if an element factory implements a named
1885         interface.
1886
1887 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
1888
1889         * configure.ac:
1890         * docs/gst/gstreamer.types.in:
1891           Another conditional doc check.
1892
1893         * gst/gstmessage.c:
1894         * gst/gstparamspecs.h:
1895         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1896         * gst/gstvalue.c:
1897         * gst/gstxml.h:
1898           API-doc fixes.
1899
1900 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1901
1902         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1903         (gst_registry_binary_load_feature),
1904         (gst_registry_binary_load_plugin),
1905         (gst_registry_binary_read_cache):
1906           Print error just once and with additional info.
1907
1908 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1909
1910         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1911         (helper_find_suggest), (helper_find_get_length),
1912         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1913         (gst_type_find_helper_for_buffer):
1914           Cleanup the typefindhelper code and add private doc comments.
1915
1916 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
1917
1918         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1919         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1920         Fix capsfilter for cases where the caps set on capsfilter will provide
1921         additional information.
1922         Fixes #449197
1923
1924 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1925
1926         * gst/gsttypefindfactory.c:
1927           Fix docs that recommened wrong function to use.
1928
1929 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1930
1931         * tools/gst-inspect.c: (print_plugin_features):
1932           Also give media-type for typefinders in element output.
1933
1934 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1935
1936         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1937         (gst_registry_remove_features_for_plugin_unlocked),
1938         (gst_registry_add_feature), (gst_registry_remove_feature),
1939         (gst_registry_lookup_feature_locked):
1940         * gst/gstregistry.h:
1941           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1942           Fixes #459501.
1943
1944 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1945
1946         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1947         (gst_plugin_feature_set_name):
1948           Avoid double memory usage for pluginfeature names. Fixes #459466.
1949
1950 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1951
1952         * gst/gstpad.h:
1953           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1954           driving the pipeline may need to explicitly check for NOT_LINKED as
1955           well, since IS_FATAL doesn't cover that.
1956
1957 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1958
1959         * docs/pwg/advanced-types.xml:
1960           Fix typo and duplicate entry in video formats list.
1961
1962 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
1963
1964         * libs/gst/controller/gstinterpolation.c:
1965         Also round to the nearest int when using cubic interpolation.
1966
1967 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
1968
1969         * libs/gst/controller/gstinterpolation.c:
1970         When linearly interpolating integer types, round to the nearest int
1971         by adding 0.5. Don't do it for float/double types.
1972         Fixes the failing controller test on my machine, which is somehow
1973         rounding differently than on the buildbots.
1974
1975 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1976
1977         * tools/gst-plot-timeline.py:
1978           Better log parsing (categories can have -). Adjust text vs. lines, so
1979           that they span the same y-range.        
1980
1981 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1982
1983         * docs/random/ensonic/audiobaseclasses.txt:
1984         * docs/random/ensonic/dynlink.txt:
1985         * docs/random/ensonic/profiling.txt:
1986           Save my thoughts.
1987
1988         * docs/random/moving-plugins:
1989           Add note to use g_assert type macros.
1990
1991 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1992
1993         * configure.ac:
1994         * libs/gst/check/Makefile.am:
1995           Add libm check as we use in for plugins.
1996
1997 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
1998
1999         * gst/gstbin.c: (gst_bin_continue_func):
2000         Check that the state_cookie hasn't changed since the continue_func
2001         was scheduled. Avoids problems where the state changes back to
2002         something it shouldn't be because it was changed in the meantime.
2003
2004 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
2005
2006         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2007         (gst_registry_binary_save_string),
2008         (gst_registry_binary_save_pad_template),
2009         (gst_registry_binary_save_feature),
2010         (gst_registry_binary_save_plugin),
2011         (gst_registry_binary_load_feature),
2012         (gst_registry_binary_load_plugin),
2013         (gst_registry_binary_read_cache):
2014           Fix memory leak. Be less verbose in the log.
2015
2016 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2017
2018         * tests/check/elements/.cvsignore:
2019         Add file to cvsignore as commanded.
2020
2021 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2022
2023         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2024         (mq_dummypad_event), (run_output_order_test):
2025         Use a GStaticMutex to protect all cases where libcheck
2026         fail_if/fail_unless macros might be called from multiple threads
2027         simultaneously to avoid errors like:
2028           "check_pack.c:107: :-1081725400:Bad message type arg"
2029
2030 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2031
2032         * tests/check/pipelines/stress.c: (GST_START_TEST):
2033         Make sure we set the pipeline back to the NULL state before
2034         dropping our final reference.
2035
2036 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2037
2038         * tests/check/elements/tee.c: (GST_START_TEST):
2039         Make the tee stress-test a little less stressful so it doesn't just
2040         time out on slow-machines, and remove a small race when it's starting 
2041         up by adding a get_state() call.
2042
2043 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
2044
2045         * gst/gst.c:
2046           Avoid reading registry twice on startup. Fixes #457322.
2047
2048 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2049
2050         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2051         * pkgconfig/gstreamer-check.pc.in:
2052         Substitute the CFLAGS for libcheck into our .pc file too so that
2053         dependent modules will pick it up properly if libcheck is installed
2054         into some other prefix.
2055
2056 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2057
2058         * configure.ac:
2059         Revert the pkg-config check for libcheck, since it pulls in the
2060         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2061         a proper solution, either from the check project, or something else.
2062
2063 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
2064
2065         * configure.ac:
2066           Use pkg-config to locate check.
2067
2068 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
2069
2070         * gst/gsttaglist.c:
2071           Fix doc syntax.
2072
2073         * gst/gstutils.c:
2074         * gst/gstutils.h:
2075           Add deprecation guards.
2076
2077         * libs/gst/base/gstcollectpads.h:
2078           Don't document object (this is implicitly private).
2079
2080 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
2081
2082         * gst/gststructure.c: (gst_structure_parse_value):
2083           When deserialising foo=bar without a type cast, check if it's a
2084           boolean before falling back to a string type, otherwise things like
2085           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2086           because the filtercaps end up having a signed=(string)true field,
2087           which causes problems later when intersection caps.
2088
2089         * tests/check/gst/gststructure.c: (GST_START_TEST):
2090           Add a unit test for this.
2091
2092 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
2093
2094         Reviewed by: Stefan Kost <ensonic@users.sf.net>
2095
2096         * libs/gst/controller/Makefile.am:
2097         * libs/gst/controller/gstcontroller.c:
2098         (gst_controlled_property_add_interpolation_control_source),
2099         (gst_controlled_property_new), (gst_controlled_property_free),
2100         (gst_controller_find_controlled_property),
2101         (gst_controller_new_valist), (gst_controller_new_list),
2102         (gst_controller_new), (gst_controller_remove_properties_valist),
2103         (gst_controller_remove_properties_list),
2104         (gst_controller_remove_properties),
2105         (gst_controller_set_property_disabled),
2106         (gst_controller_set_disabled), (gst_controller_set_control_source),
2107         (gst_controller_get_control_source), (gst_controller_get),
2108         (gst_controller_sync_values), (gst_controller_get_value_array),
2109         (_gst_controller_dispose), (gst_controller_get_type),
2110         (gst_controlled_property_set_interpolation_mode),
2111         (gst_controller_set), (gst_controller_set_from_list),
2112         (gst_controller_unset), (gst_controller_unset_all),
2113         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2114         * libs/gst/controller/gstcontroller.h:
2115         * libs/gst/controller/gstcontrollerprivate.h:
2116         * libs/gst/controller/gstcontrolsource.c:
2117         (gst_control_source_class_init), (gst_control_source_init),
2118         (gst_control_source_get_value),
2119         (gst_control_source_get_value_array), (gst_control_source_bind):
2120         * libs/gst/controller/gstcontrolsource.h:
2121         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2122         (gst_object_get_control_source):
2123         * libs/gst/controller/gstinterpolation.c:
2124         (gst_interpolation_control_source_find_control_point_node),
2125         (gst_interpolation_control_source_get_first_value),
2126         (_interpolate_none_get), (interpolate_none_get),
2127         (interpolate_none_get_boolean_value_array),
2128         (interpolate_none_get_enum_value_array),
2129         (interpolate_none_get_string_value_array),
2130         (_interpolate_trigger_get), (interpolate_trigger_get),
2131         (interpolate_trigger_get_boolean_value_array),
2132         (interpolate_trigger_get_enum_value_array),
2133         (interpolate_trigger_get_string_value_array):
2134         * libs/gst/controller/gstinterpolationcontrolsource.c:
2135         (gst_control_point_free), (gst_interpolation_control_source_reset),
2136         (gst_interpolation_control_source_new),
2137         (gst_interpolation_control_source_set_interpolation_mode),
2138         (gst_interpolation_control_source_bind),
2139         (gst_control_point_compare), (gst_control_point_find),
2140         (gst_interpolation_control_source_set_internal),
2141         (gst_interpolation_control_source_set),
2142         (gst_interpolation_control_source_set_from_list),
2143         (gst_interpolation_control_source_unset),
2144         (gst_interpolation_control_source_unset_all),
2145         (gst_interpolation_control_source_get_all),
2146         (gst_interpolation_control_source_get_count),
2147         (gst_interpolation_control_source_init),
2148         (gst_interpolation_control_source_finalize),
2149         (gst_interpolation_control_source_dispose),
2150         (gst_interpolation_control_source_class_init):
2151         * libs/gst/controller/gstinterpolationcontrolsource.h:
2152         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2153         API: Refactor GstController into the core controller which can take
2154         a GstControlSource for providing actual values for timestamps.
2155         Implement a interpolation control source and use this for backward
2156         compatibility, deprecate a bunch of functions that are now handled
2157         by GstControlSource or GstInterpolationControlSource.
2158         Make it possible to disable the controller completely or only for
2159         specific properties. Fixes #450711.
2160         * docs/libs/gstreamer-libs-docs.sgml:
2161         * docs/libs/gstreamer-libs-sections.txt:
2162         * docs/libs/gstreamer-libs.types:
2163         Add new functions and classes to the docs.
2164         * tests/check/libs/controller.c: (GST_START_TEST),
2165         (gst_controller_suite):
2166         * tests/examples/controller/audio-example.c: (main):
2167         Port unit test and example to the new API and add some new
2168         unit tests.
2169
2170 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
2171
2172         Patch by: Mark Nauwelaerts <manauw at skynet be>
2173
2174         * plugins/elements/gstmultiqueue.c:
2175         (gst_multi_queue_get_internal_links), (apply_buffer),
2176         (single_queue_overrun_cb), (gst_single_queue_new):
2177         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2178         the pipeline layout can be tracked correctly. Fixes #453732.
2179
2180 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
2181
2182         * docs/gst/Makefile.am:
2183         * docs/libs/Makefile.am:
2184         * docs/plugins/Makefile.am:
2185           Simplify --extra-dir as gtkdoc scans recursively.
2186
2187 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2188
2189         * tools/gst-launch.c: (main):
2190         When we got an error, there is no point in waiting for preroll when
2191         shutting down.
2192
2193 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2194
2195         * plugins/elements/gsttee.c: (gst_tee_base_init),
2196         (gst_tee_request_new_pad), (gst_tee_release_pad),
2197         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2198         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2199         (gst_tee_chain):
2200         Be a lot smarter when deciding what srcpad to use for proxying
2201         the buffer_alloc. Also handle pad added/removed when doing so.
2202         Fixes #357959.
2203         Keep track of what pads we already pushed on in case we have pads
2204         added/removed while pushing. Fixes #374639 
2205
2206         * tests/check/Makefile.am:
2207         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2208         (tee_suite):
2209         Added unit test for pad resync.
2210
2211 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2212
2213         * po/nl.po:
2214         * po/sv.po:
2215           Updated translations.
2216
2217 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2218
2219         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2220
2221         * po/LINGUAS:
2222         * po/fi.po:
2223           Added new Finnish translation.
2224
2225 2007-06-28  Wim Taymans  <wim@fluendo.com>
2226
2227         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2228         (single_queue_overrun_cb):
2229         When figuring out when a queue is filled, use our internal time estimate
2230         based on segments, just like check_full does.
2231
2232 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2233
2234         * gst/gstminiobject.c: (gst_mini_object_get_type):
2235           Remove 3 do-nothing methods.
2236
2237 2007-06-27  Wim Taymans  <wim@fluendo.com>
2238
2239         Patch by: Tim Angus <tim at ngus dot net>
2240
2241         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2242         (gst_capsfilter_set_property):
2243         Take a reference instead of a copy when setting "caps".
2244         Fix documentation to clarify this behaviour. Fixes #449414.
2245
2246 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2247
2248         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2249         * gst/gstplugin.c: (gst_plugin_init):
2250         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2251         * gst/gstquery.c: (gst_query_get_type):
2252         * gst/gstregistry.c: (gst_registry_init):
2253         * gst/gsturi.c: (gst_uri_handler_base_init):
2254           Remove empty instance_init() functions to save relocs and lessen the
2255           noise. Remove some of the function prototypes that are doubled by
2256           G_DEFINE_TYPE.
2257           
2258 2007-06-27  Wim Taymans  <wim@fluendo.com>
2259
2260         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2261
2262         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2263         Add peer and direction in the XML serialisation of ghostpads.
2264         Fixes #449226.
2265
2266 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2267
2268         * configure.ac:
2269           Preserve useful information, thanks Tim.
2270
2271 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
2272
2273         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2274         (gst_single_queue_flush), (apply_segment), (apply_buffer),
2275         (gst_single_queue_push_one), (gst_multi_queue_loop),
2276         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2277         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2278         (compute_high_id), (gst_single_queue_new):
2279         * plugins/elements/gstmultiqueue.h:
2280         Take the multiqueue lock when updating the fill level so we don't get
2281         confused. 
2282
2283         After applying a buffer or event on the src pad segment, make sure to
2284         call gst_data_queue_limits_changed() to get the data queue to unblock
2285         and check the filled state again.
2286         
2287         Rework the not-linked pad handling so the logic is that not-linked 
2288         pads can push as fast as they like, but only so they never get 
2289         ahead of any linked pads.
2290
2291         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2292         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2293         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2294
2295         Add a test to check that not-linked pads always stay behind
2296         linked pads.
2297
2298         Fixes: #430682
2299
2300 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
2301
2302         * docs/random/release:
2303           Some updates to the release procedure.
2304
2305 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2306
2307         * gst/gstelementfactory.c: (__gst_element_details_clear):
2308           Microoptimization that saves stunning 80 bytes.
2309
2310 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
2311
2312         * docs/plugins/gstreamer-plugins.args:
2313         * docs/plugins/inspect/plugin-coreelements.xml:
2314         * docs/plugins/inspect/plugin-coreindexers.xml:
2315           Update docs with caps info.
2316
2317 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2318
2319         * po/it.po:
2320           Updated Italian translation.
2321
2322 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2323
2324         * ChangeLog:
2325         * po/vi.po:
2326           Update Vietnamese translations.
2327
2328 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2329
2330         * libs/gst/base/gstbasesink.c:
2331           Remove unused signal enum.
2332
2333 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2334
2335         * docs/gst/gstreamer-sections.txt:
2336         * gst/gstelement.c:
2337         * gst/gstutils.c: (gst_type_register_static_full):
2338         Beef up and include the docs for gst_type_register_static_full and
2339         gst_element_class_set_details_simple and add the API keyword
2340         in the ChangeLog.
2341
2342 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2343
2344         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2345         (update_time_level), (gst_single_queue_push_one),
2346         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2347         (single_queue_overrun_cb), (single_queue_underrun_cb),
2348         (single_queue_check_full):
2349         Fix setting max-* properties after adding queues.
2350         Use IS_FILLED for checking visible items.
2351         Signal overrun if multiple queues overrun.
2352         Add extra debug output.
2353         Patch by: Wim Taymans <wim@fluendo.com>
2354
2355 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
2356
2357         * gst/gstelement.c: (gst_element_class_set_details_simple):
2358         * gst/gstelement.h:
2359         * gst/gstutils.c: (gst_type_register_static_full):
2360         * gst/gstutils.h:
2361         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2362         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2363         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2364         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2365         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2366         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2367         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2368         * plugins/elements/gstidentity.c: (gst_identity_base_init):
2369         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2370         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2371         (apply_buffer), (gst_queue_chain):
2372         * plugins/elements/gsttee.c: (gst_tee_base_init):
2373         * plugins/elements/gsttypefindelement.c:
2374         (gst_type_find_element_base_init),
2375         (gst_type_find_element_class_init):
2376           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2377           API: add gst_type_register_static_full
2378           API: add gst_element_class_set_details_simple
2379
2380 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2381
2382         * docs/pwg/advanced-types.xml:
2383           Fix typo in iana.org URI.
2384
2385 2007-06-19  Andy Wingo  <wingo@pobox.com>
2386
2387         * tests/check/pipelines/simple-launch-lines.c
2388         (test_state_change_returns): Enable pull-mode tests now that
2389         basesink has been fixed.
2390
2391         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2392         Changed from gst_base_sink_is_prerolled, reversing the sense of
2393         the return value. Returns FALSE also if the sink is in pull mode,
2394         in which case it needs no preroll.
2395         (gst_base_sink_query, gst_base_sink_change_state): Update for
2396         needs_preroll change.
2397         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2398         chaining up, in which we return SUCCESS directly if we activated
2399         in pull mode instead of ASYNC. Involves countering an async_start
2400         message sent before chaining up; not sure if this is correct, in
2401         an ideal world we only send async-start when activating in push
2402         mode.
2403
2404         * tests/check/pipelines/simple-launch-lines.c
2405         (test_state_change_returns): New test, partially disabled until
2406         basesink is fixed.
2407
2408 2007-06-19  Wim Taymans  <wim@fluendo.com>
2409
2410         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2411         (gst_multi_queue_sink_event):
2412         Fix event leak.
2413
2414 2007-06-19  Wim Taymans  <wim@fluendo.com>
2415
2416         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2417         (gst_bin_change_state_func), (bin_push_state_continue),
2418         (bin_handle_async_start), (bin_handle_async_done),
2419         (gst_bin_handle_message_func):
2420         Move the common code for posting state-change messages into
2421         one function.
2422         Broadcast the state signal after we posted the messages.
2423         Mark the bin as busy when it's doing a state-change.
2424         Make sure async-start/done messages don't interfere with the bin's
2425         state when it's busy.
2426         After the state change, let the bin check which elements completed the
2427         state change while it was busy so that it can update its state.
2428
2429 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
2430
2431         * docs/random/release:
2432         Add a note about updating the doap file to the release checklist
2433
2434 2007-06-18  Wim Taymans  <wim@fluendo.com>
2435
2436         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2437         (gst_single_queue_push_one), (gst_multi_queue_chain),
2438         (gst_multi_queue_sink_event):
2439         Make sure we don't reference the buffer/event after we have given away
2440         ownership in the queue.
2441
2442 2007-06-18  Wim Taymans  <wim@fluendo.com>
2443
2444         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2445         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2446         Update queue state _after_ adding the item in the queue because else we
2447         could end up being full without the element added yet.
2448
2449 2007-06-18  Wim Taymans  <wim@fluendo.com>
2450
2451         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2452         (gst_bin_remove_func), (gst_bin_get_state_func),
2453         (gst_bin_element_set_state), (gst_bin_continue_func),
2454         (bin_push_state_continue), (bin_handle_async_start),
2455         (bin_handle_async_done), (gst_bin_handle_message_func):
2456         * gst/gstbin.h:
2457         Immediatly commit the toplevel bin state when receiving an async-done
2458         message. This enables us to avoid spawning a thread to commit the state
2459         in some common cases and it also avoids some races.
2460         Avoid spawning a state thread when adding/removing async elements to a
2461         toplevel bin. Instead we immediatly update the bin state.
2462         Get rid of iterating all the children when getting the state in the bin
2463         because it is now always up-to-date.
2464         Fix bug where locked elements would always return _SUCCESS even it they
2465         returned NO_PREROLL before being locked.
2466         Fix the order of the state_change, async-start/done messages that was
2467         sometimes incorrect.
2468         Mark the state_dirty field as deprecated, we don't need it anymore as we
2469         are always up-to-date.
2470
2471         * gst/gstelement.c: (gst_element_get_state_func),
2472         (gst_element_continue_state):
2473         Small debug inprovements.
2474         Return the previous element state return when nothing is pending instead
2475         of blindly returning SUCCESS.
2476
2477         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2478         (gst_sinks_suite):
2479         Add a whole bunch of new testcases.
2480
2481 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2482
2483         * po/uk.po:
2484         * po/vi.po:
2485           Update translations.
2486
2487 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
2488
2489         * gst/gstpad.c:
2490         Fix typo in the docs.
2491
2492 2007-06-15  Wim Taymans  <wim@fluendo.com>
2493
2494         * docs/libs/gstreamer-libs-sections.txt:
2495         Add docs for new methods.
2496
2497 2007-06-15  Wim Taymans  <wim@fluendo.com>
2498
2499         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2500         (gst_multi_queue_item_new):
2501         Don't use GSlice because we don't depend on >= 2.10 yet.
2502
2503 2007-06-15  Wim Taymans  <wim@fluendo.com>
2504
2505         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2506         (update_time_level), (apply_segment), (apply_buffer),
2507         (gst_single_queue_push_one), (gst_multi_queue_item_new),
2508         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2509         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2510         (single_queue_underrun_cb), (single_queue_check_full):
2511         Remove debug printf.
2512
2513 2007-06-15  Wim Taymans  <wim@fluendo.com>
2514
2515         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2516         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2517         (gst_data_queue_set_flushing), (gst_data_queue_push),
2518         (gst_data_queue_pop), (gst_data_queue_drop_head),
2519         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2520         * libs/gst/base/gstdataqueue.h:
2521         Various cleanups.
2522         Added methods to get the current levels and to inform the queue that the
2523         'full' limits changed.
2524
2525         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2526         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2527         (gst_single_queue_flush), (update_time_level), (apply_segment),
2528         (apply_buffer), (gst_single_queue_push_one),
2529         (gst_multi_queue_item_steal_object),
2530         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2531         (gst_multi_queue_loop), (gst_multi_queue_chain),
2532         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2533         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2534         (gst_multi_queue_src_query), (single_queue_overrun_cb),
2535         (single_queue_underrun_cb), (single_queue_check_full),
2536         (gst_single_queue_new):
2537         Keep track of time in the queue by measuring the difference between
2538         running_time on input and output. This gives more accurate results and
2539         can compensate for segments correctly.
2540         Make a queue by default only 5 buffers deep. We will now increase the
2541         buffer size depending on the filledness of the other queues.
2542         Factor out commong flush code.
2543         Make sure we don't add additional refcounts to buffers when we can avoid
2544         it.
2545         Propagate GstFlowReturn differently.
2546         Use GSlice for intermediate GstMultiQueueItems.
2547         Keep track of EOS.
2548         Resize queues on over and underruns based on filled level of other
2549         queues.
2550         When checking if the queue is filled, prefer to measure in time if we
2551         can and fall back to bytes when no time is known.
2552
2553         * plugins/elements/gstqueue.c:
2554         Fix return value.
2555
2556 2007-06-15  Wim Taymans  <wim@fluendo.com>
2557
2558         * libs/gst/base/gstbasetransform.c:
2559         (gst_base_transform_sink_event):
2560         Work around the brokenness of the event vmethod in basetransform. Prefer
2561         to return TRUE when the subclass returned FALSE (meaning don't forward
2562         the event). 
2563
2564         * libs/gst/base/gstbasetransform.h:
2565         Clarify the docs.
2566
2567 2007-06-15  Wim Taymans  <wim@fluendo.com>
2568
2569         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2570         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2571         (gst_base_src_default_query), (gst_base_src_get_range),
2572         (gst_base_src_start):
2573         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2574         Improve debugging.
2575
2576 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2577
2578         * docs/pwg/advanced-types.xml:
2579           Added more formats to caps table.
2580
2581 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2582
2583         * tools/gst-launch.c: (main):
2584           Remove crufy code. GOption does not need this workaround.
2585
2586 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2587
2588         * libs/gst/controller/gstcontroller.c:
2589         (gst_controlled_property_set_interpolation_mode):
2590           Fix wrong getter for enums in controller.
2591
2592 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2593
2594         * libs/gst/check/gstcheck.c: (gst_check_init):
2595           Intercept criticals and warnings in the Gst-Phonon log domain, so
2596           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2597           well.
2598         
2599 2007-06-14  Edward Hervey  <edward@fluendo.com>
2600
2601         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2602         Since this file doesn't include "gst.h" it will not go through the
2603         macros that disable GST_LOG if debugging was disabled.
2604
2605 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2606
2607         * libs/gst/check/Makefile.am:
2608         * libs/gst/check/gstcheck.h:
2609         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2610         * pkgconfig/gstreamer-check.pc.in:
2611           Ugly 'fix' for the controller unit test on the p5 bot: in
2612           fail_unless_equals_float() check whether the values are 'almost
2613           equal' by allowing a small absolute error, which should be good
2614           enough for our use cases (normal numbers and values close to 0).
2615           Proper fixage left to floating point arithmetic aficionados.
2616
2617 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2618
2619         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2620         (gst_base_sink_render_object), (gst_base_sink_get_position):
2621           Add two breaks thats where missing.
2622
2623 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2624
2625         * docs/libs/gstreamer-libs-sections.txt:
2626         * libs/gst/check/gstcheck.h:
2627           API: add fail_unless_equals_float() and assert_equals_float().
2628           Add documentation for some of the macros.
2629
2630         * tests/check/libs/controller.c: (GST_START_TEST):
2631           Use newly-added asserts.
2632
2633 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2634
2635         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2636           Show the caps change in the log to help spotting the case of not
2637           exactly matching caps.
2638
2639 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2640
2641         * docs/pwg/building-boiler.xml:
2642           Fix typos, spotted by Thijs Vermeir (#447190).
2643
2644 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2645
2646         * docs/plugins/tmpl/.cvsignore:
2647         Ignore file to keep the buildbots happy
2648
2649 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2650
2651         * docs/plugins/Makefile.am:
2652         * docs/plugins/gstreamer-plugins-docs.sgml:
2653         * docs/plugins/gstreamer-plugins-sections.txt:
2654         Pull fdsink into the docs too.
2655
2656 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
2657
2658         * libs/gst/controller/gstinterpolation.c:
2659         Actually use the new functions with min/max checks for the trigger and
2660         none interpolation modes for get() and get_value_array() instead of
2661         just the latter.
2662
2663 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
2664
2665         * libs/gst/controller/gstcontroller.c:
2666         (gst_controlled_property_free):
2667         Unset the minimum and maximum GValues when freeing the corresponding
2668         GstControllerProperty struct.
2669
2670 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
2671
2672         * libs/gst/controller/gstcontroller.c:
2673         (gst_controlled_property_new):
2674         * libs/gst/controller/gstcontrollerprivate.h:
2675         * libs/gst/controller/gstinterpolation.c:
2676         (gst_controlled_property_find_control_point_node),
2677         (interpolate_none_get), (interpolate_none_get_enum_value_array),
2678         (interpolate_none_get_string_value_array),
2679         (interpolate_trigger_get),
2680         (interpolate_trigger_get_enum_value_array),
2681         (interpolate_trigger_get_string_value_array):
2682         Protect against values larger or smaller than the minimum or maximum
2683         allowed value for the property when using values that can be compared.
2684
2685         Optimize trigger interpolator a bit by taking the last requested value
2686         into account instead of always looping through the complete list.
2687
2688         Fix coding style a bit, everywhere else we use "return foo" instead
2689         of "return (foo)".
2690         
2691         * tests/check/libs/controller.c: (GST_START_TEST),
2692         (gst_controller_suite):
2693         Add unit test for the protection against too large or too small
2694         values.
2695
2696 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
2697
2698         * docs/random/slomo/controller.txt:
2699         Add some thoughts about the future of the controller.
2700
2701 2007-06-08  Wim Taymans  <wim@fluendo.com>
2702
2703         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2704         Don't overflow in retimestamping code.
2705
2706 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
2707
2708         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2709         Use gst_util_guint64_to_gdouble for conversions.
2710         * win32/common/libgstreamer.def:
2711         Add new exported functions.
2712
2713 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
2714
2715         * gst/gstutils.c:
2716           Small docs addition.
2717
2718 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2719
2720         * README:
2721           Remove that test line again.
2722
2723 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2724
2725         * README:
2726           Test commit mail sending.
2727
2728 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2729
2730         * configure.ac:
2731           Fix typo and test commit mail sending.
2732
2733 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2734
2735         * tests/examples/controller/audio-example.c:
2736           Improve comment and test commit mail sending.
2737
2738 2007-06-07  Wim Taymans  <wim@fluendo.com>
2739
2740         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2741         (gst_bin_remove_func), (gst_bin_element_set_state),
2742         (bin_handle_async_start), (bin_handle_async_done),
2743         (gst_bin_handle_message_func):
2744         Add helper function to find messages.
2745         Generate the async-done messages together with the state change
2746         messages.
2747         Small cleanups in handling toplevel bins.
2748
2749 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2750
2751         * libs/gst/base/gstdataqueue.c:
2752         * libs/gst/base/gstdataqueue.h:
2753         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2754         (gst_multi_queue_item_new), (gst_multi_queue_chain),
2755         (gst_multi_queue_sink_event):
2756         * tests/check/elements/multiqueue.c: (multiqueue_suite):
2757           Fix multiqueue leaking buffers and events when downstream or the
2758           queue are flushing. Make refcounting assumptions explicit and
2759           document them (shouldn't break existing code that uses it other than
2760           maybe leak miniobjects, but that already happens anyway). Add unit
2761           test for the most common flushing case. Fixes #423700.
2762           
2763 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2764
2765         * libs/gst/controller/gstcontroller.c:
2766         Clarify docs: The get_all, get_value_array(s) functions
2767         don't modify the GObject properties.
2768
2769 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2770
2771         * libs/gst/controller/gstcontroller.c:
2772         (gst_controlled_property_set_interpolation_mode),
2773         (gst_controlled_property_prepend_default),
2774         (gst_controlled_property_new), (gst_controller_set_unlocked),
2775         (gst_controller_set), (gst_controller_set_from_list),
2776         (gst_controller_unset), (gst_controller_unset_all):
2777         * libs/gst/controller/gstcontrollerprivate.h:
2778         * libs/gst/controller/gstinterpolation.c:
2779         Factor out the 'set' logic into gst_controller_set_unlocked for the
2780         gst_controller_set and gst_controller_set_from_list functions.
2781
2782         To make life of the interpolators easier always add a control point
2783         at timestamp zero with the default value.
2784
2785         In the linear interpolator make things more obvious by better variable
2786         naming (slope).
2787
2788         Implement cubic interpolation mode (by using a natural cubic spline)
2789         and map the quadratic interpolation mode to this too (as quadratic
2790         doesn't make much sense, see discussion on the list).
2791
2792         * tests/check/libs/controller.c: (GST_START_TEST),
2793         (gst_controller_suite):
2794         Add unit test for the cubic interpolation mode and check everywhere
2795         if the interpolation mode could be set as expected.
2796
2797 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2798
2799         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2800           Don't use GLib-2.10 functions, we still depend on
2801           GLib-how-old-is-it-again-2.8.
2802
2803 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2804
2805         * docs/gst/gstreamer-sections.txt:
2806         * gst/Makefile.am:
2807         * gst/gst.c:
2808         * gst/gst.h:
2809         * gst/gstparamspecs.c: (_gst_param_fraction_init),
2810         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2811         (_gst_param_fraction_values_cmp),
2812         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2813         * gst/gstparamspecs.h:
2814         * gst/gstvalue.c:
2815         * tests/check/Makefile.am:
2816         * tests/check/gst/.cvsignore:
2817         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2818         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2819         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2820         (GST_START_TEST), (gst_param_spec_suite):
2821           API: add GstParamSpecFraction, so elements can have fraction
2822           properties without lots of painful string parsing (#444648).
2823
2824 2007-06-05  Wim Taymans  <wim@fluendo.com>
2825
2826         * gst/gstobject.c: (gst_object_class_init):
2827         Fix signal signature.
2828
2829         * gst/gstsegment.c:
2830         Add small clarification in the api docs.
2831
2832         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2833         States are protected with object lock.
2834
2835 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2836
2837         * AUTHORS:
2838         I should probably be listed as an author by now.
2839
2840         * docs/random/release:
2841         Update the release doc
2842
2843 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
2844
2845         * gst/gstvalue.c:
2846           Make docs for gst_value_compare() mention return enums that
2847           actually exist.
2848
2849 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2850
2851         * configure.ac:
2852           Back to CVS
2853
2854 === release 0.10.13 ===
2855
2856 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
2857
2858         * configure.ac:
2859           releasing 0.10.13, "With or without you"
2860
2861 2007-05-25  Wim Taymans  <wim@fluendo.com>
2862
2863         * gst/gstbin.c: (bin_handle_async_done):
2864         Make sure that the child bin stops after completing the async state
2865         change so that the parent can continue the state change to PLAYING.
2866         Fixes #441159.
2867
2868 2007-05-25  Wim Taymans  <wim@fluendo.com>
2869
2870         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2871         (unref_data), (gst_collect_pads_remove_pad),
2872         (gst_collect_pads_check_pads):
2873         Use additional refcounting to avoid crashes when dynamically adding and
2874         removing pads. Fixes #420206.
2875
2876 2007-05-24  Wim Taymans  <wim@fluendo.com>
2877
2878         * tools/gst-launch.c: (event_loop):
2879         When buffering goes from a two digit to a single digit number, make sure
2880         to remove the old second digit by writing a blank over it.
2881
2882 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2883
2884         * libs/gst/base/gstdataqueue.c:
2885           Eliminate tabs and trailing comma in enum list; fix some typos.
2886
2887 2007-05-24  Wim Taymans  <wim@fluendo.com>
2888
2889         * tests/check/gst/gstbin.c: (GST_START_TEST):
2890         Allow refcount of 3 and 4 because some state thread might still be busy
2891         with it.
2892
2893 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2894
2895         * plugins/elements/Makefile.am:
2896         * plugins/elements/gstmultiqueue.h:
2897         * plugins/elements/gstqueue.h:
2898           These are not installed headers, no need for padding.
2899
2900 2007-05-24  Wim Taymans  <wim@fluendo.com>
2901
2902         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2903         (gst_bin_continue_func):
2904         Enable latency for next release.
2905         Restore STATE_LOCK around recalc_state that was left out during the
2906         rewrite and could result in racy behaviour when _get_state and
2907         recalc_state are run concurrently. See #440463.
2908
2909 2007-05-23  Wim Taymans  <wim@fluendo.com>
2910
2911         * tests/check/gst/gstsystemclock.c: (store_callback),
2912         (GST_START_TEST):
2913         Improve test_async_order to also work when both timers are already
2914         expired when we get scheduled to check it.
2915
2916 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2917
2918         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2919         (gst_bin_set_property), (gst_bin_get_property),
2920         (gst_bin_remove_func), (gst_bin_handle_message_func):
2921         * gst/gstbin.h:
2922           'private' is a c++ keyword, let's not use that in header files,
2923           otherwise c++ compilers will throw a tantrum.
2924
2925 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2926
2927         * plugins/elements/gstelements.c:
2928         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2929         (gst_file_sink_get_current_offset):
2930         * plugins/indexers/gstindexers.c: (plugin_init):
2931           Use #ifdef for HAVE_XYZ for consistency.
2932
2933         * tests/check/Makefile.am:
2934         * tests/check/elements/.cvsignore:
2935         * tests/check/elements/filesink.c: (setup_filesink),
2936         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2937           Add some unit tests for filesink.
2938
2939 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2940
2941         Patch by: Mark Nauwelaerts <manauw at skynet be>
2942
2943         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2944         (gst_file_sink_query), (gst_file_sink_do_seek),
2945         (gst_file_sink_get_current_offset), (gst_file_sink_render):
2946         * plugins/elements/gstfilesink.h:
2947           Fix position reporting; rename data_written member to current_pos to
2948           reflect its real meaning (fixes #412648).
2949
2950 2007-05-22  Edward Hervey  <edward@fluendo.com>
2951
2952         * docs/gst/gstreamer-sections.txt:
2953         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2954         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2955         (gst_bin_remove_func), (gst_bin_handle_message_func):
2956         * gst/gstbin.h:
2957         Add a property for bins that handle the state change of their childs.
2958         Fixes #435880
2959
2960 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2961
2962         * libs/gst/controller/gstinterpolation.c:
2963         Use an array of the correct type when using _get_value_array with
2964         linear interpolation.
2965
2966 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
2967
2968         * gst/gstelement.c (gst_element_requires_clock,
2969           gst_element_provides_clock, gst_element_request_pad,
2970           gst_element_class_set_details, gst_element_class_set_details_simple,
2971           gst_element_default_send_event, gst_element_abort_state,
2972           gst_element_continue_state, gst_element_set_state,
2973           gst_element_set_state_func, iterator_activate_fold_with_resync):
2974         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2975           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2976           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2977           gst_pad_get_range, gst_pad_pull_range):
2978         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2979           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2980           GstPadActivateModeFunction, GstPadChainFunction,
2981           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2982           GstPadFixateCapsFunction, GstPadTemplate):
2983         * gst/gstpipeline.c (gst_pipeline_change_state,
2984           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2985           gst_pipeline_set_clock, gst_pipeline_auto_clock,
2986           gst_pipeline_get_delay):
2987           Whitespace and docs fixes.
2988
2989 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2990
2991         * libs/gst/controller/gstinterpolation.c:
2992         (interpolate_trigger_get_enum_value_array),
2993         (interpolate_trigger_get_string_value_array):
2994         Add support for retrieving value arrays when using the trigger
2995         interpolation mode. 
2996
2997 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2998
2999         * libs/gst/controller/gstcontroller.c:
3000         (gst_controller_get_value_array):
3001         * libs/gst/controller/gstcontroller.h:
3002         Clarify the docs of gst_controller_get_value_array(): The array where
3003         the values should be written to must be allocated as there seems to be
3004         no way to get the size of a random GType. This doesn't change any
3005         behaviour. Also fix some typos all over the place and remove an unused,
3006         commented function that is not necessary as g_object_set() could be
3007         used instead.
3008         * tests/check/libs/controller.c: (GST_START_TEST),
3009         (gst_controller_suite):
3010         Add unit test for gst_controller_get_value_array().
3011
3012 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
3013
3014         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3015
3016         Disable part of the gst_buffer_try_new_and_alloc test, because
3017         it can happily succeed on 64-bit systems where there's more address
3018         space available.
3019
3020 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3021
3022         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3023         Add unit test for the improved caps checking from bug #421543.
3024
3025 2007-05-21  Wim Taymans  <wim@fluendo.com>
3026
3027         * docs/design/part-synchronisation.txt:
3028         Small addition.
3029
3030         * gst/gstbin.c: (gst_bin_query):
3031         * plugins/elements/gstqueue.c: (apply_segment):
3032         Improve debugging.
3033
3034         * gst/gstmessage.h:
3035         Improve docs.
3036
3037 2007-05-21  Wim Taymans  <wim@fluendo.com>
3038
3039         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3040         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3041         (gst_pad_configure_src):
3042         Added simple version of improved caps checking. It was previously
3043         assumed that a setcaps function would check the validity of the caps but
3044         people prefer us to check caps against the template automatically. 
3045         Fixes #421543.
3046
3047 2007-05-21  Wim Taymans  <wim@fluendo.com>
3048
3049         * libs/gst/base/gstbasetransform.h:
3050         Fix macro for locking/unlocking the transform lock.
3051
3052 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3053
3054         * docs/plugins/tmpl/.cvsignore:
3055           Ignore more.
3056
3057 2007-05-18  Edward Hervey  <edward@fluendo.com>
3058
3059         * plugins/elements/gstqueue.c: (gst_queue_loop):
3060         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3061         for the subtle art of warning a potentially blocking thread that it
3062         should check the source pad return value, and relay the information
3063         upstream.
3064
3065 2007-05-18  Edward Hervey  <edward@fluendo.com>
3066
3067         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3068         Release the queue lock !
3069
3070 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3071
3072         * docs/libs/gstreamer-libs-sections.txt:
3073         Add the two new controller functions to the appropiate places.
3074
3075 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3076
3077         reviewed by: Stefan Kost <ensonic@users.sf.net>
3078
3079         * libs/gst/controller/gstcontroller.c:
3080         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3081         (_gst_controller_get_property), (_gst_controller_set_property),
3082         (_gst_controller_init), (_gst_controller_class_init):
3083         * libs/gst/controller/gstcontroller.h:
3084         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3085         (gst_object_get_control_rate), (gst_object_set_control_rate):
3086         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3087         Add API that provides sync suggestion timestamps for elements that
3088         call gst_object_sync_values() from which those elements can subdivide
3089         their processing loop to get the best results for the controlled
3090         properties. For now it just suggests last_sync + control_rate as
3091         new timestamp but this will be improved in the future.
3092
3093         While doing that change the control-rate property to a GstClockTime
3094         from guint and change it's meaning from samples to nanoseconds as
3095         the GstController doesn't know anything about sampling rate. Strictly
3096         speaking this breaks ABI but as the control-rate property didn't do
3097         anything in the past and as such couldn't be used this should be no
3098         problem.        
3099
3100 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3101
3102         reviewed by: Stefan Kost <ensonic@users.sf.net>
3103
3104         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3105         (gst_controller_unset_all):
3106         * libs/gst/controller/gstcontrollerprivate.h:
3107         * libs/gst/controller/gstinterpolation.c:
3108         (gst_controlled_property_find_control_point_node):
3109         Save last synced value from the list to continue searching from there
3110         in future syncs. This speeds everything up a bit.
3111         
3112 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3113
3114         reviewed by: Stefan Kost <ensonic@users.sf.net>
3115
3116         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3117         (gst_control_point_find), (gst_controlled_property_new),
3118         (gst_control_point_free), (gst_controlled_property_free),
3119         (gst_controller_set), (gst_controller_set_from_list),
3120         (gst_controller_unset), (gst_controller_unset_all),
3121         (gst_controller_sync_values):
3122         * libs/gst/controller/gstcontroller.h:
3123         * libs/gst/controller/gstcontrollerprivate.h:
3124         * libs/gst/controller/gstinterpolation.c:
3125         (gst_controlled_property_find_control_point_node),
3126         (interpolate_none_get), (interpolate_trigger_get):
3127         Add a new private GstControlPoint struct which "inherits" from
3128         GstTimedValue to allow different interpolators to store internal
3129         values next to each control point. From the outside everything is
3130         still a GstControlPoint so we don't loose binary compatibility.
3131         Also fixup all the GValue handling to not leak GValues or list nodes.
3132         * tests/check/libs/controller.c: (GST_START_TEST):
3133         Free the list nodes and GValues in the controller_misc test.
3134
3135 2007-05-17  Edward Hervey  <edward@fluendo.com>
3136
3137         * gst/gstsegment.c:
3138         Small doc fix.
3139
3140 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3141
3142         * gst/gstplugin.c: (gst_plugin_load_file):
3143           If we fail to load a plugin because of unresolved symbols or missing
3144           libraries and spew a warning to stderr, we may just as well mention
3145           which plugin it was that failed to load.
3146
3147 2007-05-13  David Schleef  <ds@schleef.org>
3148
3149         * docs/Makefile.am: the gtk-doc makefile snippet correctly
3150           handles the case when ENABLE_GTK_DOC is false, and installs
3151           the prebuilt documentation.  So gtk-doc subdirs are 
3152           unconditionally enabled.  Fixes: #349099.
3153
3154 2007-05-13  David Schleef  <ds@schleef.org>
3155
3156         * gst/gstutils.h: Reword some documentation.
3157
3158 2007-05-12  David Schleef  <ds@schleef.org>
3159
3160         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3161           do anything with the passed "module" parameter, so remove it.
3162           Allows removal of additional vestigal code.
3163
3164 2007-05-12  David Schleef  <ds@schleef.org>
3165
3166         * gst/gstplugin.c:
3167           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3168           Switch to using g_stat() because it's more portable.
3169
3170 2007-05-12  David Schleef  <ds@schleef.org>
3171
3172         * gst/gst.c:
3173           Add GST_DISABLE_OPTION_PARSING, in order to disable option
3174           parsing for embedded systems.
3175         * gst/gstelementfactory.c:
3176           Allow gst_element_register() to be called with plugin==NULL.
3177           Did nobody notice that static elements were broken?
3178
3179 2007-05-12  Wim Taymans  <wim@fluendo.com>
3180
3181         * tools/gst-launch.c: (event_loop):
3182         Give more interesting info when buffering starts and stops.
3183         Fix case where buffering starts but we fail to update the buffering flag
3184         because the target state is not PLAYING.
3185
3186 2007-05-12  Wim Taymans  <wim@fluendo.com>
3187
3188         * plugins/elements/gstqueue.c: (gst_queue_init),
3189         (gst_queue_finalize), (update_time_level), (apply_segment),
3190         (apply_buffer), (gst_queue_locked_flush),
3191         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3192         (gst_queue_handle_sink_event), (gst_queue_chain),
3193         (gst_queue_push_one), (gst_queue_loop):
3194         * plugins/elements/gstqueue.h:
3195         Refactor an cleanup queue a bit.
3196         Do better time level calculations that also work when the srcpad is not
3197         yet running.
3198         Remove some unneeded debug lines.
3199
3200         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3201         Added testcase for time level measurement.
3202         Try to make some stuff more racefree.
3203
3204 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3205
3206         * gst/gsturi.c: (gst_element_make_from_uri):
3207           Don't leak plugin feature.
3208
3209         * tests/check/Makefile.am:
3210         * tests/check/gst/.cvsignore:
3211         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3212           Add brain-dead unit test.
3213
3214 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3215
3216         Patch by: Jeroen Wouters <woutersj at gmail com>
3217
3218         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3219           Treat protocol strings in a case-insensitive way (#437563).
3220
3221 2007-05-11  Michael Smith <msmith@fluendo.com>
3222
3223         * gst/gstplugin.c: (gst_plugin_load_file):
3224         * gst/gstregistry.c: (gst_registry_scan_path_level):
3225           Don't print a g_warning for any failure to load a shared object.
3226           Instead, push this down into gstplugin.c, and warn _only_ if we
3227           failed to open the module (i.e. failure to link).
3228           Avoids warnings on normal, working, non-plugin .so files.
3229
3230 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
3231
3232         * gst/gstplugin.c (gst_plugin_load_file):
3233         * gst/gstregistry.c (GST_CAT_DEFAULT,
3234           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3235           Print a g_warning if there was an error when loading a plugins during
3236           registry scan. The shuld help beginners starting with gst-plugin
3237           template.
3238
3239 2007-05-10  Wim Taymans  <wim@fluendo.com>
3240
3241         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3242         (update_time_level), (gst_queue_locked_flush),
3243         (gst_queue_handle_sink_event), (gst_queue_chain),
3244         (gst_queue_push_one), (gst_queue_loop):
3245         * plugins/elements/gstqueue.h:
3246         Be smarter when calculating the current amount of data in the queue by
3247         measuring the difference between start and end timestamps (in running
3248         time) inside the queue. Fixes #432876.
3249         API: GstQueue::pushing to notify elements that we are pushing data again
3250         since the running signal is rather broken for this purpose.
3251
3252 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
3253
3254         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3255           gst_queue_base_init, gst_queue_init):
3256           use GST_BOILERPLATE
3257
3258 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
3259
3260         * win32/common/libgstreamer.def:
3261         Add new exported functions.
3262         * win32/vs6/grammar.dsp:
3263         Use grammar pre-generated files.
3264
3265 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3266
3267         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
3268
3269         * gst/Makefile.am:
3270         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3271         * gst/gstparse.h:
3272         * gst/gstutils.c: (gst_parse_bin_from_description):
3273         * gst/gstutils.h:
3274           Maintain API and ABI when --disable-parse is used. Now that
3275           we have an appropriate error code, we can just return NULL and the
3276           appropriate error when gst_parse_launch() is used despite it having
3277           been disabled (#342564).
3278
3279         * tests/check/Makefile.am:
3280         * tests/check/pipelines/.cvsignore:
3281         * tests/check/pipelines/parse-disabled.c:
3282           Make sure these functions exist and return NULL plus a GError when
3283           --disable-parse is used.
3284
3285 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3286
3287         * tests/benchmarks/complexity.c: (main):
3288         * tests/benchmarks/mass-elements.c: (main):
3289           Set a good example and don't leak messages.
3290
3291 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
3292
3293         * docs/gst/Makefile.am:
3294         * docs/libs/Makefile.am:
3295           Correct fixxrefs options.
3296
3297         * docs/plugins/Makefile.am:
3298         * docs/plugins/gstreamer-plugins-docs.sgml:
3299         * docs/plugins/gstreamer-plugins-sections.txt:
3300         * plugins/elements/Makefile.am:
3301         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3302         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3303           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3304           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3305           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3306           _GstCapsFilterClass, trans_class):
3307         * plugins/elements/gstelements.c (name, rank, type, _elements):
3308         * plugins/elements/gstidentity.c
3309           (gst_identity_check_imperfect_timestamp,
3310           gst_identity_check_imperfect_offset):
3311           Document capsfilter and add doc-blurb to identity.
3312
3313 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3314
3315         * libs/gst/controller/gstcontroller.c:
3316         (gst_controlled_property_set_interpolation_mode):
3317         * libs/gst/controller/gstinterpolation.c:
3318           Don't crash if someone tries to set an interpolation mode that
3319           is invalid or that isn't supported yet. Fixes #422295.
3320
3321         * tests/check/libs/controller.c: (GST_START_TEST),
3322         (gst_controller_suite):
3323           Add a test case for the above.
3324
3325 2007-05-03  Edward Hervey  <edward@fluendo.com>
3326
3327         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3328         Properly set the last_stop position on GstSegment. This will only happen
3329         if there is a buffer to push out.
3330
3331 2007-05-03  Wim Taymans  <wim@fluendo.com>
3332
3333         * libs/gst/base/gstbasetransform.c:
3334         (gst_base_transform_buffer_alloc):
3335         always_in_place does not mean that the sink and source caps are the
3336         same! Make sure we don't blindly proxy the buffer_alloc in this case.
3337
3338 2007-05-03  Wim Taymans  <wim@fluendo.com>
3339
3340         * docs/libs/gstreamer-libs-sections.txt:
3341         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3342         (gst_base_src_default_query), (gst_base_src_get_range):
3343         * libs/gst/base/gstbasesrc.h:
3344         API: gst_base_src_query_latency(). Added method so that subclasses can
3345         easily get the latency values of the base source class.
3346
3347 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
3348
3349         * tools/gst-inspect.c (print_implementation_info):
3350         Remove 0.8 cruft.
3351
3352 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
3353
3354         * tools/Makefile.am:
3355         * tools/gst-launch.1.in:
3356           Don't create a customised man page based on the host architecture,
3357           describe the default registry path generically. That way the man
3358           page is the same for all architectures and packagers have one
3359           multilib issue less to deal with. Fixes #434926.
3360
3361 2007-05-02  Wim Taymans  <wim@fluendo.com>
3362
3363         * gst/gstpad.c:
3364         Fix documentation as spotted by rg on IRC. 
3365
3366 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
3367
3368         * gst/gstutils.c:
3369           Improve docs for gst_element_{link,unlink}.
3370
3371 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
3372
3373         * docs/design/part-events.txt:
3374         * docs/design/part-overview.txt:
3375         * gst/gstevent.c:
3376         * gst/gsturi.c:
3377         * gst/gsturi.h:
3378         * libs/gst/base/gstbasesink.c:
3379           Typo fixes; minor docs addition.
3380
3381 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3382
3383         * docs/gst/gstreamer-sections.txt:
3384         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3385         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3386         * gst/gsturi.h:
3387         API: Add gst_uri_protocol_is_supported(), which checks if a sink
3388         or src that supports a given URI protocol exists.
3389
3390 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3391
3392         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3393         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3394         Set the location to NULL if "file://" is set as URI. Otherwise
3395         some random previous URI would still be set if "file://" is
3396         set on an already used filesink/filesrc.
3397
3398 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3399
3400         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3401         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3402         Special case the "file://" URI as as this is used by some
3403         applications to test with gst_element_make_from_uri if there's
3404         an element that supports the URI protocol.
3405         Also move the g_path_is_absolute() check for the location part
3406         of the URI to also check this for "file://localhost/bla" URIs.
3407
3408 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
3409
3410         * docs/gst/gstreamer-sections.txt:
3411         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3412         * gst/gstbuffer.h:
3413         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3414         (gst_buffer_suite):
3415           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3416
3417 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
3418
3419         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3420         (gst_registry_binary_load_pad_template),
3421         (gst_registry_binary_load_plugin),
3422         (gst_registry_binary_read_cache):
3423         * gst/gstregistrybinary.h:
3424           Implement no-mmap alternative for registry reading. Do code cleanups.
3425           Add more comments about avoiding strdups for all text data. Comments
3426           welcome.
3427
3428 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3429
3430         * gst/gstregistrybinary.h (GstBinaryPluginElement,
3431           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3432           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3433           Comment structs and reformat to fix the build (that stuff should go
3434           into a priv. header).
3435
3436 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3437
3438         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3439         (gst_registry_binary_load_feature):
3440         * gst/gstregistrybinary.h:
3441           Refactor so that we can implement multiple features. Add support for
3442           TypeFindFactory features.
3443
3444 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
3445
3446         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3447
3448         * configure.ac:
3449           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3450
3451 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
3452
3453         * gst/gstbin.c: (gst_bin_element_set_state),
3454         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3455         (bin_handle_async_done), (gst_bin_handle_message_func):
3456           Fix build with --gst-disable-gst-debug
3457
3458 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3459
3460         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3461           Make sure streaming has finished before calling the ::stop() vfunc,
3462           since that vfunc might clear state which is being used in the
3463           streaming thread. This fixes a race that caused crashes in
3464           audioresample when shutting down a pipeline (#420106).
3465
3466 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3467
3468         * docs/gst/gstreamer-sections.txt:
3469           That was one byte missing.
3470
3471 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3472
3473         * configure.ac:
3474         * docs/gst/gstreamer-sections.txt:
3475         * gst/Makefile.am:
3476         * gst/gstconfig.h.in:
3477         * gst/gstobject.c: (gst_object_class_init),
3478         (gst_signal_object_class_init):
3479         * gst/gstobject.h:
3480           2nd attempt to have a xml-less build as a joined effort of #413123
3481           and #421480.
3482
3483 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3484
3485         * docs/design/draft-tagreading.txt:
3486           Added open issues/thoughts to draft.
3487
3488 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3489
3490         * gst/parse/grammar.tab.pre.c:
3491         * gst/parse/grammar.tab.pre.h:
3492         * gst/parse/lex._gst_parse_yy.pre.c:
3493         Update the prebuild parser sources.
3494
3495 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3496
3497         * gst/parse/Makefile.am:
3498         And now fix the building of the flex sources. Now everything should
3499         work as expected.
3500
3501 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3502
3503         * gst/parse/Makefile.am:
3504         Now hopefully fix the build failures by setting proper rule
3505         dependencies and moving instead of copying.
3506
3507 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3508
3509         * tests/benchmarks/complexity.gnuplot:
3510         * tests/benchmarks/complexity.scm:
3511         * tests/benchmarks/mass-elements.gnuplot:
3512         * tests/benchmarks/mass-elements.scm:
3513           Total licensification.
3514
3515 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3516
3517         * gst/parse/Makefile.am:
3518           Fix the build by correcting the rule that gave wrong files to flex.
3519
3520 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3521
3522         * tests/benchmarks/complexity.c:
3523         * tests/benchmarks/mass-elements.c:
3524           Change licence to LGPL as granted by Benjamin and Andy.
3525
3526 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3527
3528         * gst/parse/Makefile.am:
3529         Add correct grammar.tab.h dependency if compiling without new enough
3530         flex. Fixes #431150.
3531
3532 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3533
3534         * gst/parse/Makefile.am:
3535         Fix typo and use outdated sources if the flex/bison sources are newer
3536         than the pregenerated ones but flex is too old. Print a warning in
3537         that case. This should fix the build on the build bot.
3538
3539 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3540
3541         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3542         * gst/parse/Makefile.am:
3543         * gst/parse/grammar.y:
3544         * gst/parse/parse.l:
3545         Make the parser reentrant and recursively callable. This requires flex
3546         >= 2.5.31, for older versions pregenerated sources are used as we
3547         can't bump the build dependency. Finally fixes #349180.
3548
3549         * gst/gstparse.c: (gst_parse_launch):
3550         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3551         now anyway.
3552
3553         * docs/gst/Makefile.am:
3554         * docs/gst/Makefile.am:
3555         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3556         (__gst_parse_strfree), (__gst_parse_link_new),
3557         (__gst_parse_link_free), (__gst_parse_chain_new),
3558         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3559         (gst_parse_element_set), (gst_parse_free_link),
3560         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3561         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3562         (_gst_parse_launch):
3563         * gst/parse/grammar.tab.pre.h:
3564         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3565         (yy_get_previous_state), (yy_try_NUL_trans), (input),
3566         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3567         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3568         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3569         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3570         (_gst_parse_yypop_buffer_state),
3571         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3572         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3573         (yy_fatal_error), (_gst_parse_yyget_extra),
3574         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3575         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3576         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3577         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3578         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3579         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3580         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3581         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3582         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3583         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3584         (_gst_parse_yyfree):
3585         If the installed flex version is too old use pre-generated parser
3586         sources. These pre-generated parser sources are always updated when
3587         the actual flex/bison sources change but require everybody who wants
3588         to change something in the parser to have flex >= 2.5.31 installed.
3589
3590 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
3591
3592         * common/m4/gst-gettext.m4:
3593         * gst/gst-i18n-lib.h:
3594           Make --disable-nls to work
3595
3596 2007-04-17  Wim Taymans  <wim@fluendo.com>
3597
3598         * gst/gstconfig.h.in:
3599         Revert previous change that broke the build.
3600
3601 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
3602
3603         * configure.ac:
3604         * gst/Makefile.am:
3605         * gst/gstconfig.h.in:
3606           Drop libxml2 dependency when building with 
3607           --enable-binary-registry --disable-loadsave
3608
3609 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
3610
3611         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3612         (gst_registry_binary_read_cache):
3613         * gst/gstregistrybinary.h:
3614           Remove unnecessary <sys/mman.h> include which broke the win32 build
3615           with MingW; move includes from header file to .c file, even if the
3616           header file isn't installed; use g_strerror() where UTF-8 strings
3617           are expected, such as in GST_DEBUG messages.
3618
3619 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3620
3621         * docs/libs/gstreamer-libs-sections.txt:
3622         Remove bogus addition for API I didn't end up keeping.
3623
3624         * libs/gst/base/gstbasesrc.h:
3625         Mention Since: 0.10.13 in the documentation.
3626
3627         Add the API keyword to the previous ChangeLog entry.
3628
3629 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3630
3631         * docs/libs/gstreamer-libs-sections.txt:
3632         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3633         (gst_base_src_default_prepare_seek_segment),
3634         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3635         * libs/gst/base/gstbasesrc.h:
3636         Allow basesrc derived classes to execute seeks in other formats
3637         by providing a prepare_seek_segment vmethod. Sub-classes can choose
3638         to prepare the GstSegment in any format that their perform_seek method
3639         will be able to understand. The default implementation provides the
3640         old behaviour of attempting to convert the seek offsets to the 
3641         configured native format.
3642
3643         API: basesrc::prepare_seek_segment vmethod.
3644
3645 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3646
3647         * gst/gstelement.c: (gst_element_get_state_func):
3648         Don't output the same debug statement twice.
3649
3650         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3651         (gst_adapter_peek), (gst_adapter_take_buffer):
3652         Optimise the case where we have buffers at the head of the queue that
3653         can be joined quickly (because they're contiguous sub-buffers) by
3654         merging them together rather than copying data out into new memory.
3655
3656         * gst/parse/grammar.y:
3657         * tests/check/pipelines/parse-launch.c:
3658         Fix a leak in an error path for parse_launch, and add a check 
3659         for it to the testsuite.
3660
3661 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3662
3663         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3664           Don't deadlock when releasing a pad - gst_pad_set_active may try
3665           and take the multiqueue lock too.
3666
3667 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3668
3669         * gst/gsterror.c: (_gst_core_errors_init):
3670         * gst/gsterror.h:
3671           API: add GST_CORE_ERROR_DISABLED (#392804).
3672
3673 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3674
3675         * docs/faq/gst-uninstalled:
3676           don't get empty paths on the PATH variables
3677         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3678           Don't format for the uncommon terminal width of 84 characters.
3679
3680 2007-04-06  Wim Taymans  <wim@fluendo.com>
3681
3682         * gst/gstpipeline.c: (reset_stream_time),
3683         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3684         Only try to select a different pipeline clock when we went back to
3685         PAUSED and not when we merely got flushed.
3686
3687 2007-04-05  Michael Smith  <msmith@fluendo.com>
3688
3689         * tools/gst-launch.1.in:
3690           fractions are better supported in gstreamer than ractions, so
3691           suggest using those.
3692
3693 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3694
3695         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3696
3697         * po/LINGUAS:
3698         * po/da.po:
3699           Added Danish translation.
3700
3701 2007-04-05  Wim Taymans  <wim@fluendo.com>
3702
3703         * libs/gst/base/gstbasesink.c:
3704         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3705         Fix leak caused when refusing newsegment after EOS.
3706
3707         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3708         (gst_fake_sink_init), (gst_fake_sink_set_property),
3709         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3710         (gst_fake_sink_render), (gst_fake_sink_change_state):
3711         * plugins/elements/gstfakesink.h:
3712         Add num-buffers property to make the element generate EOS after a
3713         configurable amount of buffers.
3714         API: fakesink::num-buffers property.
3715
3716         * tests/check/elements/fakesink.c: (GST_START_TEST),
3717         (fakesink_suite):
3718         Fix GstBus leak in test.
3719         Test for fakesink num-buffers.
3720
3721 2007-04-05  Wim Taymans  <wim@fluendo.com>
3722
3723         * libs/gst/base/gstbasesink.c:
3724         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3725         (gst_base_sink_change_state):
3726         Don't accept anything after an EOS, return UNEXPECTED instead.
3727
3728         * tests/check/elements/fakesink.c: (GST_START_TEST),
3729         (fakesink_suite):
3730         Unit test for new EOS behaviour.
3731
3732 2007-04-05  Wim Taymans  <wim@fluendo.com>
3733
3734         * gst/gstelement.c: (gst_element_get_request_pad):
3735         Make padtemplates also work when they don't contain %s or %d.
3736
3737 2007-04-05  Wim Taymans  <wim@fluendo.com>
3738
3739         * docs/gst/gstreamer-sections.txt:
3740         * gst/gstclock.c: (gst_clock_adjust_unlocked),
3741         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3742         * gst/gstclock.h:
3743         Improve _adjust_unlocked() so that it overflows less.
3744         Add gst_clock_unadjust_unlocked to convert from external time to
3745         internal time based on calibration.
3746         Add some more debug.
3747         API: GstClock::gst_clock_unadjust_unlocked()
3748
3749 2007-04-03  Wim Taymans  <wim@fluendo.com>
3750
3751         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3752
3753         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3754         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3755         when releasing sink pad. Fixes #425400.
3756
3757 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
3758
3759         * docs/random/ensonic/dynlink.txt:
3760           More work on proposal for new core api.
3761
3762         * docs/libs/gstreamer-libs-sections.txt:
3763         * libs/gst/base/gstbasetransform.h:
3764           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3765           
3766         * libs/gst/controller/gstcontroller.c:
3767         (on_object_controlled_property_changed),
3768         (gst_controller_sync_values),
3769         (gst_controller_set_interpolation_mode):
3770         * libs/gst/controller/gstcontroller.h:
3771           Less verbose logging add docs for unimplemented parts and correctly
3772           return when using unavailable parts.
3773
3774 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3775
3776         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3777         Move all the debug to the CLOCK category, and associate it with
3778         the clock object.
3779
3780 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3781
3782         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3783         Make take_buffer a bit quicker by removing redundant checks
3784         caused by calling gst_adapter_take.
3785
3786 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3787
3788         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3789           Don't leak GCond.
3790
3791         * tests/check/Makefile.am:
3792         * tests/check/elements/.cvsignore:
3793         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3794         (GST_START_TEST), (multiqueue_suite):
3795           Add some dead simple unit tests for the 'multiqueue' element
3796           (some bits don't work yet and are disabled for now).
3797
3798 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3799
3800         * gst/gstelement.c: (gst_element_get_request_pad),
3801         (gst_element_class_get_request_pad_template):
3802           Make gst_element_get_request_pad() create request pads only for
3803           request pad templates and not for, say, sometimes pad templates.
3804
3805 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
3806
3807         * docs/design/draft-klass.txt:
3808           Add example that needs more thinking.
3809         
3810         * docs/design/draft-missing-plugins.txt:
3811           More thoughts about wrapper plugins.
3812         
3813         * docs/random/ensonic/embedded.txt:
3814         * docs/random/ensonic/profiling.txt:
3815           More design work.
3816
3817 2007-03-25  Wim Taymans  <wim@fluendo.com>
3818
3819         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3820         (gst_base_src_loop):
3821         Only push the segment events in the PLAYING state for live sources.
3822
3823 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
3824
3825         * gst/gstpipeline.c: (gst_pipeline_change_state):
3826         Modify the clock distribution path in PAUSED->PLAYING so that we 
3827         never attempt to choose a new clock unless we're actually leaving
3828         the PAUSED state for the first time. This prevents choosing a
3829         different clock when the state_change gets called for a 2nd time due
3830         to some element doing an async state change.
3831
3832 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3833
3834         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3835         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3836         (gst_pad_chain_unchecked), (gst_pad_push):
3837         Revert last commit. This needs some more thoughts.
3838
3839 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3840
3841         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3842         (gst_pad_chain_unchecked), (gst_pad_push):
3843         Check in set_caps if the caps are compatible with the pad and remove
3844         two functions that are redundant now. Fixes #421543.
3845
3846 2007-03-22  Wim Taymans  <wim@fluendo.com>
3847
3848         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3849         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3850         Unref some more to make valgrind happy.
3851
3852 2007-03-22  Wim Taymans  <wim@fluendo.com>
3853
3854         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3855         (gst_system_clock_id_wait_jitter),
3856         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3857         Fix anoying regression that survived a few releases. When adding an
3858         async entry while blocking on a sync entry, the sync entry will unblock
3859         but still be busy, so it should continue to wait instead of returning
3860         _BUSY to the app.
3861         Add some comments here and there.
3862
3863         * tests/check/gst/gstsystemclock.c: (mixed_thread),
3864         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3865         Add testcase for this.
3866
3867 2007-03-22  Wim Taymans  <wim@fluendo.com>
3868
3869         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3870         Handle errors from the clock sync better, only UNSCHEDULED indicates a
3871         WRONG_STATE and can silently pause the task. All other cases should
3872         error out.
3873
3874 2007-03-22  Wim Taymans  <wim@fluendo.com>
3875
3876         Patch by: Ville Syrjala <syrjala at sci dot fi>
3877
3878         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3879         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
3880         Improve debugging.
3881
3882 2007-03-21  Michael Smith  <msmith@fluendo.com>
3883
3884         * docs/pwg/advanced-types.xml:
3885           Fix some errors in the typefinding docs pointed out on irc.
3886
3887 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
3888
3889         * libs/gst/base/gstbasesrc.c:
3890         Clarify FIXME comment in the face of having added unlock_stop()
3891
3892 2007-03-21  Wim Taymans  <wim@fluendo.com>
3893
3894         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3895         Prepare for release where we warn against possible app breakage in the
3896         case of live pipelines along with an env var to enable/disable live
3897         preroll mode (GST_COMPAT=[no-]live-preroll).
3898
3899 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3900
3901         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3902         So we should use correct constants for checking for None offset.
3903
3904 2007-03-20  Wim Taymans  <wim@fluendo.com>
3905
3906         * docs/design/part-block.txt:
3907         Mention the fact that the newly switched element should be set to at
3908         least PAUSED.
3909
3910 2007-03-20  Wim Taymans  <wim@fluendo.com>
3911
3912         * gst/gst.c:
3913         Fix compilation with registry disabled as spotted by Saur.
3914
3915 2007-03-20  Wim Taymans  <wim@fluendo.com>
3916
3917         Patch by: Olivier Crete <tester at tester dot ca>
3918
3919         * gst/gstelement.c: (gst_element_sync_state_with_parent):
3920         Look at the pending state too when syncing the element state to the
3921         parent. Fixes #420133.
3922
3923 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
3924
3925         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3926         (gst_base_sink_change_state):
3927         * libs/gst/base/gstbasesink.h:
3928         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3929         (gst_base_src_default_event), (gst_base_src_unlock_stop),
3930         (gst_base_src_deactivate):
3931         * libs/gst/base/gstbasesrc.h:
3932         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3933         for sub-classes to correctly clear any state they set trying to
3934         unlock, such as clearing out unlock commands from a command fd.
3935         API: basesrc::unlock_stop
3936         API: basesink::unlock_stop
3937
3938         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3939         (gst_fd_sink_render), (gst_fd_sink_unlock),
3940         (gst_fd_sink_unlock_stop):
3941         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3942         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3943         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3944
3945         Implement unlock_stop in fdsrc and fdsink.
3946         Implement seeking in fdsrc when a seekable fd is passed, as in
3947         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3948
3949 2007-03-19  Wim Taymans  <wim@fluendo.com>
3950
3951         Patch by: Evan Nemerson <evan at coeus dash group dot com>
3952
3953         * gst/gstelement.c: (gst_element_class_init):
3954         Fix pad-added and pad-removed signal signatures so that the pad type is
3955         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3956
3957 2007-03-19  Wim Taymans  <wim@fluendo.com>
3958
3959         * docs/gst/gstreamer-sections.txt:
3960         Add new element field and method.
3961
3962         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3963         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3964         (gst_bin_recalc_state), (gst_bin_get_state_func),
3965         (gst_bin_element_set_state), (gst_bin_change_state_func),
3966         (gst_bin_continue_func), (bin_bus_handler),
3967         (bin_push_state_continue), (bin_handle_async_start),
3968         (bin_handle_async_done), (gst_bin_handle_message_func):
3969         Make async state changes a bit smarter by using new ASYNC_START and
3970         ASYNC_DONE messages. This reduces the number of times we run the state
3971         recalculation thread.
3972         Don't change state of element with a pending ASYNC_START message.
3973         Deprecate STATE_DIRTY messages.
3974         
3975         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3976         (gst_element_get_state_func), (gst_element_continue_state),
3977         (gst_element_lost_state), (gst_element_set_state_func),
3978         (gst_element_change_state):
3979         * gst/gstelement.h:
3980         Keep the state that was last set by the app in a new element field.
3981         Don't allow state changes when handling an element event.
3982         Post ASYNC_START and ASYNC_DONE messages.
3983         Change lost_state so that we go to PAUSED and wait for the parent to set
3984         us to PLAYING again (so latency calculation can be performed)
3985         Export gst_element_change_state() method so that subclasses can use it.
3986         API: gst_element_change_state()
3987         API: GST_STATE_TARGET
3988
3989         * gst/gstpipeline.c: (gst_pipeline_class_init),
3990         (reset_stream_time), (gst_pipeline_change_state),
3991         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3992         Using the new ASYNC_START message we can reset the base_time when
3993         needed. This can then be used to implement base_time redistribution in
3994         flushing seeks so that we can remove the explicit seek handling.
3995         Perform latency query and configuration when going to PLAYING.
3996
3997         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3998         (gst_base_sink_query), (gst_base_sink_change_state):
3999         Post new ASYNC_START/ASYNC_DONE messages.
4000
4001         * tests/check/generic/sinks.c: (GST_START_TEST):
4002         Fix test because the bin will not set the async element to PLAYING right
4003         away.
4004
4005         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4006         Make the message check a little stronger.
4007         Handle ASYNC messages.
4008
4009         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4010         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4011         Expect ASYNC_DONE messages.
4012
4013 2007-03-19  Wim Taymans  <wim@fluendo.com>
4014
4015         * docs/gst/gstreamer-sections.txt:
4016         * gst/gstmessage.c: (gst_message_new_async_start),
4017         (gst_message_new_async_done), (gst_message_parse_info),
4018         (gst_message_parse_async_start):
4019         * gst/gstmessage.h:
4020         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4021         support.
4022
4023 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4024
4025         * tools/gst-inspect.c:
4026         (print_plugin_automatic_install_info_codecs):
4027           Now that we don't check for the 'Codec' keyword any longer in the
4028           klass, we shouldn't spew a warning if the klass isn't a decoder or
4029           encoder (since it might be a Source/Network, for example).
4030
4031 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4032
4033         * tools/gst-inspect.c:
4034         (print_plugin_automatic_install_info_codecs):
4035           Don't require decoder/demuxer/depayloader elements or
4036           encoder/muxer/paylader elements to have 'Codec' as part of their
4037           factory class string when introspecting a plugin's capabilities.
4038           draft-klass.txt mentions that it might be removed in future, and
4039           flump3dec doesn't have it as part of its class string, so chances
4040           are others might also not have it.
4041
4042 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4043
4044         * po/af.po:
4045         * po/az.po:
4046         * po/bg.po:
4047         * po/ca.po:
4048         * po/cs.po:
4049         * po/de.po:
4050         * po/en_GB.po:
4051         * po/fr.po:
4052         * po/it.po:
4053         * po/nb.po:
4054         * po/nl.po:
4055         * po/ru.po:
4056         * po/sq.po:
4057         * po/sr.po:
4058         * po/sv.po:
4059         * po/tr.po:
4060         * po/uk.po:
4061         * po/vi.po:
4062         * po/zh_CN.po:
4063         * po/zh_TW.po:
4064           Update translations from translation project
4065
4066 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
4067
4068         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4069         (gst_child_proxy_set_property):
4070           Invert precondition check to be alike the ones in the mimiced gobject
4071           api.
4072
4073 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
4074
4075         * docs/design/draft-tagreading.txt:
4076         * docs/random/ensonic/audiobaseclasses.txt:
4077           Do some Architect work.
4078
4079         * gst/gstobject.c: (gst_object_set_name):
4080           Add a WARNING.
4081
4082         * gst/gstpad.c:
4083           Add docs that point from gst_pad_get_range to gst_pad_pull_range
4084
4085 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
4086
4087         * gst/gstsystemclock.c: (gst_system_clock_init),
4088         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4089         Defer starting the async system clock thread until the first async
4090         wait is scheduled. Fixes #414986.
4091
4092 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4093
4094         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4095         (gst_single_queue_free):
4096           Fix small leak (free GstSingleQueue structure too, not only contents).
4097
4098 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
4099
4100         * gst/gstbin.c:(gst_bin_add):
4101         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4102         * win32/common/libgstbase.def:
4103         * win32/common/libgstreamer.def:
4104         Add new exported functions.
4105
4106 2007-03-09  Wim Taymans  <wim@fluendo.com>
4107
4108         * docs/plugins/gstreamer-plugins-sections.txt:
4109         Fix GstTee docs.
4110
4111 2007-03-09  Wim Taymans  <wim@fluendo.com>
4112
4113         * docs/gst/gstreamer-sections.txt:
4114         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4115         * gst/gstbuffer.h:
4116         Add metadata copy functions. Fixes #393099.
4117         API: gst_buffer_copy_metadata()
4118
4119         * gst/gstutils.c: (gst_buffer_stamp):
4120         * libs/gst/base/gstbasetransform.c:
4121         (gst_base_transform_prepare_output_buffer):
4122         Use new metadata copy functions.
4123
4124 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4125
4126         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4127         (gst_identity_init), (gst_identity_check_perfect),
4128         (gst_identity_check_imperfect_timestamp),
4129         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4130         (gst_identity_set_property), (gst_identity_get_property):
4131         * plugins/elements/gstidentity.h:
4132         Separate out check-imperfect-timestamp and check-imperfect-offset.
4133         Put back check-perfect as it was to keep compatibility.
4134
4135 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
4136
4137         * gst/gstelement.c: (gst_element_dispose):
4138         There's no need to warn if VOID_PENDING is not NONE here, as
4139         long as the state is NULL it's ok, and that's checked immediately
4140         above.
4141
4142 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4143
4144         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4145         Fix check for perfect stream to ignore buffers with -1 
4146         offsets/offset ends when checking data contiguity.
4147
4148 2007-03-08  Wim Taymans  <wim@fluendo.com>
4149
4150         * tools/gst-launch.c: (event_loop):
4151         Print INFO messages.
4152
4153 2007-03-08  Wim Taymans  <wim@fluendo.com>
4154
4155         * libs/gst/base/gstbasetransform.c:
4156         (gst_base_transform_sink_eventfunc),
4157         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4158         (gst_base_transform_activate):
4159         * libs/gst/base/gstbasetransform.h:
4160         Add support for dropping buffers with custom GstFlowReturn.
4161         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4162         buffers or dropped buffers.
4163
4164         * docs/libs/gstreamer-libs-sections.txt:
4165         docs for new custom return code.
4166
4167         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4168         Use drop support in base class to implement drop-probability.
4169
4170 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4171
4172         * gst/gst.c: (load_plugin_func):
4173         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4174         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4175         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4176           Remove newlines at end of debug log strings.
4177
4178 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4179
4180         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4181         Only post bus message at max, once per buffer received.
4182
4183 2007-03-07  Wim Taymans  <wim@fluendo.com>
4184
4185         * docs/design/Makefile.am:
4186         * docs/design/part-synchronisation.txt:
4187         Add doc about synchronisation
4188
4189         * docs/design/draft-latency.txt:
4190         * docs/design/part-TODO.txt:
4191         * docs/design/part-clocks.txt:
4192         * docs/design/part-events.txt:
4193         * docs/design/part-gstbus.txt:
4194         * docs/design/part-gstpipeline.txt:
4195         * docs/design/part-live-source.txt:
4196         * docs/design/part-messages.txt:
4197         * docs/design/part-overview.txt:
4198         * docs/design/part-streams.txt:
4199         * docs/design/part-trickmodes.txt:
4200         Documentation updates.
4201
4202 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4203
4204         * gstreamer.doap:
4205         Update the doap file.
4206
4207 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4208
4209         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4210         Rename non-perfect to imperfect for Mike and for the sanctity of the
4211         language.
4212         Also make sure bus message gets emitted for data-incontiguities.
4213
4214 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4215
4216         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4217         (gst_identity_start):
4218         * plugins/elements/gstidentity.h:
4219         Emit bus message if check-perfect is true and we encounter a
4220         non-perfect stream between 2 consecutive buffers.
4221         Fixes #415394.
4222
4223 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4224
4225         * configure.ac:
4226         Back to CVS
4227
4228 === release 0.10.12 ===
4229
4230 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
4231
4232         * configure.ac:
4233           releasing 0.10.12, "Inevitable Demise"
4234
4235 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
4236
4237         * configure.ac:
4238          Version 0.10.11.2 (0.10.12 pre-release)
4239          Bump libtool versioning.
4240
4241 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
4242
4243         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4244           Log flow-names and not numbers.
4245
4246 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4247
4248         * configure.ac:
4249           Convert to new AG_GST style.
4250
4251 2007-02-28  Wim Taymans  <wim@fluendo.com>
4252
4253         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4254         Don't unref query twice.
4255
4256 2007-02-28  Wim Taymans  <wim@fluendo.com>
4257
4258         * gst/gstvalue.c: (gst_value_transform_object_string),
4259         (_gst_value_initialize):
4260         Implement GstObject -> string transform so we print object names
4261         when serializing GValues containing GstObjects.
4262
4263 2007-02-28  Wim Taymans  <wim@fluendo.com>
4264
4265         * docs/gst/gstreamer-sections.txt:
4266         Add new stuff to docs.
4267
4268 2007-02-28  Wim Taymans  <wim@fluendo.com>
4269
4270         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4271         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4272         (gst_base_sink_change_state):
4273         Improve latency query code.
4274         Don't leak latency events.
4275
4276         * tests/check/gst/gstbin.c: (GST_START_TEST):
4277         Improve debugging.
4278
4279 2007-02-28  Wim Taymans  <wim@fluendo.com>
4280
4281         * gst/gstelement.c: (gst_element_message_full),
4282         (gst_element_get_state_func):
4283         * gst/gstelement.h:
4284         Improve docs a little. Added Since: for new macro.
4285
4286         * gst/gstobject.c: (gst_object_sink):
4287         * gst/gstpipeline.c: (gst_pipeline_change_state),
4288         (gst_pipeline_set_new_stream_time):
4289         * gst/gstpipeline.h:
4290         Improve debugging and docs.
4291
4292         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4293         Improve debugging.
4294
4295 2007-02-28  Wim Taymans  <wim@fluendo.com>
4296
4297         * gst/gstelement.c: (gst_element_message_full),
4298         (gst_element_set_locked_state), (gst_element_get_state_func),
4299         (gst_element_change_state):
4300         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4301         Documentation updates.
4302         Small code cleanups.
4303
4304         * gst/gstmessage.c: (gst_message_new_info),
4305         (gst_message_parse_info):
4306         * gst/gstmessage.h:
4307         API: gst_message_new_info()
4308         API: gst_message_parse_info()
4309         Add INFO message create and parse code.
4310
4311 2007-02-28  Wim Taymans  <wim@fluendo.com>
4312
4313         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4314         (bin_query_latency_done):
4315         Also report the live parameter of a latency query.
4316
4317 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4318
4319         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4320           Copy the current generic/states example from -base and adapt so
4321           we can use the exact same code everywhere.
4322           Check a STATES_IGNORE_ELEMENTS env var which can be used
4323           to ignore certain element factories for this test, which is
4324           what is being done in -base
4325         * tests/check/Makefile.am:
4326           Mention this environment variable.
4327
4328 2007-02-27  Wim Taymans  <wim@fluendo.com>
4329
4330         * docs/gst/gstreamer-sections.txt:
4331         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4332         (gst_bus_timed_pop), (gst_bus_pop):
4333         * gst/gstbus.h:
4334         API: gst_bus_timed_pop()
4335         Implement gst_bus_timed_pop() to do a blocking timed wait for a
4336         message to arrive on the bus.
4337
4338         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4339         (gst_bus_suite):
4340         Two unit tests for new _timed_pop() function.
4341
4342 2007-02-23  Wim Taymans  <wim@fluendo.com>
4343
4344         * gst/gstpipeline.c: (gst_pipeline_change_state),
4345         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4346         Don't ref a NULL clock in _provide_clock_func().
4347         Don't allow an INVALID delay.
4348         Don't try to calculate base_time with an invalid start_time.
4349         Also distribute and notify a NULL clock when it was selected.
4350
4351         * tools/gst-launch.c: (event_loop):
4352         Don't crash when a NULL clock was selected in the pipeline.
4353
4354 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4355
4356         * docs/design/Makefile.am:
4357         * docs/design/draft-missing-plugins.txt:
4358         * docs/random/draft-missing-plugins.txt:
4359           Some small updates: update plugin system identifier prefix
4360           ('gstreamer.net' to 'gstreamer'), mention our new install
4361           API in libgstbaseutils rather than libgimme-codec, add
4362           reference to the online docs.
4363
4364 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4365
4366         * win32/common/config.h:
4367           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
4368           use moap cl ci to only check in what is mentioned in the ChangeLog.
4369
4370 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4371
4372         * docs/gst/gstreamer-sections.txt:
4373         * gst/gstelement.h:
4374           Fix up documentation to link to the correct GstGError section.
4375           Add GST_ELEMENT_INFO macro since someone else added a Info message.
4376
4377 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4378
4379         * tools/gst-launch.c: (event_loop):
4380           Make sure that we actually show the important message part of a
4381           warning message.
4382           No need to check if the gerror is not NULL to free; first of all
4383           g_free accepts NULL; and second the default error handler would
4384           segfault if gerror was NULL.
4385
4386 2007-02-21  Wim Taymans  <wim@fluendo.com>
4387
4388         * docs/gst/gstreamer-sections.txt:
4389         Removed docs as well.
4390
4391 2007-02-21  Wim Taymans  <wim@fluendo.com>
4392
4393         * gst/gstmessage.c: (gst_message_parse_duration):
4394         * gst/gstmessage.h:
4395         Remove new messages for release.
4396
4397 2007-02-20  Wim Taymans  <wim@fluendo.com>
4398
4399         * docs/design/part-gstghostpad.txt:
4400         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4401         (gst_ghost_pad_new_full):
4402         Make the ghostpad a parent of the internal pad again for better backward
4403         compatibility. Don't write code that relies on this however.
4404
4405         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4406         (gst_pad_link_check_hierarchy):
4407         Require that parents should be GstElements in the hierarchy check.
4408
4409 2007-02-20  Wim Taymans  <wim@fluendo.com>
4410
4411         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4412         (gst_bin_change_state_func), (bin_query_min_max_init),
4413         (bin_query_latency_fold), (bin_query_latency_done),
4414         (gst_bin_query):
4415         Improve debug info.
4416         Implement latency query.
4417
4418 2007-02-20  Wim Taymans  <wim@fluendo.com>
4419
4420         * docs/design/part-gstghostpad.txt:
4421         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4422         (gst_ghost_pad_internal_do_activate_push),
4423         (gst_ghost_pad_internal_do_activate_pull),
4424         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4425         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4426         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4427         Do not set the internal pad as a parent anymore so we can avoid
4428         hierarchy linking errors when the ghostpad has no parent yet. This also
4429         fixes failed activation because of unlinked internal pads, which in
4430         turn fixes the impossible case where you have to activate a pad before
4431         you can add it to a running element.
4432         Also fix the docs.
4433
4434         * gst/gstpad.c: (pre_activate), (post_activate),
4435         (gst_pad_set_active), (gst_pad_activate_pull),
4436         (gst_pad_activate_push), (gst_pad_check_pull_range):
4437         Add some more debug info.
4438         Mark activation mode in pre_activate so that we don't try to activate in
4439         endless loops. Fixes #385084.
4440
4441 2007-02-19  Wim Taymans  <wim@fluendo.com>
4442
4443         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4444         (gst_base_transform_check_get_range):
4445         Implement a checkgetrange function instead of relying on the default
4446         core behaviour that assumes we can operate in pull mode if we have a
4447         getrange function. First step at fixing #385084.
4448
4449 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
4450
4451         * gst/gstchildproxy.h:
4452         * libs/gst/base/gstbasesink.h:
4453         * libs/gst/base/gstbasesrc.h:
4454         * libs/gst/base/gstbasetransform.h:
4455         More docs coverage and some ChangeLog surgery (add missing names)
4456
4457 2007-02-15  Wim Taymans  <wim@fluendo.com>
4458
4459         * docs/design/part-TODO.txt:
4460         * docs/design/part-activation.txt:
4461         * docs/design/part-block.txt:
4462         * docs/design/part-buffering.txt:
4463         * docs/design/part-clocks.txt:
4464         * docs/design/part-element-source.txt:
4465         * docs/design/part-events.txt:
4466         * docs/design/part-gstbin.txt:
4467         * docs/design/part-gstbus.txt:
4468         * docs/design/part-gstpipeline.txt:
4469         * docs/design/part-live-source.txt:
4470         * docs/design/part-messages.txt:
4471         * docs/design/part-overview.txt:
4472         * docs/design/part-qos.txt:
4473         * docs/design/part-query.txt:
4474         * docs/design/part-states.txt:
4475         * docs/design/part-trickmodes.txt:
4476         Some doc updates. Start renaming from stream_time to running_time where
4477         it was used wrongly.
4478
4479 2007-02-15  Wim Taymans  <wim@fluendo.com>
4480
4481         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4482         Answer LATENCY query.
4483
4484 2007-02-15  Wim Taymans  <wim@fluendo.com>
4485
4486         * tests/check/gst/gstevent.c: (event_probe), (test_event),
4487         (GST_START_TEST):
4488         Improve debugging.
4489
4490 2007-02-15  Wim Taymans  <wim@fluendo.com>
4491
4492         * gst/gstpad.c: (gst_pad_get_internal_links_default),
4493         (gst_pad_dispatcher):
4494         Improve debugging of default pad dispatcher and query functions.
4495
4496 2007-02-15  Wim Taymans  <wim@fluendo.com>
4497
4498         * docs/gst/gstreamer-sections.txt:
4499         Remove old unused method.
4500
4501 2007-02-13  Wim Taymans  <wim@fluendo.com>
4502
4503         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4504         Fix check
4505
4506 2007-02-13  Wim Taymans  <wim@fluendo.com>
4507
4508         * docs/design/part-seeking.txt:
4509         Some small update.
4510
4511         * gst/gstsegment.c: (gst_segment_set_seek):
4512         Revert old bogus change that should make seeking work again.
4513
4514 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4515
4516         * docs/random/ensonic/dynlink.txt:
4517         * docs/random/ensonic/interfaces.txt:
4518         * docs/random/ensonic/receipies.txt:
4519           Possible dynamic reconnection api, plus some type fixes the other two
4520           docs.
4521
4522 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
4523
4524         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4525         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4526         Also check for an absolute path following file:// in the filesrc
4527         element. Remove redundant check and call g_path_is_absolute() on the
4528         unescaped location.
4529
4530 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4531
4532         * docs/design/draft-klass.txt:
4533           Add existing category analysis.
4534           
4535         * gst/gstcaps.c:
4536           Fix doc example, framerate is a fraction.
4537
4538 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4539
4540         * configure.ac:
4541         * docs/gst/Makefile.am:
4542         * docs/gst/gstreamer-sections.txt:
4543         * docs/libs/Makefile.am:
4544           Erm, forgot a bunch of --extra-dir.
4545
4546 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4547
4548         * configure.ac:
4549         * docs/gst/Makefile.am:
4550         * docs/libs/Makefile.am:
4551         * docs/plugins/Makefile.am:
4552           Add crossreferences to glib/gobject docs.
4553
4554 2007-02-12  Wim Taymans  <wim@fluendo.com>
4555
4556         * docs/design/draft-latency.txt:
4557         Small update.
4558
4559         * docs/libs/gstreamer-libs-sections.txt:
4560         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4561         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4562         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4563         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4564         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4565         (gst_base_sink_get_position), (gst_base_sink_query),
4566         (gst_base_sink_change_state):
4567         * libs/gst/base/gstbasesink.h:
4568         API: gst_base_sink_query_latency() to let subclasses query the upstream
4569         latency.
4570         API: gst_base_sink_get_latency() to let subclasses query the configured
4571         latency in the sink.
4572         Implement query and set latency.
4573         Update some docs.
4574         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4575         don't continue preroll when we are flushing. Fixes #405284.
4576
4577         * tests/check/pipelines/stress.c: (change_state_timeout),
4578         (quit_timeout), (GST_START_TEST), (stress_suite):
4579         Test for #405284.
4580
4581 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4582
4583         Patch by: René Stadler <mail at renestadler de>
4584
4585         * docs/gst/gstreamer-sections.txt:
4586         * gst/gsttaglist.c: (_gst_tag_initialize):
4587         * gst/gsttaglist.h:
4588           API: add GST_TAG_REFERENCE_LEVEL (#403597).
4589
4590 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
4591
4592         * docs/libs/Makefile.am:
4593           Fix path to core docs.
4594
4595         * gst/gstbin.c: (gst_bin_get_by_interface),
4596         (gst_bin_iterate_all_by_interface):
4597           Refix docs by also renaming 'interface' to 'iface' in implementation.
4598
4599         * docs/gst/gstreamer-sections.txt:
4600         * gst/gstcaps.c:
4601         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4602         * gst/gstchildproxy.h:
4603         * gst/gstelementfactory.c:
4604         * gst/gstpadtemplate.h:
4605         * libs/gst/controller/gstcontroller.c:
4606         (gst_controlled_property_new):
4607           Document more.
4608
4609 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
4610
4611         * gst/gstbin.h:(gst_bin_get_by_interface),
4612         (gst_bin_iterate_all_by_interface):
4613         Replace interface parameter name by iface as interface is 
4614         a reserved keyword in Visual Studio for C++ projects so it removes
4615         a build error for application developpers using VS.
4616         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4617         Fix a bug on Windows in uri format check. Now the prefix checked
4618         is file:// and next we check if the path after file:// is absolute.
4619         * win32/common/libgstbase.def:
4620         * win32/common/libgstdataprotocol.def:
4621         * win32/common/libgstgstreamer.def:
4622         Add new exported functions.
4623
4624 2007-02-09  Andy Wingo  <wingo@pobox.com>
4625
4626         * tests/check/pipelines/simple-launch-lines.c
4627         (simple_launch_lines_suite, test_tee): Disable tee test until I
4628         have time to fix it :-(
4629
4630         * tests/check/Makefile.am (noinst_HEADERS): 
4631         * tests/check/libs/libsabi.c: 
4632         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4633         * tests/check/gst/gstabi.c: 
4634         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4635
4636         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4637         tests for push and pull tee behavior.
4638
4639         * plugins/elements/gsttee.h: 
4640         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4641         mark as deprecated as well as unimplemented. It was a crack idea.
4642         Add support for tee operating in pull mode, off by default.
4643
4644         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4645         normal-case logs down to LOG, raise errors to WARNING.
4646         (gst_registry_xml_read_cache): Don't log before calling a function
4647         that logs.
4648
4649         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4650         exit (registry finalize).
4651         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4652         DEBUG log when we emit signals that people don't even have the
4653         chance to connect to.
4654         (gst_registry_scan_path_level): Less logging in the normal case.
4655
4656 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4657
4658         Patch by: Michal Benes <michal dot benes at itonis dot tv>
4659
4660         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4661         Correctly generate EOS for non-seekable files. We don't have a total
4662         length for them and would get an unexpected end of file if we only
4663         special-cased for regular files. (Fixes: #404569)
4664
4665 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4666
4667         * tests/check/elements/filesrc.c: (GST_START_TEST),
4668         (filesrc_suite):
4669         Add unit test for the GstURIHandler interface in filesrc. This also
4670         tests the newly added file://localhost/foo/bar support.
4671
4672 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4673
4674         * gst/gstelementfactory.h:
4675           The klass string is not a hierarchy. Add reference to the design doc
4676           for more information and common types.
4677
4678 2007-02-02  Wim Taymans  <wim@fluendo.com>
4679
4680         * gst/gstquery.c: (gst_query_new_latency):
4681         Remove old structure field.
4682
4683 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
4684
4685         * tools/gst-launch.1.in:
4686           Give example for network streaming (#351998)
4687
4688 2007-02-02  Wim Taymans  <wim@fluendo.com>
4689
4690         * docs/gst/gstreamer-sections.txt:
4691         Add docs for new methods.
4692
4693         * gst/gstevent.c: (gst_event_new_latency),
4694         (gst_event_parse_latency):
4695         * gst/gstevent.h:
4696         Add new LATENCY event to configure latency in a pipeline.
4697         API: gst_event_new_latency
4698         API: gst_event_parse_latency
4699
4700         * gst/gstmessage.c: (gst_message_new_buffering),
4701         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4702         (gst_message_new_latency), (gst_message_parse_buffering),
4703         (gst_message_parse_lost_preroll):
4704         * gst/gstmessage.h:
4705         Added messages used in draft-latency.
4706         API: gst_message_new_lost_preroll
4707         API: gst_message_parse_lost_preroll
4708         API: gst_message_new_prerolled
4709         API: gst_message_new_latency
4710
4711         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4712         (gst_query_parse_latency):
4713         * gst/gstquery.h:
4714         Implemented new latency query as in design doc.
4715         API: gst_query_new_latency
4716         API: gst_query_set_latency
4717         API: gst_query_parse_latency
4718
4719 2007-02-02  Wim Taymans  <wim@fluendo.com>
4720
4721         * docs/design/draft-latency.txt:
4722         Slight redesign to allow for dynamic latency adjustments.
4723
4724         * docs/design/part-negotiation.txt:
4725         Fix some typos.
4726
4727 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4728
4729         reviewed by: Wim Taymans <wim@fluendo.com>
4730
4731         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4732         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4733         Allow file://localhost/foo/bar URLs and correctly fail for every other
4734         hostname that one sets. This was gnomevfssrc is linked for those if
4735         installed as it can handle it (#403172)
4736
4737 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4738
4739         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4740
4741         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4742         (unref_data), (gst_collect_pads_add_pad_full):
4743         * libs/gst/base/gstcollectpads.h:
4744         Don't put the previously added destroy notify in the GstCollectData
4745         struct as all it's padding is already used and we don't want to break
4746         ABI. Instead put in the pad's GObject data for now. This should be
4747         cleaned up for 0.11 (#402393).
4748
4749 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4750
4751         reviewed by: Wim Taymans <wim@fluendo.com>
4752
4753         * docs/libs/gstreamer-libs-sections.txt:
4754         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4755         (unref_data), (gst_collect_pads_add_pad),
4756         (gst_collect_pads_add_pad_full):
4757         * libs/gst/base/gstcollectpads.h:
4758         API: Add function to specify a destroy notification for custom
4759         GstCollectData when adding new pads in GstCollectPads (#402393).
4760
4761 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
4762
4763         * po/sv.po:
4764           Update Swedish translation (#378255).
4765
4766 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4767
4768         * docs/design/draft-klass.txt:
4769           Fix the previous change, this is a list of categories and not a hierarchy.
4770
4771 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4772
4773         * docs/design/draft-klass.txt:
4774           Add info about how to get a list of used classes.
4775
4776 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
4777
4778         * plugins/elements/gsttypefindelement.c:
4779         (gst_type_find_element_chain_do_typefinding),
4780         (gst_type_find_element_change_state):
4781           Don't leak found caps in chain function (no idea why that never
4782           showed up as a leak anywhere).
4783
4784 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
4785
4786         * gst/gstplugin.h:
4787           Fix and expand GstPluginDesc API docs.
4788
4789 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4790
4791         * gst/gstcaps.c:
4792         * gst/gstelementfactory.c:
4793         * gst/gstpadtemplate.h:
4794           api doc fixes
4795
4796         * libs/gst/controller/gstcontroller.c:
4797         (gst_controlled_property_new):
4798         * tests/examples/controller/audio-example.c:
4799           comment fixes
4800
4801 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4802
4803         * configure.ac:
4804           comment about refining the xml deps
4805
4806         * docs/manuals.mak:
4807           comments about moving away from jade for docs
4808         
4809         * gst/gst.c:
4810           recommit the ifdefs to use the binary registry
4811         
4812         * gst/gstbin.c: (gst_bin_change_state_func):
4813           this break is obsolete
4814
4815         * gst/gstelementfactory.h:
4816           better GST_ELEMENT_DETAILS docs, add comment about translation
4817
4818         * gst/gstinfo.h:
4819           remove eol slash
4820
4821         * gst/gstobject.c: (gst_signal_object_get_type):
4822           add G_UNLIKELY as usual
4823
4824         * gst/gstpad.c: (gst_pad_event_default):
4825           add fall trhu comment
4826
4827         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4828         (gst_registry_binary_initialize_magic),
4829         (gst_registry_binary_save_string),
4830         (gst_registry_binary_save_pad_template),
4831         (gst_registry_binary_save_feature),
4832         (gst_registry_binary_save_plugin),
4833         (gst_registry_binary_write_cache),
4834         (gst_registry_binary_check_magic),
4835         (gst_registry_binary_load_pad_template),
4836         (gst_registry_binary_load_feature),
4837         (gst_registry_binary_load_plugin),
4838         (gst_registry_binary_read_cache):
4839           comment typo and formatting
4840
4841         * gst/gstutils.c: (gst_element_state_get_name),
4842         (gst_element_state_change_return_get_name):
4843           remove obsolete breaks
4844
4845         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4846           add FIXME 0.11 and remove cpp comment
4847
4848 2007-01-29  Edward Hervey  <edward@fluendo.com>
4849
4850         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4851         Fix print statement in an even more portable way.
4852
4853 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
4854
4855         * docs/gst/gstreamer-sections.txt:
4856         * gst/gstutils.h:
4857           API: add GST_ROUND_DOWN_* macros (#401781).
4858
4859 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
4860
4861         * docs/gst/gstreamer.types.in:
4862         * gst/gstregistry.c: (gst_registry_class_init):
4863           Document registry signals and make gtk-doc pick them up (#401381).
4864
4865 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4866
4867         * docs/pwg/building-testapp.xml:
4868           Add some audioconverts and audioresample to the pipeline, and some
4869           more comments and error handling.
4870
4871 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4872
4873         * docs/manual/manual.xml:
4874         * docs/pwg/pwg.xml:
4875           Fix typo (#400987).
4876
4877 2007-01-26  Wim Taymans  <wim@fluendo.com>
4878
4879         * gst/gstcaps.c: (gst_static_caps_get):
4880         Init caps flags too.
4881
4882 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
4883
4884         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4885
4886         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4887         If not using mmap'ed files try to seek to the end instead of the
4888         start to determine whether we can seek at all. This fixes the case
4889         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4890         seeks for everything afterwards fail. Fixes #400656
4891
4892 2007-01-25  Wim Taymans  <wim@fluendo.com>
4893
4894         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4895         Add some refcount debugging.
4896         Make gst_static_caps_get threadsafe, which is needed when autoplugging
4897         in multiple streaming threads.
4898
4899 2007-01-25  Wim Taymans  <wim@fluendo.com>
4900
4901         Patch by: David Schleef <ds at schleef dot org>
4902
4903         * docs/libs/gstreamer-libs-sections.txt:
4904         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4905         * libs/gst/base/gstadapter.h:
4906         API: gst_adapter_copy() that can reduce the amount of memcpy when
4907         getting data from the adapter. Fixes #388201.
4908
4909 2007-01-25  Edward Hervey  <edward@fluendo.com>
4910
4911         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4912         In print statements, "%x" is for guint. Fixes build on macosx.
4913
4914 2007-01-24  Edward Hervey  <edward@fluendo.com>
4915
4916         * plugins/elements/gstmultiqueue.c:
4917         (gst_multi_queue_loop):
4918         Small fix.
4919         (single_queue_overrun_cb), (single_queue_underrun_cb),
4920         (single_queue_check_full), (gst_single_queue_new):
4921         Implement single queue growth system.
4922         This uses the extra-size properties, and will grow single queues by
4923         that much if one goes full whereas there are others empty. This is
4924         called extra-mode in the code.
4925         When a single queue's levels go back below the initial max-size
4926         limits, it is no longer in extra-mode. This is to ensure we don't
4927         consume too much memory.
4928         Fixes #399875
4929
4930 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
4931
4932         * gst/gst.c: (gst_init_get_option_group):
4933           Make warning about late g_thread_init() calls a bit more explicit,
4934           so that it's more obvious to application developers what they need
4935           to do if a user files a bug against their application.
4936
4937 2007-01-22  Edward Hervey  <edward@fluendo.com>
4938
4939         * plugins/elements/gstmultiqueue.c:
4940         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4941         Remove previous hack of unsetting the flushing flag for the source pad
4942         instead of activating it. Instead, fix the source pad activate function
4943         so that it no longer depends on having a parent set or not.
4944
4945 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
4946
4947         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4948
4949         * docs/manual/basics-bus.xml:
4950           Fix example code, gst_element_unref() doesn't exist any longer.
4951
4952 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
4953
4954         Patch by: Mark Nauwelaerts <manauw at skynet be>
4955
4956         * gst/gstpad.c:
4957           Fix two docs typoes (#399094).
4958
4959 2007-01-19  Edward Hervey  <edward@fluendo.com>
4960
4961         * docs/faq/gst-uninstalled:
4962         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4963         depending on libgstbaseutils can work in uninstalled environment.
4964
4965 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
4966
4967         * gst/gsttaglist.h:
4968         * gst/gsttagsetter.c:
4969         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4970         statement for new tag.
4971
4972 2007-01-17  Edward Hervey  <edward@fluendo.com>
4973
4974         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4975         When dynamically creating single queues, activate sinkpad before adding
4976         it.
4977         We should be doing the same thing for the source pad, but we can't
4978         since it would call a method which needs the parent to be set in order
4979         to work propertly. Instead of activating the source pad, we just unset
4980         the flushing flag, which is the minimal requirement for adding a pad
4981         to an element in a state greater than READY.
4982
4983 2007-01-17  Edward Hervey  <edward@fluendo.com>
4984
4985         * docs/faq/gst-uninstalled:
4986         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4987         Mac OS X.
4988
4989 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4990
4991         * tests/check/gst/gstabi.c:
4992         * tests/check/gst/struct_hppa.h:
4993         * tests/check/libs/libsabi.c:
4994         * tests/check/libs/struct_hppa.h:
4995           Add ABI structs for HPPA (see #393796).
4996
4997 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
4998
4999         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5000           Actually write ABI structs to the file specified in the GST_ABI
5001           environment variable, as the message we print claims we would.
5002
5003 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5004
5005         * tests/check/gst/gsttask.c:
5006           Fix header comment.
5007
5008 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5009
5010         * gst/gsttaglist.c: (_gst_tag_initialize):
5011           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5012           previous two entries.
5013
5014 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5015
5016         * docs/gst/gstreamer-sections.txt:
5017         * gst/gsttaglist.c: (_gst_tag_initialize):
5018         * gst/gsttaglist.h:
5019           Add tag support for beat-per-minute.
5020
5021 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5022
5023         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5024         (gst_registry_binary_initialize_magic),
5025         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5026         (gst_registry_binary_save_pad_template),
5027         (gst_registry_binary_save_feature),
5028         (gst_registry_binary_save_plugin),
5029         (gst_registry_binary_write_cache),
5030         (gst_registry_binary_check_magic),
5031         (gst_registry_binary_load_pad_template),
5032         (gst_registry_binary_load_feature),
5033         (gst_registry_binary_load_plugin),
5034         (gst_registry_binary_read_cache):
5035         * gst/gstregistrybinary.h:
5036           Use glib types, cleanup comments, impement interfaces and uri-types.
5037
5038 2007-01-13  Andy Wingo  <wingo@pobox.com>
5039
5040         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5041         getrange() to return buffers with other caps, while we fix
5042         demuxers and typefind, or otherwise change part-negotiation.txt.
5043
5044 2007-01-12  Andy Wingo  <wingo@pobox.com>
5045
5046         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5047         Factor start/stop into this private function instead of partially
5048         in activate functions and partially in the change_state function.
5049         Fixes setup before the element has changed from READY->PAUSED, as
5050         is the case in pull-mode pipelines.
5051         (gst_base_transform_sink_activate_push)
5052         (gst_base_transform_src_activate_pull): Refactor to use
5053         gst_base_transform_activate().
5054         (gst_base_transform_change_state): Removed, not needed any more.
5055
5056         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5057         Truncate before fixating.
5058         
5059         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5060         Don't set_caps() if the result of fixating is ANY, as it's not
5061         supported, and not necessary in the case of a link with no
5062         template caps on either side. Fixes tests/check/libs/basesrc in
5063         some pull-mode tests.
5064
5065         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5066         (gst_base_transform_init, gst_base_transform_sink_activate_push)
5067         (gst_base_transform_src_activate_pull): 
5068         Track the activation mode.
5069         (gst_base_transform_setcaps): In pull mode, when activating the
5070         src pad, after activating the sink pad, activate the sink pad's
5071         peer, as discussed in part-negotiation.txt.
5072
5073         * libs/gst/base/gstbasesrc.h: 
5074         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5075         vmethod, as in basesink.
5076
5077         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5078
5079         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5080         mode, first proxy the setcaps to the peer pad.
5081         (gst_base_sink_pad_fixate): Add a fixate function that calls the
5082         new fixate vmethod.
5083         (gst_base_sink_default_activate_pull): Rename from
5084         gst_base_sink_activate_pull.
5085         (gst_base_sink_negotiate_pull): New function, performs negotiation
5086         in pull mode before calling ::activate_pull().
5087         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5088         vmethod instead of the default implementation. I have no idea how
5089         this worked before. Negotiate before calling activate_pull.
5090
5091         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5092         sink pads in pull mode. In addition to being correct, fixes
5093         filesrc ! decodebin ! identity ! fakesink.
5094         (gst_pad_get_range, gst_pad_pull_range): Don't call
5095         gst_pad_set_caps() if the caps changes; instead error out with
5096         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5097
5098 2007-01-12  Andy Wingo  <wingo@pobox.com>
5099
5100         * docs/design/part-negotiation.txt: Update with more policy.
5101
5102 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5103
5104         * libs/gst/check/gstbufferstraw.h:
5105         * libs/gst/check/gstcheck.h:
5106           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5107           belongs.
5108
5109 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5110
5111         * tests/check/Makefile.am:
5112         * tests/check/gst/.cvsignore:
5113         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5114         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5115         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5116         (GST_START_TEST), (gst_tag_setter_suite):
5117           Add minimal unit test for beforementioned GstTagSetter bug.
5118
5119 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5120
5121         Patch by: René Stadler <mail at renestadler dot de>
5122
5123         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5124           gst_tag_list_merge() returns a new list, so it's not the best idea
5125           to ingore its return value. Effectively meant that tags could only
5126           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5127           Also add function guard to require a non-NULL taglist as input (has
5128           always been so due to gst_tag_list_copy(), just making it explicit).
5129
5130 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5131
5132         * docs/random/draft-missing-plugins.txt:
5133           Some additions: mention new API that is supposed to be used at the
5134           various stages; short blob about new gst-inspect introspection
5135           option; mention potential future problem with plugins that have
5136           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5137
5138 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5139
5140         * tools/gst-inspect.c:
5141         (print_plugin_automatic_install_info_codecs),
5142         (print_plugin_automatic_install_info_protocols),
5143         (print_plugin_automatic_install_info), (main):
5144         Add --print-plugin-auto-install-info option to gst-inspect, so we can
5145         introspect plugin files and get machine-parsable output that corresponds
5146         to the last bit of the missing-plugin installer string (small gotcha:
5147         doesn't take into account ranks).
5148
5149 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
5150
5151         * configure.ac:
5152         * docs/gst/gstreamer-sections.txt:
5153         * gst/Makefile.am:
5154         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5155         (gst_registry_lookup_locked):
5156         * gst/gstregistry.h:
5157         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5158         (gst_registry_binary_initialize_magic),
5159         (gst_registry_binary_save_string),
5160         (gst_registry_binary_save_pad_template),
5161         (gst_registry_binary_save_feature),
5162         (gst_registry_binary_save_plugin),
5163         (gst_registry_binary_write_cache),
5164         (gst_registry_binary_check_magic),
5165         (gst_registry_binary_load_pad_template),
5166         (gst_registry_binary_load_feature),
5167         (gst_registry_binary_load_plugin),
5168         (gst_registry_binary_read_cache):
5169         * gst/gstregistrybinary.h:
5170         * gst/gstregistryxml.c: (load_feature),
5171         (gst_registry_xml_read_cache):
5172           commit binary registry (disabled by default, see #359653)
5173
5174 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5175
5176         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5177           Fix 'make check' too.
5178
5179 2007-01-10  Andy Wingo  <wingo@pobox.com>
5180
5181         * docs/design/part-negotiation.txt: Fix a typo, add a couple
5182         notes.
5183         
5184         * docs/design/part-negotiation.txt: Update with, um, one way that
5185         pull-mode negotiation might work?
5186
5187         * gst/gstpad.h: 
5188         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5189         that the pad must be a src pad; makes sense to call it the other
5190         way in pull mode, and the logic is symmetric anyway.
5191
5192 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5193
5194         * plugins/elements/gstfilesink.c:
5195           Include <stdio.h> for fseeko().
5196
5197 2007-01-10  Wim Taymans  <wim@fluendo.com>
5198
5199         * gst/gstevent.c:
5200         * gst/gstevent.h:
5201         Reserve LATENCY event.
5202
5203 2007-01-09  Wim Taymans  <wim@fluendo.com>
5204
5205         * docs/design/draft-latency.txt:
5206         Updates.
5207
5208 2007-01-09  Wim Taymans  <wim@fluendo.com>
5209
5210         * docs/design/draft-latency.txt:
5211         Updates.
5212
5213         * gst/gstelement.h:
5214         * gst/gststructure.c:
5215         * gst/gsttrace.c:
5216         Small typo fixes.
5217
5218 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5219
5220         * tests/check/.cvsignore:
5221           Ignore test-registry.xml as well.
5222
5223 2007-01-09  Wim Taymans  <wim@fluendo.com>
5224
5225         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5226         unref data at the end when we are done with the pad.
5227
5228 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5229
5230         * docs/gst/gstreamer-sections.txt:
5231         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5232         (init_post), (gst_deinit), (gst_update_registry):
5233         * gst/gst.h:
5234           API: add gst_update_registry() (#391296).
5235
5236         * tests/check/Makefile.am:
5237         * tests/check/gst/gstregistry.c:
5238         * tests/check/gst/.cvsignore:
5239           Simple unit test for the above.
5240
5241 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5242
5243         * gst/gstregistry.c: (gst_registry_scan_path_level):
5244           Plugin extension on HP-UX is .sl, add that to the list of approved
5245           plugin extensions (see #393796).
5246
5247         * tests/check/gst/gstpad.c: (GST_START_TEST):
5248           ulong => gulong. Fixes compilation with HP-UX compiler.
5249
5250         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5251           Fix compilation if valgrind headers are not available.
5252
5253 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
5254
5255         * win32/common/libgstreamer.def: 
5256           Add new exported function.
5257         * win32/vs6/libgstbase.dsp: 
5258           Add gstdataqueue.c to the build.
5259         * win32/vs6/libgstcoreelements.dsp:
5260           Add gstmultiqueue.c to the build.
5261         
5262 2007-01-06  Andy Wingo  <wingo@pobox.com>
5263
5264         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5265         activate_pull(), providing for a way to specialize the process of
5266         spawning a thread to pull on the sink pad. There is a default
5267         implementation.
5268
5269         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5270         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5271         (gst_base_sink_init): Renamed pad activation functions (inserting
5272         "_pad" in their names). Refactor to use the new activate_pull
5273         vmethod, as appropriate.
5274         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5275         default activate_pull function to start a task pulling from the
5276         sink pad, as before.
5277
5278         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5279         on the pads if necessary, as in push()/chain(). Update docs.
5280         Shouldn't affect existing pull() usage as it is currently only
5281         being used on buffers without caps.
5282
5283 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5284
5285         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5286         (init_pre):
5287           Call g_thread_init() first thing in gst_init() / gst_check_init().
5288           When initialisation is done via gst_init_get_option_group() and
5289           GOption parsing, issue a warning if the GLib thread system has not
5290           been initialised yet by the time gst_init_get_option_group() is
5291           called, as it's quite likely other GLib functions such as
5292           g_option_context_new() have been called already then, and
5293           g_thread_init() must be called before any other GLib function. The
5294           application in question must be fixed in that case, since memory
5295           corruption might happen otherwise.
5296           We issue the warning because even if the GLib folks decide to work
5297           around the problem on their end in future, this is still an issue
5298           with all GLib versions >= 2.10.0, so we should warn until we depend
5299           on a GLib version we know to be safe.
5300           Update documentation as well.
5301           Closes bug #391278.
5302
5303 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5304
5305         * tools/gst-inspect.c: (main):
5306         * tools/gst-launch.c: (main):
5307         * tools/gst-typefind.c: (main):
5308         * tools/gst-xmlinspect.c: (main):
5309           Call g_thread_init() really really early, before any other GLib
5310           function (see #342564 and recent discussion on gtk-devel-list).
5311
5312 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5313
5314         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
5315
5316         * gst/gst_private.h:
5317         * gst/gstconfig.h.in:
5318         * gst/gstinfo.h:
5319           On win32, all the __declspec stuff for symbol exporting is
5320           apparently only needed with MSVC, but doesn't work with MingW.
5321           Fixes compilation with MingW and #391909.
5322
5323 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5324
5325         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5326           Change some GST_ERROR_OBJECT that aren't really errors to
5327           GST_WARNING_OBJECT in order to reduce terminal spam.
5328
5329 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5330
5331         * tests/check/Makefile.am:
5332           disable test again, as there seem to be still race problems
5333
5334 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5335
5336         * tests/check/Makefile.am:
5337         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5338         (GST_START_TEST), (queue_suite):
5339           enable queue test again, add tests for the leaky behaviour
5340
5341 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
5342
5343         * configure.ac:
5344         * tests/examples/Makefile.am:
5345           Compile adapter test/example only if the required headers are
5346           available (fixes #391915).
5347
5348 2007-01-01  David Schleef  <ds@schleef.org>
5349
5350         * gst/gstplugin.c:
5351           Restore the previous signal handler for SIGSEGV instead of
5352           setting to default, since we may have stolen it away from
5353           someone.  (i.e., Mono)
5354
5355 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5356
5357         * docs/random/draft-missing-plugins.txt:
5358           Some small additions and clarifications.
5359
5360 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5361
5362         * gst/gstregistryxml.c: (gst_registry_save_escaped):
5363           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5364           since that can lead to random memory corruptions and crashes
5365           (may or may not be related to #383244, #386711, and #386711).
5366
5367 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5368
5369         * tests/check/.cvsignore:
5370         * tests/check/Makefile.am:
5371           sync .cvsignome and CLEANFILES
5372
5373 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5374
5375         * tests/check/Makefile.am:
5376           fix distcheck
5377
5378 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5379
5380         * docs/design/part-states.txt:
5381           two tiny additional comments
5382         
5383         * gst/gststructure.c:
5384           doc fixing
5385
5386         * tests/check/Makefile.am:
5387         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5388         (GST_START_TEST):
5389           disable test for now, unless it gets fixed
5390
5391 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5392
5393         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5394         (GST_START_TEST):
5395           fix race in underrun test
5396
5397 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5398
5399         * tests/check/elements/.cvsignore:
5400           ignore more
5401
5402         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5403         (GST_START_TEST):
5404           try to narrow test failure
5405
5406 2006-12-21  David Schleef  <ds@schleef.org>
5407
5408         * plugins/elements/gstfakesrc.c:
5409           Use g_random_int_range(), since it produces better random
5410           numbers in a range than almost-correct floating point code.
5411
5412 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5413
5414         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5415         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5416         (gst_check_teardown_sink_pad):
5417           do not automatically (de)activate pads
5418
5419         * tests/check/Makefile.am:
5420         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5421         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5422           add new, yet simple tests for queue
5423
5424         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5425         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5426         * tests/check/elements/filesrc.c: (cleanup_filesrc),
5427         (GST_START_TEST):
5428         * tests/check/elements/identity.c: (cleanup_identity):
5429           consistent pad (de)activation
5430
5431 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5432
5433         Patch by: Sebastian Dröge  <slomo ubuntu com>
5434
5435         * libs/gst/base/gstcollectpads.c:
5436           Fix two doc typos (#387866).
5437
5438 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5439
5440         * docs/manual/advanced-dparams.xml:
5441           Fix typo (g_object_control_properties() doesn't exist).
5442
5443 2006-12-19  Edward Hervey  <edward@fluendo.com>
5444
5445         * gst/gstsegment.c: (gst_segment_set_seek):
5446         Fine tune the cases where the segment start/stop values are really
5447         updated.
5448         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5449         Add tests for the return values of gst_segment_set_seek().
5450
5451 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5452
5453         * gst/gst.c:
5454           Docs typo fix.
5455
5456         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5457         (gst_queue_init):
5458           Fix incorrect documentation and flesh it out a bit more.
5459           Set default values for the max properties on the GParamSpec as well,
5460           so it shows up correctly in gst-inspect.
5461
5462 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
5463
5464         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5465           Correct docs of queue, add more detail and crosslink it more.
5466
5467 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5468
5469         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5470           Print additional debug info when the stream isn't perfectly
5471           timestamped; don't try to use invalid durations.
5472
5473 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5474
5475         * docs/design/Makefile.am:
5476           Dist new design docs.
5477
5478 2006-12-16  Wim Taymans  <wim@fluendo.com>
5479
5480         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5481
5482         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5483         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5484         (gst_collect_pads_stop), (gst_collect_pads_event),
5485         (gst_collect_pads_chain):
5486         * libs/gst/base/gstcollectpads.h:
5487         Add refcounting to the collectpads data so we can track when it's safe
5488         to free the data. Fixes #383382.
5489
5490 2006-12-15  Wim Taymans  <wim@fluendo.com>
5491
5492         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5493         (gst_collect_pads_remove_pad):
5494         Automatically activate/deactivate pads when they are added to a
5495         started/stoped collectpads.
5496
5497 2006-12-15  Wim Taymans  <wim@fluendo.com>
5498
5499         * gst/gstelement.c: (gst_element_add_pad):
5500         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5501         * gst/gstpad.c: (gst_pad_init):
5502         Set pads to FLUSHING when they are created. Check, warn and fix when a
5503         demuxer adds an inactive pad to itself when running. Fixes #339326.
5504
5505 2006-12-15  Wim Taymans  <wim@fluendo.com>
5506
5507         * gst/gstelement.c: (gst_element_class_init),
5508         (gst_element_default_send_event), (gst_element_send_event),
5509         (gst_element_default_query), (gst_element_query):
5510         Expose default element send_event and query handling as vmethods that
5511         subclasses can chain up to.
5512
5513 2006-12-15  Wim Taymans  <wim@fluendo.com>
5514
5515         * gst/gstelement.c: (gst_element_set_state_func):
5516         Small documentation fixes.
5517
5518 2006-12-15  Wim Taymans  <wim@fluendo.com>
5519
5520         * docs/design/draft-latency.txt:
5521         Checked in draft for handling latency in pipelines.
5522
5523 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5524
5525         * Makefile.am:
5526         * gstreamer.doap:
5527         * gstreamer.spec.in:
5528           adding .doap file
5529
5530 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
5531
5532         * gst/gst.c: (init_pre), (init_post):
5533           init_pre() and init_post() might be called via our GOptionGroup or
5534           from gst_init(), and we should skip both of them if we've already
5535           been initialised, otherwise we will init some things twice or add
5536           two default log functions.
5537
5538 2006-12-13  Edward Hervey  <edward@fluendo.com>
5539
5540         * docs/manual/basics-bus.xml:
5541         No, gst_main_loop does not exist. Its g_main_loop.
5542         Discovered by somebody who abused the copy-paste technique of coding :)
5543
5544 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5545
5546         * gst/gstghostpad.c:
5547           Log ghostpad debug stuff to the GST_PADS category as well rather
5548           than just to the default category.
5549
5550 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5551
5552         * configure.ac:
5553         * gst/gst.c: (init_pre):
5554           Add some basic system details such as OS and architecture
5555           to the debug output if possible, courtesy of uname().
5556
5557 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5558
5559         * docs/gst/running.xml:
5560           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5561           environment variables.
5562
5563 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5564
5565         * tests/check/gst/gstbin.c: (GST_START_TEST):
5566         It is acceptable to have a refcount of 2 or 3 at this point in the
5567         test, because the pipeline might be just posting its state_change
5568         message. The next line then waits for that message to appear using
5569         bus_poll, so that should be fine too.
5570
5571 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5572
5573         * gst/gst.c: (ensure_current_registry_forking):
5574         Ignore EINTR when reading from the child registry pipe.
5575         Explicitly ignore the return value from close, since it makes no
5576         difference.
5577
5578         * gst/gstminiobject.c: (gst_mini_object_ref),
5579         (gst_mini_object_unref):
5580         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5581
5582         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5583         When removing cached plugins, remove their features too, so they're
5584         not visible after they've disappeared.
5585
5586         * gst/gstutils.c: (prepare_link_maybe_ghosting):
5587         In the unlikely case that we are linking pads with no parents, don't
5588         crash trying to get the non-existent parent bin.
5589
5590         * gst/parse/grammar.y:
5591         Output debug in the PIPELINE category
5592
5593 2005-03-08  Wim Taymans  <wim@fluendo.com>
5594
5595         Patch by: René Stadler <mail at renestadler dot de>
5596
5597         * gst/gstclock.c: (gst_clock_new_periodic_id):
5598         Reject invalid clock times for interval of periodic ids.
5599         Fixes ##383506.
5600
5601 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5602
5603         * gst/gstelementfactory.c: (gst_element_factory_create):
5604         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5605         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5606         * tools/gst-inspect.c: (print_element_info):
5607         Fix refcounting of gst_plugin_feature_load to match the docs. 
5608         Fixes: #380129
5609
5610 2006-12-07  Wim Taymans  <wim@fluendo.com>
5611
5612         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5613         (gst_base_sink_get_position):
5614         Improve debugging of events.
5615
5616 2006-12-07  Wim Taymans  <wim@fluendo.com>
5617
5618         Patch by: René Stadler <mail at renestadler dot de>
5619
5620         * gst/gstclock.c: (gst_clock_id_wait):
5621         Make period ids add the interval to the origial requested time instead
5622         of the possibly updated time which can be wrong when there are multiple
5623         waiters for the same id. Fixes #382592.
5624
5625         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5626         (gst_system_clock_id_wait_jitter_unlocked),
5627         (gst_system_clock_id_wait_jitter):
5628         Fix restart in the async notify thread when an async entry is added to
5629         the front of the list. Fixes #381492. 
5630
5631         * tests/check/gst/gstsystemclock.c: (store_callback),
5632         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5633         Added test for multiple async waits.
5634         Added test for async wait order.
5635
5636 2006-12-07  Wim Taymans  <wim@fluendo.com>
5637
5638         * gst/gstbin.c: (gst_bin_query):
5639         Add some more docs about the POSITION query.
5640
5641 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5642
5643         * configure.ac:
5644         Bump version nano - back to CVS.
5645
5646 === release 0.10.11 ===
5647
5648 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
5649
5650         * configure.ac:
5651           releasing 0.10.11, "Love never runs on time"
5652
5653 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
5654
5655         * win32/common/libgstbase.def:
5656         * win32/common/libgstreamer.def:
5657         * win32/vs8/libgstbase.vcproj:
5658         * win32/vs8/libgstcoreelements.vcproj:
5659         * win32/vs8/libgstreamer.vcproj:
5660         Fix compilation on win32 under VS8
5661         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5662         Partially fixes #381175
5663
5664 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5665
5666         * gst/gstvalue.c: (gst_value_compare_fraction):
5667         If someone is foolish enough to compare 2 fractions with denominator =
5668         0, return UNORDERED rather than aborting.
5669
5670 2006-11-28  Edward Hervey  <edward@fluendo.com>
5671
5672         * libs/gst/base/Makefile.am:
5673         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5674         (gst_data_queue_base_init), (gst_data_queue_class_init),
5675         (gst_data_queue_init), (gst_data_queue_new),
5676         (gst_data_queue_cleanup), (gst_data_queue_finalize),
5677         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5678         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5679         (gst_data_queue_is_empty), (gst_data_queue_is_full),
5680         (gst_data_queue_set_flushing), (gst_data_queue_push),
5681         (gst_data_queue_pop), (gst_data_queue_drop_head),
5682         (gst_data_queue_set_property), (gst_data_queue_get_property):
5683         * libs/gst/base/gstdataqueue.h:
5684         New GstDataQueue object for threadsafe queueing. Most useful for
5685         elements that need some queueing functionnality.
5686         * docs/libs/gstreamer-libs-docs.sgml:
5687         * docs/libs/gstreamer-libs-sections.txt:
5688         Insert documentation for GstDataQueue
5689         * plugins/elements/Makefile.am:
5690         * plugins/elements/gstelements.c:
5691         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5692         (gst_multi_queue_class_init), (gst_multi_queue_init),
5693         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5694         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5695         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5696         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5697         (gst_multi_queue_loop), (gst_multi_queue_chain),
5698         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5699         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5700         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5701         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5702         (wake_up_next_non_linked), (compute_next_non_linked),
5703         (single_queue_overrun_cb), (single_queue_underrun_cb),
5704         (single_queue_check_full), (gst_single_queue_new):
5705         * plugins/elements/gstmultiqueue.h:
5706         New multiqueue element, using GstDataQueue. Used for queuing multiple
5707         streams.
5708         Closes #344639 and #347785
5709
5710 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
5711
5712         * docs/pwg/advanced-types.xml:
5713           add more missing type details
5714
5715         * tools/gst-run.c: (main):
5716           remove unused variable
5717
5718 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
5719
5720         * docs/libs/Makefile.am:
5721         * docs/libs/gstreamer-libs.types:
5722           add types of base classes to enable gobject specific stuff in the docs
5723
5724         * docs/random/ensonic/embedded.txt:
5725           more ideas about isolating platform specific things
5726
5727 2006-11-20  Wim Taymans  <wim@fluendo.com>
5728
5729         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5730
5731         * libs/gst/check/gstcheck.h:
5732         Fix compilation and running against 0.9.4. Fixes #377332.
5733
5734 2006-11-20  Wim Taymans  <wim@fluendo.com>
5735
5736         * gst/gstsegment.c: (gst_segment_set_seek),
5737         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5738         (gst_segment_to_running_time):
5739         Fix boundary checking in to_running_time() and to_stream_time().
5740         Fixes #377183.
5741
5742         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5743         stream and running time can now be calculated for the complete
5744         clipped segment.
5745
5746 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
5747
5748         * gst/gstpad.c: (gst_pad_push_event):
5749           Can't access event structure after giving away ownership of
5750           the event.
5751
5752 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
5753
5754         * docs/random/ensonic/embedded.txt:
5755         * docs/random/ensonic/profiling.txt:
5756         * docs/random/ensonic/receipies.txt:
5757           more thinking
5758
5759 2006-11-13  Wim Taymans  <wim@fluendo.com>
5760
5761         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5762
5763         * gst/gstpad.c:
5764         Fix documentation for gst_pad_dispatcher. Fixes #374475.
5765
5766 2006-11-13  Wim Taymans  <wim@fluendo.com>
5767
5768         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5769
5770         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5771         Store new length in segment duration so we don't keep on calling the
5772         potentially expensize get_size() call. Fixes #370865.
5773
5774 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
5775
5776         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
5777
5778         * win32/common/libgstreamer.def:
5779           Add two missing symbols (#366492).
5780
5781 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
5782
5783         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5784         (gst_adapter_take_buffer):
5785         Fix format string to use all its arguments.
5786         Remove useless >= check on a guint
5787
5788 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5789
5790         * tests/examples/adapter/.cvsignore:
5791         Ignore build file as commanded by the build-bot
5792
5793 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5794
5795         * tests/examples/adapter/Makefile.am:
5796         * tests/examples/adapter/adapter_test.c: (run_test_take),
5797         (run_test_take_buffer), (run_tests), (main):
5798
5799         Add new files from the previous commit
5800
5801 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5802
5803         * Makefile.am:
5804         * configure.ac:
5805         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5806         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5807         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5808         * libs/gst/base/gstadapter.h:
5809         * tests/check/libs/adapter.c: (create_and_fill_adapter),
5810         (GST_START_TEST), (gst_adapter_suite):
5811         * tests/examples/Makefile.am:
5812         Do some optimisation work in GstAdapter to avoid copies in more cases.
5813         It could still do slightly better by merging buffers when
5814         gst_buffer_is_span_fast is true, but is already faster. 
5815
5816         Also, avoid traversing a single-linked list to append each incoming 
5817         buffer inside the adapter.
5818
5819         Add simple test app that times the adapter behaviour in different
5820         situations, and extend the unit test to check that bytes enter and
5821         exit the adapter in their original order.
5822
5823 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
5824
5825         * docs/random/draft-missing-plugins.txt:
5826           Update: use element message instead of adding a new message
5827           type to the core; don't provide GStreamer API to initiate the
5828           plugin download, just provide API to compose the strings needed
5829           and let an external libgimmestuff handle the rest.
5830
5831 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
5832
5833         * tools/gst-inspect.c: (print_element_properties_info):
5834         Print a string instead of 'unknown type' for GValueArray properties
5835
5836 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
5837
5838         * docs/random/draft-missing-plugins.txt:
5839         More small fixes.
5840
5841 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5842
5843         * tests/examples/typefind/typefind.c: (type_found), (main):
5844           Make typefind element example work again (#371894); add a
5845           license header.
5846
5847 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5848
5849         * docs/random/draft-missing-plugins.txt:
5850           Commit initial draft about how to deal with missing plugins,
5851           needs work (API too).
5852
5853 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
5854
5855         * docs/pwg/advanced-types.xml:
5856           documents the new caps elements (see #363118)
5857
5858 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5859
5860         * gst/gstplugin.c: (gst_plugin_load_file):
5861         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5862         (gst_file_src_map_region), (gst_file_src_start):
5863         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5864         (gst_file_index_commit):
5865           Use g_strerror() instead of strerror() - we want UTF-8.
5866
5867 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5868
5869         Patch by: Peter Kjellerstedt <pkj at axis com>
5870
5871         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5872           Another printf fix (#371493).
5873
5874 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5875
5876         * tests/check/gst/gsttag.c:
5877           relicence (okay with author=company)
5878
5879 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5880
5881         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5882         (gst_pad_push_event):
5883           Enhance debug and improve docs
5884         
5885         * gst/gsturi.c:
5886           Fix docs
5887
5888 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5889
5890         * docs/random/ensonic/distributed.txt:
5891         * docs/random/ensonic/profiling.txt:
5892           more ideas
5893
5894 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5895
5896         * docs/gst/gstreamer-sections.txt:
5897           add new API and fix the build
5898           
5899         * gst/gstbin.c: (gst_bin_recalc_state):
5900         * gst/gstelement.c: (gst_element_message_full),
5901         (gst_element_get_state_func), (gst_element_set_state_func):
5902           use new API and improve logging
5903         
5904         * gst/gstutils.c: (gst_element_state_change_return_get_name):
5905         * gst/gstutils.h:
5906           API: add function to get StateChangereturn names to improve logs 
5907
5908 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5909
5910         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5911           I'm considering shooting the next person to put strerror stuff
5912           in the translateable part of the message.
5913
5914 2006-11-03  Wim Taymans  <wim@fluendo.com>
5915
5916         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5917         Get the type and printf conversion specifiers right.
5918
5919 2006-11-03  Wim Taymans  <wim@fluendo.com>
5920
5921         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5922
5923         * gst/gstpad.c: (gst_pad_init), (pre_activate),
5924         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5925         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5926         Some small cleanups. Improve debugging.
5927         * gst/gstpad.h:
5928         Signal all waiting threads with a broadcast instead of just one.
5929         Fixes #369942.
5930
5931 2006-11-03  Wim Taymans  <wim@fluendo.com>
5932
5933         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5934         (gst_fd_src_create):
5935         Add some debugging. 
5936         Only update fd when it's different from the old.
5937
5938 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5939
5940         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5941           Printf fixes for PPC/OSX, take two (#369366).
5942
5943 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5944
5945         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
5946
5947         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5948         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5949         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5950           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5951           don't cast to long long for portability reasons, but use
5952           GLib's types instead.
5953
5954 2006-10-30  Michael Smith  <msmith@fluendo.com>
5955
5956         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5957           Get the arguments to lseek() the right way around.
5958           Fixes 367677.
5959
5960 2006-10-30  Wim Taymans  <wim@fluendo.com>
5961
5962         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5963
5964         * gst/gstinfo.h:
5965         _declspec should be __declspec (two underscores, not one). Fixes 366572.
5966
5967 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5968
5969         Patch by: Kjartan Maraas  <kmaraas at gnome org>
5970
5971         * docs/design/part-MT-refcounting.txt:
5972         * docs/random/wtay/capsnego2-docs:
5973         * gst/gstclock.c:
5974         * gst/gstxml.c:
5975           Typo fixes (#366212).
5976
5977 2006-10-28  Wim Taymans  <wim@fluendo.com>
5978
5979         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5980
5981         * gst/gst.c:
5982         * win32/common/libgstbase.def:
5983         * win32/common/libgstreamer.def:
5984         * win32/vs8/libgstbase.vcproj:
5985         * win32/vs8/libgstcontroller.vcproj:
5986         Add needed entries in .def files.
5987         Use HAVE_UNISTD_H.
5988         Rearrange def files in vs8 solutions. Fixes #366286.
5989
5990 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5991
5992         * win32/common/gstconfig.h:
5993           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5994           hand-made win32 gstconfig.h. Fixes #366321.
5995
5996 2006-10-27  Wim Taymans  <wim@fluendo.com>
5997
5998         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5999         (gst_ghost_pad_new_full):
6000         Make acceptcaps return TRUE when we don't have a target, just like
6001         setcaps does.
6002
6003 2006-10-27  Wim Taymans  <wim@fluendo.com>
6004
6005         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6006         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6007
6008 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6009
6010         * gst/gststructure.c: (gst_structure_id_set_value):
6011           If someone tries to set a non-UTF8 string field on a structure,
6012           don't just print a warning, but also ignore the request and do
6013           not change/add that field to the structure.
6014
6015         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6016           Test for the above.
6017
6018 2006-10-25  David Schleef  <ds@schleef.org>
6019
6020         * gst/gstinfo.c:
6021           g_hash_table_insert() needs a cast to a non-const pointer duh.
6022
6023 2006-10-25  David Schleef  <ds@schleef.org>
6024
6025         * gst/gstinfo.c:
6026         * gst/gstinfo.h:
6027           Change name parameter of _gst_debug_register_funcptr to const
6028           to reflect the constness of its use in the function as well
6029           as to quiet a gcc warning.
6030
6031 2006-10-25  Edward Hervey  <edward@fluendo.com>
6032
6033         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6034         Don't push the buffer if it's empty.
6035         Closes #363095
6036
6037 2006-10-24  Wim Taymans  <wim@fluendo.com>
6038
6039         * gst/gstevent.h:
6040         Add small comment.
6041
6042         * libs/gst/base/gstbasetransform.c:
6043         (gst_base_transform_sink_eventfunc):
6044         Debug segment values *after* updating them as this is more
6045         interesting.
6046
6047 2006-10-23  Wim Taymans  <wim@fluendo.com>
6048
6049         * docs/design/part-events.txt:
6050         Update some docs.
6051
6052         * docs/design/part-block.txt:
6053         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6054         (gst_pad_push_event):
6055         Revert BLOCKING patch, it tries to be smart without really having a
6056         clear idea what or how. So, now we discard all FLUSHING events again on
6057         a blocking pad. Should fix gnonlin again.
6058
6059 2006-10-23  Wim Taymans  <wim@fluendo.com>
6060
6061         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6062
6063         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6064         (gst_base_src_start), (gst_base_src_activate_push):
6065         Make sure size is always initialized. Fixes #364388.
6066
6067 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
6068
6069         * docs/random/ensonic/distributed.txt:
6070           add some ideas about doing distributed processing
6071
6072         * docs/random/ensonic/profiling.txt:
6073           get_rusage look promising
6074
6075 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6076
6077         * docs/manual/basics-helloworld.xml:
6078           Add a cast in example to fix compile warning
6079
6080 2006-10-18  Wim Taymans  <wim@fluendo.com>
6081
6082         * gst/gstsegment.c: (gst_segment_set_last_stop),
6083         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6084         Relax arg checking again, -1 is allowed.
6085
6086 2006-10-18  Wim Taymans  <wim@fluendo.com>
6087
6088         * gst/gstsegment.c: (gst_segment_set_last_stop),
6089         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6090         _set_last_stop() must be with a value != -1
6091         A _TYPE_SET to -1 means seek to 0.
6092         Calc last_stop correctly for negative rates.
6093         Make sure we work with positive durations when updating a segment.
6094
6095 2006-10-18  Wim Taymans  <wim@fluendo.com>
6096
6097         * docs/design/part-live-source.txt:
6098         * gst/gstclock.h:
6099         Small docs fixes.
6100
6101 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
6102
6103         * gst/gstbuffer.h:
6104           Add an explicit cast to GstBuffer** to keep old code that added an
6105           explicit cast to GstMiniObject** for gst_mini_object_replace()
6106           compiling without warning.
6107
6108 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6109
6110         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6111           check for validity of dates
6112
6113 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6114
6115         * docs/gst/gstreamer-sections.txt:
6116           Forgot this one, makes gtk-doc shut up.
6117
6118 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6119
6120         Patch by: Peter Kjellerstedt <pkj at axis com>
6121
6122         * gst/gstobject.h:
6123           Don't define xmlNodePtr to gpointer if the core was built with
6124           --disable-loadsave and --disable-registry, this will break
6125           applications that want to use libxml2 but are buildling against a
6126           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6127           instead so we don't have to mess with the libxml2 namespace
6128           (#361675).
6129
6130 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6131
6132         * gst/gstbuffer.h:
6133           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6134           type-punned pointer warnings.
6135
6136 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6137
6138         * gst/gstelement.h:
6139           Add casts to the correct return type to state <=> state transition
6140           macros.
6141
6142 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
6143
6144         * docs/design/part-live-source.txt:
6145           describe howto handle latency
6146         
6147         * docs/random/ensonic/profiling.txt:
6148           more ideas
6149
6150         * tools/gst-plot-timeline.py:
6151           fix log parsing for solaris, remove unused function
6152
6153 2006-10-16  Wim Taymans  <wim@fluendo.com>
6154
6155         * docs/design/part-trickmodes.txt:
6156         * gst/gstevent.c:
6157         Update some docs regarding reverse playback.
6158
6159 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6160
6161         Patch by: Marcus Granado  <mrc dot gran at gmail com>
6162
6163         * win32/vs8/grammar.vcproj:
6164           Error out with a warning if glib-genmarshal.exe is not in path,
6165           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6166
6167 2006-10-13  Wim Taymans  <wim@fluendo.com>
6168
6169         * gst/gstsegment.c: (gst_segment_set_seek):
6170         When seeking to stop -1, set last_stop (current position) to the
6171         duration of the segment.
6172
6173 2006-10-13  Wim Taymans  <wim@fluendo.com>
6174
6175         * gst/gstelement.h:
6176         Clarify _NO_PREROLL a bit more.
6177
6178         * gst/gstevent.c:
6179         Fix docs.
6180
6181         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6182         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6183         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6184         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6185         due to wrong locking order. Fixes #361769.
6186         Remove some redundant/misplaced checks in pad_block.
6187
6188         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6189         For negative rates, count backwards from the duration.
6190
6191 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6192
6193         * gst/gsterror.c: (_gst_library_errors_init):
6194           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6195           up with something better).
6196
6197 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6198
6199         * win32/vs6/libgstreamer.dsp:
6200         * win32/vs7/libgstreamer.vcproj:
6201         * win32/vs8/libgstreamer.vcproj:
6202           Don't reference glib-compat.c which is currently not used and not
6203           disted; add gstquark.c which was recently added. Fixes #361730.
6204
6205 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6206
6207         * win32/common/libgstbase.def:
6208         * win32/common/libgstcontroller.def:
6209         * win32/common/libgstreamer.def:
6210           Add gst_caps_merge() and a bunch of other recently-added functions.
6211           Fixes #361732.
6212
6213 2006-10-11  Wim Taymans  <wim@fluendo.com>
6214
6215         * docs/plugins/gstreamer-plugins.args:
6216         * docs/plugins/inspect/plugin-coreelements.xml:
6217         * docs/plugins/inspect/plugin-coreindexers.xml:
6218         Update element args.
6219
6220         * gst/gstsystemclock.c:
6221         Small comment update.
6222
6223         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6224         (gst_tee_request_new_pad), (gst_tee_release_pad),
6225         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6226         (gst_tee_sink_activate_pull):
6227         * plugins/elements/gsttee.h:
6228         Some tee loving:
6229         Add default property defines.
6230         Implement release pad function.
6231         Give properties better blubs etc.
6232         Activate pads before adding them to a running tee.
6233         Do simple buffer_alloc on the first requested pad.
6234         Post error when activation fails.
6235
6236 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6237
6238         * gst/gst.c: (ensure_current_registry_forking):
6239           Check return value of write() to make compiler happy.
6240
6241 2006-10-11  Wim Taymans  <wim@fluendo.com>
6242
6243         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6244
6245         * plugins/elements/gstqueue.c: (gst_queue_chain):
6246         Recheck queue filledness after signalling the overrun when we're about
6247         to leak downstream because we released the lock when emitting the signal
6248         and the queue could be empty again. Fixes #352345.
6249
6250 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6251
6252         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6253           Fix refcounting here too, just like we did for _new_valist() a few
6254           days ago (#357180) (thanks to René Stadler). Also remove all those
6255           'Since: 0.9' from the gtk-doc blobs.
6256
6257         * tests/check/libs/controller.c: (controller_refcount_new_list),
6258         (gst_controller_suite):
6259           Unit test for the above.
6260
6261 2006-10-10  Wim Taymans  <wim@fluendo.com>
6262
6263         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6264
6265         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6266         (gst_pad_save_thyself):
6267         Update some docs.
6268         Write pad direction in XML output. Fixes #345496.
6269
6270 2006-10-10  Wim Taymans  <wim@fluendo.com>
6271
6272         Patch by: René Stadler <mail at renestadler dot de>
6273
6274         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6275         (gst_controller_new_list), (_gst_controller_dispose),
6276         (_gst_controller_finalize), (_gst_controller_class_init):
6277         Take ref to controlled object so that it cannot disappear. 
6278         Fixes #357432.
6279
6280 2006-10-10  Wim Taymans  <wim@fluendo.com>
6281
6282         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6283         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6284         (gst_check_teardown_sink_pad):
6285         Activate/deactivate pads in setup/teardown respectively.
6286
6287 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6288
6289         Patch by: Josep Torre Valles <josep@fluendo.com>
6290
6291         * gst/Makefile.am:
6292         Cast values when making gstenumtypes.h.  This pacifies Forte
6293         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6294         in the enumeration.
6295
6296 2006-10-09  Wim Taymans  <wim@fluendo.com>
6297
6298         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6299         Rename some more @cur to @start to fix docs. 
6300
6301         * gst/gstsegment.c: (gst_segment_set_seek):
6302         Fix typo.
6303         time and start must always stay in sync as defined in design doc.
6304
6305         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6306         Rename param to fix docs.
6307
6308         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6309         Check that start and time are in sync.
6310
6311         * tests/check/pipelines/parse-launch.c:
6312         (gst_parse_test_element_change_state):
6313         Activate pad before adding to the element.
6314
6315 2006-10-09  Wim Taymans  <wim@fluendo.com>
6316
6317         * docs/design/part-qos.txt:
6318         Fix typo.
6319
6320         * gst/gstevent.c:
6321         * gst/gstevent.h:
6322         Update seek event docs regarding negative rates.
6323         Rename @cur to @start. 
6324
6325         * gst/gstsegment.c: (gst_segment_set_seek):
6326         * gst/gstsegment.h:
6327         Update set_seek docs regarding negative rates.
6328         Correctly update last_stop to @stop when dealing with negative
6329         rates.
6330         Rename @cur to @start. 
6331
6332         * tests/check/gst/gstpad.c: (GST_START_TEST):
6333         Activate pads before trying to use them.
6334
6335         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6336         (gst_segment_suite):
6337         Add simple check for segments and negative rates.
6338
6339 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6340
6341         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6342         * gst/gsttaglist.h:
6343         * docs/gst/gstreamer-sections.txt:
6344           API: add gst_tag_list_is_empty() (#360467).
6345
6346         * tests/check/gst/gsttag.c: (GST_START_TEST):
6347           And a test case.
6348
6349 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6350
6351         * gst/gstmessage.h:
6352         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6353         a value that doesn't fit on enumeration.
6354
6355 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6356
6357         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6358         Remove local debugging system and use Gstreamer's instead.
6359
6360 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6361
6362         Patch by: Josep Torre Valles <josep@fluendo.com>
6363
6364         * common/m4/gst-error.m4:
6365         Disable warning of statement not reached on Forte.
6366         * gst/gstmessage.h:
6367         Fix warning on Forte (value doesn't fit on enumeration).
6368         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6369         Fix warning on Forte (value doesn't fit on enumeration).
6370         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6371         DEBUG macro says it takes minimum of 2 args and so Forte
6372         complains about the use with just 1 arg.
6373         * plugins/elements/gstfdsink.c:
6374         * plugins/elements/gstfdsrc.c:
6375         * plugins/elements/gstfilesink.c:
6376         * plugins/elements/gstfilesrc.c:
6377         Use correct return type for the uri handler implementations.
6378
6379         All these fix warnings in Forte.  Fixes bug #360860.
6380
6381 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6382
6383         * gst/gstelement.h:
6384           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6385           format string, so don't use G_GNUC_PRINTF for those versions.
6386
6387 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6388
6389         * gst/gsttaglist.c: (gst_is_tag_list):
6390         * gst/gsttaglist.h:
6391           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6392
6393         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6394           Small test for the above.
6395
6396 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6397
6398         * gst/gsttaglist.h:
6399           Less tabs, more spaces.
6400
6401 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
6402
6403         * gst/gstinfo.h:
6404           Those two function declarations do actually belong there, revert
6405           commit from yesterday that turned them intro macros.
6406
6407 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6408
6409         Patch by: Josep Torre Valles <josep@fluendo.com>
6410
6411         * gst/gst.c: (gst_init_get_option_group):
6412         Fix empty declaration and type mismatch.
6413         * gst/gstbin.c: (gst_bin_change_state_func):
6414         Fix type mismatch.
6415         * gst/gstelement.c: (gst_element_continue_state),
6416         (gst_element_set_state_func), (gst_element_change_state),
6417         (gst_element_change_state_func):
6418         Fix type mismatches.
6419         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6420         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6421         Cast as appropriate.
6422         * gst/gstobject.c: (gst_class_signal_connect):
6423         Cast as appropriate.  The function pointer parameter really
6424         has the wrong type but would break API if we change it.
6425         * gst/gstquery.c:
6426         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6427         order of including string.h.
6428         * gst/gstutils.c: (gst_element_state_get_name):
6429         Remove unreachable line.
6430         * gst/gstxml.c: (gst_xml_parse_doc):
6431         Fix type mismatch.
6432         All these caught by Forte.
6433
6434 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6435
6436         Patch by: Josep Torre Valles <josep@fluendo.com>
6437
6438         * common/m4/gst-error.m4:
6439         Fixed bug #360151.
6440         We need to disable warnings on Forte for empty declarations
6441         due to gst-indent adding ;s to lines that just use macros
6442         where the macro actually doesn't need a ; at end to end
6443         statement.
6444
6445 2006-10-06  Wim Taymans  <wim@fluendo.com>
6446
6447         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6448         (gst_file_sink_close_file), (gst_file_sink_event),
6449         (gst_file_sink_render):
6450         Add some FIXME for the NEWSEGMENT handling.
6451
6452 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6453
6454         * gst/parse/grammar.y:
6455         Remove static function gst_parse_element_lock as all it does
6456         is return.  Looks like cruft from 0.8.
6457
6458 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6459
6460         Patch by: Josep Torre Valles <josep@fluendo.com>
6461
6462         * common/m4/gst-error.m4:
6463         * configure.ac:
6464         * libs/gst/net/Makefile.am:
6465         Fix a compilation issue with Forte on Solaris.  inet_aton is in
6466         libresolv.
6467
6468 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6469
6470         * gst/gstpad.c: (pre_activate):
6471         * gst/gstregistry.c: (gst_registry_scan_path_level):
6472         * gst/gstregistryxml.c: (load_plugin):
6473         * libs/gst/controller/gstcontroller.c:
6474         (gst_controlled_property_set_interpolation_mode):
6475         * libs/gst/dataprotocol/dataprotocol.c:
6476         (gst_dp_packet_from_event_1_0):
6477         * libs/gst/net/gstnetclientclock.c:
6478         (gst_net_client_clock_observe_times):
6479         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6480           Printf fixes.
6481
6482 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6483
6484         * configure.ac:
6485         * docs/gst/gstreamer-sections.txt:
6486         * gst/gstconfig.h.in:
6487         * gst/gstelement.h:
6488         * gst/gstinfo.h:
6489           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6490           whether we can use G_GNUC_PRINTF in other header files and at
6491           least check the printf format/arguments of debug messages and
6492           GST_ELEMENT_ERROR messages when the printf extension is not
6493           being used.
6494           Replace more tabs with spaces in gstinfo.h and remove two spurious
6495           function declarations in GST_DISABLE_DEBUG part with macros.
6496
6497 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6498
6499         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6500           More docs for the sync-message signal (mention that it is not
6501           emitted by default); log message structures of messages posted on
6502           the bus as well.
6503
6504 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
6505
6506         * gst/gst.c: (ensure_current_registry_forking):
6507         Use a pipe pair to receive status results from the forked child, and
6508         ignore the result from waitpid. Fixes #355499
6509
6510 2006-10-02  Wim Taymans  <wim@fluendo.com>
6511
6512         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6513         (gst_ghost_pad_suite):
6514         Fix leak in check.
6515
6516 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6517
6518         * gst/gstpad.c:
6519           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6520
6521 2006-10-02  Edward Hervey  <edward@fluendo.com>
6522
6523         * docs/design/part-block.txt:
6524         Further explain the use of flushing on blocked pads.
6525         * docs/gst/gstreamer-sections.txt:
6526         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6527         (gst_pad_push_event):
6528         * gst/gstpad.h:
6529         Added new GstPadFlag : GST_PAD_BLOCKING.
6530         Adds the notion of pads really blocking, which enables to properly
6531         handle FLUSH_START/FLUSH_STOP events on blocked pads.
6532         Fixes #358999
6533         API: gst_pad_is_blocking()
6534         API: GST_PAD_IS_BLOCKING() macro
6535         API: GST_PAD_BLOCKING GstPadFlag
6536         
6537 2006-10-02  Wim Taymans  <wim@fluendo.com>
6538
6539         Patch by: mrcgran <mrc.gran at gmail dot com>
6540
6541         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6542         Filter the proxied caps against the padtemplate if we have one.
6543
6544         * gst/gstquery.c: (gst_query_new_segment):
6545         Add include for gstinfo.h so that compilation with
6546         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6547
6548 2006-10-02  Wim Taymans  <wim@fluendo.com>
6549
6550         Patch by: Alessandro Decina  <alessandro at nnva org>
6551
6552         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6553         (gst_file_sink_set_location), (gst_file_sink_open_file),
6554         (gst_file_sink_close_file), (gst_file_sink_event),
6555         (gst_file_sink_render):
6556         Set file to NULL when closing filesink so that we can set a new filename
6557         in READY. Fixes #358613.
6558
6559 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6560
6561         Patch by: Alessandro Decina  <alessandro at nnva org>
6562
6563         * gst/gstevent.c: (_gst_event_copy):
6564           Fix gst_mini_object_make_writable() and gst_event_copy() for events
6565           with event structures by setting the parent refcount address of the
6566           copied structure to the address of the refcount member of the newly
6567           copied event rather than the address of the refcount member of the
6568           original event. Fixes #358737.
6569
6570         * tests/check/gst/gstevent.c: (GST_START_TEST):
6571           Unit test for the above.
6572
6573 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
6574
6575         * docs/design/Makefile.am:
6576           Dist some more files.
6577
6578 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6579
6580         * tests/check/libs/controller.c: (GST_START_TEST),
6581         (gst_controller_suite):
6582           Add test for the previous fix; add some more tests
6583           for correct refcounting behaviour; fix a few leaks
6584           in test cases; call gst_controller_init() at start
6585           of all tests.
6586
6587 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6588
6589         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6590         (gst_controller_set_from_list):
6591           Don't g_return_val_if_fail() on timed values with invalid timestamps
6592           inside a critical section without unlocking the mutex. Spotted by
6593           René Stadler. (#357617)
6594           Also, fix up refcounting properly: when returning an existing
6595           controller, we should increase the reference only once and not
6596           once per property and when trying to control a property again
6597           we should also increase the refcount.
6598
6599 2006-09-29  Wim Taymans  <wim@fluendo.com>
6600
6601         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6602         * libs/gst/net/gstnettimeprovider.c:
6603         (gst_net_time_provider_thread):
6604         Stop reading commands when EOF as well.
6605
6606         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6607         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6608         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6609         Unify description of the dump property.
6610
6611 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6612
6613         * tests/examples/manual/.cvsignore:
6614         OK, so it's actually cvsignore that needs changing. Stop laughing.
6615
6616 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6617
6618         * tests/examples/manual/Makefile.am:
6619         Gah, declare vars *before* using them
6620
6621 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6622
6623         * gst/gst.c: (init_pre), (scan_and_update_registry),
6624         (ensure_current_registry_nonforking),
6625         (ensure_current_registry_forking), (ensure_current_registry),
6626         (init_post), (gst_debug_help), (gst_deinit):
6627         * gst/gst_private.h:
6628         * gst/gstregistry.c: (gst_registry_finalize),
6629         (gst_registry_remove_features_for_plugin_unlocked),
6630         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6631         (gst_registry_scan_path),
6632         (_priv_gst_registry_remove_cache_plugins),
6633         (_priv_gst_registry_cleanup):
6634         * gst/gstregistry.h:
6635         Re-commit the registry changes, along with an extra fix:
6636           When a cached plugin is encountered at a different file path,
6637           update the stored path in the registry cache so that the parent
6638           process knows where it actually is now when it re-reads the registry
6639           cache. Fixes the thing that broke distcheck with the previous commit.
6640
6641         * tests/check/Makefile.am:
6642         Clean up files named 'core' too when running make clean.
6643
6644         * tests/examples/manual/Makefile.am:
6645         Set up a registry path for running these tests, and clean it properly
6646         for distcheck.
6647
6648 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6649
6650         * configure.ac:
6651         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6652         want gmodule-no-export-2.0.pc instead so that we don't drag in
6653         --export-dynamic on every project that links to GStreamer.
6654
6655         Also, make our export regex only match the start of symbols, rather 
6656         than any symbol that contains '_gst' somewhere.
6657
6658         * libs/gst/check/Makefile.am:
6659         The libgstcheck we build does however need export-dynamic, as it
6660         produces some symbols that don't match our _gst... style regex.
6661         Fixes: #318031
6662
6663 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6664
6665         * gst/gst.c: (init_pre), (scan_and_update_registry),
6666         (ensure_current_registry_nonforking),
6667         (ensure_current_registry_forking), (ensure_current_registry),
6668         (init_post), (gst_debug_help), (gst_deinit):
6669         * gst/gst_private.h:
6670         * gst/gstregistry.c: (gst_registry_finalize),
6671         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6672         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6673         (_gst_registry_cleanup):
6674         * gst/gstregistry.h:
6675           Revert previous change until I figure out why it breaks distcheck.
6676
6677 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6678
6679         * gst/gst.c: (init_pre), (scan_and_update_registry),
6680         (ensure_current_registry_nonforking),
6681         (ensure_current_registry_forking), (ensure_current_registry),
6682         (init_post), (gst_debug_help), (gst_deinit):
6683
6684           Make init_pre and init_post take the full complement of GOptionFunc
6685           args so they can return useful GErrors. Make the registry updating
6686           functions do so.
6687
6688           Call _priv_gst_registry_remove_cache_plugins after scanning files to
6689           ensure that the registry we're about to write out doesn't contain
6690           stale information about old-deleted plugin files.
6691
6692           Make _priv_gst_registry_remove_cache_plugins return a boolean so
6693           that deletion of plugin files is considered a registry change.
6694
6695         * gst/gst_private.h:
6696         * gst/gstregistry.c: (gst_registry_finalize),
6697         (gst_registry_remove_features_for_plugin_unlocked),
6698         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6699         (gst_registry_scan_path),
6700         (_priv_gst_registry_remove_cache_plugins),
6701         (_priv_gst_registry_cleanup):
6702         * gst/gstregistry.h:
6703         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6704         by adding _priv prefix, so that they won't appear in the global
6705         symbol table. They still do atm though because of #318031. Move the
6706         prototypes to gst_private.h
6707
6708         When removing a plugin, remove all features for that plugin too. 
6709         Fixes #340878.
6710
6711 2006-09-27  Wim Taymans  <wim@fluendo.com>
6712
6713         * docs/random/moving-plugins:
6714         Make it clear that the "compiled-in descriptions" really mean
6715         the element details.
6716
6717         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6718         (gst_base_sink_wait_preroll):
6719         Update docs.
6720
6721         * docs/libs/gstreamer-libs-sections.txt:
6722         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6723         (gst_base_src_get_range), (gst_base_src_activate_push):
6724         * libs/gst/base/gstbasesrc.h:
6725         Added function to block while waiting for PLAYING, this function
6726         is used by live sources that block on the clock.
6727         API: gst_base_src_wait_playing()
6728
6729 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6730
6731         Patch by: Peter Kjellerstedt <pkj at axis com>
6732
6733         * Makefile.am:
6734           gst-element-check.m4 is generated and should therefore be
6735           copied from the build dir rather than the source dir (#357593).
6736           'make distcheck' hasn't noticed this because we were disting
6737           the file as well, so stop doing that.
6738
6739 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6740
6741         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6742           Add some tests for gst_caps_intersect().
6743
6744         * tools/gst-launch.c: (event_loop):
6745           Print all buffering percentages we get, even the 100% one.
6746
6747 2006-09-26  Wim Taymans  <wim@fluendo.com>
6748
6749         * tools/gst-inspect.c: (print_element_properties_info),
6750         (print_signal_info):
6751         Fix printing of flags to match the look of enums.
6752
6753 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6754
6755         * gst/gstelementfactory.c:
6756           Fix typo in docs blurb.
6757
6758 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6759
6760         * gst/gsturi.c: (search_by_entry):
6761           Don't assert/crash here if a uri handler doesn't return any
6762           supported protocols. The list of protocols could be generated
6763           dynamically at runtime or at plugin registration, and an error
6764           in the underlying library shouldn't be fatal (#353301).
6765
6766 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6767
6768         * gst/gstinfo.c:
6769           Fix warning if HAVE_PRINTF_EXTENSION is undefined
6770           (spotted by Peter Kjellerstedt).
6771
6772 2006-09-23  Wim Taymans  <wim@fluendo.com>
6773
6774         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6775
6776         * libs/gst/base/gstbasesrc.c:
6777         (gst_base_src_default_check_get_range), (gst_base_src_start),
6778         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6779         (gst_base_src_change_state):
6780         Match _start/_stop calls in the activate functions. Remove redundant
6781         _stop call from the state change function. Fixes #356910.
6782         Turn failure DEBUG into ERROR. 
6783
6784 2006-09-22  Wim Taymans  <wim@fluendo.com>
6785
6786         * docs/design/part-buffering.txt:
6787         * gst/gstmessage.c: (gst_message_new_buffering),
6788         (gst_message_parse_buffering):
6789         Update docs about buffering.
6790
6791         * docs/design/part-trickmodes.txt:
6792         Fix typo.
6793
6794 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
6795
6796         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6797         (gst_controller_new_list):
6798           Ref instances when returning them again (fixes #357180)
6799
6800 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6801
6802         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6803           Don't forget to release proxy lock when there's an error.
6804
6805 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
6806
6807         * gst/gstcaps.h:
6808           Add extra initialisers for Caps things, to fix some plugin warnings
6809           when using -Wextra
6810
6811 2006-09-18  Wim Taymans  <wim@fluendo.com>
6812
6813         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6814           Also set template on the internal pad so that a getcaps from the 
6815           target pad returns the template caps.
6816
6817 2006-09-18  Wim Taymans  <wim@fluendo.com>
6818
6819         * gst/gstelement.c: (gst_element_post_message),
6820         (gst_element_dispose):
6821         Use _DEBUG_OBJECT some more.
6822
6823         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6824         Avoid typechecks.
6825
6826         * tools/gst-launch.c: (main):
6827         If the toplevel element is not a GstPipeline, it must be put in a
6828         pipeline so that a bus and clock is selected.
6829
6830 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6831
6832         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6833           JITTER, RATE, and LATENCY query should be handled by the
6834           default case and not by the CONVERT query code.
6835
6836 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6837
6838         * gst/gstformat.c: (gst_format_register):
6839           Fix locking order (must take lock before using n_values).
6840
6841         * gst/gstvalue.c: (gst_value_serialize_enum),
6842         (gst_value_deserialize_enum_iter_cmp),
6843         (gst_value_deserialize_enum):
6844           Fix serialisation/deserialisation of custom registered GstFormats.
6845
6846         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6847           Unit test for custom format serialisation/deserialisation.
6848
6849 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
6850
6851         * docs/pwg/building-boiler.xml:
6852         * plugins/elements/gstcapsfilter.c:
6853         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6854         section.
6855
6856 2006-09-16  Edward Hervey  <edward@fluendo.com>
6857
6858         * libs/gst/base/gstbasetransform.c:
6859         (gst_base_transform_buffer_alloc):
6860         Check if requested caps are the same as the sinks caps IF
6861         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6862         is FALSE.
6863         This fixes the renegotiation issues stated in #352827.
6864
6865 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6866
6867         * configure.ac:
6868         * docs/manual/advanced-autoplugging.xml:
6869         * tests/examples/Makefile.am:
6870         * tests/examples/manual/.cvsignore:
6871         * tests/examples/manual/Makefile.am:
6872         * tests/examples/manual/extract.pl:
6873           Extract the manual examples again like we used to do.
6874           Fix one of them.
6875
6876 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6877
6878         * win32/common/config.h:
6879           update for version
6880
6881 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
6882
6883         * gst/gsterror.c:
6884           Documents how to receive errors.
6885
6886 2006-09-15  Wim Taymans  <wim@fluendo.com>
6887
6888         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6889         (event_loop), (main):
6890         Added some comments here and there.
6891         Post an application message when an interrupt is caught instead of doing
6892         an uncontrolled state change.
6893         Clean up the event loop.
6894         Handle buffering messages, pause/resume the pipeline.
6895         Make shutdown because of an interrupt more reliable.
6896
6897 2006-09-15  Wim Taymans  <wim@fluendo.com>
6898
6899         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6900         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6901         (gst_base_sink_preroll_object):
6902         Make sure that our internal state is correct when we commit our state
6903         asynchronously. This solves a race where a state change to PLAYING
6904         could cause the sink to remain blocked in preroll in some situations.
6905
6906 2006-09-15  Wim Taymans  <wim@fluendo.com>
6907
6908         * tools/gst-inspect.c: (print_element_properties_info),
6909         (print_signal_info):
6910         List flags as hex so it's easier to deal with.
6911
6912 2006-09-15  Wim Taymans  <wim@fluendo.com>
6913
6914         * docs/libs/gstreamer-libs-sections.txt:
6915         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6916         (gst_base_sink_do_sync):
6917         * libs/gst/base/gstbasesink.h:
6918         Expose logic to wait for preroll so that subclasses such as audiosink
6919         can also use this method.
6920         API: gst_base_sink_wait_preroll()
6921
6922 2006-09-15  Wim Taymans  <wim@fluendo.com>
6923
6924         * gst/gstobject.c: (gst_object_set_parent):
6925         * gst/gstpipeline.c: (do_pipeline_seek):
6926         Small cleanups in docs and code.
6927
6928         * gst/gstsegment.c: (gst_segment_clip):
6929         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6930         if stop == start and start is in the segment, no clipping should be
6931         done. Also add a test for this.
6932
6933 2006-09-15  Wim Taymans  <wim@fluendo.com>
6934
6935         * docs/design/part-buffering.txt:
6936         * docs/gst/gstreamer-sections.txt:
6937         * gst/gstmessage.c: (gst_message_new_buffering),
6938         (gst_message_parse_buffering):
6939         * gst/gstmessage.h:
6940         Added methods to create and parse BUFFERING messages.
6941         Added preliminary docs about buffering.
6942         API: gst_message_new_buffering
6943         API: gst_message_parse_buffering
6944
6945 2006-09-06  Wim Taymans  <wim@fluendo.com>
6946
6947         * gst/gstbin.c:
6948         Update documentation.
6949
6950         * gst/gstelement.c: (gst_element_class_init),
6951         (gst_element_release_request_pad), (gst_element_set_clock),
6952         (gst_element_get_index), (gst_element_add_pad),
6953         (gst_element_remove_pad), (gst_element_get_random_pad),
6954         (gst_element_send_event), (gst_element_get_query_types),
6955         (gst_element_query), (gst_element_post_message),
6956         (gst_element_message_full), (gst_element_continue_state),
6957         (gst_element_lost_state), (gst_element_save_thyself),
6958         (gst_element_restore_thyself):
6959         Documentation updates.
6960         Rename last bit of the new-pad -> pad-added signal rename.
6961         Fix the case where an element query would only work if the source
6962         pad was linked.
6963         Avoid some useless type checking in message handling.
6964
6965         * gst/gstevent.c:
6966         * gst/gstevent.h:
6967         * gst/gstutils.c:
6968         Documentation updates.
6969
6970 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6971
6972         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6973           add an INFO line for when we actually update the fd
6974
6975 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6976
6977         * configure.ac:
6978           back to TRUNK
6979
6980 === release 0.10.10 ===
6981
6982 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
6983
6984         * configure.ac:
6985           releasing 0.10.10, "Pais"
6986
6987 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
6988
6989         * docs/manual/advanced-position.xml:
6990           Fix typo in sample code.
6991
6992 2006-09-05  Wim Taymans  <wim@fluendo.com>
6993
6994         * libs/gst/net/gstnetclientclock.c: (inet_aton),
6995         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6996         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6997         * libs/gst/net/gstnetclientclock.h:
6998         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6999         * libs/gst/net/gstnettimepacket.h:
7000         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7001         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7002         (gst_net_time_provider_thread), (gst_net_time_provider_new):
7003         * libs/gst/net/gstnettimeprovider.h:
7004         Make stuff compile on windows. Fixes #345295.
7005
7006 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7007
7008         * gst/gst.c: (ensure_current_registry_forking):
7009           Print better details when child was terminated by signal.
7010
7011 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7012
7013         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7014           Print a warning rather than g_assert() if a plugin feature
7015           is a URI handler but returns no protocols (#353976).
7016
7017 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
7018
7019         * docs/random/moving-plugins:
7020         Fix two typos.         
7021
7022 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7023
7024         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7025           Fix locking order, handle NULL function values properly.
7026
7027         * gst/gstinfo.h:
7028           Fix docs.
7029
7030         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7031           Initialise variable before using it and fix debug statement to
7032           print the address of the function rather than the address of the
7033           variable on the stack holding the address of the function.
7034
7035 2006-09-01  Wim Taymans  <wim@fluendo.com>
7036
7037         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7038         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7039         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7040         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7041         (gst_ghost_pad_parent_unset),
7042         (gst_ghost_pad_internal_do_activate_push),
7043         (gst_ghost_pad_internal_do_activate_pull),
7044         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7045         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7046         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7047         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7048         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7049         (gst_ghost_pad_new_no_target_from_template),
7050         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7051         More cleanups.
7052         Avoid needless typechecking in macros.
7053         Since the internal pad is always present and never changes, there is
7054         no need to locking or ref when retrieving it.
7055         Improve debugging a bit.
7056         Handle link errors when setting the target. Fixes #341029.
7057
7058 2006-09-01  Wim Taymans  <wim@fluendo.com>
7059
7060         * docs/libs/gstreamer-libs-sections.txt:
7061         * docs/plugins/gstreamer-plugins-sections.txt:
7062         Fix docs some more.
7063
7064         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7065         (gst_collect_pads_event):
7066         * libs/gst/base/gstcollectpads.h:
7067         Documentation updates.
7068         Free queued buffer when removing a pad.
7069
7070 2006-08-31  Michael Smith  <msmith@fluendo.com>
7071
7072         * gst/gstutils.c: (gst_element_link_pads),
7073         (gst_element_link_pads_filtered):
7074           Ensure that we set a capsfilter to NULL if we failed to link it
7075           when doing filtered linking, to avoid criticals.
7076
7077           No need to check for unreffing srcpad, which is explicly NULLed
7078           above (a trivial code cleanup).
7079
7080 2006-08-31  Wim Taymans  <wim@fluendo.com>
7081
7082         * docs/design/part-gstghostpad.txt:
7083         Update ascii art in documentation.
7084
7085         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7086         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7087         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7088         (gst_ghost_pad_internal_do_activate_push),
7089         (gst_ghost_pad_internal_do_activate_pull),
7090         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7091         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7092         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7093         (gst_ghost_pad_set_target):
7094         Small cleanups and leak fixes.
7095         Remove some checks now that the internal pad is never NULL.
7096         Fix the case where linking pads without a target would create nasty
7097         criticals. Fixes #341029.
7098         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7099         value of _set_target().
7100
7101         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7102         (gst_ghost_pad_suite):
7103         Some more tests for creating and linking untargeted ghostpads.
7104
7105 2006-08-31  Edward Hervey  <edward@fluendo.com>
7106
7107         * docs/gst/gstreamer-sections.txt:
7108         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7109         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7110         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7111         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7112         (gst_ghost_pad_new_from_template),
7113         (gst_ghost_pad_new_no_target_from_template):
7114         * gst/gstghostpad.h:
7115         Refactored *_new() functions.
7116         Templates are now used as a g_object_new() parameter.
7117         Use template in _do_getcaps() if we don't have a target.
7118         Small documentation cleanups.
7119         Added two new constructors:
7120         gst_ghost_pad_new_from_template()
7121         gst_ghost_pad_new_no_target_from_template()
7122         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7123         (gst_ghost_pad_suite):
7124         Added tests for new ghostpad instanciation functions.
7125
7126         API additions: gst_ghost_pad_new_from_template,
7127         gst_ghost_pad_new_no_target_from_template
7128
7129 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
7130
7131         * docs/random/ensonic/profiling.txt:
7132           Ideas about qos profiling.
7133
7134 2006-08-29  Wim Taymans  <wim@fluendo.com>
7135
7136         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7137         Code cleanups.
7138         Fix memleak.
7139
7140 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
7141
7142         * gst/gstxml.c:
7143           Improve and detypofy docs.
7144
7145         * tests/check/Makefile.am:
7146         * tests/check/gst/.cvsignore:
7147         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7148           Add a basic test suite for GstXML.
7149
7150 2006-08-29  Wim Taymans  <wim@fluendo.com>
7151
7152         * gst/gstelement.c: (activate_pads), (clear_caps),
7153         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7154         Clear the pad caps when the element shut down all of the pads and
7155         is not streaming data that could modify the caps. 
7156         Fixes #352958.
7157
7158 2006-08-28  Michael Smith  <msmith@fluendo.com>
7159
7160         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7161           Revert previous change; I misunderstood single-segment mode.
7162
7163 2006-08-28  Michael Smith  <msmith@fluendo.com>
7164
7165         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7166           Unset DISCONT on buffers when using single-segment mode.
7167
7168 2006-08-28  Wim Taymans  <wim@fluendo.com>
7169
7170         * gst/gstcaps.c: (gst_caps_merge_structure):
7171         * gst/gstcaps.h:
7172         Fix docs and indentation again.
7173
7174         * tests/check/gst/gstquery.c: (GST_START_TEST):
7175         Fix leak in tests and add some more tests.
7176
7177 2006-08-28  Edward Hervey  <edward@fluendo.com>
7178
7179         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7180         Inform GstSegment of the last stop position in order for the current
7181         segment to have a proper duration if it doesn't have a specific stop
7182         position from which a duration could be calculated.
7183         This bug was noticeable when a non-flushing, non-update new segment was
7184         followed by another segment (all buffers from the new segment were being
7185         dropped).
7186
7187 2006-08-28  Wim Taymans  <wim@fluendo.com>
7188
7189         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7190         Small comment update.
7191
7192         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7193         (gst_identity_transform_ip):
7194         Drop-probability is broken, mention this in the code with a 
7195         FIXME and also in the property description.
7196         Make silent also be silent about the drop messages.
7197
7198 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
7199
7200         * docs/manual/appendix-win32.xml:
7201           Remove mention of popt, we don't depend on that any
7202           longer (#353136). Add some comments pointing out that
7203           this section is slightly outdated.
7204
7205 2006-08-28  Wim Taymans  <wim@fluendo.com>
7206
7207         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7208
7209         * gst/gstquery.c: (gst_query_new_segment):
7210         * tests/check/gst/gstquery.c: (GST_START_TEST):
7211         Initialize variables when creating a new segment query.
7212         Fixes #353121.
7213
7214 2006-08-28  Wim Taymans  <wim@fluendo.com>
7215
7216         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7217
7218         * gst/gstelement.c: (gst_element_get_bus):
7219         * tests/check/gst/gstelement.c: (GST_START_TEST):
7220         Check for NULL before _reffing the bus. Fixes #353122.
7221
7222 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
7223
7224         * docs/manual/basics-bus.xml:
7225           Docs update: fix wrong callback return value explanation; add
7226           some lines about the implicit relationship between main loop
7227           and main context; remove duplicate main loop variable declaration.
7228
7229 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
7230
7231         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7232           Don't leak caps in unit test; add a few more simple
7233           checks. 
7234
7235 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
7236
7237         * docs/gst/gstreamer-sections.txt:
7238         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7239         (gst_caps_structure_is_subset), (gst_caps_merge),
7240         (gst_caps_merge_structure):
7241         * gst/gstcaps.h:
7242         * libs/gst/base/gstbasetransform.c:
7243         (gst_base_transform_transform_caps):
7244         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7245           implement caps merging (fixes #352580)
7246
7247 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
7248
7249         * tools/Makefile.am:
7250         * tools/gst-plot-timeline.py:
7251           add debug-log plotting developer tool (#340674)
7252
7253 2006-08-23  Wim Taymans  <wim@fluendo.com>
7254
7255         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7256         (gst_pad_stop_task):
7257         Improve debugging for task functions.
7258
7259         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7260         (gst_task_start), (gst_task_pause), (gst_task_join):
7261         Make sure that the task function started and finished after a 
7262         join(). 
7263         Don't try to push the task function on the threadpool multiple
7264         times.
7265         Improve the g_warning message with some useful suggestions
7266         about how to fix the problem. 
7267
7268 2006-08-23  Wim Taymans  <wim@fluendo.com>
7269
7270         * gst/gstutils.c: (gst_pad_proxy_getcaps):
7271         Handle RESYNC correctly in _proxy_getcaps.
7272
7273 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
7274
7275         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7276         (gst_xml_parse_memory), (gst_xml_get_element):
7277           Chain up to parent class in dispose function and also
7278           unref the elements in the toplevel_elements GList.
7279           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7280           Always return a reference in gst_xml_get_element() rather
7281           than only sometimes.
7282
7283         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7284           Don't leak GstXml object.
7285
7286 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
7287
7288         * docs/gst/gstreamer-sections.txt:
7289         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7290         (gst_caps_merge):
7291         * gst/gstcaps.h:
7292         * libs/gst/base/gstbasetransform.c:
7293         (gst_base_transform_transform_caps):
7294           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7295           in a better way
7296
7297 2006-08-21  Edward Hervey  <edward@fluendo.com>
7298
7299         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7300         Implement GObject::dispose virtual method in GstXML so we can free the
7301         top_elements GList.
7302
7303 2006-08-21  Wim Taymans  <wim@fluendo.com>
7304
7305         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7306         (gst_buffer_create_sub):
7307         Copy duration/offset_end/caps when creating a subbuffer of the
7308         complete parent.
7309         Make the subbuffer read-only when we make the metadata writable for
7310         now. Fixes #351768.
7311
7312         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7313         Added check for metadata copy when creating subbuffers.
7314
7315 2006-08-21  Edward Hervey  <edward@fluendo.com>
7316
7317         * libs/gst/base/gstbasetransform.c:
7318         (gst_base_transform_buffer_alloc):
7319         Only call downstream buffer_alloc if transform element is passthrough
7320         or always_in_place. Closes #350449.
7321
7322 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7323
7324         * ChangeLog:
7325           ChangeLog surgery to add comments to previous changes
7326
7327 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7328
7329         * gst/gst.c:
7330           Add comments
7331
7332         * gst/gstpad.c: (gst_pad_set_active):
7333           Be more verbose in the log
7334
7335         * libs/gst/base/gstbasetransform.c:
7336         (gst_base_transform_transform_caps):
7337           Simplify caps to get rid of duplicates, fixes #345444
7338
7339 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7340
7341         * gst/gstvalue.c:
7342         * gst/gstvalue.h:
7343           Use these optimizations only internally.
7344
7345 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7346
7347         * gst/gstvalue.c: (gst_value_compare_list),
7348         (gst_value_compare_fraction_range),
7349         (gst_value_intersect_fraction_fraction_range),
7350         (gst_value_intersect_fraction_range_fraction_range),
7351         (gst_value_subtract_fraction_fraction_range),
7352         (gst_value_subtract_fraction_range_fraction_range),
7353         (gst_value_get_compare_func), (gst_value_compare),
7354         (gst_value_compare_with_func):
7355         * gst/gstvalue.h:
7356           Saves the expensive lookup of the compare function in many cases
7357          (#345444)
7358
7359 2006-08-18  Edward Hervey  <edward@fluendo.com>
7360
7361         * tests/check/gst/gstinfo.c: (gst_info_suite):
7362         Disable test that require gstdebug if it wasn't built in core.
7363
7364 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7365
7366         * docs/random/ensonic/logging.txt:
7367           update ideas
7368           
7369         * gst/gstinfo.c: (gst_debug_log_default):
7370           reorder fields, save some columns, add optional color codes for log
7371           levels
7372
7373 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7374
7375         * docs/random/ensonic/logging.txt:
7376           add ideas about making the logs a bit more useful
7377
7378 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7379
7380         * docs/pwg/advanced-events.xml:
7381         * docs/pwg/titlepage.xml:
7382           Update for 0.10 API (#340627). Add myself
7383           to authors list.
7384
7385 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7386
7387         * docs/libs/gstreamer-libs-docs.sgml:
7388         * docs/libs/gstreamer-libs-sections.txt:
7389         * libs/gst/check/gstbufferstraw.c:
7390           Make gstcheck stuff show up in docs (still needs to
7391           be documented properly though).
7392
7393 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7394
7395         * docs/gst/gstreamer-sections.txt:
7396         * gst/Makefile.am:
7397         * gst/gst.c: (init_post):
7398         * gst/gst_private.h:
7399         * gst/gstquark.c: (_priv_gst_quarks_initialize):
7400         * gst/gstquark.h:
7401         * gst/gstquery.c: (gst_query_new_position),
7402         (gst_query_set_position), (gst_query_parse_position),
7403         (gst_query_new_duration), (gst_query_set_duration),
7404         (gst_query_parse_duration), (gst_query_new_convert),
7405         (gst_query_set_convert), (gst_query_parse_convert),
7406         (gst_query_new_segment), (gst_query_set_segment),
7407         (gst_query_parse_segment), (gst_query_new_seeking),
7408         (gst_query_set_seeking), (gst_query_parse_seeking):
7409         Add internal helpers for pre-registering quarks from static strings
7410         and using the quark values directly instead of looking them up when
7411         creating and parsing queries. Can be used for event construction too.
7412         Closes #350432.
7413
7414 2006-08-16  Wim Taymans  <wim@fluendo.com>
7415
7416         * gst/gstbin.c:
7417         Fix bogus docs.
7418
7419 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7420
7421         * gst/gstutils.c: (gst_util_set_value_from_string):
7422           Fix memleak (#351502).
7423
7424         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7425           Add unit test for most of gst_util_set_value_from_string()
7426           (not that one would want to encourage use of this function).
7427
7428 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7429
7430         * libs/gst/check/gstcheck.h:
7431           Use const gchar * variables in fail_unless_equals_string
7432           macro to avoid compiler warnings (and don't use tabs for
7433           indenting).
7434
7435 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7436
7437         * tools/gst-launch.c: (print_tag):
7438           More space on the left for the tag names, to cater
7439           for the 'extended comment' tag (not touching the
7440           string for the first line since it's translated).
7441
7442 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7443
7444         * libs/gst/check/gstcheck.h:
7445           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7446           print something when they fail.
7447
7448 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7449
7450         * docs/gst/gstreamer-sections.txt:
7451         * gst/gsttaglist.c: (_gst_tag_initialize):
7452         * gst/gsttaglist.h:
7453           API: add GST_TAG_EXTENDED_COMMENT (#350935).
7454           Also change merge function for GST_TAG_COMMENT to
7455           use_first.
7456
7457 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7458
7459         * gst/gstinfo.c: (gst_debug_print_object):
7460           Make GST_PTR_FORMAT print messages as well.
7461
7462         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7463         (GST_START_TEST), (gst_info_suite):
7464           More tests.
7465
7466 2006-08-14  Edward Hervey  <edward@fluendo.com>
7467
7468         * gst/gstelementfactory.c: (gst_element_register):
7469         If the GstElementClass doesn't have a GstElementDetails with all fields
7470         filled up correctly (longname, description AND author), then error out
7471         nicely instead of crashing.
7472
7473 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7474
7475         * gst/gststructure.c:
7476           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7477
7478         * gst/gstvalue.h:
7479           Expand on the difference between arrays and lists as we use them.
7480           
7481 2006-08-14  Wim Taymans  <wim@fluendo.com>
7482
7483         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7484         If the parent state change function failed, don't assume we can safely
7485         stop the source, this will be done when the pads are deactivated.
7486
7487 2006-08-14  Wim Taymans  <wim@fluendo.com>
7488
7489         * gst/gstbuffer.c:
7490         * gst/gsttask.c: (gst_task_join):
7491         Small doc updates.
7492
7493         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7494         (gst_pad_stop_task):
7495         When pad (de)activation failed for some reason, restore the old
7496         activation mode and set the pad to flushing instead of assuming the
7497         pad is deactivated.
7498         If the _task_join() failed, reinstall the task on the pad so that it can
7499         be stopped later and return an error.
7500
7501 2006-08-11  Andy Wingo  <wingo@pobox.com>
7502
7503         * configure.ac:
7504         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7505         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7506         is only for users of API that don't want to see deprecated
7507         functions in the headers; people that want to compile out
7508         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7509         CFLAGS. Fixes the build of multifdsink, or will soon..
7510
7511 2006-08-11  Wim Taymans  <wim@fluendo.com>
7512
7513         * docs/gst/gstreamer-sections.txt:
7514         Add GstClockClass vmethod docs.
7515
7516         * gst/gstcaps.h:
7517         Mark #endif with comment for associated #if
7518
7519         * gst/gstclock.c: (gst_clock_id_wait):
7520         * gst/gstclock.h:
7521         Add vmethod wait_jitter to avoid an unneeded _get_time() for
7522         most clock implementations.
7523         Document vmethods.
7524         Flesh out docs about resolution methods.
7525         API: GstClockClass::wait_jitter
7526
7527         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7528         (gst_system_clock_async_thread),
7529         (gst_system_clock_id_wait_jitter_unlocked),
7530         (gst_system_clock_id_wait_jitter):
7531         Use base class wait_jitter variant for improved performance
7532         due to less clock polling.
7533
7534 2006-08-11  Edward Hervey  <edward@fluendo.com>
7535
7536         * gst/gst.c: (gst_init_check), (init_post):
7537         Set gst as being initialized before scanning/updating the registry,
7538         since there might be my python plugin loader that calls gst_init() and
7539         we don't want to loop back in.
7540         Closes #350879
7541
7542 2006-08-11  Wim Taymans  <wim@fluendo.com>
7543
7544         * docs/design/part-qos.txt:
7545         Bring docs in line with the code. Mostly the sign of the jitter was
7546         wrong in the docs. Fixes #349943.
7547
7548         * gst/gstclock.c:
7549         Fix the docs for the jitter.
7550
7551         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7552         (gst_event_parse_tag), (gst_event_new_buffer_size),
7553         (gst_event_parse_buffer_size), (gst_event_parse_qos),
7554         (gst_event_new_seek), (gst_event_parse_seek),
7555         (gst_event_new_navigation):
7556         Make sure the GstStructure has no parent when creating custom
7557         events.
7558         Add some more argument checking so that we avoid 0.0 rates.
7559         Flesh out the docs for the QoS event some more.
7560
7561 2006-08-11  Wim Taymans  <wim@fluendo.com>
7562
7563         * docs/gst/gstreamer-sections.txt:
7564         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7565         (ensure_current_registry_forking), (ensure_current_registry),
7566         (parse_one_option), (parse_goption_arg), (gst_deinit),
7567         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7568         * gst/gst.h:
7569         Doc updates.
7570         Added API and command line option to disable registry forking in
7571         addition to the environment variable.
7572         Constify some static arrays.
7573         Added some more debug.
7574         Don't deinit twice.
7575         API: gst_registry_fork_is_enabled()
7576         API: gst_registry_fork_set_enabled()
7577         API: --gst-disable-registry-fork command line option
7578         Fixes #348918.
7579
7580 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
7581
7582         * gst/gst.c: (gst_init):
7583           Fix typo in error message.
7584
7585 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7586
7587         * libs/gst/controller/gstcontroller.h:
7588           fix ABI size-correction
7589
7590         * tests/check/libs/gdp.c: (gst_dp_suite):
7591           make tests that use deprecated API conditional
7592
7593 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7594
7595         * docs/libs/gstreamer-libs-sections.txt:
7596         * libs/gst/controller/gstcontroller.c:
7597         (_gst_controller_get_property), (_gst_controller_set_property),
7598         (_gst_controller_init), (_gst_controller_class_init):
7599         * libs/gst/controller/gstcontroller.h:
7600         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7601         (gst_object_set_control_rate):
7602           API: add gst_object_{s,g}et_control_rate(), add private data section,
7603           fix docs
7604
7605         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7606         * libs/gst/dataprotocol/dataprotocol.h:
7607           add deprecation guards to make gtk-doc happy and allow disabling cruft
7608
7609 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7610
7611         * tests/check/Makefile.am:
7612         * tests/check/gst/.cvsignore:
7613           Let's enable the new unit test as well.
7614
7615 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7616
7617         * configure.ac:
7618         * docs/gst/gstreamer-sections.txt:
7619         * gst/gstconfig.h.in:
7620         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7621         (_gst_info_printf_extension_ptr),
7622         (_gst_info_printf_extension_segment):
7623           API: add GST_SEGMENT_FORMAT, which is a printf extension we
7624           register that lets us easily dump GstSegments into debug
7625           logs (#350419).
7626
7627         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7628         (info_segment_format_printf_extension), (gst_info_suite):
7629           Add simple unit test that logs a bunch of different segments (not
7630           valgrinded at the moment because of leaks in
7631           gst_debug_add_log_function).
7632
7633 2006-08-09  Edward Hervey  <edward@fluendo.com>
7634
7635         * libs/gst/base/gstbasetransform.c:
7636         (gst_base_transform_buffer_alloc):
7637         Even if we can't figure out the proper format to request downstream,
7638         call buffer_alloc() downstream with the input parameters without setting
7639         the caps on the srcpad. This will force negotiation in the chain
7640         function.
7641         Closes #350449
7642
7643 2006-08-08  Edward Hervey  <edward@fluendo.com>
7644
7645         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7646         Unlinking from a pad without a target is now a perfectly valid case
7647         which should NOT raise an assertion.
7648         This case would happen if a linked ghostpad its target set to NULL after
7649         it was previously linked.
7650
7651 2006-08-08  Edward Hervey  <edward@fluendo.com>
7652
7653         * tests/check/libs/gdp.c:
7654         Also comment out the test (see below).
7655
7656 2006-08-08  Edward Hervey  <edward@fluendo.com>
7657
7658         * tests/check/libs/gdp.c: (gst_dp_suite):
7659         Use the architecture information from config.h and not gcc macros
7660         in order to properly disable a test that fails on PPC64.
7661
7662 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
7663
7664         * gst/gstelement.c: (gst_element_remove_pad):
7665           Don't crash printing the warning if the pad has no parent.
7666
7667 2006-08-02  Wim Taymans  <wim@fluendo.com>
7668
7669         * libs/gst/dataprotocol/dataprotocol.c:
7670         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7671         (gst_dp_crc), (gst_dp_header_payload_length),
7672         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7673         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7674         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7675         (gst_dp_event_from_packet), (gst_dp_validate_header),
7676         (gst_dp_validate_payload):
7677         Make debug category static
7678         Constify the crc table.
7679         Do some more arg checking in public functions.
7680         Fix some docs and do some small cleanups.
7681
7682         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7683         Add some more checks to see if GDP deals with bogus input.
7684
7685 2006-07-31  Wim Taymans  <wim@fluendo.com>
7686
7687         * gst/gstvalue.c: (gst_value_compare_list):
7688         Fix GstValueList comparison code. Fixes #347293.
7689
7690         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7691         Check to test GstValueList comparison.
7692
7693 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7694
7695         * gst/gstelementfactory.c: (gst_element_factory_create):
7696         Remove unnecessary ref/unref pair
7697
7698         * gst/parse/grammar.y:
7699         Make sure to free the parse buffer on all code paths.
7700         Move a g_free up to the error handler where it's easier to see.
7701
7702         * tests/check/gst/gstevent.c: (test_event):
7703         Extending timeout for downstream travelling events to 10 seconds to
7704         hopefully avoid intermittent failure on the buildbots.
7705
7706         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7707         Don't manually set the state of the src element - it will happen as a
7708         natural consequence of the pipeline changing state, and that way it
7709         will do it in the right order too.
7710
7711 2006-07-31  Wim Taymans  <wim@fluendo.com>
7712
7713         * libs/gst/base/gstbasetransform.c:
7714         (gst_base_transform_buffer_alloc):
7715         Use OBJECT_LOCK and refcounting to get the pad caps in the
7716         buffer_alloc function because the caps could change while we are
7717         busy with them. Fixes #349105
7718
7719 2006-07-31  Wim Taymans  <wim@fluendo.com>
7720
7721         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7722         Protect _PAD_CAPS with OBJECT_LOCK.
7723
7724 2006-07-31  Wim Taymans  <wim@fluendo.com>
7725
7726         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7727         (gst_pad_get_property), (gst_pad_activate_pull),
7728         (gst_pad_activate_push), (gst_pad_set_blocked_async),
7729         (gst_pad_set_activate_function),
7730         (gst_pad_set_activatepull_function),
7731         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7732         (gst_pad_set_getrange_function),
7733         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7734         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7735         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7736         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7737         (gst_pad_set_acceptcaps_function),
7738         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7739         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7740         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7741         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7742         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7743         (gst_pad_configure_sink), (gst_pad_configure_src),
7744         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7745         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7746         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7747         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7748         (gst_pad_send_event):
7749         Use _DEBUG_OBJECT when it makes sense.
7750         Protect GST_PAD_CAPS with the OBJECT_LOCK.
7751         Small cleanups and code reflows.
7752         Avoid caps refcounting in _accept_caps.
7753         Refactor alloc_buffer so that the code performed on the peer is in a
7754         separate function. Also if the pad does not implement a buffer alloc
7755         function, we should still check if the pad is flushing before falling
7756         back to the default allocator.
7757
7758 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7759
7760         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7761         Make all uses of identity and fakesink have silent=true to avoid
7762         serialising every passing data structure, which is breaking tests
7763         on FC4 for some unknown reason.
7764
7765 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7766
7767         * gst/parse/Makefile.am:
7768         * gst/parse/grammar.y:
7769         * gst/parse/parse.l:
7770           Reverted previous patch as it required to bump the flex dependency to
7771           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7772
7773 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7774
7775         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7776
7777         * gst/parse/Makefile.am:
7778         * gst/parse/grammar.y:
7779         * gst/parse/parse.l:
7780           push & pop the state of the lexer for reentrant use case
7781           Fixes #349180
7782
7783 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
7784
7785         * libs/gst/base/gstbasesrc.h:
7786           Note in the docs that the ::newsegment vfunc is not actually used by
7787           GstBaseSrc.
7788
7789 2006-07-28  Wim Taymans  <wim@fluendo.com>
7790
7791         * libs/gst/base/gstcollectpads.c:
7792         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7793         (gst_collect_pads_clear), (gst_collect_pads_flush),
7794         (gst_collect_pads_event), (gst_collect_pads_chain):
7795         When flushing a pad, also clear the queued buffer so that we don't
7796         accidentally use it when we shouldn't.
7797         Fix leaks by inreffing incomming buffer.
7798         Flush out queued buffers in case of errors.
7799         Fixes #347452.
7800
7801 2006-07-28  Wim Taymans  <wim@fluendo.com>
7802
7803         * docs/random/phonon-gst:
7804         Random notes about a Phonon backend.
7805
7806 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7807
7808         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7809         Extra debug output
7810         * tests/check/libs/gdp.c: (gst_dp_suite):
7811         Take a whack at fixing the ppc compile using a different define to
7812         disable the broken test.
7813
7814         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7815         Remove excess g_print()
7816
7817 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7818
7819         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7820         Oops, meant to uncomment this line too to dampen the noise a bit.
7821
7822 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7823
7824         * gst/parse/grammar.y:
7825         * gst/parse/parse.l:
7826         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7827         (GST_START_TEST), (parse_suite):
7828         Fix some of the leaks exposed by extending the parse-launch testsuite,
7829         and move the 3 I can't figure out into a separate test that won't run
7830         the pipelines unless the appropriate line is uncommented.
7831
7832 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7833
7834         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7835           Requesting 0 bytes before the end of the file should result in
7836           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7837           unit test.
7838
7839 2006-07-27  Wim Taymans  <wim@fluendo.com>
7840
7841         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7842         Fix useless assert, a uint is always positive.
7843
7844         * gst/gststructure.c: (gst_structure_nth_field_name),
7845         (gst_structure_foreach), (gst_structure_map_in_place):
7846         Check input arguments for public functions to avoid obvious crashes.
7847
7848         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7849         * plugins/elements/gstfakesink.h:
7850         Do less useless typechecking.
7851
7852 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7853
7854         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7855           Do not use mmap() by default since there are a number of error
7856           conditions that we would like to handle in a non-fatal way that
7857           will result in a SIGBUS if we use mmap(). Examples: external
7858           devices (USB harddrive, portable music player) being unplugged
7859           while in use; file on mounted CD/DVD that can't be read because
7860           the medium is partly damaged. Fixes #348455 and #348475.
7861
7862 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7863
7864         * gst/gstquery.h:
7865         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7866         rates are a gdouble
7867
7868 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
7869
7870         * gst/gstregistry.c:
7871           Move big documentation comment into class section header, so that it
7872           appears in the API docs.
7873
7874 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7875
7876         * docs/gst/gstreamer-sections.txt:
7877         Oops. Commit the docs additions too for new API.
7878         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7879
7880 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7881
7882         * gst/gststructure.c: (gst_structure_id_set),
7883         (gst_structure_id_set_valist):
7884         * gst/gststructure.h:
7885         Add API for setting values into structures without performing
7886         a quark lookup, if the appropriate quark is already known.
7887
7888         API: gst_structure_id_set
7889         API: gst_structure_id_set_valist
7890
7891         * gst/parse/grammar.y:
7892         * gst/parse/parse.l:
7893         Remove some dead code shown by the coverage information.
7894         Don't throw a critical g_warning when encountering a syntax error,
7895         just warn and let the normal error path handle it.
7896
7897         * plugins/elements/gstelements.c:
7898         Bump the rank of filesink up to PRIMARY so that it is preferred over
7899         gnomevfssink for file:// sink uri's
7900
7901         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7902         (GST_START_TEST), (run_delayed_test),
7903         (gst_parse_test_element_base_init),
7904         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7905         (gst_parse_test_element_change_state),
7906         (gst_register_parse_element), (parse_suite):
7907         Beef up the tests for parse syntax to check that more error cases
7908         fail as they are supposed to. Increases the test coverage a bit.
7909
7910 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7911
7912         * docs/manual/basics-elements.xml:
7913           Fix gst_element_link() example.
7914
7915         * gst/gstutils.c:
7916           Mention in API docs that one should usually gst_bin_add()
7917           elements to a bin or pipeline before doing the linking.
7918           
7919 2006-07-26  Wim Taymans  <wim@fluendo.com>
7920
7921         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7922         (gst_subbuffer_get_type), (gst_buffer_create_sub):
7923         Avoid function call for known types by keeping the buffer and
7924         subbuffer GType global.
7925
7926         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7927         Random silly optimisations in read() path.
7928
7929 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7930
7931         * tools/gst-launch.c: (main):
7932           If the top-level of the parse is a normal bin, it doesn't do the
7933           right logic to run as a top-level element, so place it inside a
7934           pipeline.
7935
7936 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7937
7938         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7939           Remove superfluous g_object_notify() calls, GObject does
7940           that for us automatically.
7941
7942 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
7943
7944         * gst/gstinfo.h:
7945           on Win32, use dllspec to export the debug category symbols
7946
7947 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
7948
7949         * gst/gsttaglist.c: (_gst_tag_initialize):
7950           Allow more than one GST_TAG_IMAGE per taglist.
7951
7952 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7953
7954         * gst/gstminiobject.c:
7955           update docs
7956         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7957         (gst_fd_src_create):
7958           log recurring events at LOG level
7959           add more debug for when the fd gets set
7960
7961 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7962
7963         * gst/gstparse.c: (gst_parse_launch):
7964           Also remove reentrance checks if flex is MT safe (#348179)
7965          Fix my empty ChangeLog entry below
7966
7967 2006-07-21  Andy Wingo  <wingo@pobox.com>
7968
7969         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7970
7971         * libs/gst/check/Makefile.am
7972         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7973         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
7974         * libs/gst/check/gstbufferstraw.h:
7975         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7976         functions, thus proving I am still a GStreamer haxor. OK I wrote
7977         them a long time ago, but anyways.
7978
7979 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7980
7981         * configure.ac:
7982         * gst/gstparse.c: (gst_parse_launch):
7983           Check for flex version and omit mutex if we have a MT save flex
7984           (fixes #348179)
7985
7986 2006-07-21  Wim Taymans  <wim@fluendo.com>
7987
7988         * gst/gstparse.c: (gst_parse_launch):
7989         Protect recursive calls to _parse with a recursive mutex
7990         and busy flag.
7991
7992 2006-07-21  Wim Taymans  <wim@fluendo.com>
7993
7994         * tests/check/gst/gstpad.c: (GST_START_TEST):
7995         Fix leak in test.
7996
7997 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
7998
7999         * gst/gstparse.c: (gst_parse_launch):
8000           Do not hang on recursive usage of gst_parse_launch()
8001
8002 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8003
8004         * gst/gsttaglist.c:
8005           Add some more docs, comments and FIXME 0.11s here and there
8006           and also fix some typos.
8007
8008 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8009
8010         * gst/gstsegment.h:
8011           Convert tabs to spaces for better readability. 
8012
8013 2006-07-20  Edward Hervey  <edward@fluendo.com>
8014
8015         * tests/check/libs/gdp.c: (gst_dp_suite):
8016         the test_buffer test fails at line 140 on ppc64 at the following
8017         check:
8018         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8019                 GST_BUFFER_FLAG_IN_CAPS),
8020                 "GST_BUFFER_IN_CAPS flag should have been copied !");
8021         See bug #348114 for more details.
8022
8023 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
8024
8025         * docs/pwg/advanced-scheduling.xml:
8026         * gst/gstpad.c:
8027           Fix typos (#348000).
8028
8029 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
8030
8031         * docs/pwg/intro-basics.xml:
8032           Fix wrong links (#347927).
8033
8034 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
8035
8036         * gst/gstregistry.h:
8037         * gst/gstregistryxml.c: (load_feature),
8038         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8039         * win32/common/config.h:
8040           make --disable-index work (#342564)
8041
8042 2006-07-18  Wim Taymans  <wim@fluendo.com>
8043
8044         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8045
8046         * gst/Makefile.am:
8047         * gst/gsttrace.h:
8048         The attached patch adds two missing defines to gsttrace.h when tracing
8049         is disabled.  It also corrects one existing define.
8050         Fixes #347756.
8051
8052 2006-07-17  Wim Taymans  <wim@fluendo.com>
8053
8054         * docs/gst/gstreamer-sections.txt:
8055         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8056         * gst/gst.h:
8057         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8058         Add two functions to check and change the SIGSEGV behaviour
8059         when loading plugins.
8060         Don't mess with the SIGSEGV handler when we were told not to.
8061         Fixes #347794.
8062         API: gst_segtrap_is_enabled
8063         API: gst_segtrap_set_enabled
8064
8065 2006-07-14  Wim Taymans  <wim@fluendo.com>
8066
8067         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8068         * tests/check/elements/filesrc.c: (GST_START_TEST):
8069         Revert fix for regression in #347408 after release.
8070
8071 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
8072
8073         Patch by: Antoine Tremblay <hexa00 at gmail com>
8074
8075         * gst/gstutils.c: (gst_element_unlink):
8076           Free iterator when done (#347311).
8077
8078         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8079           And add a test case for this.
8080
8081 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
8082
8083         * configure.ac:
8084         Bump nano back to CVS
8085
8086 === release 0.10.9 ===
8087
8088 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
8089
8090         * configure.ac:
8091           releasing 0.10.9, "On the road again"
8092
8093 2006-07-13  Wim Taymans  <wim@fluendo.com>
8094
8095         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8096         * tests/check/elements/filesrc.c: (GST_START_TEST):
8097         Revert pull-0 fix for release. Disable check. Fixes #347408.
8098
8099 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8100
8101         * libs/gst/dataprotocol/dataprotocol.c:
8102         (gst_dp_event_from_packet_1_0):
8103           Fixes #347337: failure to deserialize event packets with
8104           empty payload (only event type)
8105
8106 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8107
8108         * gst/Makefile.am:
8109           do not install a .c file in the header directory
8110
8111 2006-07-13  Edward Hervey  <edward@fluendo.com>
8112
8113         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8114         GhostPad no longer implicitely use the padtemplates of the targets.
8115         Fixes #347384
8116
8117 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
8118
8119         * gst/gstvalue.c: (gst_value_compare_list),
8120         (gst_value_compare_array), (_gst_value_initialize):
8121         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8122         Make GstValueArray comparison be order dependent as designed.
8123         Add checks for value lists and value array comparisons.
8124         Fixes #347221
8125
8126 2006-07-11  Edward Hervey  <edward@fluendo.com>
8127
8128         * gst/gstbin.c: (activate_pads),
8129         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8130         (gst_bin_change_state_func):
8131         (de)activate src pads before calling state_change on the childs.
8132         This is to avoid the case where a src ghostpad is blocked (holding the
8133         stream lock), which would block the deactivation of the ghostpad's
8134         target pad.
8135         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8136         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8137         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8138         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8139         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8140         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8141         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8142         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8143         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8144         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8145         (gst_ghost_pad_class_init),
8146         (gst_ghost_pad_internal_do_activate_push),
8147         (gst_ghost_pad_internal_do_activate_pull),
8148         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8149         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8150         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8151         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8152         GhostPads now create their internal GstProxyPad at creation (and not
8153         when they're linked, as it was being done previously).
8154         The internal and target pads are linked straight away.
8155         The data will also travel through the other pad in order to make
8156         pad blocking and probes non-hackish (the probe/block now really happens
8157         on the GhostPad and not on the target).
8158         * gst/gstpad.c: (gst_pad_set_blocked_async),
8159         (gst_pad_link_prepare), (gst_pad_push_event):
8160         Remove previous ghostpad cruft.
8161         * gst/gstutils.c: (gst_pad_add_data_probe),
8162         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8163         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8164         (gst_pad_remove_buffer_probe):
8165         Remove previous ghost pad cruft.
8166         Added more detailed debug statements.
8167         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8168         Fix the testsuite for refcounting changes.
8169         The comments about who has references were correct, but the refcount
8170         being checked wasn't the same (!?!).
8171
8172         Fixes #341029
8173
8174 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8175
8176         * docs/gst/gstreamer-sections.txt:
8177         * gst/gstconfig.h.in:
8178         More docs for configuration options, add docs to gtk-doc.
8179
8180 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8181
8182         * gst/Makefile.am:
8183         * gst/gstconfig.h.in:
8184         * win32/common/config.h:
8185         Fix build when disabling tracing (fixes #344016). Also start to document
8186         the defines that disable the sub-systems.
8187
8188 2006-07-10  Edward Hervey  <edward@fluendo.com>
8189
8190         * gst/gst.c: (ensure_current_registry_forking):
8191         let's make valgrind happy...
8192
8193 2006-07-09  Wim Taymans  <wim@fluendo.com>
8194
8195         * gst/gstelement.c: (activate_pads),
8196         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8197         Better pad activation code: Reset the collect value too on resync.
8198         Add some comments.
8199
8200 2006-07-09  Wim Taymans  <wim@fluendo.com>
8201
8202         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8203         (gst_pad_activate_push):
8204         Use some more macros where it makes sense.
8205         Allow pad mode switching instead of asserting. When a pad
8206         is activated in one mode and we activate it in another, 
8207         deactivate it first before activating it in a different mode.
8208         Fixes #329198.
8209
8210 2006-07-08  Andy Wingo  <wingo@pobox.com>
8211
8212         * tools/gst-launch.c (main): Handle err == NULL.
8213
8214         * gst/gst.c (init_post, ensure_current_registry)
8215         (ensure_current_registry_forking)
8216         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8217         factoring out the registry scanning into separate functions. Don't
8218         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8219         Better environment var name/interface suggestions accepted.
8220
8221 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8222
8223         * gst/gstobject.c: (gst_object_set_name_default),
8224         (gst_object_set_name):
8225           Random micro-optimisation: don't use a hash table
8226           with strings as keys and the usual strdup/strcmp
8227           involved, but rather just use the GQuark of the
8228           type name as key, since it needs to be looked up
8229           anyway to get the type name string.
8230
8231         * tests/check/gst/gstobject.c: (GST_START_TEST):
8232           Fix various leaks.
8233
8234 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8235
8236         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8237         (gst_bin_iterate_all_by_interface):
8238           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8239           GTypes are gulongs and thus the top 4 bytes might be cut
8240           off on some platforms when doing GPOINTER_TO_INT, leading
8241           to invalid GTypes and bad things happening (see RH bug #179654).
8242           Also add a check to make sure the type passed in is really
8243           an interface type.
8244
8245 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8246
8247         * .cvsignore:
8248           Ignore more.
8249
8250 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8251
8252         * Makefile.am:
8253         * configure.ac:
8254         * gst-element-check.m4:
8255         * gst-element-check.m4.in:
8256           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8257           instead of the unversioned gst-inspect (#324176, #168659).
8258
8259 2006-07-06  Wim Taymans  <wim@fluendo.com>
8260
8261         * gst/gstmessage.h:
8262         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8263         warnings.
8264
8265 2006-07-06  Wim Taymans  <wim@fluendo.com>
8266
8267         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8268         (gst_base_src_wait), (gst_base_src_update_length),
8269         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8270         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8271         (gst_base_src_loop), (gst_base_src_start),
8272         (gst_base_src_activate_pull):
8273         Update docs.
8274         blocksize == 0 now means the default blocksize when working in push
8275         based mode.
8276         Remove some pointless asserts in _wait function.
8277         Fix offset/length calculations and EOS handling. We can now pull 0
8278         bytes as well, which is allowed.
8279         use _check_get_range() to decide if we can operate in _pull based
8280         mode.
8281         Fix refcounting leak when check_get_range function was not 
8282         implemented.
8283         API GstBaseSrc::blocksize range can be 0 too now (default)
8284
8285         * tests/check/elements/filesrc.c: (GST_START_TEST),
8286         (filesrc_suite):
8287         Added check to test _get_range() behaviour.
8288
8289 2006-07-06  Wim Taymans  <wim@fluendo.com>
8290
8291         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8292         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8293         (gst_pad_pull_range):
8294         * gst/gstpad.h:
8295         Lots of comments and docs added to the pad functions.
8296         Flesh out the expected behaviour of the get_range() functions.
8297
8298 2006-07-06  Wim Taymans  <wim@fluendo.com>
8299
8300         * gst/gstbus.h:
8301         * gst/gstclock.h:
8302         * gst/gstevent.h:
8303         * gst/gstiterator.h:
8304         * gst/gstpad.h:
8305         * gst/gstplugin.h:
8306         * gst/gsttask.h:
8307         Remove comma at end of enumerator list. 
8308
8309 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
8310
8311         * win32/common/libgstbase.def:
8312         * win32/common/libgstdataprotocol.def:
8313         * win32/common/libsgtreamer.def:
8314         Add new exported functions.
8315
8316 2006-07-05  Wim Taymans  <wim@fluendo.com>
8317
8318         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8319         Add some more docs here and there.
8320
8321 2006-07-05  Wim Taymans  <wim@fluendo.com>
8322
8323         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8324         (gst_base_sink_loop), (gst_base_sink_get_position):
8325         When operating in pull mode update the offset so that we
8326         read sequentially.
8327
8328 2006-07-05  Wim Taymans  <wim@fluendo.com>
8329
8330         * gst/gstregistryxml.c: (read_string):
8331         Avoid strdup. (will happen in libxml, but hey!)
8332
8333         * gst/gsturi.c:
8334         Add some more docs.
8335
8336 2006-07-05  Wim Taymans  <wim@fluendo.com>
8337
8338         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8339         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8340         (gst_buffer_suite):
8341         No point in checking if the size of the subbuffer > 0, the
8342         code handles it correclty as demonstrated by unit test.
8343         Also add a unit test for the zero sized _new_and_alloc and
8344         _copy. Fixes #346663.
8345
8346 2006-07-05  Wim Taymans  <wim@fluendo.com>
8347
8348         * libs/gst/base/gstbasetransform.c:
8349         (gst_base_transform_prepare_output_buffer),
8350         (gst_base_transform_buffer_alloc),
8351         (gst_base_transform_handle_buffer):
8352         Make sure the buffer we pass to transform_ip has a refcount of
8353         1 and thus is writable. Fixes #343196
8354
8355 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
8356
8357         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8358         (gst_file_src_init), (gst_file_src_set_property),
8359         (gst_file_src_get_property), (gst_file_src_map_region):
8360         * plugins/elements/gstfilesrc.h:
8361         Add "sequential" property, off by default, to use madvise and hint
8362         to the kernel that sequential access is desired.
8363         Touch all retrieved pages by default to ensure they are pulled
8364         into memory. (Closes #345720)
8365
8366 2006-07-03  Wim Taymans  <wim@fluendo.com>
8367
8368         * docs/design/part-block.txt:
8369         * docs/design/part-dynamic.txt:
8370         Small docs updates.
8371
8372 2006-07-03  Wim Taymans  <wim@fluendo.com>
8373
8374         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8375         (gst_caps_unref), (gst_static_caps_get),
8376         (gst_caps_append_structure):
8377         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8378         Use GSlice when the glib we build against is >= 2.10
8379
8380 2006-07-03  Wim Taymans  <wim@fluendo.com>
8381
8382         * gst/gstelement.c: (gst_element_pads_activate):
8383         Small cleanup in pad activation code.
8384
8385 2006-07-03  Wim Taymans  <wim@fluendo.com>
8386
8387         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8388
8389         * gst/gst-i18n-app.h:
8390         * gst/gst-i18n-lib.h:
8391         * tools/gst-inspect.c: (print_signal_info):
8392         The attached patch will make the inclusion of gettext.h unconditional in
8393         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8394         libintl.h in tools/gst-inspect.c.
8395         This allows use of --disable-nls again and fixes #344642.
8396
8397 2006-07-03  Edward Hervey  <edward@fluendo.com>
8398
8399         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8400         Implement pad blocking on events according to part-block.txt.
8401         More comments on behaviour.
8402         * tests/check/gst/gstevent.c: (test_event):
8403         Send event to peer pad of blocked pad (else it will block).
8404
8405 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8406
8407         * libs/gst/check/gstcheck.c: (gst_check_message_error),
8408         (gst_check_run_suite):
8409           if we get the wrong message, give us the types as string
8410         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8411           Fix a translatable
8412         * tests/check/elements/filesrc.c: (GST_START_TEST):
8413           add a test for trying to open a non-existing file
8414
8415 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8416
8417         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8418           add a test for adding self
8419
8420 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8421
8422         * libs/gst/check/gstcheck.h:
8423           add some assert_ as alias for fail_unless_*
8424         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8425           increase test coverage
8426
8427 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8428
8429         * Makefile.am:
8430           include lcov.mak for lcov coverage generation
8431         * tools/Makefile.am:
8432           add to CLEANFILES
8433
8434 2006-07-02  Edward Hervey  <edward@fluendo.com>
8435
8436         * tests/check/elements/.cvsignore:
8437         moaping
8438
8439 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8440
8441         * configure.ac:
8442           don't set CFLAGS and friends for gcov, done from GST_GCOV now
8443         * tests/check/Makefile.am:
8444           clean up gcov files
8445
8446 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8447
8448         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8449           remove gst_caps_simplify; it was not declared and not used
8450           and deprecated in 0.8
8451
8452 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8453
8454         * docs/faq/gst-uninstalled:
8455           don't put empty paths on PYTHONPATH
8456         * docs/gst/gstreamer-sections.txt:
8457           remove some symbols that are not there
8458
8459 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8460
8461         * gst/gstcaps.c: (gst_caps_compare_structures):
8462           whitespace fixes
8463         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8464         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8465           add more tests
8466
8467 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8468
8469         * libs/gst/dataprotocol/Makefile.am:
8470           build dataprotocol test by linking to the lib, instead of
8471           compiling the source, so we get coverage
8472         * tests/check/Makefile.am:
8473         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8474         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8475           add a test for filesrc
8476
8477 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8478
8479         * tests/check/gst/gststructure.c: (GST_START_TEST),
8480         (gst_structure_suite):
8481           Push coverage from 59.04% to 70.00%
8482
8483 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8484
8485         * tests/check/Makefile.am:
8486           gst-inspect every element; this makes sure that we also get
8487           coverage on element's get/set functions
8488
8489 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8490
8491         * configure.ac:
8492           set CFLAGS and friends to -O0 if gcov is being used
8493           add GCOV LIBS
8494         * gst/Makefile.am:
8495         * libs/gst/base/Makefile.am:
8496         * libs/gst/check/Makefile.am:
8497         * libs/gst/controller/Makefile.am:
8498         * libs/gst/dataprotocol/Makefile.am:
8499         * libs/gst/net/Makefile.am:
8500         * plugins/elements/Makefile.am:
8501         * plugins/indexers/Makefile.am:
8502           add makefile rules to generate gcov data and clean up
8503         * tests/check/Makefile.am:
8504           add a coverage target that generates an html overview
8505           of coverage data
8506
8507 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8508
8509         * tests/check/elements/fakesink.c:
8510         * tests/check/elements/fakesrc.c:
8511         * tests/check/elements/fdsrc.c:
8512         * tests/check/elements/identity.c:
8513         * tests/check/generic/sinks.c: (gst_sinks_suite):
8514         * tests/check/generic/states.c:
8515         * tests/check/gst/gst.c:
8516         * tests/check/gst/gstabi.c:
8517         * tests/check/gst/gstbin.c:
8518         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8519         * tests/check/gst/gstbus.c: (gst_bus_suite):
8520         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8521         * tests/check/gst/gstelement.c:
8522         * tests/check/gst/gstevent.c: (gst_event_suite):
8523         * tests/check/gst/gstghostpad.c:
8524         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8525         * tests/check/gst/gstmessage.c: (gst_message_suite):
8526         * tests/check/gst/gstminiobject.c:
8527         * tests/check/gst/gstobject.c:
8528         * tests/check/gst/gstpad.c:
8529         * tests/check/gst/gstpipeline.c:
8530         * tests/check/gst/gstplugin.c:
8531         * tests/check/gst/gstquery.c: (gst_query_suite):
8532         * tests/check/gst/gstsegment.c: (gst_segment_suite):
8533         * tests/check/gst/gststructure.c:
8534         * tests/check/gst/gstsystemclock.c:
8535         * tests/check/gst/gsttag.c:
8536         * tests/check/gst/gsttask.c: (gst_task_suite):
8537         * tests/check/gst/gstutils.c:
8538         * tests/check/gst/gstvalue.c:
8539         * tests/check/libs/adapter.c:
8540         * tests/check/libs/basesrc.c:
8541         * tests/check/libs/collectpads.c:
8542         * tests/check/libs/controller.c:
8543         * tests/check/libs/gdp.c: (gst_dp_suite):
8544         * tests/check/libs/gstnetclientclock.c:
8545         * tests/check/libs/gstnettimeprovider.c:
8546         * tests/check/libs/libsabi.c: (libsabi_suite):
8547         * tests/check/libs/typefindhelper.c:
8548         * tests/check/pipelines/cleanup.c:
8549         * tests/check/pipelines/parse-launch.c:
8550         * tests/check/pipelines/simple-launch-lines.c:
8551         * tests/check/pipelines/stress.c: (stress_suite):
8552           use the new macro
8553
8554 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8555
8556         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8557         * libs/gst/check/gstcheck.h:
8558           create a macro and function so that the simple unit test
8559           case can be just one macro to create main()
8560
8561 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
8562
8563         * gst/gstbin.c: (gst_bin_restore_thyself):
8564         * gst/gstxml.c: (gst_xml_make_element):
8565           Fix deserialisation from XML. Set parent manually
8566           instead of using gst_bin_add(), since gst_bin_add()
8567           will unlink all pads of the element being added.
8568           Fixes #341667.
8569
8570 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
8571
8572         Patch by: Peter Kjellerstedt <pkj at axis com>
8573
8574         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8575           Fix missing g_strdup() and double free when using the
8576           --gst-plugin-load command line option (#346097).
8577
8578 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8579
8580         * gst/gstinfo.c:
8581           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8582
8583         * libs/gst/net/gstnetclientclock.c:
8584         * libs/gst/net/gstnettimeprovider.c:
8585           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8586
8587 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8588
8589         * docs/manual/advanced-dataaccess.xml:
8590           Fix buffer probe example compilation in
8591           ADM (#345708).
8592         
8593 2006-06-22  Edward Hervey  <edward@fluendo.com>
8594
8595         * gst/gstelement.c: (gst_element_pads_activate):
8596         We need to deactivate src pads first and then sink pads.
8597         The reason is the src pads might be blocking while holding the streaming
8598         lock, so we need to deactivate them first so that deactivating the sink
8599         pads doesn't block (since it will require the streaming lock).
8600
8601 2006-06-22  Wim Taymans  <wim@fluendo.com>
8602
8603         * libs/gst/base/gstbasetransform.c:
8604         (gst_base_transform_buffer_alloc):
8605         Forgot to remove two unneeded unrefs.
8606         Simplify a check _is_equal allready checks the obvious case.
8607
8608 2006-06-22  Wim Taymans  <wim@fluendo.com>
8609
8610         * docs/design/part-block.txt:
8611         Some docs about what pad_block should do.
8612
8613 2006-06-22  Wim Taymans  <wim@fluendo.com>
8614
8615         * gst/gstcaps.c: (gst_caps_replace):
8616         Fix crasher when passed NULL. Doc clarification.
8617         Optimize for the trivial case.
8618
8619         * gst/gstpipeline.c: (gst_pipeline_change_state):
8620         Small cleanups.
8621
8622         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8623         Small documentation cleanup.
8624
8625         * libs/gst/base/gstbasetransform.c:
8626         (gst_base_transform_buffer_alloc):
8627         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8628         is what we need and it avoids a whole lot of redundant 
8629         refcount operations.
8630
8631 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
8632
8633         Patch by: Philip Jägenstedt  <philip at lysator liu se>
8634
8635         * docs/manual/advanced-dataaccess.xml:
8636           Fix 'Embedding static elements' section to use
8637           GST_PLUGIN_DEFINE_STATIC (#345607).
8638
8639 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8640
8641         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8642           Attempt to 'fix' spuriously failing test case: it seems like the
8643           timeout of half a second is simply too small when the system is under
8644           load otherwise, and the timeout doesn't really seem to serve any
8645           particular purpose here. Give the pipeline a few seconds to preroll
8646           first, and then give it another half a second to go from PAUSED to
8647           PLAYING and marshal the message into the main thread.
8648
8649 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8650
8651         * tools/gst-feedback-m.m:
8652           Don't only use unversioned tools, try versioned tools as well
8653           (#345086).
8654
8655 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8656
8657         * gst/gstbus.c: (gst_bus_class_init):
8658           Fix some typos, make docs more explicit.
8659
8660 2006-06-20  Wim Taymans  <wim@fluendo.com>
8661
8662         * tests/check/gst/gstghostpad.c: (block_callback),
8663         (GST_START_TEST), (gst_ghost_pad_suite):
8664         Added some more ghostpad tests, mainly blocking
8665         and probes.
8666
8667 2006-06-16  Wim Taymans  <wim@fluendo.com>
8668
8669         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8670         (gst_file_sink_close_file), (gst_file_sink_do_seek),
8671         (gst_file_sink_event), (gst_file_sink_render):
8672         * plugins/elements/gstfilesink.h:
8673         Check if we can seek in the file instead of assuming
8674         we always can. Post an error when we are asked to seek in a
8675         non-seekable file (like a fifo). Fixes #343312.
8676         Some cleanups.
8677
8678 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8679
8680         * tools/gst-launch.1.in:
8681           Un-garble (fourcc) bit in filtered caps section.
8682
8683 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8684
8685         * docs/manual/advanced-autoplugging.xml:
8686         * docs/manual/basics-helloworld.xml:
8687         * docs/manual/highlevel-components.xml:
8688           Don't leak bus reference in sample code.
8689
8690 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
8691
8692         * autogen.sh:
8693           Add default for new --enable-plugin-docs switch.
8694
8695         * configure.ac:
8696           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8697           Fixes #344039.
8698
8699         * docs/Makefile.am:
8700           Use new ENABLE_PLUGIN_DOCS conditional.
8701
8702 2006-06-14  Wim Taymans  <wim@fluendo.com>
8703
8704         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8705         Make it clear with a FIXME and a real define what the #if 0
8706         previously disabled.
8707
8708 2006-06-14  Wim Taymans  <wim@fluendo.com>
8709
8710         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8711         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8712         * libs/gst/base/gstbasetransform.c:
8713         (gst_base_transform_sink_eventfunc):
8714         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8715         Don't randomly and silently reset a segment when the format 
8716         changes as this is a bug somewhere upstream. Fixes #330379.
8717
8718 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8719
8720         Patch by: Wouter Paesen  <wouter at kangaroot net>
8721
8722         * libs/gst/controller/gstcontroller.c:
8723         (gst_controlled_property_new):
8724           Fix controlling of float properties (#344849).
8725
8726         * tests/check/libs/controller.c:
8727         (gst_test_mono_source_get_property),
8728         (gst_test_mono_source_set_property),
8729         (gst_test_mono_source_class_init), (GST_START_TEST):
8730           While we're at it, add some float stuff to unit test.
8731
8732 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8733
8734         * docs/README:
8735         * docs/images/gdp-header.svg:
8736           add a gdp image
8737         * docs/libs/Makefile.am:
8738         * docs/libs/gdp-header.png:
8739         * libs/gst/dataprotocol/dataprotocol.c:
8740           add it to the API docs
8741         * docs/manual/intro-motivation.xml:
8742           fix typo
8743
8744 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8745
8746         * gst/gst.c: (scan_and_update_registry), (init_post):
8747           If the fork()'ed child process can't write the updated registry cache
8748           file to disk for some reason, make it exit with a failure exit code,
8749           so that the parent can then re-scan the plugins itself and update the
8750           registry structures in memory and work with that (rather than failing
8751           when creating elements because seemingly no plugins are available).
8752           Refactor registry scanning code into separate function for this and
8753           also separate fork() and non-fork() code paths. Fixes #344748.
8754
8755 2006-06-13  Wim Taymans  <wim@fluendo.com>
8756
8757         * docs/manual/advanced-dataaccess.xml:
8758         Fix wrong PluginDesc. Fixes #344755.
8759
8760 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8761
8762         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8763           Fix silly bug that prevented us from creating
8764           ~/.gstreamer-0.10 and writing the registry in one
8765           go (the first call to g_mkstemp() would overwrite the
8766           placeholder in the template string, so the second call
8767           to g_mkstemp() after creating the missing directory
8768           would then error out with 'invalid argument').
8769
8770 2006-06-13  Edward Hervey  <edward@fluendo.com>
8771
8772         * gst/gst.c: (init_post):
8773         Free string.
8774
8775 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8776
8777         * gst/glib-compat-private.h:
8778         * gst/glib-compat.c:
8779         * gst/glib-compat.h:
8780         * gst/gstvalue.c: (gst_value_serialize_flags):
8781           remove GLib 2.6 compatibility code
8782
8783 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
8784
8785         * gst/parse/Makefile.am:
8786           Fix build with 'make -j N' even more (#340016).
8787
8788 2006-06-12  Wim Taymans  <wim@fluendo.com>
8789
8790         * docs/gst/gstreamer-sections.txt:
8791         Fix docs.
8792
8793 2006-06-12  Wim Taymans  <wim@fluendo.com>
8794
8795         * gst/gstsegment.c: (gst_segment_set_duration),
8796         (gst_segment_set_last_stop), (gst_segment_set_seek),
8797         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8798         (gst_segment_to_running_time), (gst_segment_clip):
8799         Use G_UNLIKELY to help the compiler a bit.
8800
8801 2006-06-12  Wim Taymans  <wim@fluendo.com>
8802
8803         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8804
8805         * gst/gstevent.c: (gst_event_get_type):
8806         * gst/gstmessage.c:
8807         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8808         (gst_pad_push):
8809         constify quark registration strings. Fixes #344115
8810         Avoid unneeded type checking is _pad_push() by internally
8811         calling gst_pad_chain_unchecked().
8812
8813 2006-06-12  Wim Taymans  <wim@fluendo.com>
8814
8815         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8816         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8817         (gst_subbuffer_finalize), (gst_buffer_create_sub),
8818         (gst_buffer_is_span_fast), (gst_buffer_span):
8819         Init _type for consistency.
8820         Use _FLAGS macro to avoid type check.
8821         Avoid unneeded type checks in subbufer code.
8822
8823 2006-06-12  Wim Taymans  <wim@fluendo.com>
8824
8825         * gst/gst.c: (gst_debug_help):
8826         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8827         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8828         (gst_plugin_feature_list_free):
8829         * gst/gstregistry.c: (gst_registry_add_plugin),
8830         (gst_registry_add_feature), (gst_registry_plugin_filter),
8831         (gst_registry_feature_filter), (gst_registry_find_plugin),
8832         (gst_registry_find_feature), (gst_registry_get_plugin_list),
8833         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8834         * gst/gstregistryxml.c: (load_feature),
8835         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8836         * gst/gstminiobject.c: (gst_mini_object_unref),
8837         (gst_mini_object_replace), (gst_value_mini_object_free),
8838         (gst_value_mini_object_copy):
8839         Use _CAST macros to avoid unneeded type checking.
8840         Added some more G_UNLIKELY.
8841
8842 2006-06-12  Wim Taymans  <wim@fluendo.com>
8843
8844         * gst/gstbuffer.h:
8845         Avoid unneeded type checking.
8846         API: GST_BUFFER_IS_DISCONT
8847
8848         * gst/gstminiobject.h:
8849         Avoid type check in flag accessor.
8850
8851         * gst/gstelementfactory.h:
8852         * gst/gstplugin.h:
8853         * gst/gstpluginfeature.h:
8854         Add _CAST macros.
8855         API: GST_ELEMENT_FACTORY_CAST
8856         API: GST_PLUGIN_CAST
8857         API: GST_PLUGIN_FEATURE_CAST
8858
8859 2006-06-12  Wim Taymans  <wim@fluendo.com>
8860
8861         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8862         (gst_object_unref):
8863         Add G_UNLIKELY in type registration.
8864         Avoid type check in _ref/_unref since that is also
8865         done in glib.
8866
8867 2006-06-12  Wim Taymans  <wim@fluendo.com>
8868
8869         * gst/gsterror.c: (gst_g_error_get_type):
8870         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8871         (gst_static_pad_template_get_type):
8872         * gst/gsttaglist.c: (gst_tag_list_get_type):
8873         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8874         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8875         * gst/gsturi.c: (gst_uri_handler_get_type):
8876         * gst/gstvalue.c: (gst_date_get_type):
8877         * gst/gstxml.c: (gst_xml_get_type):
8878         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8879         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8880         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8881         Add G_UNLIKELY in type registration.
8882
8883 2006-06-12  Wim Taymans  <wim@fluendo.com>
8884
8885         * tools/gst-inspect.c: (print_signal_info):
8886         Properly print enum values.
8887
8888 2006-06-12  Wim Taymans  <wim@fluendo.com>
8889
8890         * gst/gstinfo.c: (gst_debug_set_active),
8891         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8892         * gst/gstinfo.h:
8893         Add some G_[UN]LIKELY.
8894         Maintain __gst_debug_min to avoid formatting the arguments of
8895         debug messages that will be dropped anyway to avoid a lot of 
8896         overhead from the debugging system.
8897
8898 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8899
8900         * po/POTFILES.in:
8901         * po/POTFILES.skip:
8902           add missing files containing translatable strings, tell intltool about
8903           one exception
8904
8905 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8906
8907         * tests/check/libs/.cvsignore:
8908         add test-binary to ignore list
8909
8910 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8911
8912         * docs/libs/gstreamer-libs-docs.sgml:
8913         reorder (put dp into a chapter) and indent
8914
8915 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8916
8917         * configure.ac:
8918           back to HEAD
8919
8920 === release 0.10.8 ===
8921
8922 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
8923
8924         * configure.ac:
8925           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8926
8927 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8928
8929         * gst/gst.c: (init_post):
8930           move pid declaration to declaration block
8931
8932 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8933
8934         * gst/gst.c: (init_post):
8935           use _exit() instead of exit() in our forked child; this ensures
8936           that none of the registered exit handlers from whatever is using
8937           GStreamer get executed.  This fixes gnome-mixer-applet failing
8938           to load, because ORBit would shut down.
8939           Spotted by: Edward Hervey  <edward@fluendo.com>
8940           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
8941           Fixes #344474
8942
8943 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8944
8945         * configure.ac:
8946           back to TRUNK
8947
8948 === release 0.10.7 ===
8949
8950 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
8951
8952         * configure.ac:
8953           releasing 0.10.7, "Soepeke, ik zie ou"
8954
8955 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8956
8957         * configure.ac:
8958         * po/af.po:
8959         * po/az.po:
8960         * po/bg.po:
8961         * po/ca.po:
8962         * po/cs.po:
8963         * po/de.po:
8964         * po/en_GB.po:
8965         * po/fr.po:
8966         * po/it.po:
8967         * po/nb.po:
8968         * po/nl.po:
8969         * po/ru.po:
8970         * po/sq.po:
8971         * po/sr.po:
8972         * po/sv.po:
8973         * po/tr.po:
8974         * po/uk.po:
8975         * po/vi.po:
8976         * po/zh_CN.po:
8977         * po/zh_TW.po:
8978         * win32/common/config.h:
8979           0.10.6.2 prerelease
8980
8981 2006-06-07  Wim Taymans  <wim@fluendo.com>
8982
8983         * gst/gstindex.c: (gst_index_gtype_resolver):
8984         * tools/gst-xmlinspect.c: (print_plugin_info):
8985         Fix leak spotted by coverity checker. Fixes #343827
8986         Fix another other leak found by paolo borelli.
8987
8988 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8989
8990         * libs/gst/dataprotocol/dataprotocol.c:
8991         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8992         (gst_dp_version_get_type), (gst_dp_init),
8993         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8994         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8995         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8996         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8997         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8998         (gst_dp_packetizer_free):
8999         * libs/gst/dataprotocol/dataprotocol.h:
9000           API: add a GstDPPacketizer object, and create/free functions
9001           API: add GstDPVersion enum
9002           Add 1.0 event function that uses the string serialization
9003           Serialize more useful buffer flags
9004           Fixes #343988
9005
9006 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9007
9008         * tests/check/Makefile.am:
9009         * tests/check/gst/gstabi.c:
9010         * tests/check/gst/struct_ppc64.h:
9011         * tests/check/libs/libsabi.c:
9012         * tests/check/libs/struct_ppc64.h:
9013           add ppc64 structure sizes
9014
9015 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9016
9017         * tests/check/Makefile.am:
9018         * tests/check/gst/gstabi.c:
9019         * tests/check/gst/struct_x86_64.h:
9020         * tests/check/libs/libsabi.c:
9021         * tests/check/libs/struct_x86_64.h:
9022           generate and add structure size lists for x86_64
9023
9024 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9025
9026         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9027         * libs/gst/check/gstcheck.h:
9028           factor out the method from tests that checks size of structures,
9029           and add code to generate the header containing these sizes
9030         * tests/check/gst/gstabi.c: (GST_START_TEST):
9031         * tests/check/gst/struct_i386.h:
9032         * tests/check/libs/libsabi.c: (GST_START_TEST):
9033         * tests/check/libs/struct_i386.h:
9034           use it
9035
9036 2006-06-06  Michael Smith  <msmith@fluendo.com>
9037
9038         * gst/gstsegment.h:
9039           Don't use c++-style comments, fixes #343929
9040
9041 2006-06-05  Edward Hervey  <edward@fluendo.com>
9042
9043         * gst/gst.c:
9044         plugin_paths is not used if we build without registry support.
9045
9046         * gst/gstsegment.c: (gst_segment_copy): 
9047         _copy() was always returning NULL...
9048
9049 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9050
9051         * libs/gst/dataprotocol/dataprotocol.c:
9052         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9053         (gst_dp_packet_from_event):
9054           factor out CRC code
9055
9056 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9057
9058         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9059           make sure we unset caps
9060
9061 2006-06-02  Michael Smith  <msmith@fluendo.com>
9062
9063         * libs/gst/check/gstcheck.c: (gst_check_init),
9064         (gst_check_chain_func):
9065         * libs/gst/check/gstcheck.h:
9066           Add a cond/mutex to the check support lib, signal this whenever we
9067           add to the buffers list. This will allow tests to not busy-wait on
9068           the buffer-list.
9069
9070 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9071
9072         * libs/gst/dataprotocol/dataprotocol.c:
9073         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9074         (gst_dp_packet_from_event):
9075           factor out some common header init code
9076
9077 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9078
9079         * docs/libs/gstreamer-libs-sections.txt:
9080         * docs/libs/tmpl/gstdataprotocol.sgml:
9081         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9082         * libs/gst/dataprotocol/dataprotocol.h:
9083           API: make gst_dp_crc() public
9084
9085 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9086
9087         * plugins/indexers/gstindexers.c: (plugin_init):
9088         conditionally register fileindexer (fixes #343598)
9089
9090 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9091
9092         * gst/gsttagsetter.h:
9093         Can't cast ifaces to a class
9094
9095         * libs/gst/net/gstnetclientclock.h:
9096         * libs/gst/net/gstnettimeprovider.h:
9097         * plugins/elements/gstfakesink.h:
9098         * plugins/elements/gstfakesrc.h:
9099         * plugins/elements/gstfdsink.h:
9100         * plugins/elements/gstfdsrc.h:
9101         * plugins/elements/gstfilesink.h:
9102         * plugins/elements/gstfilesrc.h:
9103         * plugins/elements/gstidentity.h:
9104         * plugins/elements/gstqueue.h:
9105         * plugins/elements/gsttee.h:
9106         * plugins/indexers/gstfileindex.c:
9107         * plugins/indexers/gstmemindex.c:
9108         * tests/old/examples/plugins/example.h:
9109         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9110
9111 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9112
9113         * libs/gst/dataprotocol/dataprotocol.c:
9114         (gst_dp_header_from_buffer):
9115           make sure we zero the whole ABI-compatible area
9116
9117 2006-06-01  Wim Taymans  <wim@fluendo.com>
9118
9119         Patch by: Alessandro Decina <alessandro at nnva dot org>
9120
9121         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9122         Make sure the EOS flag is cleared from pads after a flush
9123         or stop. Fixes #343538.
9124
9125         * tests/check/libs/collectpads.c: (GST_START_TEST),
9126         (gst_collect_pads_suite):
9127         Added test for collectpads reusage after EOS.
9128
9129 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
9130
9131         * gst/gst.c:
9132          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9133         * win32/common/libgstbase.def:
9134          export gst_collect_pads_set_flushing
9135         * win32/common/libgstreamer.def:
9136          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9137          gst_value_fraction_multiply
9138         * win32/vs6/gst_inspect.dsp:
9139          add a link to intl.lib
9140
9141 2006-05-30  Wim Taymans  <wim@fluendo.com>
9142
9143         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9144         (gst_collect_pads_chain):
9145         Handle the case where a pad is removed from the collection
9146         that could cause the other pads to become collectable.
9147
9148 2006-05-30  Wim Taymans  <wim@fluendo.com>
9149
9150         * gst/gstelement.c:
9151         Clarify the use of _release_request_pad() and
9152         _get_request_pad() a bit better.
9153
9154         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9155         (gst_adapter_take_buffer):
9156         Fix some doc and comment typos.
9157
9158 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9159
9160         * docs/gst/gstreamer-sections.txt:
9161         * docs/libs/gstreamer-libs-sections.txt:
9162           add declared symbols
9163
9164 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
9165
9166         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9167         Add debug that can be enabled using a #define at the top of the file,
9168         for dumping stats about how late/early we were when waking up from
9169         waiting on the clock.
9170
9171 2006-05-30  Wim Taymans  <wim@fluendo.com>
9172
9173         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9174         When rebuilding the pad list, don't leak the previous list.
9175
9176 2006-05-30  Wim Taymans  <wim@fluendo.com>
9177
9178         Patch by: Lutz Mueller <lutz at topfrose dot de>
9179
9180         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9181         (gst_base_src_get_query_types), (gst_base_src_update_length):
9182         Publish supported query types.
9183         Update last_stop field in get_range mode so the position
9184         query works. Fixes #342321.
9185
9186 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
9187
9188         * docs/gst/gstreamer-sections.txt:
9189         * gst/gsttaglist.c: (_gst_tag_initialize):
9190         * gst/gsttaglist.h:
9191           API: add GST_TAG_PREVIEW_IMAGE (#343341).
9192
9193 2006-05-30  Wim Taymans  <wim@fluendo.com>
9194
9195         Patch by: Alessandro Decina <alessandro at nnva dot org>
9196
9197         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9198         Unlock mutex when removing an unknown pad.
9199         Fixes #343334.
9200
9201         * tests/check/Makefile.am:
9202         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9203         (push_event), (setup), (teardown), (GST_START_TEST),
9204         (gst_collect_pads_suite), (main):
9205         Added collecpads check, disabled for now as check crashes for
9206         some reason.
9207
9208 2006-05-29  Wim Taymans  <wim@fluendo.com>
9209
9210         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9211         Don't leak pads lists.
9212
9213 2006-05-29  Wim Taymans  <wim@fluendo.com>
9214
9215         * docs/libs/gstreamer-libs-sections.txt:
9216         * libs/gst/base/gstcollectpads.c:
9217         (gst_collect_pads_set_flushing_unlocked),
9218         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9219         (gst_collect_pads_stop):
9220         * libs/gst/base/gstcollectpads.h:
9221         API: gst_collect_pads_set_flushing()
9222         Added api to set the pads to flushing, useful for seeking
9223         code in elements using collectpads.
9224         Clear segment when receiving a flush.
9225
9226 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
9227
9228         * gst/gst.c: (add_path_func), (init_post):
9229           Don't scan registry paths passed via --gst-plugin-path immediately
9230           (will crash, because absolutely nothing is set up and no types are
9231           registered etc.); do this later in init_post(). Fixes #343057.
9232
9233 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9234
9235         * gst/gst.c: (init_post):
9236           if we have fork, fork while reading/rebuilding the registry
9237           so the parent doesn't take the hit of having all plugins loaded
9238           in memory.  Fixes #342777.
9239         * configure.ac:
9240           Check if we have fork()
9241         * win32/common/config.h.in:
9242           no fork() on win32
9243
9244 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9245
9246         * plugins/elements/gstelements.c:
9247         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9248         (gst_file_src_init), (gst_file_src_set_property),
9249         (gst_file_src_get_property), (gst_file_src_start):
9250         * plugins/elements/gstfilesrc.h:
9251           API: GstFileSrc::use-mmap
9252
9253         Add a use-mmap property to enable easier testing of all code paths.
9254         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9255         in the absence of gnomevfssrc. (Closes #340501)
9256
9257 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9258
9259         * tools/gst-inspect.c:
9260         Add missing include, removes warning of ngettext not being defined on
9261         some arches.
9262
9263 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9264
9265         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9266         Handle NULL input and output pointers silently as a failed conversion,
9267         rather than g_warnings.
9268
9269 2006-05-25  Wim Taymans  <wim@fluendo.com>
9270
9271         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9272         Initialize variable before using. Fixes #342820.
9273
9274 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
9275
9276         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9277           Fix off-by-one bug that would only allow peeks of N-1 bytes
9278           from the start even if the buffer to typefind on contains
9279           in fact N bytes of data (makes vorbis typefinding from a
9280           vorbis identification header buffer work).
9281
9282         * tests/check/Makefile.am:
9283         * tests/check/libs/.cvsignore:
9284         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9285         (gst_typefindhelper_suite), (main), (foobar_typefind),
9286         (plugin_init):
9287           Add very basic unit test for gst_type_find_helper_for_buffer()
9288           that checks for the problem fixed above.
9289
9290 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9291
9292         * tools/gst-inspect.c: (print_interfaces),
9293         (print_element_properties_info), (print_element_list), (main):
9294           add more translatable strings
9295
9296 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
9297
9298         Patch by: Julien Moutte  <julien at moutte net>
9299
9300         * docs/gst/gstreamer-sections.txt:
9301           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9302           
9303         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9304         (gst_fake_sink_preroll):
9305         * plugins/elements/gstfakesink.h:
9306           API: Add new GstFakeSink::preroll-handoff signal (#337100).
9307
9308 2006-05-23  Wim Taymans  <wim@fluendo.com>
9309
9310         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9311         * gst/gstpad.h:
9312         Added _CUSTOM error and success GstFlowReturn that can be
9313         used be elements internally. 
9314         Added macro to check for SUCCESS flowreturns.
9315         API: GST_FLOW_CUSTOM_SUCCESS
9316         API: GST_FLOW_CUSTOM_ERROR
9317         API: GST_FLOW_IS_SUCCESS
9318
9319         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9320         Added check for GstFlowReturn sanity.
9321
9322 2006-05-23  Wim Taymans  <wim@fluendo.com>
9323
9324         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9325
9326         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9327         (gst_collect_pads_event):
9328         clear/reset segment info in FLUSH_STOP.
9329         Fixes #336929.
9330
9331 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
9332
9333         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9334         (gst_collect_pads_check_collected):
9335         Flush queued buffer on _stop(), fixes playing again (#342454)
9336
9337 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9338
9339         * tests/check/gst/gststructure.c: (GST_START_TEST),
9340         (gst_structure_suite):
9341           add a test for a complete structure
9342
9343 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9344
9345         * docs/faq/developing.xml:
9346         * docs/faq/faq.xml:
9347         * docs/faq/troubleshooting.xml:
9348         * docs/faq/using.xml:
9349           Some minor FAQ updates that won't change the fact that
9350           our FAQ is badly structured, full of information hardly
9351           anyone new to GStreamer needs to know and lacking lots
9352           of information people constantly ask for.
9353           
9354 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
9355
9356         * gst/gstpad.c: (gst_pad_set_caps):
9357           Short-circuit gst_pad_set_caps if setting the existing
9358           caps pointer again, and avoid printing debug and 
9359           reffing/unreffing the caps.
9360
9361         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9362           There's actually no need to set the caps before pushing -
9363           the acceptcaps method will handle it anyway.
9364
9365 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9366
9367         * docs/gst/gstreamer-sections.txt:
9368         * win32/common/libgstreamer.def:
9369         * gst/gstutils.c: (gst_element_seek_simple):
9370         * gst/gstutils.h:
9371           API: add gst_element_seek_simple() (#342238).
9372
9373 2006-05-18  Edward Hervey  <edward@fluendo.com>
9374
9375         * gst/gsttypefind.c: (gst_type_find_get_type):
9376         * gst/gsttypefind.h:
9377         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9378         registered for GstTypeFind pointers. This allows wrapping the structure
9379         in bindings (i.e. gst-python).
9380
9381 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9382
9383         * gst/gsttagsetter.c:
9384           Docs additions and fixes (see #339918).
9385
9386 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9387
9388         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9389         The caps intersection algorithm can produce multiple copies of the
9390         caps. Until that is fixed, we need to simplify the result to be
9391         sure whether the allowed caps are fixed or not.
9392
9393         * plugins/elements/gstqueue.c: (gst_queue_init),
9394         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9395         (gst_queue_push_one):
9396         Proxied buffer alloc should not set the caps on the source pad.
9397         When pushing buffers, we always accept the caps change that triggers.
9398         This prevents negotiation errors caused by caps changing mid-stream 
9399         and then being refused on our source pad (because upstream is now
9400         refusing those caps).
9401
9402 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9403
9404         * tests/examples/helloworld/helloworld.c: (main):
9405           Must plug audioconvert and audioresample between decoder
9406           and audio sink.
9407
9408 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
9409
9410         * gst/gstregistryxml.c: (read_string), (load_pad_template),
9411         (load_feature), (load_plugin):
9412         Allow empty strings for some of the plugin fields so we don't 
9413         drop valid plugin entries that were written out correctly
9414         (Fixes #341479)
9415
9416 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
9417         
9418         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9419           Use g_remove and g_rename instead of remove and rename that don't 
9420           handle utf8 characters. rename was failing for users who had specific
9421           characters in their name then the registry was built at each 
9422           gstreamer init.
9423         * win32/vs6/gst_inspect.dsp:
9424         * win32/vs6/gst_launch.dsp:
9425         * win32/vs6/libgstbase.dsp:
9426         * win32/vs6/libgstcoreelements.dsp:
9427         * win32/vs6/libgstreamer.dsp:
9428           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
9429           build of libgstreamer and clean unused libraries in projects link 
9430           settings.
9431
9432 2006-05-17  Edward Hervey  <edward@fluendo.com>
9433
9434         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9435         The queue is not responsible for pushing an EOS when receiving a fatal
9436         flow error. It's up to the real element driving the pipeline to do that.
9437
9438 2006-05-16  Edward Hervey  <edward@fluendo.com>
9439
9440         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9441         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9442         buffer returned a fatal error. It should just send an EOS and stop
9443         its task.
9444         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9445         when pushing buffers on the queue and will be able to handle the event.
9446
9447 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9448
9449         * docs/manual/basics-bins.xml:
9450         * docs/manual/basics-init.xml:
9451           Fix typos and minor errors in sample code (#341856).
9452
9453 2006-05-16  Wim Taymans  <wim@fluendo.com>
9454
9455         * docs/design/part-qos.txt:
9456         Fix indexes in formulas to make more sense.
9457
9458 2006-05-15  Wim Taymans  <wim@fluendo.com>
9459
9460         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9461         Don't report POSITION based on clock time if sync is
9462         disabled in a sink.
9463
9464 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
9465
9466         * gst/gstobject.h:
9467           Add cast to make compiler happy - refcount variable was a gint
9468           in GstObject but is a guint in GObject and g_atomic_int_get()
9469           wants a gint *.
9470
9471 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9472
9473         * gst/parse/Makefile.am:
9474           chain commands using &&, which also makes parallel make work
9475
9476 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
9477
9478         * docs/gst/gstreamer-sections.txt:
9479         * gst/gstevent.c:
9480         * gst/gstevent.h:
9481         * gst/gstmessage.h:
9482           Minor docs fixes.
9483
9484 === release 0.10.6 ===
9485
9486 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
9487
9488         * configure.ac:
9489           releasing 0.10.6, "Take the cannoli"
9490
9491 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9492
9493         * tools/gst-launch.c: (print_tag):
9494           Fix use of uninitialized variable in the hypothetical
9495           case that some broken plugin creates a GST_TAG_IMAGE
9496           tag containing a NULL buffer (#341667).
9497
9498 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9499
9500         * tools/gst-launch.c: (print_tag):
9501           Print something more intelligible for image tags when
9502           using the -t switch (#341556).
9503
9504 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9505
9506         * Makefile.am:
9507           updates for win32
9508         * configure.ac:
9509           define GST_MAJORMINOR so we have it available in win32/common/config.h
9510           Possibly remove it from our Makefile.am files later
9511         * win32/common/config.h:
9512         * win32/common/config.h.in:
9513           added GST_MAJORMINOR
9514         * win32/common/gstenumtypes.c: (register_gst_resource_error):
9515         * win32/common/gstversion.h:
9516           updated
9517
9518 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
9519
9520         * win32/MANIFEST:
9521           Update win32 files listing.
9522         * win32/common/gstversion.h:
9523           Add GST_MAJORMINOR definition.
9524         * win32/common/libgstreamer.def:
9525           Add new exported functions.
9526           
9527 2006-05-12  Michael Smith  <msmith@fluendo.com>
9528
9529         * gst/gstplugin.c: (gst_plugin_load_file):
9530           If an so file has no plugin entry point, unload the module.
9531
9532 2006-05-11  Wim Taymans  <wim@fluendo.com>
9533
9534         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9535         (gst_queue_set_property):
9536         Don't forget to signal the _chain or _loop function 
9537         when the queue size or thresholds change since that might
9538         cause them to make progres again.
9539
9540 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
9541
9542         * gst/gstclock.c: (gst_clock_class_init):
9543         * gst/gstindex.c: (gst_index_class_init):
9544         * gst/gstobject.c: (gst_object_class_init):
9545         * gst/gstpad.c: (gst_pad_class_init):
9546         * gst/gstpipeline.c: (gst_pipeline_class_init):
9547         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9548         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9549         * libs/gst/base/gstbasetransform.c:
9550         (gst_base_transform_class_init):
9551         * libs/gst/net/gstnetclientclock.c:
9552         (gst_net_client_clock_class_init):
9553         * libs/gst/net/gstnettimeprovider.c:
9554         (gst_net_time_provider_class_init):
9555         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9556         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9557         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9558         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9559         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9560         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9561         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9562         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9563         * plugins/elements/gsttee.c: (gst_tee_class_init):
9564         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9565         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9566           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9567
9568 2006-05-11  Wim Taymans  <wim@fluendo.com>
9569
9570         * gst/gstbuffer.c: (_gst_buffer_initialize):
9571         Register subbufer along with the buffer type so that
9572         it does not accidentally gets registered from N
9573         different streaming threads in a non threadsafe way.
9574
9575 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9576
9577         * gst/gstbuffer.h:
9578         * gst/gstevent.h:
9579         * gst/gstmessage.h:
9580           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9581           gst_event_ref() and gst_message_ref() functions again
9582           (ugly hack, please do fix if there's a better way besides
9583           overrides.txt, which doesn't seem to work).
9584
9585 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9586
9587         * libs/gst/check/gstcheck.h:
9588           add an assert for setting state to avoid lots of repetitive code
9589           in the future
9590
9591 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9592
9593         * gst/gstvalue.c: (gst_value_serialize_flags):
9594           fix a leak if no flags are set
9595         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9596           fix leak in tests
9597
9598 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9599
9600         * docs/manual/basics-pads.xml:
9601           Expand a bit on caps and filtered links and update
9602           examples that were still using the no longer existing
9603           gst_pad_link_filtered() (#338206).
9604
9605 2006-05-10  Wim Taymans  <wim@fluendo.com>
9606
9607         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9608         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9609         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9610         (gst_collect_pads_stop):
9611         * libs/gst/base/gstcollectpads.h:
9612         No need to call _stop in _finalize.
9613         Iterate the main pad list in _finalize.
9614         Added some more debug.
9615         Free lists and data in the right order.
9616         Also free data whem doing _remove_pad when stopped for
9617         backward compatibility protect ::started with PAD_LOCK as
9618         well.
9619
9620 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9621
9622         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9623         (gst_structure_parse_value):
9624           add some comments
9625           rename a method so that it actually says what it does better
9626
9627 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9628
9629         * gst/gstevent.c: (_gst_event_initialize):
9630         * gst/gstformat.c: (_gst_format_initialize):
9631           make sure some essential types used by events are registered
9632           as part of gst_init()
9633         * gst/gstvalue.c: (gst_value_serialize_flags):
9634           if no flags are set, serialize them to a value that represents NONE
9635           so that deserializing them works
9636         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9637           add tests for serialization and deserialization of flags
9638
9639 2006-05-10  Wim Taymans  <wim@fluendo.com>
9640
9641         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9642         (gst_collect_pads_collect_range), (gst_collect_pads_available),
9643         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9644         (gst_collect_pads_event), (gst_collect_pads_chain):
9645         Update docs.
9646         Better debug info.
9647         Catch and return errors from the collect function
9648         Refuse data on eos pads.
9649
9650 2006-05-10  Edward Hervey  <edward@fluendo.com>
9651
9652         * gst/gstinterface.h:
9653         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9654         GInterface type checking.
9655         They were previously using non-defined macros.
9656
9657 2006-05-09  Wim Taymans  <wim@fluendo.com>
9658
9659         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9660         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9661         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9662         (gst_collect_pads_start), (gst_collect_pads_stop),
9663         (gst_collect_pads_peek), (gst_collect_pads_pop),
9664         (gst_collect_pads_available), (gst_collect_pads_read),
9665         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9666         (gst_collect_pads_is_collected), (gst_collect_pads_event),
9667         (gst_collect_pads_chain):
9668         * libs/gst/base/gstcollectpads.h:
9669         Clean up the mess that is collectpads, add comments and
9670         FIXMEs where needed.
9671         Maintain a separate pad list so we can add pads while
9672         collecting the other ones. For this we need a new separate 
9673         lock (see comics).
9674         Fix memory leak in finalize.
9675         Refactor some weird code to set/unset pad flushing flags, mark
9676         with comments.
9677         Don't crash in _available, _read, _flush when we're EOS.
9678
9679         * tests/check/libs/.cvsignore:
9680         Ignore adapter check binary.
9681
9682 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9683
9684         * gst/gstindex.c: (gst_index_resolver_get_type):
9685         * plugins/elements/gstfakesink.c:
9686         (gst_fake_sink_state_error_get_type):
9687         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9688         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9689         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9690           Const-ify GEnumValue arrays.
9691
9692 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9693
9694         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9695           Add test case for flags + gst_buffer_make_metadata_writable().
9696
9697 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9698
9699         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9700           gst_buffer_make_metadata_writable() should maintain the
9701           buffer flags (those that make sense at least) (see #340859).
9702
9703 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9704
9705         * tools/gst-inspect.c:
9706         * tools/gst-launch.c:
9707         * tools/gst-typefind.c:
9708         * tools/gst-xmlinspect.c:
9709         * tools/tools.h:
9710           Fix up includes: need to include stdlib.h in tools.h for exit().
9711
9712 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9713
9714         * gst/gsttaglist.c: (_gst_tag_initialize):
9715         * gst/gsttaglist.h:
9716           API: add GST_TAG_IMAGE tag (#340721).
9717
9718 2006-05-08  Wim Taymans  <wim@fluendo.com>
9719
9720         * gst/gstquery.c:
9721         Added some docs for the segment query.
9722
9723 2006-05-08  Wim Taymans  <wim@fluendo.com>
9724
9725         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9726         (gst_base_src_loop), (gst_base_src_change_state):
9727         Always push non-flushing serialized events in the streaming 
9728         thread.
9729
9730 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9731
9732         * gst/gsterror.c: (_gst_stream_errors_init):
9733           Add a missing error string.
9734
9735 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
9736
9737         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9738         Add applied_rate to the debug
9739
9740         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9741         Copy applied_rate into the outgoing NEWSEGMENT event
9742
9743 2006-05-08  Wim Taymans  <wim@fluendo.com>
9744
9745         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9746
9747         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9748         (gst_base_sink_change_state):
9749         call ::unlock before taking the PREROLL_LOCK so we can safely
9750         handle elements that lock in ::render.
9751         Fixes #340174.
9752
9753 2006-05-08  Edward Hervey  <edward@fluendo.com>
9754
9755         * autogen.sh: (CONFIGURE_DEF_OPT): 
9756         Darwin's libtoolize is in fact called glibtoolize.
9757         Adding glibtoolize to the list of accepted names for libtoolize.
9758
9759 2006-05-08  Wim Taymans  <wim@fluendo.com>
9760
9761         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9762         Unify error handling, don't post an error message
9763         when a push() returns EOS but perform our normal EOS
9764         handling code. Fixes #340772.
9765
9766 2006-05-08  Wim Taymans  <wim@fluendo.com>
9767
9768         * docs/design/part-overview.txt:
9769         Make upsteam/downstream concepts more clear.
9770         Give an example of serialized/non-serialized events.
9771
9772         * docs/design/part-events.txt:
9773         * docs/design/part-streams.txt:
9774         Mention applied_rate.
9775
9776         * docs/design/part-trickmodes.txt:
9777         Mention applied rate, flesh out some more use cases.
9778
9779         * gst/gstevent.c: (gst_event_new_new_segment),
9780         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9781         (gst_event_parse_new_segment_full), (gst_event_new_tag),
9782         (gst_event_parse_tag), (gst_event_new_buffer_size),
9783         (gst_event_parse_buffer_size), (gst_event_new_qos),
9784         (gst_event_parse_qos), (gst_event_parse_seek),
9785         (gst_event_new_navigation):
9786         * gst/gstevent.h:
9787         Add applied_rate field to NEWSEGMENT event.
9788         API: gst_event_new_new_segment_full()
9789         API: gst_event_parse_new_segment_full()
9790
9791         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9792         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9793         (gst_segment_to_stream_time), (gst_segment_to_running_time):
9794         * gst/gstsegment.h:
9795         Add applied_rate to GstSegment structure.
9796         Make calculation of stream_time and running_time more correct
9797         wrt rate/applied_rate.
9798         Add some more docs.
9799         API: GstSegment::applied_rate field
9800         API: gst_segment_set_newsegment_full();
9801
9802         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9803         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9804         * libs/gst/base/gstbasetransform.c:
9805         (gst_base_transform_sink_eventfunc),
9806         (gst_base_transform_handle_buffer):
9807         Parse and use applied_rate in the GstSegment field.
9808
9809         * tests/check/gst/gstevent.c: (GST_START_TEST):
9810         Add check for applied_rate field.
9811
9812         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9813         (gstsegments_suite):
9814         Add more checks for various GstSegment operations.
9815
9816 2006-05-08  Wim Taymans  <wim@fluendo.com>
9817
9818         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9819         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9820         (gst_base_sink_get_position), (gst_base_sink_change_state):
9821         Store the sync time of the buffer end position separatly in a
9822         new variable eos_rtime so we can properly sync the EOS event.
9823         Fixes #340697.
9824         Fix the docs for gst_base_sink_set_qos_enabled().
9825         Don't set segment start to invalid value when we receive a 
9826         non TIME newsegment.
9827         get closer to handling position reporting for negative rates 
9828         correctly.
9829
9830 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9831
9832         * gst/gstcaps.c:
9833         Docs about how to print caps for debug purposes.
9834
9835         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9836         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9837
9838 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9839
9840         * gst/gstelement.c:
9841           use full enum names and preprend a '%' in docs strings to make recent 
9842           gtk-doc turn that into a link
9843
9844 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9845
9846         * docs/manual/basics-bins.xml:
9847         * docs/manual/basics-bus.xml:
9848         * docs/manual/basics-pads.xml:
9849           Some typo fixes, some additions, some clarifications. 
9850
9851 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9852
9853         * tools/gst-inspect.c: (main):
9854         * tools/gst-launch.c: (main):
9855         * tools/gst-run.c: (main):
9856         * tools/gst-typefind.c: (main):
9857         * tools/gst-xmlinspect.c: (main):
9858           Use the string passed to g_option_context_new() for
9859           what it's intended for - the program name is already
9860           printed elsewhere.
9861
9862 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9863
9864         * tools/Makefile.am:
9865         * tools/gst-inspect.c: (main):
9866         * tools/gst-launch.c: (main):
9867         * tools/gst-xmlinspect.c: (main):
9868         * tools/tools.h:
9869           Add back --version command line option (#340460).
9870
9871         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9872           Add --version option and use GOption for argument parsing; refactor a
9873           bit; accept directories as arguments and recurse into them; lastly,
9874           print a decent error message when things go wrong.
9875
9876 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9877
9878         * docs/manual/basics-bins.xml:
9879         Don't mention GstThread (#340611)
9880         * docs/manual/basics-elements.xml:
9881         Update link to GObject tutorial (#340607)
9882         
9883 2006-05-05  Wim Taymans  <wim@fluendo.com>
9884
9885         * gst/gstbuffer.h:
9886         * gst/gstminiobject.c:
9887         Add note about refcounting and miniobject/buffer writeability
9888         to docs. Fixes #340604
9889
9890         * gst/gstelementfactory.h:
9891         Added some explanation about @klass.
9892
9893 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9894
9895         * docs/manual/intro-motivation.xml:
9896         * docs/manual/manual.xml:
9897         Avoid CORBA & Bonobo references (#340598)
9898
9899 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9900
9901         * docs/manual/basics-bus.xml:
9902         * docs/manual/basics-pads.xml:
9903         Fix up some inaccuracies and omissions (#340609)
9904         
9905 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9906
9907         * gst/gstghostpad.c:
9908           Small typo in docs (#340625)
9909
9910 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9911
9912         * gst/parse/Makefile.am:
9913           Make 'make -j' proof (see #340698).
9914
9915 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9916
9917         * configure.ac:
9918           Require GLib-2.8 here as well.
9919
9920 2006-05-05  Wim Taymans  <wim@fluendo.com>
9921
9922         * gst/glib-compat.c:
9923         * gst/gst.c: (init_pre):
9924         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9925         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9926         (gst_object_dispatch_properties_changed):
9927         * gst/gstobject.h:
9928         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9929         * gst/gststructure.c: (gst_structure_set_valist):
9930         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9931         Remove pre glib2.8 compatibility, fixes #340508
9932
9933 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9934
9935         * gst/gsttaglist.h:
9936           Mention type of tags in doc blurbs.
9937
9938 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
9939
9940         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9941         (gst_pad_configure_src), (gst_pad_push):
9942         Restore acceptcaps checking behaviour now that good plugins have
9943         been released.
9944
9945 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9946
9947         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9948
9949         * gst/gst.c:
9950         * gst/gstbus.c:
9951         * gst/gstclock.c:
9952         * gst/gstevent.c:
9953         * gst/gstformat.c:
9954         * gst/gstmessage.c:
9955         * gst/gstparse.c:
9956         * gst/gstquery.c:
9957         * gst/gstutils.c:
9958         * gst/parse/Makefile.am:
9959         * libs/gst/base/gstadapter.c:
9960         * libs/gst/base/gstbasesrc.c:
9961         * libs/gst/base/gstpushsrc.c:
9962         * libs/gst/base/gsttypefindhelper.c:
9963         * plugins/elements/gstfakesrc.c:
9964         * plugins/elements/gstidentity.c:
9965           Make sure gstprivate.h and/or config.h are
9966           always included first, otherwise some of our
9967           defines (like _FILE_OFFSET_BITS) might be
9968           redefined in the system headers. Fixes build
9969           on opensolaris (#340016).
9970
9971 2006-05-04  Wim Taymans  <wim@fluendo.com>
9972
9973         * docs/libs/gstreamer-libs-sections.txt:
9974         API: addition: gst_adapter_take_buffer()
9975         
9976         * libs/gst/base/gstadapter.c: (gst_adapter_push),
9977         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9978         (gst_adapter_available_fast):
9979         * libs/gst/base/gstadapter.h:
9980         Prepare for optimizing the hell out of this hugely inefficient
9981         piece of code. 
9982         Added gst_adapter_take_buffer() so we can at least start thinking
9983         about subbuffering and merging.
9984         Added some comments.
9985
9986         * tests/check/Makefile.am:
9987         * tests/check/libs/adapter.c: (GST_START_TEST),
9988         (gst_adapter_suite), (main):
9989         Added GstAdapter check.
9990
9991 2006-05-04  Wim Taymans  <wim@fluendo.com>
9992
9993         * docs/design/part-overview.txt:
9994         Fix some typos, add blurb about buffer flags.
9995
9996 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9997
9998         * docs/libs/gstreamer-libs-sections.txt:
9999           make sure GstBaseTransformClass shows up in the docs
10000         * libs/gst/base/gstbasetransform.c:
10001         * libs/gst/base/gstbasetransform.h:
10002           move docs so gtk-doc picks it up now
10003
10004 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10005
10006         * docs/libs/gstreamer-libs-sections.txt:
10007           add missing symbols to docs
10008
10009 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10010
10011         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10012           back out the newsegment handling change, see #340060 for ongoing
10013           discussion
10014
10015 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
10016
10017         * tools/gst-run.c: (get_candidates), (main):
10018           Fix wrong g_file_test() usage (see glib docs for why it doesn't
10019           work); fix typo in error message. Fixes #340079.
10020
10021 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10022
10023         * common/Makefile.am:
10024         * docs/Makefile.am:
10025         * docs/faq/Makefile.am:
10026         * docs/gst/Makefile.am:
10027         * docs/libs/Makefile.am:
10028         * docs/manual/Makefile.am:
10029         * docs/plugins/Makefile.am:
10030         * docs/pwg/Makefile.am:
10031         * docs/slides/Makefile.am:
10032         * docs/upload.mak:
10033         * common/upload.mak:
10034           move upload.mak to common
10035
10036 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10037
10038         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10039           add more asserts on refcounts
10040           do more cleanup at end of tests
10041           fix test leaks showing in FC5
10042
10043 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
10044
10045         * plugins/elements/gsttypefindelement.c:
10046         (gst_type_find_element_handle_event):
10047         reverted wrong change and reflowed code to avoid others falling into
10048         this trap
10049
10050 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10051
10052         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10053           fix changelog entry about last collectpads change,
10054           add notes about proper fix
10055
10056 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10057
10058         * gst/gst.c:
10059         * gst/gstregistry.c: (gst_registry_scan_path_level),
10060         (gst_registry_scan_path):
10061         * gst/gstregistry.h:
10062           only write out registry if it has changed, fixes #338339
10063
10064 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10065
10066         * gst/gstbin.c:
10067         * gst/gstpipeline.c:
10068         * plugins/elements/gstcapsfilter.c:
10069         * plugins/elements/gstfakesink.c:
10070         * plugins/elements/gstfakesrc.c:
10071         * plugins/elements/gstfdsink.c:
10072         * plugins/elements/gstfdsrc.c:
10073         * plugins/elements/gstfilesink.c:
10074         * plugins/elements/gstfilesrc.c:
10075         * plugins/elements/gstidentity.c:
10076         * plugins/elements/gstqueue.c:
10077         * plugins/elements/gsttee.c:
10078         * plugins/elements/gsttypefindelement.c:
10079         (gst_type_find_element_handle_event):
10080           make GstElementDetails const
10081
10082 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10083
10084         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10085         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10086         (gst_collect_pads_is_collected), (gst_collect_pads_event):
10087           more detailed debug and formatting cleanup,
10088           forward newsegments to src-pad (so that e.g. adder not eats them)
10089
10090 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10091
10092         * gst/gstutils.c: (gst_element_link_pads):
10093           cleanup double code
10094
10095 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10096
10097         * libs/gst/controller/gstcontroller.c:
10098         (gst_controller_sync_values):
10099           some little tuning
10100         * tests/check/libs/controller.c: (GST_START_TEST),
10101         (gst_controller_suite):
10102           a new test for live value handling
10103
10104 2006-04-28  Wim Taymans  <wim@fluendo.com>
10105
10106         * gst/gstutils.c: (push_and_ref):
10107         Added some more docs.
10108         Fix refcount issue whith gst_element_found_tags() helper 
10109         function. Fixes #338335
10110
10111         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10112         Added testsuite for gst_element_found_tags().
10113
10114 2006-04-28  Michael Smith  <msmith@fluendo.com>
10115
10116         * gst/gstvalue.c: (gst_value_serialize_flags):
10117           Avoid NULL dereference when trying to serialize flags containing
10118           invalid values.
10119
10120 2006-04-28  Michael Smith  <msmith@fluendo.com>
10121
10122         * plugins/elements/gsttypefindelement.c:
10123         (gst_type_find_element_handle_event):
10124           If we get EOS before any data is accumulated, don't use
10125           uninitialised local variables.
10126
10127 2006-04-28  Michael Smith  <msmith@fluendo.com>
10128
10129         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10130         (gst_dp_event_from_packet):
10131           Fixes in reading/writing events over GDP (not currently used?) - 
10132           dereferencing NULL events for unknown/invalid event types, memory
10133           leak, and change g_warning to GST_WARNING.
10134
10135 2006-04-28  Wim Taymans  <wim@fluendo.com>
10136
10137         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10138         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10139         (gst_base_sink_get_position), (gst_base_sink_change_state):
10140         When frame dropping is enabled, we should not ignore frames
10141         without a duration.
10142         Update some documentation.
10143
10144 2006-04-28  Wim Taymans  <wim@fluendo.com>
10145
10146         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10147         (gst_base_src_send_event), (gst_base_src_change_state):
10148         Documentation updates.
10149
10150 2006-04-28  Wim Taymans  <wim@fluendo.com>
10151
10152         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10153         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10154         handle EAGAIN, EINTR and short writes correctly. Also clean
10155         up some error cases, avoid a deadlock on bad file descriptors and
10156         use GST_DEBUG_OBJECT.
10157         Fixes #339843
10158
10159 2006-04-28  Wim Taymans  <wim@fluendo.com>
10160
10161         * gst/gstvalue.c: (gst_value_serialize_buffer),
10162         (gst_value_deserialize_buffer):
10163         Don't try to serialize a GValue with a NULL buffer. 
10164         Fixes #339821.
10165
10166         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10167         Added check for serialisation of NULL buffers.
10168
10169 2006-04-28  Wim Taymans  <wim@fluendo.com>
10170
10171         * gst/gstminiobject.c: (gst_value_take_mini_object):
10172         Taking a NULL miniobject is valid, fix the case where
10173         we try to unref the NULL miniobject.
10174
10175 2006-04-28  Wim Taymans  <wim@fluendo.com>
10176
10177         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10178
10179         * gst/gstbin.c: (gst_bin_handle_message_func):
10180         Update docs.
10181         Don't leak bin refcount when a state recalc is
10182         in progress and we delay another one #339808.
10183
10184 2006-04-28  Wim Taymans  <wim@fluendo.com>
10185
10186         * docs/design/part-TODO.txt:
10187         Mention QoS as an ongoing work item.
10188
10189         * docs/design/part-buffering.txt:
10190         New doc about buffering that needs to be fleshed out
10191         at some point.
10192
10193         * docs/design/part-qos.txt:
10194         More QoS policy for decoders/demuxers/transforms
10195
10196         * docs/design/part-trickmodes.txt:
10197         Small update.
10198
10199 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10200
10201         * configure.ac:
10202           back to HEAD
10203
10204 === release 0.10.5 ===
10205
10206 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
10207
10208         * configure.ac:
10209           releasing 0.10.5, "Fogo"
10210
10211 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10212
10213         patch by: Wim Taymans
10214
10215         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10216         (gst_pad_configure_src), (gst_pad_push):
10217         * gst/gstpipeline.c: (gst_pipeline_init):
10218           Fix internal data flow errors.  Fixes #338711.
10219
10220 2006-04-12  Wim Taymans  <wim@fluendo.com>
10221
10222         * tests/check/gst/gstelement.c: (GST_START_TEST):
10223         Don't leak the factory.
10224
10225 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10226
10227         * configure.ac:
10228         * win32/common/config.h:
10229           prerelease
10230
10231 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
10232
10233         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10234         (gst_controller_unset_all):
10235           Free allocated GstTimedValues when freeing list nodes.
10236           Should fix leaks 'make check-valgrind' complains about.
10237
10238         * win32/common/libgstcontroller.def:
10239           Add gst_controller_unset_all.
10240
10241 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
10242
10243         * docs/libs/gstreamer-libs-sections.txt:
10244         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10245         (gst_controller_unset_all):
10246         * libs/gst/controller/gstcontroller.h:
10247         API: Added new method gst_controller_unset_all()
10248         fixed gst_controller_unset()
10249         * tests/check/libs/controller.c: (GST_START_TEST),
10250         (gst_controller_suite):
10251         Added two testcases for new and fixed method
10252
10253 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
10254
10255         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10256           MSG_DONTWAIT is not defined on Cygwin, so work
10257           around that (fixes #317048).
10258           
10259 2006-04-11  Wim Taymans  <wim@fluendo.com>
10260
10261         * gst/gstelementfactory.c: (gst_element_register),
10262         (gst_element_factory_create), (gst_element_factory_make):
10263         Some cleanups.
10264         Fixed a FIXME.
10265         Updated docs (Fixes #131079)
10266
10267         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10268         Small cleanups.
10269
10270         * tests/check/gst/gstelement.c: (GST_START_TEST),
10271         (gst_element_suite):
10272         Added testcase for elementfactory class field.
10273
10274 2006-04-10  Wim Taymans  <wim@fluendo.com>
10275
10276         * gst/gstsegment.c:
10277         Added some more docs.
10278
10279         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10280         (gst_base_sink_reset_qos):
10281         Calculate more accurate rate values.
10282
10283 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
10284
10285         * gst/gst_private.h:
10286           add a new #ifdef to use __declspec(dllimport) only for
10287           other modules and not for gstreamer core
10288         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10289           use gst_guint64_to_gdouble for conversion
10290         * win32/common/libgstreamer.def:
10291           add new exported functions
10292         * win32/vs6/gst_inspect.dsp:
10293         * win32/vs6/gst_launch.dsp:
10294         * win32/vs6/libgstbase.dsp:
10295         * win32/vs6/libgstcontroller.dsp:
10296         * win32/vs6/libgstcoreelements.dsp:
10297         * win32/vs6/libgstdataprotocol.dsp:
10298         * win32/vs6/libgstnet.dsp:
10299           update project files
10300
10301 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10302
10303         * gst/gstbuffer.c: (gst_subbuffer_class_init):
10304         * gst/gstclock.c: (gst_clock_class_init):
10305         * gst/gstelement.c: (gst_element_class_init):
10306         * gst/gstindex.c: (gst_index_class_init):
10307         * gst/gstindexfactory.c: (gst_index_factory_class_init):
10308         * gst/gstobject.c: (gst_object_class_init),
10309         (gst_signal_object_class_init):
10310         * gst/gstpad.c: (gst_pad_class_init):
10311         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10312         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10313         * gst/gstregistry.c: (gst_registry_class_init):
10314         * gst/gstsystemclock.c: (gst_system_clock_class_init):
10315         * gst/gsttask.c: (gst_task_class_init):
10316         * gst/gstxml.c: (gst_xml_class_init):
10317         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10318         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10319         (gst_base_src_loop):
10320         * libs/gst/controller/gstcontroller.c:/
10321         (_gst_controller_class_init):
10322         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10323         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10324         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10325         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10326         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10327         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10328
10329 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
10330
10331         * gst/gstpad.c: (gst_pad_link):
10332           Must set peer pads before calling the link function, otherwise
10333           a task started from a link function might get a flow-not-linked
10334           result when trying to push because the other thread where the
10335           linking happens hasn't had a chance to set the peers yet. This
10336           might happen for example when a queue gets linked to a downstream
10337           element, as queue starts a streaming task when its source pad
10338           gets linked. Happens in real life when playing back flac/musepack
10339           files in playbin (#332390).
10340           
10341 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10342
10343         * gst/gstindex.h:
10344         * gst/gstxml.h:
10345         * libs/gst/base/gstadapter.h:
10346         * libs/gst/base/gstbasesink.h:
10347         * libs/gst/base/gstbasesrc.h:
10348         * libs/gst/base/gstbasetransform.h:
10349         * libs/gst/base/gstcollectpads.h:
10350         * libs/gst/base/gstpushsrc.h:
10351         Fix broken GObject macros
10352
10353 2006-04-07  Wim Taymans  <wim@fluendo.com>
10354
10355         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10356         Initialize start and stop times, thanks valgrind.
10357
10358 2006-04-07  Wim Taymans  <wim@fluendo.com>
10359
10360         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10361         Be a bit nicer to badly behaving upstream elements that expect
10362         us to deal with non TIME segments and timestamps (such as fakesrc
10363         in the testsuite).
10364
10365 2006-04-07  Wim Taymans  <wim@fluendo.com>
10366
10367         * gst/gstbus.c:
10368         Small documentation clarification about the signal watch.
10369
10370         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10371         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10372         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10373         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10374         (gst_base_sink_get_position_last),
10375         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10376         Convert and store timestamps in stream time and running time, the
10377         raw timestamps are not useful, also document this better.
10378         Use different window sizes for good and bad QoS observations so
10379         we react to badness a little quicker.
10380         Keep track of the amount of rendered and dropped buffers.
10381         Send QoS timestamps in running time.
10382
10383         * libs/gst/base/gstbasetransform.c:
10384         (gst_base_transform_sink_eventfunc),
10385         (gst_base_transform_handle_buffer):
10386         Compare QoS timestamps against running time.
10387
10388 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10389
10390         * gst/gstpad.c:
10391           Typo fixes in docs.
10392
10393 2006-04-06  Michael Smith  <msmith@fluendo.com>
10394
10395         * gst/gstpad.c: (gst_pad_set_property):
10396           Use g_value_get_object() instead of g_value_dup_gst_object(),
10397           to avoid double-reffing the pad template (which we then sink,
10398           so this worked previously if (and only if) the pad template
10399           was floating.
10400
10401         * gst/gstpadtemplate.c: (gst_pad_template_init),
10402         (gst_pad_template_pad_created):
10403           Never return floating references to pad templates, create
10404           them as initially-sunken.
10405
10406           Document an extra function (and make this stop sinking our
10407           pad template, since that is now guaranteed to do nothing,
10408           since we created it sunken).
10409
10410         * gst/gstghostpad.c:
10411           Fix docs typo.
10412
10413 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10414
10415         * gst/gstinfo.c: (__gst_in_valgrind):
10416           Add some newlines.
10417
10418         * plugins/elements/gsttypefindelement.c:
10419         (gst_type_find_element_chain):
10420           Don't leak buffer caps.
10421
10422 2006-04-06  Michael Smith  <msmith@fluendo.com>
10423
10424         * gst/parse/grammar.y:
10425           Fix a leak in parse-launch for any source-or-sink named element 
10426           references used.
10427
10428         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10429           Unref the pipeline if it exists after we've failed parsing.
10430
10431 2006-04-05  Michael Smith  <msmith@fluendo.com>
10432
10433         * gst/gstpipeline.c: (gst_pipeline_init):
10434           When we create a pipeline bus, initially create it in flushing mode.
10435           Fixes leaks in at least one test, and makes a new pipeline work the
10436           same as one that has gone to READY and then back to NULL.
10437
10438         * gst/gstelement.c:
10439           Typo fix in docs.
10440
10441 2006-04-05  Michael Smith  <msmith@fluendo.com>
10442
10443         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10444           Unref a pad we reffed.
10445         * tests/check/gst/gstutils.c: (GST_START_TEST):
10446           Unref bins
10447
10448 2006-04-05  Michael Smith  <msmith@fluendo.com>
10449
10450         * gst/gstquery.c: (gst_query_set_formats),
10451         (gst_query_set_formatsv):
10452           Fix leaking GValues in queries, as shown by valgrind/testsuite.
10453
10454 2006-04-05  Michael Smith  <msmith@fluendo.com>
10455
10456         * tests/check/generic/sinks.c: (GST_START_TEST):
10457           Fix a variety of memleaks in sinks check, which are only sometimes 
10458           shown by running the tests under valgrind (weird?).
10459
10460 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
10461
10462         * docs/version.entities.in:
10463           Fix the substituted entity name after thomas' changes on the
10464           weekend.
10465
10466 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10467
10468         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10469         VALGRIND_PRINTF
10470         
10471 2006-04-05  Andy Wingo  <wingo@pobox.com>
10472
10473         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10474
10475         * libs/gst/base/gstbasetransform.c
10476         (gst_base_transform_sink_eventfunc): When resetting our segment on
10477         FLUSH_STOP, also update the flag saying we haven't seen a
10478         newsegment.
10479
10480 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10481
10482         Patch by: Paolo Borelli  <pborelli at katamail dot com>
10483
10484         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10485         (gst_plugin_check_license):
10486           minor clean-ups: G_DEFINE_TYPE already takes care of the
10487           parent_class stuff, no need to do it twice. Mark array of
10488           license strings as constant. (#337103)
10489           
10490 2006-04-04  Michael Smith  <msmith@fluendo.com>
10491
10492         * tools/gst-inspect.c: (print_element_list):
10493           Free the right plugin list; fixes a memory leak.
10494
10495 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10496
10497         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
10498
10499         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10500           Don't error out on empty buffers (#336945).
10501           
10502 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
10503
10504         * docs/libs/gstreamer-libs-sections.txt:
10505         * gst/gsttaglist.c:
10506         * libs/gst/base/gstbasesink.c:
10507         * libs/gst/base/gstbasesink.h:
10508         * libs/gst/base/gstbasesrc.c:
10509         * libs/gst/base/gstbasesrc.h:
10510           Documentation updates. Make BaseSink and BaseSrc docs contain the
10511           class structure so that people can actually see the prototypes for
10512           virtual functions they're supposed to be overriding.
10513
10514 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10515
10516         * plugins/elements/gsttypefindelement.c:
10517         (gst_type_find_element_chain):
10518           More debug info; when skipping typefinding, send cached
10519           events in all cases.
10520
10521 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10522
10523         * configure.ac:
10524           use new AS_VERSION and AS_NANO macros
10525         * gst/gst-i18n-lib.h:
10526         * gst/gst.c:
10527         * gst/gsterror.c:
10528         * gst/gstversion.h.in:
10529         * win32/common/config.h:
10530         * win32/common/config.h.in:
10531           update accordingly
10532
10533 2006-03-31  Michael Smith  <msmith@fluendo.com>
10534
10535         * plugins/elements/gsttypefindelement.c:
10536         (gst_type_find_element_chain):
10537           Do not typefind content if the buffers already have caps.
10538           Neccesary for icydemux (#333657), and the right thing to do anyway.
10539
10540 2006-03-30  Wim Taymans  <wim@fluendo.com>
10541
10542         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10543         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10544         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10545         (gst_base_sink_record_qos_observation),
10546         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10547         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10548         (gst_base_sink_change_state):
10549         More QoS measurements as described in the design doc.
10550         Get rid of ringbuffer with observations, running average is
10551         more simple and equally good.
10552         Calculates valid proportion now.
10553         Added beginning of flood measurement.
10554
10555 2006-03-29  Wim Taymans  <wim@fluendo.com>
10556
10557         * docs/design/part-qos.txt:
10558         * gst/gstclock.c:
10559         Small documentation updates and additions.
10560
10561 2006-03-29  Wim Taymans  <wim@fluendo.com>
10562
10563         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10564         (gst_base_src_send_event), (gst_base_src_loop),
10565         (gst_base_src_change_state):
10566         Perform the EOS logic when we reach the segment stop position.
10567         Fix compilation on gcc4.1
10568
10569 2006-03-29  Wim Taymans  <wim@fluendo.com>
10570
10571         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10572
10573         * plugins/elements/gstqueue.c: (gst_queue_init),
10574         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10575         (gst_queue_set_property):
10576         * plugins/elements/gstqueue.h:
10577         In queue, when EOS is received, if minimum threshold > max_size -
10578         current_level, there is chance that queue blocks forever in conditional
10579         item del wait. This is because the queue is not emptied completely due
10580         to minimum threshold.  Here is another approach. Instead of setting
10581         cur_levels to max in EOS, just zero all minimum threshold levels. This
10582         should make sure that queue gives out all data. When going to READY
10583         (stop) state, just reset the original minimum threshold levels.
10584         Fixes #336336.
10585
10586 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
10587
10588         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10589         (gst_type_find_element_handle_event),
10590         (gst_type_find_element_send_cached_events),
10591         (gst_type_find_element_change_state):
10592         * plugins/elements/gsttypefindelement.h:
10593           When typefinding is done in push mode, we should cache
10594           events we receive during typefinding instead of just
10595           dropping them (e.g. newsegment, custom events from
10596           dvdreadsrc etc.) and then send them out once we've
10597           determined the type of the stream (and decodebin
10598           has had a chance to plug in a decoder/demuxer).
10599           
10600 2006-03-27  Wim Taymans  <wim@fluendo.com>
10601
10602         * docs/design/part-qos.txt:
10603         First QoS ideas.
10604
10605 2006-03-27  Wim Taymans  <wim@fluendo.com>
10606
10607         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10608
10609         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10610         (gst_base_src_send_event), (gst_base_src_change_state):
10611         Handle element seek correctly when we are streaming.
10612         Fixes #326998.
10613
10614 2006-03-24  Michael Smith  <msmith@fluendo.com>
10615
10616         * docs/faq/gst-uninstalled:
10617           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10618           allow you to correctly run intalled applications built against old 
10619           core, using plugins that require updated core (e.g. running
10620           installed totem against a full uninstalled gstreamer stack)
10621
10622 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10623
10624         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10625         more debug details
10626
10627 2006-03-24  Wim Taymans  <wim@fluendo.com>
10628
10629         * docs/gst/gstreamer-sections.txt:
10630         Rearrange the order of the methods so that related methods
10631         are grouped together in sections.
10632
10633 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10634
10635         * gst/gstelement.c:
10636           Little clarification in the docs
10637
10638 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10639
10640         * docs/README:
10641         formatting fix
10642         * plugins/elements/gstidentity.c:
10643         * plugins/elements/gstqueue.c:
10644         * plugins/elements/gsttee.c:
10645         * plugins/elements/gsttypefindelement.c:
10646         GST_ELEMENT_DETAILS formatting
10647
10648 2006-03-24  Wim Taymans  <wim@fluendo.com>
10649
10650         * libs/gst/base/gstbasesink.h:
10651         Only add fields, not insert or we break ABI.
10652
10653 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10654
10655         * win32/common/libgstbase.def:
10656         * win32/common/libgstreamer.def:
10657           Update, add recently added functions.
10658
10659 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10660
10661         * docs/gst/gstreamer-sections.txt:
10662         * gst/gstutils.c: (gst_pad_query_peer_position),
10663         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10664         * gst/gstutils.h:
10665           API: add some new utility functions:
10666            - gst_pad_query_peer_position()
10667            - gst_pad_query_peer_duration()
10668            - gst_pad_query_peer_convert()
10669           
10670 2006-03-23  Wim Taymans  <wim@fluendo.com>
10671
10672         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10673         (gst_base_sink_init), (gst_base_sink_finalize),
10674         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10675         (gst_base_sink_set_property), (gst_base_sink_get_property),
10676         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10677         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10678         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10679         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10680         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10681         (gst_base_sink_preroll_object), (gst_base_sink_event),
10682         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10683         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10684         (gst_base_sink_query), (gst_base_sink_change_state):
10685         Decouple max-lateness and the fact that QoS messages are generated
10686         with a new property (qos).
10687         added API: GstBaseSink::async_play()
10688         Add vmethod so subclasses can be notified of ASYNC playing
10689         state changes.
10690         Collect timestamp start and stop to report better current
10691         position in EOS/PLAYING/PAUSED/READY/NULL.
10692         Refactor QoS/frame dropping and other measurements.
10693         API: GstBaseSrc::qos
10694         Fixes #326311
10695
10696         * libs/gst/base/gstbasesink.h:
10697         Added Private struct.
10698         API: gst_base_sink_set_qos_enabled()
10699         API: gst_base_sink_is_qos_enabled()
10700
10701 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10702
10703         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10704           If compiling against GLib-2.8 or newer, try to read the
10705           registry file using GMappedFile first before falling back
10706           to fopen() + fread() (#332151).
10707
10708 2006-03-22  Wim Taymans  <wim@fluendo.com>
10709
10710         * gst/gstinfo.c: (gst_debug_set_active),
10711         (gst_debug_category_set_threshold):
10712         Disable debugging unless explicitly activated.
10713         Fixes #335480.
10714
10715 2006-03-22  Wim Taymans  <wim@fluendo.com>
10716
10717         * gst/gstelement.c: (gst_element_set_locked_state),
10718         (gst_element_dispose):
10719         Cleanup the error case.
10720
10721         * gst/gstobject.c: (gst_object_dispose):
10722         print a critical when some object was disposed with
10723         a parent, also revive the object since it might
10724         crash the parent.
10725
10726 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
10727
10728         * tools/gst-launch.1.in:
10729           Fix another typo.
10730
10731 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10732
10733         * configure.ac:
10734         * tests/check/Makefile.am:
10735           disable some tests when we don't have a registry
10736         * tests/check/gst/gstutils.c: (gst_utils_suite):
10737           don't build the part that needs parsing
10738
10739 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10740
10741         * gst/Makefile.am
10742         * tests/examples/Makefile.am:
10743           fix --disable-parse build
10744
10745 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10746
10747         * tools/gst-feedback.1.in:
10748           Fix typo: s/feeback/feedback/ (#133494).
10749
10750 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10751
10752         * tools/Makefile.am:
10753         * tools/gst-launch.1.in:
10754           Add FILES section and correct entry about GST_REGISTRY_PATH
10755           environment variable (#133495; #133494).
10756
10757 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10758
10759         * tools/Makefile.am:
10760         * tools/gst-md5sum.1.in:
10761         * tools/gst-md5sum.c:
10762           Remove gst-md5sum and man page (the md5sink element
10763           required was removed ages ago)
10764
10765 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10766
10767         * gst/gststructure.c: (gst_structure_id_set_value):
10768           Make sure that string fields in structures/taglists
10769           contain valid UTF-8 - we don't want to pass rubbish to
10770           applications because of a buggy plugin (cp. #334167).
10771
10772 2006-03-21  Edward Hervey  <edward@fluendo.com>
10773
10774         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10775         (gst_bin_handle_message_func):
10776         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10777         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10778         (gst_element_set_bus_func):
10779         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10780         * gst/gstminiobject.c: (gst_value_set_mini_object),
10781         (gst_value_take_mini_object):
10782         * gst/gstpad.c: (gst_pad_set_pad_template):
10783         * gst/gstpipeline.c: (gst_pipeline_dispose),
10784         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10785         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10786         (gst_collect_pads_chain):
10787         * libs/gst/net/gstnettimeprovider.c:
10788         (gst_net_time_provider_set_property):
10789         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10790         It's in fact all issues with gst_*object_replace().
10791
10792 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10793
10794         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
10795         
10796         * pkgconfig/gstreamer-check-uninstalled.pc.in:
10797         * pkgconfig/gstreamer-check.pc.in:
10798           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10799
10800 2006-03-21  Edward Hervey  <edward@fluendo.com>
10801
10802         * gst/gstbuffer.h:
10803         * gst/gstevent.h:
10804         * gst/gstmessage.h:
10805         gst_[buffer|event|message]_ref() macros are replaced by a static
10806         inline functions because gcc-4.1 will about if the return value
10807         isn't used.
10808         * tests/check/gst/gstevent.c: (event_probe):
10809         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10810
10811 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
10812
10813         * gst/gstutils.h:
10814         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10815         the type' case. (Closes: #335195 for now). In the future, when we
10816         depend on GLib 2.10, we could also intern the type name using
10817         g_intern_static_string()
10818
10819 2006-03-20  Wim Taymans  <wim@fluendo.com>
10820
10821         * gst/gstbin.c: (gst_bin_handle_message_func),
10822         (bin_query_max_init), (bin_query_position_fold),
10823         (bin_query_position_done), (gst_bin_query):
10824         Position query should also take max of all streams.
10825
10826 2006-03-20  Wim Taymans  <wim@fluendo.com>
10827
10828         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10829         (gst_fake_src_finalize):
10830         Fix leaks in fakesrc.
10831
10832         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10833         Fix leaks in the testcase.
10834
10835 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
10836
10837         * gst/gst_private.h:
10838           add win32 specific import decoration(__declspec(dllimport)) 
10839           for all extern GstDebugCategory * variables
10840         * win32/common/libgstbase.def:
10841         * win32/common/libgstcontroller.def:
10842         * win32/common/libgstreamer.def:
10843           Add some exports, remove empty lines
10844         * win32/common/libgstdataprotocol.def:
10845         * win32/common/libgstdataprotocol.dsp:
10846         * win32/common/libgstnet.def:
10847         * win32/common/libgstnet.dsp:
10848           new project files and exportation files added
10849         
10850 2006-03-19  Wim Taymans  <wim@fluendo.com>
10851
10852         * tests/check/libs/basesrc.c: (eos_event_counter):
10853         Use proper return value for probe.
10854
10855 2006-03-17  Wim Taymans  <wim@fluendo.com>
10856
10857         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10858         (gst_pad_push):
10859         Don't leak buffers, caps and pads on negotiation errors.
10860
10861 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
10862
10863         * docs/faq/cvs.xml:
10864         * docs/faq/dependencies.xml:
10865         * docs/faq/developing.xml:
10866         * docs/faq/faq.xml:
10867         * docs/faq/general.xml:
10868         * docs/faq/getting.xml:
10869         * docs/faq/legal.xml:
10870         * docs/faq/troubleshooting.xml:
10871         * docs/faq/using.xml:
10872         Faq review and update.
10873
10874 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
10875
10876         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10877         (gst_pad_push):
10878         Don't pound the cpu to pieces by checking get_caps when accept_caps
10879         is called with the same caps as the pad already has.
10880         Use GST_DEBUG_OBJECT when outputting caps change information.
10881
10882 2006-03-15  Wim Taymans  <wim@fluendo.com>
10883
10884         * gst/gstclock.c: (gst_clock_class_init):
10885         Fix docs.
10886
10887 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
10888
10889         * gst/gstbuffer.h:
10890         Documentation fix.
10891
10892         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10893         (gst_pad_accept_caps), (gst_pad_configure_sink),
10894         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10895         Make the default acceptcaps behaviour be to check the requested 
10896         caps against the gst_pad_get_caps output. 
10897
10898         Ensure that gst_pad_accept_caps is used to check caps when a pad
10899         doesn't have a setcaps function, so that pads automatically refuse 
10900         caps that they don't allow in their pad template. (Fixes #332986)
10901
10902         When a buffer with attached caps is pushed, ensure that the source 
10903         pad receives those caps even if the element didn't call
10904         gst_pad_set_caps first.
10905
10906 2006-03-15  Wim Taymans  <wim@fluendo.com>
10907
10908         * libs/gst/base/gstadapter.c:
10909         Add some docs.
10910
10911 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
10912
10913         * win32/common/libgstbase.def:
10914         * win32/common/libgstcontroller.def:
10915         * win32/common/libgstreamer.def:
10916           Add a whole bunch of missing functions (#334434).
10917
10918 2006-03-14  Wim Taymans  <wim@fluendo.com>
10919
10920         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10921         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10922         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10923         Better debug info when we receive a segment event.
10924         Reorganize a bit so we can pass the get_times() results around.
10925         Use the segment format when calculating the running time.
10926         Don't do QoS is sync is disabled or we have no clock or the
10927         element does not want us to sync to the clock.
10928         Don't drop buffers if QoS is disabled for now.
10929
10930 2006-03-14  Wim Taymans  <wim@fluendo.com>
10931
10932         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10933         Marked the stats property as unimplemented so people don't get
10934         wild ideas.
10935         Add debug message when regression goes wrong.
10936         Added some more docs.
10937
10938 2006-03-14  Wim Taymans  <wim@fluendo.com>
10939
10940         * gst/gstsegment.c: (gst_segment_to_stream_time):
10941         Return correct return type in case of errors.
10942
10943 2006-03-14  Wim Taymans  <wim@fluendo.com>
10944
10945         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10946           Don't segfault on invalid formats.
10947
10948 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10949
10950         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10951           Can't use gst_segment_to_running_time() when the segment
10952           is not in GST_TIME_FORMAT (like with filesink, for example).
10953           Stops flac encoding pipelines from spewing critical warnings
10954           at EOS (#331248).
10955           
10956 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10957
10958         * gst/gstpipeline.c: (gst_pipeline_class_init):
10959           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10960
10961         * plugins/elements/gsttypefindelement.c:
10962         (gst_type_find_element_handle_event):
10963           Don't try to typefind empty streams.
10964
10965 2006-03-14  Wim Taymans  <wim@fluendo.com>
10966
10967         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10968         (gst_base_sink_do_qos):
10969         Separate QoS calculation.
10970         Only drop buffers when lateness is bigger than the 
10971         duration of the buffer.
10972
10973 2006-03-13  Wim Taymans  <wim@fluendo.com>
10974
10975         * gst/gstpipeline.c: (gst_pipeline_set_property),
10976         (gst_pipeline_get_property), (do_pipeline_seek),
10977         (gst_pipeline_change_state), (gst_pipeline_set_delay),
10978         (gst_pipeline_get_delay):
10979         Don't deadlock when reading properties.
10980
10981 2006-03-13  Wim Taymans  <wim@fluendo.com>
10982
10983         * libs/gst/base/gstbasetransform.c:
10984         (gst_base_transform_class_init), (gst_base_transform_init),
10985         (gst_base_transform_sink_event),
10986         (gst_base_transform_sink_eventfunc),
10987         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10988         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10989         (gst_base_transform_set_property),
10990         (gst_base_transform_get_property),
10991         (gst_base_transform_change_state), (gst_base_transform_update_qos),
10992         (gst_base_transform_set_qos_enabled),
10993         (gst_base_transform_is_qos_enabled):
10994         * libs/gst/base/gstbasetransform.h:
10995         Make basetransform virtual method for src events too.
10996         Handle QOS in basetransform.
10997         API: gst_base_transform_update_qos()
10998         API: gst_base_transform_set_qos_enabled()
10999         API: gst_base_transform_is_qos_enabled()
11000
11001 2006-03-13  Wim Taymans  <wim@fluendo.com>
11002
11003         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11004         (gst_base_sink_do_sync):
11005         Small cleanups.
11006         Use QOS debug category.
11007
11008 2006-03-13  Wim Taymans  <wim@fluendo.com>
11009
11010         * plugins/elements/gstqueue.c:
11011         Very small doc update.
11012
11013 2006-03-13  Wim Taymans  <wim@fluendo.com>
11014
11015         * gst/gst_private.h:
11016         * gst/gstinfo.c: (_gst_debug_init):
11017         Added QOS debug category
11018
11019 2006-03-13  Wim Taymans  <wim@fluendo.com>
11020
11021         * docs/gst/gstreamer-sections.txt:
11022         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11023         * gst/gstbin.h:
11024         * gst/gstbus.c: (gst_bus_class_init):
11025         * gst/gstbus.h:
11026         * gst/gstclock.c:
11027         * gst/gstelement.c: (gst_element_set_locked_state):
11028         * gst/gstsegment.c:
11029         Documentation updates.
11030
11031         * gst/gstpipeline.c: (gst_pipeline_get_type),
11032         (gst_pipeline_class_init), (gst_pipeline_init),
11033         (gst_pipeline_dispose), (gst_pipeline_set_property),
11034         (gst_pipeline_get_property), (do_pipeline_seek),
11035         (gst_pipeline_send_event), (gst_pipeline_change_state),
11036         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11037         (gst_pipeline_get_delay):
11038         * gst/gstpipeline.h:
11039         Added methods for setting the delay.
11040         API: gst_pipeline_set_delay()
11041         API: gst_pipeline_get_delay()
11042         Add pipeline debug category
11043         Various cleanups.
11044         Updated docs.
11045         Don't reset stream time when seek failed.
11046
11047 2006-03-13  Wim Taymans  <wim@fluendo.com>
11048
11049         * docs/design/draft-klass.txt:
11050         * docs/design/part-clocks.txt:
11051         * docs/design/part-events.txt:
11052         * docs/design/part-gstbin.txt:
11053         * docs/design/part-gstpipeline.txt:
11054         * docs/design/part-messages.txt:
11055         * docs/design/part-negotiation.txt:
11056         * docs/design/part-overview.txt:
11057         * docs/design/part-preroll.txt:
11058         * docs/design/part-seeking.txt:
11059         * docs/design/part-states.txt:
11060         * docs/design/part-streams.txt:
11061         Documentation updates.
11062
11063 2006-03-12  Julien MOUTTE  <julien@moutte.net>
11064
11065         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11066         us to leak strings...
11067
11068 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11069
11070         * libs/gst/net/gstnettimeprovider.c:
11071           fix docs
11072         * win32/common/config.h:
11073           update
11074
11075 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
11076
11077         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11078
11079         * configure.ac:
11080           Don't check for libgnomeui (leftover from old examples
11081           that aren't built or disted any longer) (#334303).
11082           
11083 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
11084
11085         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11086         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11087           Emit RESOURCE_NO_SPACE_LEFT error here as well when
11088           there's no space left on the device.
11089
11090 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
11091
11092         * gst/gstclock.h:
11093           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11094           to cast the input to GstClockTime before comparing with
11095           another GstClockTime value.
11096
11097 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11098
11099         * configure.ac:
11100           back to trunk
11101
11102 === release 0.10.4 ===
11103
11104 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
11105
11106         * configure.ac:
11107           releasing 0.10.4, "Light"
11108
11109 2006-03-10  Michael Smith  <msmith@fluendo.com>
11110
11111         * libs/gst/dataprotocol/dataprotocol.c:
11112           Fix docs for dataprocotol to not get the return types completely
11113           wrong for a few functions.
11114
11115 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11116
11117         * docs/gst/gstreamer-sections.txt:
11118         * gst/gstpipeline.c: (gst_pipeline_class_init),
11119         (gst_pipeline_init), (gst_pipeline_set_property),
11120         (gst_pipeline_get_property), (gst_pipeline_change_state),
11121         (gst_pipeline_set_auto_flush_bus),
11122         (gst_pipeline_get_auto_flush_bus):
11123         * gst/gstpipeline.h:
11124           Add new API: gst_pipeline_set_auto_flush_bus() and
11125           gst_pipeline_get_auto_flush_bus() to disable automatic
11126           flushing of the pipeline's GstBus when going from READY
11127           to NULL state (#332045).
11128
11129 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11130
11131         * docs/gst/gstreamer-sections.txt:
11132         * gst/gsturi.c: (gst_uri_has_protocol):
11133         * gst/gsturi.h:
11134            Add new API: gst_uri_has_protocol() (#333779).
11135
11136 2006-03-09  Wim Taymans  <wim@fluendo.com>
11137
11138         * gst/gstclock.c: (gst_clock_entry_new),
11139         (gst_clock_id_compare_func), (gst_clock_id_wait),
11140         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11141         (gst_clock_init), (gst_clock_get_internal_time),
11142         (gst_clock_set_master), (do_linear_regression),
11143         (gst_clock_add_observation), (gst_clock_set_property):
11144         * gst/gstclock.h:
11145         Review docs.
11146         Small cleanups.
11147         Fix a possible segfault when the window-size is made smaller.
11148         Calculate jitter before performing the clock wait. Ideally
11149         the clock implementation should calculate jitter but we need
11150         API breakage for that.
11151
11152         * gst/gstsystemclock.c: (gst_system_clock_init):
11153         Docs review.
11154         
11155         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11156         Remove leftover else
11157
11158         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11159         (gst_systemclock_suite):
11160         Added check to test GST_CLOCK_DIFF.
11161
11162 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11163
11164         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11165         (gst_type_find_helper_get_range):
11166           If we are provided with the size, we should implement
11167           GstTypeFind::get_length, so that typefind functions who
11168           want to can actually peek at the middle of a file.
11169
11170 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
11171
11172         * docs/manual/advanced-dataaccess.xml:
11173           Add some very very basic error checking.
11174
11175         * docs/pwg/appendix-checklist.xml:
11176           Some updates to the list of things to check when writing an element.
11177
11178 2006-03-08  Wim Taymans  <wim@fluendo.com>
11179
11180         * docs/design/part-element-transform.txt:
11181         Added some docs about the design of tranform elements.
11182
11183         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11184         (gst_base_src_loop), (gst_base_src_change_state):
11185         Mark buffers with the DISCONT flag.
11186
11187 2006-03-08  Michael Smith  <msmith@fluendo.com>
11188
11189         * gst/gstregistry.h:
11190         * gst/gstregistryxml.c: (gst_registry_save),
11191         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11192         (gst_registry_xml_save_pad_template),
11193         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11194         (gst_registry_xml_write_cache):
11195           Rewrite registry-saving to avoid race conditions and check for
11196           failed writes.
11197
11198 2006-03-08  Wim Taymans  <wim@fluendo.com>
11199
11200         * libs/gst/base/gstbasetransform.c:
11201         (gst_base_transform_transform_caps),
11202         (gst_base_transform_transform_size),
11203         (gst_base_transform_prepare_output_buffer),
11204         (gst_base_transform_get_unit_size),
11205         (gst_base_transform_buffer_alloc),
11206         (gst_base_transform_handle_buffer),
11207         (gst_base_transform_change_state):
11208         Cleanups, separate normal flow from errors, add sensible
11209         DEBUG lines.
11210         Don't try to renegotiate when allocating an output buffer.
11211         Also copy DISCONT buffer flag when copying a buffer.
11212         Reset the transform after we finish streaming, not during.
11213
11214 2006-03-08  Wim Taymans  <wim@fluendo.com>
11215
11216         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11217         Use last buffer timestamp in qos message.
11218
11219 2006-03-07  Wim Taymans  <wim@fluendo.com>
11220
11221         Patch by: Christophe Fergeau
11222
11223         * docs/pwg/advanced-tagging.xml:
11224         * docs/pwg/building-pads.xml:
11225           fixes #333416
11226
11227 2006-03-07  Wim Taymans  <wim@fluendo.com>
11228
11229         * docs/libs/gstreamer-libs-sections.txt:
11230         Added basesink new methods.
11231
11232         * gst/gstevent.c:
11233         * gst/gstevent.h:
11234         Docs updates. Flesh out the QoS docs.
11235
11236         * libs/gst/base/gstadapter.c:
11237         Small doc clarification about ownership and flushing.
11238
11239         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11240         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11241         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11242         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11243         * libs/gst/base/gstbasesink.h:
11244         API additions: 
11245         Added new methods to allow subclass to control max-lateness 
11246         and sync.
11247         Generate very basic QoS events based on last sync observation.
11248         Updated docs, fix typo, added some QoS blurb.
11249
11250         * libs/gst/base/gstbasesrc.c:
11251         Remove obsolete _get_state() calls from docs.
11252
11253 2006-03-07  Wim Taymans  <wim@fluendo.com>
11254
11255         * docs/libs/gstreamer-libs-sections.txt:
11256         * libs/gst/base/gstbasetransform.h:
11257         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11258         Fix docs for GstBaseSrc.
11259
11260 2006-03-07  Wim Taymans  <wim@fluendo.com>
11261
11262         * docs/gst/gstreamer-sections.txt:
11263         * gst/gstbuffer.h:
11264         * gst/gstvalue.c:
11265         * libs/gst/base/gstbasetransform.h:
11266         Small documentation fixes.
11267
11268 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11269
11270         * gst/gstvalue.c:
11271           Document thread-unsafety of gst_value_register_foo_func()
11272           when used at the same time as gst_value_foo() (#322628).
11273
11274 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11275
11276         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11277         (gst_push_src_check_get_range):
11278           Push sources don't support pull mode by default.
11279
11280 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11281
11282         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11283         (gst_base_src_init), (gst_base_src_pad_check_get_range),
11284         (gst_base_src_default_check_get_range):
11285         * libs/gst/base/gstbasesrc.h:
11286           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11287           provide default implementation, and rename
11288           gst_base_src_check_get_range() to
11289           gst_base_src_pad_check_get_range() for clarity.
11290
11291 2006-03-06  Wim Taymans  <wim@fluendo.com>
11292
11293         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11294         Make property overridable.
11295
11296 2006-03-06  Wim Taymans  <wim@fluendo.com>
11297
11298         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11299         (gst_base_sink_init), (gst_base_sink_set_property),
11300         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11301         * libs/gst/base/gstbasesink.h:
11302         API addition: Make max-lateness a property.
11303
11304 2006-03-06  Wim Taymans  <wim@fluendo.com>
11305
11306         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11307         (gst_base_sink_do_sync), (gst_base_sink_render_object):
11308         Don't ever draw a frame that is >10ms late.
11309
11310 2006-03-06  Michael Smith  <msmith@fluendo.com>
11311
11312         * gst/gstmessage.c: (_gst_message_copy):
11313           When copying a message, set the parent_refcount of the enclosed
11314           structure to point at the copy, not the original message.
11315
11316 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11317
11318         Patch by: Christophe Fergeau
11319
11320         * gst/gstutils.h:
11321           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11322           usable in c++ code (#333417)
11323
11324 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11325
11326         * gst/gstclock.h:
11327           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11328
11329 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
11330
11331         * libs/gst/base/gstbasetransform.c:
11332         (gst_base_transform_transform_caps):
11333           Make sure caps are writable before passing them to
11334           gst_caps_append().
11335
11336 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11337
11338         * gst/gsterror.h:
11339           Fix some minor docs errors.
11340
11341 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11342
11343           Patch by: Ross Burton <ross at burtonini dot com>
11344
11345         * gst/gsterror.c: (_gst_resource_errors_init):
11346         * gst/gsterror.h:
11347           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11348
11349 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11350
11351         * gst/gst.c:
11352         Add a check and output a g_warning when GStreamer is built
11353         against GLib 2.6 but running against 2.8 or higher, and vice 
11354         versa. (Closes: #323542)
11355
11356 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11357
11358         * gst/parse/parse.l:
11359           Commit patch for parse_launch syntax from #331255. Removes 
11360           support for quoted strings and mimetypes when writing filtered 
11361           caps. See the bug report for more details - I'm pretty sure this
11362           obscure feature is not in use by _anyone_ anywhere.
11363
11364           With this simple change, the size of the gstreamer.so here 
11365           drops from 2193KB to 1565KB.
11366
11367 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11368
11369         * plugins/elements/gsttypefindelement.h:
11370         * plugins/elements/gsttypefindelement.c:
11371         (gst_type_find_element_src_event), (start_typefinding),
11372         (stop_typefinding), (gst_type_find_element_handle_event),
11373         (gst_type_find_element_chain),
11374         (gst_type_find_element_chain_do_typefinding):
11375           Use gst_type_find_helper_for_buffer() for chain-based
11376           typefinding.
11377
11378 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11379
11380         * plugins/elements/gsttypefindelement.c:
11381         (gst_type_find_element_class_init),
11382         (gst_type_find_element_set_property),
11383         (gst_type_find_element_get_property):
11384           Deprecate "maximum" property (not only was it only taken into
11385           account for typefinding in push-mode anyway, it also was never
11386           actually possible to set it in the first place because the
11387           property was registered with the numeric property ID for the
11388           "minimum" property). Register "maximum" property correctly,
11389           for the sake of future copy'n'pasters. Remove some cruft
11390           from property get/set functions.
11391
11392 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11393
11394         * plugins/elements/gsttypefindelement.c:
11395         (gst_type_find_element_activate):
11396           Use gst_type_find_helper_get_range() here, so we
11397           can honour the "minimum" property and also emit
11398           the signal with the correct probability of the found caps.
11399
11400 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
11401
11402         * docs/libs/gstreamer-libs-sections.txt:
11403         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11404         (helper_find_suggest), (gst_type_find_helper_get_range),
11405         (gst_type_find_helper):
11406         * libs/gst/base/gsttypefindhelper.h:
11407           New API: gst_type_find_helper_get_range() (#333042).
11408
11409 2006-03-02  Michael Smith  <msmith@fluendo.com>
11410
11411         * gst/gstregistryxml.c: (load_feature):
11412           Asserting on a failure to read part of the registry is Not Cool.
11413           Just log a warning and return NULL (which is already handled)
11414
11415 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
11416
11417         * win32/common/libgstbase.def:
11418           added export of gst_type_find_helper_for_buffer
11419         * win32/common/libgstbase.def:
11420           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11421           gst_ghost_pad_get_target
11422
11423 2006-02-28  Wim Taymans  <wim@fluendo.com>
11424
11425         * docs/design/draft-klass.txt:
11426         We use Filter now.
11427         Added Connector to mark elements that are only used to
11428         allow pipeline connections.
11429         Moved Debug to extra feature since most of them are 
11430         functionally something else.
11431
11432 2006-02-28  Wim Taymans  <wim@fluendo.com>
11433
11434         * docs/design/draft-klass.txt:
11435         Some updates and clarifications.
11436
11437 2006-02-28  Wim Taymans  <wim@fluendo.com>
11438
11439         * docs/design/draft-klass.txt:
11440         Proposal for klass field values.
11441
11442         * docs/design/part-streams.txt:
11443         Start of a doc describing stream anatomy.
11444
11445 2006-02-28  Wim Taymans  <wim@fluendo.com>
11446
11447         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11448         Help the compiler a bit with type registration.
11449         Use existing forward cod path instead of duplicating it when 
11450         handling a message.
11451         
11452         * gst/gstbus.c: (gst_bus_get_type):
11453         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11454         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11455         * gst/gstclock.c: (gst_clock_get_type):
11456         * gst/gstelement.c: (gst_element_get_type),
11457         * gst/gstelementfactory.c: (gst_element_factory_get_type):
11458         * gst/gstindexfactory.c: (gst_index_factory_get_type):
11459         * gst/gstminiobject.c: (gst_mini_object_get_type):
11460         * gst/gstpad.c: (gst_pad_get_type):
11461         * gst/gstsegment.c: (gst_segment_get_type):
11462         * gst/gststructure.c: (gst_structure_get_type):
11463         * gst/gstsystemclock.c: (gst_system_clock_get_type):
11464         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11465         * gst/gstvalue.c:
11466         Help compiler with type registration.
11467
11468         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11469         Small doc update.
11470
11471 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11472
11473         * plugins/elements/gsttypefindelement.c:
11474         (gst_type_find_element_handle_event):
11475           When we get an EOS event and have not found a type yet
11476           (most likely because we had not yet accumulated
11477           TYPE_FIND_MIN_SIZE of data yet), try to determine the
11478           type given the data we have so far. Fixes typefinding
11479           for very short streams again, most notably quicktime
11480           redirections as used on Apple's trailer site (#331701).
11481
11482 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11483
11484         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11485         (gst_type_find_helper):
11486           Try typefinding factories with the highest rank first.
11487
11488 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11489
11490         * docs/libs/gstreamer-libs-docs.sgml:
11491         * docs/libs/gstreamer-libs-sections.txt:
11492         * libs/gst/base/gsttypefindhelper.c:
11493           Add section for typefind helper and add documentation
11494           for the old and the new function.
11495
11496 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11497
11498         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11499         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11500         (gst_type_find_helper_for_buffer):
11501         * libs/gst/base/gsttypefindhelper.h:
11502           New API: gst_type_find_helper_for_buffer() (#332723).
11503           
11504 2006-02-27  Michael Smith  <msmith@fluendo.com>
11505
11506         Patch by: Loïc Minier
11507
11508         * configure.ac:
11509         * docs/Makefile.am:
11510         * docs/slides/Makefile.am:
11511           prevent CVS directories getting disted.
11512
11513 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11514
11515         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11516           Use the REFCOUNTING category for caps refcounting.
11517           
11518 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11519
11520         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11521           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11522
11523 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11524
11525         * plugins/elements/gsttypefindelement.c:
11526         (gst_type_find_element_activate):
11527           Use gst_pad_check_pull_range() before _activate_pull()
11528           to avoid unnecessary open/close (see #331690).
11529
11530 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11531
11532         * gst/gstutils.c:
11533           Docs enhancement: make it crystal clear what the
11534           gst_pad_add_*_probe() callbacks should look like.
11535
11536 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11537
11538         * libs/gst/base/gstbasesrc.c:
11539           Document how applications can stop recording from
11540           live sources (see #330996).
11541
11542 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11543
11544         * tests/check/Makefile.am:
11545         * tests/check/libs/basesrc.c: (eos_event_counter),
11546         (basesrc_eos_events_pull), (basesrc_eos_events_push),
11547         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11548         (gst_basesrc_suite), (main):
11549           ... and add some tests for the base source EOS stuff.
11550
11551 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11552
11553         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11554           Test case originally showed the problem fixed below,
11555           but was then amended. Add checks back at the place
11556           where they used to be.
11557
11558 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11559
11560         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11561         (gst_base_src_init), (gst_base_src_loop),
11562         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11563         (gst_base_src_change_state):
11564         * libs/gst/base/gstbasesrc.h:
11565           Don't unconditionally send EOS when going from PAUSED to
11566           READY state, esp. make sure we don't send two EOS events
11567           in some cases (e.g. one when reaching EOS and one when
11568           going from PAUSED to READY). Also, we don't want to send
11569           EOS events when operating in pull mode. However, we do
11570           want to send an EOS event when shutting down a live
11571           source explicitly, for example (fixes #330996).
11572           
11573 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11574
11575         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11576           Update src->read_position after a seek when not using mmap.
11577           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11578
11579 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
11580
11581         * gst/Makefile.am:
11582         * gst/gstparse.h:
11583         * gst/gstutils.c:
11584         * gst/gstutils.h:
11585         Make things work with --disable-parse as they do with 
11586         --disable-load-save - the symbols involved disappear, but the
11587         header is still installed and GST_DISABLE_PARSE is included via
11588         gstconfig.h
11589
11590 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11591
11592         * libs/gst/base/gstbasetransform.c:
11593         (gst_base_transform_change_state): Fix a stupid bug. I was 
11594         sure I compiled that.
11595
11596 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11597
11598         * gst/gstpad.c: (gst_pad_set_blocked_async):
11599         * gst/gstutils.c: (gst_pad_add_data_probe),
11600         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11601         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11602         (gst_pad_remove_buffer_probe): Make those function act on the
11603         ghostpad target when it's a ghostpad. (Closes #331727)
11604
11605 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11606
11607         * libs/gst/base/gstbasetransform.c:
11608         (gst_base_transform_change_state): Make basetransform reusable.
11609         (Closes #331898)
11610
11611 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
11612
11613         * docs/random/release:
11614         Move the current documentation of how to do a release to the top
11615         of the file.
11616
11617         * gst/gstbin.c: (gst_bin_class_init),
11618         (gst_bin_handle_message_func):
11619         Allow multiple state-recalculation threads. (Closes #328873)
11620
11621 2006-02-19  Julien MOUTTE  <julien@moutte.net>
11622
11623         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11624         * gst/gstpad.c: (gst_pad_set_event_function),
11625         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11626         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11627         2 strings. You can't use the STR_NULL macro on that.
11628
11629 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
11630
11631         * gst/gstpad.c: (gst_pad_set_event_function),
11632         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11633         (gst_pad_set_getcaps_function)
11634         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11635           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11636           So now, we can use --gst-debug-level=5 on Windows
11637         * win32/common/libgstcontroller.def:
11638           Added export of gst_controller_init
11639         * win32/vs6/libgstcontroller.dsp:
11640           Fixed Release post build configuration
11641
11642 2006-02-17  Wim Taymans  <wim@fluendo.com>
11643
11644         * tests/check/gst/gstquery.c: (GST_START_TEST):
11645         Added another check.
11646
11647 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
11648
11649         * plugins/elements/gsttypefindelement.c: (find_peek):
11650           We can do peeks at non-zero offsets, as long as they
11651           fall within the buffer we have.
11652
11653 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
11654
11655         * tests/check/Makefile.am:
11656         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11657         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11658         (parse_suite), (main):
11659           Add testsuite for parse launch syntax
11660
11661 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
11662
11663         * plugins/elements/gsttypefindelement.c:
11664         (gst_type_find_element_chain):
11665           When typefinding is unsuccessful in the chain function, don't
11666           error out immediately. Only error out with NO_CAPS_FOUND if
11667           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11668           otherwise simply wait for more data so we can try typefinding
11669           again with more data later. Also, don't attempt to typefind
11670           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11671           this should improve typefinding from network sources where the
11672           size of the first buffer can be somewhat random.
11673
11674 2006-02-14  Wim Taymans  <wim@fluendo.com>
11675
11676         * docs/gst/gstreamer-sections.txt:
11677         * gst/gstpadtemplate.c:
11678         * gst/gstpadtemplate.h:
11679         Fix padtemplate docs, fixes #328805.
11680
11681 2006-02-14  Wim Taymans  <wim@fluendo.com>
11682
11683         * tools/gst-launch.c: (main):
11684         NO_PREROLL is not an ERROR so don't send confusing messages
11685         to the user.
11686
11687 2006-02-14  Wim Taymans  <wim@fluendo.com>
11688
11689         Patch by: Torsten Schoenfeld
11690
11691         * gst/gstregistry.c: (gst_registry_get_default),
11692         (_gst_registry_cleanup):
11693         Protect default registry with lock and ref/sink it.
11694         Fixes #324818
11695
11696 2006-02-14  Wim Taymans  <wim@fluendo.com>
11697
11698         * gst/gstbuffer.c:
11699         * gst/gstquery.c: (gst_query_list_add_format),
11700         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11701         (gst_query_parse_formats_nth):
11702         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11703         Docs fixes.
11704
11705 2006-02-14  Wim Taymans  <wim@fluendo.com>
11706
11707         * docs/gst/gstreamer-sections.txt:
11708         Reworked query docs.
11709
11710         * gst/gstquery.c: (gst_query_new_formats),
11711         (gst_query_list_add_format), (gst_query_set_formats),
11712         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11713         (gst_query_parse_formats_nth):
11714         * gst/gstquery.h:
11715         Flesh out formats query, added some new methods.
11716         Fix part of #324398.
11717
11718         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11719         Added query creation tests.
11720
11721 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
11722
11723         * gst/gstpad.c: (fixate_value):
11724         Add a default fixation for fraction lists.
11725
11726 2006-02-13  Wim Taymans  <wim@fluendo.com>
11727
11728         * gst/gsttask.c: (gst_task_init), (gst_task_func),
11729         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11730         (gst_task_join):
11731         * gst/gsttask.h:
11732         Detect and warn for obvious deadlocks. fixes #320340
11733         Fix error case where lock was not released.
11734
11735         * tests/check/Makefile.am:
11736         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11737         (task_func), (gst_element_suite), (main):
11738         Add task check.
11739
11740 2006-02-13  Wim Taymans  <wim@fluendo.com>
11741
11742         * docs/gst/gstreamer-sections.txt:
11743         * gst/gstbus.c:
11744         Add new functions to docs.
11745
11746 2006-02-13  Wim Taymans  <wim@fluendo.com>
11747
11748         * docs/design/part-TODO.txt:
11749         Updated TODO list, basesrc supports seeking to non-bytes
11750         formats.
11751
11752         * docs/design/part-element-sink.txt:
11753         Update docs.
11754
11755         * gst/gstbin.c: (bin_replace_message),
11756         (gst_bin_handle_message_func):
11757         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11758         * gst/gstevent.c: (gst_event_finalize):
11759         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11760         (gst_pad_send_event):
11761         Use shiny new _TYPE_NAME macros.
11762
11763         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11764         Move debug statement up.
11765
11766         * gst/gstelement.c: (gst_element_set_locked_state):
11767         Add some debugging.
11768
11769 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
11770
11771         * docs/gst/gstreamer-sections.txt:
11772         * gst/gstmessage.h:
11773         * gst/gstquery.h:
11774           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11775           macros (#330906). Also, document the already existing
11776           GST_QUERY_TYPE macro.
11777
11778 2006-02-13  Wim Taymans  <wim@fluendo.com>
11779
11780         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11781         (event_probe), (GST_START_TEST):
11782         Only events up to the pipeline EOS are counted, there are
11783         some more when going to NULL currently which we don't care
11784         about for now.
11785
11786 2006-02-13  Wim Taymans  <wim@fluendo.com>
11787
11788         * gst/gstpad.c: (gst_pad_send_event):
11789         Correctly check flushing and emit probes. fixes #330125
11790
11791 2006-02-10  Andy Wingo  <wingo@pobox.com>
11792
11793         * gst/gstbus.c (gst_bus_class_init): Declare our private data
11794         structure.
11795         (gst_bus_init): Cache the location of the private data in the
11796         instance structure.
11797         (gst_bus_enable_sync_message_emission) 
11798         (gst_bus_disable_sync_message_emission): Implement new public
11799         functions.
11800         (gst_bus_post): Emit the sync-message signal if the user asked for
11801         it. Fixes #330684.
11802
11803         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11804         location of the bus-private structure.
11805         (gst_bus_enable_sync_message_emission)
11806         (gst_bus_disable_sync_message_emission): API addition
11807
11808 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
11809
11810         Patch by: Vincent Torri
11811
11812         * docs/pwg/building-boiler.xml:
11813         PWG patch from #326800
11814
11815 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
11816
11817         * configure.ac:
11818         * docs/Makefile.am:
11819         * docs/design/Makefile.am:
11820           Dist design docs.
11821
11822 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11823
11824         * configure.ac:
11825           back to CVS
11826
11827 === release 0.10.3 ===
11828
11829 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
11830
11831         * configure.ac:
11832           releasing 0.10.3, "Like a virgin"
11833
11834 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11835
11836         * configure.ac:
11837           2nd prerelease of 0.10.3
11838           Bump libtool versioning.
11839
11840 2006-02-07  Andy Wingo  <wingo@pobox.com>
11841
11842         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11843         update last_stop if we're in TIME format and the timestamp is
11844         valid.
11845
11846         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
11847         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
11848         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11849         If we get a new newsegment with a different format, adapt
11850         accordingly.
11851
11852         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11853         of 0. Not a problem, really.
11854
11855         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11856         warn if sync=true.
11857
11858 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
11859
11860         * configure.ac:
11861           Prelease of 0.10.3
11862
11863 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
11864
11865         * win32/vs7:
11866           project files updated to the default vs7 configuration
11867         * win32/common/libgstbase.def:
11868         * win32/common/libgstreamer.def:
11869           added new symbols,
11870           removed empty lines,
11871           sorted all exported symbols alphabetically
11872         * win32/common/dirent.c:
11873         * win32/common/dirent.h:
11874         * win32/common/gchar.h:
11875           use windows line end.
11876           
11877 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11878
11879         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11880           Send EOS event when stopping.
11881
11882 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11883
11884         * docs/README:
11885           Tell folks what to do if the plugin-foobar.xml file
11886           hasn't been generated for a newly-added plugin.
11887
11888 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11889
11890         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11891         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11892         (gst_collect_pads_start), (gst_collect_pads_stop),
11893         (gst_collect_pads_event): Collectpads now holds a reference
11894         to the GstPad that was added. Indeed we don't want to look
11895         at pads that might just go away with no warning...
11896
11897 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11898
11899         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11900         (gst_collect_pads_start), (gst_collect_pads_stop),
11901         (gst_collect_pads_event), (gst_collect_pads_chain):
11902         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11903         Mark Nauwelaerts's patch on bug #328491.
11904
11905 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11906
11907         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11908         (gst_utils_suite):
11909           Add some simple tests for gst_parse_bin_from_description() and
11910           gst_bin_find_unconnected_pad() (#329069).
11911
11912 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11913
11914         * tools/gst-launch.c: (event_loop), (main):
11915           Catch errors during preroll (#320084).
11916
11917 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
11918
11919         * plugins/elements/gsttypefindelement.c:
11920         (gst_type_find_element_activate):
11921           Post TYPE_NOT_FOUND error message when typefinding
11922           is unsuccessful in the activate function as well.
11923
11924 2006-02-02  Wim Taymans  <wim@fluendo.com>
11925
11926         * docs/design/part-element-sink.txt:
11927         Updated doc.
11928
11929 2006-02-02  Wim Taymans  <wim@fluendo.com>
11930
11931         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11932         (gst_base_sink_render_object),
11933         (gst_base_sink_queue_object_unlocked):
11934         Only keep track of prerollable items when we are 
11935         prerolling.
11936         Before rendering after preroll, always check if we
11937         have queued items.
11938         Added some more debugging.
11939
11940 2006-02-02  Wim Taymans  <wim@fluendo.com>
11941
11942         * gst/gstelement.c: (gst_element_continue_state),
11943         (gst_element_set_state_func), (gst_element_change_state):
11944         Fixed #326576, been running this for quite some time with
11945         no regressions at all.
11946
11947 2006-02-02  Wim Taymans  <wim@fluendo.com>
11948
11949         * common/gst.supp:
11950         Added more suppressions
11951
11952 2006-02-02  Wim Taymans  <wim@fluendo.com>
11953
11954         * docs/design/part-element-sink.txt:
11955         Updated document.
11956
11957         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11958         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11959         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11960         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11961         (gst_base_sink_do_sync), (gst_base_sink_render_object),
11962         (gst_base_sink_preroll_object),
11963         (gst_base_sink_queue_object_unlocked),
11964         (gst_base_sink_queue_object), (gst_base_sink_event),
11965         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11966         (gst_base_sink_loop), (gst_base_sink_activate_pull),
11967         (gst_base_sink_get_position), (gst_base_sink_change_state):
11968         * libs/gst/base/gstbasesink.h:
11969         Totally refactored matching the design doc.
11970         Use two segments, one to clip incomming buffers and another to
11971         perform sync.
11972         Handle queueing correctly, bypass the queue when playing.
11973         Make EOS cancelable.
11974         Handle errors correctly when operating in pull based mode.
11975
11976         * tests/check/elements/fakesink.c: (GST_START_TEST),
11977         (fakesink_suite):
11978         Added new check for sinks.
11979
11980 2006-02-02  Wim Taymans  <wim@fluendo.com>
11981
11982         * gst/gstsegment.c: (gst_segment_clip):
11983         No reason to refuse to clip when start == -1
11984
11985 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
11986
11987         * docs/README:
11988         * docs/manual/intro-basics.xml:
11989         * docs/manual/intro-preface.xml:
11990         * docs/manual/manual.xml:
11991         * docs/pwg/advanced-dparams.xml:
11992         * docs/pwg/intro-basics.xml:
11993         * docs/pwg/intro-preface.xml:
11994         * docs/pwg/pwg.xml:
11995           describe dparams (controller) for plugins
11996           unify docs a little more
11997
11998 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
11999
12000         * docs/gst/gstreamer-sections.txt:
12001         * gst/gstutils.c: (element_find_unconnected_pad),
12002         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12003         * gst/gstutils.h:
12004           Add new API: gst_parse_bin_from_description() and
12005           gst_bin_find_unconnected_pad() (#329069).
12006
12007 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
12008
12009         * docs/manual/README:
12010           uncover a nasty detail of the docs build
12011
12012 2006-01-31  Wim Taymans  <wim@fluendo.com>
12013
12014         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12015         Don't cache duration messages if we're not going to use or
12016         free them.
12017
12018 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
12019
12020         * docs/manual/advanced-dparams.xml:
12021         * docs/pwg/advanced-dparams.xml:
12022           more dparam docs
12023         * gst/gstindex.c:
12024           fix docs
12025         * libs/gst/controller/lib.c: (gst_controller_init):
12026           init just once
12027
12028 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
12029
12030         * gst/gstelement.c: (gst_element_message_full):
12031           also show file/line/func if no additional debug was given
12032
12033 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
12034         
12035         * win32/vs7/grammar.vcproj:
12036           activate copy of autogenerated files for Release mode
12037
12038 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12039         
12040         * win32/common/libgstreamer.def:
12041           export gst_value_compare
12042
12043 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
12044
12045         * plugins/elements/Makefile.am:
12046         * plugins/elements/gstelements.c:
12047         * plugins/elements/gstfdsink.c: (_do_init),
12048         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12049         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12050         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12051         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12052         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12053         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12054         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12055         * plugins/elements/gstfdsink.h:
12056         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12057
12058 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
12059
12060         * docs/manual/advanced-dparams.xml:
12061           describe controller
12062         * docs/manual/advanced-position.xml:
12063         * docs/manual/basics-init.xml:
12064         * docs/manual/manual.xml:
12065         * docs/manual/titlepage.xml:
12066         * docs/pwg/pwg.xml:
12067         * docs/pwg/titlepage.xml:
12068           cleanup xml (more to come)
12069         * libs/gst/controller/gstcontroller.c:
12070           fix typo
12071
12072 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12073         
12074         * win32/vs6/grammar.dsp:
12075           add autogen of gstmarshal.c,h for Release mode
12076                 
12077 2006-01-30  Wim Taymans  <wim@fluendo.com>
12078
12079         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12080         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12081         (gst_base_sink_handle_object), (gst_base_sink_event),
12082         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12083         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12084         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12085         (gst_base_sink_deactivate), (gst_base_sink_activate),
12086         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12087         (gst_base_sink_query), (gst_base_sink_change_state):
12088         Basesink cleanups, remove some old code.
12089         Handle the case where a subclass can preroll in the render
12090         method (mostly audiosinks).
12091         Handle more events.
12092         Remove some locks around variables that are now protected
12093         with the PREROLL_LOCK (clock_id, flushing, ..).
12094         Optimize position query some more, do correct locking.
12095         Remove old code to push queue in state change, this is not
12096         needed anymore since preroll blocks on all prerollable items 
12097         now.
12098         Almost implemented as described in design doc.
12099
12100 2006-01-30  Wim Taymans  <wim@fluendo.com>
12101
12102         * tests/check/gst/gstbin.c: (GST_START_TEST):
12103         Wait for refcount to settle down before checking.
12104
12105 2006-01-30  Wim Taymans  <wim@fluendo.com>
12106
12107         * docs/design/part-element-sink.txt:
12108         Pseudo code overview of desired sink behaviour regarding
12109         preroll.
12110
12111 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12112         * win32/vs6/grammar.dsp:
12113           fix some bugs in Release mode for autogenerated files
12114                 
12115 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12116         * win32/common/libgstbase.def:
12117         * win32/common/libgstreamer.def:
12118           export some new symbols: gst_base_src_set_format,
12119           gst_iterator_next, gst_structure_set_valist
12120
12121 2006-01-29  Julien MOUTTE  <julien@moutte.net>
12122
12123         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12124         Set pad functions unconditionally. Fixes #329105.
12125
12126 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12127         * win32/vs8:
12128           add vs8 project files created by Sergey Scobich
12129
12130 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
12131
12132         * gst/gstutils.c: (gst_element_unlink_pads):
12133         Don't leak pad references.
12134
12135         * tests/check/elements/fakesink.c: (GST_START_TEST):
12136         * tests/check/generic/sinks.c: (GST_START_TEST):
12137         * tests/check/generic/states.c: (GST_START_TEST):
12138         * tests/check/gst/gstbin.c: (GST_START_TEST):
12139         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12140         * tests/check/gst/gstelement.c: (GST_START_TEST):
12141         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12142         * tests/check/gst/gstiterator.c: (GST_START_TEST):
12143         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12144         Fix a bunch of leaks. Make generic/sinks.c
12145         use a bit less cpu by slowing the buffer rate
12146         between fakesrc and fakesink.
12147         
12148 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
12149         * gst/gstcaps.c:
12150         * gst/gstelement.c: (gst_element_send_event):
12151         * gst/gstevent.c:
12152         * gst/gstinfo.c:
12153         * gst/gstiterator.c:
12154         * gst/gstiterator.h:
12155         * gst/gstpad.c: (gst_pad_send_event):
12156         * gst/gststructure.c:
12157         * gst/gsturi.c:
12158         * gst/gstutils.c:
12159         * gst/gstvalue.c:
12160         * libs/gst/base/gstadapter.c:
12161           doc fixes, to link to function, just write gst_cool_function(), don't
12162           prefix with '#'
12163
12164 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12165
12166         * plugins/elements/gsttee.c: (gst_tee_do_push),
12167         (gst_tee_handle_buffer):
12168         Always prefer an actual return value from a src
12169         pad in place of NOT_LINKED. This means we return
12170         WRONG_STATE when all src pads are WRONG_STATE
12171         instead of NOT_LINKED.
12172
12173         Lock when replacing the last message to prevent
12174         racing with the get_property method.
12175
12176         Add debug output
12177
12178 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12179
12180         * tests/check/Makefile.am:
12181         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12182         (main):
12183         Add a very simple check that should have caught the memleak I fixed
12184         last night (if not for the slice allocator hiding it)
12185
12186 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12187
12188         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12189         (gst_bin_remove_func), (gst_bin_handle_message_func),
12190         (bin_query_duration_fold), (bin_query_generic_fold):
12191         Clean up references to the clock provider when disposed or when
12192         handling a clock-lost message from it.
12193
12194         Unref sinks when performing a query via gst_iterator_fold, as the
12195         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12196
12197         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12198         (gst_clock_set_master):
12199         Drop our reference to the master clock, if any, when we are disposed.
12200
12201         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12202         Chain up in dispose. 
12203
12204 2006-01-26  Wim Taymans  <wim@fluendo.com>
12205
12206         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12207         Add some debugging.
12208
12209 2006-01-26  Julien MOUTTE  <julien@moutte.net>
12210
12211         * plugins/elements/gsttee.c: (gst_tee_do_push),
12212         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12213         handles pad being NOT_LINKED or in WRONG_STATE.
12214
12215 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12216
12217         * win32/MANIFEST:
12218           more updating
12219
12220 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12221
12222         * win32/MANIFEST:
12223           remove obsolete entry
12224
12225 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12226
12227         * docs/gst/gstreamer-sections.txt:
12228         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12229         (gst_bin_iterate_sources), (gst_bin_send_event):
12230         * gst/gstbin.h:
12231         * gst/gstelement.c: (gst_element_send_event):
12232         * gst/gstevent.c:
12233         * gst/gstpad.c: (gst_pad_send_event):
12234           added code for downstream events, reviewed docs in gstevent.c
12235
12236 2006-01-25  Julien MOUTTE  <julien@moutte.net>
12237
12238         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12239         We only query position using the clock in the playing state.
12240         Query peer in the other cases.
12241         * win32/common/config.h: Updates.
12242
12243 2006-01-24  Wim Taymans  <wim@fluendo.com>
12244
12245         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12246         A clock entry that is scheduled for the exact time of the
12247         clock is still in time.
12248
12249         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12250         (gst_base_sink_do_sync):
12251         Add some more debug info.
12252
12253 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12254
12255         * win32/vs7:
12256           Add new vs7 project files and solution.
12257
12258 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12259
12260         * win32/vs7:
12261           all files removed as they were out-dated.
12262
12263 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12264
12265         * docs/random/release:
12266           update notes
12267         * gst/gstbin.c: (gst_bin_init):
12268         * gst/gstbus.c: (gst_bus_new):
12269         * gst/gstbus.h:
12270         * gst/gstpipeline.c: (gst_pipeline_init):
12271           use gst_bus_new(), improve logging, fix docs
12272         * win32/common/config.h:
12273           update for cvs build
12274
12275 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12276
12277         * autogen.sh:
12278           up required version of automake to 1.7
12279
12280 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
12281
12282         * win32/common/libgstreamer.def:
12283           export gst_buffer_is_metadata_writable
12284
12285 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
12286
12287         * docs/gst/gstreamer-sections.txt:
12288         * gst/gstevent.h:
12289           Add gst_event_replace() (#327001)
12290
12291 2006-01-20  Wim Taymans  <wim@fluendo.com>
12292
12293         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12294         Make it actually compile too..
12295
12296 2006-01-20  Wim Taymans  <wim@fluendo.com>
12297
12298         * gst/gstcaps.c:
12299         Clarify behaviour of _is_equal() when passing NULL parameters.
12300
12301         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12302         (gst_pad_set_caps):
12303         Cleanups. Don't unref NULL caps.
12304         When setting the same caps, protect caps of the pad with
12305         proper lock.
12306         Use full functionality of _is_equal() when comparing caps.
12307
12308 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12309
12310         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12311         Don't loop infinitely if there are no buffers to present. Partially
12312         fixes #327197, but collectpads is just broken for reusing elements
12313         to do multiple encodes atm.
12314
12315 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12316
12317         * tools/gst-inspect.c: (print_element_features):
12318         * tools/gst-xmlinspect.c: (main):
12319         URL_HANDLER is not a plugin feature we can search for in
12320         the registry.
12321
12322 2006-01-19  Edward Hervey  <edward@fluendo.com>
12323
12324         * gst/gstelement.c: (gst_element_pads_activate): 
12325         When activating, do src pads first, then sink pads.
12326         When de-activating, do sink pads first, then src pads.
12327
12328 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12329
12330         * docs/gst/gstreamer-sections.txt:
12331         Add gst_index_add_associationv to the docs
12332
12333 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12334
12335         * gst/gstevent.c:
12336           Fix docs typo
12337
12338         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12339         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12340           Do some refactoring. Doesn't actually change functionality,
12341           but makes landing the DRAIN event easier later.
12342
12343 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
12344
12345         * docs/pwg/advanced-scheduling.xml:
12346           Update from 0.9.x to 0.10 API and make example a bit
12347           clearer.
12348
12349 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12350
12351         * docs/gst/gstreamer-sections.txt:
12352         Add gst_buffer_(is|make)_metadata_writable methods.
12353
12354 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12355
12356         * docs/design/part-sparsestreams.txt:
12357         Update sparse streams doc, hopefully for greater clarity
12358
12359 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
12360
12361         * docs/design/part-events.txt:
12362         Remove mention of FILLER events.
12363         Add DRAIN event.
12364
12365         * docs/design/part-sparsestreams.txt:
12366         Write some things about using NEWSEGMENT to keep sparse streams
12367         flowing.
12368
12369 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12370
12371         * gst/gstbin.c: (gst_bin_dispose):
12372           Guard gst_object_unref call against a NULL object (dispose
12373           can theoretically be called multiple times).
12374           
12375 2006-01-18  Wim Taymans  <wim@fluendo.com>
12376
12377         * gst/gstbin.c: (gst_bin_element_set_state):
12378         * gst/gstclock.c: (gst_clock_id_wait):
12379         Added some more debug info.
12380
12381         * libs/gst/base/gstadapter.c:
12382         Added more docs.
12383
12384         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12385         (gst_base_sink_do_sync), (gst_base_sink_chain):
12386         Added some comments.
12387
12388 2006-01-18  Wim Taymans  <wim@fluendo.com>
12389
12390         * tests/check/Makefile.am:
12391         * tests/check/elements/fakesink.c: (chain_async_buffer),
12392         (chain_async), (chain_async_return), (GST_START_TEST),
12393         (fakesink_suite), (main):
12394         Added fakesink test that checks prerolling and clipping
12395         behaviour.
12396
12397         * tests/check/gst/gstutils.c: (GST_START_TEST):
12398         Make check run faster so that buildbots don't timeout.
12399
12400 2006-01-18  Wim Taymans  <wim@fluendo.com>
12401
12402         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12403         (gst_base_sink_do_sync):
12404         Some cleanups.
12405         When the sink finishes blocking on the preroll buffer, it can
12406         immediatly render it instead of rendering when the next buffer
12407         arrives.
12408
12409 2006-01-18  Wim Taymans  <wim@fluendo.com>
12410
12411         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12412         (gst_base_sink_get_property), (gst_base_sink_do_sync),
12413         (gst_base_sink_chain):
12414         Small cleanups.
12415         GST_ELEMENT_CLOCK and sync are protected with LOCK.
12416         Don't store _last_stop if the buffer is dropped.
12417
12418 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12419
12420         * plugins/elements/gsttypefindelement.c:
12421         (gst_type_find_element_class_init):
12422           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12423           object method handler that sets the caps on the pad and we want
12424           that to happen before we emit the signal (fixes e.g. feeding a
12425           plain text file to decodebin).
12426
12427 2006-01-18  Christian Schaller  <Christian@fluendo.com>
12428
12429         * gst/gstplugin.c: Add MPL and Proprietary as license options
12430
12431 2006-01-18  Andy Wingo  <wingo@pobox.com>
12432
12433         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12434         symbol was exported before, it appears this was just an oversight.
12435         Fixes #168703.
12436         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12437
12438         * gst/gstindex.c (gst_index_add_associationv): Changed int in
12439         prototype to gint. OK since this prototype was not in the header.
12440
12441 2006-01-17  Andy Wingo  <wingo@pobox.com>
12442
12443         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12444         registry while we remove plugins.
12445
12446         * tools/gst-inspect.c (print_element_info): Don't unref the
12447         factory arg, that should be the responsibility of whatever code
12448         received the ref. Fixes a double-free when called from
12449         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12450         (main): Unref the factory if we have one.
12451         (print_element_list): No change -- relies on the
12452         plugin_feature_list_free to free the list of features.
12453
12454 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
12455
12456         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12457         (gst_buffer_make_metadata_writable):
12458         * gst/gstbuffer.h:
12459         * libs/gst/base/gstbasetransform.c:
12460         (gst_base_transform_prepare_output_buf):
12461         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12462         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12463           Replace gst_buffer_(make|is)_metadata_writable patch now
12464           that the release is out.
12465
12466 2006-01-17  Andy Wingo  <wingo@pobox.com>
12467
12468         * gst/gstregistry.c: Reflow design comment. Update so as to speak
12469         in the present tense without reference to versions.
12470
12471         * gst/gstregistry.c (gst_registry_add_plugin)
12472         (gst_registry_remove_plugin, gst_registry_remove_feature)
12473         (gst_registry_find_feature, gst_registry_get_feature_list)
12474         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12475         (gst_registry_lookup, gst_registry_scan_path)
12476         (_gst_registry_remove_cache_plugins)
12477         (gst_registry_get_feature_list_by_plugin): Add argument
12478         validation.
12479
12480 === release 0.10.2 ===
12481
12482 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
12483
12484         * configure.ac:
12485           releasing 0.10.2, "If man is five"
12486
12487 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12488
12489         * gst/gstbuffer.c:
12490         * gst/gstbuffer.h:
12491         * libs/gst/base/gstbasetransform.c:
12492         (gst_base_transform_prepare_output_buf):
12493         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12494         * tests/check/gst/gstbuffer.c: (gst_test_suite):
12495           Back out patch until after the release.
12496
12497 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12498
12499         * gst/gstminiobject.c:
12500           Spelling fix in docs.
12501         * ChangeLog - remove conflict indicator
12502
12503 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12504
12505         Reviewed By: Andy Wingo
12506
12507         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12508         (gst_buffer_make_metadata_writable):
12509         * gst/gstbuffer.h:
12510           Add gst_buffer_(is|make)_metadata_writable as analogues of
12511           gst_buffer_(is|make)_writable.
12512
12513         * libs/gst/base/gstbasetransform.c:
12514         (gst_base_transform_prepare_output_buf):
12515         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12516           Use name gst_buffer_(is|make)_metadata_writable functions.
12517
12518         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12519           Test gst_buffer_(is|make)_metadata_writable
12520         
12521           (Closes: #324162)
12522
12523 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12524
12525         * docs/manual/Makefile.am:
12526           don't do parallel make
12527         * configure.ac:
12528           AC_SUBST HOST_CPU
12529         * win32/common/config.h.in:
12530           add generations for HOST_CPU and GST_MAJORMINOR
12531         * win32/common/config.h:
12532           commit generated result
12533
12534 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
12535
12536         * docs/manual/appendix-integration.xml:
12537           Update GNOME integration section to use gst_init_get_option_group()
12538           instead of the old popt stuff (#322911). Also, GNOME applications
12539           should  now use gconf*sink and gconf*src instead of the old gconf
12540           helper lib we had.
12541
12542 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
12543
12544
12545         * docs/gst/gstreamer-docs.sgml:
12546         * docs/gst/gstreamer-sections.txt:
12547         * docs/libs/gstreamer-libs-sections.txt:
12548           add new API entries to the docs
12549         * libs/gst/controller/Makefile.am:
12550         * libs/gst/controller/gstcontroller.c:
12551         * libs/gst/controller/gstcontroller.h:
12552         * libs/gst/controller/gstcontrollerprivate.h:
12553         * libs/gst/controller/gsthelper.c:
12554         * libs/gst/controller/gstinterpolation.c:
12555           move private structs to private header
12556         * po/README:
12557           gstreamer-0.7 -> gstreamer-0.10
12558         * tests/check/libs/struct_i386.h:
12559           remove private structs
12560
12561 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12562
12563         * plugins/indexers/Makefile.am:
12564           Fixes as part of #317048
12565
12566 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12567
12568         * plugins/indexers/Makefile.am:
12569           fix #316086 - compilation when mmap is missing
12570
12571 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
12572
12573         * libs/gst/base/gstbasesink.c:
12574           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
12575           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12576         * win32/common/config.h:
12577           added some defines GST_MAJORMINOR and HOST_CPU
12578         * win32/common/libgstbase.def:
12579         * win32/common/libgstreamer.def:
12580           added some exported functions.
12581
12582 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12583
12584         * libs/gst/controller/gstcontroller.c:
12585         (gst_controlled_property_set_interpolation_mode),
12586         (gst_controlled_property_new):
12587         * libs/gst/controller/gstcontroller.h:
12588         * libs/gst/controller/gstinterpolation.c:
12589         (interpolate_none_get_string_value_array):
12590           make G_TYPE_STRING controlable
12591
12592 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12593
12594         * tools/README:
12595         * tools/gst-feedback.1.in:
12596         * tools/gst-inspect.1.in:
12597         * tools/gst-launch.1.in:
12598         * tools/gst-md5sum.1.in:
12599         * tools/gst-typefind.1.in:
12600         * tools/gst-xmlinspect.1.in:
12601         * tools/gst-xmllaunch.1.in:
12602           cleanup man-pages, remove reference to gst-register, document env-vars
12603
12604 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
12605
12606         * gst/gstbuffer.c: (gst_buffer_span):
12607           gst_buffer_span should copy the timestamp of the first buffer
12608           if they were both originally overlapping subbuffers of the 
12609           same parent, using the same logic as the 'slow copy' case.
12610
12611 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
12612
12613         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12614           Need to awaken ALL the pads when we pop a buffer, otherwise
12615           collectpads only works when there is 2 input streams.
12616
12617 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
12618
12619         * docs/random/ensonic/media-device-daemon.txt:
12620           more ideas (dbus)
12621         * gst/gstbuffer.c:
12622           fix doc example, add clarification
12623         * tools/gst-launch.1.in:
12624           add initial info about GST_PLUGIN_PATH, needs more work
12625
12626 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
12627
12628         * docs/manual/basics-bins.xml:
12629         * docs/manual/basics-elements.xml:
12630         * docs/manual/intro-basics.xml:
12631           Some more minor docs additions and updates.
12632
12633 2006-01-11  Wim Taymans  <wim@fluendo.com>
12634
12635         * docs/manual/basics-bins.xml:
12636         * docs/manual/basics-elements.xml:
12637         Some small fixes as pointed out by Ser-ver on IRC.
12638
12639 2006-01-10  Edward Hervey  <edward@fluendo.com>
12640
12641         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12642         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12643         the single-segment mode.
12644
12645 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
12646
12647         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12648
12649         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12650         (gst_base_src_perform_seek), (gst_base_src_send_event),
12651         (gst_base_src_set_property), (gst_base_src_get_property),
12652         (gst_base_src_loop), (gst_base_src_start),
12653         (gst_base_src_activate_push):
12654         * libs/gst/base/gstbasesrc.h:
12655           Name (private) union; makes Sun's Forte compiler happy (#324900).
12656
12657 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
12658
12659         * README:
12660           gst-register is gone.
12661
12662 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12663
12664         * gst/gstvalue.c: (_gst_value_initialize):
12665           make the G_TYPE_DATE instantiation work if debug is disabled
12666
12667 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
12668
12669         * gst/gstmessage.c: (gst_message_parse_tag),
12670         (gst_message_parse_error), (gst_message_parse_warning):
12671           Don't crash when return location for error/warning debug
12672           string is NULL; add fact that return locations can be
12673           NULL to docs where appropriate.
12674
12675 2006-01-05  Wim Taymans  <wim@fluendo.com>
12676
12677         * gst/gstplugin.c: (gst_plugin_load_file):
12678         Replace strdup by g_strdup.
12679
12680 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12681
12682         * docs/pwg/advanced-types.xml:
12683           fix doc borkage
12684
12685 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12686
12687         submitted by: Abel Cheung
12688
12689         * po/LINGUAS:
12690         * po/zh_TW.po:
12691           Added Chinese (traditional) translation
12692
12693 2006-01-04  Wim Taymans  <wim@fluendo.com>
12694
12695         * docs/manual/basics-pads.xml:
12696         * docs/plugins/Makefile.am:
12697         * docs/plugins/gstreamer-plugins-docs.sgml:
12698         * docs/plugins/gstreamer-plugins-sections.txt:
12699         * docs/pwg/advanced-clock.xml:
12700         * docs/pwg/advanced-scheduling.xml:
12701         * docs/pwg/advanced-types.xml:
12702         * plugins/elements/gstfdsink.c:
12703         * plugins/elements/gstfdsrc.c:
12704         * plugins/elements/gstfdsrc.h:
12705         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12706         * plugins/elements/gstidentity.h:
12707         * plugins/elements/gstqueue.h:
12708         * plugins/elements/gsttee.c:
12709         * plugins/elements/gsttee.h:
12710         * plugins/elements/gsttypefindelement.c:
12711         (gst_type_find_element_class_init):
12712         * plugins/elements/gsttypefindelement.h:
12713         Small updates to various docs.
12714         Added core plugins to docs.
12715
12716 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12717
12718         * common/gst.supp:
12719           add a suppression for liboil's uninitialized variable
12720
12721 2006-01-02  James Livingston  <jrl at ids dot org dot au>
12722
12723         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12724
12725         * gst/gstutils.h:
12726           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12727           macro, so that gcc doesn't complain if the -Wmissing-prototypes
12728           compiler switch is being used (#325429).
12729
12730 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
12731
12732         * gst/gstbin.c: (gst_bin_query):
12733           Disable duration query caching in bins until it gets
12734           fixed (see #324807).
12735
12736 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12737
12738         * tools/gst-inspect.c: (print_element_properties_info):
12739           Handle properties of POINTER and BOXED type.
12740
12741 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12742
12743         * gst/gst.c: (init_post):
12744           Init tags stuff and some other things before loading
12745           any static plugins (there may be other static plugins
12746           than just the GStreamer ones, and they may want to
12747           register their own tags or formats or whatever, and
12748           preferably without segfaulting).
12749
12750         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12751           Print at least a warning in the debug logs if we drop a
12752           query just because we don't know how to adjust the value
12753           in the particular format.
12754
12755 2005-12-24  David Schleef  <ds@schleef.org>
12756
12757         * tools/gstreamer-completion:
12758           Replacement for gst-complete written in sh and sed.  Only
12759           completes names of features, but that's 90% of what I want
12760           it for.  Properties are not available in registry.xml.  (Maybe
12761           they should be...)
12762
12763 === release 0.10.1 ===
12764
12765 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
12766
12767         * configure.ac:
12768           releasing 0.10.1, "Nollaig chridheil"
12769
12770 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
12771
12772         * docs/faq/cvs.xml:
12773           Add missing quote, should be make ERROR_CFLAGS="".
12774
12775 2005-12-20  Wim Taymans  <wim@fluendo.com>
12776
12777         * docs/design/part-trickmodes.txt:
12778         More documentation on trickmodes.
12779
12780 2005-12-20  Edward Hervey  <edward@fluendo.com>
12781
12782         * gst/gstcaps.c: (gst_static_caps_get_type):
12783         * gst/gstcaps.h:
12784           API addition: GST_TYPE_STATIC_CAPS
12785         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12786         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12787         * gst/gstpadtemplate.h:
12788           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12789         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12790         bindings.
12791
12792 2005-12-18  Wim Taymans  <wim@fluendo.com>
12793
12794         * libs/gst/base/gstadapter.c:
12795         * libs/gst/base/gstadapter.h:
12796         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12797         (gst_base_sink_get_position):
12798         * libs/gst/base/gstbasesink.h:
12799         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12800         (gst_base_src_default_query), (gst_base_src_default_do_seek),
12801         (gst_base_src_do_seek), (gst_base_src_perform_seek),
12802         (gst_base_src_send_event), (gst_base_src_update_length),
12803         (gst_base_src_get_range), (gst_base_src_loop),
12804         (gst_base_src_start):
12805         * libs/gst/base/gstbasesrc.h:
12806         * libs/gst/base/gstbasetransform.h:
12807         * libs/gst/base/gstcollectpads.h:
12808         * libs/gst/base/gstpushsrc.c:
12809         * libs/gst/base/gstpushsrc.h:
12810         * libs/gst/dataprotocol/dataprotocol.c:
12811         * libs/gst/dataprotocol/dataprotocol.h:
12812         * libs/gst/net/gstnetclientclock.h:
12813         * libs/gst/net/gstnettimeprovider.h:
12814         Documentation updates.
12815
12816 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
12817
12818         * docs/manual/basics-helloworld.xml:
12819           Remove superfluous closing bracket in helloworld example.
12820
12821 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
12822
12823         * tools/gst-launch.1.in:
12824           Update gst-launch man page; add a section with useful
12825           environment variables. Fixes #323882.
12826
12827 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
12828
12829         * gst/gst.c:
12830         * gst/gst_private.h:
12831           change some char* into char[]
12832
12833 2005-12-16  Wim Taymans  <wim@fluendo.com>
12834
12835         * gst/gstregistryxml.c: (load_feature):
12836         Cleanups.
12837         Don't use g_object_unref on GstObjects so that we avoid
12838         leaks on unsafe glibs.
12839
12840 2005-12-16  Wim Taymans  <wim@fluendo.com>
12841
12842         * gst/gstbin.c: (gst_bin_recalc_state):
12843         Small doc updates.
12844
12845 2005-12-16  Wim Taymans  <wim@fluendo.com>
12846
12847         * common/check.mak:
12848         Added make forever target for check.
12849
12850 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12851
12852         * gst/gst.c: (init_post):
12853           make the registry cache file HOST_CPU-dependent
12854
12855 2005-12-16  Andy Wingo  <wingo@pobox.com>
12856
12857         * plugins/elements/gstbufferstore.c
12858         (gst_buffer_store_cleared_func): Pay attention to g_list_append
12859         return value.
12860
12861         * tests/check/gst/gstobject.c
12862         (test_fake_object_name_threaded_unique): Pay attention to
12863         g_list_sort return value.
12864
12865 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
12866
12867         * tools/gst-feedback-m.m:
12868           Update for 0.9/0.10 (fixes #323870).
12869
12870 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
12871
12872         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12873           Fix lcopy for mini objects, the mini object needs to be ref'ed.
12874           
12875         * tests/check/gst/gstminiobject.c: (my_foo_init),
12876         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12877         (test_value_collection), (gst_mini_object_suite):
12878           Add test to ensure refcounts end up as expected when passing
12879           GstMiniObjects through g_object_get() and g_object_set().
12880
12881 2005-12-14  Julien MOUTTE  <julien@moutte.net>
12882
12883         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12884         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12885         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12886         of collectpads. This version removes a lot of races without
12887         touching API/ABI. Yay !
12888
12889 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
12890
12891         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12892           Don't allow activation of a srcpad in pull_range if it has no
12893           getrange function.
12894           Change some debug statements to be a little clearer
12895
12896         * plugins/elements/gsttypefindelement.c:
12897         (gst_type_find_handle_src_query):
12898           Check that we have a peer before executing queries thereupon.
12899
12900         * tests/examples/metadata/read-metadata.c: (message_loop):
12901           Use gst_bus_pop instead of gst_bus_poll when we just want it to
12902           immediately return us any available message with 0 timeout.
12903
12904 2005-12-12  Michael Smith  <msmith@fluendo.com>
12905
12906         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12907           Don't unref factories after calling them.
12908         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12909         * plugins/elements/gsttypefindelement.c:
12910         (gst_type_find_element_chain):
12911           Free lists of factories after using them. Fixing typefinding memory
12912           leaks.
12913
12914 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12915
12916         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12917         (gst_plugin_feature_load):
12918           more meaningful debug output
12919         * configure.ac:
12920         * tests/Makefile.am:
12921         * tests/old/examples/Makefile.am:
12922           make make distcheck happy again
12923
12924 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12925
12926         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12927           Catch the special case where we are operating chain-based,
12928           but the downstream peer pad has no chain function. Emit a
12929           custom error message in this case instead of letting the
12930           core generate one implying that this is some sort of core
12931           bug. It's not, it just means that whatever got plugged
12932           into the pipeline downstream when we announced the type
12933           can only operate pull-based, while our source can only
12934           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12935           Error string has not been marked for translation yet, as
12936           it probably needs some more work first.
12937
12938         (gst_type_find_element_get_best_possibility):
12939           Add helper function to find the best of all available
12940           found possibilities that qualify given the min. threshold.
12941
12942         (gst_type_find_element_handle_event):
12943           Fix the case where we get an EOS while still in TYPEFIND
12944           mode (we want to chose the best of all possible types,
12945           not just the first type that happens to be in our unsorted
12946           list of possible types).
12947
12948         (gst_type_find_element_chain):
12949           Make sure we return GST_FLOW_ERROR when we errored out
12950           in stop_typefinding(); also, don't just find the best of
12951           all found type entries and then use the last examined
12952           type entry, but actually use the best entry.
12953
12954 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12955
12956         * tests/examples/typefind/typefind.c: (type_found):
12957         * tests/examples/xml/runxml.c: (xml_loaded):
12958           More gcc4 fixes and a mem leak fix.
12959
12960 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12961
12962         * tests/examples/xml/createxml.c: (object_saved):
12963           gcc 4 fixes
12964
12965 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12966
12967         * tests/Makefile.am:
12968           enable the examples even more
12969
12970 2005-12-12  Andy Wingo  <wingo@pobox.com>
12971
12972         * libs/gst/net/gstnettimeprovider.c
12973         (gst_net_time_provider_class_init, gst_net_time_provider_init)
12974         (gst_net_time_provider_set_property)
12975         (gst_net_time_provider_get_property):
12976         API addition: Export "active" as a GObject property.
12977         (gst_net_time_provider_thread): Only respond to time queries if
12978         the time provider is active.
12979
12980         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12981         NetTimeProvider, preserving binary compat.
12982
12983 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12984
12985         * tests/examples/controller/audio-example.c: (main):
12986         * tests/examples/launch/Makefile.am:
12987           convert comments again
12988
12989 2005-12-12  Wim Taymans  <wim@fluendo.com>
12990
12991         * libs/gst/base/gstpushsrc.c:
12992         Fix typo.
12993
12994 2005-12-12  Wim Taymans  <wim@fluendo.com>
12995
12996         * docs/libs/gstreamer-libs-sections.txt:
12997         Added new symbol to docs.
12998
12999         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13000         (gst_base_src_init), (gst_base_src_set_format),
13001         (gst_base_src_default_query), (gst_base_src_query),
13002         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13003         (gst_base_src_perform_seek), (gst_base_src_send_event),
13004         (gst_base_src_default_event), (gst_base_src_event_handler),
13005         (gst_base_src_set_property), (gst_base_src_get_property),
13006         (gst_base_src_wait), (gst_base_src_do_sync),
13007         (gst_base_src_update_length), (gst_base_src_get_range),
13008         (gst_base_src_check_get_range), (gst_base_src_loop),
13009         (gst_base_src_default_negotiate), (gst_base_src_start),
13010         (gst_base_src_activate_push), (gst_base_src_activate_pull),
13011         (gst_base_src_change_state):
13012         * libs/gst/base/gstbasesrc.h:
13013         Implement seeking to other formats than _BYTES.
13014         Implement more seeking methods correctly.
13015         Doc updates.
13016         Added query vmethod.
13017         Added do_seek vmethod to make life easier for subclasses
13018         when seeking.
13019         API addition: gst_base_src_set_format()
13020
13021 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13022
13023         * tests/examples/Makefile.am:
13024           added that too
13025
13026 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13027
13028         * configure.ac:
13029         * docs/random/ensonic/media-device-daemon.txt:
13030         * tests/examples/controller/.cvsignore:
13031         * tests/examples/controller/Makefile.am:
13032         * tests/examples/controller/audio-example.c: (main):
13033         * tests/examples/helloworld/.cvsignore:
13034         * tests/examples/helloworld/Makefile.am:
13035         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13036         * tests/examples/launch/.cvsignore:
13037         * tests/examples/launch/Makefile.am:
13038         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13039         * tests/examples/metadata/.cvsignore:
13040         * tests/examples/metadata/Makefile.am:
13041         * tests/examples/metadata/read-metadata.c: (message_loop),
13042         (make_pipeline), (print_tag), (main):
13043         * tests/examples/queue/.cvsignore:
13044         * tests/examples/queue/Makefile.am:
13045         * tests/examples/queue/queue.c: (event_loop), (main):
13046         * tests/examples/typefind/.cvsignore:
13047         * tests/examples/typefind/Makefile.am:
13048         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13049         (main):
13050         * tests/examples/xml/.cvsignore:
13051         * tests/examples/xml/Makefile.am:
13052         * tests/examples/xml/createxml.c: (object_saved), (main):
13053         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13054         * tests/old/examples/Makefile.am:
13055         * tests/old/examples/TODO:
13056         * tests/old/examples/controller/.cvsignore:
13057         * tests/old/examples/controller/Makefile.am:
13058         * tests/old/examples/controller/audio-example.c:
13059         * tests/old/examples/helloworld/.cvsignore:
13060         * tests/old/examples/helloworld/Makefile.am:
13061         * tests/old/examples/helloworld/helloworld.c:
13062         * tests/old/examples/launch/.cvsignore:
13063         * tests/old/examples/launch/Makefile.am:
13064         * tests/old/examples/launch/mp3parselaunch.c:
13065         * tests/old/examples/launch/mp3play:
13066         * tests/old/examples/manual/Makefile.am:
13067         * tests/old/examples/metadata/Makefile.am:
13068         * tests/old/examples/metadata/read-metadata.c:
13069         * tests/old/examples/queue/.cvsignore:
13070         * tests/old/examples/queue/Makefile.am:
13071         * tests/old/examples/queue/queue.c:
13072         * tests/old/examples/typefind/.cvsignore:
13073         * tests/old/examples/typefind/Makefile.am:
13074         * tests/old/examples/typefind/typefind.c:
13075         * tests/old/examples/xml/.cvsignore:
13076         * tests/old/examples/xml/Makefile.am:
13077         * tests/old/examples/xml/createxml.c:
13078         * tests/old/examples/xml/runxml.c:
13079           applied some simple fixing to some examples
13080           re-enabled the working examples
13081
13082 2005-12-12  Wim Taymans  <wim@fluendo.com>
13083
13084         * gst/gstsegment.c: (gst_segment_init),
13085         (gst_segment_set_last_stop), (gst_segment_set_seek),
13086         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13087         (gst_segment_to_running_time):
13088         Added more documentation.
13089         Make sure the last_pos value is updated properly.
13090         Make sure to_stream_time and to_running_time don't
13091         operate on wrong values.
13092
13093         * tests/check/gst/gstsegment.c: (GST_START_TEST):
13094         Update check.
13095
13096 2005-12-12  Michael Smith  <msmith@fluendo.com>
13097
13098         * plugins/elements/gsttypefindelement.c: (free_entry),
13099         (gst_type_find_element_chain):
13100           Now that we're not leaking factories, make sure we keep references
13101           to them while we need them.
13102
13103 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13104
13105         * tests/check/gst/struct_i386.h:
13106           ifdef out the XML structs
13107
13108 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13109
13110         * gst/gstvalue.c: (gst_value_transform_double_fraction):
13111           floor is not needed, F is always positive; this obviates the
13112           need for adding -lm when building without libxml
13113
13114 2005-12-12  Wim Taymans  <wim@fluendo.com>
13115
13116         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13117         Take current playback rate into account when reporting
13118         the position.
13119
13120 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13121
13122         * docs/manual/mime-world.fig:
13123           Let's try this again, this time with a file that is
13124           actually in XFig format.
13125
13126 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13127
13128         * docs/manual/mime-world.fig:
13129           Add audioconvert element to diagram so that it
13130           matches the text and the code (fixes #319526).
13131
13132 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13133
13134         * docs/pwg/building-chainfn.xml:
13135         * docs/pwg/building-pads.xml:
13136         * docs/pwg/building-state.xml:
13137         * docs/pwg/other-source.xml:
13138           Update state change stuff for 0.10 (fixes #322969).
13139
13140 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13141
13142         * docs/manual/advanced-dataaccess.xml:
13143         * docs/manual/appendix-checklist.xml:
13144         * docs/manual/appendix-programs.xml:
13145         * docs/manual/basics-pads.xml:
13146         * docs/manual/highlevel-components.xml:
13147         * docs/manual/manual.xml:
13148           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13149           add converters in front of pipelines; remove curly
13150           brackets for threads stuff, they no longer exist; use
13151           GST_TYPE_FRACTION for framerates; update some pieces of
13152           code to 0.10, but there's plenty more to do.
13153
13154         * docs/manual/appendix-porting.xml:
13155           Expand on asynchroneous state changes; s/0.9/0.10/;
13156           mention disappearance of gst_init_get_popt_table()
13157           (fixes #322916).
13158
13159 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13160
13161         * docs/faq/using.xml:
13162           Spider no longer exists, and neither does gst-launch-ext.
13163           Update examples to use decodebin and playbin and put
13164           converters in front of sinks (fixes #323726).
13165
13166 2005-12-09  Michael Smith  <msmith@fluendo.com>
13167
13168         * plugins/elements/gsttypefindelement.c: (find_peek),
13169         (gst_type_find_element_chain):
13170           Fix leaking element factories in typefinding.
13171           Fix problem where we forgot about a probable type on non-seekable
13172           files, and thus later mis-typefound it.
13173
13174 2005-12-09  Michael Smith  <msmith@fluendo.com>
13175
13176         * common/m4/gst-makecontext.m4:
13177         * common/m4/gst-mcsc.m4:
13178         * configure.ac:
13179         * win32/common/config.h:
13180         * win32/common/config.h.in:
13181           Remove makecontext stuff; not used in 0.10 and causes problems on
13182           HPUX according to bug #322441
13183
13184 2005-12-07  Wim Taymans  <wim@fluendo.com>
13185
13186         * tests/check/Makefile.am:
13187         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13188         (main):
13189         * tests/check/libs/struct_i386.h:
13190         Added ABI check for libs
13191
13192 2005-12-07  Wim Taymans  <wim@fluendo.com>
13193
13194         * tests/check/Makefile.am:
13195         And add the struct_i386.h to dist.
13196
13197 2005-12-07  Wim Taymans  <wim@fluendo.com>
13198
13199         * tests/check/Makefile.am:
13200         * tests/check/gst/.cvsignore:
13201         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13202         (main):
13203         * tests/check/gst/struct_i386.h:
13204         Added check for ABI compatibility.
13205
13206 2005-12-07  Wim Taymans  <wim@fluendo.com>
13207
13208         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13209         (gst_fake_src_get_times), (gst_fake_src_create):
13210         Fix broken sync option, fixes #323259
13211
13212 2005-12-07  Wim Taymans  <wim@fluendo.com>
13213
13214         * gst/gstbuffer.c:
13215         Small docs update.
13216
13217         * gst/gstcaps.c: (gst_caps_is_equal):
13218         Don't assert on NULL <--> X. Fixes #323260
13219
13220         * gst/gstminiobject.c: (gst_mini_object_replace):
13221         If we're doing atomic operations, we might just as well use
13222         the proper way to get an atomic pointer.
13223
13224         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13225         Clean up debugging.
13226
13227 2005-12-07  Michael Smith  <msmith@fluendo.com>
13228
13229         * gst/parse/grammar.y:
13230           Remove handling of { } for threads.
13231
13232 2005-12-06  David Schleef  <ds@schleef.org>
13233
13234         * libs/gst/base/gstbasetransform.c: speling fix.
13235
13236 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13237
13238         * docs/libs/tmpl/gstdataprotocol.sgml:
13239         * docs/random/omega/testing/gstobject.c:
13240         * gst/gst.c:
13241         * gst/gstclock.c:
13242         * gst/gstelement.c:
13243         * gst/gstelementfactory.c:
13244         * gst/gsterror.c:
13245         * gst/gstevent.c:
13246         * gst/gstghostpad.c:
13247         * gst/gstinfo.c:
13248         * gst/gstpadtemplate.c:
13249         * gst/gstregistryxml.c:
13250         * gst/gsttaglist.c:
13251         * gst/gsttagsetter.c:
13252         * gst/gsttypefind.c:
13253         * gst/gstvalue.c:
13254         * libs/gst/base/gstbasesrc.c:
13255         * libs/gst/net/gstnetclientclock.c:
13256         * libs/gst/net/gstnettimeprovider.c:
13257         * plugins/elements/gstfakesrc.c:
13258         * plugins/elements/gstfdsrc.c:
13259         * plugins/elements/gstfilesrc.c:
13260         * plugins/elements/gstidentity.c:
13261         * plugins/elements/gstqueue.c:
13262         * plugins/elements/gsttypefindelement.c:
13263         * plugins/indexers/gstfileindex.c:
13264         * plugins/indexers/gstmemindex.c:
13265         * tests/check/gst/gsttag.c:
13266         * tests/old/examples/cutter/cutter.c:
13267         * tests/old/examples/mixer/mixer.c:
13268         * tests/old/examples/xml/runxml.c: (main):
13269         * tests/old/testsuite/caps/normalisation.c:
13270         * tests/old/testsuite/debug/global.c:
13271         * tests/old/testsuite/parse/parse1.c:
13272         * tools/gst-xmlinspect.c:
13273         * win32/common/dirent.c:
13274           expand tabs
13275
13276 === release 0.10.0 ===
13277
13278 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13279
13280         * configure.ac:
13281           releasing 0.10.0, "Maroilles"
13282
13283 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13284
13285         submitted by: Funda Wang <fundawang@linux.net.cn>
13286
13287         * po/LINGUAS:
13288         * po/zh_CN.po:
13289           added Chinese (Traditional) translation
13290
13291 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13292
13293         * docs/gst/gstreamer-sections.txt:
13294         * docs/libs/tmpl/gstdataprotocol.sgml:
13295         * docs/random/thomasvs/TODO:
13296         * gst/gstutils.c:
13297         * gst/gstutils.h:
13298           fix docs
13299
13300 2005-12-05  Andy Wingo  <wingo@pobox.com>
13301
13302         patch by: Wim Taymans <wim@fluendo.com>
13303
13304         * libs/gst/base/gstbasetransform.c
13305         (gst_base_transform_prepare_output_buf)
13306         (gst_base_transform_buffer_alloc):
13307         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13308         alloc_buffer_and_set_caps.
13309
13310         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13311         set_caps on the source pad.
13312         (gst_pad_alloc_buffer_and_set_caps): New function, does what
13313         alloc_buffer used to do. Fixes #322874.
13314
13315         * docs/gst/gstreamer-sections.txt: 
13316         * docs/design/part-negotiation.txt: 
13317         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13318         changes.
13319
13320 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13321
13322         patch by: Sebastien Moutte
13323
13324         * win32/MANIFEST:
13325         * win32/common/config.h.in:
13326         * win32/vs6/libgstcontroller.dsp:
13327           win32 build fixes
13328
13329 2005-12-05  Wim Taymans  <wim@fluendo.com>
13330
13331         * gst/gstcaps.c: (gst_caps_is_equal):
13332         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13333         (gst_fake_src_create):
13334         Back out previous code changes, leave doc updates, file bugs 
13335         instead. 
13336
13337 2005-12-05  Wim Taymans  <wim@fluendo.com>
13338
13339         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13340         (gst_fake_src_get_times), (gst_fake_src_create):
13341         * plugins/elements/gstfakesrc.h:
13342         Fix broken sync code.
13343
13344 2005-12-05  Wim Taymans  <wim@fluendo.com>
13345
13346         * gst/gstcaps.c: (gst_caps_is_equal):
13347         Comparing NULL against !NULL yields different caps, not a
13348         failure.
13349
13350 2005-12-05  Wim Taymans  <wim@fluendo.com>
13351
13352         * gst/gstpipeline.c:
13353         Fix small typo in docs.
13354
13355 2005-12-05  Andy Wingo  <wingo@pobox.com>
13356
13357         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
13358
13359         * gst/gst.c (init_post): remove hard-coded 0.9 location for
13360         registries/plugins with a MAJORMINOR one.
13361         (plugin_desc): Rename library from gstcoreleements to
13362         staticelements. Fixes #323222.
13363
13364 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
13365
13366         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13367           Change debug category to 'collectpads' from 'collect_pads'
13368           (fixes #323250).
13369
13370 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13371
13372         patch by: Sebastien Moutte
13373
13374         * libs/gst/controller/gstinterpolation.c:
13375           use convert function for uint64/double
13376         * win32/vs6/libgstcontroller.dsp:
13377           link to GLib
13378
13379 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13380
13381         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13382         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13383         * gst/gstutils.h:
13384         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13385           add tests that seem to show that the guint64/gdouble conversions
13386           are correct.
13387
13388 2005-12-02  Wim Taymans  <wim@fluendo.com>
13389
13390         * gst/gstregistry.c: (gst_registry_add_path):
13391         * gst/gstregistry.h:
13392         * gst/gstregistryxml.c:
13393         Fix docs again.
13394
13395 2005-12-02  Wim Taymans  <wim@fluendo.com>
13396
13397         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13398         (gst_util_uint64_scale_int):
13399         Small cleanup.
13400
13401         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13402         Add debug log line.
13403
13404         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13405         Add FIXME.
13406
13407 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13408
13409         * win32/MANIFEST:
13410         * win32/common/config.h:
13411         * win32/vs6/gstreamer.dsw:
13412         * win32/vs6/libgstcoreelements.dsp:
13413         * win32/vs6/libgstelements.dsp:
13414           renamed core elements plugin
13415
13416 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13417
13418         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13419         (get_candidates):
13420           do piece-wise major/minor comparison so 0.9 < 0.10
13421           also allow .exe extensions for tools
13422
13423 2005-12-02  Michael Smith  <msmith@fluendo.com>
13424
13425         * gst/gst.c:
13426           Escape a % to make gtkdoc happier; bug 322958.
13427
13428 === release 0.9.7 ===
13429
13430 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13431
13432         * configure.ac:
13433           releasing 0.9.7, "My Dog Has No Nose"
13434
13435 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13436
13437         * common/gst-xmlinspect.py:
13438         * configure.ac:
13439         * docs/libs/tmpl/gstdataprotocol.sgml:
13440         * docs/random/release:
13441         * po/af.po:
13442         * po/az.po:
13443         * po/bg.po:
13444         * po/ca.po:
13445         * po/cs.po:
13446         * po/de.po:
13447         * po/en_GB.po:
13448         * po/fr.po:
13449         * po/it.po:
13450         * po/nb.po:
13451         * po/nl.po:
13452         * po/ru.po:
13453         * po/sq.po:
13454         * po/sr.po:
13455         * po/sv.po:
13456         * po/tr.po:
13457         * po/uk.po:
13458         * po/vi.po:
13459         * win32/common/config.h:
13460         * win32/common/config.h.in:
13461         * win32/vs6/gst_inspect.dsp:
13462         * win32/vs6/gst_launch.dsp:
13463         * win32/vs6/libgstbase.dsp:
13464         * win32/vs6/libgstelements.dsp:
13465         * win32/vs6/libgstreamer.dsp:
13466         * win32/vs7/GStreamer.vcproj:
13467         * win32/vs7/gst-inspect.vcproj:
13468         * win32/vs7/gst-launch.vcproj:
13469         * win32/vs7/libgstbase.vcproj:
13470           bump GST_MAJORMINOR to 0.10
13471           reset libtool version
13472
13473 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13474
13475         * po/LINGUAS:
13476         * po/bg.po:
13477           Added Bulgarian translation by (Alexander Shopov)
13478
13479 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13480
13481         * tests/check/gst/gstplugin.c:
13482           fix test
13483
13484 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13485
13486         * common/gst-xmlinspect.py:
13487         * common/gtk-doc-plugins.mak:
13488         * configure.ac:
13489         * docs/Makefile.am:
13490         * docs/gst/Makefile.am:
13491         * docs/gst/gstreamer-docs.sgml:
13492         * docs/gst/gstreamer-sections.txt:
13493         * docs/gst/gstreamer.types:
13494         * docs/gst/gstreamer.types.in:
13495         * docs/plugins/Makefile.am:
13496         * docs/plugins/gstreamer-plugins-docs.sgml:
13497         * docs/plugins/gstreamer-plugins-sections.txt:
13498         * docs/plugins/gstreamer-plugins.types:
13499         * docs/plugins/inspect.stamp:
13500         * docs/plugins/inspect/plugin-coreelements.xml:
13501         * docs/plugins/inspect/plugin-coreindexers.xml:
13502         * docs/plugins/scanobj-build.stamp:
13503         * gstreamer.spec.in:
13504         * plugins/elements/Makefile.am:
13505         * plugins/elements/gstelements.c:
13506         * plugins/elements/gstfakesink.c:
13507         * plugins/elements/gstfakesrc.c:
13508         * plugins/elements/gstfilesink.c:
13509         * plugins/elements/gstfilesrc.c:
13510         * plugins/elements/gstqueue.c:
13511         * plugins/indexers/Makefile.am:
13512         * plugins/indexers/gstindexers.c:
13513           document core plugins in a separate document just like all the
13514           others
13515           rename these plugins to something starting with core
13516
13517 2005-12-01  Andy Wingo  <wingo@pobox.com>
13518
13519         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13520         padding here before, but it missed the commit.
13521
13522 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13523
13524         * libs/gst/controller/gstinterpolation.c:
13525           whitespace prices have crashed, we should feel free to use some now
13526           use gst_guint64_to_gdouble
13527
13528 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13529
13530         * libs/gst/controller/gstcontroller.c:
13531         * libs/gst/controller/gsthelper.c:
13532         * libs/gst/controller/gstinterpolation.c:
13533         * libs/gst/controller/lib.c:
13534           wrap config.h include
13535
13536 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13537
13538         * docs/gst/gstreamer-sections.txt:
13539           update docs
13540
13541 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13542
13543         * plugins/elements/gstelements.c:
13544         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13545         (gst_fd_sink__class_init), (gst_fd_sink__init),
13546         (gst_fd_sink__chain), (gst_fd_sink__set_property),
13547         (gst_fd_sink__get_property):
13548         * plugins/elements/gstfdsink.h:
13549         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13550         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13551         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13552         (gst_fd_src_unlock), (gst_fd_src_set_property),
13553         (gst_fd_src_get_property), (gst_fd_src_create),
13554         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13555         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13556         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13557         (gst_fd_src_uri_handler_init):
13558         * plugins/elements/gstfdsrc.h:
13559         * plugins/elements/gstqueue.c: (gst_queue_get_type):
13560           more anal cleanup
13561
13562 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13563
13564         * docs/gst/Makefile.am:
13565         * docs/gst/gstreamer.types.in:
13566         * gst/Makefile.am:
13567           fix the docs build
13568
13569 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13570
13571         * configure.ac:
13572         * gst/Makefile.am:
13573         * gst/gst.c:
13574         * gst/gstplugin.h:
13575         * gst/gstregistry.h:
13576         * tests/benchmarks/complexity.c:
13577         * tests/benchmarks/mass-elements.c:
13578         * tests/check/Makefile.am:
13579         * tools/Makefile.am:
13580         * tools/gst-inspect.c:
13581         * tools/gst-xmlinspect.c:
13582           various fixes to make
13583           --disable-nls --disable-registry --disable-loadsave
13584           --disable-parse --disable-gst-debug
13585           work and get the core .so down to 360444 bytes after stripping
13586
13587 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13588
13589         * Makefile.am:
13590         * configure.ac:
13591           descend into tests
13592         * docs/random/thomasvs/TODO:
13593         * tests/Makefile.am:
13594         * tests/README:
13595           add a README
13596
13597 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13598
13599         * win32/GStreamer.vcproj:
13600         * win32/MANIFEST:
13601         * win32/Makefile:
13602         * win32/Makefile.inspect:
13603         * win32/Makefile.launch:
13604         * win32/Makefile.register:
13605         * win32/README.txt:
13606         * win32/gst-inspect.vcproj:
13607         * win32/gst-launch.vcproj:
13608         * win32/gst-register.vcproj:
13609         * win32/gstelements.vcproj:
13610         * win32/gstgetbits.def:
13611         * win32/gstgetbits.vcproj:
13612         * win32/gstreamer-dbg.def:
13613         * win32/gstreamer.def:
13614         * win32/libgstbase.def:
13615         * win32/libgstbase.vcproj:
13616         * win32/link_oldruntime.c:
13617         * win32/mman.c:
13618         * win32/mman.h:
13619         * win32/mman.inl:
13620         * win32/msvc71.sln:
13621           move even more stuff, win32/ is nice and clean now
13622
13623 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13624
13625         * libs/gst/control/.cvsignore:
13626         * win32/MANIFEST:
13627         * win32/config.h:
13628         * win32/dirent.c:
13629         * win32/dirent.h:
13630         * win32/gstbytestream.def:
13631         * win32/gstbytestream.vcproj:
13632         * win32/gstconfig.h:
13633         * win32/gstenumtypes.c:
13634         * win32/gstenumtypes.h:
13635         * win32/gstoptimalscheduler.vcproj:
13636         * win32/gstversion.h:
13637         * win32/gtchar.h:
13638         * win32/testsuite/bins.vcproj:
13639         * win32/testsuite/bytestream.vcproj:
13640         * win32/testsuite/caps.vcproj:
13641         * win32/testsuite/cleanup.vcproj:
13642         * win32/testsuite/clock.vcproj:
13643         * win32/testsuite/debug.vcproj:
13644         * win32/testsuite/dlopen.vcproj:
13645         * win32/testsuite/dynparams.vcproj:
13646         * win32/testsuite/elements.vcproj:
13647         * win32/testsuite/ghostpads.vcproj:
13648         * win32/testsuite/indexers.vcproj:
13649         * win32/testsuite/negotiation.vcproj:
13650         * win32/testsuite/parse.vcproj:
13651         * win32/testsuite/plugin.vcproj:
13652         * win32/testsuite/refcounting.vcproj:
13653         * win32/testsuite/schedulers.vcproj:
13654         * win32/testsuite/states.vcproj:
13655         * win32/testsuite/tags.vcproj:
13656         * win32/testsuite/threads.vcproj:
13657           remove old win32 stuff that isn't maintained and should be
13658           reorganized
13659
13660 2005-11-30  Andy Wingo  <wingo@pobox.com>
13661
13662         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13663         loading the gst.interfaces python module bork.
13664
13665         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13666         available since GLib 2.2. Fixes #318031.
13667
13668 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13669
13670         * Makefile.am:
13671         * check/.cvsignore:
13672         * check/Makefile.am:
13673         * check/elements/.cvsignore:
13674         * check/elements/fakesrc.c:
13675         * check/elements/fdsrc.c:
13676         * check/elements/identity.c:
13677         * check/generic/.cvsignore:
13678         * check/generic/states.c:
13679         * check/gst-libs/.cvsignore:
13680         * check/gst-libs/controller.c:
13681         * check/gst-libs/gdp.c:
13682         * check/gst/.cvsignore:
13683         * check/gst/capslist.h:
13684         * check/gst/gst.c:
13685         * check/gst/gstbin.c:
13686         * check/gst/gstbuffer.c:
13687         * check/gst/gstbus.c:
13688         * check/gst/gstcaps.c:
13689         * check/gst/gstelement.c:
13690         * check/gst/gstevent.c:
13691         * check/gst/gstghostpad.c:
13692         * check/gst/gstiterator.c:
13693         * check/gst/gstmessage.c:
13694         * check/gst/gstminiobject.c:
13695         * check/gst/gstobject.c:
13696         * check/gst/gstpad.c:
13697         * check/gst/gstpipeline.c:
13698         * check/gst/gstplugin.c:
13699         * check/gst/gstsegment.c:
13700         * check/gst/gststructure.c:
13701         * check/gst/gstsystemclock.c:
13702         * check/gst/gsttag.c:
13703         * check/gst/gstutils.c:
13704         * check/gst/gstvalue.c:
13705         * check/net/.cvsignore:
13706         * check/net/gstnetclientclock.c:
13707         * check/net/gstnettimeprovider.c:
13708         * check/pipelines/.cvsignore:
13709         * check/pipelines/cleanup.c:
13710         * check/pipelines/simple_launch_lines.c:
13711         * check/pipelines/stress.c:
13712         * check/states/.cvsignore:
13713         * check/states/sinks.c:
13714         * configure.ac:
13715         * examples/Makefile.am:
13716         * examples/appreader/.cvsignore:
13717         * examples/appreader/Makefile.am:
13718         * examples/appreader/appreader.c:
13719         * examples/controller/.cvsignore:
13720         * examples/controller/Makefile.am:
13721         * examples/controller/audio-example.c:
13722         * examples/cutter/.cvsignore:
13723         * examples/cutter/Makefile.am:
13724         * examples/cutter/cutter.c:
13725         * examples/cutter/cutter.h:
13726         * examples/events/Makefile.am:
13727         * examples/events/seek.c:
13728         * examples/helloworld/.cvsignore:
13729         * examples/helloworld/Makefile.am:
13730         * examples/helloworld/helloworld.c:
13731         * examples/helloworld2/.cvsignore:
13732         * examples/helloworld2/Makefile.am:
13733         * examples/helloworld2/helloworld2.c:
13734         * examples/launch/.cvsignore:
13735         * examples/launch/Makefile.am:
13736         * examples/launch/mp3parselaunch.c:
13737         * examples/launch/mp3play:
13738         * examples/manual/.cvsignore:
13739         * examples/manual/Makefile.am:
13740         * examples/manual/extract.pl:
13741         * examples/metadata/Makefile.am:
13742         * examples/metadata/read-metadata.c:
13743         * examples/mixer/.cvsignore:
13744         * examples/mixer/Makefile.am:
13745         * examples/mixer/mixer.c:
13746         * examples/mixer/mixer.h:
13747         * examples/pingpong/.cvsignore:
13748         * examples/pingpong/Makefile.am:
13749         * examples/pingpong/pingpong.c:
13750         * examples/plugins/.cvsignore:
13751         * examples/plugins/Makefile.am:
13752         * examples/plugins/example.c:
13753         * examples/plugins/example.h:
13754         * examples/pwg/.cvsignore:
13755         * examples/pwg/Makefile.am:
13756         * examples/pwg/extract.pl:
13757         * examples/queue/.cvsignore:
13758         * examples/queue/Makefile.am:
13759         * examples/queue/queue.c:
13760         * examples/queue2/.cvsignore:
13761         * examples/queue2/Makefile.am:
13762         * examples/queue2/queue2.c:
13763         * examples/queue3/.cvsignore:
13764         * examples/queue3/Makefile.am:
13765         * examples/queue3/queue3.c:
13766         * examples/queue4/.cvsignore:
13767         * examples/queue4/Makefile.am:
13768         * examples/queue4/queue4.c:
13769         * examples/retag/.cvsignore:
13770         * examples/retag/Makefile.am:
13771         * examples/retag/retag.c:
13772         * examples/retag/transcode.c:
13773         * examples/thread/.cvsignore:
13774         * examples/thread/Makefile.am:
13775         * examples/thread/thread.c:
13776         * examples/typefind/.cvsignore:
13777         * examples/typefind/Makefile.am:
13778         * examples/typefind/typefind.c:
13779         * examples/xml/.cvsignore:
13780         * examples/xml/Makefile.am:
13781         * examples/xml/createxml.c:
13782         * examples/xml/runxml.c:
13783         * tests/Makefile.am:
13784         * tests/check/Makefile.am:
13785         * testsuite/.cvsignore:
13786         * testsuite/Makefile.am:
13787         * testsuite/Rules:
13788         * testsuite/caps/.cvsignore:
13789         * testsuite/caps/Makefile.am:
13790         * testsuite/caps/app_fixate.c:
13791         * testsuite/caps/audioscale.c:
13792         * testsuite/caps/caps.c:
13793         * testsuite/caps/caps.h:
13794         * testsuite/caps/caps_strings:
13795         * testsuite/caps/compatibility.c:
13796         * testsuite/caps/deserialize.c:
13797         * testsuite/caps/enumcaps.c:
13798         * testsuite/caps/eratosthenes.c:
13799         * testsuite/caps/filtercaps.c:
13800         * testsuite/caps/fixed.c:
13801         * testsuite/caps/fraction-convert.c:
13802         * testsuite/caps/fraction-multiply-and-zero.c:
13803         * testsuite/caps/intersect2.c:
13804         * testsuite/caps/intersection.c:
13805         * testsuite/caps/normalisation.c:
13806         * testsuite/caps/random.c:
13807         * testsuite/caps/renegotiate.c:
13808         * testsuite/caps/sets.c:
13809         * testsuite/caps/simplify.c:
13810         * testsuite/caps/string-conversions.c:
13811         * testsuite/caps/structure.c:
13812         * testsuite/caps/subtract.c:
13813         * testsuite/caps/union.c:
13814         * testsuite/debug/.cvsignore:
13815         * testsuite/debug/Makefile.am:
13816         * testsuite/debug/category.c:
13817         * testsuite/debug/commandline.c:
13818         * testsuite/debug/global.c:
13819         * testsuite/debug/output.c:
13820         * testsuite/debug/printf_extension.c:
13821         * testsuite/dlopen/.cvsignore:
13822         * testsuite/dlopen/Makefile.am:
13823         * testsuite/dlopen/dlopen_gst.c:
13824         * testsuite/dlopen/loadgst.c:
13825         * testsuite/elements/.cvsignore:
13826         * testsuite/elements/Makefile.am:
13827         * testsuite/elements/gst-inspect-check.in:
13828         * testsuite/elements/struct_i386.h:
13829         * testsuite/elements/struct_size.c:
13830         * testsuite/indexers/.cvsignore:
13831         * testsuite/indexers/Makefile.am:
13832         * testsuite/indexers/cache1.c:
13833         * testsuite/indexers/indexdump.c:
13834         * testsuite/parse/.cvsignore:
13835         * testsuite/parse/Makefile.am:
13836         * testsuite/parse/parse1.c:
13837         * testsuite/parse/parse2.c:
13838         * testsuite/plugin/.cvsignore:
13839         * testsuite/plugin/Makefile.am:
13840         * testsuite/plugin/README:
13841         * testsuite/plugin/dynamic.c:
13842         * testsuite/plugin/linked.c:
13843         * testsuite/plugin/loading.c:
13844         * testsuite/plugin/registry.c:
13845         * testsuite/plugin/static.c:
13846         * testsuite/plugin/static2.c:
13847         * testsuite/plugin/testplugin.c:
13848         * testsuite/plugin/testplugin2.c:
13849         * testsuite/plugin/testplugin2_s.c:
13850         * testsuite/plugin/testplugin_s.c:
13851         * testsuite/refcounting/.cvsignore:
13852         * testsuite/refcounting/Makefile.am:
13853         * testsuite/refcounting/bin.c:
13854         * testsuite/refcounting/element.c:
13855         * testsuite/refcounting/element_pad.c:
13856         * testsuite/refcounting/mainloop.c:
13857         * testsuite/refcounting/mem.c:
13858         * testsuite/refcounting/mem.h:
13859         * testsuite/refcounting/object.c:
13860         * testsuite/refcounting/pad.c:
13861         * testsuite/refcounting/sched.c:
13862         * testsuite/refcounting/thread.c:
13863         * testsuite/states/.cvsignore:
13864         * testsuite/states/Makefile.am:
13865         * testsuite/states/bin.c:
13866         * testsuite/states/locked.c:
13867         * testsuite/states/parent.c:
13868         * testsuite/threads/.cvsignore:
13869         * testsuite/threads/159566.c:
13870         * testsuite/threads/159852.c:
13871         * testsuite/threads/Makefile.am:
13872         * testsuite/threads/queue.c:
13873         * testsuite/threads/signals.c:
13874         * testsuite/threads/staticrec.c:
13875         * testsuite/threads/thread.c:
13876         * testsuite/threads/threadb.c:
13877         * testsuite/threads/threadc.c:
13878         * testsuite/threads/threadd.c:
13879         * testsuite/threads/threade.c:
13880         * testsuite/threads/threadf.c:
13881         * testsuite/threads/threadg.c:
13882         * testsuite/threads/threadh.c:
13883         * testsuite/threads/threadi.c:
13884           move all of these under tests
13885
13886 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13887
13888         * configure.ac:
13889         * tests/Makefile.am:
13890           fix distcheck
13891
13892 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13893
13894         * docs/gst/gstreamer-sections.txt:
13895         * tests/sched/.cvsignore:
13896         * tests/sched/Makefile.am:
13897         * tests/sched/cases/(fs-fs).xml:
13898         * tests/sched/cases/(fs-i-fs).xml:
13899         * tests/sched/cases/(fs-i-i-fs).xml:
13900         * tests/sched/cases/(fs-i-q[i-fs]).xml:
13901         * tests/sched/dynamic-pipeline.c:
13902         * tests/sched/interrupt1.c:
13903         * tests/sched/interrupt2.c:
13904         * tests/sched/interrupt3.c:
13905         * tests/sched/runtestcases:
13906         * tests/sched/runxml.c:
13907         * tests/sched/sched-stress.c:
13908         * tests/sched/sort.c:
13909         * tests/sched/testcases:
13910         * tests/sched/testcases1.tc:
13911         * tests/seeking/.cvsignore:
13912         * tests/seeking/Makefile.am:
13913         * tests/seeking/seeking1.c:
13914         * tests/threadstate/.cvsignore:
13915         * tests/threadstate/Makefile.am:
13916         * tests/threadstate/test1.c:
13917         * tests/threadstate/test2.c:
13918         * tests/threadstate/threadstate1.c:
13919         * tests/threadstate/threadstate2.c:
13920         * tests/threadstate/threadstate3.c:
13921         * tests/threadstate/threadstate4.c:
13922         * tests/threadstate/threadstate5.c:
13923           remove obsolete tests
13924         * configure.ac:
13925         * tests/bench-complexity.scm:
13926         * tests/bench-mass_elements.scm:
13927         * tests/complexity.c:
13928         * tests/complexity.gnuplot:
13929         * tests/instantiate/.cvsignore:
13930         * tests/instantiate/Makefile.am:
13931         * tests/instantiate/caps.c:
13932         * tests/mass_elements.c:
13933         * tests/network-clock-utils.scm:
13934         * tests/network-clock.scm:
13935         * tests/plot-data:
13936         First pass at cleaning up tests/ dir before moving the rest
13937         Combined with CVS surgery
13938
13939 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13940
13941         * po/POTFILES.in:
13942           queue has moved, update
13943
13944 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13945
13946         * docs/gst/gstreamer-sections.txt:
13947           remove double entries from the docs
13948         * gst/gst_private.h:
13949         * gst/gstinfo.c: (_gst_debug_init):
13950           remove the THREAD debug category
13951         * gst/Makefile.am:
13952         * gst/gstqueue.c:
13953         * gst/gstqueue.h:
13954         * docs/gst/gstreamer.types:
13955         * plugins/elements/gstqueue.c: (gst_queue_get_type),
13956         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13957           completely move queue and fix up debugging categories
13958
13959 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13960
13961         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13962           make initialization portable, using LL is not
13963
13964 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13965
13966         * win32/common/gstconfig.h:
13967           add large padding
13968
13969 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13970
13971         * win32/common/libgstreamer.def:
13972           rename symbols; sort base section
13973
13974 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13975
13976         * gst/gstclock.c: (do_linear_regression):
13977           remove crack non-portable handrolled DEBUG macro
13978
13979 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13980
13981         * docs/random/release:
13982           update notes
13983         * win32/common/gstenumtypes.c: (register_gst_object_flags),
13984         (gst_object_flags_get_type), (register_gst_bin_flags),
13985         (gst_bin_flags_get_type), (register_gst_buffer_flag),
13986         (gst_buffer_flag_get_type), (register_gst_bus_flags),
13987         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13988         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13989         (gst_caps_flags_get_type), (register_gst_clock_return),
13990         (gst_clock_return_get_type), (register_gst_clock_entry_type),
13991         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13992         (gst_clock_flags_get_type), (register_gst_state),
13993         (gst_state_get_type), (register_gst_state_change_return),
13994         (gst_state_change_return_get_type), (register_gst_state_change),
13995         (gst_state_change_get_type), (register_gst_element_flags),
13996         (gst_element_flags_get_type), (register_gst_core_error),
13997         (gst_core_error_get_type), (register_gst_library_error),
13998         (gst_library_error_get_type), (register_gst_resource_error),
13999         (gst_resource_error_get_type), (register_gst_stream_error),
14000         (gst_stream_error_get_type), (register_gst_event_type_flags),
14001         (gst_event_type_flags_get_type), (register_gst_event_type),
14002         (gst_event_type_get_type), (register_gst_seek_type),
14003         (gst_seek_type_get_type), (register_gst_seek_flags),
14004         (gst_seek_flags_get_type), (register_gst_format),
14005         (gst_format_get_type), (register_gst_index_certainty),
14006         (gst_index_certainty_get_type), (register_gst_index_entry_type),
14007         (gst_index_entry_type_get_type),
14008         (register_gst_index_lookup_method),
14009         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14010         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14011         (gst_index_resolver_method_get_type), (register_gst_index_flags),
14012         (gst_index_flags_get_type), (register_gst_debug_level),
14013         (gst_debug_level_get_type), (register_gst_debug_color_flags),
14014         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14015         (gst_iterator_result_get_type), (register_gst_iterator_item),
14016         (gst_iterator_item_get_type), (register_gst_message_type),
14017         (gst_message_type_get_type), (register_gst_mini_object_flags),
14018         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14019         (gst_pad_link_return_get_type), (register_gst_flow_return),
14020         (gst_flow_return_get_type), (register_gst_activate_mode),
14021         (gst_activate_mode_get_type), (register_gst_pad_direction),
14022         (gst_pad_direction_get_type), (register_gst_pad_flags),
14023         (gst_pad_flags_get_type), (register_gst_pad_presence),
14024         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14025         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14026         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14027         (gst_plugin_error_get_type), (register_gst_plugin_flags),
14028         (gst_plugin_flags_get_type), (register_gst_rank),
14029         (gst_rank_get_type), (register_gst_query_type),
14030         (gst_query_type_get_type), (register_gst_tag_merge_mode),
14031         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14032         (gst_tag_flag_get_type), (register_gst_task_state),
14033         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14034         (gst_alloc_trace_flags_get_type),
14035         (register_gst_type_find_probability),
14036         (gst_type_find_probability_get_type), (register_gst_uri_type),
14037         (gst_uri_type_get_type), (register_gst_parse_error),
14038         (gst_parse_error_get_type):
14039         * win32/common/gstenumtypes.h:
14040         * win32/common/gstversion.h:
14041           update visual studio generated files
14042
14043 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14044
14045         * win32/vs6/libgstbase.dsp:
14046         * win32/vs6/libgstelements.dsp:
14047           update project files for new locations
14048
14049 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14050
14051         * Makefile.am:
14052           remove some files
14053         * README:
14054           reinstate and update
14055         * DEVEL:
14056         * REQUIREMENTS:
14057           removed
14058         * LICENSE:
14059         * docs/random/LICENSE:
14060           moved to random
14061
14062 2005-11-30  Edward Hervey  <edward@fluendo.com>
14063
14064         * gst/gsttypefind.c: (gst_type_find_register):
14065         * gst/gsttypefind.h:
14066         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14067         (gst_type_find_factory_dispose):
14068         * gst/gsttypefindfactory.h:
14069         Fix memory leak in GstTypeFindFactory.
14070
14071 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14072
14073         * gst/gst.c:
14074         * plugins/elements/Makefile.am:
14075         * plugins/elements/gstelements.c:
14076         * plugins/elements/gstqueue.c:
14077           move queue from core to the elements plugin
14078
14079 2005-11-29  Andy Wingo  <wingo@pobox.com>
14080
14081         * libs/gst/base/gstbasetransform.h: 
14082         * libs/gst/base/gstbasesrc.h: 
14083         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14084
14085         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14086         of pointers by which to pad very extensible base classes (like the
14087         ones in libs/gst/base).
14088
14089 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14090
14091         * docs/gst/gstreamer-docs.sgml:
14092         * docs/gst/gstreamer-sections.txt:
14093         * docs/libs/gstreamer-libs-docs.sgml:
14094         * docs/libs/gstreamer-libs-sections.txt:
14095           moving documentation from core to lib
14096
14097 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14098
14099         * check/Makefile.am:
14100         * configure.ac:
14101         * docs/gst/Makefile.am:
14102         * gst/Makefile.am:
14103         * gst/base/.cvsignore:
14104         * gst/base/Makefile.am:
14105         * gst/base/README:
14106         * gst/base/gstadapter.c:
14107         * gst/base/gstadapter.h:
14108         * gst/base/gstbasesink.c:
14109         * gst/base/gstbasesink.h:
14110         * gst/base/gstbasesrc.c:
14111         * gst/base/gstbasesrc.h:
14112         * gst/base/gstbasetransform.c:
14113         * gst/base/gstbasetransform.h:
14114         * gst/base/gstcollectpads.c:
14115         * gst/base/gstcollectpads.h:
14116         * gst/base/gstpushsrc.c:
14117         * gst/base/gstpushsrc.h:
14118         * gst/base/gsttypefindhelper.c:
14119         * gst/base/gsttypefindhelper.h:
14120         * gst/check/Makefile.am:
14121         * gst/check/gstcheck.c:
14122         * gst/check/gstcheck.h:
14123         * gst/net/Makefile.am:
14124         * gst/net/gstnet.h:
14125         * gst/net/gstnetclientclock.c:
14126         * gst/net/gstnetclientclock.h:
14127         * gst/net/gstnettimepacket.c:
14128         * gst/net/gstnettimepacket.h:
14129         * gst/net/gstnettimeprovider.c:
14130         * gst/net/gstnettimeprovider.h:
14131         * libs/gst/Makefile.am:
14132         * libs/gst/base/Makefile.am:
14133         * libs/gst/base/gstbasetransform.c:
14134         * libs/gst/check/Makefile.am:
14135         * plugins/elements/Makefile.am:
14136         * po/POTFILES.in:
14137           CVS surgery + support to move base, check, and net out of gst
14138           and into libs/gst
14139
14140 2005-11-29  Andy Wingo  <wingo@pobox.com>
14141
14142         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14143
14144         * gst/gststructure.h (struct _GstStructure): Only one pointer of
14145         padding.
14146
14147         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14148
14149         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14150
14151         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14152
14153         * gst/gstobject.h: (struct _GstObject): Only one pointer of
14154         padding; reduces object size by about 30%. We don't expect
14155         anything else to go into gstobject.
14156
14157         * gst/gstminiobject.h (struct _GstMiniObject)
14158         (struct _GstMiniObjectClass): Only one pointer of padding; the
14159         payload is only a pointer and two ints anyway. For the class there
14160         are only two methods as well.
14161         
14162         * gst/gstelement.h (struct _GstElementClass): Removed
14163         the state_changed signal callback, it is not used.
14164
14165 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14166
14167         * docs/gst/gstreamer.types:
14168           fix includes, though they are a little dinky
14169
14170 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14171
14172         * check/Makefile.am:
14173           look in the right place for elements, a lot more chance of
14174           success
14175         * gst/Makefile.am:
14176           remove indexers and elements subdirs
14177         * plugins/Makefile.am:
14178           make indexers conditional
14179
14180 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14181
14182         * Makefile.am:
14183         * configure.ac:
14184         * plugins/elements/Makefile.am:
14185         * plugins/elements/gstcapsfilter.c:
14186         * plugins/elements/gstfilesink.c:
14187         * plugins/elements/gstfilesrc.c:
14188         * plugins/elements/gstidentity.c:
14189         * plugins/indexers/Makefile.am:
14190           do CVS surgery and related build fixery to move elements
14191           and indexers in a new gstreamer/plugins directory, out of the
14192           gst/ directory
14193
14194 2005-11-29  Andy Wingo  <wingo@pobox.com>
14195
14196         * check/Makefile.am:
14197         * pkgconfig/gstreamer-net-uninstalled.pc.in:
14198         * pkgconfig/gstreamer-net.pc.in:
14199         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14200         #322257.
14201
14202 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14203
14204         * tools/Makefile.am:
14205         * tools/gst-complete.1.in:
14206         * tools/gst-complete.c:
14207         * tools/gst-compprep.1.in:
14208         * tools/gst-compprep.c:
14209           removing -compprep and -complete
14210
14211 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14212
14213         * gst/gstevent.c: (gst_event_new_new_segment),
14214         (gst_event_parse_new_segment):
14215         * gst/gstevent.h:
14216           fix #320529 - clean up new_segment API and structure.
14217           Let's hope everyone was using the methods, and not the structure.
14218
14219 2005-11-29  Edward Hervey  <edward@fluendo.com>
14220
14221         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14222         (gst_base_sink_event), (gst_base_sink_do_sync),
14223         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14224         Properly handle non GST_FORMAT_TIME segment
14225         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14226         Properly handle non GST_FORMAT_TIME segment
14227         * gst/gstsegment.c:
14228         This function is valid if the accumulator is 0 and the format
14229         is different from the requested format.
14230         
14231 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14232
14233         * docs/gst/gstreamer-sections.txt:
14234         Add gst_query_new_seeking and gst_query_parse_seeking to the
14235         docs.
14236
14237 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14238
14239         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14240           Treat a pad alloc with new caps the same as if we were not
14241           negotiated, in order to allow a changing upstream output
14242           to produce a new format of data.
14243
14244 2005-11-29  Edward Hervey  <edward@fluendo.com>
14245
14246         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14247         (gst_base_transform_event), (gst_base_transform_eventfunc):
14248         The event virtual method is now properly implemented, with a default
14249         handler
14250         Sub classes should call the parent_class event method. They should
14251         return FALSE if they had a problem handling the given event, or don't
14252         want GstBaseTransform to send that even downstream
14253         * gst/elements/gstidentity.c: (gst_identity_class_init),
14254         (gst_identity_init), (gst_identity_event),
14255         (gst_identity_transform_ip), (gst_identity_set_property),
14256         (gst_identity_get_property):
14257         * gst/elements/gstidentity.h:
14258         Added the single-segment boolean property.
14259         If set to TRUE, it will output a single segment of data, starting from
14260         0, will eat up all incoming newsegment, and modify the timestamp of the
14261         buffers accordingly
14262
14263 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
14264
14265         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14266           Don't ref NULL target pad (#322751). Improve docs.
14267
14268 2005-11-29  Michael Smith  <msmith@fluendo.com>
14269
14270         * gst/gstregistryxml.c: (load_plugin):
14271           Don't crash if we failed to load a feature from a plugin. 
14272
14273 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14274
14275         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14276         (GST_START_TEST):
14277           use more check API and less GLib API
14278
14279 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14280
14281         * Makefile.am:
14282           don't run checks if we don't have check
14283         * common/check.mak:
14284           remove the registry when running make torture
14285         * docs/gst/gstreamer-sections.txt:
14286           remove second multiply
14287         * gst/gstqueue.c: (gst_queue_loop):
14288           fix a compile warning when disabling debug
14289
14290 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14291
14292         * gst/gstinfo.h:
14293         Hey! Let's print the pad name if the pointer != NULL instead
14294         of when it == NULL :-)
14295
14296 2005-11-28  Wim Taymans  <wim@fluendo.com>
14297
14298         * check/gst/gstutils.c: (GST_START_TEST):
14299         Updated check, add some scaling accuracy checking code.
14300
14301         * gst/gstutils.c: (gst_util_div128_64),
14302         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14303         (gst_util_uint64_scale_int):
14304         Fix 6 times faster division code. Optimize for common 
14305         1/1 and less common X/1 cases.
14306
14307 2005-11-28  Wim Taymans  <wim@fluendo.com>
14308
14309         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14310         More checks.
14311
14312         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14313         (do_linear_regression), (gst_clock_add_observation):
14314         Cleanups.
14315         Release lock when the clock cannot be slaved.
14316         Catch the case where the regression returned an invalid denominator.
14317
14318         * gst/gstutils.c: (gst_util_div128_64_iterate),
14319         (gst_util_div128_64), (gst_util_uint64_scale_int64),
14320         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14321         Add protentially more performant non-iterative 128/64 divide function
14322         that unfortunatly does not work yet.
14323         Shortcut the trivial 0/X = 0 case.
14324         Remove the warnings on overflow.
14325
14326 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14327
14328         * gst/gstplugin.c: (gst_plugin_register_func):
14329           everything causing a plugin not to load should be at least a WARNING
14330
14331 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
14332
14333         * docs/random/ensonic/dparams.txt:
14334           some TODOs for the next dev cycle
14335         * libs/gst/controller/gstcontroller.c:
14336         (gst_controlled_property_set_interpolation_mode),
14337         (gst_controlled_property_new):
14338         * libs/gst/controller/gstcontroller.h:
14339           use base type to assign acccessor functions
14340
14341 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14342
14343         * check/Makefile.am:
14344         Oops, that should have been top_srcdir
14345
14346 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14347
14348         * check/Makefile.am:
14349         * check/elements/fdsrc.c: (GST_START_TEST):
14350         Use a cmdline define to specify the location of a file to use for
14351         testing, to avoid breaking distcheck.
14352
14353 2005-11-28  Andy Wingo  <wingo@pobox.com>
14354
14355         * gst/gstpad.c (fixate_value): Use array functions for arrays.
14356
14357 2005-11-28  Edward Hervey  <edward@fluendo.com>
14358
14359         * tools/gst-launch.c: (main):
14360         Clarify the output strings, makes it easier to translate.
14361         Fixes #322626
14362
14363 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14364
14365         * gst/Makefile.am:
14366           don't try and build net if we don't even have <sys/socket.h>
14367
14368 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
14369
14370         * check/Makefile.am:
14371         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14372         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14373           Add tests for fdsrc seekability
14374
14375         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14376         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14377         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14378         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14379         * gst/elements/gstfdsrc.h:
14380           fdsrc should not be a 'live' source.
14381           Implement seeking on seekable fd's.
14382
14383         * gst/gstquery.c: (gst_query_new_seeking),
14384         (gst_query_parse_seeking):
14385         * gst/gstquery.h:
14386           Implement SEEKING query functions: 
14387             *_new_seeking and *_parse_seeking
14388
14389 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14390
14391         * gst/gstelement.c: (gst_element_dispose):
14392           don't loop forever
14393
14394         * gst/gstiterator.c:
14395         * gst/gststructure.c:
14396           doc fixes
14397
14398         * libs/gst/controller/gstcontroller.c:
14399         (gst_controlled_property_set_interpolation_mode):
14400         * libs/gst/controller/gstcontroller.h:
14401         * libs/gst/controller/gstinterpolation.c:
14402         (interpolate_none_get_enum_value_array):
14403           support controlling enums
14404
14405 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14406
14407         * gst/gstvalue.c:
14408           Improve documentation for gst_value_union().
14409
14410         * gst/gstvalue.h:
14411           Change return value for union, intersect and subtract functions
14412           from gint to gboolean.
14413
14414 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14415
14416         * gst/gstvalue.c: (gst_value_serialize_any_list),
14417         (gst_value_transform_any_list_string),
14418         (gst_value_deserialize_list), (gst_value_deserialize_array),
14419         (gst_value_set_int_range), (gst_value_deserialize_int_range),
14420         (gst_value_set_double_range), (gst_value_deserialize_double_range),
14421         (gst_value_set_fraction_range_full),
14422         (gst_value_deserialize_fraction_range),
14423         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14424         (gst_value_deserialize_boolean),
14425         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14426         (gst_value_serialize_float), (gst_value_deserialize_float),
14427         (gst_string_wrap), (gst_value_deserialize_string),
14428         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14429         (gst_value_union_int_range_int_range),
14430         (gst_value_intersect_int_range_int_range),
14431         (gst_value_intersect_double_range_double_range),
14432         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14433         (gst_value_subtract_int_range_int_range),
14434         (gst_value_subtract_double_double_range),
14435         (gst_value_subtract_double_range_double_range),
14436         (gst_value_deserialize_fraction):
14437         * gst/gstvalue.h:
14438           Use gint, gdouble and gchar in our API instead of int, double and
14439           char (and make usage in gstvalue.c more consistent).
14440
14441 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14442
14443         * check/Makefile.am:
14444         * libs/gst/controller/Makefile.am:
14445         * libs/gst/dataprotocol/Makefile.am:
14446           fix up Makefile.am and remove GST_ENABLE_NEW
14447
14448 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14449
14450         * configure.ac:
14451         * gst/Makefile.am:
14452         * gst/base/Makefile.am:
14453         * gst/check/Makefile.am:
14454         * gst/elements/Makefile.am:
14455         * gst/net/Makefile.am:
14456           update LDFLAGS use some more
14457
14458 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14459
14460         * common/m4/gst-doc.m4:
14461           Fixes #312589
14462
14463 2005-11-26  Edward Hervey  <edward@fluendo.com>
14464
14465         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14466         This shouldn't issue a g_warning since it returns NULL if it
14467         couldn't find the plugin, and all functions using this behave
14468         properly on a NULL return. Switching to a GST_WARNING.
14469
14470 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
14471
14472         * gst/gstbin.c: (gst_bin_handle_message_func):
14473         Don't leak clock messages.
14474
14475 2005-11-25  Wim Taymans  <wim@fluendo.com>
14476
14477         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14478         (gst_util_uint64_scale_int):
14479         Optimisations, remove unneeded vars.
14480
14481 2005-11-25  Wim Taymans  <wim@fluendo.com>
14482
14483         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14484         Added more checks for the high precision uint64 cases.
14485
14486         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14487         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14488         Implement high precision (guint64 * guint64) / guint64.
14489
14490 2005-11-24  Wim Taymans  <wim@fluendo.com>
14491
14492         * gst/base/gstbasesrc.c: (gst_base_src_query):
14493         Fix wrong percentage query.
14494
14495         * gst/gstutils.c: (gst_util_uint64_scale),
14496         (gst_util_uint64_scale_int):
14497         Add some more common cases that can be handled 
14498         efficiently to _scale.
14499
14500 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14501
14502         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14503         (gst_mini_object_suite):
14504           don't use check calls from threads; check probably isn't
14505           threadsafe and using a lock to make it threadsafe would
14506           defeat the purpose of this check
14507         * gst/check/gstcheck.c:
14508         * gst/check/gstcheck.h:
14509           use GST_DEBUG some more
14510
14511 2005-11-24  Wim Taymans  <wim@fluendo.com>
14512
14513         * gst/gstutils.c: (gst_util_uint64_scale),
14514         (gst_util_uint64_scale_int):
14515         Chain trivial case to _scale_int.
14516
14517 2005-11-24  Wim Taymans  <wim@fluendo.com>
14518
14519         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14520         Added test for scaling.
14521
14522         * gst/gstclock.h:
14523         Small doc fix.
14524
14525         * gst/gstutils.c: (gst_util_uint64_scale_int):
14526         Implemented high precision scaling code.
14527
14528 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
14529
14530         * gst/gstinfo.h:
14531           do not crash on pad==NULL
14532
14533 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14534
14535         Patch by: Stefan Kost
14536
14537         * common/gtk-doc.mak:
14538         * docs/gst/Makefile.am:
14539         * docs/libs/Makefile.am:
14540           Fix distcheck issues for the libraries docs build
14541           Closes #319599.
14542
14543 2005-11-24  Michael Smith <msmith@fluendo.com>
14544
14545         * docs/manual/basics-helloworld.xml:
14546           Fix bug #315027: memory leak in example code in docs.
14547
14548 2005-11-24  Michael Smith <msmith@fluendo.com>
14549
14550         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14551           Unlock the PREROLL_LOCK in a failure case.
14552
14553 2005-11-24  Wim Taymans  <wim@fluendo.com>
14554
14555         * docs/gst/gstreamer-sections.txt:
14556         * gst/base/gstadapter.h:
14557         * gst/base/gstbasesink.h:
14558         * gst/base/gstbasesrc.h:
14559         * gst/base/gstbasetransform.h:
14560         * gst/base/gstpushsrc.h:
14561         * gst/elements/gstfakesink.h:
14562         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14563         * gst/elements/gstfakesrc.h:
14564         * gst/elements/gstfilesink.h:
14565         * gst/elements/gstfilesrc.h:
14566         * gst/gst.c:
14567         * gst/gstbin.c:
14568         * gst/gstbuffer.c: (_gst_buffer_copy):
14569         * gst/gstbus.h:
14570         * gst/gstcaps.c:
14571         * gst/gstchildproxy.c:
14572         * gst/gstclock.c:
14573         * gst/gstelement.c:
14574         * gst/gstelementfactory.c:
14575         * gst/gstelementfactory.h:
14576         * gst/gstevent.c:
14577         * gst/gstghostpad.h:
14578         * gst/gstindex.h:
14579         * gst/gstinterface.h:
14580         * gst/gstminiobject.c:
14581         * gst/gstminiobject.h:
14582         * gst/gstpad.c:
14583         * gst/gstpad.h:
14584         * gst/gstpadtemplate.h:
14585         * gst/gstpipeline.h:
14586         * gst/gstpluginfeature.h:
14587         * gst/gstquery.h:
14588         * gst/gstqueue.h:
14589         * gst/gsttaglist.c:
14590         * gst/gsttaglist.h:
14591         * gst/gsttagsetter.c:
14592         * gst/gsttagsetter.h:
14593         * gst/gsttrace.c:
14594         * gst/gsttrace.h:
14595         * gst/gsttypefind.h:
14596         * gst/gsturi.h:
14597         * gst/gstvalue.c:
14598         * gst/net/gstnetclientclock.c:
14599         * gst/net/gstnetclientclock.h:
14600         * gst/net/gstnettimepacket.c:
14601         * gst/net/gstnettimeprovider.c:
14602         * gst/net/gstnettimeprovider.h:
14603         Doc fixes.
14604
14605 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14606
14607         * configure.ac: back to HEAD
14608
14609 === release 0.9.6 ===
14610
14611 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
14612
14613         * configure.ac:
14614           releasing 0.9.6, "Always On Time"
14615
14616 2005-11-23  Wim Taymans  <wim@fluendo.com>
14617
14618         * docs/gst/gstreamer-sections.txt:
14619         * gst/glib-compat.c:
14620         * gst/gsttagsetter.c:
14621         * gst/gstvalue.c:
14622         * gst/net/gstnetclientclock.c:
14623         * gst/net/gstnettimepacket.h:
14624         Doc updates.
14625
14626 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14627
14628         * docs/faq/using.xml:
14629         * docs/libs/tmpl/gstcontrol.sgml:
14630         * docs/manual/advanced-dparams.xml:
14631         * docs/manual/appendix-checklist.xml:
14632         * docs/manual/basics-elements.xml:
14633         * docs/pwg/other-source.xml:
14634         * docs/random/moving-plugins:
14635         * gst/gstpad.c:
14636         * tools/gst-launch.1.in:
14637           remove mentions of sinesrc
14638
14639 2005-11-23  Michael Smith <msmith@fluendo.com>
14640
14641         * docs/gst/gstreamer-sections.txt:
14642           Update for new API and API changes.
14643         * gst/gstobject.h:
14644           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14645         * gst/gstvalue.c:
14646           Documentation typo fix.
14647         * gst/net/gstnettimepacket.c:
14648           Documentation fixes for arguments.
14649
14650 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
14651
14652         * gst/gststructure.c: (gst_structure_get_fraction),
14653         (gst_structure_parse_value),
14654         (gst_structure_fixate_field_nearest_fraction):
14655         * gst/gststructure.h:
14656         * gst/gstutils.c: (gst_util_uint64_scale_int):
14657         * gst/gstutils.h:
14658         * scripts/update-funcnames:
14659         API Changes. 
14660         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14661         Make gst_structure_fixate_field_nearest_fraction take a numerator
14662         and denominator argument instead of a GValue
14663         add gst_structure_get_fraction helper function.
14664
14665 2005-11-23  Wim Taymans  <wim@fluendo.com>
14666
14667         * docs/design/part-TODO.txt:
14668         Update TODO.
14669
14670         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14671         * gst/net/gstnetclientclock.h:
14672         Use parent fields for timeout and window_size.
14673
14674 2005-11-23  Andy Wingo  <wingo@pobox.com>
14675
14676         * check/net/gstnetclientclock.c (test_functioning): Adjust to
14677         rate_num/rate_denom change.
14678
14679         * gst/net/gstnetclientclock.c
14680         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14681         OBJECT_LOCK. Don't call add_observation with the lock.
14682
14683         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14684         fraction.
14685         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14686         rate fraction.
14687         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14688         deal with rate as a fraction whose numerator and denominator are
14689         GstClockTime values.
14690         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14691         master; the other fields are protected by the SLAVE_LOCK.
14692         (do_linear_regression): Note that this must be called with the
14693         SLAVE_LOCK.
14694         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14695         OBJECT_LOCK. Call set_calibration instead of touching the
14696         variables directly.
14697         (gst_clock_set_property, gst_clock_get_property): Protect
14698         master/slave parameters with the SLAVE_LOCK.
14699
14700         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14701         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14702         note that all of the instance variables that add_observation and
14703         the set_master functions use are protected by that lock and not
14704         the OBJECT_LOCK.
14705         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14706
14707         * gst/gstclock.c (gst_clock_add_observation): No longer requires
14708         the caller to take the object lock.
14709
14710 2005-11-23  Wim Taymans  <wim@fluendo.com>
14711
14712         * gst/gsterror.c: (_gst_core_errors_init):
14713         * gst/gsterror.h:
14714         Add error for clock stuff.
14715
14716         * gst/gstpipeline.c: (gst_pipeline_change_state),
14717         (gst_pipeline_set_clock):
14718         Post clock error when clock cannot be used in a pipeline.
14719
14720 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
14721
14722         * docs/gst/gstreamer-sections.txt:
14723           make two symbols from gstinfo private for the docs
14724         * gst/base/gstcollectpads.h:
14725         * gst/gstutils.c:
14726           fix doc typos, update docs
14727
14728 2005-11-22  Wim Taymans  <wim@fluendo.com>
14729
14730         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14731         (gst_base_sink_wait), (gst_base_sink_do_sync),
14732         (gst_base_sink_handle_event):
14733         * gst/base/gstbasesink.h:
14734         No need to store the clock, the parent element class already
14735         has it.
14736
14737         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14738         Updates for clock_set returning a gboolean
14739
14740         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14741         (gst_clock_id_wait_async), (gst_clock_class_init),
14742         (gst_clock_init), (gst_clock_finalize),
14743         (gst_clock_get_internal_time), (gst_clock_get_time),
14744         (gst_clock_slave_callback), (gst_clock_set_master),
14745         (gst_clock_get_master), (do_linear_regression),
14746         (gst_clock_add_observation), (gst_clock_set_property),
14747         (gst_clock_get_property):
14748         * gst/gstclock.h:
14749         Implement master/slave. When setting a clock as a slave, a
14750         periodic timeout is scheduled to sample master and slave times.
14751         Then the slave clock is recalibrated to match offset and rate
14752         of the master clock.
14753         Update logging a bit.
14754         Add flag so that a clock can state that is cannot be slaved to
14755         another clock.
14756
14757         * gst/gstelement.c: (gst_element_set_clock):
14758         * gst/gstelement.h:
14759         The set clock returns a gboolean for when an element cannot
14760         deal with the selected clock in the pipeline. 
14761
14762         * gst/gstpipeline.c: (gst_pipeline_change_state),
14763         (gst_pipeline_set_clock):
14764         * gst/gstpipeline.h:
14765         Handle the case where the selected clock cannot be set on
14766         the pipeline.
14767
14768         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14769         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14770         (gst_net_client_clock_set_property),
14771         (gst_net_client_clock_get_property),
14772         (gst_net_client_clock_observe_times):
14773         * gst/net/gstnetclientclock.h:
14774         Use regression code in GstClock parent, remove duplicated
14775         functionality.
14776
14777 2005-11-22  Michael Smith <msmith@fluendo.com>
14778
14779         * gst/gstutils.c: (gst_util_clock_time_scale):
14780         * gst/gstutils.h:
14781         * docs/gst/gstreamer-sections.txt:
14782           Rename method to have extra underscore.
14783
14784 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14785
14786         * gst/elements/Makefile.am:
14787         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14788         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14789         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14790         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14791         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14792         * gst/elements/gstfakesrc.h:
14793         * gst/gstqueue.c: (queue_leaky_get_type):
14794           correctly fix GEnumValues so that nick is the short lowercase
14795           dashed tag
14796         * tools/gst-inspect.c: (print_element_properties_info):
14797           also show the nick, since it's useful to use from parse_launch
14798           syntax
14799           Fixes #322139
14800
14801 2005-11-22  Michael Smith <msmith@fluendo.com>
14802
14803         * gst/gstutils.c: (gst_util_clocktime_scale):
14804         * gst/gstutils.h:
14805         * docs/gst/gstreamer-sections.txt:
14806           Add util method for scaling a clocktime by a fraction. Useful 
14807           implementation is left as an exercise for the reader.
14808
14809 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14810
14811         * gst/gstvalue.c: (gst_value_collect_fraction_range):
14812         If needed, allocate storage in the destination value during
14813         collection.
14814
14815 2005-11-22  Edward Hervey  <edward@fluendo.com>
14816
14817         * docs/gst/gstreamer-sections.txt:
14818         * gst/Makefile.am:
14819         * gst/gst.h:
14820         * gst/gsturitype.c:
14821         * gst/gsturitype.h:
14822         * gst/gstutils.c: (gst_util_set_object_arg):
14823         * tools/gst-compprep.c: (main):
14824         * tools/gst-inspect.c: (print_element_properties_info):
14825         Removed GstURI, closes bug #321061
14826
14827 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14828
14829         * check/gst/gststructure.c: (GST_START_TEST):
14830         * gst/gststructure.c: (gst_structure_parse_value):
14831           Oops, broke automatic string type parsing.
14832           Add a test to catch it in future.
14833
14834 2005-11-22  Andy Wingo  <wingo@pobox.com>
14835
14836         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
14837         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14838         Actually rename the function implementations. Grr.
14839
14840 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14841
14842         * check/gst/capslist.h:
14843           Comment test cases
14844         * check/gst/gststructure.c: (GST_START_TEST),
14845         (gst_structure_suite):
14846           Test automatic value type detection in gst_structure_from_string.
14847         * gst/gststructure.c: (gst_structure_parse_value):
14848           Add fraction as a type we try and guess automatically in
14849           caps/structure strings.
14850
14851 2005-11-22  Andy Wingo  <wingo@pobox.com>
14852
14853         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14854
14855         * gst/gsttagsetter.h:
14856         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14857         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14858         (gst_tag_setter_add_tag_valist)
14859         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14860         _add_values, _add_valist, and _add_valist_values. Since this is an
14861         interface the function suffixes should be more explicit so
14862         language binding don't end up with element.add_valist ->
14863         gst_tag_setter_add_valist, for example. Fixes #322069.
14864
14865 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14866
14867         * check/gst/gstcaps.c: (GST_START_TEST):
14868           Extend caps string tests to check that a caps to string
14869           conversion is reversible and produces the same caps.
14870
14871         * gst/gststructure.c: (gst_structure_value_get_generic_type):
14872           Output "fraction" as the generic type fraction range, so caps
14873           serialisation and deserialisation works.
14874         * check/gst/capslist.h:
14875         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14876           Support 'MIN' and 'MAX' for deserialising fractions.
14877
14878 2005-11-22  Andy Wingo  <wingo@pobox.com>
14879
14880         * gst/gstevent.h (gst_event_new_new_segment)
14881         (gst_event_parse_new_segment, gst_event_new_buffer_size)
14882         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14883         Renamed from *_newsegment, *_buffersize, *_notarget.
14884
14885         * scripts/update-funcnames: New script, performs the changes
14886         listed above.
14887
14888 2005-11-22  Wim Taymans  <wim@fluendo.com>
14889
14890         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14891         Make sure the GstFlowReturn is returned.
14892
14893         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14894         (gst_bus_add_signal_watch):
14895         * gst/gstbus.h:
14896         add gst_bus_add_signal_watch_full.
14897
14898         * gst/gstplugin.c: (gst_plugin_load_file):
14899         Small style cleanup.
14900
14901 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14902
14903         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14904           Block the fakesrc srcpad when we send an event, to avoid
14905           contention on the stream_lock causing random test failures.
14906
14907 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14908
14909         * check/gst/gstvalue.c: (GST_START_TEST):
14910         * gst/gstvalue.c: (gst_value_fraction_subtract):
14911           Fix subtraction.
14912
14913 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
14914
14915         * gst/gst.h:
14916           include "gstchildproxy.h"
14917         * gst/gstchildproxy.h:
14918         * libs/gst/controller/gstcontroller.h:
14919           use G_GNUC_NULL_TERMINATED
14920
14921 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14922
14923         * check/gst/capslist.h:
14924         * check/gst/gstcaps.c: (GST_START_TEST):
14925         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14926         * gst/gststructure.c: (gst_structure_parse_range),
14927         (gst_structure_fixate_field_nearest_fraction):
14928         * gst/gststructure.h:
14929         * gst/gstvalue.c: (gst_value_init_fraction_range),
14930         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14931         (gst_value_collect_fraction_range),
14932         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14933         (gst_value_set_fraction_range_full),
14934         (gst_value_get_fraction_range_min),
14935         (gst_value_get_fraction_range_max),
14936         (gst_value_serialize_fraction_range),
14937         (gst_value_transform_fraction_range_string),
14938         (gst_value_compare_fraction_range),
14939         (gst_value_deserialize_fraction_range),
14940         (gst_value_intersect_fraction_fraction_range),
14941         (gst_value_intersect_fraction_range_fraction_range),
14942         (gst_value_subtract_fraction_fraction_range),
14943         (gst_value_subtract_fraction_range_fraction),
14944         (gst_value_subtract_fraction_range_fraction_range),
14945         (gst_value_collect_fraction), (gst_value_fraction_multiply),
14946         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14947         (gst_value_transform_string_fraction), (_gst_value_initialize):
14948         * gst/gstvalue.h:
14949           Implement fraction ranges and extend GstFraction to support
14950           arithmetic subtraction, as well as deserialization from integer
14951           strings such as "100"
14952           Add a testsuite as for int and double range set operations
14953
14954 2005-11-21  Andy Wingo  <wingo@pobox.com>
14955
14956         * gst/gsttaglist.h: 
14957         * gst/gstcaps.h: 
14958         * gst/gststructure.h: Add glib-compat.h.
14959
14960 2005-11-21  Wim Taymans  <wim@fluendo.com>
14961
14962         * gst/gstbin.c: (gst_bin_change_state_func):
14963         Fix for #321595
14964
14965 2005-11-21  Wim Taymans  <wim@fluendo.com>
14966
14967         * gst/gstsegment.h:
14968         And add a nice define too.
14969
14970 2005-11-21  Wim Taymans  <wim@fluendo.com>
14971
14972         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14973         (gst_segment_new), (gst_segment_free), (gst_segment_init),
14974         (gst_segment_set_duration), (gst_segment_set_last_stop),
14975         (gst_segment_set_seek), (gst_segment_set_newsegment),
14976         (gst_segment_to_stream_time), (gst_segment_to_running_time),
14977         (gst_segment_clip):
14978         * gst/gstsegment.h:
14979         Make binding friendly.
14980
14981 2005-11-21  Andy Wingo  <wingo@pobox.com>
14982
14983         * gst/gsttagsetter.h: 
14984         * gst/gsttaglist.h: 
14985         * gst/gststructure.h: 
14986         * gst/gstcaps.h: 
14987         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14988         #319940.
14989
14990         * gst/gsterror.c (_gst_core_errors_init):
14991         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14992         category.
14993
14994         * gst/Makefile.am (gst_headers): Add glib-compat.h.
14995         (noinst_HEADERS): noinst the -private.
14996
14997 2005-11-21  Michael Smith <msmith@fluendo.com>
14998
14999         * gst/gstplugin.h:
15000         * gst/gstregistry.h:
15001           Remove unimplemented declarations for which we can see no sensible
15002           use.
15003
15004 2005-11-21  Andy Wingo  <wingo@pobox.com>
15005
15006         * gst/gst.h: Include glib-compat.h.
15007
15008         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15009
15010         * gst/glib-compat.c: Include the public and the private header.
15011
15012         * gst/glib-compat-private.h: Copied here from glib-compat.h.
15013
15014         * gst/gstvalue.c: 
15015         * gst/gstpad.c: 
15016         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15017
15018         * check/gst/gstevent.c (create_custom_events): Check that
15019         FLUSH_STOP is serialized.
15020
15021         * check/elements/identity.c (event_func): 
15022         * check/elements/fakesrc.c (event_func): No stream lock, the core
15023         takes it.
15024
15025         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15026         stream lock taking, yay.
15027
15028         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15029         ensure that core takes the stream lock.
15030
15031         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15032         lock name change.
15033
15034         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15035         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15036         it already. For the flush start we do take it though so we get the
15037         right preroll state change messages.
15038
15039         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15040         the stream lock here, the core does it for us.
15041
15042         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15043         GST_STREAM_GET_LOCK.
15044         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
15045         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
15046         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15047         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15048         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
15049         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15050
15051         * gst/gstpad.c: Update for stream lock name change.
15052
15053         * gst/base/gstbasesink.c: Update for preroll lock name change.
15054
15055 2005-11-21  Wim Taymans  <wim@fluendo.com>
15056
15057         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15058         (gst_clock_get_master):
15059         * gst/gstclock.h:
15060         * gst/gstsystemclock.c: (gst_system_clock_init):
15061         Convert Clock flags to object flags.
15062         Added methods to manage master/slave clocks.
15063
15064 2005-11-21  Wim Taymans  <wim@fluendo.com>
15065
15066         * check/gst/gstsegment.c: (GST_START_TEST):
15067         * docs/design/part-TODO.txt:
15068         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15069         (gst_base_sink_event), (gst_base_sink_do_sync),
15070         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15071         (gst_base_sink_query), (gst_base_sink_change_state):
15072         * gst/base/gstbasesink.h:
15073         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15074         (gst_base_src_default_newsegment),
15075         (gst_base_src_configure_segment), (gst_base_src_do_seek),
15076         (gst_base_src_get_range), (gst_base_src_loop),
15077         (gst_base_src_change_state):
15078         * gst/base/gstbasesrc.h:
15079         * gst/base/gstbasetransform.c:
15080         (gst_base_transform_prepare_output_buf),
15081         (gst_base_transform_event), (gst_base_transform_change_state):
15082         * gst/base/gstbasetransform.h:
15083         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15084         (gst_collect_pads_event):
15085         * gst/base/gstcollectpads.h:
15086         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15087         (gst_fake_src_create):
15088         * gst/elements/gstfakesrc.h:
15089         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15090         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15091         (gst_segment_set_last_stop), (gst_segment_set_seek),
15092         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15093         (gst_segment_to_running_time), (gst_segment_clip):
15094         * gst/gstsegment.h:
15095         More segment updates, replace code in plugins with segment
15096         helper functions.
15097
15098 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15099
15100         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15101         Don't ignore sscanf results
15102
15103 2005-11-21  Andy Wingo  <wingo@pobox.com>
15104
15105         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15106
15107         * *.h:
15108         * *.c: Ran scripts/update-macros. Oh yes.
15109
15110         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15111         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15112         GST_GET_LOCK, etc.
15113
15114         * scripts/update-macros: New script. Run it on your files to
15115         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15116         well.
15117
15118 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15119
15120         * docs/gst/Makefile.am:
15121         * docs/gst/gstreamer-docs.sgml:
15122         * docs/gst/gstreamer-sections.txt:
15123         * docs/gst/gstreamer.types:
15124         * gst/gstinfo.h:
15125           more docs fixes, add new api to the docs
15126
15127 2005-11-21  Andy Wingo  <wingo@pobox.com>
15128
15129         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15130         state_broadcast call.
15131
15132         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15133
15134 2005-11-21  Julien MOUTTE  <julien@moutte.net>
15135
15136         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15137         function calls for arrays.
15138
15139 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15140
15141         * docs/random/ensonic/media-device-daemon.txt:
15142           wild idea, can this be done?
15143         * docs/gst/gstreamer-sections.txt:
15144         * gst/gsterror.h:
15145         * gst/gstfilter.c:
15146         * gst/gstfilter.h:
15147         * gst/gstplugin.h:
15148         * gst/gstpluginfeature.c:
15149         * gst/gsttrace.c:
15150         * gst/gstvalue.c:
15151         * gst/gstvalue.h:
15152           doc fixes and additions
15153
15154 2005-11-21  Andy Wingo  <wingo@pobox.com>
15155
15156         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
15157         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
15158         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
15159         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15160         private to the basesrc implementation.
15161
15162         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15163         behalf of event function if necessary. It should no longer be
15164         necessary to take the stream lock in pad's event functions. Fixes
15165         #320299.
15166
15167 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15168         * docs/gst/gstreamer-sections.txt:
15169         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15170         (gst_structure_fixate_field_nearest_double),
15171         (gst_structure_fixate_field_boolean):
15172         * gst/gststructure.h:
15173         * win32/common/libgstreamer.def:
15174         * win32/gstreamer.def:
15175
15176         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15177         (#322027)
15178
15179 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15180
15181         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15182         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15183         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15184         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15185         (gst_fdsrc_uri_handler_init):
15186         * gst/elements/gstfdsrc.h:
15187           Port fd:// URI handler from 0.8 to fdsrc
15188
15189 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15190
15191         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15192         (gst_value_serialize_fourcc):
15193         * gst/gstvalue.h:
15194           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15195           consistent with our other format defines (#320324).
15196
15197 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15198
15199         * gst/gstvalue.c: (gst_value_is_fixed):
15200           Revert previous commit. Value lists are by definition
15201           not fixed, as they are a list of possible values.
15202
15203 2005-11-21  Andy Wingo  <wingo@pobox.com>
15204
15205         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15206         during the stable series if we need it. Fixes #319178.
15207
15208         * gst/gstevent.c (gst_event_new_filler): Removed.
15209
15210         * check/gst/gstevent.c: Update comment about filler events.
15211
15212 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15213
15214         * gst/gstvalue.c: (gst_value_is_fixed):
15215           Should handle both value arrays and value lists.
15216
15217 2005-11-21  Andy Wingo  <wingo@pobox.com>
15218
15219         patch by: Alessandro Dessina <alessandro nnva org>
15220
15221         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15222         functions to access arrays. Fixes #321962.
15223
15224 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15225
15226         * docs/gst/gstreamer.types:
15227           gst_collectpads_get_type => gst_collect_pads_get_type.
15228           
15229         * gst/base/gstbasetransform.c:
15230           Remove unused SIGNAL_HANDOFF enum.
15231
15232 2005-11-21  Andy Wingo  <wingo@pobox.com>
15233
15234         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15235         the event type (upstream, downstream, serialized). Renamed
15236         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15237         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15238         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15239
15240         * gst/gstevent.c: Update for new CUSTOM event names.
15241
15242         * check/gst/gstevent.c: Update check for new CUSTOM event names.
15243
15244         * gst/gstevent.h:
15245         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15246         bug #319392.
15247
15248 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15249
15250         * docs/gst/gstreamer-sections.txt:
15251         * win32/common/libgstbase.def:
15252         * win32/libgstbase.def:
15253         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15254         (gst_collect_pads_class_init), (gst_collect_pads_init),
15255         (gst_collect_pads_finalize), (gst_collect_pads_new),
15256         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15257         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15258         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15259         (gst_collect_pads_start), (gst_collect_pads_stop),
15260         (gst_collect_pads_peek), (gst_collect_pads_pop),
15261         (gst_collect_pads_available), (gst_collect_pads_read),
15262         (gst_collect_pads_flush), (gst_collect_pads_event),
15263         (gst_collect_pads_chain):
15264         * gst/base/gstcollectpads.h:
15265           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15266           unimplemented functions as unimplemented. Add padding to
15267           GstCollectData. (#320766, #320423)
15268
15269 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15270
15271         * gst/gstmessage.c:
15272           Improve docs for DURATION message (usage of duration parameter)
15273           (#320113)
15274
15275 2005-11-20  Wim Taymans  <wim@fluendo.com>
15276
15277         * check/Makefile.am:
15278         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15279         (main):
15280         * gst/Makefile.am:
15281         * gst/gst.h:
15282         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15283         (gst_segment_set_seek), (gst_segment_set_newsegment),
15284         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15285         (gst_segment_clip):
15286         * gst/gstsegment.h:
15287         Added segment helper structure and methods. Not fully implemented
15288         yet.
15289         Added segment check.
15290
15291 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
15292
15293         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15294           Add a deserialisation test for fractions
15295         * examples/metadata/read-metadata.c: (message_loop),
15296         (make_pipeline), (main):
15297           Fix up metadata reading sample.
15298         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15299           Debug format fix
15300         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15301           Don't try and fixate empty caps
15302         * gst/gst_private.h:
15303           Wrap in G_BEGIN_DECLS/G_END_DECLS
15304         * gst/gstvalue.c: (gst_value_collect_fraction),
15305         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15306         (gst_value_transform_string_fraction),
15307         (gst_value_compare_fraction):
15308           Add some extra guards to ensure that we don't end up 
15309           with an invalid denominator of 0 in a gstfraction and
15310           that fractions always get reduced.
15311
15312 2005-11-20  Wim Taymans  <wim@fluendo.com>
15313
15314         * docs/gst/gstreamer-sections.txt:
15315         * gst/gstbuffer.h:
15316         * gst/gstelement.c:
15317         * gst/gstformat.c:
15318         * gst/gstformat.h:
15319         * gst/gstindex.h:
15320         * gst/gstquery.c:
15321         * gst/gstquery.h:
15322         * gst/gstvalue.c:
15323         Doc fixes.
15324
15325 2005-11-20  Wim Taymans  <wim@fluendo.com>
15326
15327         * docs/design/part-TODO.txt:
15328         * gst/gstcaps.h:
15329         Make a proper enum of the flag.
15330
15331 2005-11-19  Wim Taymans  <wim@fluendo.com>
15332
15333         * docs/design/part-TODO.txt:
15334         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15335         (gst_format_to_quark), (gst_format_register):
15336         * gst/gstformat.h:
15337         * gst/gstquery.c: (_gst_query_initialize),
15338         (gst_query_type_get_name), (gst_query_type_to_quark),
15339         (gst_query_type_register):
15340         * gst/gstquery.h:
15341         Add type to quark and type to string conversions.
15342
15343 2005-11-19  Andy Wingo  <wingo@pobox.com>
15344
15345         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15346         #320097.
15347
15348 2005-11-19  Wim Taymans  <wim@fluendo.com>
15349
15350         * docs/design/part-TODO.txt:
15351         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15352         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15353         (gst_bin_handle_message_func):
15354         * gst/gstbin.h:
15355         Make message handling overridable.
15356
15357 2005-11-19  Andy Wingo  <wingo@pobox.com>
15358
15359         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15360
15361         * gst/gstclock.h:
15362         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15363         be a GstClockTime.
15364         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15365         is a GstClockTime. Fixes #321710.
15366
15367         * gst/gstclock.h (GstClock): Remove offset property. Add
15368         internal_calibration and external_calibration. Fix padding. Pad
15369         also by GstClockTime so we don't run into problems.
15370
15371         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15372         (gst_clock_get_rate_offset): Remove.
15373         (gst_clock_set_time_adjust): Remove. Fixes #321712.
15374
15375         * gst/gstutils.h:
15376         * gst/gstutils.c (g_static_rec_cond_wait)
15377         (g_static_rec_cond_timed_wait): Removed, no longer needed.
15378
15379         * gst/gstbin.c: Remove terrible continue_state prototype.
15380
15381         * gst/gstelement.h (gst_element_continue_state): Make public.
15382
15383         * gst/gstelement.h:
15384         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15385         by continue_state. Fixes #319389.
15386
15387         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15388         Really fixes #168438. However I don't see anywhere where the
15389         filter function is called... stupid GStreamer...
15390         
15391         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15392         don't have a dispose function, so it won't get called when the
15393         object is unreffed, but oh well!
15394
15395         * gst/gstindex.c (gst_index_set_filter_full): New API function,
15396         allows a destroy function to be set so user_data can be freed.
15397         Fixes #168438.
15398         (gst_index_set_filter): Call gst_index_set_filter_full.
15399
15400         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15401
15402         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15403         string should produce an error, given the lack of a way to
15404         represent NULL strings. Fixes #165650.
15405         
15406         * gst/gstvalue.h: 
15407         * gst/gstvalue.c (gst_value_array_append_value) 
15408         (gst_value_array_prepend_value, gst_value_array_get_size) 
15409         (gst_value_array_get_value): New API, copied from
15410         gst_value_list_*, only operates on arrays.
15411         (gst_value_list_append_value, gst_value_list_prepend_value) 
15412         (gst_value_list_concat, gst_value_list_get_size) 
15413         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15414
15415         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15416         init_list, because it works on both.
15417         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15418         (gst_value_copy_list_or_array): Renamed from copy_list.
15419         (gst_value_free_list_or_array): Renamed from free_list.
15420         (gst_value_collect_list_or_array): Renamed from collect_list.
15421         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15422         (gst_value_list_or_array_peek_pointer): Renamed from
15423         list_peek_pointer.
15424         (_gst_value_array_value_table, _gst_value_list_value_table):
15425         Update value table functions.
15426         (gst_value_compare_list_or_array): Renamed from compare_list.
15427
15428         * gsttaglist.h: Whoops, foreach function returns void. Also fix
15429         some constness.
15430
15431         * gst/gsttaglist.c:
15432         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15433         GstTagList*. Fixes #143472.
15434
15435         * gst/gststructure.h: Clarify what the foreach/map functions can
15436         or can't do to their arguments.
15437
15438 2005-11-18  Wim Taymans  <wim@fluendo.com>
15439
15440         * gst/gstclock.c: (gst_clock_set_calibration),
15441         (gst_clock_get_calibration):
15442         Doc and API fixes.
15443         Calibration can be set with internal time equal to current
15444         internal time too.
15445
15446 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15447
15448         * gst/gsterror.c:
15449         * gst/gsterror.h:
15450           document
15451
15452 2005-11-18  Andy Wingo  <wingo@pobox.com>
15453
15454         * configure.ac: 
15455         * pkgconfig/gstreamer-net.pc.in:
15456         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15457         * pkgconfig/Makefile.am: Add net pkgconfig files.
15458
15459 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
15460
15461         * gst/gstcaps.c:
15462         * gst/gstghostpad.c:
15463         * gst/gsttrace.c:
15464         * gst/gstvalue.c:
15465         * gst/gstvalue.h:
15466           docs fixes
15467
15468 2005-11-18  Andy Wingo  <wingo@pobox.com>
15469
15470         * gst/net/gstnetclientclock.c: Turn off debugging.
15471
15472         * check/net/gstnetclientclock.c (test_functioning): Assert that the
15473         times connverge somewhat. Can't make a real test.
15474
15475         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15476         integer arithmetic. Return the minimum of the domain, which can be
15477         set as "internal" for gst_clock_set_calibration.
15478         (gst_net_client_clock_observe_times): Call _set_calibration.
15479         (gst_net_client_clock_new): Call _set_calibration instead of
15480         rate_offset.
15481
15482         * check/net/gstnetclientclock.c (test_functioning): Use the right
15483         adjustment api.
15484
15485         * gst/gstclock.h:
15486         * gst/gstclock.c (gst_clock_get_calibration) 
15487         (gst_clock_set_calibration): New functions, obsolete the ones I
15488         added yesterday. Doh. Precision issues mean we have to extrapolate
15489         from a point in the more recent past than 1970.
15490         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15491         obsolete.
15492         (gst_clock_adjust_unlocked): Use the right calibration data.
15493
15494 2005-11-18  Edward Hervey  <edward@fluendo.com>
15495
15496         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
15497         Also reset the ->current_* values in READY->PAUSED
15498
15499 2005-11-18  Andy Wingo  <wingo@pobox.com>
15500
15501         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15502         Whoops, check the right fd. Also add some debugging.
15503         (gst_net_client_clock_observe_times): Adjust for int64 offset.
15504         (do_linear_regression): Add a crapload of debugging. Subtract off
15505         the minimum values from the input series to discard unneeded bits.
15506         Use only int arithmetic. There is still double arithmetic when
15507         calculating the intercept that needs fixing. Return boolean to
15508         indicate success; FALSE would mean the domain or range is too
15509         great. Still needs fixes.
15510
15511 2005-11-18  Wim Taymans  <wim@fluendo.com>
15512
15513         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15514         For the current position in stream time, we need to subtract
15515         accumulated time.
15516         
15517         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15518         Release lock before calling the callback function of async
15519         entries.
15520
15521 2005-11-18  Andy Wingo  <wingo@pobox.com>
15522
15523         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15524         Port goes all the way to MAXUINT16.
15525
15526         * gst/net/gstnettimeprovider.c: Make the port range the same as
15527         for the kernel: 0 assigns, otherwise ports are less than
15528         MAXUINT16.
15529
15530         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15531         port change.
15532
15533         * check/net/gstnetclientclock.c (test_functioning): Add the start
15534         of another test. 
15535
15536 2005-11-18  Wim Taymans  <wim@fluendo.com>
15537
15538         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15539         (gst_bin_remove_func), (bin_bus_handler):
15540         * gst/gstbin.h:
15541         Removing a clock provider from a bin, triggers a clock lost message
15542         so that a new clock will be selected.
15543         Adding a clock to a bin triggers a clock provider message.
15544         Make sure we reselect a clock when we received a clock lost message.
15545         Keep a reference to the element that provided the clock.
15546
15547 2005-11-18  Andy Wingo  <wingo@pobox.com>
15548
15549         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15550         the clock initially so it produces values around the base time.
15551         (gst_net_client_clock_class_init): Typo fix.
15552         (gst_net_client_clock_thread): Add note on when the socket gets
15553         closed.
15554
15555 2005-11-17  Wim Taymans  <wim@fluendo.com>
15556
15557         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15558         Free remote and local time arrays.
15559
15560 2005-11-17  Wim Taymans  <wim@fluendo.com>
15561
15562         * gst/net/gstnetclientclock.c: (do_linear_regression),
15563         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15564         Fix compilation, uninitialized vars and a forgotten continue.
15565
15566 2005-11-17  Andy Wingo  <wingo@pobox.com>
15567
15568         * check/Makefile.am (check_PROGRAMS): 
15569         * check/net/gstnetclientclock.c: Add a most minimal test for the
15570         net client clock. More to come later.
15571
15572         * gst/net/gstnet.h: 
15573         * gst/net/Makefile.am: Add netclientclock.
15574
15575         * gst/net/gstnetclientclock.h:
15576         * gst/net/gstnetclientclock.c: New files, implement an untested
15577         GstClock that takes its time from a network time provider.
15578         Implements the algorithm in network-clock.scm.
15579
15580         * tests/network-clock.scm (*window-size*): Rename from
15581         *queue-length*.
15582         * tests/network-clock.scm (network-time): 
15583         * tests/network-clock-utils.scm (q-push): Update callers.
15584
15585 2005-11-17  Wim Taymans  <wim@fluendo.com>
15586
15587         * gst/gstbin.c: (gst_bin_provide_clock_func),
15588         (gst_bin_sort_iterator_new):
15589         And unref the child too..
15590
15591 2005-11-17  Wim Taymans  <wim@fluendo.com>
15592
15593         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15594         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15595         Refactor the sort iterator so it can be used while holding the
15596         LOCK too.
15597         Make clock selection select a clock closest to the source.
15598
15599 2005-11-17  Michael Smith <msmith@fluendo.com>
15600
15601         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15602         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15603         * gst/gstclock.h:
15604           Anonymous structs are a gcc (and some other compilers) extension, so
15605           don't use them. Since this is only for ABI-compatibility, and our
15606           API/ABI freeze is over in a few days, this whole thing will only
15607           last a few days, so don't bother trying to think up a meaningful
15608           name for the struct.
15609
15610 2005-11-17  Andy Wingo  <wingo@pobox.com>
15611
15612         * gst/gstclock.h (GstClock): Add rate and offset properties,
15613         preserving ABI stability. Add rate/offset accessors. Will file bug
15614         for the freeze break.
15615
15616         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15617         and offset, trying to keep precision and avoiding
15618         underflow/overflow.
15619         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15620         functions. Make gst_clock_set_time_adjust obsolete.
15621         (gst_clock_set_time_adjust): Note that this function is obsolete.
15622         Will file bug soon.
15623
15624         * gst/base/gstbasetransform.h: Make the ABI-stability hack
15625         greppable by using GST_PADDING-1+1.
15626
15627 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
15628
15629         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15630
15631         * gst/gstmessage.c: (gst_message_parse_clock_lost):
15632           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15633
15634         * gst/gstpadtemplate.h:
15635         * gst/gstpluginfeature.h:
15636           Don't use c++ style comments in headers (#321638).
15637
15638 2005-11-16  Andy Wingo  <wingo@pobox.com>
15639
15640         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15641         buffer.
15642
15643         * check/net/gstnettimeprovider.c: Check to see that the time
15644         provider actually provides times. Works, yo!
15645
15646 2005-11-16  Wim Taymans  <wim@fluendo.com>
15647
15648         * check/Makefile.am:
15649         Enable more tests.
15650
15651         * check/elements/fakesrc.c: (GST_START_TEST):
15652         Set element to NULL before disposing it.
15653
15654 2005-11-16  Andy Wingo  <wingo@pobox.com>
15655
15656         * gst/net/Makefile.am:
15657         * gst/net/gstnet.h:
15658         * gst/net/gstnettimeprovider.c: 
15659         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15660         provider, include it from gstnet.h, and add it to the build.
15661
15662         * gst/net/gstnettimepacket.h: 
15663         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15664         sending and receiving.
15665
15666 2005-11-16  Wim Taymans  <wim@fluendo.com>
15667
15668         * check/Makefile.am:
15669         Enable valgrind check.
15670
15671         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15672         (gst_fake_src_alloc_buffer):
15673         Fix memleak.
15674
15675 2005-11-16  Wim Taymans  <wim@fluendo.com>
15676
15677         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15678         Call parent finalize too.
15679
15680 2005-11-16  Wim Taymans  <wim@fluendo.com>
15681
15682         * check/Makefile.am:
15683         Enable valgrind check that should work fine now.
15684
15685         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15686         * gst/gstqueue.c: (gst_queue_init):
15687         Fix memleaks in pad allocation.
15688
15689 2005-11-16  Andy Wingo  <wingo@pobox.com>
15690
15691         * gst/net/Makefile.am:
15692         * gst/net/gstnet.h: New part of core to hold network elements and
15693         objects. Put in core because it exposes API that applications want
15694         to use. The library is named libgstnet-tempname right now because
15695         of the existing libgstnet in gst-plugins-base. Solution is
15696         probably to rename the one in plugins-base; will file a bug for
15697         the freeze break.
15698
15699         * gst/net/gstnettimeprovider.c: 
15700         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15701         get_time call over the network.
15702
15703         * configure.ac: 
15704         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15705
15706         * check/Makefile.am:
15707         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15708         get additions shortly.
15709
15710 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15711
15712         * gst/gstpad.c: (gst_pad_new_from_static_template):
15713         * gst/gstpad.h:
15714           add gst_pad_new_from_static_template functions
15715         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15716         (gst_check_setup_sink_pad):
15717         * gst/elements/gsttee.c: (gst_tee_init):
15718           and use them
15719
15720 2005-11-16  Wim Taymans  <wim@fluendo.com>
15721
15722         * gst/gstpad.c: (gst_pad_pause_task):
15723         Removed warning, it's not really an error either.
15724
15725 2005-11-16  Wim Taymans  <wim@fluendo.com>
15726
15727         * gst/base/gstbasetransform.c:
15728         (gst_base_transform_prepare_output_buf),
15729         (gst_base_transform_event):
15730         Check if the caps are NULL, this can happen if the element
15731         is shutting down and the pad caps are set to NULL.
15732
15733 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15734
15735         * gst/elements/gsttee.c: (gst_tee_init):
15736           fix pad template leak in tee
15737
15738 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15739
15740         * gst/glib-compat.c: (g_value_dup_gst_object):
15741         * gst/glib-compat.h:
15742         * gst/gstpad.c: (gst_pad_set_property):
15743           use gst_object_ref when setting the pad template; this will
15744           trigger the pad template leaks on GLib 2.6 and the slaves
15745
15746 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15747
15748         * gst/glib-compat.c: (gst_flags_get_first_value):
15749         * gst/glib-compat.h:
15750         * gst/gstregistryxml.c:
15751           remove functions copied from GLib 2.6
15752
15753 2005-11-16  Michael Smith <msmith@fluendo.com>
15754
15755         * gst/Makefile.am:
15756           Don't link against VALGRIND_LIBS. That was always the wrong thing to
15757           do, but only breaks with newer valgrind versions. We're not a
15758           valgrind tool, we have no link-time dependencies on libcoregrind.
15759
15760 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15761
15762         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15763           some debug changes
15764         * gst/gstmessage.h:
15765           typo fixes
15766
15767 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15768
15769         * gst/base/gstbasesrc.c: (gst_base_src_init):
15770         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15771         * gst/gstqueue.c: (gst_queue_init):
15772         * gst/gstregistryxml.c: (load_feature):
15773           Revert all these unrefs, they don't even pass make check !
15774
15775 2005-11-15  Johan Dahlin  <johan@gnome.org>
15776
15777         * gst/base/gstbasesrc.c: (gst_base_src_init):
15778         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15779         * gst/gstqueue.c: (gst_queue_init): 
15780         Free pad templates, fixes a couple of leaks.
15781
15782 2005-11-15  Daniel Fischer  <dan at f3c dot com>
15783
15784         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15785
15786         * gst/gstpad.c: (gst_pad_get_property):
15787           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15788           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15789           (#321452)
15790
15791 2005-11-15  Wim Taymans  <wim@fluendo.com>
15792
15793         * gst/gstevent.c:
15794         Small doc update.
15795
15796 2005-11-15  Andy Wingo  <wingo@pobox.com>
15797
15798         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15799
15800         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15801         using GST_CLOCK_TIME_NONE to disable base time management.
15802         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15803         time if it was NONE before.
15804         (gst_pipeline_change_state): Only munge the base time if
15805         stream_time != GST_CLOCK_TIME_NONE.
15806
15807         * check/gst/gstpipeline.c (test_base_time): Punt around the
15808         problem of the probe not being called, because that's not the
15809         issue I'm looking at. Add a check that setting stream_time to NONE
15810         disables base time management.
15811         
15812 2005-11-15  Wim Taymans  <wim@fluendo.com>
15813
15814         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15815         segment_stop == -1 at startup.
15816
15817         * gst/base/gstbasetransform.c: (gst_base_transform_event),
15818         (gst_base_transform_change_state):
15819         Init segment values at start.
15820
15821 2005-11-15  Wim Taymans  <wim@fluendo.com>
15822
15823         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15824         0 segment values are 0 in any format.
15825
15826         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15827         * gst/base/gstbasetransform.h:
15828         Parse newsegment correctly in basetransform
15829
15830         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15831         Sync to clock using updated segment values.
15832
15833 2005-11-15  Andy Wingo  <wingo@pobox.com>
15834
15835         * check/gst/gstpipeline.c (test_base_time): Add check that the
15836         base time and stream time are reset correctly.
15837
15838 2005-11-15  Wim Taymans  <wim@fluendo.com>
15839
15840         * docs/design/part-TODO.txt:
15841         Some more TODO items.
15842
15843 2005-11-15  Andy Wingo  <wingo@pobox.com>
15844
15845         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15846         error if the user selected "no clock" as the clocking method.
15847
15848         * check/gst/gstpipeline.c (test_base_time): New test for buffer
15849         timestamps with live capture.
15850
15851         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15852         is 0 but we are a live source, timestamp the buffers using the
15853         element's clock.
15854
15855 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
15856
15857         * docs/gst/gstreamer-sections.txt:
15858         * gst/gsterror.c:
15859         * gst/gstghostpad.c:
15860         * gst/gstobject.h:
15861         * gst/gstxml.c:
15862           more section docs
15863
15864 2005-11-14  Wim Taymans  <wim@fluendo.com>
15865
15866         * common/gst.supp:
15867           add suppressions from Wim's Debian machine
15868
15869 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15870
15871         * common/gst.supp:
15872           add suppressions from Andy's AMD64 Ubuntu machine
15873
15874 2005-11-14  Andy Wingo  <wingo@pobox.com>
15875
15876         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15877         STATE_LOCK not necessary. Fixes #311489.
15878
15879         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15880         #305291.
15881
15882         * gst/gstindex.c (gst_index_add_object): Note in the docs that
15883         this function is not implemented.
15884
15885 2005-11-14  Julien MOUTTE  <julien@moutte.net>
15886
15887         * gst/base/gstbasetransform.c:
15888         (gst_base_transform_prepare_output_buf):
15889         Ref the source pad caps while we need them.
15890         Fixes (#321386)
15891
15892 2005-11-11  Wim Taymans  <wim@fluendo.com>
15893
15894         * docs/gst/gstreamer-sections.txt:
15895         Added some docs for GstCollectData.
15896
15897         * gst/base/gstadapter.c:
15898         Some small code example fix.
15899
15900         * gst/base/gstcollectpads.c:
15901         * gst/base/gstcollectpads.h:
15902         Document some more.
15903
15904 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15905
15906         * configure.ac: back to HEAD
15907
15908 === release 0.9.5 ===
15909
15910 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
15911
15912         * configure.ac:
15913           releasing 0.9.5, "Bike Lunch Day"
15914
15915 2005-11-11  Wim Taymans  <wim@fluendo.com>
15916
15917         * gst/gstbuffer.c: (_gst_buffer_copy):
15918         Copy more flags.
15919
15920         * gst/gstcaps.c: (gst_caps_is_equal):
15921         Fix some docs.
15922         Make _is_equal fast in the trivial cases.
15923
15924         * gst/gstminiobject.c:
15925         * gst/gstminiobject.h:
15926         More docs. Spifify .h file.
15927
15928         * gst/gstutils.c:
15929         Small doc update.
15930
15931 2005-11-11  Wim Taymans  <wim@fluendo.com>
15932
15933         * gst/base/gstbasetransform.c:
15934         (gst_base_transform_prepare_output_buf),
15935         (gst_base_transform_handle_buffer):
15936         Small cleanups.
15937         If we're processing a buffer and need to allocate an output
15938         buffer, we cannot accept a format change. If we did get a 
15939         format change, we have to alloc a buffer ourselves of the 
15940         right size.
15941
15942 2005-11-11  Wim Taymans  <wim@fluendo.com>
15943
15944         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15945         While checking the flag for reentrancy in the gstcaps function
15946         is nice to detect recursive invocations, it also makes it 
15947         impossible to call getcaps from multiple threads, which must be
15948         possible. So, checking for recursive calls has to go.
15949
15950 2005-11-11  Michael Smith <msmith@fluendo.com>
15951
15952         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15953           Don't sync on buffers that fall partially outside our current
15954           segment. Prevents an assertion failure/abort playing some files.
15955
15956 2005-11-10  Andy Wingo  <wingo@pobox.com>
15957
15958         * check/gst/gstbin.c (test_message_state_changed_children): Style
15959         fix..
15960
15961         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15962         gst_bus_poll with the signal watch. Ensures that poll and a signal
15963         watch see the same messages.
15964
15965         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15966         a poll and a watch at the same time get the same messages.
15967
15968 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15969
15970         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15971         * gst/gstcaps.c: (gst_caps_intersect):
15972           Don't call gst_caps_do_simplify - it doesn't respect order of caps
15973           and it's not needed.
15974
15975 2005-11-10  Wim Taymans  <wim@fluendo.com>
15976
15977         * docs/design/part-TODO.txt:
15978         Updated todo.
15979
15980 2005-11-10  Wim Taymans  <wim@fluendo.com>
15981
15982         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15983         * gst/base/gstbasesrc.c: (gst_base_src_wait),
15984         (gst_base_src_do_sync), (gst_base_src_get_range):
15985         Implement clock sync in base class.
15986
15987 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15988
15989         patch by: Tim-Philipp Müller <tim at centricular dot net>
15990
15991         * gst/gststructure.c: (gst_structure_parse_field),
15992         (gst_structure_from_string):
15993           Forward-port a 0.8 patch to handle escaped spaces in structure string,
15994           so that gst_parse_launch() can deal with spaces in filtered link
15995           caps (fixes #164479)
15996         * check/gst/capslist.h:
15997         * check/gst/gststructure.c: (GST_START_TEST):
15998           add unit tests for this change
15999
16000 2005-11-10  Wim Taymans  <wim@fluendo.com>
16001
16002         * docs/gst/gstreamer-sections.txt:
16003         * gst/gstelement.c:
16004         * gst/gstelement.h:
16005         Fix docs, move some STATE macros to private.
16006
16007 2005-11-10  Wim Taymans  <wim@fluendo.com>
16008
16009         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16010         Added check for bug #317341
16011
16012         * gst/gstbuffer.c:
16013         * gst/gstbuffer.h:
16014         Some more spiffifying.
16015
16016         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16017         Call peer linkfunction if we are a source pad. Totally fixes
16018         #317341
16019
16020         * gst/gstpad.c:
16021         Update docs, source pads should call the peer linkfunction
16022         so they can atomically perform the pad link.
16023
16024 2005-11-09  Wim Taymans  <wim@fluendo.com>
16025
16026         * gst/gstbuffer.c:
16027         * gst/gstbuffer.h:
16028         Uber-spiffy-spiffify some more.
16029
16030 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
16031
16032         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16033         * gst/elements/gstfilesink.c: (gst_file_sink_init):
16034         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16035         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16036         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16037         * gst/gstpad.c: (gst_pad_init):
16038           Use GST_DEBUG_FUNCPTR() more extensively.
16039
16040 2005-11-09  Wim Taymans  <wim@fluendo.com>
16041
16042         * gst/gstobject.c: (gst_object_class_init):
16043         * gst/gstobject.h:
16044         Documentation fixes.
16045
16046 2005-11-09  Edward Hervey  <edward@fluendo.com>
16047
16048         * gst/gsttypefindfactory.c:
16049         Fix docs.
16050         
16051 2005-11-09  Edward Hervey  <edward@fluendo.com>
16052
16053         * gst/base/gsttypefindhelper.c:
16054         * gst/gsttypefind.c:
16055         * gst/gsttypefind.h:
16056         Fix docs.
16057
16058 2005-11-09  Wim Taymans  <wim@fluendo.com>
16059
16060         * gst/gstiterator.c:
16061         Fix revision data.
16062
16063         * gst/gsttask.c:
16064         * gst/gsttask.h:
16065         Fix docs.
16066
16067 2005-11-09  Wim Taymans  <wim@fluendo.com>
16068
16069         * gst/gstevent.h:
16070         * gst/gsturi.h:
16071         Fix docs.
16072
16073 2005-11-09  Wim Taymans  <wim@fluendo.com>
16074
16075         * docs/gst/gstreamer-sections.txt:
16076         Moved the message async delivery private lock and cond
16077         to the private section.
16078
16079         * gst/gstmessage.c:
16080         * gst/gstmessage.h:
16081         Fixed docs.
16082
16083 2005-11-09  Edward Hervey  <edward@fluendo.com>
16084
16085         * docs/gst/gstreamer-sections.txt:
16086         * gst/gsturi.c:
16087         * gst/gsturi.h:
16088         Document GstURIHandler
16089
16090 2005-11-09  Wim Taymans  <wim@fluendo.com>
16091
16092         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16093         (gst_iterator_find_custom):
16094         * gst/gstiterator.h:
16095         Fix iterator docs.
16096
16097 2005-11-09  Wim Taymans  <wim@fluendo.com>
16098
16099         * gst/gstbin.h:
16100         Document another field.
16101
16102         * gst/gststructure.c:
16103         * gst/gststructure.h:
16104         Document.
16105
16106 2005-11-09  Wim Taymans  <wim@fluendo.com>
16107
16108         * gst/gstbin.h:
16109         Documented structs.
16110
16111 2005-11-09  Wim Taymans  <wim@fluendo.com>
16112
16113         * docs/gst/gstreamer-sections.txt:
16114         Added some new macros.
16115
16116         * gst/gstclock.c:
16117         * gst/gstclock.h:
16118         * gst/gstobject.h:
16119         Docs updates.
16120
16121 2005-11-09  Wim Taymans  <wim@fluendo.com>
16122
16123         * docs/design/part-TODO.txt:
16124         Some more items for the TODO
16125
16126         * gst/gstcaps.c:
16127         * gst/gstcaps.h:
16128         Document GstCaps.
16129
16130 2005-11-09  Andy Wingo  <wingo@pobox.com>
16131
16132         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16133         to work on something else now tho...
16134
16135         * gst/base/gstadapter.c: More adapter docs.
16136
16137         * gst/elements/gstfilesink.c (gst_file_sink_start) 
16138         (gst_file_sink_stop): New functions, replace the state change
16139         handler.
16140         (gst_file_sink_class_init): Hook up the start and stop functions.
16141         (gst_file_sink_base_init): Don't set the state change handler any
16142         more. It was a bit ugly too, being set from here...
16143         (gst_file_sink_get_property, gst_file_sink_set_property):
16144         Cleanups...
16145         (gst_file_sink_set_location): More robust check that doesn't call
16146         GST_STATE. Ugggggg.
16147
16148 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
16149
16150         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16151           Hold STREAM_LOCK while pushing newsegment or tag events as well.
16152
16153 2005-11-08  Wim Taymans  <wim@fluendo.com>
16154
16155         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16156         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16157         (gst_base_sink_chain), (gst_base_sink_change_state):
16158         * gst/base/gstbasesink.h:
16159         * gst/base/gstbasesrc.h:
16160         * gst/gstelement.h:
16161         * gst/gstevent.h:
16162         Avoid excessive typechecking in macros.
16163
16164         * gst/gstminiobject.c: (gst_mini_object_get_type),
16165         (gst_mini_object_init), (gst_mini_object_new),
16166         (gst_mini_object_free):
16167         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16168         (gst_object_finalize):
16169         Remove cruft code, optimize alloc_trace.
16170
16171 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16172
16173         * docs/faq/gst-uninstalled:
16174           fix up PS1 for systems that try to reset it
16175
16176 2005-11-07  Wim Taymans  <wim@fluendo.com>
16177
16178         * gst/base/gstbasesrc.c: (gst_base_src_init),
16179         (gst_base_src_get_range):
16180         Set the segment_end to -1 initially. Fixed typefind.
16181
16182 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
16183
16184         * gst/base/gstadapter.c:
16185           Debug category should be 'adapter', not 'GstAdapter'.
16186           
16187         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16188         (gst_collectpads_class_init), (gst_collectpads_init),
16189         (gst_collectpads_peek), (gst_collectpads_pop),
16190         (gst_collectpads_event), (gst_collectpads_chain):
16191           Add debug category and some debugging output. Use boilerplate
16192           macros. Remove some extraneous words from docs.
16193
16194 2005-11-05  Andy Wingo  <wingo@pobox.com>
16195
16196         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16197         macro.
16198
16199 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16200
16201         * docs/gst/gstreamer-sections.txt:
16202         * gst/gstcaps.h:
16203         * gst/gstinfo.c:
16204         * gst/gstminiobject.h:
16205         * gst/gstobject.h:
16206         * gst/gstutils.h:
16207           more docs added
16208
16209 2005-11-04  Wim Taymans  <wim@fluendo.com>
16210
16211         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16212         Small update to stop at the configured segment_end
16213         position.
16214
16215 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16216
16217         * gst/gstregistry.c:
16218         * gst/gstregistry.h:
16219           added missing docs
16220
16221 2005-11-04  Edward Hervey  <edward@fluendo.com>
16222
16223         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16224         Check if we are doing a segment seek and have arrived at the
16225         end of that segment.
16226
16227 2005-11-04  Wim Taymans  <wim@fluendo.com>
16228
16229         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16230         Don't leak a mutex unlock in case of an error.
16231
16232         * gst/gstbus.h:
16233         Doc fixes.
16234
16235 2005-11-04  Wim Taymans  <wim@fluendo.com>
16236
16237         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16238         (gst_bus_post):
16239         Get the context to wake up only once.
16240
16241 2005-11-03  Wim Taymans  <wim@fluendo.com>
16242
16243         * check/states/sinks.c: (GST_START_TEST):
16244         Uncomment fixed check.
16245
16246         * docs/design/part-TODO.txt:
16247         Updated TODO.
16248
16249         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16250         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16251         (gst_base_sink_get_position):
16252         If we are going to PLAYING, post the right pending state
16253         when we post the intermediate paused message.
16254
16255         * gst/gstelement.c: (gst_element_continue_state),
16256         (gst_element_set_state_func), (gst_element_change_state):
16257         Don't post state changes that were between the same state
16258         and were not ASYNC.
16259
16260 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16261
16262         * docs/gst/gstreamer-sections.txt:
16263         * gst/gstcaps.h:
16264         * gst/gstinfo.c:
16265         * gst/gstminiobject.h:
16266         * gst/gstobject.h:
16267         * gst/gstutils.h:
16268           more docs and doc style fixes
16269
16270 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16271
16272         * docs/gst/gstreamer-sections.txt:
16273         * gst/gstelement.c:
16274         * gst/gstminiobject.c:
16275         doc fixes
16276
16277 2005-11-03  Andy Wingo  <wingo@pobox.com>
16278
16279         * check/states/sinks.c (test_livesrc_sink): Add checks that the
16280         state-changed messages actually have the right order and the right
16281         values.
16282
16283 2005-11-03  Wim Taymans  <wim@fluendo.com>
16284
16285         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16286         Added some more checks. Specifically the case where NO_PREROLL
16287         elements are in the pipeline.
16288
16289         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16290         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16291         (gst_base_sink_get_position):
16292         Post READY->PAUSED state change messages too.
16293         Fix bug where VOID was posted as pending state...
16294
16295         * gst/gstbin.c: (gst_bin_recalc_state):
16296         use _element_continue_state() to continue the state change.
16297
16298         * gst/gstelement.c: (gst_element_continue_state),
16299         (gst_element_commit_state), (gst_element_set_state_func),
16300         (gst_element_change_state), (gst_element_change_state_func):
16301         Lots of state change cleanups, assign the STATE_RETURN in
16302         a new continue_state() function that also propagates the
16303         last return value from a state change to the app.
16304         Update some debug statements with proper category.
16305
16306 2005-11-03  Wim Taymans  <wim@fluendo.com>
16307
16308         * docs/design/part-events.txt:
16309         * docs/design/part-gstpipeline.txt:
16310         * docs/design/part-messages.txt:
16311         * docs/design/part-overview.txt:
16312         * docs/design/part-seeking.txt:
16313         * docs/design/part-states.txt:
16314         * docs/design/part-trickmodes.txt:
16315         * docs/manual/advanced-position.xml:
16316         Small docs updates.
16317
16318         * gst/gstobject.h:
16319         People think !! is ugly, this looks better.
16320
16321         * gst/gstpad.c: (gst_pad_set_blocked_async):
16322         Remove !! since it's fixed elsewhere now.
16323
16324 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16325
16326         * gst/gstminiobject.h:
16327         * gst/gstobject.h:
16328           Add !! to _FLAG_IS_SET macros to make the result boolean.
16329
16330 2005-11-03  Edward Hervey  <edward@fluendo.com>
16331
16332         * gst/gstpad.c: (gst_pad_set_blocked_async):
16333         comparing a flag and a gboolean rarely returns coherent results...
16334         Added two characters (!!) to make that work correctly.
16335         
16336 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16337
16338         * gst/gstbus.c: (gst_bus_class_init):
16339           Fix some typos.
16340           
16341         * gst/gstqueue.c: (gst_queue_loop):
16342           Don't assume a miniobject that isn't a buffer is an
16343           event (it could be that there is a refcounting
16344           problem somewhere and the pointer is stale and
16345           refers to an already destroyed miniobject).
16346
16347 2005-11-03  Julien MOUTTE  <julien@moutte.net>
16348
16349         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16350
16351 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16352
16353         * docs/manual/advanced-position.xml:
16354           Update seek example and explanations to current 0.9 API.
16355
16356         * gst/elements/gsttypefindelement.c:
16357         (gst_type_find_element_activate):
16358           Remove FIXME comment now that the found caps
16359           are unreffed.
16360
16361 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16362
16363         * gst/gstregistryxml.c: (load_feature):
16364           Add another GST_STR_NULL instance
16365
16366 2005-11-02  Edward Hervey  <edward@fluendo.com>
16367
16368         * gst/gstpad.c: (handle_pad_block):
16369         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16370         
16371 2005-11-02  Wim Taymans  <wim@fluendo.com>
16372
16373         * gst/gstbin.c:
16374         Fix typo in docs.
16375
16376         * gst/gstelement.c: (gst_element_commit_state):
16377         Remove unused value.
16378
16379         * gst/gstiterator.c:
16380         Mention that the returned element is reffed in the docs.
16381
16382 2005-11-02  Wim Taymans  <wim@fluendo.com>
16383
16384         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16385         (gst_pad_push), (gst_pad_push_event):
16386         Unlock blocked pads when they are flushed.
16387
16388 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16389
16390         * docs/README:
16391         * docs/gst/gstreamer-sections.txt:
16392         * gst/gstbin.c:
16393           doc updates
16394         * gst/gstregistry.c: (gst_registry_scan_path_level):
16395           fix for a nasty little missed situation where an installed plug-in
16396           which was in the cache did not get overridden by an uninstalled one
16397           which was earlier in the plugin path because the newly created plugin
16398           for the uninstalled one (not in the registry) didn't get its
16399           ->registered set to TRUE
16400
16401 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16402
16403         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16404         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16405         (gst_collectpads_is_active), (gst_collectpads_collect),
16406         (gst_collectpads_collect_range), (gst_collectpads_start),
16407         (gst_collectpads_stop), (gst_collectpads_peek),
16408         (gst_collectpads_pop), (gst_collectpads_available),
16409         (gst_collectpads_read), (gst_collectpads_flush):
16410           Guard public API with assertions.
16411         
16412         * gst/gstpad.c:
16413           Fix docs for gst_pad_set_link_function().
16414
16415 2005-11-02  Johan Dahlin  <johan@gnome.org>
16416
16417         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
16418         Unref found_caps after we used it.
16419
16420 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16421
16422         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16423           Don't try to ref NULL.
16424
16425 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16426
16427         * win32/common/config.h.in:
16428           provide a GST_FUNCTION that just gives a string for now
16429
16430 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16431
16432         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16433         (gst_object_flags_get_type), (register_gst_bin_flags),
16434         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16435         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16436         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16437         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16438         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16439         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16440         (gst_clock_flags_get_type), (register_gst_state),
16441         (gst_state_get_type), (register_gst_state_change_return),
16442         (gst_state_change_return_get_type), (register_gst_state_change),
16443         (gst_state_change_get_type), (register_gst_element_flags),
16444         (gst_element_flags_get_type), (register_gst_core_error),
16445         (gst_core_error_get_type), (register_gst_library_error),
16446         (gst_library_error_get_type), (register_gst_resource_error),
16447         (gst_resource_error_get_type), (register_gst_stream_error),
16448         (gst_stream_error_get_type), (register_gst_event_type),
16449         (gst_event_type_get_type), (register_gst_seek_type),
16450         (gst_seek_type_get_type), (register_gst_seek_flags),
16451         (gst_seek_flags_get_type), (register_gst_format),
16452         (gst_format_get_type), (register_gst_index_certainty),
16453         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16454         (gst_index_entry_type_get_type),
16455         (register_gst_index_lookup_method),
16456         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16457         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16458         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16459         (gst_index_flags_get_type), (register_gst_debug_level),
16460         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16461         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16462         (gst_iterator_result_get_type), (register_gst_iterator_item),
16463         (gst_iterator_item_get_type), (register_gst_message_type),
16464         (gst_message_type_get_type), (register_gst_mini_object_flags),
16465         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16466         (gst_pad_link_return_get_type), (register_gst_flow_return),
16467         (gst_flow_return_get_type), (register_gst_activate_mode),
16468         (gst_activate_mode_get_type), (register_gst_pad_direction),
16469         (gst_pad_direction_get_type), (register_gst_pad_flags),
16470         (gst_pad_flags_get_type), (register_gst_pad_presence),
16471         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16472         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16473         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16474         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16475         (gst_plugin_flags_get_type), (register_gst_rank),
16476         (gst_rank_get_type), (register_gst_query_type),
16477         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16478         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16479         (gst_tag_flag_get_type), (register_gst_task_state),
16480         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16481         (gst_alloc_trace_flags_get_type),
16482         (register_gst_type_find_probability),
16483         (gst_type_find_probability_get_type), (register_gst_uri_type),
16484         (gst_uri_type_get_type), (register_gst_parse_error),
16485         (gst_parse_error_get_type):
16486         * win32/common/gstversion.h:
16487           update win32 copies
16488
16489 2005-11-01  Luca Ognibene  <luogni@tin.it>
16490
16491         * gst/gst.c:
16492           fix docs. popt is dead, long live GOption.
16493
16494 2005-10-31  Wim Taymans  <wim@fluendo.com>
16495
16496         * gst/gstbuffer.h:
16497         Small doc fix.
16498
16499 2005-10-31  Andy Wingo  <wingo@pobox.com>
16500
16501         * Boo!
16502
16503         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16504
16505         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16506         need to serialize property notifications on GLib 2.8. GLib 2.6 has
16507         the possibility of deadlocks here if code calling notify() or
16508         set() has a lock that can be taken in another notify handler (ABBA
16509         with class lock and e.g. python GIL state lock).
16510
16511 2005-10-28  Julien MOUTTE  <julien@moutte.net>
16512
16513         * gst/gstbus.c: Doc updates.
16514
16515 2005-10-28  Wim Taymans  <wim@fluendo.com>
16516
16517         * docs/design/part-TODO.txt:
16518         * gst/gstiterator.c:
16519         * gst/gstsystemclock.c:
16520         * gst/gstsystemclock.h:
16521         Doc updates.
16522
16523 2005-10-28  Edward Hervey  <edward@fluendo.com>
16524
16525         * docs/gst/gstreamer-docs.sgml:
16526         * docs/gst/gstreamer-sections.txt:
16527         the GstURIType documentation page is private, it only defines GstURIType
16528         which should be defined in the GstURIHandler page
16529         
16530 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16531
16532         * gst/gstbin.c: (gst_bin_class_init):
16533         * gst/gstbin.h:
16534         * gst/gstutils.c:
16535         Documentation updates.
16536
16537 2005-10-28  Wim Taymans  <wim@fluendo.com>
16538
16539         * docs/gst/gstreamer-sections.txt:
16540         * gst/gstclock.c:
16541         * gst/gstclock.h:
16542         Documented the clocks.
16543
16544 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
16545
16546         * docs/gst/gstreamer-sections.txt:
16547           move some macros to private sections
16548         * gst/gstminiobject.c:
16549         * gst/gstminiobject.h:
16550           add descriptions provided by ds and some more
16551         * gst/gstpad.h:
16552           mark macro as to be removed
16553
16554 2005-10-28  Wim Taymans  <wim@fluendo.com>
16555
16556         * docs/design/part-TODO.txt:
16557         Add an item to TODO.
16558
16559         * gst/gstiterator.c: (gst_iterator_fold),
16560         (gst_iterator_find_custom):
16561         * gst/gstiterator.h:
16562         Add iterator docs.
16563
16564 2005-10-28  Wim Taymans  <wim@fluendo.com>
16565
16566         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16567         (gst_base_transform_init):
16568         Don't leak class.
16569
16570         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16571         An EOS event marks the queue as completely filled.
16572
16573 2005-10-27  Wim Taymans  <wim@fluendo.com>
16574
16575         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16576         (gst_base_sink_do_sync), (gst_base_sink_get_position):
16577         Some more debugging.
16578
16579         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16580         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16581         (gst_base_transform_event), (gst_base_transform_getrange),
16582         (gst_base_transform_chain):
16583         * gst/base/gstbasetransform.h:
16584         Fix debugging,
16585         Protect transform and concurrent buffer alloc with a new lock.
16586         Try not to break ABI/API.
16587
16588 2005-10-27  Wim Taymans  <wim@fluendo.com>
16589
16590         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16591         (gst_base_src_init), (gst_base_src_query),
16592         (gst_base_src_default_newsegment),
16593         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16594         (gst_base_src_send_event), (gst_base_src_event_handler),
16595         (gst_base_src_pad_get_range), (gst_base_src_loop),
16596         (gst_base_src_unlock), (gst_base_src_default_negotiate),
16597         (gst_base_src_start), (gst_base_src_deactivate),
16598         (gst_base_src_activate_push), (gst_base_src_change_state):
16599         Move some stuff around and cleanup things.
16600
16601 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
16602
16603         * gst/base/gstbasesrc.c: (gst_base_src_query):
16604           Add missing break statements.
16605
16606 2005-10-27  Wim Taymans  <wim@fluendo.com>
16607
16608         * check/gst/gstbin.c: (GST_START_TEST):
16609         An extra refcount is taken in basesrc.
16610
16611         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16612         (gst_base_src_get_range), (gst_base_src_pad_get_range),
16613         (gst_base_src_loop):
16614         Small cleanups, check for flushing after being unlocked from the 
16615         LIVE_LOCK. take refcounts correctly (not yet everywhere).
16616         Don't send out EOS when going to READY.
16617
16618 2005-10-27  Wim Taymans  <wim@fluendo.com>
16619
16620         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16621         (gst_base_sink_get_position):
16622         Some more debug.
16623
16624         * gst/gstbin.c: (message_check), (bin_replace_message),
16625         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16626         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16627         (bin_query_duration_init), (bin_query_duration_fold),
16628         (bin_query_duration_done), (bin_query_generic_fold),
16629         (gst_bin_query):
16630         * tools/gst-launch.c: (main):
16631         Remove old option.
16632
16633 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
16634
16635         * examples/controller/audio-example.c: (main):
16636         * examples/queue/queue.c: (event_loop):
16637         * gst/base/gstbasetransform.h:
16638         * gst/gstelement.c: (gst_element_send_event):
16639         * gst/gstevent.h:
16640         * gst/gstpad.c: (gst_pad_send_event):
16641           fixing examples
16642           fixing docs typos
16643           changing log priority in error situations
16644
16645 2005-10-25  Wim Taymans  <wim@fluendo.com>
16646
16647         * gst/gstbin.c: (message_check), (bin_replace_message),
16648         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16649         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16650         (bin_query_duration_init), (bin_query_duration_fold),
16651         (bin_query_duration_done), (bin_query_generic_fold),
16652         (gst_bin_query):
16653         Some doc and debug updates.
16654         Cache previously requested query DURATION for speed. invalidate
16655         cached duration if element posts a DURATION message.
16656
16657 2005-10-25  Wim Taymans  <wim@fluendo.com>
16658
16659         * docs/design/part-TODO.txt:
16660         Update TODO.
16661
16662         * gst/gstbin.c: (message_check), (bin_replace_message),
16663         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16664         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16665         (bin_query_duration_init), (bin_query_duration_fold),
16666         (bin_query_duration_done), (bin_query_generic_fold),
16667         (gst_bin_query):
16668         Handle SEGMENT_START/DONE messages correctly.
16669         More evolved query algorithm that handles duration queries
16670         correctly.
16671
16672         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16673         (gst_element_get_state_func), (gst_element_abort_state),
16674         (gst_element_commit_state), (gst_element_lost_state):
16675         Some more debugging.
16676
16677         * gst/gstmessage.h:
16678         Added doc.
16679
16680 2005-10-25  Wim Taymans  <wim@fluendo.com>
16681
16682         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16683         Don't use invalid stream_time.
16684
16685         * gst/gstevent.c: (gst_event_new_newsegment):
16686         stream_time in newsegment cannot be undefined.
16687
16688 2005-10-24  Wim Taymans  <wim@fluendo.com>
16689
16690         * gst/gstbus.c:
16691         Doc fix.
16692
16693         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16694         (gst_queue_loop):
16695         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16696
16697 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
16698
16699         * docs/libs/tmpl/gstdparam.sgml:
16700         * docs/libs/tmpl/gstdplinint.sgml:
16701         * docs/libs/tmpl/gstdpman.sgml:
16702         * docs/libs/tmpl/gstdpsmooth.sgml:
16703         * docs/libs/tmpl/gstunitconvert.sgml:
16704           these are obsolete
16705
16706 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16707
16708         * configure.ac:
16709           back to HEAD
16710
16711 === release 0.9.4 ===
16712
16713 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16714
16715         * configure.ac:
16716           releasing 0.9.4, "Tyrannosaurus Rex"
16717
16718 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
16719
16720         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16721         (gst_file_sink_get_current_offset):
16722           Use fseeko() and ftello() if available. When falling back on
16723           lseek() to get the current offset, fflush() first to make sure
16724           everything is up-to-date and we get the right offset.
16725
16726 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16727
16728         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16729         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16730         * gst/gsterror.c: (_gst_stream_errors_init):
16731         * gst/gsterror.h:
16732         * gst/gstqueue.c: (gst_queue_loop):
16733         * po/POTFILES.in:
16734           remove prematurely added error category and clean up the instances
16735
16736 2005-10-21  Wim Taymans  <wim@fluendo.com>
16737
16738         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16739         (gst_base_sink_get_position), (gst_base_sink_query),
16740         (gst_base_sink_change_state):
16741         Simply set the right flag when going to playing, that's all
16742         we need to do instead of calling a function inside the object
16743         lock (that could take the lock as well and deadlock)
16744
16745 2005-10-21  Wim Taymans  <wim@fluendo.com>
16746
16747         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16748         (gst_base_src_loop):
16749         Don't warn, the peer element knows what to do best when
16750         the seek failed, it might try something else.
16751
16752 2005-10-21  Wim Taymans  <wim@fluendo.com>
16753
16754         * gst/base/gstbasesrc.c: (gst_base_src_init),
16755         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16756         Fix seeking.
16757
16758 2005-10-21  Wim Taymans  <wim@fluendo.com>
16759
16760         * docs/design/part-segments.txt:
16761         More docs.
16762
16763         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16764         Correctly set caps, even on the subbufer.
16765
16766 2005-10-21  Wim Taymans  <wim@fluendo.com>
16767
16768         * docs/gst/gstreamer-docs.sgml:
16769         * docs/gst/gstreamer-sections.txt:
16770         * gst/gstelement.h:
16771         * gst/gstevent.c:
16772         * gst/gstevent.h:
16773         * gst/gstmessage.h:
16774         * gst/gstpad.h:
16775         * gst/gstparse.h:
16776         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16777         * gst/gsttask.h:
16778         * gst/gstutils.c:
16779         * gst/gstutils.h:
16780         And 2% more doc coverage.
16781
16782 2005-10-21  Andy Wingo  <wingo@pobox.com>
16783
16784         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16785         position reporting.
16786
16787 2005-10-20  Wim Taymans  <wim@fluendo.com>
16788
16789         * gst/gsterror.c: (gst_error_get_message):
16790         * gst/gstparse.h:
16791         * gst/gstquery.h:
16792         * gst/gststructure.c:
16793         * gst/gsttrace.c:
16794         * gst/gstutils.c:
16795         More docs.
16796
16797 2005-10-20  Wim Taymans  <wim@fluendo.com>
16798
16799         * gst/gstbuffer.h:
16800         * gst/gstpad.c:
16801         * gst/gstparse.c:
16802         Another 1% more coverage.
16803
16804 2005-10-20  Wim Taymans  <wim@fluendo.com>
16805
16806         * docs/gst/gstreamer-sections.txt:
16807         * gst/gstelement.c: (gst_element_get_state_func),
16808         (gst_element_abort_state), (gst_element_commit_state),
16809         (gst_element_lost_state):
16810         * gst/gstevent.h:
16811         * gst/gstquery.c: (gst_query_set_position),
16812         (gst_query_parse_position), (gst_query_set_duration),
16813         (gst_query_parse_duration), (gst_query_new_convert):
16814         * gst/gstutils.c:
16815         Yay! 1% more docs coverage.
16816
16817 2005-10-20  Wim Taymans  <wim@fluendo.com>
16818
16819         * gst/gstpad.h:
16820         * gst/gstquery.c: (gst_query_set_position),
16821         (gst_query_parse_position), (gst_query_set_duration),
16822         (gst_query_parse_duration), (gst_query_new_convert):
16823         * gst/gstquery.h:
16824         * gst/gstutils.c: (gst_element_query_convert):
16825         * gst/gstutils.h:
16826         Docs and consistency fixes.
16827
16828 2005-10-20  Wim Taymans  <wim@fluendo.com>
16829
16830         * gst/gsttask.c:
16831         * gst/gsttask.h:
16832         More docs.
16833
16834 2005-10-20  Wim Taymans  <wim@fluendo.com>
16835
16836         * gst/gstbin.c: (message_check), (bin_replace_message),
16837         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16838         (update_degree), (gst_bin_sort_iterator_next),
16839         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16840         Reworked the message handling a bit, cache the messages instead of
16841         only the senders. alows us to do more in the future.
16842
16843 2005-10-20  Wim Taymans  <wim@fluendo.com>
16844
16845         * docs/design/part-TODO.txt:
16846         Update TODO
16847
16848         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16849         (gst_base_sink_query):
16850         Don't use clock time to report position when in EOS.
16851
16852 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
16853
16854         * tools/gst-inspect.c: (print_interfaces),
16855         (print_element_properties_info), (print_element_info):
16856           Fix interface output with gst-inspect -a; don't print
16857           newlines after double/float properties.
16858
16859 2005-10-20  Wim Taymans  <wim@fluendo.com>
16860
16861         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16862         (gst_base_sink_query):
16863         Speed up current position calculation.
16864
16865         * gst/base/gstbasesrc.c: (gst_base_src_query),
16866         (gst_base_src_default_newsegment):
16867         Correctly set stream position in newsegment.
16868
16869         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16870         (update_degree), (gst_bin_sort_iterator_next),
16871         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16872         * gst/gstmessage.c: (gst_message_new_custom):
16873         Clean up debugging info
16874
16875         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16876         (gst_queue_loop), (gst_queue_handle_src_query):
16877         Pause task faster.
16878
16879 2005-10-19  Wim Taymans  <wim@fluendo.com>
16880
16881         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16882         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16883         Fix query handling again.
16884
16885 2005-10-19  Wim Taymans  <wim@fluendo.com>
16886
16887         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16888         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16889         * gst/base/gstbasesrc.c: (gst_base_src_query):
16890         * gst/elements/gstfilesink.c: (gst_file_sink_query):
16891         * gst/elements/gsttypefindelement.c:
16892         (gst_type_find_handle_src_query), (find_element_get_length),
16893         (gst_type_find_element_activate):
16894         API change fix.
16895
16896         * gst/gstquery.c: (gst_query_new_position),
16897         (gst_query_set_position), (gst_query_parse_position),
16898         (gst_query_new_duration), (gst_query_set_duration),
16899         (gst_query_parse_duration), (gst_query_set_segment),
16900         (gst_query_parse_segment):
16901         * gst/gstquery.h:
16902         Bundling query position/duration is not a good idea since duration
16903         does not change much and we don't want to recalculate it for every
16904         position query, so they are separated again..
16905         Base value in segment query is not needed.
16906
16907         * gst/gstqueue.c: (gst_queue_handle_src_query):
16908         * gst/gstutils.c: (gst_element_query_position),
16909         (gst_element_query_duration), (gst_pad_query_position),
16910         (gst_pad_query_duration):
16911         * gst/gstutils.h:
16912         Updates for query API change.
16913         Added some docs here and there.
16914
16915 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16916
16917         * check/gst/gstbin.c: (GST_START_TEST):
16918         * check/gst/gstghostpad.c: (GST_START_TEST):
16919         * check/pipelines/cleanup.c: (GST_START_TEST):
16920           wait on thread to die so we can check refcount correctly
16921
16922 2005-10-18  Wim Taymans  <wim@fluendo.com>
16923
16924         * check/pipelines/stress.c: (GST_START_TEST):
16925         Make check a little more time consuming.
16926
16927 2005-10-18  Wim Taymans  <wim@fluendo.com>
16928
16929         * check/Makefile.am:
16930         * check/pipelines/stress.c: (GST_START_TEST),
16931         (simple_launch_lines_suite), (main):
16932         Small state change torture test.
16933
16934         * docs/design/part-states.txt:
16935         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16936         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16937         (gst_base_sink_change_state):
16938         Never take state lock from streaming thread, clean up ugly
16939         hacks. Unfortunatly core does not yet support nice ways to
16940         async commit state.
16941         
16942         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16943         (bin_bus_handler):
16944         Start state recalc if a STATE_DIRTY message is posted, but only
16945         on the toplevel bin.
16946
16947         * gst/gstelement.c: (gst_element_sync_state_with_parent),
16948         (gst_element_get_state_func), (gst_element_abort_state),
16949         (gst_element_commit_state), (gst_element_lost_state),
16950         (gst_element_set_state_func), (gst_element_change_state):
16951         * gst/gstelement.h:
16952         State variables are now protected with the LOCK, the state
16953         lock is only used to serialize _set_state().
16954
16955 2005-10-18  Wim Taymans  <wim@fluendo.com>
16956
16957         * check/gst/gstbin.c: (GST_START_TEST):
16958         * check/gst/gstmessage.c: (GST_START_TEST):
16959         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16960         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16961         (bin_bus_handler):
16962         * gst/gstelement.c: (gst_element_abort_state),
16963         (gst_element_commit_state), (gst_element_lost_state):
16964         * gst/gstmessage.c: (gst_message_new_state_changed),
16965         (gst_message_new_state_dirty), (gst_message_new_segment_start),
16966         (gst_message_new_segment_done), (gst_message_new_duration),
16967         (gst_message_parse_state_changed),
16968         (gst_message_parse_segment_start),
16969         (gst_message_parse_segment_done), (gst_message_parse_duration):
16970         * gst/gstmessage.h:
16971         * tools/gst-launch.c: (event_loop):
16972         Seriously, this is better than a previous commit as we only need
16973         to notify the fact that an element changed state in a streaming
16974         thread, marking the state of the parents dirty, hence the 
16975         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16976         message.
16977
16978 2005-10-18  Wim Taymans  <wim@fluendo.com>
16979
16980         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16981         (gst_bin_recalc_func):
16982         * gst/gstelement.c: (gst_element_set_clock),
16983         (gst_element_abort_state), (gst_element_lost_state):
16984         Cleanups, prepare for state change fixes.
16985
16986 2005-10-18  Wim Taymans  <wim@fluendo.com>
16987
16988         * gst/gstbin.h:
16989         * gst/gstelement.c: (gst_element_class_init),
16990         (gst_element_set_state), (gst_element_set_state_func):
16991         * gst/gstelement.h:
16992         Pending ABI changes.
16993         GThreadPool in GstBinClass to monitor async state changes.
16994         state_cookie in GstElement to detect concurrent gst/set state.
16995         set_state is now virtual too in case a very complicated element
16996         has to be constructed.
16997
16998 2005-10-18  Wim Taymans  <wim@fluendo.com>
16999
17000         * check/gst/gstbin.c: (GST_START_TEST):
17001         * check/gst/gstmessage.c: (GST_START_TEST):
17002         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17003         * gst/gstbin.c: (bin_bus_handler):
17004         * gst/gstelement.c: (gst_element_commit_state),
17005         (gst_element_lost_state):
17006         * gst/gstmessage.c: (gst_message_new_state_changed),
17007         (gst_message_new_segment_start), (gst_message_new_segment_done),
17008         (gst_message_new_duration), (gst_message_parse_state_changed),
17009         (gst_message_parse_segment_start),
17010         (gst_message_parse_segment_done), (gst_message_parse_duration):
17011         * gst/gstmessage.h:
17012         * tools/gst-launch.c: (event_loop):
17013         Make messages future proof.
17014         state-change gets a flag if it was a message comming from the
17015         streaming thread.
17016         segment-start/stop can also be specified in other formats.
17017         A message to notify an app that a pipeline changed playback 
17018         duration.
17019         Also fix a GstMessage leak in -launch
17020
17021 2005-10-18  Andy Wingo  <wingo@pobox.com>
17022
17023         * gst/gstelement.c (gst_element_dispose): More helpful message.
17024
17025 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17026
17027         reviewed by: <delete if not using a buddy>
17028
17029         * common/gtk-doc.mak:
17030
17031 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17032
17033         * gst/gstregistry.c: (gst_registry_scan_path_level):
17034           unref a plug-in we get that was already initialized
17035
17036 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
17037
17038         * docs/gst/gstreamer-sections.txt:
17039         * docs/libs/gstreamer-libs-sections.txt:
17040         * gst/gstelement.h:
17041           add new api entries
17042           hide internal macro
17043
17044 2005-10-17  Andy Wingo  <wingo@pobox.com>
17045
17046         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17047         cleanup.
17048
17049         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17050
17051         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17052
17053         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17054         (gst_element_get_state_func): Better debug message.
17055         (gst_element_commit_state): s/INFO/DEBUG/.
17056         (gst_element_lost_state, gst_element_change_state): 
17057
17058         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17059         (gst_message_new_custom): s/INFO/LOG/.
17060
17061 2005-10-17  Michael Smith <msmith@fluendo.com>
17062
17063         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17064           Check if end time is valid using end time, not start time.
17065
17066 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
17067
17068         * check/gst-libs/controller.c: (GST_START_TEST),
17069         (gst_controller_suite):
17070         * libs/gst/controller/gstcontroller.c:
17071         (gst_controlled_property_set_interpolation_mode):
17072         * libs/gst/controller/gstcontroller.h:
17073         * libs/gst/controller/gstinterpolation.c:
17074         * testsuite/controller/.cvsignore:
17075         * testsuite/controller/Makefile.am:
17076         * testsuite/controller/interpolator.c:
17077           merge controller testsuites
17078           fix broken tests
17079           remove mem-chunk from docs
17080
17081 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17082
17083         * gst/gstmemchunk.c:
17084         * gst/gstmemchunk.h:
17085         * gst/gsttrashstack.c:
17086         * gst/gsttrashstack.h:
17087           out.  get out.  you're fired.  to the Attic !
17088
17089 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17090
17091         * gst/gstcaps.c: (gst_caps_intersect):
17092           fix signedness issues in a (hopefully) correct way
17093         * gst/gstelement.c: (gst_element_pads_activate):
17094           some debugging
17095         * gst/gstobject.c: (gst_object_set_parent):
17096           some debugging
17097
17098 2005-10-17  Julien MOUTTE  <julien@moutte.net>
17099
17100         * gst/gstvalue.h: Fix prototypes.
17101
17102 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17103
17104         * docs/gst/gstreamer-sections.txt:
17105         * gst/gst.c: (gst_version_string):
17106         * gst/gst.h:
17107         * gst/gstversion.h.in:
17108         * win32/common/libgstreamer.def:
17109           add gst_version_string ()
17110
17111 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17112
17113         * configure.ac:
17114           clean up further
17115         * gst/gst.c: (init_post):
17116         * win32/common/config.h.in:
17117           it's PLUGINDIR now
17118         * gst/gstcaps.c: (gst_caps_intersect):
17119           use gint64, the range could be bigger than a guint
17120
17121 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17122
17123         * gst/gstclock.h:
17124           document potential problem in 2038
17125
17126 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17127
17128         * gst/gstcaps.c: (gst_caps_intersect):
17129           Fix guint j diving under 0
17130
17131 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17132
17133         * configure.ac:
17134         * win32/common/config.h:
17135         * win32/common/config.h.in:
17136           check for process.h, declares getpid() on Windows
17137         * gst/gstinfo.c:
17138           include process.h if we have it
17139         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17140         * gst/gstmemchunk.h:
17141           fix signedness issues
17142         * win32/common/libgstreamer.def:
17143           fix get_type's
17144
17145 2005-10-16  Julien MOUTTE  <julien@moutte.net>
17146
17147         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17148         fix. Because of unsigned ints, caps intersection was going nuts and
17149         trying to access structures with G_MAXUINT index. That fixes
17150         videotestsrc ! ffmpegcolorspace ! fakesink
17151         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17152         consistency.
17153
17154 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17155
17156         * configure.ac:
17157           use the gettext macro
17158         * gst/elements/gstelements.c:
17159         * gst/gst.c:
17160         * gst/indexers/gstindexers.c:
17161           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17162         * win32/common/config.h:
17163           updated config.h
17164         * win32/common/config.h.in:
17165           add the template to generate config.h
17166         * win32/common/gstenumtypes.c:
17167         * win32/common/gstversion.h:
17168           updated copies
17169
17170 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17171
17172         * gst/gst.c: (gst_version):
17173         * gst/gstversion.h.in:
17174           add the nano
17175
17176 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17177
17178         * gst/gstevent.h:
17179           Oops, add missing closing bracket.
17180
17181 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17182
17183         * configure.ac:
17184           use common m4's for argument checking
17185
17186 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17187
17188         * docs/gst/gstreamer-sections.txt:
17189         * gst/gstevent.h:
17190           Add GST_EVENT_TYPE_NAME() macro.
17191
17192 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17193
17194         * gst/gstinfo.c:
17195         * gst/gstpluginfeature.c:
17196         * gst/gsttask.c:
17197           privatize more symbols
17198
17199 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17200
17201         * configure.ac:
17202           add srcdir, builddir includes to GST_ALL_CFLAGS, since
17203           everything that uses GStreamer API should have the includes
17204
17205 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17206
17207         * docs/gst/gstreamer-sections.txt:
17208         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17209         * gst/gstvalue.h:
17210           give each value a _get_type, removes the DATA exports
17211
17212 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17213
17214         * gst/gst.c:
17215         * gst/gst.h:
17216           remove _gst_registry_auto_load, not used anymore
17217         * gst/gstbin.c: (gst_bin_get_type):
17218         * gst/gstbin.h:
17219         * gst/gstelement.c: (gst_element_get_type):
17220         * gst/gstelement.h:
17221         * gst/gstobject.c: (gst_object_get_type):
17222         * gst/gstobject.h:
17223         * gst/gstpad.c: (gst_pad_get_type):
17224         * gst/gstpad.h:
17225           make _get_type functions similar, fixes data export from library
17226
17227 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17228
17229         * configure.ac:
17230           correctly make conditionals
17231         * gst/elements/Makefile.am:
17232         * gst/elements/gstelements.c:
17233           fix typo causing fdsrc not to build
17234
17235 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17236
17237         * testsuite/Makefile.am:
17238         * testsuite/bytestream/.cvsignore:
17239         * testsuite/bytestream/Makefile.am:
17240         * testsuite/bytestream/filepadsink.c:
17241         * testsuite/bytestream/gstbstest.c:
17242         * testsuite/bytestream/test1.c:
17243         * testsuite/bytestream/testfile1:
17244         * testsuite/caps/normalisation.c:
17245         * testsuite/caps/random.c: (main):
17246         * testsuite/cleanup/.cvsignore:
17247         * testsuite/cleanup/Makefile.am:
17248         * testsuite/cleanup/cleanup1.c:
17249         * testsuite/cleanup/cleanup2.c:
17250         * testsuite/cleanup/cleanup3.c:
17251         * testsuite/cleanup/cleanup4.c:
17252         * testsuite/cleanup/cleanup5.c:
17253         * testsuite/controller/interpolator.c:
17254         * testsuite/debug/printf_extension.c: (main):
17255         * testsuite/elements/tee.c:
17256         * testsuite/negotiation/.cvsignore:
17257         * testsuite/negotiation/Makefile.am:
17258         * testsuite/negotiation/pad_link.c:
17259         * testsuite/pad/Makefile.am:
17260         * testsuite/pad/chainnopull.c:
17261         * testsuite/pad/getnopush.c:
17262         * testsuite/pad/link.c:
17263         * testsuite/refcounting/sched.c: (create_pipeline):
17264         * testsuite/registry/Makefile.am:
17265         * testsuite/registry/gst-print-formats.c:
17266         * testsuite/schedulers/.cvsignore:
17267         * testsuite/schedulers/142183-2.c:
17268         * testsuite/schedulers/142183.c:
17269         * testsuite/schedulers/143777-2.c:
17270         * testsuite/schedulers/143777.c:
17271         * testsuite/schedulers/147713.c:
17272         * testsuite/schedulers/147819.c:
17273         * testsuite/schedulers/147894-2.c:
17274         * testsuite/schedulers/147894.c:
17275         * testsuite/schedulers/Makefile.am:
17276         * testsuite/schedulers/group_link.c:
17277         * testsuite/schedulers/queue_link.c:
17278         * testsuite/schedulers/relink.c:
17279         * testsuite/schedulers/unlink.c:
17280         * testsuite/schedulers/unref.c:
17281         * testsuite/schedulers/useless_iteration.c:
17282         * testsuite/states/bin.c:
17283           clean out/remove some stuff from the testsuite directories
17284
17285 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17286
17287         * configure.ac:
17288           check for some headers
17289         * gst/elements/Makefile.am:
17290         * gst/elements/gstelements.c:
17291           don't compile fdsrc without sys/socket.h
17292         * gst/indexers/Makefile.am:
17293         * gst/indexers/gstindexers.c: (plugin_init):
17294           don't compile fileindex without mmap
17295
17296 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17297
17298         * configure.ac:
17299           reorganize
17300           clean up
17301           document more
17302           remove cruft
17303         * check/Makefile.am:
17304         * docs/gst/Makefile.am:
17305         * examples/helloworld/Makefile.am:
17306         * gst/Makefile.am:
17307         * gst/base/Makefile.am:
17308         * gst/check/Makefile.am:
17309         * gst/elements/Makefile.am:
17310         * gst/indexers/Makefile.am:
17311         * gst/parse/Makefile.am:
17312         * libs/gst/controller/Makefile.am:
17313         * libs/gst/dataprotocol/Makefile.am:
17314         * examples/helloworld/helloworld.c: (event_loop):
17315           compile fixes, though it's not being compiled currently
17316
17317 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17318
17319         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17320           Add some simple tests for the new taglist date API.
17321
17322 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17323
17324         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17325         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17326           Beautify 'last-message' output: print 'none' for buffer timestamps
17327           and durations if none is set; improve alignment with next messages.
17328
17329 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17330
17331         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17332         * gst/gstpluginfeature.h:
17333         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17334         * gst/gstregistry.h:
17335         * docs/gst/gstreamer-sections.txt:
17336           Add new API to check plugin feature version requirements.
17337
17338         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17339           Some basic tests for the above.         
17340
17341 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17342
17343         * gst/gststructure.c: (gst_structure_to_string):
17344           guard against NULL printf - happens when for example
17345           a message structure with GstClock gets serialized
17346
17347 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17348
17349         * gst/base/gstcollectpads.c: (gst_collectpads_event):
17350           Fix presumable copy'n'pasto.
17351
17352 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17353
17354         * gst/elements/gstfakesrc.h:
17355         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17356         * gst/elements/gsttypefindelement.c:
17357           fix some signedness
17358         * gst/elements/gstfilesink.c: (gst_file_sink_render):
17359           I wonder if this could actually write +2GB files before
17360
17361 2005-10-13  Andy Wingo  <wingo@pobox.com>
17362
17363         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17364         Fix Timmeke Waymans bug.
17365         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17366         string of the proper length to gst_caps_from_string. There's a
17367         potential for, before this fix, that this could cause someone
17368         connecting over the network to cause a segfault if the payload is
17369         not NUL-terminated.
17370
17371 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17372
17373         * docs/design/draft-push-pull.txt:
17374         * docs/design/part-overview.txt:
17375         * docs/random/TODO-pre-0.9:
17376         * docs/random/old/ChangeLog.gstreamer:
17377         * gst/base/gstpushsrc.c:
17378         * gst/gstclock.c:
17379           fixed typos
17380
17381 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17382
17383         * gst/glib-compat.c: (gst_flags_get_first_value):
17384         * gst/glib-compat.h:
17385         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17386         (gst_value_compare_double), (gst_value_serialize_flags):
17387           GLib 2.6 g_flags_get_first_value has a bug that triggers an
17388           infinite loop
17389
17390 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17391
17392         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17393         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17394           fix up debugging
17395         * tools/gst-launch.c: (event_loop):
17396           print out clock nicely
17397
17398 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17399
17400         * docs/gst/gstreamer-sections.txt:
17401         * gst/gsttaglist.h:
17402         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17403         (gst_tag_list_get_date_index):
17404           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17405           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17406
17407 2005-10-13  Julien MOUTTE  <julien@moutte.net>
17408
17409         * gst/base/gstcollectpads.c: (gst_collectpads_event),
17410         (gst_collectpads_chain):
17411         * gst/base/gstcollectpads.h: Handle newsegment and store informations
17412         in CollectData.
17413
17414 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17415
17416         * docs/gst/gstreamer-sections.txt:
17417         * gst/gst.c:
17418         * gst/gsterror.h:
17419         * tools/gst-inspect.c: (main):
17420         * tools/gst-launch.c: (main):
17421         * tools/gst-run.c: (main):
17422         * tools/gst-xmlinspect.c: (main):
17423           fix GOption context leaks
17424           doc fixes
17425
17426 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17427
17428         * gst/gstbus.c:
17429           use HAVE_UNISTD_H
17430         * win32/common/config.h:
17431           update config
17432         * win32/vs6/grammar.dsp:
17433         * win32/vs6/libgstelements.dsp:
17434         * win32/vs6/libgstreamer.dsp:
17435           update vs6 files
17436
17437 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17438
17439         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17440         * gst/base/gstbasesrc.c: (gst_base_src_query):
17441           fix more guint64<->gdouble conversions
17442
17443 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17444
17445         * Makefile.am:
17446           add win32-update target
17447         * win32/common/gstconfig.h:
17448         * win32/common/gstenumtypes.c:
17449         * win32/common/gstenumtypes.h:
17450         * win32/common/gstversion.h:
17451           add files that visual studio can't generate
17452
17453 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17454
17455         * Makefile.am:
17456           add a win32-update target
17457         * configure.ac:
17458
17459 2005-10-12  Wim Taymans  <wim@fluendo.com>
17460
17461         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17462         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17463         * gst/gstelement.c: (gst_element_commit_state),
17464         (gst_element_set_state):
17465         Protect flags with proper lock.
17466         unref provided cached clock in dispose.
17467
17468 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17469
17470         * gst/gst.c:
17471         * gst/gstminiobject.h:
17472         * gst/gstpad.h:
17473         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17474           removed unused flags from miniobject
17475           doc fixes
17476
17477 2005-10-12  Wim Taymans  <wim@fluendo.com>
17478
17479         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17480         (gst_file_sink_event), (gst_file_sink_render):
17481         Flush before seeking.
17482
17483 2005-10-12  Andy Wingo  <wingo@pobox.com>
17484
17485         * gst/gst.c (gst_init_check): Ignore unknown options, as has
17486         always been the case.
17487
17488 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17489
17490         * check/gst/gstbin.c: (GST_START_TEST):
17491         * docs/gst/gstreamer-sections.txt:
17492         * gst/base/gstbasesink.c: (gst_base_sink_init):
17493         * gst/base/gstbasesrc.c: (gst_base_src_init),
17494         (gst_base_src_get_range), (gst_base_src_check_get_range),
17495         (gst_base_src_start), (gst_base_src_stop):
17496         * gst/base/gstbasesrc.h:
17497         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17498         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17499         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17500         (bin_bus_handler):
17501         * gst/gstbin.h:
17502         * gst/gstbuffer.h:
17503         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17504         * gst/gstbus.h:
17505         * gst/gstelement.c: (gst_element_is_locked_state),
17506         (gst_element_set_locked_state), (gst_element_commit_state),
17507         (gst_element_set_state):
17508         * gst/gstelement.h:
17509         * gst/gstindex.c: (gst_index_init):
17510         * gst/gstindex.h:
17511         * gst/gstminiobject.h:
17512         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17513         (gst_object_set_parent):
17514         * gst/gstobject.h:
17515         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17516         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17517         * gst/gstpad.h:
17518         * gst/gstpadtemplate.h:
17519         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17520         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17521         * gst/gstpipeline.h:
17522         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17523         (gst_file_index_commit):
17524         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17525         * testsuite/pad/link.c: (gst_test_src_init),
17526         (gst_test_filter_init), (gst_test_sink_init):
17527         * testsuite/states/locked.c: (main):
17528           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17529           moved bitshift from macro to enum definition
17530
17531 2005-10-12  Wim Taymans  <wim@fluendo.com>
17532
17533         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17534         * gst/elements/gstfilesink.c: (gst_file_sink_event),
17535         (gst_file_sink_render):
17536         Some more debugging info.
17537
17538 2005-10-12  Wim Taymans  <wim@fluendo.com>
17539
17540         * docs/design/part-states.txt:
17541         * tools/gst-launch.c: (main):
17542         Some doc updates.
17543         Revert non-intentional change.
17544
17545 2005-10-12  Wim Taymans  <wim@fluendo.com>
17546
17547         * check/gst/gstbin.c: (GST_START_TEST):
17548         * check/gst/gstelement.c: (GST_START_TEST):
17549         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17550         * check/gst/gstghostpad.c: (GST_START_TEST):
17551         * check/gst/gstpipeline.c: (GST_START_TEST):
17552         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17553         * check/states/sinks.c: (GST_START_TEST):
17554         * gst/elements/gsttypefindelement.c: (stop_typefinding):
17555         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17556         (gst_bin_remove_func), (gst_bin_get_state_func),
17557         (gst_bin_recalc_state), (gst_bin_change_state_func),
17558         (bin_bus_handler):
17559         * gst/gstelement.c: (gst_element_get_state_func),
17560         (gst_element_get_state), (gst_element_abort_state),
17561         (gst_element_commit_state), (gst_element_set_state),
17562         (gst_element_change_state), (gst_element_change_state_func):
17563         * gst/gstelement.h:
17564         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17565         (gst_pipeline_provide_clock_func):
17566         * gst/gstutils.c: (gst_element_link_pads_filtered):
17567         * tools/gst-launch.c: (main):
17568         * tools/gst-typefind.c: (main):
17569         Use GstClockTime in _get_state() instead of GTimeVal.
17570         Remove old code in gstutils.c
17571
17572 2005-10-12  Andy Wingo  <wingo@pobox.com>
17573
17574         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17575         removed.
17576
17577         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17578         there is no task. Shouldn't affect any code, as nothing in our
17579         plugins checks this return value.
17580         (gst_pad_stop_task): Also take the stream lock if the pad has no
17581         task. Docs updated.
17582
17583 2005-10-12  Wim Taymans  <wim@fluendo.com>
17584
17585         * gst/gstpad.c: (pre_activate), (post_activate),
17586         (gst_pad_activate_pull), (gst_pad_activate_push):
17587         Cleanup activation code. Reset old state if
17588         activation failed.
17589
17590 2005-10-12  Wim Taymans  <wim@fluendo.com>
17591
17592         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17593         (gst_base_sink_change_state):
17594         No need to prerol after receiving EOS.
17595
17596         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17597         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17598         * gst/elements/gstidentity.c: (gst_identity_event):
17599         Print events more verbosely.
17600
17601 2005-10-12  Wim Taymans  <wim@fluendo.com>
17602
17603         * check/Makefile.am:
17604         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17605         * check/states/sinks2.c:
17606         Moved sinks2 testcode in sinks check.
17607
17608         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17609         (gst_bin_remove_func), (gst_bin_recalc_state),
17610         (gst_bin_change_state_func), (bin_bus_handler):
17611         Fix potential race condition when _get_state() iterated over an
17612         ASYNC element right before it posted a state completion.
17613
17614         * gst/gstclock.h:
17615         Do proper cast here.
17616
17617         * gst/gstevent.c: (gst_event_new_newsegment),
17618         (gst_event_parse_newsegment):
17619         A playback rate of 0.0 is not allowed.
17620
17621 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17622
17623         * win32/common/config.h:
17624         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17625         (_trewinddir), (_ttelldir), (_tseekdir):
17626         * win32/common/dirent.h:
17627         * win32/common/gtchar.h:
17628         * win32/common/libgstbase.def:
17629         * win32/common/libgstreamer.def:
17630         * win32/vs6/grammar.dsp:
17631         * win32/vs6/gst_inspect.dsp:
17632         * win32/vs6/gst_launch.dsp:
17633         * win32/vs6/gstreamer.dsw:
17634         * win32/vs6/libgstbase.dsp:
17635         * win32/vs6/libgstelements.dsp:
17636         * win32/vs6/libgstreamer.dsp:
17637           Visual Studio 6 project files, and a new common directory.
17638           Phear.
17639
17640 2005-10-11  Wim Taymans  <wim@fluendo.com>
17641
17642         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17643         (gst_base_sink_do_sync), (gst_base_sink_query),
17644         (gst_base_sink_change_state):
17645         * gst/base/gstbasesink.h:
17646         Correctly parse newsegment info.
17647
17648 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17649
17650         * gst/gst.c: (init_post):
17651           split plugin paths correctly
17652
17653 2005-10-11  Wim Taymans  <wim@fluendo.com>
17654
17655         * check/gst/gstevent.c: (GST_START_TEST):
17656         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17657         (gst_base_sink_change_state):
17658         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17659         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17660         * gst/elements/gstfilesink.c: (gst_file_sink_event):
17661         * gst/gstevent.c: (gst_event_new_newsegment),
17662         (gst_event_parse_newsegment):
17663         * gst/gstevent.h:
17664         Added extra flag to newsegment for future API freeze.
17665         Updated check and base elements.
17666
17667 2005-10-11  Julien MOUTTE  <julien@moutte.net>
17668
17669         * gst/base/gstcollectpads.c: (gst_collectpads_init),
17670         (gst_collectpads_add_pad), (gst_collectpads_pop),
17671         (gst_collectpads_event), (gst_collectpads_chain):
17672         * gst/base/gstcollectpads.h: Handle EOS correctly.
17673
17674 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17675
17676         * tools/gst-launch.c: (main):
17677           more null protecting
17678
17679 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17680
17681         * gst/gst-i18n-lib.h:
17682           check for ENABLE_NLS, not GETTEXT_PACKAGE
17683         * gst/gstregistry.c: (gst_registry_add_plugin),
17684         (gst_registry_scan_path_level),
17685         (_gst_registry_remove_cache_plugins):
17686           protect possibly NULL strings
17687         * gst/parse/types.h:
17688           config.h already included before
17689         * tools/gst-inspect.c: (main):
17690           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17691           check for ENABLE_NLS, not GETTEXT_PACKAGE
17692         * tools/gst-launch.c: (main):
17693           check for ENABLE_NLS, not GETTEXT_PACKAGE
17694
17695 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17696
17697         * configure.ac:
17698           if we don't have glib, fail before testing 2.8
17699         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17700           fix a leak, should fix plugins-base testsuite
17701
17702 2005-10-11  Andy Wingo  <wingo@pobox.com>
17703
17704         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17705         take the mode we're going to as an arg. Go head and set the mode
17706         and flushing flags now, so that if the activate function starts a
17707         thread all the flags will be in the right state.
17708         (post_activate): Renamed also. Just handle making sure streaming
17709         finishes for the deactivation case, and setting the deactivated
17710         mode.
17711         (gst_pad_set_active): Complain loudly if deactivation fails.
17712         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17713         (gst_pad_activate_push): Adapt to pre/post_activate changes,
17714         remove the terrible hack.
17715
17716 2005-10-11  Wim Taymans  <wim@fluendo.com>
17717
17718         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17719         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17720         (gst_bin_recalc_state), (gst_bin_change_state_func),
17721         (gst_bin_dispose), (bin_bus_handler):
17722         * gst/gstbin.h:
17723         Prepare to make current EOS message queue more generic.
17724         Fix some typos.
17725
17726         * gst/gstevent.c: (gst_event_new_newsegment),
17727         (gst_event_parse_newsegment):
17728         * gst/gstevent.h:
17729         Rename base to stream_time.
17730
17731         * gst/gstmessage.h:
17732         Fix typo in docs.
17733
17734 2005-10-11  Wim Taymans  <wim@fluendo.com>
17735
17736         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17737         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17738         (gst_bin_change_state_func), (bin_bus_handler):
17739         * gst/gstbin.h:
17740         Work on proper clock selection.
17741
17742 2005-10-11  Edward Hervey  <edward@fluendo.com>
17743
17744         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
17745         * libs/gst/controller/gstcontroller.h:
17746         Added GList* version of _remove_properties() in order to be able to wrap
17747         it in bindings.
17748
17749 2005-10-11  Wim Taymans  <wim@fluendo.com>
17750
17751         * docs/design/part-states.txt:
17752         Some more docs.
17753
17754         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17755         (gst_bin_change_state_func), (bin_bus_handler):
17756         Doc updates. Don't distribute the same clock over and over again.
17757
17758         * gst/gstclock.c:
17759         * gst/gstclock.h:
17760         Doc updates.
17761
17762         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17763         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17764         (gst_pad_send_event):
17765         * gst/gstpad.h:
17766         Make probe emission threadsafe again.
17767         Register quarks and move _get_name() from utils.
17768         Doc updates.
17769
17770         * gst/gstpipeline.c: (gst_pipeline_class_init),
17771         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17772         Only redistribute the clock of it changed.
17773
17774         * gst/gstsystemclock.h:
17775         Doc updates. 
17776
17777         * gst/gstutils.c:
17778         * gst/gstutils.h:
17779         Moved the _flow_get_name() to GstPad.
17780
17781 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17782
17783         * check/gst-libs/gdp.c: (GST_START_TEST):
17784         * check/gst/gstcaps.c: (GST_START_TEST):
17785         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17786         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17787         (gst_dp_packet_from_caps):
17788           fix more valgrind warnings before turning up the heat
17789
17790 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17791
17792         * gst/parse/grammar.y:
17793           some cleanup before the hacking
17794
17795 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17796
17797         * gst/base/gstbasesrc.c: (gst_base_src_query):
17798           use conversions
17799         * gst/gstutils.c: (gst_guint64_to_gdouble),
17800         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17801         * gst/gstutils.h:
17802           externalize, basesrc uses it
17803           obviously the implementation needs testing
17804
17805 2005-10-10  Wim Taymans  <wim@fluendo.com>
17806
17807         * tests/sched/Makefile.am:
17808         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17809         (make_pipeline3), (make_pipeline4), (print_elem), (main):
17810
17811 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17812
17813         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17814           apparently converting from guint64 to double is not implemented
17815           on MSVC
17816
17817 2005-10-10  Wim Taymans  <wim@fluendo.com>
17818
17819         * check/Makefile.am:
17820         * check/generic/states.c: (GST_START_TEST):
17821         * check/gst/gstbin.c: (GST_START_TEST):
17822         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17823         * check/states/sinks.c: (GST_START_TEST):
17824         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17825         (main):
17826         Check fixes, use API as stated in design docs, remove hacks.
17827
17828         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17829         (gst_base_sink_change_state):
17830         Catch stopping our task while we're shutting down.
17831
17832         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17833         (gst_bin_remove_func), (gst_bin_get_state_func),
17834         (gst_bin_recalc_state), (gst_bin_change_state_func),
17835         (bin_bus_handler):
17836         * gst/gstbin.h:
17837         * gst/gstelement.c: (gst_element_init),
17838         (gst_element_get_state_func), (gst_element_abort_state),
17839         (gst_element_commit_state), (gst_element_lost_state),
17840         (gst_element_set_state), (gst_element_change_state),
17841         (gst_element_change_state_func):
17842         * gst/gstelement.h:
17843         New state change algorithm (see #318116)
17844
17845         * gst/gstpipeline.c: (gst_pipeline_class_init),
17846         (gst_pipeline_init), (gst_pipeline_set_property),
17847         (gst_pipeline_get_property), (do_pipeline_seek),
17848         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17849         * gst/gstpipeline.h:
17850         Remove crude state change hacks.
17851
17852         * gst/gstutils.h:
17853         Remove crude hacks.
17854
17855         * tools/gst-launch.c: (main):
17856         Fixes for state change. Needs some more work to fully use the
17857         new stuff.
17858
17859 2005-10-10  Andy Wingo  <wingo@pobox.com>
17860
17861         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17862
17863         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17864         this flag, but it's not even in GLib 2.6. Odd. Hack around the
17865         issue.
17866
17867 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17868
17869         * gst/gstiterator.c: (gst_iterator_new):
17870           Fix my previous commit: GTypes passed to gst_iterator_new()
17871           can be fundamental types.
17872
17873 2005-10-10  Wim Taymans  <wim@fluendo.com>
17874
17875         * gst/gstelement.c: (gst_element_iterate_pad_list),
17876         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17877         (gst_element_iterate_sink_pads):
17878         Use src/sink pads lists for the respective iterators instead
17879         of filtering.
17880
17881 2005-10-10  Andy Wingo  <wingo@pobox.com>
17882
17883         Merged in popt removal + GOption addition patch from Ronald, bug
17884         #169772.
17885
17886         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17887         GstElement macros around, remove popt-related symbols, add goption
17888         stuff.
17889
17890         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17891         
17892         * docs/gst/Makefile.am:
17893         * docs/libs/Makefile.am: No POPT_CFLAGS.
17894         
17895         * examples/manual/Makefile.am:
17896         * docs/manual/basics-init.xml: Doc updates with an example.
17897         
17898         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17899         (gst_init), (parse_one_option), (parse_goption_arg):
17900         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17901         bit of hand merging and debugging to get the GOption stuff working
17902         tho.
17903         
17904         * tests/Makefile.am:
17905         * tools/Makefile.am:
17906         * tools/gst-inspect.c: (main):
17907         * tools/gst-launch.c: (main):
17908         * tools/gst-run.c: (main):
17909         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17910
17911 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17912
17913         * gst/gstiterator.c: (gst_iterator_new):
17914           Add assertions to make sure passed GType is likely to really
17915           be a GType (as the compiler won't catch it if the size and
17916           GType arguments get mixed up, see #318447).
17917
17918 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
17919
17920         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17921
17922         * gst/gstbin.c: (gst_bin_iterate_sorted):
17923           Pass GType and size arguments to gst_iterator_new() in the right
17924           order (maybe we should make _new() take the GType as first argument
17925           just like _new_list()?) (#318447).
17926           
17927
17928 2005-10-10  Wim Taymans  <wim@fluendo.com>
17929
17930         * gst/gstelement.c: (gst_element_finalize):
17931         And free the GStaticRecMutex too
17932
17933 2005-10-10  Andy Wingo  <wingo@pobox.com>
17934
17935         * gst/gstelement.c (gst_element_init, gst_element_finalize):
17936         Allocate and free the mutex properly.
17937
17938         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17939         New macros.
17940         (GstElement): The state_lock is now recursive. Rebuild your
17941         plugins, suckers. Old macros adapted.
17942
17943         * docs/gst/gstreamer-sections.txt: Doc updates.
17944
17945         * gst/gstutils.h:
17946         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
17947         (g_static_rec_cond_wait): Ported from state changes patch, while
17948         we wait on bug #317802 to be solved in a well-distributed GLib.
17949
17950         * gst/gstelement.c (gst_element_change_state_func): Renamed from
17951         gst_element_change_state, variable name changes.
17952         (gst_element_change_state): Split out of gst_element_set_state in
17953         preparation for the state change merge. Doesn't pay attention to
17954         the 'transition' argument.
17955         (gst_element_set_state): Updates, hopefully purely cosmetic.
17956         (gst_element_sync_state_with_parent): MT-safety. Ported from the
17957         state change patch.
17958         (gst_element_get_state_func): Renamed from get_state, cosmetic
17959         changes.
17960
17961 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17962
17963         * gst/elements/gstelements.c:
17964         * win32/GStreamer.vcproj:
17965         * win32/config.h:
17966         * win32/dirent.c: (_tseekdir):
17967         * win32/gst-inspect.vcproj:
17968         * win32/gst-launch.vcproj:
17969         * win32/gstconfig.h:
17970         * win32/gstelements.vcproj:
17971         * win32/gstenumtypes.c: (gst_object_flags_get_type):
17972         * win32/gstreamer.def:
17973         * win32/msvc71.sln:
17974           updates for the win32 build (patch from Sebastien Moutte)
17975
17976 2005-10-10  Andy Wingo  <wingo@pobox.com>
17977
17978         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17979         gst_bin_get_state, cleaned up (but no logic changes).
17980         (bin_element_is_sink): Comment updates.
17981         (sink_iterator_filter): Remove needless cast.
17982         (gst_bin_iterate_sinks): Doc update.
17983         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17984         cleaned up (but no logic changes).
17985
17986         * check/states/sinks.c (test_src_sink): Cleanups from the state
17987         change patch.
17988         (test_livesrc_sink): Sync on the state.
17989
17990         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17991         the state change patch.
17992
17993         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17994         change patch.
17995
17996         * check/gst/gstbin.c: Merge in some style fixes and additional
17997         checks from Wim's state change patch.
17998
17999 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18000
18001         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18002         (gst_type_find_helper):
18003           Check whether we have the requested data already in our list of
18004           cached buffers before pulling a new buffer; also make the buffer
18005           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18006
18007 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18008
18009         * gst/gstcaps.c:
18010         * gst/gstevent.c:
18011           doc updates
18012         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18013           don't use long long, it's not portable.  Replacing with
18014           gint64 seems to work; let's hope no skeletons fall out of the closet.
18015
18016 2005-10-10  Andy Wingo  <wingo@pobox.com>
18017
18018         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18019
18020 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
18021
18022         * docs/gst/gstreamer-sections.txt:
18023         * gst/gstevent.c:
18024         * gst/gstevent.h:
18025         * gst/gstinfo.c:
18026         * gst/gstinfo.h:
18027         * gst/gstmessage.c: (gst_message_parse_state_changed):
18028         * gst/gstpad.c:
18029         * gst/gstpad.h:
18030           more docs, fix compilation
18031
18032 2005-10-09  Philippe Khalaf <burger@speedy.org>
18033         * gst/gstmessage.c:
18034           Fixed a few forgotten variables on previous commit
18035
18036 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
18037
18038         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18039           Fix evil typefind crasher: getrange() might return a short
18040           buffer at the end of a file, but gst_type_find_peek() must
18041           either return the full data as requested or NULL, but
18042           never a short buffer.
18043
18044 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18045
18046         * gst/gstmessage.c: (gst_message_new_state_changed),
18047         (gst_message_parse_state_changed):
18048         * gst/gstmessage.h:
18049           don't use "new", it's a C++ keyword
18050
18051 2005-10-08  Wim Taymans  <wim@fluendo.com>
18052
18053         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18054         * gst/gstelement.c: (gst_element_post_message):
18055         * gst/gstpipeline.c: (gst_pipeline_change_state):
18056         Small docs and debug updates.
18057
18058 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18059
18060         * docs/gst/gstreamer-sections.txt:
18061         * gst/gstelementfactory.c:
18062         * gst/gstevent.c:
18063         * gst/gsttaglist.c:
18064           more docs
18065
18066 2005-10-08  Wim Taymans  <wim@fluendo.com>
18067
18068         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18069         (gst_bin_dispose), (bin_bus_handler):
18070         Fix typos, add comments.
18071         Clear EOS list when going to PAUSED from any direction and do it
18072         in a threadsafe way.
18073         Get base time in a threadsafe way too.
18074         Fix confusing debug in the change_state function.
18075         Various other small cleanups.
18076         
18077         * gst/gstelement.c: (gst_element_post_message):
18078         Fix very verbose bus posting code.
18079
18080         * gst/gstpipeline.c: (gst_pipeline_class_init),
18081         (gst_pipeline_set_property), (gst_pipeline_get_property),
18082         (gst_pipeline_change_state):
18083         Small ARG_ -> PROP_ cleanup
18084
18085 2005-10-08  Wim Taymans  <wim@fluendo.com>
18086
18087         * gst/gstbin.c: (is_eos), (bin_bus_handler):
18088         Do a less CPU demanding EOS check because we can.
18089
18090 2005-10-08  Wim Taymans  <wim@fluendo.com>
18091
18092         * libs/gst/dataprotocol/dataprotocol.c:
18093         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18094         (gst_dp_packet_from_event):
18095         * libs/gst/dataprotocol/dataprotocol.h:
18096         * libs/gst/dataprotocol/dp-private.h:
18097         It's about time we bump the version number.
18098         Since event types don't fit in the guint8 anymore describing
18099         the payload type, make payload type 16 bits wide.
18100
18101 2005-10-08  Wim Taymans  <wim@fluendo.com>
18102
18103         * docs/design/part-TODO.txt:
18104         * docs/design/part-clocks.txt:
18105         * docs/design/part-events.txt:
18106         * docs/design/part-gstbin.txt:
18107         * docs/design/part-gstelement.txt:
18108         * docs/design/part-gstpipeline.txt:
18109         * docs/design/part-live-source.txt:
18110         * docs/design/part-messages.txt:
18111         * docs/design/part-overview.txt:
18112         * docs/design/part-states.txt:
18113         Many doc updates.
18114
18115 2005-10-08  Wim Taymans  <wim@fluendo.com>
18116
18117         * gst/gstevent.c:
18118         * gst/gstevent.h:
18119         Fix event quark registration.
18120         Add some space between events so we can insert them in the
18121         right groups.
18122
18123 2005-10-08  Wim Taymans  <wim@fluendo.com>
18124
18125         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18126         (gst_base_sink_handle_buffer):
18127         Better log message.
18128
18129         * gst/gstbus.h:
18130         * gst/gstelement.h:
18131         More docs.
18132
18133         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18134         (gst_queue_set_property), (gst_queue_get_property):
18135         * gst/gstqueue.h:
18136         Remove old unused properties.
18137
18138 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18139         * docs/gst/gstreamer-sections.txt:
18140         * gst/gstmessage.c:
18141         * gst/gstmessage.h:
18142         * gst/gstminiobject.c:
18143         * gst/gstminiobject.h:
18144         * gst/gstobject.h:
18145         * gst/gstpad.h:
18146         * gst/gstutils.h:
18147           lots of new docs and doc fixes
18148
18149 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18150
18151         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18152         * gst/gstplugin.h:
18153         * gst/gstregistry.c: (gst_registry_lookup_locked),
18154         (gst_registry_scan_path_level):
18155         * gst/gstregistryxml.c: (load_plugin):
18156           Only ever load one plugin for a given plugin basename.
18157           This ensures correct overriding of GST_PLUGIN_PATH over
18158           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18159           system installed plugins.
18160
18161 2005-10-08  Wim Taymans  <wim@fluendo.com>
18162
18163         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18164         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18165         Prepare for doing QOS.
18166
18167 2005-10-08  Wim Taymans  <wim@fluendo.com>
18168
18169         * check/gst/gstbin.c: (GST_START_TEST):
18170         * check/pipelines/cleanup.c: (GST_START_TEST):
18171         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18172         Allow new clock message too.
18173
18174 2005-10-08  Wim Taymans  <wim@fluendo.com>
18175
18176         * gst/gstmessage.c: (gst_message_new_error),
18177         (gst_message_new_warning), (gst_message_new_tag),
18178         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18179         (gst_message_new_clock_lost), (gst_message_new_new_clock),
18180         (gst_message_new_segment_start), (gst_message_new_segment_done),
18181         (gst_message_parse_state_changed),
18182         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18183         (gst_message_parse_new_clock):
18184         * gst/gstmessage.h:
18185         Also carry the clock in question.
18186
18187 2005-10-08  Wim Taymans  <wim@fluendo.com>
18188
18189         * gst/gstmessage.c: (gst_message_new_custom),
18190         (gst_message_new_eos), (gst_message_new_error),
18191         (gst_message_new_warning), (gst_message_new_tag),
18192         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18193         (gst_message_new_new_clock), (gst_message_new_segment_start),
18194         (gst_message_new_segment_done), (gst_message_parse_state_changed),
18195         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18196         * gst/gstmessage.h:
18197         Clean up.
18198         Added clock related messages.
18199
18200         * gst/gstpipeline.c: (gst_pipeline_change_state):
18201         Post message when the clock changed.
18202
18203         * tools/gst-launch.c: (event_loop):
18204         Print new clock.
18205
18206 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
18207
18208         * tools/gst-inspect.c: (print_element_properties_info):
18209           Can't pass NULL strings to g_print() on windows.
18210
18211 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18212
18213         * docs/Makefile.am:
18214         * docs/gst/Makefile.am:
18215         * docs/gst/gstreamer-docs.sgml:
18216         * docs/gst/running.xml:
18217         * docs/version.entities.in:
18218           add a chapter on running GStreamer.
18219           document GST_DEBUG and GST_PLUGIN* env vars
18220
18221 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18222
18223         * Makefile.am:
18224           remove include dir
18225         * configure.ac:
18226           remove PLUGINS_BUILDDIR stuff
18227         * gst/gst.c: (init_post):
18228           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18229         * idiottest.mak:
18230           remove, it was condescending and not needed
18231
18232 2005-10-08  Wim Taymans  <wim@fluendo.com>
18233
18234         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18235         (gst_base_sink_handle_object), (gst_base_sink_event),
18236         (gst_base_sink_wait), (gst_base_sink_handle_event),
18237         (gst_base_sink_change_state):
18238         * gst/base/gstbasesink.h:
18239         Repost EOS message while going to PLAYING if still EOS.
18240         Make sure that when receiving a FLUSH_START we don't attempt
18241         to sync on the clock anymore.
18242
18243 2005-10-08  Wim Taymans  <wim@fluendo.com>
18244
18245         * tools/gst-launch.c: (event_loop):
18246         Better message printout.
18247
18248 2005-10-08  Wim Taymans  <wim@fluendo.com>
18249
18250         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18251         (gst_bin_child_proxy_get_children_count):
18252         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18253         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18254         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18255         (gst_child_proxy_set_valist):
18256         * gst/parse/grammar.y:
18257         Make ChildProxy threadsafe and fix mem leaks.
18258
18259 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18260
18261         * gst/gst.c: (init_post):
18262           debug the GST_PLUGIN_ env vars
18263
18264 2005-10-08  Wim Taymans  <wim@fluendo.com>
18265
18266         * check/gst/gstbin.c: (GST_START_TEST):
18267         * check/gst/gstmessage.c: (GST_START_TEST):
18268         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18269         * gst/gstelement.c: (gst_element_commit_state),
18270         (gst_element_lost_state):
18271         * gst/gstmessage.c: (gst_message_new_state_changed),
18272         (gst_message_parse_state_changed):
18273         * gst/gstmessage.h:
18274         * tools/gst-launch.c: (event_loop):
18275         Added extra field to STATE_CHANGE message with the pending
18276         state, which will be different from the new state soon.
18277
18278 2005-10-08  Wim Taymans  <wim@fluendo.com>
18279
18280         * gst/gstbus.c: (gst_bus_pop):
18281         * gst/gstclock.c:
18282         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18283         Small cleanups and doc updates.
18284
18285 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18286
18287         * gst/gst.c: (init_pre):
18288         * gst/gstbin.c: (gst_bin_add_func):
18289           log distributing clocks and base time
18290         * gst/gstregistry.c: (gst_registry_add_plugin),
18291         (gst_registry_scan_path_level), (gst_registry_scan_path):
18292           clean up the debugging output a little
18293         * gst/gstutils.c: (gst_element_state_get_name):
18294           warn about a memleak (I've actually seen this be used, though
18295           it was probably a bug)
18296
18297 2005-10-07  Wim Taymans  <wim@fluendo.com>
18298
18299         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18300         (gst_base_src_init), (gst_base_src_default_newsegment),
18301         (gst_base_src_newsegment), (gst_base_src_do_seek),
18302         (gst_base_src_loop), (gst_base_src_start):
18303         * gst/base/gstbasesrc.h:
18304         Make the newsegment event customizable by subclasses.
18305
18306 2005-10-07  Wim Taymans  <wim@fluendo.com>
18307
18308         * gst/gstevent.c: (gst_event_new_buffersize),
18309         (gst_event_parse_buffersize):
18310         * gst/gstevent.h:
18311         New event for future idea.
18312
18313 2005-10-07  Andy Wingo  <wingo@pobox.com>
18314
18315         * gst/gstelement.c (gst_element_post_message): Doc update.
18316
18317         * docs/gst/gstreamer-sections.txt: Update.
18318
18319         * gst/gstmessage.c (gst_message_new_application): Made into a
18320         function like honest API calls.
18321         (gst_message_new_element): New message type.
18322
18323         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18324
18325         * check/elements/fakesrc.c (test_no_preroll): New check, checks
18326         that setting a live fakesrc to PAUSED returns NO_PREROLL both
18327         times.
18328
18329         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18330         NO_PREROLL from gst_element_change_state to fall through.
18331
18332 2005-10-07  Wim Taymans  <wim@fluendo.com>
18333
18334         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18335         (gst_ghost_pad_do_activate_push):
18336         Activating a ghostpad with no internal pad in push mode
18337         is ok.
18338
18339 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18340
18341         * gst/gstobject.h:
18342           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18343           Fixes compilation on Windows.
18344
18345 2005-10-07  Michael Smith <msmith@fluendo.com>
18346
18347         * tools/gst-inspect.c:
18348           Print out feature and plugin count at the end when printing out
18349           all features.
18350
18351 2005-10-04  Michael Smith <msmith@fluendo.com>
18352
18353         * gst/gsterror.c: (_gst_stream_errors_init):
18354           Add another error string used in a few existing plugins.
18355
18356         * gst/gstplugin.c:
18357         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18358         * tools/gst-inspect.c: (print_element_info):
18359           When a feature disappears from a plugin (and the feature exists in
18360           the cached registry file), things went horribly wrong. This isn't a
18361           complete fix, we should actually be removing the 'missing' features
18362           from the features list when we load the actual plugin. That's not
18363           yet implemented. 
18364
18365 2005-10-04  Johan Dahlin  <johan@gnome.org>
18366
18367         * check/gst/gstiterator.c: (GST_START_TEST):
18368         * gst/gstbin.c: (gst_bin_iterate_elements),
18369         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18370         * gst/gstelement.c: (gst_element_iterate_pads):
18371         * gst/gstformat.c: (gst_format_iterate_definitions):
18372         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18373         (gst_iterator_new_list), (gst_iterator_filter):
18374         * gst/gstiterator.h:
18375         * gst/gstquery.c: (gst_query_type_iterate_definitions):
18376         Add a GType to GstIterator, update callsites and tests.
18377
18378 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18379
18380         * gst/gstpad.c: (gst_pad_event_default_dispatch):
18381           give events a chance to be handled by event probes when the pad
18382           is not linked
18383
18384 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18385
18386         * gst/gstevent.c: (gst_event_type_get_name),
18387         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18388         * gst/gstevent.h:
18389           add string representations for event types
18390
18391 2005-10-06  Wim Taymans  <wim@fluendo.com>
18392
18393         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18394         Don't use NULL pointers.
18395
18396 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18397
18398         * gst/gst_private.h:
18399         * gst/gstbus.c:
18400         * gst/gstelement.c:
18401         * gst/gstinfo.c:
18402         * gst/gstpluginfeature.c:
18403           widen the debug category in output to fit the biggest one we have
18404           add a bus category and use it
18405           play with the colors
18406           fix up some categories
18407
18408 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18409
18410         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18411           add push activation of sink ghost pads.
18412           Andye, please verify
18413
18414 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18415
18416         * gst/gstutils.c: (gst_element_link_pads):
18417           fix a bug in the case where neither element has a pad
18418         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18419           add a test for that case
18420
18421 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18422
18423         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18424           emit have-data before checking for peers.  This allows
18425           for probe handlers to connect elements.  This helps autopluggers.
18426         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18427         (gst_pad_suite):
18428           add six checks, linked/unlinked with no/true/false probe
18429
18430 2005-10-04  Wim Taymans  <wim@fluendo.com>
18431
18432         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18433         (gst_fake_sink_event), (gst_fake_sink_preroll),
18434         (gst_fake_sink_render), (gst_fake_sink_change_state):
18435         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18436         (gst_fake_src_get_property), (gst_fake_src_create),
18437         (gst_fake_src_stop):
18438         * gst/elements/gstidentity.c: (gst_identity_stop):
18439         Protect last_message with lock.
18440
18441 2005-10-04  Edward Hervey  <edward@fluendo.com>
18442
18443         * gst/gstformat.h: 
18444         Added precision in the comments for GST_FORMAT_DEFAULT
18445
18446 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
18447
18448         * tools/gst-launch.c: (main):
18449           Don't try to run erroneous pipelines.
18450
18451 2005-10-04  Julien MOUTTE  <julien@moutte.net>
18452
18453         * gst/gstbus.c: We don't need this header.
18454
18455 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18456
18457         * configure.ac:
18458           back to development
18459
18460 === release 0.9.3 ===
18461
18462 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18463
18464         * README:
18465         * configure.ac:
18466           Releasing 0.9.3, "Unregistered"
18467
18468 2005-10-03  Andy Wingo  <wingo@pobox.com>
18469
18470         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18471         whereby calling a pad's activatepush() function can start a thread
18472         that starts to push or pull before the pad gets the FLUSHING flag
18473         unset. Hack around it by holding the stream lock until the flag is
18474         set. Need to replace this with a proper solution. Together with
18475         the ghost pad fixes, this fixes mp3 playing/tagreading.
18476
18477         * docs/design/part-gstghostpad.txt: Add a note about activation of
18478         proxy pads outside of ghost pads.
18479
18480         * gst/gstghostpad.c: Implement the ghost pad activation design.
18481
18482 2005-10-02  Andy Wingo  <wingo@pobox.com>
18483
18484         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18485         It is volatile, after all.
18486
18487         * docs/design/part-gstghostpad.txt: Flesh out activation with
18488         ghost pads.
18489
18490         * gst/base/gstbasesrc.c (gst_base_src_init): Use
18491         GST_DEBUG_FUNCPTR.
18492
18493 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
18494
18495         * configure.ac:
18496           Fix (unused) AM_CONDITIONAL tests.
18497
18498 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
18499
18500         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18501
18502         * gst/gstutils.c: (gst_pad_query_convert):
18503           Add assertion that makes sure src_val is >=0, just like
18504           gst_query_new_convert() has. (#315895)
18505
18506 2005-09-30  Edward Hervey  <edward@fluendo.com>
18507
18508         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18509         Let's not iterate pads we're not interested in, it avoids getting 
18510         sky-high refcounts on sinkpad.
18511
18512 2005-09-30  Wim Taymans  <wim@fluendo.com>
18513
18514         * gst/gstelement.c: (gst_element_set_state),
18515         (gst_element_change_state):
18516         Small tweak, element in ASYNC remains ASYNC.
18517
18518 2005-09-30  Wim Taymans  <wim@fluendo.com>
18519
18520         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18521         Only error is an error.
18522
18523         * gst/gstbin.c: (gst_bin_change_state):
18524         Better debugging.
18525
18526         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18527         Also call pad_block in pad alloc.
18528
18529         * gst/gstutils.c: (gst_flow_get_name):
18530         Better debugging.
18531
18532 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18533
18534         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18535         (gst_base_src_get_range):
18536           Fix documentation typos. Add some more debug info.
18537
18538 2005-09-29  David Schleef  <ds@schleef.org>
18539
18540         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18541           more end-user friendly.
18542         * tools/gst-inspect.c: (main): Check if command-line argument is
18543           a file and attempt to load that file as a plugin.
18544
18545 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18546
18547         * check/gst/gstbin.c:
18548         * check/states/sinks.c:
18549           fix tests for the new warning
18550         * check/gst/gstpipeline.c:
18551           add a test for pipeline and bus interaction
18552         * gst/gstelement.c:
18553           elements should be NULL if they get disposed; add a warning if not
18554
18555 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18556
18557         * gst/gstobject.c:
18558           for 2.6 refcounting, make debug log more correct by printing
18559           the actual refcounts at the time of swap (Wim)
18560
18561 2005-09-29  Andy Wingo  <wingo@pobox.com>
18562
18563         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18564         removes signal watches previously added via
18565         gst_bus_add_signal_watch.
18566         (gst_bus_add_signal_watch): Don't return the source id, just store
18567         it on the bus if there wasn't an id already.
18568
18569         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18570         add_signal_watch and remove_signal_watch.
18571
18572 2005-09-29  Edward Hervey  <edward@fluendo.com>
18573
18574         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
18575         Better if we actually iterate the list :)
18576
18577 2005-09-29  Wim Taymans  <wim@fluendo.com>
18578
18579         * check/gst/gstbin.c: (GST_START_TEST):
18580         Change for new bus API.
18581
18582         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18583         (send_messages), (GST_START_TEST), (gstbus_suite):
18584         Change for new bus signal API.
18585
18586         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18587         (gst_bus_source_prepare), (gst_bus_source_check),
18588         (gst_bus_create_watch), (gst_bus_add_watch_full),
18589         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18590         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18591         * gst/gstbus.h:
18592         Remove support for multiple GSources operating on different
18593         message types as it is too complex and unneeded when using
18594         signals.
18595         Added support for receiving signals from the bus.
18596
18597 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18598
18599         * docs/libs/tmpl/gstdataprotocol.sgml:
18600         * docs/manual/advanced-dataaccess.xml:
18601         * gst/elements/gstcapsfilter.c:
18602         * gst/gstutils.c:
18603           rename filter-caps to caps property
18604
18605 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18606
18607         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18608           More robust fraction string parsing.
18609
18610         * docs/pwg/appendix-porting.xml:
18611           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18612
18613 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18614
18615         * gst/gstcaps.c: (gst_caps_do_simplify):
18616           Thou shalt not free a structure and then continue using it
18617           in the next loop iteration.
18618
18619         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18620         (gst_caps_suite):
18621           Add test case for caps simplification.
18622
18623 2005-09-29  Wim Taymans  <wim@fluendo.com>
18624
18625         * check/gst/gstbin.c: (GST_START_TEST):
18626         Oops.
18627
18628 2005-09-29  Wim Taymans  <wim@fluendo.com>
18629
18630         * check/gst/gstbin.c: (GST_START_TEST):
18631         Add bus to bin.
18632
18633         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18634         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18635         (find_element), (gst_bin_sort_iterator_next),
18636         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18637         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18638         (gst_bin_change_state), (gst_bin_dispose):
18639         A bin does not have a bus, it gets the bus from the parent.
18640
18641         * gst/gstelement.c: (gst_element_requires_clock),
18642         (gst_element_provides_clock), (gst_element_is_indexable),
18643         (gst_element_is_locked_state), (gst_element_change_state),
18644         (gst_element_set_bus_func):
18645         Small cleanups.
18646
18647         * gst/gstpipeline.c: (gst_pipeline_class_init),
18648         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18649         The pipeline provides a bus.
18650
18651 2005-09-28  Johan Dahlin  <johan@gnome.org>
18652
18653         * gst/gstmessage.c (gst_message_parse_state_changed): Use
18654         gst_structure_get_enum instead of gst_structure_get_int
18655
18656         * gst/gststructure.c (gst_structure_get_enum): Impl.
18657
18658         * gst/gststructure.h (gst_structure_get_enum): Add
18659
18660         * docs/gst/gstreamer-sections.txt: Ditto
18661
18662         * gst/gstmessage.c (gst_message_new_state_changed): Use
18663         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18664         which does introspection.
18665         Reviewed by Christian Schaller
18666
18667 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18668
18669         * gst/gstinfo.c: (gst_debug_log_default):
18670           don't do dummy g_strdup()s
18671         * libs/gst/controller/gstcontroller.c:
18672         (on_object_controlled_property_changed),
18673         (gst_controlled_property_new), (gst_controller_new_valist),
18674         (gst_controller_new_list),
18675         (gst_controller_remove_properties_valist), (gst_controller_set),
18676         (gst_controller_get), (gst_controller_sync_values),
18677         (gst_controller_get_value_array), (_gst_controller_class_init),
18678         (gst_controller_get_type):
18679         * libs/gst/controller/gstcontroller.h:
18680         * libs/gst/controller/gstinterpolation.c:
18681         (gst_controlled_property_find_timed_value_node):
18682           convert // to /**/ comments
18683
18684 2005-09-28  Wim Taymans  <wim@fluendo.com>
18685
18686         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18687         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18688         (gst_bus_sync_signal_handler):
18689         * gst/gstbus.h:
18690         Added async-message and sync-message signals to the bus.
18691         Added helper BusFunc to emit signals for all posted messages.
18692
18693         * gst/gstmessage.c: (gst_message_type_get_name),
18694         (gst_message_type_to_quark), (gst_message_get_type):
18695         * gst/gstmessage.h:
18696         Register quarks for message names.
18697
18698 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18699
18700         * docs/libs/gstreamer-libs-sections.txt:
18701         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18702         (gst_controller_new_list):
18703         * libs/gst/controller/gstcontroller.h:
18704           added another constructor for language bindings
18705
18706 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18707
18708         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18709           add another check
18710         * gst/gstbus.c:
18711           add some doc
18712         * gst/gstinfo.c: (_gst_debug_init):
18713           slightly more readable color for refcount debugging
18714
18715 2005-09-28  Wim Taymans  <wim@fluendo.com>
18716
18717         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18718         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18719         (find_element), (gst_bin_sort_iterator_next),
18720         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18721         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18722         (gst_bin_change_state), (gst_bin_dispose):
18723         Small doc fixes. get_clock -> provide_clock.
18724
18725         * gst/gstelement.c: (gst_element_class_init),
18726         (gst_element_provides_clock), (gst_element_provide_clock),
18727         (gst_element_get_clock), (gst_element_commit_state),
18728         (gst_element_lost_state):
18729         * gst/gstelement.h:
18730         Make get/set_clock() symetric. Add provide_clock vmethod since
18731         that is actually what this function does.
18732
18733         * gst/gstpipeline.c: (gst_pipeline_class_init),
18734         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18735         (gst_pipeline_get_clock):
18736         get_clock -> provide_clock.
18737
18738 2005-09-28  Andy Wingo  <wingo@pobox.com>
18739
18740         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18741         lieu of real docs...
18742
18743         * gst/elements/gstfdsrc.c: Cleaned up a bit.
18744
18745 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
18746
18747         * gst/elements/gstcapsfilter.c:
18748         * gst/elements/gstfakesink.c:
18749         * gst/elements/gstfakesrc.c:
18750         * gst/elements/gstfdsink.c:
18751         * gst/elements/gstfdsrc.c:
18752         * gst/elements/gstfilesink.c:
18753         * gst/elements/gstfilesrc.c:
18754         * gst/elements/gstidentity.c:
18755         * gst/elements/gsttee.c:
18756         * gst/elements/gsttypefindelement.c:
18757           Make element details static.
18758
18759 2005-09-28  Wim Taymans  <wim@fluendo.com>
18760
18761         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18762         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18763         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18764         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18765         (gst_bin_change_state), (gst_bin_dispose):
18766         Some documentation updates.
18767         Clean up dispose handlers.
18768
18769         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18770         * gst/gstpad.c: (gst_pad_dispose):
18771         Clean up dispose handler.
18772
18773         * gst/gstpipeline.c: (gst_pipeline_change_state):
18774         Removed spurious UNLOCK.
18775
18776 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
18777
18778         * docs/gst/gstreamer-sections.txt:
18779         * gst/base/gstbasesrc.h:
18780         * gst/gstelement.h:
18781         * gst/gstevent.h:
18782         * gst/gstobject.h:
18783         * gst/gstpad.h:
18784         * gst/gstpipeline.c:
18785         * gst/gstpipeline.h:
18786         * gst/gstutils.h:
18787         * gst/gstxml.h:
18788           added two new functions to the docs
18789                 documents all undocumented GstXXXFlags
18790                 completed some incomplete docs 
18791
18792 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18793
18794         * gst/gstbin.c: (gst_bin_dispose):
18795         * gst/gstelement.c: (gst_element_dispose):
18796           remove now useless and leaky resurrection code in dispose
18797         * gst/base/gstbasesrc.c: (gst_base_src_init):
18798         * gst/gstelementfactory.c: (gst_element_factory_create):
18799         * gst/gstobject.c: (gst_object_set_parent):
18800           add some debugging
18801
18802 2005-09-27  Wim Taymans  <wim@fluendo.com>
18803
18804         * docs/design/part-TODO.txt:
18805         Update TODO.
18806
18807         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18808         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18809         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18810         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18811         (gst_bin_change_state):
18812         * gst/gstelement.h:
18813         Remove element variable, we keep element info in the iterator now.
18814
18815 2005-09-27  Andy Wingo  <wingo@pobox.com>
18816
18817         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18818         values.
18819
18820 2005-09-27  Wim Taymans  <wim@fluendo.com>
18821
18822         * check/gst/gstbin.c: (GST_START_TEST):
18823         Enable check that works now.
18824
18825         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18826         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18827         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18828         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18829         (gst_bin_change_state):
18830         * gst/gstbin.h:
18831         Redid the state change algorithm using a topological sort algo.
18832         Handles all cases correctly.
18833         Exposed iterator for state change order.
18834
18835         * gst/gstelement.h:
18836         Temp storage for state changes. Need to get rid of this soon.
18837
18838 2005-09-27  Wim Taymans  <wim@fluendo.com>
18839
18840         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18841         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18842         (link_fold_func), (gst_pad_proxy_setcaps):
18843         Leak fixes, the fold functions need to unref the passed object and
18844         _get_parent_*() returns ref to parent.
18845
18846 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18847
18848         * check/gst/gstbuffer.c: (test_make_writable):
18849           Plug leak in test case and fix 'make check-valgrind'
18850
18851 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18852
18853         * gst/gstbuffer.c: (gst_subbuffer_init):
18854           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18855           works correctly in all circumstances (we could have just copied
18856           the parent buffer's readonly flag, but conceptually it seems
18857           cleaner to mark all subbuffers as read-only). (based on patch
18858           by Alessandro Decina, #314710).
18859         
18860         * check/gst/gstbuffer.c: (create_read_only_buffer),
18861         (test_make_writable), (test_subbuffer_make_writable),
18862         (gst_test_suite):
18863           Add some tests for gst_buffer_make_writable().
18864
18865 2005-09-27  Wim Taymans  <wim@fluendo.com>
18866
18867         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18868         use gst_object_has_ancestor().
18869
18870         * gst/gstobject.c: (gst_object_has_ancestor):
18871         * gst/gstobject.h:
18872         gst_object_has_ancestor() copied from gstbin.c as it is a
18873         useful function.
18874
18875         * tests/instantiate/create.c: (create_all_elements):
18876         * tests/lat.c: (handoff_src), (handoff_sink):
18877         * tests/sched/runxml.c: (main):
18878         * tests/seeking/seeking1.c: (main):
18879         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18880         (main):
18881         Fix compilation of some tests.
18882
18883 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18884
18885         * gst/gsterror.h:
18886           Remove comment. GST_TYPE_G_ERROR is here to stay,
18887           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18888           (#316961, #300610).
18889
18890 2005-09-26  Wim Taymans  <wim@fluendo.com>
18891
18892         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18893         Added check that shows error in state change order.
18894
18895 2005-09-26  Wim Taymans  <wim@fluendo.com>
18896
18897         * gst/gstbin.c: (gst_bin_change_state):
18898         Make state change function use 3 queues again, we were
18899         adding elements in the wrong order.
18900
18901         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18902         Some debug info,
18903
18904         * gst/gstpad.c: (gst_pad_dispose):
18905         Added some debug info first.
18906
18907 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
18908
18909         * docs/design/draft-push-pull.txt:
18910         * docs/design/part-events.txt:
18911         * docs/design/part-overview.txt:
18912         * docs/design/part-scheduling.txt:
18913           Replace all _pull_region() with _pull_range()
18914           
18915 2005-09-26  Andy Wingo  <wingo@pobox.com>
18916
18917         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18918
18919         * check/gst-libs/controller.c: Update for controller api change.
18920
18921         * configure.ac: 
18922         * tests/Makefile.am:
18923         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18924         over by GLib bug 118439.
18925         
18926         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18927         routines to a function.
18928
18929         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18930
18931         * libs/gst/controller/gsthelper.c:
18932         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18933         (gst_object_sync_values): Renamed from sink_values. Ugh.
18934
18935         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18936
18937         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18938         Renamed from controller_key, as it is exported.
18939
18940         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18941
18942 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
18943
18944         * gst/Makefile.am:
18945         * gst/gst.h:
18946         * gst/gstpad.h:
18947         * gst/gstpadtemplate.h:
18948         * gst/gstquery.c:
18949         * gst/gstquery.h:
18950         * gst/gstqueryutils.c:
18951         * gst/gstqueryutils.h:
18952           remove queryutils headers after moving the two used functions
18953           to gstquery.  also fixes build problem for gstsiddec
18954
18955 2005-09-26  Michael Smith <msmith@fluendo.com>
18956
18957         * tools/gst-launch.1.in:
18958         Correct documentation in manpage of debug syntax
18959
18960 2005-09-26  Wim Taymans  <wim@fluendo.com>
18961
18962         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18963         (gst_base_src_is_seekable), (gst_base_src_change_state):
18964         Some more debugging info.
18965
18966 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18967
18968         * docs/gst/gstreamer-sections.txt:
18969         * gst/base/gstbasetransform.h:
18970         * gst/gstindex.h:
18971           added more docs
18972
18973 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18974
18975         * docs/gst/.cvsignore:
18976         * docs/gst/tmpl/.cvsignore:
18977         * docs/gst/tmpl/gstpipeline.sgml:
18978         * docs/gst/tmpl/gstplugin.sgml:
18979         * gst/gstpipeline.c:
18980         * gst/gstplugin.c:
18981         * gst/gstplugin.h:
18982           inlined the last two docs files
18983           removed the tmpl directory from cvs (no more conflicts here!)
18984
18985 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18986
18987         * docs/gst/gstreamer-sections.txt:
18988         * docs/gst/tmpl/.cvsignore:
18989         * docs/gst/tmpl/gstpad.sgml:
18990         * docs/gst/tmpl/gstpadtemplate.sgml:
18991         * gst/Makefile.am:
18992         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18993         (gst_pad_finalize), (gst_pad_set_pad_template):
18994         * gst/gstpad.h:
18995         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18996         (gst_pad_template_class_init), (gst_pad_template_init),
18997         (gst_pad_template_dispose), (name_is_valid),
18998         (gst_static_pad_template_get), (gst_pad_template_new),
18999         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19000         (gst_pad_template_pad_created):
19001         * gst/gstpadtemplate.h:
19002           inlined two more docs
19003           factored gstpadtemplate out of gstpad
19004
19005 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
19006
19007         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19008         (test_children_state_change_order_semi_sink):
19009           Fix test case: we can't rely on a fixed state change order when
19010           going from READY => PAUSED because the sink might commit its 
19011           new state first when the first buffer created by the source 
19012           reaches the sink before the source has finished its change state.
19013           (Test case still fails at times, see #316856, comment 5 onwards)
19014
19015 2005-09-24  Wim Taymans  <wim@fluendo.com>
19016
19017         * docs/design/part-events.txt:
19018         * docs/design/part-gstbus.txt:
19019         * docs/design/part-gstpipeline.txt:
19020         * docs/design/part-messages.txt:
19021         * docs/design/part-overview.txt:
19022         * docs/design/part-segments.txt:
19023         * gst/gstbin.c:
19024         * gst/gstbuffer.c:
19025         * gst/gstclock.c:
19026         * gst/gstelement.c:
19027         * gst/gstevent.c:
19028         * gst/gstfilter.c:
19029         * gst/gstiterator.c:
19030         Various documentation updates.
19031
19032 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19033
19034         * gst/gstclock.h:
19035           Well, that's embarassing.  Luckily we weren't using
19036           GST_CLOCK_DIFF anywhere.
19037
19038 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19039
19040         * common/gtk-doc.mak:
19041           don't fail on building XML, FC4 slave shows a bunch of doc
19042           missing bits that I don't get
19043         * gst/gstpad.c:
19044         * gst/gstpipeline.c:
19045         * gst/gststructure.c:
19046           some doc updates
19047
19048 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19049
19050         * docs/design/part-gstbin.txt:
19051         * docs/design/part-gstbus.txt:
19052         * gst/gstbus.c:
19053           Add blurb about how the bus goes into flushing mode and
19054           drops all messages when its bin goes from READY into NULL 
19055           state.
19056
19057 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19058
19059         * docs/gst/gstreamer-sections.txt:
19060         * gst/gststructure.c: (gst_structure_get_clock_time):
19061         * gst/gststructure.h:
19062           add a method to get a GstClockTime out of a structure
19063
19064 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19065
19066         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19067         (test_children_state_change_order_semi_sink), (gst_bin_suite):
19068           Added test to check state change order in bins (can still be made
19069           to fail here under heavy disk load; bails out with 'Push on pad
19070           fakesink:sink0, but it was not activated in push mode').
19071
19072         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19073           Fix state change order when there is only a semi sink (#316856)
19074
19075         * gst/gstbus.c: (gst_bus_class_init):
19076           Use _class_peek_parent(), not _class_ref(); fix docs to say
19077           'default main context' instead of 'mainloop' where that is
19078           what's meant.
19079
19080         * gst/gstelement.c: (gst_element_commit_state),
19081         (gst_element_set_state):
19082           Fix typos in debug messages
19083
19084 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19085
19086         * docs/README:
19087         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19088         * gst/gstpluginfeature.c:
19089         * gst/gstutils.c:
19090           various doc updates
19091         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19092           change an assert into an error until it gets fixed properly
19093
19094 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
19095
19096         * docs/gst/gstreamer-sections.txt:
19097         * docs/gst/tmpl/.cvsignore:
19098         * docs/gst/tmpl/gstelement.sgml:
19099         * docs/gst/tmpl/gstinfo.sgml:
19100         * docs/gst/tmpl/gstobject.sgml:
19101         * gst/gstelement.c:
19102         * gst/gstelement.h:
19103         * gst/gstinfo.c:
19104         * gst/gstinfo.h:
19105         * gst/gstobject.c: (gst_object_class_init):
19106         * gst/gstobject.h:
19107           inlined 3 more biiiig doc files and added some missing docs on the fly
19108
19109 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19110
19111         * check/gst/.cvsignore:
19112         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19113         * gst/gstregistryxml.c: (load_plugin),
19114         (gst_registry_xml_save_plugin):
19115           put back source in registry.  add checks for find_plugin.
19116         * testsuite/states/bin.c: (assert_state), (empty_bin),
19117         (test_adding_one_element), (main):
19118         * testsuite/states/locked.c: (main):
19119           some compile/run fixes
19120
19121 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19122
19123         * check/gst/gstvalue.c: (GST_START_TEST):
19124           fix leaks in the test itself
19125
19126 2005-09-22  Wim Taymans  <wim@fluendo.com>
19127
19128         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19129         (gst_base_sink_send_event), (gst_base_sink_peer_query),
19130         (gst_base_sink_query):
19131         Prepare for more accurate position reporting and query
19132         handling.
19133
19134         * gst/gstelement.c: (gst_element_send_event),
19135         (gst_element_set_state):
19136         Add some comment.
19137
19138 2005-09-22  Wim Taymans  <wim@fluendo.com>
19139
19140         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19141         (gst_query_parse_segment):
19142         * gst/gstquery.h:
19143         More documentation.
19144         Add segment query for future use.
19145
19146 2005-09-22  Wim Taymans  <wim@fluendo.com>
19147
19148         * gst/gstbin.c: (gst_bin_add_func):
19149         Some more debug info.
19150
19151         * gst/gstelement.c: (gst_element_send_event):
19152         Simplify send_event
19153
19154         * gst/gstelement.h:
19155         Don't know how flags got broken.
19156
19157         * gst/gstquery.h:
19158         Added new query.
19159
19160 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19161
19162         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19163           Add simplistic test suite for GST_TYPE_DATE serialisation and
19164           deserialisation.
19165
19166 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19167
19168         * docs/gst/gstreamer-sections.txt:
19169         * gst/gststructure.c: (gst_structure_set_valist),
19170         (gst_structure_get_date):
19171         * gst/gststructure.h:
19172         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19173         (gst_date_copy), (gst_value_compare_date),
19174         (gst_value_serialize_date), (gst_value_deserialize_date),
19175         (gst_value_transform_date_string),
19176         (gst_value_transform_string_date), (_gst_value_initialize):
19177         * gst/gstvalue.h:
19178           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19179           bunch of utility functions along with a hack that checks that
19180           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19181           is required. Part of the grand scheme in #170777.
19182
19183 2005-09-22  Andy Wingo  <wingo@pobox.com>
19184
19185         * gst/gstconfig.h.in: Psych out gtk-doc.
19186
19187         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19188
19189         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19190
19191         * tools/gst-inspect.c (print_element_list): Plug some
19192         inconsequential leaks.
19193
19194         * gst/gstregistry.c (gst_registry_get_default): Doc.
19195
19196         * check/gst/gstplugin.c: 
19197         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19198         * gst/gstelementfactory.c (gst_element_factory_create): 
19199         * gst/gstindexfactory.c (gst_index_factory_create): Update for
19200         refcount changes.
19201
19202         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19203         (gst_plugin_feature_load): Doc, don't eat refs.
19204
19205         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19206         (gst_plugin_list_free): Doc.
19207         (gst_plugin_load_file): Doc updates.
19208
19209         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19210         accessors returning refcounted objects, return a ref.
19211
19212         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19213         accessor for caps. IDEMPOTENCE. Oh yes.
19214
19215 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
19216
19217         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19218
19219         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19220         (_gst_debug_register_funcptr):
19221           Add mutex to serialise access to the hash table with
19222           the function pointer => function name string mapping;
19223           make that hash table static scope (#316809).
19224
19225         * gst/registries/.cvsignore:
19226           Remove left-over file.
19227
19228 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19229
19230         * docs/pwg/appendix-porting.xml:
19231           And something about newsegment events and caps-on-buffers to
19232           the porting guide (feel free to improve).
19233
19234 2005-09-21  Andy Wingo  <wingo@pobox.com>
19235
19236         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19237         data and event probes on the same pad.
19238         (test_buffer_probe_once): Test that removing probes from within
19239         the probe functions works.
19240
19241 2005-09-21  Andy Wingo  <wingo@pobox.com>
19242
19243         * check/gst/gstutils.c: New file.
19244         (test_buffer_probe_n_times): A simple buffer probe test. More to
19245         come, foolios.
19246
19247         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19248         have-data::buffer, not have-data.
19249         (gst_pad_add_event_probe): Likewise for have-data::event.
19250         (gst_pad_add_data_probe): More docs. The part about 'resolving the
19251         peer' isn't quite right yet though.
19252         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
19253         (gst_pad_remove_data_probe): Change to take the guint handler_id
19254         as their arg, not the function+data, which is more glib-like.
19255
19256         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19257         the signal emission to indicate if the data is a buffer or an
19258         event.
19259         (gst_pad_get_type): Initialize buffer and event quarks.
19260         (gst_pad_class_init): have-data is now a detailed signal, yes it
19261         is.
19262
19263 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19264
19265         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19266         * gst/gstutils.c: (gst_util_set_value_from_string),
19267         (gst_util_set_object_arg):
19268           Don't put functional code in g_return_if_fail() or
19269           g_return_val_if_fail() statements, otherwise things will 
19270           break when G_DISABLE_CHECKS is defined during compilation.
19271
19272 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19273
19274         * docs/gst/tmpl/.cvsignore:
19275         * docs/gst/tmpl/gstvalue.sgml:
19276         * gst/gstvalue.c:
19277         * gst/gstvalue.h:
19278           inlied another one and added  some obvious docs
19279
19280 2005-09-21  Wim Taymans  <wim@fluendo.com>
19281
19282         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19283         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19284         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19285         (gst_fdsrc_get_property), (gst_fdsrc_create):
19286         * gst/elements/gstfdsrc.h:
19287         Properly implement fdsrc. Removed signal and timeout,
19288         better implemented somewhere else.
19289
19290 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19291
19292         * docs/gst/tmpl/.cvsignore:
19293         * docs/gst/tmpl/gstimplementsinterface.sgml:
19294         * gst/gstinterface.c:
19295           inlined more docs
19296
19297 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19298
19299         * docs/gst/gstreamer-sections.txt:
19300         * docs/gst/tmpl/.cvsignore:
19301         * docs/gst/tmpl/gstenumtypes.sgml:
19302           remove obsolete doc file
19303
19304 2005-09-21  David Schleef  <ds@schleef.org>
19305
19306         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19307         little beer, fix a little leak.
19308
19309 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19310
19311         * docs/gst/gstreamer-docs.sgml:
19312         * docs/gst/gstreamer-sections.txt:
19313         * docs/gst/tmpl/.cvsignore:
19314         * gst/Makefile.am:
19315         * gst/gst.h:
19316         * gst/gstbin.c:
19317         * gst/gstelement.h:
19318         * gst/gstindex.c: (gst_index_class_init):
19319         * gst/gstindex.h:
19320         * gst/gstindexfactory.c: (gst_index_factory_get_type),
19321         (gst_index_factory_class_init), (gst_index_factory_init),
19322         (gst_index_factory_finalize), (gst_index_factory_new),
19323         (gst_index_factory_destroy), (gst_index_factory_find),
19324         (gst_index_factory_create), (gst_index_factory_make):
19325         * gst/gstindexfactory.h:
19326         * gst/gstpluginfeature.c:
19327         * gst/gstpluginfeature.h:
19328         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19329           more docs inlined, splitted gstindex.{c,h}
19330
19331 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19332
19333         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19334           fix a leak
19335
19336 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19337
19338         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19339           Set sync to FALSE by default.
19340
19341 2005-09-20  Wim Taymans  <wim@fluendo.com>
19342
19343         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19344         (gst_base_sink_init):
19345         Make sync property settable from subclass.
19346
19347         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19348         (gst_fake_sink_change_state):
19349         Set sync to FALSE by default.
19350
19351 2005-09-20  Wim Taymans  <wim@fluendo.com>
19352
19353         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19354         * tools/gst-launch.c: (main):
19355         The timeout handler should have lower priority than the source
19356         so we don't timeout before popping a message with 0 timeout.
19357         Dump error messages after failed state change.
19358
19359 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19360
19361         * tools/gst-inspect.c: (print_element_properties_info):
19362           Fix two typos.
19363
19364 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19365
19366         * check/gst/gstevent.c:
19367         * gst/elements/gstfakesink.c:
19368         * gst/elements/gstfakesink.h:
19369           remove the sync property from fakesink.
19370           has the side effect of setting sync TRUE
19371           for fakesink, which is a change.  Anyone who knows how
19372           to fix this nicely in a GObject-y way, feel free.
19373
19374 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19375
19376         * docs/gst/gstreamer-docs.sgml:
19377           remove probe refsection
19378
19379 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19380
19381         * check/Makefile.am:
19382           disable valgrinding the controller test again
19383         * docs/gst/gstreamer-sections.txt:
19384           update for api-changes
19385
19386 2005-09-20  Wim Taymans  <wim@fluendo.com>
19387
19388         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19389         (gst_base_sink_set_property), (gst_base_sink_get_property),
19390         (gst_base_sink_do_sync):
19391         * gst/base/gstbasesink.h:
19392         Added sync property to basesink to disable clock sync.
19393
19394 2005-09-20  Andy Wingo  <wingo@pobox.com>
19395
19396         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19397         eating the caller's refcount.
19398
19399         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
19400         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19401         refcount.
19402
19403         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19404         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19405         of GLib 2.8 public, so we can know which refcount to check in
19406         tests.
19407
19408         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19409         (gst_object_init): Only set the gst refcount if we're going ahead
19410         with the refcount hack.
19411
19412 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19413
19414         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19415         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19416           more leaks plumbed, added more debug-logging
19417         * gst/gstmacros.h:
19418           whitespace fix
19419
19420 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19421
19422         * gst/gstmessage.c:
19423           remove include of gstmemchunk.h
19424
19425 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19426
19427         * gst/gstclock.c: (_gst_clock_id_free):
19428           Commit from the Political Party For More Atomic CVS Commits,
19429           so that people don't waste too much of their day fishing
19430           out obvious leaks out of massive commits.
19431           Oh, and fix a pretty damn obvious leak in the memchunk
19432           removal code.
19433
19434 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19435
19436         * check/Makefile.am:
19437         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19438           plug mem-leak, re-add to valgrindable tests
19439
19440 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19441
19442         * gst/gstplugin.h:
19443           unbreak the build for those who have chronic arthritis
19444           and typing "make check" is just too taxing on the hands
19445
19446 2005-09-20  Andy Wingo  <wingo@pobox.com>
19447
19448         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19449         really want it out, you should fix plugins at the same time.
19450
19451 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
19452
19453         * configure.ac:
19454         * docs/gst/gstreamer-sections.txt:
19455         * gst/gstobject.c:
19456           added missing symbols to api docs
19457           disable ref-count hack if we have glib >= 2.8
19458
19459 2005-09-19  David Schleef  <ds@schleef.org>
19460
19461         * docs/gst/Makefile.am: Ignore a few more internal headers
19462         * docs/gst/gstreamer-docs.sgml: Remove old sections
19463         * docs/gst/gstreamer-sections.txt: Remove old sections
19464         * docs/gst/tmpl/gstobject.sgml: update
19465         * docs/gst/tmpl/gstplugin.sgml: update
19466         * docs/gst/tmpl/gstpluginfeature.sgml: update
19467         * docs/random/ds/0.9-suggested-changes: update.
19468         * gst/Makefile.am: remove memchunk and trashstack, since they're
19469           not used.
19470         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19471         * gst/gst.h: don't include some headers
19472         * gst/gstchildproxy.c: add gstmarshal.h
19473         * gst/gstclock.c: Don't use memchunks
19474         * gst/gstminiobject.c: Add some docs
19475         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19476         * gst/gstobject.h: same
19477         * gst/gstplugin.c: include gstmacros.h
19478         * gst/gstplugin.h: don't include gstmacros.h, since it's private
19479         * gst/gstquery.c: don't use memchunks
19480         * gst/gstregistry.c: rename gst_registry_deinit()
19481         * gst/gstregistry.h: same
19482
19483 2005-09-19  David Schleef  <ds@schleef.org>
19484
19485         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19486         * docs/libs/gstreamer-libs-sections.txt:
19487         * docs/libs/tmpl/gstgetbits.sgml:
19488         * docs/libs/tmpl/gstputbits.sgml:
19489
19490 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
19491
19492         * win32/gstenumtypes.c:
19493         * win32/gstenumtypes.h:
19494           Update.
19495
19496 2005-09-19  Wim Taymans  <wim@fluendo.com>
19497
19498         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19499         Automatically PAUSE and RESUME a pipeline when a flushing seek
19500         is performed.
19501
19502 2005-09-19  Andy Wingo  <wingo@pobox.com>
19503
19504         * gst/gstregistry.h: Spacing fixen.
19505
19506 2005-09-19  Wim Taymans  <wim@fluendo.com>
19507
19508         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19509         Handle state change failure more correctly.
19510
19511 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19512
19513         * check/Makefile.am:
19514         * check/pipelines/cleanup.c: (run_pipeline):
19515         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19516         (GST_START_TEST):
19517           enable cleanup again after fixing the leak
19518         * docs/README:
19519           some more info on docs
19520
19521 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19522
19523         * check/Makefile.am:
19524           re-enable tests now that leaks are plugged
19525         * check/gst/gst.c:
19526         * check/gst/gstbin.c:
19527         * check/gst/gstpipeline.c:
19528           add some more tests while fixing leaks
19529         * common/check.mak:
19530           make sure binaries are uptodate when valgrinding/gdbing
19531         * gst/gst.c:
19532         * gst/gstelementfactory.c:
19533           remove a ref too many, and add a FIXME for when we get
19534           round to disposing of classes
19535         * gst/gstplugin.c:
19536           fix the refcounting when loading a plugin from a file and
19537           the code pretends that the pointer is the same even though
19538           of course it can change
19539         * gst/gstpluginfeature.c:
19540           unref plugins marked cached (a bit confusing as a name)
19541           as the docs state should be done
19542           various doc additions to explain refcounting
19543         * gst/gstregistry.c:
19544         * gst/gstregistryxml.c:
19545           debugging
19546
19547 2005-09-19  Wim Taymans  <wim@fluendo.com>
19548
19549         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19550         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19551         (send_messages), (GST_START_TEST), (gstbus_suite):
19552         * check/gst/gstpipeline.c: (GST_START_TEST):
19553         * check/pipelines/cleanup.c: (run_pipeline):
19554         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19555         (GST_START_TEST):
19556         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19557         (gst_bus_source_check), (gst_bus_source_dispatch),
19558         (gst_bus_create_watch), (gst_bus_add_watch_full),
19559         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19560         * gst/gstbus.h:
19561         * tools/gst-launch.c: (event_loop):
19562         * tools/gst-md5sum.c: (event_loop):
19563         GstBusHandler -> GstBusFunc, return value has the same meaning as
19564         any other GSource (FALSE == remove source).
19565         _add_watch() and _add_watch_full() now take a MessageType mask to
19566         only handle specific types of messages.
19567         _poll() returns the GstMessage instead of the message type to avoid
19568         race conditions.
19569         _have_pending() takes a MessageType mask now too.
19570         Added testsuite for multiple bus watches.
19571         Fix testsuites and applications for new bus API.
19572
19573 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19574
19575         * check/Makefile.am:
19576           mark a bunch of the tests as to fix until we fix them
19577
19578 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19579
19580         * common/check.mak:
19581           use GST_PLUGIN settings for valgrind tests as well, so we're
19582           valgrinding the correct thing
19583         * gst/gst.c: (init_post):
19584           plug another leak
19585
19586 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19587
19588         * gst/gst.c: (init_post), (gst_deinit):
19589         * gst/gstelementfactory.c: (gst_element_factory_class_init),
19590         (gst_element_factory_finalize), (gst_element_factory_cleanup):
19591         * gst/gstindex.c: (gst_index_factory_class_init),
19592         (gst_index_factory_finalize):
19593         * gst/gstobject.c: (gst_object_dispose):
19594         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19595         (gst_plugin_load_file), (gst_plugin_desc_free):
19596         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19597         (gst_plugin_feature_finalize):
19598         * gst/gstregistry.c: (gst_registry_class_init),
19599         (gst_registry_init), (gst_registry_finalize),
19600         (gst_registry_get_default), (gst_registry_deinit):
19601         * gst/gstregistry.h:
19602         * gst/gstregistryxml.c: (load_feature), (load_plugin):
19603           various cleanups and memleak plugging.  make valgrind is happy now.
19604
19605 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19606
19607         * common/check.mak:
19608           add a check-valgrind target
19609
19610 2005-09-18  David Schleef  <ds@schleef.org>
19611
19612         * tools/gst-inspect.c: Revert the GOption code.
19613
19614 2005-09-17  David Schleef  <ds@schleef.org>
19615
19616         * check/Makefile.am: Fix environment variables.
19617         * check/gst/gstplugin.c: Fix for API changes.
19618         * tools/gst-inspect.c: Fix for API changes.
19619         * tools/gst-xmlinspect.c: Fix for API changes.
19620         * gst/gstelementfactory.c:
19621         * gst/gstplugin.c:
19622         * gst/gstplugin.h:
19623         * gst/gstpluginfeature.c:
19624         * gst/gstpluginfeature.h:
19625         * gst/gstregistry.c:
19626         * gst/gstregistry.h:
19627         * gst/gstregistryxml.c:
19628         * gst/gsttypefind.c:
19629         * gst/gsttypefindfactory.c:
19630         * gst/indexers/gstfileindex.c:
19631         * gst/indexers/gstmemindex.c:
19632         * gst/schedulers/Makefile.am:
19633           Change registry to keep track of both plugins and features,
19634           removing the feature tracking from plugins themselves.
19635
19636 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19637
19638         * check/Makefile.am:
19639         * tools/gst-register.1.in:
19640           remove gst-register
19641
19642 2005-09-15  David Schleef  <ds@schleef.org>
19643
19644         * check/gst/gstplugin.c:
19645         * gst/gstelementfactory.c:
19646         * gst/gstplugin.c:
19647         * gst/gstpluginfeature.c:
19648         * gst/gstregistry.c:
19649           Getting tired of debugging.  Disabled all the unreffing of
19650           plugins and features, which fixes the segfaults, but of
19651           course leaks like crazy.  At least playbin works.
19652
19653 2005-09-15  David Schleef  <ds@schleef.org>
19654
19655         * check/gst/gstplugin.c: (register_check_elements),
19656         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19657         More testing
19658         * gst/elements/gsttypefindelement.c: Fix refcounting.
19659         * gst/gsttypefind.c:
19660         * gst/gsttypefindfactory.c:
19661         * gst/gsttypefindfactory.h:
19662
19663 2005-09-15  David Schleef  <ds@schleef.org>
19664
19665         * gst/gstindex.c: get refcounting correct.
19666         * gst/gstregistry.c: Handle the case where a feature/plugin is
19667           not found.
19668
19669 2005-09-15  David Schleef  <ds@schleef.org>
19670
19671         * check/Makefile.am:
19672         * check/gst/gstplugin.c: Add test
19673         * gst/gstplugin.c: Fix problems noticed by testsuite
19674         * gst/gstplugin.h:
19675         * gst/gstregistry.c: 
19676         * gst/gstregistry.h:
19677
19678 2005-09-15  David Schleef  <ds@schleef.org>
19679
19680         * gst/gstplugin.c: Implement semi-decent recounting and locking
19681           in plugins and plugin features.
19682         * gst/gstplugin.h:
19683         * gst/gstpluginfeature.c:
19684         * gst/gstpluginfeature.h:
19685         * gst/gstregistry.c:
19686
19687 2005-09-15  Michael Smith <msmith@fluendo.com>
19688
19689         * gst/gstregistry.c: (gst_registry_get_feature_list):
19690           Implement this. Makes oggdemux work; decodebin still broken.
19691
19692 2005-09-14  David Schleef  <ds@schleef.org>
19693
19694         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19695           #316076)
19696         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19697         * gst/check/Makefile.am:
19698         * libs/gst/controller/Makefile.am:
19699         * libs/gst/dataprotocol/Makefile.am:
19700
19701 2005-09-14  David Schleef  <ds@schleef.org>
19702
19703         * configure.ac: Remove getbits library.  Nothing uses it, and
19704           it should be in something like liboil if someone did want
19705           to use it.
19706         * libs/gst/Makefile.am:
19707         * libs/gst/getbits/Makefile.am:
19708         * libs/gst/getbits/gbtest.c:
19709         * libs/gst/getbits/getbits.c:
19710         * libs/gst/getbits/getbits.h:
19711         * libs/gst/getbits/gstgetbits_generic.c:
19712         * libs/gst/getbits/gstgetbits_i386.s:
19713         * libs/gst/getbits/gstgetbits_inl.h:
19714
19715 2005-09-14  David Schleef  <ds@schleef.org>
19716
19717         * gst/Makefile.am: Dist glib-compat.h
19718
19719 2005-09-14  David Schleef  <ds@schleef.org>
19720
19721         * configure.ac: Remove gst/registries, since it's no longer used.
19722         * gst/registries/Makefile.am:
19723         * gst/registries/gstlibxmlregistry.c:
19724         * gst/registries/gstlibxmlregistry.h:
19725         * gst/registries/gstxmlregistry.c:
19726         * gst/registries/gstxmlregistry.h:
19727         * gst/registries/registrytest.c:
19728
19729 2005-09-14  David Schleef  <ds@schleef.org>
19730
19731         * gst/glib-compat.h:
19732         * gst/gstregistryxml.c:
19733           Convergence is near.  Seriously.
19734
19735 2005-09-14  David Schleef  <ds@schleef.org>
19736
19737         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19738         * gst/glib-compat.h:
19739           Attempt #4 to appease the buildbots.
19740
19741 2005-09-14  David Schleef  <ds@schleef.org>
19742
19743         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19744           Attempt #3.
19745
19746 2005-09-14  David Schleef  <ds@schleef.org>
19747
19748         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19749         Attempt #2.
19750
19751 2005-09-14  David Schleef  <ds@schleef.org>
19752
19753         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19754           the new functions.
19755
19756 2005-09-14  David Schleef  <ds@schleef.org>
19757
19758         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19759         * gst/glib-compat.h: Add some functions that are in newer versions
19760           of glib than we care to require.
19761         * gst/gstregistryxml.c: Use them.
19762
19763 2005-09-14  David Schleef  <ds@schleef.org>
19764
19765         * po/POTFILES.in: remove gst-register.c
19766
19767 2005-09-14  David Schleef  <ds@schleef.org>
19768
19769         * docs/gst/gstreamer-docs.sgml:
19770         * docs/gst/gstreamer-sections.txt:
19771         * docs/gst/gstreamer.types:
19772         * docs/gst/tmpl/gstelement.sgml:
19773         * docs/gst/tmpl/gstplugin.sgml:
19774         * docs/gst/tmpl/gstpluginfeature.sgml:
19775           Documentation updates for registry changes.
19776
19777 2005-09-14  David Schleef  <ds@schleef.org>
19778
19779         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19780           because we don't require glib-2.8.
19781
19782 2005-09-14  David Schleef  <ds@schleef.org>
19783
19784         * gst/gstregistryxml.c: Added.  Essentially moved out of the
19785           registries directory.
19786
19787 2005-09-14  David Schleef  <ds@schleef.org>
19788
19789         * check/Makefile.am:
19790         * check/generic/states.c:
19791         * gst/Makefile.am:
19792         * gst/gst.c:
19793         * gst/gst.h:
19794         * gst/gst_private.h:
19795         * gst/gstelementfactory.c:
19796         * gst/gstindex.c:
19797         * gst/gstinfo.c:
19798         * gst/gstplugin.c:
19799         * gst/gstplugin.h:
19800         * gst/gstpluginfeature.c:
19801         * gst/gstpluginfeature.h:
19802         * gst/gstregistry.c:
19803         * gst/gstregistry.h:
19804         * gst/gstregistrypool.c: remove
19805         * gst/gstregistrypool.h: remove
19806         * gst/gsttypefind.c:
19807         * gst/gsttypefindfactory.c:
19808         * gst/gsturi.c:
19809         * tools/Makefile.am:
19810         * tools/gst-compprep.c:
19811         * tools/gst-inspect.c:
19812         * tools/gst-register.c: remove
19813         * tools/gst-xmlinspect.c:
19814           Registry rewrite.  Changes registry from being a file created
19815           by a tool into a simple cache file created automatically by 
19816           libgstreamer.  Removed gst-register (because it's no longer
19817           needed).  Remove registry pools, because we only have one
19818           registry implementation (XML).  Fix up other subsystems as
19819           necessary.
19820
19821 2005-09-13  Michael Smith <msmith@fluendo.com>
19822
19823         * gst/gstconfig.h.in:
19824           Don't Use windows linking attributes for MinGW. Fixes #316157
19825
19826 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19827
19828         * gst/gstutils.c: (set_state_async_thread_func),
19829         (gst_element_set_state_async):
19830           Apparently people think it's better if this function doesn't
19831           try to set the state to whatever state was asked for on the first
19832           call to this function for any object.  Seriously.
19833
19834 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19835
19836         * check/gst/gstpipeline.c: (GST_START_TEST):
19837         * docs/gst/gstreamer-sections.txt:
19838         * gst/gstutils.c: (set_state_async_thread_func),
19839         (gst_element_set_state_async):
19840         * gst/gstutils.h:
19841           add a "gst_element_set_state_async" method that
19842           sets the state and starts a thread to make sure the state
19843           change completes as best as it can
19844
19845 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19846
19847         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19848           codify design+behaviour in testsuite after discussion
19849
19850 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19851
19852         * docs/gst/tmpl/gstelement.sgml:
19853         * docs/manual/appendix-quotes.xml:
19854           add a quote
19855         * gst/gstelement.c: (gst_element_set_state):
19856           add some debug
19857
19858 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
19859
19860         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19861         (gst_base_transform_prepare_output_buf),
19862         (gst_base_transform_handle_buffer):
19863         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19864         (gst_capsfilter_prepare_buf):
19865           Remove the requirement for sub-classes to call the parent
19866           implementation of prepare_output_buffer with a wrapper function.
19867           
19868         * gst/gsttaglist.h:
19869         * gst/gsttagsetter.h:
19870           Fix #define wrapper
19871
19872 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
19873
19874         * docs/gst/gstreamer-sections.txt:
19875           more doc cleanups
19876
19877 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19878
19879         * docs/gst/gstreamer-sections.txt:
19880         * docs/gst/tmpl/gstelement.sgml:
19881         * docs/gst/tmpl/gstplugin.sgml:
19882         * gst/gstminiobject.c:
19883         * gst/gstvalue.h:
19884           docs now stop throwing warnings
19885
19886 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19887
19888         * docs/gst/gstreamer-sections.txt:
19889         * docs/gst/gstreamer.types:
19890         * docs/gst/tmpl/gstpad.sgml:
19891         * docs/gst/tmpl/gsttypes.sgml:
19892         * gst/base/gstadapter.h:
19893         * gst/base/gstbasesink.h:
19894         * gst/base/gstbasesrc.h:
19895         * gst/gstbin.h:
19896         * gst/gstbuffer.h:
19897         * gst/gstbus.h:
19898         * gst/gstcaps.h:
19899         * gst/gstclock.h:
19900         * gst/gstelement.h:
19901         * gst/gstevent.h:
19902         * gst/gstmessage.h:
19903         * gst/gstpad.h:
19904         * gst/gststructure.c:
19905         * gst/registries/gstlibxmlregistry.h:
19906           various documentation fixes
19907
19908 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19909
19910         * docs/gst/gstreamer-sections.txt:
19911         * docs/gst/tmpl/gstvalue.sgml:
19912           rearrange gstvalue section
19913         * gst/gstutils.c: (gst_element_state_get_name):
19914           NONE -> VOID
19915         * gst/gstvalue.c: (_gst_value_initialize):
19916         * gst/gstvalue.h:
19917           doc updates
19918
19919 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
19920
19921         * check/gst-libs/controller.c:
19922           Header include fix.
19923         * gst/base/gstbasetransform.c:
19924         (gst_base_transform_default_prepare_buf),
19925         (gst_base_transform_handle_buffer):
19926         * gst/base/gstbasetransform.h:
19927           Some more basetransform changes and fixes to enable sub-classes
19928           that modify buffer metadata only.
19929         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19930         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19931         (gst_capsfilter_prepare_buf):
19932           If the output pad has fixed allowed caps and input buffers 
19933           don't have any, set the fixed caps on outgoing buffers.
19934
19935 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
19936         * check/elements/identity.c: (GST_START_TEST):
19937           Make the error a little clearer when the test fails because
19938           identity made a copy of the buffer.
19939         * docs/gst/gstreamer-sections.txt:
19940           New symbols in gstbasetransform.h
19941         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19942         (gst_base_transform_init), (gst_base_transform_transform_size),
19943         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19944         (gst_base_transform_default_prepare_buf),
19945         (gst_base_transform_get_unit_size),
19946         (gst_base_transform_buffer_alloc),
19947         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19948         (gst_base_transform_change_state),
19949         (gst_base_transform_set_passthrough),
19950         (gst_base_transform_set_in_place),
19951         (gst_base_transform_is_in_place):
19952         * gst/base/gstbasetransform.h:
19953           Change BaseTransform to separate in_place operate from same_caps
19954           output. in_place implies that the element can perform the transform
19955           on incoming buffers in-place, even if the caps on the output are
19956           different.
19957           Sub-class elements can now implement special buffer allocation
19958           methods for outgoing buffers if they wish to.
19959           Big documentation addition.
19960         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19961         * gst/elements/gstelements.c:
19962           Changes for basetransform modifications.
19963         * gst/elements/Makefile.am:
19964         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19965           Compile fix. Extra debug output.
19966
19967 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19968
19969         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19970         (gst_pad_suite):
19971           add tests for valid pad naming
19972         * gst/check/gstcheck.c: (gst_check_log_message_func),
19973         (gst_check_log_critical_func):
19974           add ASSERT_WARNING
19975           remove printing of code, it is fragile when the code contains
19976           % and the line number is enough info
19977         * gst/check/gstcheck.h:
19978         * gst/gstpad.c: (gst_pad_template_new):
19979           fix memleaks
19980
19981 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19982
19983         * configure.ac:
19984           say what CHECK flags we use
19985         * docs/libs/gstreamer-libs.types:
19986         * libs/gst/controller/Makefile.am:
19987         * libs/gst/controller/gst-controller.c:
19988         * libs/gst/controller/gst-controller.h:
19989         * libs/gst/controller/gst-helper.c:
19990         * libs/gst/controller/gst-interpolation.c:
19991         * libs/gst/controller/gstcontroller.c:
19992         * libs/gst/controller/gsthelper.c:
19993         * libs/gst/controller/gstinterpolation.c:
19994         * tools/gst-inspect.c: (print_plugin_info):
19995           we don't use dashes in header names
19996
19997 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19998
19999         * check/Makefile.am:
20000         * check/gst/.cvsignore:
20001         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20002         (gst_pipeline_suite), (main):
20003           adding a test for pipelines and state changes
20004         * gst/gstutils.c: (get_state_func):
20005           add some debugging
20006         * gstreamer.spec.in:
20007           fix up spec file
20008
20009 2005-09-08  Michael Smith <msmith@fluendo.com>
20010
20011         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20012         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20013         (gst_file_src_is_seekable), (gst_file_src_get_size),
20014         (gst_file_src_start):
20015         * gst/elements/gstfilesrc.h:
20016           Various fixes for unseekable, unmmapable, and non-normal files, so
20017           that fallback to read() rather than mmap() works.
20018         * gst/gstevent.c: (gst_event_new_newsegment):
20019           Allow newsegment events with segment_start == segment_end, as will
20020           correctly happen if you use filesrc on a zero-size file, for
20021           example.
20022
20023 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20024
20025         * gst/gstplugin.c: (gst_plugin_load_file):
20026           Call g_module_close when we don't load the module
20027
20028         * gst/registries/gstlibxmlregistry.c:
20029         (gst_xml_registry_get_property):
20030           Port leak fix from 0.8
20031
20032 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20033
20034         * docs/gst/gstreamer-docs.sgml:
20035         * docs/gst/tmpl/.cvsignore:
20036         * docs/gst/tmpl/gsttrace.sgml:
20037         * docs/gst/tmpl/gsttrashstack.sgml:
20038         * gst/Makefile.am:
20039         * gst/gst.h:
20040         * gst/gstelement.h:
20041         * gst/gstevent.h:
20042         * gst/gstmessage.c:
20043         * gst/gstmessage.h:
20044         * gst/gsttag.c:
20045         * gst/gsttag.h:
20046         * gst/gsttaginterface.c:
20047         * gst/gsttaginterface.h:
20048         * gst/gsttaglist.c:
20049         * gst/gsttaglist.h:
20050         * gst/gsttagsetter.c:
20051         * gst/gsttagsetter.h:
20052         * gst/gsttrace.c:
20053         * gst/gsttrace.h:
20054         * gst/gsttrashstack.c:
20055           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20056           inlined docs for gsttrace, gsttrashstack
20057
20058 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20059
20060         * gst/Makefile.am:
20061         * gst/elements/gstbufferstore.h:
20062         * gst/elements/gsttypefindelement.c:
20063         * gst/elements/gsttypefindelement.h:
20064         * gst/gst.h:
20065         * gst/gsttypefind.c:
20066         * gst/gsttypefind.h:
20067         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20068         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20069         (gst_type_find_factory_dispose),
20070         (gst_type_find_factory_unload_thyself),
20071         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20072         (gst_type_find_factory_get_caps),
20073         (gst_type_find_factory_get_extensions),
20074         (gst_type_find_factory_call_function):
20075         * gst/gsttypefindfactory.h:
20076         * gst/registries/gstlibxmlregistry.c:
20077         * gst/registries/gstxmlregistry.c:
20078           splitted gsttypefind into gsttypefind, gsttypefindfactory
20079
20080 2005-09-07  Andy Wingo  <wingo@pobox.com>
20081
20082         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20083         condition whereby the pad's task function is entered before the
20084         pad_mode variable was set.
20085
20086 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20087
20088         * gst/gstpad.c: (gst_pad_alloc_buffer):
20089           Catch misbehaving pad_alloc functions that don't
20090           set up caps and do it for them.
20091
20092 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20093
20094         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20095           test for pipe!=NULL
20096         * docs/gst/tmpl/.cvsignore:
20097         * docs/gst/tmpl/gstmemchunk.sgml:
20098         * docs/gst/tmpl/gstparse.sgml:
20099         * docs/gst/tmpl/gsttaglist.sgml:
20100         * docs/gst/tmpl/gsttagsetter.sgml:
20101         * docs/gst/tmpl/gsttypefind.sgml:
20102         * docs/gst/tmpl/gsttypefindfactory.sgml:
20103         * gst/gstmemchunk.c:
20104         * gst/gstparse.c:
20105         * gst/gsttag.c:
20106         * gst/gsttaginterface.c:
20107         * gst/gsttypefind.c:
20108         * gst/gsttypefind.h:
20109           inlined more docs
20110
20111 === release 0.9.2 ===
20112
20113 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20114
20115         * NEWS:
20116         * RELEASE:
20117         * configure.ac:
20118           releasing 0.9.2, "South"
20119
20120 2005-09-05  Andy Wingo  <wingo@pobox.com>
20121
20122         * gst/registries/gstxmlregistry.h:
20123         * gst/registries/gstxmlregistry.c: Um... resurrect...
20124         
20125         * gst/registries/gstxmlregistry.h:
20126         * gst/registries/gstxmlregistry.c: and update to newer API.
20127         Incidentally they should be a bit faster now that they don't have
20128         to parse the caps.
20129         
20130 2005-09-05  Andy Wingo  <wingo@pobox.com>
20131
20132         * gst/registries/gstxmlregistry.h:
20133         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20134         replaced by the libxml registry a while back
20135
20136 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20137
20138         * docs/gst/tmpl/gstplugin.sgml:
20139         * gst/elements/gstelements.c:
20140         * gst/gst.c:
20141         * gst/gstplugin.c: (gst_plugin_register_func),
20142         (gst_plugin_desc_copy), (gst_plugin_desc_free),
20143         (gst_plugin_get_source):
20144         * gst/gstplugin.h:
20145         * gst/registries/gstlibxmlregistry.c: (load_plugin),
20146         (gst_xml_registry_save_plugin):
20147         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20148         (gst_xml_registry_save_plugin):
20149         * tools/gst-inspect.c: (print_plugin_info):
20150           add a "source" plugin description field, to represent the source
20151           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
20152           will set it to PACKAGE, which is automake's idea of the name of
20153           the source project.
20154
20155 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20156
20157         * Makefile.am:
20158         * autogen.sh:
20159         * configure.ac:
20160         * docs/Makefile.am:
20161         * docs/faq/Makefile.am:
20162         * docs/gst/tmpl/gstelement.sgml:
20163         * docs/gst/tmpl/gsttypes.sgml:
20164         * docs/htmlinstall.mak:
20165         * docs/manual/Makefile.am:
20166         * docs/pwg/Makefile.am:
20167           reorganize doc build a little
20168           split out docbook and gtk-doc stuff
20169           have two separate --enable's and enable them through autogen
20170           but disable by default in configure (to be similar to other
20171           projects)
20172         * gstreamer.spec.in:
20173           clean up docs install
20174         * po/af.po:
20175         * po/az.po:
20176         * po/ca.po:
20177         * po/cs.po:
20178         * po/de.po:
20179         * po/en_GB.po:
20180         * po/fr.po:
20181         * po/it.po:
20182         * po/nb.po:
20183         * po/nl.po:
20184         * po/ru.po:
20185         * po/sq.po:
20186         * po/sr.po:
20187         * po/sv.po:
20188         * po/tr.po:
20189         * po/uk.po:
20190         * po/vi.po:
20191           translation updates
20192
20193 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
20194
20195         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20196           Add comment.
20197           
20198         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20199         (gst_fake_sink_change_state):
20200           Make state change function thread-safe.
20201           
20202         * gst/gstpad.c: (gst_pad_alloc_buffer):
20203           Set offset on generic buffer allocated by fallback.
20204
20205 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
20206
20207         * docs/gst/gstreamer-sections.txt:
20208         * docs/gst/tmpl/gstelement.sgml:
20209         * gst/gstpad.c:
20210         * libs/gst/controller/gst-controller.c:
20211         (gst_controlled_property_set_interpolation_mode),
20212         (gst_controlled_property_new),
20213         (gst_controller_find_controlled_property):
20214          run the wingo-magic script against the docs
20215
20216 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20217
20218         * docs/gst/gstreamer-docs.sgml:
20219         * docs/gst/gstreamer-sections.txt:
20220         * docs/gst/tmpl/.cvsignore:
20221         * docs/gst/tmpl/gstelementdetails.sgml:
20222         * docs/gst/tmpl/gstelementfactory.sgml:
20223         * gst/gst.c:
20224         * gst/gstbus.c:
20225         * gst/gstelementfactory.c:
20226         * gst/gstelementfactory.h:
20227           merged elementdetails docs into elementfactory docs
20228           inlined both
20229
20230 2005-09-02  Andy Wingo  <wingo@pobox.com>
20231
20232         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20233         consider this enum an enum and not a flags.
20234
20235 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20236
20237         * docs/gst/gstreamer-docs.sgml:
20238         * docs/gst/tmpl/.cvsignore:
20239         * docs/gst/tmpl/gstghostpad.sgml:
20240         * docs/gst/tmpl/gstiterator.sgml:
20241         * docs/gst/tmpl/gstmacros.sgml:
20242         * docs/gst/tmpl/gstrealpad.sgml:
20243         * docs/gst/tmpl/gstregistry.sgml:
20244         * docs/gst/tmpl/gstregistrypool.sgml:
20245         * docs/gst/tmpl/gststructure.sgml:
20246         * docs/gst/tmpl/gstsystemclock.sgml:
20247         * docs/gst/tmpl/gsttrace.sgml:
20248         * gst/gstghostpad.c:
20249         * gst/gstmacros.h:
20250         * gst/gstmemchunk.c:
20251         * gst/gstmemchunk.h:
20252         * gst/gstqueue.c:
20253         * gst/gstregistry.c:
20254         * gst/gstregistrypool.c:
20255         * gst/gststructure.c:
20256         * gst/gstsystemclock.c:
20257           more docs inlined
20258
20259 2005-09-02  Andy Wingo  <wingo@pobox.com>
20260
20261         * gst/gstelement.h (GstState): Renamed from GstElementState,
20262         changed to be a normal enum instead of flags.
20263         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20264         munged to be GST_STATE_CHANGE_*.
20265         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20266         work with the new state representation.
20267         (GstStateChange): New enumeration of possible state transitions.
20268         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20269         (GstElementClass::change_state): Pass the GstStateChange along as
20270         an argument. Helps language bindings, so they don't have to use
20271         tricky lock-needing macros like GST_STATE_CHANGE ().
20272
20273         * scripts/update-states (file): New script. Run it on a file to
20274         update it for state naming and API changes. Updates files in
20275         place.
20276
20277         * All files updated for the new API.
20278
20279 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20280
20281         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20282         * gst/gstutils.c: (gst_util_set_value_from_string),
20283         (gst_util_set_object_arg):
20284           fix a bunch of unchecked return values
20285         * tools/gst-complete.c: (main):
20286         * gstreamer.spec.in:
20287           clean up a little
20288
20289 2005-09-01  Wim Taymans  <wim@fluendo.com>
20290
20291         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20292         (gst_base_sink_event), (gst_base_sink_do_sync),
20293         (gst_base_sink_handle_event):
20294         * gst/base/gstbasesink.h:
20295         Handle newsegments more correctly.
20296
20297         * gst/gstbus.c:
20298         Fix docs.
20299
20300         * gst/gstevent.c: (gst_event_new_newsegment):
20301         A newsegment cannot have a start_time of -1
20302
20303 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
20304
20305         * win32/gstenumtypes.c:
20306         * win32/gstenumtypes.h:
20307           Update
20308
20309 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20310
20311         * libs/gst/controller/gst-controller.c:
20312         (gst_controlled_property_set_interpolation_mode),
20313         (gst_controlled_property_new):
20314          fixed boolean again
20315
20316 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
20317
20318         * docs/faq/gst-uninstalled:
20319           add -good
20320         * gst/gstevent.c:
20321         * gst/gstevent.h:
20322           remove wrong docs
20323         * gst/gstutils.c: (gst_element_link_filtered):
20324         * gst/gstutils.h:
20325           add gst_element_link_filtered
20326
20327 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20328
20329         * docs/gst/gstreamer-docs.sgml:
20330         * docs/gst/gstreamer-sections.txt:
20331         * docs/gst/tmpl/.cvsignore:
20332         * docs/gst/tmpl/gsterror.sgml:
20333         * docs/gst/tmpl/gstfilter.sgml:
20334         * docs/gst/tmpl/gsturihandler.sgml:
20335         * docs/gst/tmpl/gsturitype.sgml:
20336         * docs/gst/tmpl/gstutils.sgml:
20337         * docs/gst/tmpl/gstxml.sgml:
20338         * gst/gsterror.c:
20339         * gst/gsterror.h:
20340         * gst/gstfilter.c:
20341         * gst/gsturi.c:
20342         * gst/gsturitype.c:
20343         * gst/gstutils.c:
20344         * gst/gstxml.c:
20345           inlined more docs, fixed double id-ref
20346
20347 2005-08-31  Wim Taymans  <wim@fluendo.com>
20348
20349         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20350         (gst_base_transform_handle_buffer):
20351         Passthrough elements don't need the caps as they don't care.
20352
20353 2005-08-31  Wim Taymans  <wim@fluendo.com>
20354
20355         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20356         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20357         Don't leak refcounts on buffers.
20358
20359 2005-08-31  Wim Taymans  <wim@fluendo.com>
20360
20361         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20362         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20363         (gst_base_transform_chain), (gst_base_transform_change_state):
20364         * gst/base/gstbasetransform.h:
20365         Handle the case where we are not negotiated more gracefully.
20366
20367 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
20368
20369         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20370         (gst_file_src_map_region):
20371           Set READONLY flag on mmap'ed buffers, otherwise
20372           gst_buffer_make_writable() won't work properly (#314708).
20373
20374 2005-08-31  Wim Taymans  <wim@fluendo.com>
20375
20376         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20377         passthrough elements can even do inplace on non writable
20378         buffers (as they don't touch them).
20379
20380 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20381
20382         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20383         (gst_test_mono_source_set_property),
20384         (gst_test_mono_source_class_init), (GST_START_TEST),
20385         (gst_controller_suite):
20386           more tests (hehe I have the most)
20387         * gst/gstbus.c:
20388           describe popping messages whenusing mulltiple sources
20389         * libs/gst/controller/gst-controller.c:
20390         (gst_controlled_property_set_interpolation_mode),
20391         (gst_controlled_property_new):
20392         * libs/gst/controller/gst-controller.h:
20393         * libs/gst/controller/gst-interpolation.c:
20394           implement boolean properties
20395
20396 2005-08-31  Wim Taymans  <wim@fluendo.com>
20397
20398         * gst/gstminiobject.c: (gst_mini_object_ref):
20399         Cannot assert that the refcount has to be positive
20400         since a disposed object can be resurrected.
20401
20402 2005-08-31  Wim Taymans  <wim@fluendo.com>
20403
20404         * gst/gstpad.c: (gst_pad_init):
20405         Revert change, need to first fix badly behaving 
20406         apps.
20407
20408 2005-08-30  Wim Taymans  <wim@fluendo.com>
20409
20410         * check/elements/fakesrc.c: (setup_fakesrc):
20411         * check/elements/identity.c: (setup_identity):
20412         Activate pads before using them.
20413
20414 2005-08-30  Wim Taymans  <wim@fluendo.com>
20415
20416         * gst/base/gstadapter.c: (gst_adapter_flush):
20417         Flushing out 0 bytes is ok for this function.
20418
20419         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20420         no newsegment gives a warning and sets the start/stop to 
20421         invalid.
20422
20423         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20424         (gst_base_transform_set_passthrough):
20425         Some debug info.
20426
20427         * gst/gstminiobject.c: (gst_mini_object_ref):
20428         Check refcount here too.
20429
20430         * gst/gstpad.c: (gst_pad_init):
20431         Pads are initially flushing and refusing data.
20432
20433         * gst/gstutils.c: (gst_element_link_pads_filtered):
20434         When adding a capsfilter element make sure it has the
20435         same state as the parent bin.
20436
20437 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20438
20439         * docs/gst/tmpl/.cvsignore:
20440         * docs/gst/tmpl/gstformat.sgml:
20441         * docs/gst/tmpl/gstversion.sgml:
20442         * gst/gstbus.h:
20443         * gst/gstformat.c:
20444         * gst/gstformat.h:
20445         * gst/gstversion.h.in:
20446           more docs and two more inlined
20447
20448 2005-08-30  Wim Taymans  <wim@fluendo.com>
20449
20450         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20451         Don't sync to clock.
20452
20453 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20454
20455         * docs/gst/gstreamer-sections.txt:
20456           ultral33t func10ns deserve to appear in the docs actually
20457         * docs/gst/tmpl/.cvsignore:
20458         * docs/gst/tmpl/gstcompat.sgml:
20459         * docs/gst/tmpl/gstconfig.sgml:
20460         * gst/check/gstcheck.c:
20461         * gst/gstcompat.h:
20462         * gst/gstconfig.h.in:
20463           inlined more docs
20464
20465 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20466
20467         * docs/gst/tmpl/.cvsignore:
20468         * docs/gst/tmpl/gstquery.sgml:
20469         * docs/gst/tmpl/gstutils.sgml:
20470         * gst/gstquery.c:
20471         * gst/gstquery.h:
20472           inlined and extended docs
20473
20474 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20475
20476         * check/gst-libs/controller.c: (GST_START_TEST),
20477         (gst_controller_suite):
20478           more tests
20479         * docs/gst/tmpl/gstutils.sgml:
20480         * docs/libs/gstreamer-libs-sections.txt:
20481         * docs/libs/tmpl/gstdataprotocol.sgml:
20482           include path fixes
20483         * examples/controller/audio-example.c: (main):
20484           controller example works now
20485         * gst/gstclock.h:
20486           doc fixes
20487         * tools/gst-inspect.c: (print_element_properties_info):
20488           show param spec flags
20489
20490 2005-08-29  Andy Wingo  <wingo@pobox.com>
20491
20492         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20493
20494 2005-08-28  Andy Wingo  <wingo@pobox.com>
20495
20496         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20497         as having two arguments instead of just one. Allows superclasses
20498         to access information on subclasses -- see the terrible for() loop
20499         in gtype.c:g_type_create_instance for the reason why. All callers
20500         changed.
20501
20502 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20503
20504         * docs/design/part-messages.txt:
20505           update info
20506         * docs/gst/tmpl/.cvsignore:
20507         * docs/gst/tmpl/gstcaps.sgml:
20508         * docs/gst/tmpl/gstclock.sgml:
20509         * gst/gstbus.c:
20510         * gst/gstcaps.c:
20511         * gst/gstcaps.h:
20512         * gst/gstclock.c:
20513         * gst/gstclock.h:
20514         * gst/gstmessage.c:
20515           added descriptions for bus and message
20516           inline caps and clock docs
20517
20518 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20519
20520         * gst/gstmessage.c:
20521         * gst/gstmessage.h:
20522           doc fixes
20523
20524 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20525
20526         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20527           fix div-by-zero
20528
20529 2005-08-26  Andy Wingo  <wingo@pobox.com>
20530
20531         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20532         element_set_state's return val.
20533         (test_2_elements): Add test that's been disabled for months.
20534
20535         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20536         can-activate-pull properties.
20537
20538         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20539         can-activate-pull properties. Implement is_seekable so fakesrc can
20540         operate in pull mode.
20541
20542         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20543         properties.
20544         (gst_base_sink_activate, gst_base_sink_activate_pull)
20545         (gst_base_sink_activate_push): Make activation mode choosing work.
20546         Cleanups.
20547         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20548         is right. Make pull mode work. Post an eos before pausing in pull
20549         mode.
20550         (gst_base_sink_change_state): Pay attention to the core's
20551         change_state() return val.
20552         
20553         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20554         has-getrange properties. Cleanups.
20555         
20556         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20557         has_getrange and replace with can_activate_pull and
20558         can_activate_push.
20559
20560         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20561         locking comments. Remove has_loop, has_chain and replace with
20562         can_activate_pull and can_activate_push.
20563
20564 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
20565
20566         * configure.ac:
20567         * examples/Makefile.am:
20568         * examples/metadata/Makefile.am:
20569         * examples/metadata/read-metadata.c: (message_loop),
20570         (have_pad_handler), (make_pipeline), (print_tag), (main):
20571           Add metadata reading example that loops over a list of filenames,
20572           dumping any tags found.
20573
20574         * gst/gstbus.c: (gst_bus_dispose):
20575         * gst/gstelement.c: (gst_element_dispose):
20576           Release a few potentially-held references in dispose.
20577
20578 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20579
20580         * docs/gst/tmpl/gstminiobject.sgml:
20581           do *not* add tmpl/*.sgml files to CVS!
20582
20583 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20584
20585         * libs/gst/bytestream/.cvsignore:
20586         * libs/gst/bytestream/Makefile.am:
20587         * libs/gst/bytestream/adapter.c:
20588         * libs/gst/bytestream/adapter.h:
20589         * libs/gst/bytestream/bytestream.c:
20590         * libs/gst/bytestream/bytestream.h:
20591         * libs/gst/bytestream/filepad.c:
20592         * libs/gst/bytestream/filepad.h:
20593           removing obsolete files
20594
20595 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20596
20597         * docs/gst/gstreamer-docs.sgml:
20598         * docs/libs/gstreamer-libs-docs.sgml:
20599           disabed additional index entries again, as this makes docs-gen just
20600           slow and they aren't useful yet
20601         * docs/libs/gstreamer-libs-sections.txt:
20602           little -section.txt cleanup for libs
20603
20604 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20605
20606         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20607         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20608           fix up some debugging
20609         (gst_base_transform_get_unit_size),
20610         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20611         (gst_base_transform_handle_buffer):
20612         * gst/base/gstbasetransform.h:
20613           handle and store timed NEWSEGMENT events so that subclasses that
20614           calculate time by counting samples have a segment_start time they
20615           need to add to their timestamps - see audioresample
20616
20617 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20618
20619         * gst/gstbin.h:
20620           removed ';' from the end of macro defs
20621         * docs/gst/gstreamer-docs.sgml:
20622         * docs/gst/gstreamer-sections.txt:
20623         * docs/gst/tmpl/.cvsignore:
20624         * gst/gstbus.h:
20625         * gst/gstelement.c: (gst_element_class_init),
20626         (gst_element_set_state), (activate_pads),
20627         (gst_element_save_thyself):
20628         * gst/gstevent.c: (gst_event_new_newsegment):
20629         * gst/gstevent.h:
20630         * gst/gstiterator.c:
20631         * gst/gstiterator.h:
20632         * gst/gstpad.c:
20633         * gst/gstprobe.h:
20634         * gst/gstutils.c: (gst_pad_query_convert):
20635         * gst/gstutils.h:
20636           fixed parameter name mismatches between source, header and docs
20637           added some more docs, resolved the last batch of unused elements in
20638           docs (now someone needs to doc them)
20639
20640 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20641
20642         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20643         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20644           don't walk through the plugins backwards.  Where is all this
20645           reversed logic coming from ?
20646
20647 2005-08-25  Wim Taymans  <wim@fluendo.com>
20648
20649         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20650         (gst_base_transform_transform_size),
20651         (gst_base_transform_configure_caps),
20652         (gst_base_transform_get_unit_size),
20653         (gst_base_transform_buffer_alloc),
20654         (gst_base_transform_change_state):
20655         * gst/base/gstbasetransform.h:
20656         Cache caps unit_size.
20657         Make sure we cannot negotiate up and downstream at the
20658         same time.
20659
20660 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20661
20662         * gst/gst.c: (init_pre), (init_post):
20663           register the installed plugin path after the env var
20664         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20665         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20666           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20667           directories, so the tests can prefer uninstalled over installed
20668
20669 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20670
20671         * gst/base/gstbasetransform.h:
20672           comment
20673         * gst/gstpad.c:
20674           add to docs
20675
20676 2005-08-25  Wim Taymans  <wim@fluendo.com>
20677
20678         * gst/gstbin.c: (bin_bus_handler):
20679         Be a bit more conservative about the posted message.
20680         
20681         * gst/gstbus.c: (gst_bus_post):
20682         Some cleanups, warn wrong return values.
20683
20684 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
20685
20686         * check/gst/gstbin.c: (GST_START_TEST):
20687         * gst/gstbin.c: (bin_bus_handler):
20688         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20689         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20690         (gst_message_new_warning), (gst_message_new_tag),
20691         (gst_message_new_state_changed), (gst_message_new_segment_start),
20692         (gst_message_new_segment_done), (gst_message_new_custom):
20693         * gst/gstmessage.h:
20694         * tools/gst-launch.c: (event_loop):
20695         * tools/gst-md5sum.c: (event_loop):
20696           Revert unpopular change for GST_MESSAGE_SRC to GObject.
20697
20698 2005-08-25  Wim Taymans  <wim@fluendo.com>
20699
20700         * check/generic/states.c: (GST_START_TEST):
20701         Cleanup can be done at the end.
20702
20703         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20704         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20705         (gst_task_get_state), (gst_task_start), (gst_task_pause):
20706         Oh boy.. Thanks for finding this, Thomas. 
20707
20708 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20709
20710         * docs/gst/gstreamer.types:
20711           added missing types
20712
20713 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20714
20715         * docs/gst/gstreamer-docs.sgml:
20716         * docs/gst/gstreamer-sections.txt:
20717         * docs/gst/tmpl/.cvsignore:
20718         * gst/gstbin.c:
20719         * gst/gstiterator.c:
20720         * gst/gstutils.c:
20721         * gst/registries/gstxmlregistry.h:
20722           added missing classes and symbols (123 more to go)
20723           removed removed symbols from section file
20724           fixed many doc-comments
20725
20726 2005-08-24  Wim Taymans  <wim@fluendo.com>
20727
20728         * check/generic/states.c: (GST_START_TEST):
20729         Make sure all tasks are stopped.
20730
20731         * check/gst/gstbin.c: (GST_START_TEST):
20732         Unref after usage for proper valgrinding.
20733
20734         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20735         Really wait for the task to stop before destroying the
20736         mutex.
20737
20738         * gst/gstqueue.c: (gst_queue_sink_activate_push),
20739         (gst_queue_src_activate_push):
20740         Small cleanups. Don't stop the task when we did not start
20741         it.
20742
20743         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20744         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20745         (gst_task_get_state), (gst_task_start), (gst_task_pause),
20746         (gst_task_join):
20747         * gst/gsttask.h:
20748         Protect the stream lock with the object lock.
20749         Disallow setting the stream lock when running.
20750         Add cleanup_all to wait for the threadpool to finish.
20751         Remove code to autoallocate a mutex if none was provided.
20752         Add _join() to wait for a task to stop.
20753         Protect the thread pool with a global lock.
20754
20755 2005-08-24  Wim Taymans  <wim@fluendo.com>
20756
20757         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20758         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20759         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20760         * gst/base/gstbasesink.h:
20761         Handle newsegment events correctly.
20762         Drop buffers out of the segment range.
20763
20764 2005-08-22  Andy Wingo  <wingo@pobox.com>
20765
20766         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20767         macro, implements an interface and gstimplementsinterface for a
20768         new type.
20769
20770 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20771
20772         * check/Makefile.am:
20773         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20774           add a test that does a bunch of state changes on elements
20775           needs some fixing for valgrind
20776         * check/states/sinks.c: (gst_object_suite):
20777           whitespace
20778         * gst/gstcaps.h:
20779           add prototype for gst_caps_is_equal_fixed
20780         * gst/gstplugin.c:
20781         * gst/gstregistrypool.c:
20782           doc fixes
20783
20784 2005-08-24  Andy Wingo  <wingo@pobox.com>
20785
20786         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20787         convert a negative value. Doesn't make much sense. Mostly this is
20788         here to force callers to ensure -1 maps to -1.
20789
20790 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20791
20792         * docs/pwg/advanced-types.xml:
20793           Well done to Michael for catching my deliberate introduction
20794           of this spelling mistake. 
20795         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20796         * gst/gstelement.h:
20797           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20798           unlink pads before removing the element from the bin.
20799
20800 2005-08-24  Andy Wingo  <wingo@pobox.com>
20801
20802         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20803         the same thing as GST_DEBUG=*:4.
20804         (parse_debug_level, parse_debug_category): New helper parsers.
20805
20806 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20807
20808         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20809         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20810         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20811         (gst_base_transform_buffer_alloc),
20812         (gst_base_transform_handle_buffer):
20813           use gboolean return values and pointers to size so we can use the
20814           full GST_BUFFER_SIZE range (guint) for buffer sizes
20815           use GstPadDirection for transform_caps
20816         * gst/base/gstbasetransform.h:
20817           rename get_size to get_unit_size since that's what it is
20818         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20819           use GstPadDirection for transform_caps
20820         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20821         * gst/gstutils.h:
20822           cleanup and debugging
20823
20824 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20825
20826         * gst/gstelement.c: (gst_element_class_init),
20827         (gst_element_set_state), (activate_pads),
20828         (gst_element_save_thyself):
20829         * tools/gst-compprep.c: (main):
20830         * tools/gst-inspect.c: (print_element_properties_info):
20831         * tools/gst-xmlinspect.c: (print_element_properties):
20832           Fixed long standing mem-leak
20833
20834 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20835
20836         * check/gst/gstbin.c: (GST_START_TEST):
20837         * gst/gstbin.c: (bin_bus_handler):
20838         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20839         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20840         (gst_message_new_warning), (gst_message_new_tag),
20841         (gst_message_new_state_changed), (gst_message_new_segment_start),
20842         (gst_message_new_segment_done), (gst_message_new_custom):
20843         * gst/gstmessage.h:
20844         * tools/gst-launch.c: (event_loop):
20845         * tools/gst-md5sum.c: (event_loop):
20846           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20847           that applications can sensibly post custom messages with references
20848           to their own objects.
20849
20850 2005-08-24  Andy Wingo  <wingo@pobox.com>
20851
20852         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20853         already.
20854
20855 2005-08-24  Wim Taymans  <wim@fluendo.com>
20856
20857         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20858         (gst_base_transform_transform_caps),
20859         (gst_base_transform_transform_size),
20860         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20861         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20862         (gst_base_transform_handle_buffer):
20863         * gst/base/gstbasetransform.h:
20864         Many fixes and new features added by Thomas. Can now also do
20865         transforms with variable sizes and a custom fixate_caps function.
20866
20867 2005-08-24  Wim Taymans  <wim@fluendo.com>
20868
20869         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20870         Some debugging.
20871
20872         * gst/gstclock.h:
20873         Cast to ClockTime before formatting to time.
20874
20875         * gst/gstutils.h:
20876         Cleanups.
20877
20878 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20879
20880         * check/gst-libs/controller.c: (GST_START_TEST),
20881         (gst_controller_suite):
20882         * docs/gst/tmpl/gstcaps.sgml:
20883         * docs/gst/tmpl/gstghostpad.sgml:
20884         * docs/gst/tmpl/gstquery.sgml:
20885         * docs/gst/tmpl/gstutils.sgml:
20886         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20887         (gst_object_sink_values), (gst_object_get_value_arrays),
20888         (gst_object_get_value_array):
20889           gracefully handle helper method calls to objects that are not beeing
20890           controlled, added test case for that          
20891
20892 2005-08-23  Wim Taymans  <wim@fluendo.com>
20893
20894         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20895         (gst_event_new_newsegment), (gst_event_parse_newsegment),
20896         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20897         (gst_event_parse_qos), (gst_event_new_seek),
20898         (gst_event_parse_seek):
20899         * gst/gstevent.h:
20900         Some more debugging output and doc cleanups.
20901
20902         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20903         Fix possible deadlock.
20904
20905 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20906
20907         * docs/gst/gstreamer-docs.sgml:
20908         * docs/gst/gstreamer-sections.txt:
20909         * docs/gst/gstreamer.types:
20910         * docs/gst/tmpl/.cvsignore:
20911         * gst/gstbin.h:
20912         * gst/gstbus.c:
20913         * gst/gstelement.c:
20914         * gst/gstevent.h:
20915           added 100 symbols from gstreamer-unused.txt to the right sections
20916           fixed more broken comments
20917           added GstBus to docs
20918
20919 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20920
20921         * docs/gst/gstreamer-sections.txt:
20922         * docs/gst/tmpl/.cvsignore:
20923         * docs/gst/tmpl/gstbin.sgml:
20924         * docs/gst/tmpl/gstbuffer.sgml:
20925         * gst/base/gstbasesrc.c:
20926         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20927         * gst/gstbuffer.c:
20928         * gst/gstbuffer.h:
20929         * tools/gst-launch.1.in:
20930           inlined more doc comments, added missing comments and fixed comments
20931           fixed typos
20932
20933 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20934
20935         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20936           some debugging
20937         * gst/gstcaps.h:
20938           whitespace fixes
20939         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20940           more debugging
20941         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20942         * gst/gststructure.h:
20943           add a fixate function for booleans; add a FIXME that these func
20944           names should probably be gst_structure_fixate_*
20945
20946 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20947
20948         * docs/gst/gstreamer-docs.sgml:
20949         * docs/gst/gstreamer-sections.txt:
20950         * gst/Makefile.am:
20951         * gst/gstbin.c: (gst_bin_get_type),
20952         (gst_bin_child_proxy_get_child_by_index),
20953         (gst_bin_child_proxy_get_children_count),
20954         (gst_bin_child_proxy_init):
20955         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20956         (gst_child_proxy_get_child_by_index),
20957         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20958         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20959         (gst_child_proxy_get), (gst_child_proxy_set_property),
20960         (gst_child_proxy_set_valist), (gst_child_proxy_set),
20961         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20962         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20963         * gst/gstchildproxy.h:
20964         * gst/parse/grammar.y:
20965         * tools/gst-inspect.c: (print_interfaces),
20966         (print_element_properties_info), (print_element_info):
20967           ported gstchildproxy over from 0.8
20968           ported gst-inspect fixes and enhancements over from 0.8
20969
20970 2005-08-22  Wim Taymans  <wim@fluendo.com>
20971
20972         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20973         (gst_base_transform_handle_buffer):
20974         Also call the transform function if we have ANY caps.
20975
20976         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20977         Fix debug info.
20978
20979 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20980
20981         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20982           Don't pretend to handle seek events if the source is not seekable
20983
20984 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20985
20986         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20987           Remove extra parameter to debug output
20988
20989         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20990         (gst_base_src_do_seek), (gst_base_src_activate_push):
20991           Fix seek event handling.
20992
20993         * gst/gstpipeline.c: (gst_pipeline_change_state):
20994         * gst/gstqueue.c: (gst_queue_handle_sink_event),
20995         (gst_queue_src_activate_push):
20996           Don't start the src pad task on FLUSH_STOP if the pad
20997           isn't linked.
20998           Debug changes.
20999
21000 2005-08-22  Wim Taymans  <wim@fluendo.com>
21001
21002         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21003         Added check for gst_static_caps_get() refcounting.
21004
21005 2005-08-22  Wim Taymans  <wim@fluendo.com>
21006
21007         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21008         Make _static_caps_get() refcounting sane.
21009         
21010         * gst/gstelement.c: (gst_element_set_state):
21011         Add g_return_val_if_fail() to protect against segfaults.
21012
21013 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
21014
21015         * docs/gst/tmpl/gstevent.sgml:
21016         * gst/gstevent.c:
21017         * gst/gstevent.h:
21018           inlined remaining docs, added missing doc comments
21019
21020 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21021
21022         * check/gst/gstbin.c: (GST_START_TEST):
21023           since we don't know when preroll is done, use refcount range
21024           check for the sink
21025         * gst/check/gstcheck.h:
21026           add macro for checking refcount range
21027
21028 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21029
21030         * check/Makefile.am:
21031           clean up environment for when registry gets built versus
21032           when actual tests are run; valgrind seems to not report
21033           leaks if GST_PLUGIN_PATH is set to some specific values
21034         * check/gst/gstbin.c: (GST_START_TEST):
21035           add more refcounting checks; maybe this exposes a
21036           preroll lock bug ?
21037         * common/check.mak:
21038         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21039         * gst/check/gstcheck.h:
21040         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21041         (gst_bin_change_state):
21042         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21043           add/fix debugging/whitespace
21044
21045 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21046
21047         * check/gst/gstevent.c: (event_probe), (test_event),
21048         (GST_START_TEST):
21049          Er, don't call gst_bin_watch_for_state_change you idiot.
21050
21051 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21052
21053         * check/Makefile.am:
21054           Use CHECK_CFLAGS and CHECK_LIBS
21055         * check/gst/gstevent.c: (event_probe), (test_event),
21056         (GST_START_TEST):
21057           Don't leak events.
21058         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21059         (gst_base_src_start), (gst_base_src_stop),
21060         (gst_base_src_activate_push), (gst_base_src_activate_pull),
21061         (gst_base_src_change_state):
21062           Sprinkle gst_base_src_stop liberally around error paths to fix
21063           problems reusing a source after failed state changes.
21064         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21065         (helper_find_suggest), (gst_type_find_helper):
21066           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21067         * gst/gstevent.h:
21068         * docs/gst/tmpl/gstevent.sgml:
21069           Migrate part of the docs from the SGML file. Wait for ensonic to
21070           tell me how I did it wrong ;)
21071         * tools/gst-typefind.c: (main):
21072           Extra robustness to state changes between files.
21073
21074 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21075
21076         * check/Makefile.am:
21077           don't valgrind the controller test - it's leaking - Stefan, HELP
21078         * gst/check/gstcheck.c: (gst_check_message_error),
21079         (gst_check_chain_func), (gst_check_setup_element),
21080         (gst_check_teardown_element), (gst_check_setup_src_pad),
21081         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21082         (gst_check_teardown_sink_pad):
21083         * gst/check/gstcheck.h:
21084           add a bunch of methods to set up elements, and src and sink pads
21085         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21086         * check/elements/identity.c: (setup_identity), (cleanup_identity),
21087         (GST_START_TEST):
21088           use them
21089         * gst/gstmessage.c:
21090         * gst/gsttag.h:
21091           whitespace/doc fixes
21092
21093 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21094
21095         * gst/gstelement.h:
21096           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21097           be handled by the application and not always printed as well
21098
21099 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21100
21101         * check/Makefile.am:
21102           set GST_TOOLS_DIR
21103         * gst/check/gstcheck.c: (gst_check_message_error):
21104         * gst/check/gstcheck.h:
21105           add a fail_unless_equals_int
21106           add fail_unless for error messages
21107
21108 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21109
21110         * check/Makefile.am:
21111         * check/gst.supp:
21112         * common/Makefile.am:
21113         * common/check.mak:
21114         * common/gst.supp:
21115           factor out some of the common stuff so we can use it
21116
21117 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21118
21119         * check/Makefile.am:
21120         * check/gst/gstiterator.c: (GST_START_TEST):
21121         * check/gst/gstsystemclock.c: (GST_START_TEST),
21122         (gst_systemclock_suite):
21123         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21124         * gst/gstclock.c:
21125           valgrind more tests
21126
21127 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21128
21129         * check/elements/.cvsignore:
21130         * check/elements/gstfakesrc.c:
21131           rename to name of element
21132         * check/elements/identity.c: (chain_func), (event_func),
21133         (setup_identity), (cleanup_identity), (GST_START_TEST),
21134         (identity_suite), (main):
21135           add a test for identity
21136         * check/Makefile.am:
21137         * pkgconfig/Makefile.am:
21138         * pkgconfig/gstreamer-check.pc.in:
21139         * pkgconfig/gstreamer-check-uninstalled.pc.in:
21140         * gst/check:
21141         * gst/Makefile.am:
21142         * configure.ac:
21143           move the check stuff to a library that gets installed
21144         * check/gst-libs/controller.c: (GST_START_TEST):
21145         * check/gst-libs/gdp.c:
21146         * check/gst/gst.c: (GST_START_TEST):
21147         * check/gst/gstbin.c:
21148         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21149         * check/gst/gstbus.c:
21150         * check/gst/gstcaps.c: (GST_START_TEST):
21151         * check/gst/gstelement.c:
21152         * check/gst/gstghostpad.c:
21153         * check/gst/gstiterator.c:
21154         * check/gst/gstmessage.c:
21155         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21156         * check/gst/gstobject.c:
21157         * check/gst/gstpad.c: (GST_START_TEST):
21158         * check/gst/gststructure.c: (GST_START_TEST):
21159         * check/gst/gstsystemclock.c: (GST_START_TEST),
21160         (gst_systemclock_suite):
21161         * check/gst/gsttag.c: (gst_tag_suite):
21162         * check/gst/gstvalue.c:
21163         * check/pipelines/cleanup.c:
21164         * check/pipelines/simple_launch_lines.c:
21165         * check/states/sinks.c:
21166           change include statement
21167
21168         * docs/gst/gstreamer-sections.txt:
21169         * docs/gst/tmpl/gstpad.sgml:
21170           document more pad stuff
21171         * gst/gstminiobject.c: (gst_mini_object_ref),
21172         (gst_mini_object_unref):
21173           debug refcounting
21174
21175 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
21176
21177         * docs/gst/tmpl/gst.sgml:
21178         * gst/gst.c:
21179           eliminate another tmpl file, fix spelling in the long-description
21180
21181 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21182
21183         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21184         (test_event), (timediff), (gstevents_suite):
21185           Should fix build on 64-bit arch's
21186
21187 2005-08-18  Andy Wingo  <wingo@pobox.com>
21188
21189         Make sure that when a pipeline goes to PLAYING, that data has
21190         actually hit the sink.
21191
21192         * check/states/sinks.c (test_sink): A sink that doesn't get any
21193         data shouldn't return SUCCESS for going to either PLAYING or
21194         PAUSED. Test also the return values on the way back down.
21195
21196         * gst/gstelement.c (gst_element_set_state): When changing the
21197         state of an element currently changing state asynchronously, go to
21198         lost-state after commiting the pending state. Makes future calls
21199         to get_state continue to return ASYNC.
21200
21201         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21202         ASYNC when going to PLAYING if we still don't have preroll, as can
21203         happen with live sources.
21204
21205 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21206
21207         * docs/pwg/advanced-types.xml:
21208           Hack long paragraph into 2 chunks as a workaround for buggy
21209           jadetex version in sid and breezy that loops infinitely and
21210           eats all RAM.
21211
21212 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21213
21214         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21215         (test_event), (timediff), (gstevents_suite):
21216           Provide more error margin in clock measurements to allow for 
21217           g_get_current_time inaccuracies.
21218
21219 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21220
21221         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21222         (test_event), (timediff), (gstevents_suite):
21223            Fix error message output so I might be able to tell why the
21224            test works here but fails on the build farm.
21225
21226 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21227
21228         * check/Makefile.am:
21229         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21230         (test_event), (timediff), (gstevents_suite), (main):
21231           I wrote a test!
21232
21233         * docs/design/part-seeking.txt:
21234           Spelling correction
21235
21236         * docs/gst/tmpl/gstevent.sgml:
21237         * docs/gst/tmpl/gstfakesrc.sgml:
21238           Docs updates.
21239
21240         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21241           Treat a buffer-without-newsegment the same as a receiving 
21242           a newsegment not in time format, and disable syncing to the clock
21243           with a warning.
21244
21245         * gst/gstbus.c: (gst_bus_set_sync_handler):
21246           Assert if anyone tries to replace the existing sync_handler for bus, 
21247           as only the owner should be setting it.
21248
21249         * gst/gstevent.h:
21250           Have a fixed set of custom event enums with events identified by
21251           their structure name (as in 0.8), rather than a free-for-all
21252           allowing collisions between enum values from different plugins.
21253
21254         * gst/gstpad.c: (gst_pad_class_init):
21255           Docs change.
21256           
21257         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21258           Handle out-of-band downstream events from the sending thread.
21259
21260 2005-08-17  Andy Wingo  <wingo@pobox.com>
21261
21262         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21263         play-timeout==0 to mean no timeout at all. In that case, don't
21264         bother with a get_state or a warning, just return directly, even
21265         if it's ASYNC.
21266
21267         * gst/base/gstbasetransform.c: Debug changes.
21268
21269         * gst/gstutils.h:
21270         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21271         ensure bins post state change messages. A bit of a hack but I can't
21272         think of a way to avoid it.
21273
21274         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21275
21276 2005-08-16  Andy Wingo  <wingo@pobox.com>
21277
21278         * gst/base/gstadapter.h:
21279         * gst/base/gstadapter.c (gst_adapter_take): New function, like
21280         peek() but you own the data. Not terribly efficient atm.
21281
21282 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21283
21284         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21285         (gst_element_found_tags):
21286         * gst/gstutils.h:
21287           Add two utility functions for tag handling.
21288
21289 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21290
21291         * docs/manual/advanced-dataaccess.xml:
21292         * docs/manual/basics-helloworld.xml:
21293           Fix docs to use _bin_add() before _link(), which fixes the examples
21294           with recent core versions (reported by Madhan Raj M
21295           <raj_madan@rediffmail.com>, #313199).
21296
21297 2005-08-16  Wim Taymans  <wim@fluendo.com>
21298
21299         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21300         Added subtract checks.
21301
21302         * docs/design/part-events.txt:
21303         Some more docs about newsegment
21304
21305         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21306         Fix FIXME
21307
21308         * gst/gstcaps.c: (gst_caps_to_string):
21309         Add comments, cleanups.
21310         
21311         * gst/gstelement.c: (gst_element_save_thyself):
21312         cleanups
21313         
21314         * gst/gstvalue.c: (gst_value_collect_int_range),
21315         (gst_string_unwrap), (gst_value_union_int_int_range),
21316         (gst_value_union_int_range_int_range),
21317         (gst_value_intersect_int_int_range),
21318         (gst_value_intersect_int_range_int_range),
21319         (gst_value_intersect_double_double_range),
21320         (gst_value_intersect_double_range_double_range),
21321         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21322         (gst_value_subtract_int_range_int),
21323         (gst_value_subtract_double_range_double),
21324         (gst_value_subtract_double_range_double_range),
21325         (gst_value_subtract_from_list), (gst_value_subtract_list),
21326         (gst_value_can_compare), (gst_value_compare_fraction):
21327         Cleanups, add comments, remove unneeded asserts.
21328
21329 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21330
21331         * tools/gst-launch.c: (event_loop):
21332           don't convert NULL structures to strings
21333
21334 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
21335
21336         * docs/gst/gstreamer-sections.txt:
21337           made some defines private
21338         * docs/gst/tmpl/gstconfig.sgml:
21339         * docs/gst/tmpl/gstqueue.sgml:
21340         * docs/gst/tmpl/gsttaglist.sgml:
21341         * docs/gst/tmpl/gsttypes.sgml:
21342         * docs/gst/tmpl/gstutils.sgml:
21343         * docs/pwg/appendix-porting.xml:
21344         * gst/base/gstbasesink.h:
21345         * gst/base/gstbasesrc.c:
21346         * gst/base/gstbasesrc.h:
21347         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21348         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21349         * gst/gstelement.c: (gst_element_class_init):
21350         * gst/gstpad.c: (gst_pad_class_init):
21351         * gst/gstqueue.c: (gst_queue_class_init):
21352         * gst/gstxml.c: (gst_xml_class_init):
21353           documented all undocumented signal inline
21354         * libs/gst/controller/gst-controller.h:
21355           added padding
21356
21357 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21358
21359         * docs/pwg/appendix-porting.xml:
21360           Document _set_link_function -> _set_setcaps_function.
21361
21362 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21363
21364         * check/Makefile.am:
21365           add a .check target for running the check
21366         * check/gst-libs/controller.c: (GST_START_TEST):
21367           cosmetic fixups
21368         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21369           complete checks for gstbuffer; would be nice if I could get the
21370           gcov stuff to work so I can see if I actually completed gstbuffer.c
21371         * check/gstcheck.h:
21372           add ASSERT_BUFFER_REFCOUNT
21373
21374 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
21375
21376         * docs/gst/gstreamer-sections.txt:
21377         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21378         * gst/gsttag.h:
21379           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21380           spew out a warning if a tag that is already registered
21381           is re-registered, unless it is re-registered with a 
21382           different type (#308438).
21383
21384 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
21385
21386         * docs/pwg/appendix-porting.xml:
21387         * docs/pwg/building-state.xml:
21388           Add some paragraphs about state changes in 0.9 to the PWG
21389           and the porting guide, in particular about the new meaning
21390           of GST_STATE_PAUSED and how to write state change functions
21391           with concurrent access by multiple threads in mind.
21392
21393 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21394
21395         * docs/gst/gstreamer-docs.sgml:
21396         * docs/libs/gstreamer-libs-docs.sgml:
21397           added deprecation and since indexes
21398         * libs/gst/controller/gst-controller.c:
21399         * libs/gst/controller/gst-helper.c:
21400           added since tags
21401
21402
21403 2005-08-11  Wim Taymans  <wim@fluendo.com>
21404
21405         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21406         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21407         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21408         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21409         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21410         (gst_ghost_pad_set_target):
21411         Actually implement (re)setting the target on a ghostpad
21412         as described in the docs.
21413
21414 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21415
21416         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21417           Check whether GST_DEBUG_NO_COLOR environment variable is
21418           set and disable coloured debug output if that is the case.
21419
21420 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21421
21422         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21423         (gst_type_find_helper):
21424           The memory returned by gst_type_find_peek() needs to
21425           stay valid until the end of a typefind function, and
21426           typefind functions may keep results from different 
21427           offsets around, so we can't just unref the buffer from
21428           the previous _peek(), but have to save all buffers 
21429           returned by _peek() until typefinding is done and only
21430           free them then.
21431
21432 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
21433
21434         * docs/gst/gstreamer-sections.txt:
21435         * gst/gstutils.h:
21436           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21437
21438 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21439
21440         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21441           Fix a pretty good memleak.
21442
21443 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21444
21445         * gst/gstiterator.h:
21446           Fix wrong include and 'make distcheck'.
21447
21448 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21449
21450         * gst/gstbin.c: (bin_bus_handler):
21451           Use gst_element_post_message() instead.
21452
21453 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21454
21455         * gst/base/gstadapter.h:
21456         * gst/base/gstbasesink.h:
21457         * gst/base/gstbasesrc.h:
21458         * gst/base/gstbasetransform.h:
21459         * gst/base/gstcollectpads.h:
21460         * gst/base/gstpushsrc.h:
21461         * gst/gstiterator.h:
21462           Add padding to our base elements' class and instance structs and
21463           to GstIterator (you will need to rebuild all plugins and apps!)
21464
21465 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21466
21467         * gst/gstbin.c: (bin_bus_handler):
21468           Make default message forwarding from child->bus to bin->bus
21469           threadsafe and make it not emit warnings if the parent has no bus.
21470
21471 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21472
21473         * gst/gstelement.c: (activate_pads):
21474           On paused->ready, set pad->caps to NULL, as is the documented
21475           behaviour in this state change. Fixes playback of series of
21476           media files when visualization is enabled in Totem.
21477
21478 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21479
21480         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21481           Allow NULL as filter-caps (which means "any").
21482
21483 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21484
21485         * docs/libs/gstreamer-libs-sections.txt:
21486         * libs/gst/controller/gst-controller.c:
21487         * libs/gst/controller/gst-controller.h:
21488         * libs/gst/controller/gst-helper.c:
21489           adding more entries to the docs and fix small doc-bugs
21490
21491 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21492
21493         * docs/gst/gstreamer-docs.sgml:
21494         * docs/gst/gstreamer-sections.txt:
21495         * docs/gst/gstreamer.types:
21496         * docs/gst/tmpl/gstbasesink.sgml:
21497         * docs/gst/tmpl/gstbasesrc.sgml:
21498         * docs/gst/tmpl/gstbasetransform.sgml:
21499         * docs/gst/tmpl/gstfakesrc.sgml:
21500         * gst/base/gstcollectpads.c:
21501         * gst/base/gstcollectpads.h:
21502         * libs/gst/controller/gst-controller.c:
21503         * libs/gst/controller/gst-controller.h:
21504         * libs/gst/controller/gst-helper.c:
21505         * libs/gst/controller/gst-interpolation.c:
21506         * libs/gst/controller/lib.c:
21507           added long/short desc for controller docs
21508           added collectpads base class docs
21509           added correct includes to base-class docs
21510
21511 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21512
21513         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21514         (gst_test_mono_source_set_property),
21515         (gst_test_mono_source_class_init), (GST_START_TEST),
21516         (gst_controller_suite):
21517         * docs/gst/gstreamer-docs.sgml:
21518         * docs/gst/gstreamer-sections.txt:
21519         * docs/gst/gstreamer.types:
21520         * docs/libs/gstreamer-libs-docs.sgml:
21521         * docs/libs/gstreamer-libs-sections.txt:
21522         * gst/base/gstadapter.c:
21523         * libs/gst/controller/gst-controller.c:
21524         (gst_controlled_property_new), (gst_controlled_property_free),
21525         (gst_controller_new_valist),
21526         (gst_controller_remove_properties_valist),
21527         (gst_controller_sink_values), (_gst_controller_finalize):
21528         * libs/gst/controller/gst-controller.h:
21529         * libs/gst/controller/gst-helper.c:
21530         (gst_object_control_properties), (gst_object_uncontrol_properties),
21531         (gst_object_get_controller), (gst_object_set_controller),
21532         (gst_object_sink_values), (gst_object_get_value_arrays),
21533         (gst_object_get_value_array):
21534           more tests (and fixes) for the controller
21535           more docs for the controller
21536           integrated companies docs for the adapter 
21537
21538 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21539
21540         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21541         (GST_START_TEST), (fakesrc_suite):
21542           add tests for sizetype
21543
21544 2005-08-04  Andy Wingo  <wingo@pobox.com>
21545
21546         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21547         fixes buffer_alloc proxying among other things.
21548
21549         * gst/base/gstbasetransform.c:
21550         * gst/base/gstbasetransform.h:
21551         Revert patch to gstbasetransform from 7-28 removing
21552         delay_configure.
21553
21554         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21555         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21556         Semantics changed, should return not the size of the output buffer
21557         but the byte size of a buffer with a given caps.
21558
21559         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21560         debug object.
21561         (gst_base_transform_configure_caps): Don't set out_size here: (in,
21562         out) are not the pad caps until setcaps finishes.
21563         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21564         not-in-place case as well. Deal with changing from in-place to
21565         not-in-place within calling pad_alloc_buffer. Still a bit
21566         concerned about the overhead here...
21567
21568 2005-08-03  Andy Wingo  <wingo@pobox.com>
21569
21570         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21571         fixating is an error.
21572
21573 2005-08-04  Edward Hervey  <edward@fluendo.com>
21574
21575         * gst/base/gstadapter.h: 
21576         Added gst_adapter_get_type() to the header
21577
21578 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21579
21580         * check/Makefile.am:
21581         * check/gst-libs/controller.c:
21582         * libs/gst/controller/gst-controller.c:
21583         (gst_controller_new_valist):
21584           added check test suite for the controller
21585         * gst/base/gstpushsrc.c:
21586           fixed a doc typo
21587
21588 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21589
21590         * docs/gst/Makefile.am:
21591         * docs/gst/gstreamer-docs.sgml:
21592         * docs/gst/gstreamer-sections.txt:
21593         * docs/gst/gstreamer.types:
21594         * docs/gst/tmpl/gstfakesrc.sgml:
21595         * gst/base/README:
21596         * gst/base/gstbasesink.c:
21597         * gst/base/gstbasesink.h:
21598         * gst/base/gstbasesrc.c:
21599         * gst/base/gstbasesrc.h:
21600         * gst/base/gstbasetransform.c:
21601         * gst/base/gstpushsrc.c:
21602         * gst/base/gstpushsrc.h:
21603           add short/long description docs to base classes
21604           add pushsrc to the docs
21605           remove consolidated doc fragments
21606
21607 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21608
21609         * configure.ac:
21610         * docs/libs/Makefile.am:
21611         * docs/libs/gstreamer-libs-docs.sgml:
21612         * docs/libs/gstreamer-libs-sections.txt:
21613         * docs/libs/gstreamer-libs.types:
21614         * examples/Makefile.am:
21615         * examples/controller/.cvsignore:
21616         * examples/controller/Makefile.am:
21617         * examples/controller/audio-example.c: (main):
21618         * libs/gst/Makefile.am:
21619         * libs/gst/controller/.cvsignore:
21620         * libs/gst/controller/Makefile.am:
21621         * libs/gst/controller/gst-controller.c:
21622         (on_object_controlled_property_changed), (gst_timed_value_compare),
21623         (gst_timed_value_find),
21624         (gst_controlled_property_set_interpolation_mode),
21625         (gst_controlled_property_new), (gst_controlled_property_free),
21626         (gst_controller_find_controlled_property),
21627         (gst_controller_new_valist), (gst_controller_new),
21628         (gst_controller_remove_properties_valist),
21629         (gst_controller_remove_properties), (gst_controller_set),
21630         (gst_controller_set_from_list), (gst_controller_unset),
21631         (gst_controller_get), (gst_controller_get_all),
21632         (gst_controller_sink_values), (gst_controller_get_value_arrays),
21633         (gst_controller_get_value_array),
21634         (gst_controller_set_interpolation_mode),
21635         (_gst_controller_finalize), (_gst_controller_init),
21636         (_gst_controller_class_init), (gst_controller_get_type):
21637         * libs/gst/controller/gst-controller.h:
21638         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21639         (g_object_uncontrol_properties), (g_object_get_controller),
21640         (g_object_set_controller), (g_object_sink_values),
21641         (g_object_get_value_arrays), (g_object_get_value_array):
21642         * libs/gst/controller/gst-interpolation.c:
21643         (gst_controlled_property_find_timed_value_node),
21644         (interpolate_none_get), (interpolate_trigger_get),
21645         (interpolate_trigger_get_value_array):
21646         * libs/gst/controller/lib.c: (gst_controller_init):
21647         * pkgconfig/Makefile.am:
21648         * pkgconfig/gstreamer-control-uninstalled.pc.in:
21649         * pkgconfig/gstreamer-control.pc.in:
21650         * testsuite/Makefile.am:
21651         * testsuite/controller/.cvsignore:
21652         * testsuite/controller/Makefile.am:
21653         * testsuite/controller/interpolator.c: (main):
21654           added controller code
21655           removed dparam pc files
21656
21657 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21658         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21659         (gst_collectpads_stop):
21660           Broadcast the condition when shutting down, to make sure we wake all
21661           threads up. Shut down pads on finalize, for safety.
21662
21663 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21664         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21665         (gst_base_transform_handle_buffer),
21666         (gst_base_transform_change_state):
21667           Handle PAUSED->READY->PAUSED transition after negotiation
21668           occurred already.
21669         * gst/gstmessage.c: (gst_message_init):
21670           Extra piece of debug for new messages.
21671
21672 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
21673
21674         * configure.ac:
21675         * docs/gst/tmpl/gstbasesrc.sgml:
21676         * docs/gst/tmpl/gstelement.sgml:
21677         * docs/gst/tmpl/gstevent.sgml:
21678         * docs/gst/tmpl/gstfakesrc.sgml:
21679         * docs/gst/tmpl/gstformat.sgml:
21680         * docs/gst/tmpl/gstghostpad.sgml:
21681         * docs/gst/tmpl/gstpad.sgml:
21682         * docs/gst/tmpl/gstquery.sgml:
21683         * docs/gst/tmpl/gststructure.sgml:
21684         * docs/gst/tmpl/gsttaglist.sgml:
21685         * docs/gst/tmpl/gstvalue.sgml:
21686         * docs/libs/gstreamer-libs-docs.sgml:
21687         * docs/libs/gstreamer-libs-sections.txt:
21688         * docs/libs/gstreamer-libs.types:
21689         * libs/gst/Makefile.am:
21690         * libs/gst/control/.cvsignore:
21691         * libs/gst/control/Makefile.am:
21692         * libs/gst/control/control.c:
21693         * libs/gst/control/control.h:
21694         * libs/gst/control/dparam.c:
21695         * libs/gst/control/dparam.h:
21696         * libs/gst/control/dparam_smooth.c:
21697         * libs/gst/control/dparam_smooth.h:
21698         * libs/gst/control/dparamcommon.h:
21699         * libs/gst/control/dparammanager.c:
21700         * libs/gst/control/dparammanager.h:
21701         * libs/gst/control/dplinearinterp.c:
21702         * libs/gst/control/dplinearinterp.h:
21703         * libs/gst/control/unitconvert.c:
21704         * libs/gst/control/unitconvert.h:
21705         * testsuite/Makefile.am:
21706         * testsuite/dynparams/.cvsignore:
21707         * testsuite/dynparams/Makefile.am:
21708         * testsuite/dynparams/dparamstest.c:
21709         * tools/Makefile.am:
21710         * tools/gst-inspect.c: (print_element_info), (main):
21711         * tools/gst-xmlinspect.c: (print_element_info), (main):
21712           deactivate and remove dparams (libgstcontrol)
21713
21714 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21715
21716         * gst/elements/gsttypefindelement.c:
21717         (gst_type_find_element_have_type), (gst_type_find_element_init),
21718         (stop_typefinding), (gst_type_find_element_handle_event),
21719         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21720         * gst/elements/gsttypefindelement.h:
21721           Set caps on all outgoing buffers, not just the first one.
21722
21723 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21724
21725         * gst/elements/gsttypefindelement.c:
21726         (gst_type_find_element_have_type),
21727         (gst_type_find_element_check_set_buffer_caps),
21728         (gst_type_find_element_init), (stop_typefinding),
21729         (gst_type_find_element_handle_event),
21730         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21731         * gst/elements/gsttypefindelement.h:
21732           Set caps on first outgoing buffer when we've found the type.
21733
21734 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21735
21736         * docs/gst/gstreamer-docs.sgml:
21737         * docs/gst/gstreamer-sections.txt:
21738         * docs/gst/tmpl/gstscheduler.sgml:
21739         * docs/gst/tmpl/gstschedulerfactory.sgml:
21740           Remove some old cruft from docs.
21741
21742 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
21743
21744         * gst/gstpad.h:
21745           Fix inline docs for GstPadLinkReturn.
21746           
21747         * gst/gststructure.c: (gst_structure_has_name):
21748         * gst/gststructure.h:
21749         * docs/gst/gstreamer-sections.txt:
21750           New API: gst_structure_has_name().
21751
21752 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
21753
21754         * configure.ac:
21755           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21756           and _LARGEFILE_SOURCE in config.h as required. Do not 
21757           export those flags in our .pc files any longer (#142209).
21758
21759           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21760
21761         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21762         (gst_file_sink_do_seek), (gst_file_sink_event),
21763         (gst_file_sink_get_current_offset), (gst_file_sink_render):
21764           Redo seek/tell calls with large file support in mind; add some
21765           debugging messages; add log message that tells us when large
21766           file support is unavailable or not enabled for some reason.
21767
21768         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21769           Add log message that tells us when large file support 
21770           is unavailable or not enabled for some reason.
21771
21772 2005-07-29  Wim Taymans  <wim@fluendo.com>
21773
21774         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21775         Added test for removing an element with ghostpad from a bin.
21776         Fixed test as current implementation does the right thing.
21777
21778         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21779         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21780         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21781         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21782         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21783         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21784         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21785         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21786         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21787         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21788         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21789         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21790         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21791         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21792         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21793         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21794         * gst/gstghostpad.h:
21795         Clean up ghostpads, remove properties for internal stuff.
21796         Make threadsafe.
21797         Fix refcounting.
21798         Prepare for switching targets, not all use cases work yet.
21799
21800 2005-07-29  Wim Taymans  <wim@fluendo.com>
21801
21802         * docs/design/part-gstghostpad.txt:
21803         Small update.
21804
21805         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21806         (gst_bin_remove_func):
21807         Unlinking pads while holding the bin LOCK is not a good
21808         idea.
21809
21810         * gst/gstpad.c: (gst_pad_class_init),
21811         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21812         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21813         No prob setting template after creating the pad.
21814
21815 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
21816
21817         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21818         (gst_bus_peek), (gst_bus_source_dispatch),
21819         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21820         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21821           gst_bus_poll may be called from other threads. Handle
21822           this nicely by not making poll_data disappear off the
21823           stack once gst_bus_poll returns.
21824           gst_bus_peek now increments the refcount on the returned
21825           message.
21826
21827 2005-07-29  Wim Taymans  <wim@fluendo.com>
21828
21829         * docs/design/part-gstghostpad.txt:
21830         Overview of current GhostPad datastructures and use
21831         cases for changing the target.
21832
21833 2005-07-28  Wim Taymans  <wim@fluendo.com>
21834
21835         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21836         Added checks for hierarchy consistency whan adding linked
21837         elements to bins.
21838
21839         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21840         Added check to test element scheduling without bin/pipeline.
21841
21842         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21843         First add elements to bin, then link.
21844         
21845         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21846         (gst_bin_remove_func):
21847         Unlink pads from elements added/removed from bin to maintain
21848         hierarchy consistency.
21849
21850 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21851
21852         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21853         (gst_base_transform_handle_buffer):
21854         * gst/base/gstbasetransform.h:
21855           Remove broken delay_configure (fixes renegotiation of software
21856           scaling pipelines); remove some leftover printf()s.
21857
21858 2005-07-28  Wim Taymans  <wim@fluendo.com>
21859
21860         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21861         Added some more tests for wrong hierarchy
21862
21863         * docs/design/part-overview.txt:
21864         Some updates.
21865
21866         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21867         Cleanups.
21868
21869         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21870         (gst_element_dispose):
21871         Some more cleanups.
21872
21873         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21874         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21875         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21876         (gst_pad_set_caps), (gst_pad_send_event):
21877         Check for correct hierarchy when linking pads. Moving to
21878         strict requirement for ghostpads when linking elements in
21879         different bins.
21880
21881         * gst/gstpad.h:
21882         Clean ups. Added WRONG_HIERARCHY return value.
21883
21884 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21885
21886         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21887           Better debug if no transform is possible.
21888
21889 2005-07-27  Wim Taymans  <wim@fluendo.com>
21890
21891         * docs/random/wtay/network-transp:
21892         Some old doc I had.
21893
21894 2005-07-27  Wim Taymans  <wim@fluendo.com>
21895
21896         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21897         (gst_dp_event_from_packet):
21898         Fix serialization of seek events.
21899
21900 2005-07-27  Wim Taymans  <wim@fluendo.com>
21901
21902         * check/gst-libs/gdp.c: (GST_START_TEST):
21903         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21904         Fix compilation and fix event serialization.
21905
21906 2005-07-27  Wim Taymans  <wim@fluendo.com>
21907
21908         * CHANGES-0.9:
21909         * docs/design/part-TODO.txt:
21910         * docs/design/part-events.txt:
21911         Some docs updates
21912
21913         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21914         (gst_base_sink_event), (gst_base_sink_do_sync),
21915         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21916         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21917         (gst_base_src_do_seek), (gst_base_src_event_handler),
21918         (gst_base_src_loop):
21919         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21920         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21921         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21922         (gst_base_transform_event), (gst_base_transform_handle_buffer),
21923         (gst_base_transform_set_passthrough),
21924         (gst_base_transform_is_passthrough):
21925         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21926         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21927         Event updates.
21928
21929         * gst/gstbuffer.h:
21930         Use faster casts.
21931
21932         * gst/gstelement.c: (gst_element_seek):
21933         * gst/gstelement.h:
21934         Update gst_element_seek.
21935
21936         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21937         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21938         (gst_event_new_flush_start), (gst_event_new_flush_stop),
21939         (gst_event_new_eos), (gst_event_new_newsegment),
21940         (gst_event_parse_newsegment), (gst_event_new_tag),
21941         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21942         (gst_event_parse_qos), (gst_event_new_seek),
21943         (gst_event_parse_seek), (gst_event_new_navigation):
21944         * gst/gstevent.h:
21945         Make GstEvent use GstStructure. Add parsing code, make sure the
21946         API is sufficiently generic.
21947         Mark possible directions of events and serialization.
21948
21949         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21950         (_gst_message_copy), (gst_message_new_segment_start),
21951         (gst_message_new_segment_done), (gst_message_new_custom),
21952         (gst_message_parse_segment_start),
21953         (gst_message_parse_segment_done):
21954         Small cleanups.
21955
21956         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21957         (gst_pad_set_caps), (gst_pad_send_event):
21958         Update for new events. 
21959         Catch events sent in wrong directions.
21960
21961         * gst/gstqueue.c: (gst_queue_link_src),
21962         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21963         (gst_queue_handle_src_query):
21964         Event updates.
21965
21966         * gst/gsttag.c:
21967         * gst/gsttag.h:
21968         Remove event code from this file.
21969
21970         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21971         (gst_dp_event_from_packet):
21972         Event updates.
21973
21974 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21975
21976         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21977         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21978         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21979           Make debugging actually useful.
21980
21981 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21982
21983         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21984         (gst_pad_fixate_caps):
21985           Implement default fixation once again, so that gst_pad_fixate()
21986           actually does anything at all. This probably needs to be some
21987           sort of a last resort, and use profile-based fixation first, but
21988           since that doesn't exist yet, this is the best we have. Fixes
21989           visualization in Totem.
21990
21991 2005-07-22  Wim Taymans  <wim@fluendo.com>
21992
21993         * docs/design/part-events.txt:
21994         Small update.
21995
21996         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21997         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21998         (gst_base_sink_activate_pull):
21999         Some more comments.
22000
22001         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22002         (gst_fake_src_create):
22003         Fix handoff marshall.
22004
22005         * gst/elements/gstidentity.c: (gst_identity_class_init),
22006         (gst_identity_transform_ip):
22007         We're a real inplace element.
22008
22009         * gst/gstbus.c: (gst_bus_post):
22010         Added some comments.
22011
22012         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22013         * tests/muxing/case1.c: (main):
22014         * tests/sched/dynamic-pipeline.c: (main):
22015         * tests/sched/interrupt1.c: (main):
22016         * tests/sched/interrupt2.c: (main):
22017         * tests/sched/interrupt3.c: (main):
22018         * tests/sched/runxml.c: (main):
22019         * tests/sched/sched-stress.c: (main):
22020         * tests/seeking/seeking1.c: (event_received), (main):
22021         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22022         (main):
22023         * tests/threadstate/threadstate3.c: (main):
22024         * tests/threadstate/threadstate4.c: (main):
22025         * tests/threadstate/threadstate5.c: (main):
22026         Fix the tests.
22027
22028 2005-07-21  Wim Taymans  <wim@fluendo.com>
22029
22030         * docs/design/part-seeking.txt:
22031         Some small additions.
22032
22033         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22034         (gst_base_sink_get_times), (gst_base_sink_do_sync),
22035         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22036         * gst/base/gstbasesink.h:
22037         discont values are gint64, handle the math correctly.
22038
22039         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22040         Make the basesrc report error if the source pad is not linked.
22041
22042         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22043         (gst_queue_loop), (gst_queue_handle_src_query),
22044         (gst_queue_src_activate_push):
22045         Make queue collect data even if the srcpad is not linked.
22046         Start pushing out data as soon as it is linked.
22047
22048         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22049         * gst/gstutils.h:
22050         Added gst_flow_get_name() to ease error reporting.
22051
22052 2005-07-20  Wim Taymans  <wim@fluendo.com>
22053
22054         * gst/gstmessage.c: (gst_message_new_segment_start),
22055         (gst_message_new_segment_done), (gst_message_parse_segment_start),
22056         (gst_message_parse_segment_done):
22057         * gst/gstmessage.h:
22058         Added a bunch of messages for advanced seeking.
22059
22060         * gst/parse/grammar.y:
22061         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22062         (gst_dpman_state_changed):
22063         Fix some new-pad -> pad-added signals
22064
22065 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22066
22067         * docs/manual/appendix-porting.xml:
22068         * docs/pwg/appendix-porting.xml:
22069           Document new-pad/state-change signal renames and the FixedList
22070           type rename.
22071
22072 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22073
22074         * docs/manual/advanced-autoplugging.xml:
22075         * docs/manual/basics-helloworld.xml:
22076         * docs/manual/basics-pads.xml:
22077         * docs/random/ds/0.9-suggested-changes:
22078         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22079         * gst/gstelement.h:
22080         * gst/gstevent.h:
22081         * gst/gstformat.h:
22082         * gst/gstquery.h:
22083         * gst/gststructure.c: (gst_structure_value_get_generic_type),
22084         (gst_structure_parse_array), (gst_structure_parse_value):
22085         * gst/gstvalue.c: (gst_type_is_fixed),
22086         (gst_value_list_prepend_value), (gst_value_list_append_value),
22087         (gst_value_list_get_size), (gst_value_list_get_value),
22088         (gst_value_transform_array_string), (gst_value_serialize_array),
22089         (gst_value_deserialize_array), (gst_value_intersect_array),
22090         (gst_value_is_fixed), (_gst_value_initialize):
22091         * gst/gstvalue.h:
22092           GstElement::new-pad -> pad-added, GstElement::state-change ->
22093           state-changed, GstValueFixedList -> GstValueArray, add format and
22094           flags as their own arguments in gst_element_seek() (should improve
22095           "bindeability"), remove function generators since they don't work
22096           under a whole bunch of compilers (they were deprecated already
22097           anyway).
22098
22099 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22100
22101         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22102         (_gst_debug_register_funcptr):
22103         * gst/gstinfo.h:
22104           Fix illegal cast on some platforms (#309253).
22105
22106 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22107
22108         * gst/gstmessage.c: (gst_message_new_custom):
22109         * gst/gstmessage.h:
22110           Add _new_custom, make _new_application a macro to _new_custom.
22111
22112 2005-07-20  Wim Taymans  <wim@fluendo.com>
22113
22114         * gst/base/gstbasesrc.c: (gst_base_src_init),
22115         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22116         * gst/base/gstbasesrc.h:
22117         Add a gboolean to decide when to push out a discont.
22118
22119         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22120         (gst_queue_loop), (gst_queue_handle_src_query),
22121         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22122         (gst_queue_set_property), (gst_queue_get_property):
22123         Some cleanups.
22124
22125         * tests/threadstate/threadstate1.c: (main):
22126         Make a thread test compile and run... very silly..
22127
22128
22129 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22130
22131         * docs/manual/appendix-porting.xml:
22132           Mention removal of libgstgconf-0.9.la and existence of gconf
22133           elements.
22134
22135 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22136
22137         * docs/pwg/advanced-clock.xml:
22138         * docs/pwg/appendix-porting.xml:
22139         * docs/pwg/intro-preface.xml:
22140         * docs/pwg/other-base.xml:
22141         * docs/pwg/other-manager.xml:
22142         * docs/pwg/other-nton.xml:
22143         * docs/pwg/other-ntoone.xml:
22144         * docs/pwg/other-oneton.xml:
22145         * docs/pwg/pwg.xml:
22146           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22147           demuxer), remove n-to-n (was never written), fix some code examples
22148           and links and update the porting section to include all this.
22149
22150 2005-07-19  Wim Taymans  <wim@fluendo.com>
22151
22152         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22153         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22154         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22155         (gst_queue_src_activate_push), (gst_queue_change_state),
22156         (gst_queue_get_property):
22157         * gst/gstqueue.h:
22158         Propagate GstFlowReturn more intelligently upstream and output
22159         an ERROR/EOS when streaming stopped due to fatal error.
22160
22161 2005-07-19  Wim Taymans  <wim@fluendo.com>
22162
22163         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22164         Don't block forever for the state change to complete, the
22165         pipeline already did with a sensible timeout.
22166
22167 2005-07-19  Wim Taymans  <wim@fluendo.com>
22168
22169         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22170         Make sure we never call the create function is we
22171         got deactivated.
22172
22173 2005-07-19  Andy Wingo  <wingo@pobox.com>
22174
22175         * gst/parse/parse.l: Attempt to solve bug #172815.
22176
22177 2005-07-19  Wim Taymans  <wim@fluendo.com>
22178
22179         * docs/design/part-clocks.txt:
22180         * docs/design/part-events.txt:
22181         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22182         Small docs updates.
22183         Only update the seeking values when we are not
22184         busy streaming.
22185
22186 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22187
22188         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22189           Oops, ignore the result of gst_pad_push_event here.
22190
22191 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22192
22193         * gst/base/gstbasesrc.c: (gst_base_src_loop),
22194         (gst_base_src_activate_push):
22195           Send discont event from the loop function, as pads
22196           aren't activated yet in the activate_push handler.
22197
22198         * gst/gstbin.c: (bin_bus_handler):
22199           Don't leak element name.
22200
22201 2005-07-18  Andy Wingo  <wingo@pobox.com>
22202
22203         * configure.ac: Use AS_LIBTOOL_TAGS.
22204
22205 2005-07-18  Wim Taymans  <wim@fluendo.com>
22206
22207         * docs/gst/gstreamer.types:
22208         Remove deleted types.
22209
22210 2005-07-18  Wim Taymans  <wim@fluendo.com>
22211
22212         * check/elements/gstfakesrc.c: (GST_START_TEST):
22213         * configure.ac:
22214         * gst/Makefile.am:
22215         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22216         (init_popt_callback):
22217         * gst/gst.h:
22218         * gst/gst_private.h:
22219         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22220         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22221         * gst/gstbin.h:
22222         * gst/gstbus.h:
22223         * gst/gstconfig.h.in:
22224         * gst/gstelement.c: (gst_element_class_init),
22225         (gst_element_set_base_time), (gst_element_get_base_time),
22226         (iterator_fold_with_resync), (gst_element_change_state),
22227         (gst_element_dispose), (gst_element_get_bus):
22228         * gst/gstelement.h:
22229         * gst/gstelementfactory.h:
22230         * gst/gsterror.c: (_gst_core_errors_init):
22231         * gst/gsterror.h:
22232         * gst/gstevent.h:
22233         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22234         * gst/gstindex.c:
22235         * gst/gstinfo.c: (_gst_debug_init):
22236         * gst/gstmessage.c: (_gst_message_copy):
22237         * gst/gstmessage.h:
22238         * gst/gstminiobject.h:
22239         * gst/gstobject.c:
22240         * gst/gstobject.h:
22241         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22242         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22243         * gst/gstpad.h:
22244         * gst/gstparse.h:
22245         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22246         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22247         (gst_pipeline_get_last_stream_time):
22248         * gst/gstpipeline.h:
22249         * gst/gstpluginfeature.h:
22250         * gst/gstquery.h:
22251         * gst/gstscheduler.c:
22252         * gst/gstscheduler.h:
22253         * gst/gststructure.h:
22254         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22255         (gst_task_finalize), (gst_task_func), (gst_task_create),
22256         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22257         (gst_task_stop), (gst_task_pause):
22258         * gst/gsttask.h:
22259         * gst/gsttypefind.h:
22260         * gst/gsttypes.h:
22261         * gst/registries/gstlibxmlregistry.c: (load_feature),
22262         (gst_xml_registry_load), (gst_xml_registry_save_feature):
22263         * gst/registries/gstxmlregistry.c:
22264         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22265         * gst/schedulers/threadscheduler.c:
22266         * libs/gst/control/dparammanager.h:
22267         * tools/gst-inspect.c: (print_element_list),
22268         (print_plugin_features), (print_element_features):
22269         * tools/gst-xmlinspect.c: (print_element_list),
22270         (print_plugin_info), (main):
22271         Removed plugable schedulers.
22272         Removed Scheduler/Manager from elements.
22273         Removed gsttypes.h, rearranged includes.
22274         Removed dependency pad<->element, element<>pipeline, and
22275         various others,  fix includes.
22276         implement gst_pad_get_parent() with gst_object_get_parent()
22277         Make GstTask sefcontained.
22278         Fix _get_state() on GstBin, it did not return ASYNC with a 0
22279         timeout.
22280         Fix endless loop in iterator_fold_with_resync.
22281
22282
22283 2005-07-18  Wim Taymans  <wim@fluendo.com>
22284
22285         * gst/Makefile.am:
22286         * gst/gstarch.h:
22287         Remove old file.
22288
22289 2005-07-18  Wim Taymans  <wim@fluendo.com>
22290
22291         * gst/Makefile.am:
22292         No more cothreads.h
22293
22294 2005-07-18  Wim Taymans  <wim@fluendo.com>
22295
22296         * gst/cothreads.c:
22297         * gst/cothreads.h:
22298         Let's remove these.
22299
22300 2005-07-18  Wim Taymans  <wim@fluendo.com>
22301
22302         * docs/design/part-dynamic.txt:
22303         * docs/design/part-events.txt:
22304         * docs/design/part-seeking.txt:
22305         Some more docs in the works.
22306
22307         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22308         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22309         (gst_base_transform_setcaps), (gst_base_transform_get_size),
22310         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22311         (gst_base_transform_handle_buffer),
22312         (gst_base_transform_sink_activate_push),
22313         (gst_base_transform_src_activate_pull),
22314         (gst_base_transform_set_passthrough),
22315         (gst_base_transform_is_passthrough):
22316         Refcounting fixes.
22317
22318         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22319         Cleanups.
22320
22321         * gst/gstevent.c: (gst_event_finalize):
22322         Set SRC to NULL.
22323
22324         * gst/gstutils.c: (gst_element_unlink),
22325         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22326         (gst_pad_proxy_setcaps):
22327         * gst/gstutils.h:
22328         Add _get_parent_element() to get a pads parent as an element.
22329
22330 2005-07-18  Wim Taymans  <wim@fluendo.com>
22331
22332         * check/gst/gstbin.c: (GST_START_TEST):
22333         Remove bogus test.
22334
22335 2005-07-18  Wim Taymans  <wim@fluendo.com>
22336
22337         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22338         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22339         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22340         (gst_base_sink_event), (gst_base_sink_do_sync),
22341         (gst_base_sink_chain), (gst_base_sink_loop),
22342         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22343         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22344         Refcounting fixes.
22345         Fix logic for returning ASYNC when not prerolled.
22346
22347 2005-07-18  Wim Taymans  <wim@fluendo.com>
22348
22349         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22350         Fix nasty refcount bug.
22351
22352 2005-07-16 Philippe Khalaf <burger@speedy.org>
22353
22354         * gst/elements/gstfdsrc.c:
22355         * gst/elements/gstfdsrc.h:
22356         * gst/elements/gstelements.c:
22357         * gst/elements/Makefile.am:
22358         Ported fdsrc to 0.9.
22359
22360 2005-07-16  Wim Taymans  <wim@fluendo.com>
22361
22362         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22363         (gst_base_sink_do_sync):
22364         Fix compile error.
22365
22366 2005-07-16  Wim Taymans  <wim@fluendo.com>
22367
22368         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22369         (gst_base_sink_event), (gst_base_sink_get_times),
22370         (gst_base_sink_do_sync), (gst_base_sink_change_state):
22371         * gst/base/gstbasesink.h:
22372         Store and use discont values when syncing buffers as described
22373         in design docs.
22374         
22375         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22376         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22377         (gst_base_src_activate_push):
22378         Push discont event when starting.
22379
22380         * gst/elements/gstidentity.c: (gst_identity_transform):
22381         Small cleanups.
22382
22383         * gst/gstbin.c: (gst_bin_change_state):
22384         Small cleanups in base_time  distribution.
22385
22386         * gst/gstelement.c: (gst_element_set_base_time),
22387         (gst_element_get_base_time), (gst_element_change_state):
22388         * gst/gstelement.h:
22389         Added methods for the base_time of the element.
22390         Some MT fixes.
22391
22392         * gst/gstpipeline.c: (gst_pipeline_send_event),
22393         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22394         (gst_pipeline_get_last_stream_time):
22395         * gst/gstpipeline.h:
22396         MT fixes.
22397         Handle seeking as described in design doc, remove stream_time
22398         hack.
22399         Cleanups clock and stream_time selection code. Added accessors
22400         for the stream_time.
22401         
22402
22403 2005-07-16  Andy Wingo  <wingo@pobox.com>
22404
22405         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22406         (#305291).
22407
22408 2005-07-16  Wim Taymans  <wim@fluendo.com>
22409
22410         * check/gst/gstbin.c: (GST_START_TEST):
22411         Make elements silent as the deep_notify refs the
22412         parent, which might make the test fail.
22413
22414         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22415         Don't hold the lock for too long.
22416
22417 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
22418
22419         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22420           Don't unref the caps we passed to gst_caps_make_writable() after
22421           passing them. gst_caps_make_writable() will do that for us.
22422
22423 2005-07-15  Andy Wingo  <wingo@pobox.com>
22424
22425         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22426         (#157311).
22427
22428         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22429         own marshalling function for the handoff signal. Properly type the
22430         buffer as a buffer. Fixes some warnings. Should do a more general
22431         solution.
22432         (gst_identity_class_init): Plug into the right marshaller.
22433
22434 2005-07-15  Wim Taymans  <wim@fluendo.com>
22435
22436         * docs/design/part-TODO.txt:
22437         * docs/design/part-clocks.txt:
22438         * docs/design/part-element-sink.txt:
22439         * docs/design/part-events.txt:
22440         * docs/design/part-gstpipeline.txt:
22441         Updated docs, mostly DISCONT related.
22442
22443 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
22444
22445         * docs/pwg/building-pads.xml:
22446           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22447
22448 2005-07-15  Andy Wingo  <wingo@pobox.com>
22449
22450         * tools/gst-typefind.c: Update, add copyright block.
22451
22452         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22453         Normalize and truncate caps before fixation.
22454
22455         * gst/gstcaps.h:
22456         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22457         discards all but the first structure from its argument.
22458
22459 2005-07-15  Wim Taymans  <wim@fluendo.com>
22460
22461         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22462         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22463         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22464         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22465         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22466         (gst_base_transform_chain), (gst_base_transform_change_state),
22467         (gst_base_transform_set_passthrough),
22468         (gst_base_transform_is_passthrough):
22469         * gst/base/gstbasetransform.h:
22470         Make passthrough work using the bufferpools.
22471         Changed API a bit, subclasses have to write into a buffer
22472         provided by the base class.
22473         More debug info in nego functions.
22474         
22475         * gst/elements/gstidentity.c: (gst_identity_init),
22476         (gst_identity_transform):
22477         Port to new base class.
22478
22479 2005-07-15  Wim Taymans  <wim@fluendo.com>
22480
22481         * gst/gstmessage.c: (gst_message_new_state_changed):
22482         * tools/gst-launch.c: (event_loop), (main):
22483         Totally dump messages in -launch with the -m option.
22484         Fix message name for State messages,
22485
22486 2005-07-14  Wim Taymans  <wim@fluendo.com>
22487
22488         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22489         Post error messages on errors.
22490
22491 2005-07-14  Wim Taymans  <wim@fluendo.com>
22492
22493         * gst/gstcaps.c: (gst_caps_do_simplify):
22494         Remove debug info.
22495
22496         * gst/gsterror.h:
22497         Define error for stream stopped.
22498
22499         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22500         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22501         Do proper return values.
22502
22503         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22504         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22505         (gst_pad_get_range):
22506         Better return values.
22507
22508         * gst/gstpad.h:
22509         Reorganise return values, add macro to check for fatal errors.
22510
22511         * gst/gstqueue.c: (gst_queue_chain):
22512         Return proper GstFlowReturn values,
22513
22514 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
22515
22516         * docs/gst/gstreamer-sections.txt:
22517         * docs/gst/gstreamer.types:
22518         * docs/gst/tmpl/gst.sgml:
22519         * docs/gst/tmpl/gstbasesink.sgml:
22520         * docs/gst/tmpl/gstbasesrc.sgml:
22521         * docs/gst/tmpl/gstbasetransform.sgml:
22522         * docs/gst/tmpl/gstbin.sgml:
22523         * docs/gst/tmpl/gstbuffer.sgml:
22524         * docs/gst/tmpl/gstcaps.sgml:
22525         * docs/gst/tmpl/gstclock.sgml:
22526         * docs/gst/tmpl/gstcompat.sgml:
22527         * docs/gst/tmpl/gstconfig.sgml:
22528         * docs/gst/tmpl/gstelement.sgml:
22529         * docs/gst/tmpl/gstelementdetails.sgml:
22530         * docs/gst/tmpl/gstelementfactory.sgml:
22531         * docs/gst/tmpl/gstenumtypes.sgml:
22532         * docs/gst/tmpl/gsterror.sgml:
22533         * docs/gst/tmpl/gstevent.sgml:
22534         * docs/gst/tmpl/gstfakesink.sgml:
22535         * docs/gst/tmpl/gstfakesrc.sgml:
22536         * docs/gst/tmpl/gstfilesink.sgml:
22537         * docs/gst/tmpl/gstfilesrc.sgml:
22538         * docs/gst/tmpl/gstfilter.sgml:
22539         * docs/gst/tmpl/gstformat.sgml:
22540         * docs/gst/tmpl/gstghostpad.sgml:
22541         * docs/gst/tmpl/gstimplementsinterface.sgml:
22542         * docs/gst/tmpl/gstindex.sgml:
22543         * docs/gst/tmpl/gstindexfactory.sgml:
22544         * docs/gst/tmpl/gstinfo.sgml:
22545         * docs/gst/tmpl/gstiterator.sgml:
22546         * docs/gst/tmpl/gstmacros.sgml:
22547         * docs/gst/tmpl/gstmemchunk.sgml:
22548         * docs/gst/tmpl/gstminiobject.sgml:
22549         * docs/gst/tmpl/gstobject.sgml:
22550         * docs/gst/tmpl/gstpad.sgml:
22551         * docs/gst/tmpl/gstpadtemplate.sgml:
22552         * docs/gst/tmpl/gstparse.sgml:
22553         * docs/gst/tmpl/gstpipeline.sgml:
22554         * docs/gst/tmpl/gstplugin.sgml:
22555         * docs/gst/tmpl/gstpluginfeature.sgml:
22556         * docs/gst/tmpl/gstquery.sgml:
22557         * docs/gst/tmpl/gstqueue.sgml:
22558         * docs/gst/tmpl/gstregistry.sgml:
22559         * docs/gst/tmpl/gstregistrypool.sgml:
22560         * docs/gst/tmpl/gstscheduler.sgml:
22561         * docs/gst/tmpl/gstschedulerfactory.sgml:
22562         * docs/gst/tmpl/gststructure.sgml:
22563         * docs/gst/tmpl/gstsystemclock.sgml:
22564         * docs/gst/tmpl/gsttaglist.sgml:
22565         * docs/gst/tmpl/gsttagsetter.sgml:
22566         * docs/gst/tmpl/gsttrace.sgml:
22567         * docs/gst/tmpl/gsttrashstack.sgml:
22568         * docs/gst/tmpl/gsttypefind.sgml:
22569         * docs/gst/tmpl/gsttypefindfactory.sgml:
22570         * docs/gst/tmpl/gsttypes.sgml:
22571         * docs/gst/tmpl/gsturihandler.sgml:
22572         * docs/gst/tmpl/gsturitype.sgml:
22573         * docs/gst/tmpl/gstutils.sgml:
22574         * docs/gst/tmpl/gstvalue.sgml:
22575         * docs/gst/tmpl/gstversion.sgml:
22576         * docs/gst/tmpl/gstxml.sgml:
22577         * docs/libs/tmpl/gstcontrol.sgml:
22578         * docs/libs/tmpl/gstdataprotocol.sgml:
22579         * docs/libs/tmpl/gstdparam.sgml:
22580         * docs/libs/tmpl/gstdplinint.sgml:
22581         * docs/libs/tmpl/gstdpman.sgml:
22582         * docs/libs/tmpl/gstdpsmooth.sgml:
22583         * docs/libs/tmpl/gstgetbits.sgml:
22584         * docs/libs/tmpl/gstunitconvert.sgml:
22585         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22586         (gst_push_src_base_init), (gst_push_src_class_init),
22587         (gst_push_src_init), (gst_push_src_create):
22588         * gst/base/gstpushsrc.h:
22589         * gst/elements/gstelements.c:
22590         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22591         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22592         (gst_fake_sink_init), (gst_fake_sink_set_property),
22593         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22594         (gst_fake_sink_event), (gst_fake_sink_preroll),
22595         (gst_fake_sink_render), (gst_fake_sink_change_state):
22596         * gst/elements/gstfakesink.h:
22597         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22598         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22599         (gst_fake_src_base_init), (gst_fake_src_class_init),
22600         (gst_fake_src_init), (gst_fake_src_event_handler),
22601         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22602         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22603         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22604         (gst_fake_src_create_buffer), (gst_fake_src_create),
22605         (gst_fake_src_start), (gst_fake_src_stop):
22606         * gst/elements/gstfakesrc.h:
22607         * gst/elements/gstfilesink.c: (_do_init),
22608         (gst_file_sink_base_init), (gst_file_sink_class_init),
22609         (gst_file_sink_init), (gst_file_sink_dispose),
22610         (gst_file_sink_set_location), (gst_file_sink_set_property),
22611         (gst_file_sink_get_property), (gst_file_sink_open_file),
22612         (gst_file_sink_close_file), (gst_file_sink_query),
22613         (gst_file_sink_event), (gst_file_sink_render),
22614         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22615         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22616         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22617         * gst/elements/gstfilesink.h:
22618         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22619         (gst_file_src_class_init), (gst_file_src_init),
22620         (gst_file_src_finalize), (gst_file_src_set_location),
22621         (gst_file_src_set_property), (gst_file_src_get_property),
22622         (gst_file_src_map_region), (gst_file_src_map_small_region),
22623         (gst_file_src_create_mmap), (gst_file_src_create_read),
22624         (gst_file_src_create), (gst_file_src_is_seekable),
22625         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22626         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22627         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22628         (gst_file_src_uri_handler_init):
22629         * gst/elements/gstfilesrc.h:
22630           more autistic cleanliness in functions/names/defines
22631
22632 2005-07-13  Andy Wingo  <wingo@pobox.com>
22633
22634         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22635         source couldn't negotiate.
22636
22637         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22638         connections again.
22639
22640         * gst/gstutils.h:
22641         * gst/gstutils.c (gst_element_link_pads_filtered): New old
22642         function. I am channeling Hades. Put your boots on suckers!!!
22643
22644 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22645
22646         * testsuite/caps/Makefile.am:
22647         * testsuite/caps/value_compare.c:
22648         * testsuite/caps/value_intersect.c:
22649         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22650           move two testsuite apps over to the check dir
22651
22652 2005-07-12  Wim Taymans  <wim@fluendo.com>
22653
22654         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22655         Added more debug info in the negotiate process.
22656
22657         * gst/gstmessage.h:
22658         Prepare for segment playback.
22659
22660         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22661         Better debugging.
22662
22663         * gst/gstutils.c:
22664         Some more docs.
22665
22666         * tools/gst-launch.c: (main):
22667         NULL pipeline on errors.
22668
22669 2005-07-12  Andy Wingo  <wingo@pobox.com>
22670
22671         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22672         not it comes from a malloc region. Make sure our copy gets freed.
22673
22674 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22675
22676         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22677         * check/gst/gstmessage.c: (GST_START_TEST):
22678         * check/gst/gststructure.c: (GST_START_TEST),
22679         (gst_structure_suite), (main):
22680           more testing
22681         * gst/gstelement.c: (gst_element_message_full):
22682           clean up GError and debug string now that they get copied
22683         * gst/gstmessage.c: (gst_message_new_error),
22684         (gst_message_new_warning), (gst_message_parse_error),
22685         (gst_message_parse_warning):
22686           use GST_TYPE_G_ERROR for structure_new, and take copies of
22687           arguments, so that we don't mess up refcounting
22688
22689 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22690
22691         * check/Makefile.am:
22692           add per-test valgrind targets
22693         * check/gst-libs/gdp.c: (GST_START_TEST),
22694         (gst_data_protocol_suite), (main):
22695           clean up
22696
22697 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22698
22699         * check/Makefile.am:
22700           instate more valgrindable tests
22701         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22702         (GST_START_TEST), (fakesrc_suite):
22703         * check/gst/gstpad.c: (GST_START_TEST):
22704         * check/gst/gststructure.c: (GST_START_TEST):
22705           fix test leaks
22706         * docs/gst/tmpl/gstminiobject.sgml:
22707         * gst/gstpad.c: (gst_pad_finalize):
22708           fix the static mutex leak
22709
22710 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22711
22712         * check/Makefile.am:
22713           add two more tests for valgrinding
22714         * check/gst/gstvalue.c: (GST_START_TEST):
22715           test refcount of deserialized buffer, found a leak
22716         * docs/gst/gstreamer-docs.sgml:
22717         * docs/gst/gstreamer-sections.txt:
22718         * docs/gst/gstreamer.types:
22719         * docs/gst/tmpl/gstminiobject.sgml:
22720           add miniobject to docs
22721         * gst/gstminiobject.c:
22722           add some docs
22723         * gst/gstvalue.c: (gst_value_deserialize_buffer),
22724         (gst_string_unwrap):
22725           fix a hard-to-find invalid write for one of the tests
22726           fix a leak for deserialized buffers
22727
22728 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22729
22730         * docs/pwg/advanced-events.xml:
22731         * docs/pwg/advanced-request.xml:
22732         * docs/pwg/advanced-scheduling.xml:
22733         * docs/pwg/appendix-porting.xml:
22734         * docs/pwg/building-boiler.xml:
22735         * docs/pwg/intro-preface.xml:
22736         * docs/pwg/other-ntoone.xml:
22737           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22738           of example code and explanation for pad activation, loop() and
22739           getrange() functions and a bit more. Remove old comments pointing
22740           to loop-functions.
22741         * examples/pwg/Makefile.am:
22742           Add loop/getrange examples.
22743
22744 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22745
22746         * configure.ac:
22747           check for valgrind binary + some fixes
22748         * check/gst.supp:
22749           valgrind suppressions for the tests
22750         * check/Makefile.am:
22751           add a valgrind: target that valgrinds the unit tests
22752         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22753         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22754         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22755         * check/gst/gstghostpad.c:
22756           added some cleanup
22757         * check/gst/gstdata.c:
22758           removed
22759         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22760         (thread_unref), (gst_mini_object_suite), (main):
22761           added
22762         * gst/gst.c: (gst_deinit):
22763         * gst/gst.h:
22764           add a method to clean up.
22765         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22766         (gst_system_clock_obtain):
22767           allow for disposing the system clock.
22768         * tools/gst-launch.c: (main):
22769           deinit
22770
22771 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22772
22773         * docs/gst/tmpl/gstbasesrc.sgml:
22774         * docs/gst/tmpl/gstfakesrc.sgml:
22775         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22776         (gst_base_src_init), (gst_base_src_set_property),
22777         (gst_base_src_get_property), (gst_base_src_get_range),
22778         (gst_base_src_start):
22779         * gst/base/gstbasesrc.h:
22780           add num-buffers property
22781         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22782         (gst_fakesrc_init), (gst_fakesrc_set_property),
22783         (gst_fakesrc_get_property), (gst_fakesrc_create),
22784         (gst_fakesrc_start):
22785           remove num-buffers property
22786
22787 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22788
22789         * docs/gst/gstreamer-sections.txt:
22790         * docs/gst/tmpl/gstbasesink.sgml:
22791         * docs/gst/tmpl/gstbasesrc.sgml:
22792         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22793         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22794         (gst_base_sink_finalize), (gst_base_sink_set_clock),
22795         (gst_base_sink_set_property), (gst_base_sink_get_property),
22796         (gst_base_sink_handle_object), (gst_base_sink_event),
22797         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22798         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22799         (gst_base_sink_loop), (gst_base_sink_deactivate),
22800         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22801         (gst_base_sink_change_state):
22802         * gst/base/gstbasesink.h:
22803         * gst/base/gstbasesrc.h:
22804         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22805         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22806         (gst_filesink_init):
22807           more macro splitting
22808
22809 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22810
22811         * gst/gstelement.c: (gst_element_get_bus):
22812           add debug
22813         * tools/gst-launch.c: (check_intr), (event_loop):
22814           fix bus leaks
22815
22816 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22817
22818         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22819           fix a caps leak
22820
22821 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22822
22823         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22824         (gst_base_src_finalize):
22825           add finalize method and clean up properly
22826         * gst/gstpipeline.c: (gst_pipeline_dispose):
22827           add debug
22828
22829 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22830
22831         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22832         (gst_bin_suite):
22833           add more things to check
22834         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22835         * gst/gstelement.c:
22836           more debug
22837
22838 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22839
22840         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22841         (GST_START_TEST), (fakesrc_suite):
22842         * check/gst-libs/gdp.c: (GST_START_TEST):
22843         * check/gst/gst.c: (GST_START_TEST):
22844         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22845         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22846         * check/gst/gstbus.c: (GST_START_TEST):
22847         * check/gst/gstcaps.c: (GST_START_TEST):
22848         * check/gst/gstdata.c: (GST_START_TEST):
22849         * check/gst/gstelement.c: (GST_START_TEST):
22850         * check/gst/gstghostpad.c: (GST_START_TEST):
22851         * check/gst/gstiterator.c: (GST_START_TEST):
22852         * check/gst/gstmessage.c: (GST_START_TEST):
22853         * check/gst/gstobject.c: (GST_START_TEST):
22854         * check/gst/gstpad.c: (GST_START_TEST):
22855         * check/gst/gststructure.c: (GST_START_TEST):
22856         * check/gst/gstsystemclock.c: (GST_START_TEST),
22857         (gst_systemclock_suite):
22858         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22859         * check/gst/gstvalue.c: (GST_START_TEST):
22860         * check/pipelines/cleanup.c: (GST_START_TEST):
22861         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22862         * check/states/sinks.c: (GST_START_TEST):
22863         * check/gstcheck.c: (gst_check_init):
22864         * check/gstcheck.h:
22865           add debugging category
22866           use GST_START_TEST now, so we add a debug line
22867
22868 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22869
22870         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22871           add test for state change message on a bin
22872         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22873           add another test
22874         * gst/gstbin.c: (gst_bin_init):
22875         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22876         * gst/gstelement.c: (gst_element_post_message),
22877         (gst_element_set_state):
22878         * gst/gstelementfactory.c: (gst_element_factory_create):
22879         * gst/gstmessage.c: (gst_message_new):
22880         * gst/gstscheduler.c:
22881           various debugging additions and cleanups
22882
22883 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22884
22885         * check/Makefile.am:
22886         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22887         (main):
22888           adding tests for elements
22889         * gst/gstelement.c: (gst_element_dispose):
22890
22891 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22892
22893         * gst/registries/gstlibxmlregistry.c: (load_feature):
22894           plug more leaks.  A simple gst_init() now is leakfree, yay.
22895
22896 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22897
22898         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22899         (gst_xml_registry_load):
22900           plug another memleak
22901
22902 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22903
22904         * configure.ac:
22905           use GST_SET_ERROR_CFLAGS
22906         * docs/faq/cvs.xml:
22907           change to ERROR_CFLAGS
22908
22909 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22910
22911         * configure.ac:
22912           make GST_ERROR_CFLAGS overridable and re-enable Werror
22913         * docs/faq/cvs.xml:
22914           add a note about error CFLAGS
22915         * docs/gst/tmpl/gstfakesrc.sgml:
22916         * gst/elements/gstfakesrc.c:
22917           comment out some unused code
22918         * gst/gst.c: (split_and_iterate):
22919         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22920         (load_feature):
22921           plug some memleaks
22922
22923 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22924
22925         * common/Makefile.am:
22926         * common/gtk-doc.mak:
22927         * docs/gst/Makefile.am:
22928           factor out gtk-doc.mak
22929
22930 2005-07-07  Wim Taymans  <wim@fluendo.com>
22931
22932         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22933         (gst_thread_scheduler_dispose):
22934         Unlock the STREAM_LOCK completely.
22935
22936 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22937
22938         * check/Makefile.am:
22939         * check/elements/.cvsignore:
22940         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22941         (START_TEST), (fakesrc_suite), (main):
22942         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22943         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22944         (gst_fakesrc_create), (gst_fakesrc_start):
22945         * gst/elements/gstfakesrc.h:
22946           adding a first element test
22947
22948 2005-07-07  Andy Wingo  <wingo@pobox.com>
22949
22950         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22951         debug message.
22952
22953 2005-07-07  Wim Taymans  <wim@fluendo.com>
22954
22955         * gst/gstquery.c:
22956         * gst/gstquery.h:
22957         Remove old types
22958
22959 2005-07-07  Wim Taymans  <wim@fluendo.com>
22960
22961         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22962         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22963         Allow subclasses to implement their own negotiation.
22964
22965 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22966
22967         * docs/design/part-gstbin.txt:
22968         * docs/design/part-gstpipeline.txt:
22969           Update design notes to reflect the movement of
22970           responsibility for bus handling from GstPipeline to
22971           GstBin
22972
22973 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22974
22975         * configure.ac:
22976           Remove unnecessary queue2/3/4 examples.
22977
22978 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22979
22980         * examples/Makefile.am:
22981         * examples/helloworld/helloworld.c: (event_loop), (main):
22982         * examples/queue/queue.c: (event_loop), (main):
22983         * examples/queue2/queue2.c: (main):
22984           Update a couple of the examples to work again.
22985
22986         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22987         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22988          Spelling corrections and extra debug.
22989         
22990         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22991         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22992         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22993         * gst/gstbin.h:
22994         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22995         (gst_pipeline_change_state):
22996         * gst/gstpipeline.h:
22997           Move the bus handler for children to the GstBin, and create a
22998           separate bus for receiving messages from children to the one the
22999           bus sends 'upwards' on.
23000
23001 2005-07-06  Wim Taymans  <wim@fluendo.com>
23002
23003         * gst/base/README:
23004         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23005         (gst_base_sink_handle_object), (gst_base_sink_loop),
23006         (gst_base_sink_change_state):
23007         * gst/base/gstbasesink.h:
23008         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23009         (gst_base_src_init), (gst_base_src_setcaps),
23010         (gst_base_src_getcaps), (gst_base_src_loop),
23011         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23012         (gst_base_src_start), (gst_base_src_change_state):
23013         * gst/base/gstbasesrc.h:
23014         Make basesrc negotiate.
23015         Handle the case where preroll fails in basesink.
23016         Update README.
23017
23018 2005-07-06  Wim Taymans  <wim@fluendo.com>
23019
23020         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23021         Implement the fixate function.
23022         Clean up acceptcaps.
23023
23024 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23025
23026         * docs/pwg/building-filterfactory.xml:
23027         * docs/pwg/pwg.xml:
23028           Remove never-written filter-factory chapter; I'll add the various
23029           base classes to part 4 ("other element types") later on.
23030
23031 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23032
23033         * docs/pwg/advanced-negotiation.xml:
23034         * docs/pwg/building-boiler.xml:
23035         * docs/pwg/building-pads.xml:
23036         * docs/pwg/pwg.xml:
23037         * examples/pwg/Makefile.am:
23038           Add a chapter on caps negotiation, simplify the original code
23039           samples a bit w.r.t. caps negotiation, add link to the advanced
23040           section. Add a bunch of examples showing different use cases of
23041           different types of caps negotiation. Upstream renegotiation isn't
23042           fully documented yet since nobody knows how that works.
23043
23044 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23045
23046         * check/gst/gstpad.c:
23047         * check/gstcheck.c:
23048         * gst/gstpad.c: (gst_pad_get_internal_links_default):
23049           if pad has no parent, return NULL as list of internal links
23050
23051 2005-07-05  Andy Wingo  <wingo@pobox.com>
23052
23053         * gst/elements/gstfilesrc.c:
23054         * gst/elements/gstfakesrc.c: 
23055         * gst/base/gstpushsrc.c:
23056         * gst/base/gstbasesrc.h: 
23057         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23058         
23059 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
23060
23061         * Makefile.am:
23062           better report generation target (lcov needs a patch)
23063
23064 2005-07-05  Andy Wingo  <wingo@pobox.com>
23065
23066         * gst/elements, testsuite: Null if we got it...
23067
23068 2005-07-05  Wim Taymans  <wim@fluendo.com>
23069
23070         * configure.ac:
23071         * libs/gst/dataprotocol/Makefile.am:
23072         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23073         * libs/gst/dataprotocol/dataprotocol.h:
23074         * pkgconfig/Makefile.am:
23075         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23076         * pkgconfig/gstreamer-dataprotocol.pc.in:
23077         Ported dataprotol to 0.9. 
23078         Added pkgconfig files.
23079
23080 2005-07-05  Andy Wingo  <wingo@pobox.com>
23081
23082         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23083         Default to returning TRUE for the case when tranform_caps returns
23084         a fixed caps, like for identity or volume.
23085
23086         * check/gst/gstbus.c (pound_bus_with_messages): 
23087         * check/gst/gstmessage.c (START_TEST): 
23088         * check/pipelines/simple_launch_lines.c (got_handoff): Application
23089         message API change.
23090
23091         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23092         logic weaks here: always run transform_caps, trying passthrough
23093         operation only if the original caps intersects with the transform.
23094
23095         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23096         source and sink caps.
23097
23098         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23099         Intersect the peer caps with the pad template before going into
23100         transform_caps.
23101         (gst_base_transform_transform_caps): More debugging.
23102
23103         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23104         src argument.
23105
23106 2005-07-04  Edward Hervey  <edward@fluendo.com>
23107
23108         * gst/gstutils.c:
23109         * gst/gstutils.h:
23110         (gst_pad_add_*_probe): now returns the signal id for better wrapping
23111         in bindings.
23112
23113 2005-07-04  Andy Wingo  <wingo@pobox.com>
23114
23115         * check/gst/gstpad.c: Only set explicit caps on pads.
23116
23117 2005-07-01  Andy Wingo  <wingo@pobox.com>
23118
23119         * tests/network-clock.scm: Commentary update.
23120
23121         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23122         Didn't really make sense, not implementable with basetransform,
23123         etc.
23124         (gst_identity_transform): Unref inbuf via make_writable. Feeble
23125         attempt at implementing the sync property, needs an unlock method.
23126
23127         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23128         New func, by default returns the same caps (the identity
23129         transformation).
23130         (gst_base_transform_getcaps): Uses transform_caps to return
23131         something sensible.
23132         (gst_base_transform_setcaps): Complicated logic to get caps on
23133         both pads, even if they are different, and to call set_caps once
23134         for every time both pads get their caps set.
23135         (gst_base_transform_handle_buffer): Give the ref to the transform
23136         function. Allows in-place modification of the buffer.
23137
23138         * gst/base/gstbasetransform.h (transform_caps): New class method.
23139         Given caps on one side, what can I do on the other.
23140         (set_caps): Take two caps, one for each side of the element.
23141
23142         * gst/gstpad.h:
23143         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23144         caps in place. This is safe because we can check the mutability of
23145         the caps, and a good idea because fixate functions are just called
23146         as a matter of last resort. (Not actually implemented.)
23147         (gst_pad_set_caps): If the caps we're setting is actually the same
23148         as the existing pad caps, just update the pointer without calling
23149         setcaps. Assert that caps is either NULL or fixed, as per the
23150         docs.
23151
23152         * gst/gstghostpad.c: Update for fixate changes.
23153
23154 2005-07-02  Andy Wingo  <wingo@pobox.com>
23155
23156         * gst/gstcaps.c:
23157         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23158         two refcounts makes it immutable, which is enough. Doc more.
23159
23160 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
23161
23162         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23163           Put the mini_object into GValue as a mini_object,
23164           not a gpointer, since that's how we declared
23165           the signal.
23166
23167 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23168
23169         * examples/pwg/Makefile.am:
23170           Fix buildbot again.
23171
23172 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23173
23174         * docs/pwg/building-testapp.xml:
23175           Add extra check.
23176         * examples/pwg/Makefile.am:
23177           Fix buildbot.
23178
23179 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23180
23181         * configure.ac:
23182         * examples/Makefile.am:
23183         * examples/pwg/Makefile.am:
23184         * examples/pwg/extract.pl:
23185           Enable building the PWG examples.
23186         * docs/pwg/advanced-interfaces.xml:
23187           Add URI interface stub.
23188         * docs/pwg/advanced-types.xml:
23189         * docs/pwg/other-autoplugger.xml:
23190         * docs/pwg/appendix-porting.xml:
23191         * docs/pwg/pwg.xml:
23192           Add porting guide (mostly stubs), remove autoplugging (see ADM).
23193         * docs/pwg/building-boiler.xml:
23194         * docs/pwg/building-chainfn.xml:
23195         * docs/pwg/building-pads.xml:
23196         * docs/pwg/building-props.xml:
23197         * docs/pwg/building-state.xml:
23198         * docs/pwg/building-testapp.xml:
23199           Update the building-*.xml parts for 0.9 changes. All examples
23200           code blocks compile in examples/pwg/*.
23201
23202 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23203
23204         * docs/manual/advanced-autoplugging.xml:
23205         * docs/manual/appendix-checklist.xml:
23206         * docs/manual/appendix-integration.xml:
23207         * docs/manual/highlevel-components.xml:
23208           Fix playbin/decodebin examples, update docs a bit, mention bus
23209           instead of signals in various places, mention kmplayer and
23210           kaffeine since they have a working GStreamer backend in the KDE
23211           section.
23212
23213 2005-06-30  Wim Taymans  <wim@fluendo.com>
23214
23215         * CHANGES-0.9:
23216         * docs/design/draft-ghostpads.txt:
23217         * docs/design/draft-push-pull.txt:
23218         * docs/design/draft-query.txt:
23219         * docs/design/part-TODO.txt:
23220         * docs/design/part-query.txt:
23221         Added CHANGES-0.9 doc, updated status of other docs.
23222         
23223         * gst/gstquery.h:
23224         Remove "hmm" macro
23225
23226 2005-06-30  Wim Taymans  <wim@fluendo.com>
23227
23228         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23229         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23230         (gst_base_sink_change_state):
23231         * gst/base/gstbasesink.h:
23232         Some tweaks, only EOS and a buffer complete a preroll.
23233
23234 2005-06-30  Andy Wingo  <wingo@pobox.com>
23235
23236         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23237         activate_push down to the internal pad as well.
23238
23239 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
23240
23241         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23242
23243         * gst/gsttaginterface.c:
23244           Some documentation fixes (#307394 and #307397).
23245
23246 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
23247
23248         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23249
23250         * gst/gstvalue.c: (gst_value_intersect_list):
23251           Fix memleak (#309125).
23252
23253 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23254
23255         * docs/manual/advanced-dataaccess.xml:
23256           Fix fakesrc example to compile; doesn't work, bug somewhere...?
23257         * docs/manual/basics-pads.xml:
23258           Add reference for filtered caps to above chapter.
23259
23260 2005-06-30  Wim Taymans  <wim@fluendo.com>
23261
23262         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23263         (gst_bin_change_state):
23264         Probes are gone.
23265         Lame attempt at making the state change function a bit
23266         more readable.
23267
23268 2005-06-30  Wim Taymans  <wim@fluendo.com>
23269
23270         * docs/design/part-clocks.txt:
23271         * docs/design/part-element-sink.txt:
23272         * docs/design/part-events.txt:
23273         * docs/design/part-preroll.txt:
23274         * docs/design/part-states.txt:
23275         Some more tweeks and additions to the docs.
23276
23277 2005-06-30  Wim Taymans  <wim@fluendo.com>
23278
23279         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23280         (default_have_data), (gst_pad_class_init), (gst_pad_init),
23281         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23282         (gst_pad_check_pull_range), (gst_pad_get_range),
23283         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23284         * gst/gstpad.h:
23285         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23286         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23287         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23288         (gst_pad_remove_buffer_probe):
23289         Removed atomic operations, use existing LOCK.
23290         Move exception handling out of main code path.
23291
23292 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23293
23294         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23295         (silly_return_true_function), (gst_pad_class_init),
23296         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23297         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23298         (gst_pad_send_event):
23299           Fix accumulator, add default value by using _emitv() instead
23300           of _emit() for signal emission.
23301
23302 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23303
23304         * docs/manual/advanced-dataaccess.xml:
23305         * examples/manual/Makefile.am:
23306           Add probe example.
23307         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23308           Make work (??).
23309
23310 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
23311
23312         * gst/elements/gstfilesink.c: (gst_filesink_render):
23313           Simplify code so that we don't have to handle short
23314           writes and return GST_FLOW_ERROR if an error occured.
23315
23316 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23317
23318         * docs/gst/gstreamer-docs.sgml:
23319           Remove probes more.
23320
23321 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23322
23323         * docs/gst/gstreamer-sections.txt:
23324         * docs/gst/tmpl/gstpad.sgml:
23325         * docs/gst/tmpl/gstprobe.sgml:
23326         * gst/Makefile.am:
23327         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23328         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23329         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23330         (gst_pad_push_event), (gst_pad_send_event):
23331         * gst/gstpad.h:
23332         * gst/gstutils.c: (gst_pad_add_data_probe),
23333         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23334         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23335         (gst_pad_remove_buffer_probe):
23336         * gst/gstutils.h:
23337           Remove old probes, add new g-signal-based probes and some utility
23338           functions.
23339
23340 2005-06-29  Edward Hervey  <edward@fluendo.com>
23341
23342         * gst/gstelementfactory.c:
23343         * gst/gstutils.h:
23344         * gst/gstutils.c:
23345         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23346         the definition to the header file.
23347
23348 2005-06-29  Andy Wingo  <wingo@pobox.com>
23349
23350         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23351         plugins from the source directory.
23352
23353 2005-06-29  Wim Taymans  <wim@fluendo.com>
23354
23355         * docs/gst/tmpl/gstbuffer.sgml:
23356         * docs/gst/tmpl/gstclock.sgml:
23357         Some fixings for blantently wrong text.
23358
23359 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23360
23361         * check/Makefile.am:
23362         * gst/gst.c: (add_path_func), (init_pre):
23363         * gst/gstregistry.c: (gst_registry_add_path):
23364           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23365           only scan the GST_PLUGIN_PATH locations, and not add
23366           system locations
23367
23368 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23369
23370         * docs/gst/gstreamer-sections.txt:
23371         * docs/gst/tmpl/gstbasesrc.sgml:
23372         * gst/gstelement.c:
23373         * gst/gstelement.h:
23374         * gst/gstevent.c:
23375         * gst/gstutils.c:
23376           doc fixes
23377
23378 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23379
23380         * docs/manual/advanced-autoplugging.xml:
23381           Fix autoplugging example.
23382
23383 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23384
23385         * docs/manual/advanced-autoplugging.xml:
23386         * docs/manual/mime-world.fig:
23387           Try to get autoplugging working, fix type detection. Fix text
23388           in hello-world image.
23389
23390 2005-06-29  Wim Taymans  <wim@fluendo.com>
23391
23392         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23393         (gst_base_sink_change_state):
23394         Small debug line.
23395
23396         * gst/gstclock.h:
23397         map SIGNAL and BROADCAST to the right function.
23398
23399         * gst/gstobject.h:
23400         Remove redundant braces.
23401
23402         * gst/gstpad.c: (gst_pad_set_caps):
23403         Don't call setcaps function when reseting caps to NULL.
23404
23405         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23406         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23407         (gst_system_clock_id_unschedule):
23408         Use BROADCAST as this is what we do.
23409
23410 2005-06-29  Wim Taymans  <wim@fluendo.com>
23411
23412         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23413         We are actually prerolling before commiting the state
23414         change. 
23415
23416 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23417
23418         * docs/manual/advanced-clocks.xml:
23419         * docs/manual/advanced-interfaces.xml:
23420         * docs/manual/advanced-metadata.xml:
23421         * docs/manual/advanced-position.xml:
23422         * docs/manual/advanced-schedulers.xml:
23423         * docs/manual/advanced-threads.xml:
23424         * docs/manual/appendix-porting.xml:
23425         * docs/manual/basics-bins.xml:
23426         * docs/manual/basics-bus.xml:
23427         * docs/manual/basics-elements.xml:
23428         * docs/manual/basics-helloworld.xml:
23429         * docs/manual/basics-pads.xml:
23430         * docs/manual/highlevel-components.xml:
23431         * docs/manual/manual.xml:
23432         * docs/manual/thread.fig:
23433           Update (until threads/scheduling) Application Development Manual;
23434           remove GstThread, add GstBus, add simple porting checklist, add
23435           documentation for tag writing, clocks, make all examples until this
23436           part compile and run.
23437         * examples/manual/Makefile.am:
23438           Update from changes to Application Development Manual; add bus
23439           example, remove thread example.
23440
23441 2005-06-28  Wim Taymans  <wim@fluendo.com>
23442
23443         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23444         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23445         (gst_bus_source_dispatch):
23446         Add debugging messages.
23447         Make internal methods static.
23448         Handle the case where the bus is flushed in the handler.
23449         
23450         * gst/gstelement.c: (gst_element_get_bus):
23451         Fix refcount in _get_bus();
23452
23453         * gst/gstpipeline.c: (gst_pipeline_change_state),
23454         (gst_pipeline_get_clock_func):
23455         Clock refcounting fixes.
23456         Handle the case where preroll timed out more gracefully.
23457         
23458         * gst/gstsystemclock.c: (gst_system_clock_dispose):
23459         Clean up the internal thread in dispose. This is needed
23460         for subclasses that actually get disposed.
23461         
23462         * gst/schedulers/threadscheduler.c:
23463         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23464         (gst_thread_scheduler_dispose):
23465         Free thread pool in dispose.
23466
23467 2005-06-28  Andy Wingo  <wingo@pobox.com>
23468
23469         * tests/network-clock-utils.scm (debug, print-event): New utils.
23470
23471         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23472         (*packet-loss*): Unified loss probability.
23473         (network-time): Report out-of-band events.
23474
23475         * tests/plot-data: Add support for out-of-band events. Hack it
23476         into this script instead of passing it down the pipe; should fix
23477         this later.
23478
23479 2005-06-28  Wim Taymans  <wim@fluendo.com>
23480
23481         * docs/gst/gstreamer.types:
23482         * docs/gst/tmpl/gstbasesrc.sgml:
23483         * docs/gst/tmpl/gstpad.sgml:
23484         Docs fixes.
23485
23486 2005-06-28  Wim Taymans  <wim@fluendo.com>
23487
23488         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23489         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23490         (gst_proxy_pad_do_fixatecaps):
23491         Correctly proxy the check_pull_range function.
23492
23493 2005-06-28  Andy Wingo  <wingo@pobox.com>
23494
23495         * tests/network-clock.scm: Removed need for slib.
23496         
23497 2005-06-28  Wim Taymans  <wim@fluendo.com>
23498
23499         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23500         (gst_basesink_preroll_queue_flush):
23501         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23502         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23503         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23504         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23505         (gst_proxy_pad_set_property):
23506         * gst/gstpad.c:
23507         * gst/gstpad.h:
23508         * gst/gstqueue.c: (gst_queue_init):
23509         The deprecated pad loop function is removed now.
23510
23511 2005-06-28  Andy Wingo  <wingo@pobox.com>
23512
23513         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23514         New parameters, simulate network packet loss.
23515
23516         * tests/network-clock-utils.scm: Initialize the RNG.
23517
23518 2005-06-28  Wim Taymans  <wim@fluendo.com>
23519
23520         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23521         (gst_basesink_event), (gst_basesink_deactivate):
23522         Flushing the preroll queue always needs to unlock the waiters.
23523
23524 2005-06-28  Edward Hervey  <edward@fluendo.com>
23525
23526         * gst/gstpipeline.c: (gst_pipeline_send_event): 
23527         Wheen a seek was successful on a pipeline, set the stream_time to the
23528         seek offset in order to have a synchronized stream_time.
23529
23530 2005-06-28  Wim Taymans  <wim@fluendo.com>
23531
23532         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23533         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23534         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23535         (gst_proxy_pad_do_fixatecaps):
23536         Call wrapper function instead of just calling the function
23537         pointers. This takes care of any locking and whatmore.
23538
23539 2005-06-28  Wim Taymans  <wim@fluendo.com>
23540
23541         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23542         (gst_pad_pull_range):
23543         * gst/gstpad.h:
23544         CONNECTED -> LINKED.
23545
23546 2005-06-28  Andy Wingo  <wingo@pobox.com>
23547
23548         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23549         source-munging commit!!!
23550
23551         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
23552         (gst_object_sink): Take gpointer arguments, not GstObject --
23553         avoids casts. Like GLib.
23554
23555         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23556         activate.
23557
23558 2005-06-27  Andy Wingo  <wingo@pobox.com>
23559
23560         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23561         remaining buffer.
23562
23563         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23564         returns a sorted copy of the trace list.
23565         (gst_alloc_trace_print_live): New API, only prints traces with
23566         live objects. Sort the list.
23567         (gst_alloc_trace_print_all): Sort the list.
23568         (gst_alloc_trace_print): Align columns.
23569
23570         * gst/elements/gstttypefindelement.c:
23571         * gst/elements/gsttee.c:
23572         * gst/base/gstbasesrc.c:
23573         * gst/base/gstbasesink.c:
23574         * gst/base/gstbasetransform.c:
23575         * gst/gstqueue.c: Adapt for pad activation changes.
23576
23577         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23578         sched.
23579         (gst_pipeline_dispose): Drop ref on sched.
23580
23581         * gst/gstpad.c (gst_pad_init): Set the default activate func.
23582         (gst_pad_activate_default): Push mode by default.
23583         (pre_activate_switch, post_activate_switch): New stubs, things to
23584         do before and after switching activation modes on pads.
23585         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23586         the pad's activate function to choose which mode to activate.
23587         Shortcut on deactivation and call the right function directly.
23588         (gst_pad_activate_pull): New API, (de)activates a pad in pull
23589         mode.
23590         (gst_pad_activate_push): New API, same for push mode.
23591         (gst_pad_set_activate_function) 
23592         (gst_pad_set_activatepull_function) 
23593         (gst_pad_set_activatepush_function): Setters for new API.
23594
23595         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23596         Trace all miniobjects.
23597         (gst_mini_object_make_writable): Unref the arg if we copy, like
23598         gst_caps_make_writable.
23599
23600         * gst/gstmessage.c (_gst_message_initialize): No trace init.
23601
23602         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
23603         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23604         Adapt for new pad API.
23605
23606         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23607
23608         * gst/gstelement.h:
23609         * gst/gstelement.c (gst_element_iterate_src_pads) 
23610         (gst_element_iterate_sink_pads): New API functions.
23611         
23612         * gst/gstelement.c (iterator_fold_with_resync): New utility,
23613         should fold into gstiterator.c in some form.
23614         (gst_element_pads_activate): Simplified via use of fold and
23615         delegation of decisions to gstpad->activate.
23616
23617         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23618         help in debugging.
23619
23620         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23621         class once in init, like gstmessage. Didn't run into this issue
23622         but it seems correct. Don't initialize a trace, gstminiobject does
23623         that.
23624
23625         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23626         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23627         to the bus.
23628         (assert_live_count): New util function, uses alloc traces to check
23629         cleanup.
23630
23631         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23632         To be modified when unlink drops the internal pad.
23633
23634 2005-06-27  Wim Taymans  <wim@fluendo.com>
23635
23636         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23637         (gst_bin_change_state):
23638         Cleanup the get_state() function a little, make sure it
23639         iterates the same set of elements.
23640         Added stub iterate_state_order().
23641
23642 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
23643
23644         * docs/gst/gstreamer-docs.sgml:
23645         * docs/gst/gstreamer-sections.txt:
23646         * docs/gst/gstreamer.types:
23647         * docs/gst/tmpl/gstbasesink.sgml:
23648         * docs/gst/tmpl/gstbasesrc.sgml:
23649         * docs/gst/tmpl/gstbasetransform.sgml:
23650         * docs/gst/tmpl/gstelement.sgml:
23651         * docs/gst/tmpl/gstiterator.sgml:
23652         * gst/base/gstbasesrc.c:
23653         * gst/base/gstbasesrc.h:
23654         * gst/base/gstbasetransform.h:
23655         * gst/gstelement.c:
23656         * gst/gstiterator.h:
23657           adding basetransform and iterator docs
23658
23659 2005-06-27  Andy Wingo  <wingo@pobox.com>
23660
23661         * docs/design/part-activation.txt: Notes on how activation should
23662         work -- not quite implemented yet.
23663
23664 2005-06-25  Wim Taymans  <wim@fluendo.com>
23665
23666         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23667         At least get the chain function correct, needs more
23668         fixing.
23669
23670 2005-06-25  Wim Taymans  <wim@fluendo.com>
23671
23672         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23673         (gst_basesink_handle_object), (gst_basesink_event),
23674         (gst_basesink_do_sync), (gst_basesink_handle_event),
23675         (gst_basesink_change_state):
23676         * gst/gsttask.h:
23677         Right, two problems here: ghostpads don't take locks and
23678         glib _rec_mutex_lock_full() with depth==0 still locks.
23679         Catch illegal locking and g_warn them.
23680
23681 2005-06-25  Wim Taymans  <wim@fluendo.com>
23682
23683         * check/states/sinks.c: (START_TEST), (gst_object_suite):
23684         Have to check for completion now...
23685
23686 2005-06-25  Wim Taymans  <wim@fluendo.com>
23687
23688         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23689         (gst_basesink_handle_object), (gst_basesink_event),
23690         (gst_basesink_do_sync), (gst_basesink_handle_event),
23691         (gst_basesink_change_state):
23692         * gst/gstpad.h:
23693         Unlock STREAM_LOCK whatever the recursion was.
23694
23695 2005-06-25  Wim Taymans  <wim@fluendo.com>
23696
23697         * gst/base/gstbasesink.c: (gst_basesink_set_property),
23698         (gst_basesink_preroll_queue_empty),
23699         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23700         (gst_basesink_event), (gst_basesink_do_sync),
23701         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23702         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23703         (gst_basesink_change_state):
23704         Reworked the base sink, handle event and buffer serialisation
23705         correctly and removed possible deadlock.
23706         Handle EOS correctly.
23707
23708 2005-06-25  Wim Taymans  <wim@fluendo.com>
23709
23710         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23711         (gst_pipeline_change_state):
23712         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23713         Allow elements to post EOS in the state change function.
23714         Fix up -launch, make it exit the poll loop when the
23715         pipeline actually changed state.
23716         Fix up warning parsing in -launch.
23717
23718 2005-06-25  Wim Taymans  <wim@fluendo.com>
23719
23720         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23721         (gst_tee_sink_activate):
23722         Core takes STREAM_LOCK for us now.
23723
23724 2005-06-25  Wim Taymans  <wim@fluendo.com>
23725
23726         * gst/gstelement.c: (gst_element_get_state_func),
23727         (gst_element_set_state):
23728         * gst/gstelement.h:
23729         * gst/gstmessage.c: (gst_message_parse_error),
23730         (gst_message_parse_warning):
23731         Keep track of current target state while performing a state
23732         change so that subclasses can do something interesting.
23733         Fix parsing of warning/error messages when GError is NULL.
23734
23735 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23736
23737         * docs/gst/Makefile.am:
23738         * docs/gst/gstreamer-docs.sgml:
23739         * docs/gst/gstreamer-sections.txt:
23740         * docs/gst/gstreamer.types:
23741         * docs/gst/tmpl/gstbasesink.sgml:
23742         * docs/gst/tmpl/gstbasesrc.sgml:
23743         * docs/gst/tmpl/gstbin.sgml:
23744         * docs/gst/tmpl/gstcompat.sgml:
23745         * docs/gst/tmpl/gstfakesink.sgml:
23746         * docs/gst/tmpl/gstfakesrc.sgml:
23747         * docs/gst/tmpl/gstfilesink.sgml:
23748         * docs/gst/tmpl/gstfilesrc.sgml:
23749         * docs/gst/tmpl/gstindex.sgml:
23750         * docs/manual/appendix-quotes.xml:
23751         * gst/base/gstbasesrc.h:
23752         * gst/elements/gstfakesrc.h:
23753         * gst/gstmessage.h:
23754           start pulling in base classes and elements in our docs
23755
23756 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
23757
23758         * docs/gst/Makefile.am:
23759         * docs/libs/Makefile.am:
23760           fixed make distcheck with gtk-doc 1.3
23761
23762 2005-06-23  Wim Taymans  <wim@fluendo.com>
23763
23764         * gst/gstelement.c: (gst_element_get_state_func),
23765         (gst_element_set_state), (gst_element_change_state):
23766         When the state did not change, also report NO_PREROLL
23767         when it matters.
23768
23769 2005-06-23  Wim Taymans  <wim@fluendo.com>
23770
23771         * gst/gstpad.c: (gst_pad_event_default):
23772         * gst/gstqueue.c: (gst_queue_loop):
23773         No unsafe task pausing please.
23774
23775 2005-06-23  Wim Taymans  <wim@fluendo.com>
23776
23777         * gst/schedulers/threadscheduler.c:
23778         (gst_thread_scheduler_task_start),
23779         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23780         Ref the task before pushing it on the threadpool. This
23781         makes sure that we have a ref when the threadfunction is
23782         actually called.
23783
23784 2005-06-23  Andy Wingo  <wingo@pobox.com>
23785
23786         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23787         offset is greater than the file's size.
23788
23789         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
23790         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23791         * gst/gstobject.c (gst_object_class_init): Make the class lock
23792         recursive. Wim won't let me drop deep_notify. Decodebin works
23793         again, whoopdy doo.
23794
23795         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23796         internal pad, and hacks accordingly. Doesn't do it on the target
23797         pad because we change its caps. Probably catches all cases of
23798         interest tho.
23799         (gst_ghost_pad_set_property): Connect to notify::caps as
23800         appropritate.
23801
23802         * tests/network-clock.scm (plot-simulation): Pipe data to the
23803         elite python skript.
23804
23805         * tests/network-clock-utils.scm (define-parameter): New macro,
23806         defines a parameter that can be set via the command line.
23807         (set-parameter!, parse-parameter-arguments): Command line args
23808         parser.
23809
23810         * tests/plot-data: Simple matplotlib-based plotter, takes input on
23811         stdin.
23812
23813 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
23814
23815         * gst/elements/gsttypefindelement.c:
23816         (gst_type_find_element_handle_event):
23817           Don't restart typefinding on a discont.
23818         * gst/gstelement.c: (gst_element_set_state):
23819           Debug spelling fix.
23820         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23821           Allow changing mode of an active pad.
23822           Debug output fixes.
23823         * gst/registries/gstlibxmlregistry.c: (load_feature):
23824           Don't cast a static pad template to a normal pad template.
23825
23826 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23827
23828         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23829         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23830           remove gst_strtoll completely, since it didn't actually do
23831           anything more than what g_ascii_strtoull already does.
23832           check for range errors when deserializing
23833           do a cast for the unsigned cases; but further fixing needs
23834           a decision on what the interpretation of "(int)" and
23835           deserialization should be for values that fall outside the
23836           type's boundaries (ie, refuse, or interpret as casting)
23837
23838 2005-06-23  Wim Taymans  <wim@fluendo.com>
23839
23840         * check/Makefile.am:
23841         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23842         * docs/design/part-live-source.txt:
23843         * docs/design/part-states.txt:
23844         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23845         (gst_basesrc_set_live), (gst_basesrc_is_live),
23846         (gst_basesrc_get_range), (gst_basesrc_activate),
23847         (gst_basesrc_change_state):
23848         * gst/base/gstbasesrc.h:
23849         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23850         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23851         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23852         * gst/gstelement.c: (gst_element_get_state_func),
23853         (gst_element_set_state):
23854         * gst/gstelement.h:
23855         * gst/gsttypes.h:
23856         * tools/gst-launch.c: (event_loop), (main):
23857         Added support for live sources and other elements that
23858         cannot do preroll.
23859         Updated design docs, added live-source design doc.
23860         Implemented live source functionality in basesrc
23861         Fix error condition in _bin_get_state()
23862         Implement live source handling in -launch.
23863         Added check for live sources.
23864         Fixed case in GstBin where elements were changed state
23865         multiple times.
23866
23867
23868 2005-06-23  Andy Wingo  <wingo@pobox.com>
23869
23870         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23871         borken refcounting.
23872
23873         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23874         gst_caps_replace takes care of this for us.
23875
23876         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23877         gst_pad_set_caps on the target, not just its setcaps() function.
23878
23879         * tests/network-clock.scm: 
23880         * tests/network-clock-utils.scm: A network clock simulator.
23881         Something of an algorithmic testbed before doing something in C.
23882
23883 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23884
23885         * check/Makefile.am:
23886         * check/gst/capslist.h:
23887           copy over from 0.8, and add two with bitmasks specified with
23888           (int) 0xFF...
23889         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23890           add test to parse everything from capslist.h
23891         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23892         (main):
23893           add test for structure deserialization
23894         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23895           add tests for deserialization of strings to int types
23896         * gst/gststructure.c: (gst_structure_nth_field_name):
23897         * gst/gststructure.h:
23898           add a way to get the name of a field referenced by index
23899         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23900           instead of checking if the resulting long long lies between
23901           min and max, we check if the long long would fit into
23902           a number of bytes for the final type.
23903           This fixes cases where a string represents 2^32 - 1, which
23904           when cast to int would be the (valid) -1, but is bigger than
23905           G_MAXINT
23906
23907 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23908
23909         * gst/parse/grammar.y:
23910           add a log line for type deserialization
23911
23912 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23913
23914         * check/gst/gstvalue.c: (START_TEST):
23915         * gst/gstvalue.c: (gst_value_deserialize):
23916           return long long, not int, so gint64 deserialization actually
23917           works.  Is there any flag that makes the compiler check this ?
23918           Fixes #308559
23919
23920 2005-06-22  Wim Taymans  <wim@fluendo.com>
23921
23922         * gst/gstbuffer.h:
23923         Added convenience macros for setting buffers in GValue.
23924
23925 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23926
23927         * check/gst/.cvsignore:
23928         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23929           add a test deserializing int64, and comment part out because
23930           it fails, yay !
23931
23932 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23933
23934         * check/Makefile.am:
23935         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23936         * testsuite/Makefile.am:
23937         * testsuite/caps/Makefile.am:
23938         * testsuite/caps/value_serialize.c:
23939         * testsuite/test_gst_init.c:
23940           move a value_serialize test over
23941
23942 2005-06-20  Wim Taymans  <wim@fluendo.com>
23943
23944         * gst/gstpad.c:
23945         Small doc updates.
23946         
23947         * gst/gstvalue.c: (gst_value_compare_buffer),
23948         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23949         (gst_value_compare_flags), (gst_value_serialize_flags),
23950         (gst_value_deserialize_flags), (_gst_value_initialize):
23951         Fix serialisation of buffers, they are not boxed types anymore
23952
23953 2005-06-20  Wim Taymans  <wim@fluendo.com>
23954
23955         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23956         Testcase to show error in buffer-on-caps serialisation.
23957
23958 2005-06-20  Andy Wingo  <wingo@pobox.com>
23959
23960         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23961         will be adding to later.
23962
23963         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23964         if its socks fill with rocks.
23965         (gst_system_clock_obtain): Set the name on object construction.
23966         Avoid double-checked locking.
23967
23968 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
23969
23970         * gst/gsturi.c: (gst_element_make_from_uri):
23971           Fix potential endless loop.
23972
23973 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23974
23975         * check/Makefile.am:
23976           add gsttag
23977         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23978         (main):
23979           move over from testsuite dir and clean up
23980         * configure.ac:
23981         * gst/gsttag.c:
23982         * testsuite/Makefile.am:
23983         * testsuite/tags/.cvsignore:
23984         * testsuite/tags/Makefile.am:
23985         * testsuite/tags/merge.c:
23986           remove testsuite/tags
23987
23988 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23989
23990         * docs/gst/gstreamer-sections.txt:
23991         * docs/gst/tmpl/gstenumtypes.sgml:
23992         * win32/gstenumtypes.c:
23993           clean up documentation build a little
23994
23995 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23996
23997         * check/gstcheck.h:
23998           add macros for checking refcounts on objects and caps
23999         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24000           add some more unit tests
24001         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24002         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24003           fix leaked refcounts (I hope :)) so unittest works
24004         * gst/gstpad.h:
24005           whitespace removal
24006
24007 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24008
24009         * configure.ac: back to HEAD
24010
24011 === release 0.9.1 ===
24012
24013 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24014
24015         * NEWS:
24016         * RELEASE:
24017           updated
24018
24019 2005-06-17  Andy Wingo  <wingo@pobox.com>
24020
24021         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24022         assert; it's always possible that the pad gets deactivated in
24023         between the checks in gstpad.c and the implementation. Rely on
24024         finish_preroll() to return a FLUSHING or similar instead of on the
24025         assert.
24026         
24027         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24028         clock and post an EOS message if we come out of finish_preroll in
24029         the playing state.
24030
24031 2005-06-16  David Schleef  <ds@schleef.org>
24032
24033         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24034         (gst_capsfilter_set_property): Allow NULL as possible value
24035         for filter_caps property, indicating GST_CAPS_ANY.
24036
24037 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24038
24039         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24040           fix debug output
24041         * gst/schedulers/Makefile.am:
24042           use libgst prefix
24043         * gstreamer.spec.in:
24044           fix spec for it
24045
24046 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24047
24048         * gstreamer.spec.in:
24049           clean up
24050
24051 2005-06-08  Andy Wingo  <wingo@pobox.com>
24052
24053         * gst/gstutils.c: RPAD fixes all around.
24054         (gst_element_link_pads): Refcounting fixes.
24055
24056         * tools/gst-inspect.c:
24057         * tools/gst-xmlinspect.c:
24058         * parse/grammar.y:
24059         * gst/base/gsttypefindhelper.c:
24060         * gst/base/gstbasesink.c:
24061         * gst/gstqueue.c: RPAD fixes.
24062
24063         * gst/gstghostpad.h:
24064         * gst/gstghostpad.c: New ghost pad implementation as full proxy
24065         pads. The tricky thing is they provide both source and sink
24066         interfaces, since they proxy the internal pad for the external
24067         pad, and vice versa. Implement with lower-level ProxyPad objects,
24068         with the interior proxy pad as a child of the exterior ghost pad.
24069         Should write a doc on this.
24070         
24071         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24072         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24073         gst_object API.
24074         
24075         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24076         pads are real pads. No ghost pads in this file. Not documenting
24077         the myriad s/RPAD/PAD/ and REALIZE fixes.
24078         (gst_pad_class_init): Add properties for "direction" and
24079         "template". Both are construct-only, so they can't change during
24080         the life of the pad. Fixes properly deriving from GstPad.
24081         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24082         derived objects, just set properties when creating the objects via
24083         g_object_new.
24084         (gst_pad_get_parent): Implement as a function, return NULL if the
24085         parent is not an element.
24086         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24087         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24088         
24089         * gst/gstobject.c (gst_object_class_init): Make name a construct
24090         property. Don't set it in the object init.
24091
24092         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24093         with UNKNOWN direction.
24094         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24095         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24096         (gst_element_remove_pad): Remove ghost-pad special cases.
24097         (gst_element_pads_activate): Remove rpad cruft.
24098
24099         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24100         catch the pad's-parent-not-an-element case.
24101
24102         * gst/gst.h: Include gstghostpad.h.
24103
24104         * gst/gst.c (init_post): No more real, ghost pads.
24105
24106         * gst/Makefile.am: Add gstghostpad.[ch].
24107
24108         * check/Makefile.am:
24109         * check/gst/gstbin.c:
24110         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24111         into a bin creates ghost pads, and that the refcounts are right.
24112         Partly moved from gstbin.c.
24113
24114 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24115
24116         * check/gst-libs/.cvsignore:
24117         * check/gst/.cvsignore:
24118         * check/pipelines/.cvsignore:
24119           ignore more
24120         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24121         (START_TEST), (cleanup_suite), (main):
24122           add some tests related to cleanup after running pipelines
24123
24124 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24125
24126         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24127           add a testsuite for GstBuffer
24128
24129 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24130
24131         * gst/gstminiobject.h:
24132           add defines for accessing the refcount
24133
24134 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
24135
24136         * Makefile.am: added support for html unit test coverage reports
24137
24138 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
24139
24140         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24141           Free existing caps if the capsfilter changes. Add a FIXME about
24142           setting those caps on the pads.
24143
24144         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24145           Before adding a ghost pad to a parent bin, check that there isn't
24146           already one for the element on the bin. Prevents infinite recursion
24147           when using decodebin in parse pipelines. Andy says he'll rewrite the
24148           way this works anyway, so ignore the hack.
24149
24150 2005-06-02  Andy Wingo  <wingo@pobox.com>
24151
24152         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24153         file size, pass it on to the type find helper.
24154
24155         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24156         segment_start and segment_end properly according to the seek
24157         method. Segment_end is still a bit flaky because offset can be
24158         negative for CUR and END cases, but it takes -1 as an "unset"
24159         value.
24160
24161 2005-06-02  Wim Taymans  <wim@fluendo.com>
24162
24163         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24164         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24165         (gst_basesink_activate):
24166         * gst/base/gstbasesink.h:
24167         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24168         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24169         (gst_pad_query), (gst_pad_start_task):
24170         * gst/gstpad.h:
24171         * gst/gstqueue.c: (gst_queue_bufferalloc),
24172         (gst_queue_handle_sink_event), (gst_queue_chain):
24173         Bufferalloc: return GstFlowReturn to more accuratly report
24174         why allocation failed.
24175
24176 2005-06-02  Wim Taymans  <wim@fluendo.com>
24177
24178         * gst/gstpipeline.c: (gst_pipeline_send_event):
24179         Take snapshot of state without blocking.
24180
24181 2005-06-02  Wim Taymans  <wim@fluendo.com>
24182
24183         * docs/design/part-TODO.txt:
24184         * docs/design/part-caps.txt:
24185         * docs/design/part-clocks.txt:
24186         * docs/design/part-negotiation.txt:
24187         * docs/design/part-preroll.txt:
24188         Small doc updates 
24189
24190 2005-05-30  Wim Taymans  <wim@fluendo.com>
24191
24192         * gst/elements/gstidentity.c: (gst_identity_event),
24193         (gst_identity_transform), (gst_identity_get_property):
24194         Protect last_message property as it is accessed from
24195         multiple threads.
24196
24197 2005-05-30  Wim Taymans  <wim@fluendo.com>
24198
24199         * gst/gstelement.c: (gst_element_init),
24200         (gst_element_pads_activate), (gst_element_change_state):
24201         Slicker pad activation code.
24202
24203 2005-05-30  Wim Taymans  <wim@fluendo.com>
24204
24205         * gst/Makefile.am:
24206         * gst/gstelement.h:
24207         * gst/gstelementfactory.h:
24208         * gst/gsttypes.h:
24209         Move elementfactory methods to separate .h file.
24210
24211 2005-05-30  Wim Taymans  <wim@fluendo.com>
24212
24213         * docs/design/part-overview.txt:
24214         * gst/gstsystemclock.h:
24215         Small typo fixes, doc updates.
24216
24217 2005-05-30  Wim Taymans  <wim@fluendo.com>
24218
24219         * gst/gst.c: (gst_init_get_popt_table), (init_post),
24220         (init_popt_callback):
24221         Remove cpu-opt flag.
24222
24223 2005-05-30  Wim Taymans  <wim@fluendo.com>
24224
24225         * gst/gstbuffer.c: (gst_subbuffer_finalize),
24226         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24227         * gst/gstbuffer.h:
24228         Avoid typechecking in places where not needed.
24229         Added accessor for malloc_data.
24230
24231 2005-05-30  Wim Taymans  <wim@fluendo.com>
24232
24233         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24234         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24235         (gst_pad_configure_sink), (gst_pad_configure_src),
24236         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24237         (gst_pad_start_task):
24238         Propagate errors from _set_caps() in configure_src/sink
24239         functions instead of returning TRUE.
24240         FLUSH events can travel up and downstream
24241
24242
24243 2005-05-30  Wim Taymans  <wim@fluendo.com>
24244
24245         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24246         (gst_basesink_activate):
24247         Handle EOS in preroll.
24248
24249 2005-05-30  Wim Taymans  <wim@fluendo.com>
24250
24251         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24252         (gst_queue_loop), (gst_queue_handle_src_event):
24253         Remove old pieces of code
24254         Flushing the queue in an upstream event is a very bad idea.
24255
24256 2005-05-26  Andy Wingo  <wingo@pobox.com>
24257
24258         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24259         gst_value_set_mini_object so as to add a ref on the object (which
24260         will be removed when the value is unset).
24261
24262         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24263         arg type in ::handoff.
24264
24265         * gst/gstelement.c (gst_element_change_state): Also deactivate
24266         pads in READY->NULL, just in case the element didn't make it to
24267         PAUSED. Wingo tested, Wim approved.
24268
24269 2005-05-26  Wim Taymans  <wim@fluendo.com>
24270
24271         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24272         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24273         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24274         A flushing pad cannot be used to alloc_buffer from.
24275
24276 2005-05-26  Wim Taymans  <wim@fluendo.com>
24277
24278         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24279         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24280         (gst_bus_source_dispatch), (gst_bus_source_finalize),
24281         (gst_bus_create_watch), (gst_bus_add_watch_full):
24282         * gst/gstbus.h:
24283         Implement a real GSource and use g_main_context_wakeup() to
24284         signal new messages instead of the socketpair.
24285
24286 2005-05-25  Wim Taymans  <wim@fluendo.com>
24287
24288         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24289         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24290         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24291         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24292         (gst_pad_send_event), (gst_pad_start_task):
24293         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24294         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24295         (gst_queue_sink_activate), (gst_queue_src_activate),
24296         (gst_queue_change_state):
24297         * gst/gstqueue.h:
24298         Fix state changes for non sinks. We now change sinks, then elements
24299         with unconnected srcpads, then the rest.
24300         More efficient queue unlocking in flush and state changes.
24301         Set the pad activate mode even if it does not have an activate
24302         function.
24303
24304 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24305
24306         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24307           Don't go in pull mode for non-seekable sources.
24308         * gst/elements/gsttypefindelement.h:
24309         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24310         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24311         (free_entry), (stop_typefinding),
24312         (gst_type_find_element_handle_event), (find_peek),
24313         (gst_type_find_element_chain), (do_pull_typefind),
24314         (gst_type_find_element_change_state):
24315           Allow typefinding (w/o seeking) in push-mode, simplified version
24316           of what was in 0.8.
24317         * gst/gstutils.c: (gst_buffer_join):
24318         * gst/gstutils.h:
24319           gst_buffer_join() from 0.8.
24320
24321 2005-05-25  Wim Taymans  <wim@fluendo.com>
24322
24323         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24324         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24325         (gst_pad_send_event), (gst_pad_start_task):
24326         Disable attempt at mode switching until it is figured out.
24327
24328 2005-05-25  Wim Taymans  <wim@fluendo.com>
24329
24330         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24331         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24332         (gst_basesink_finish_preroll), (gst_basesink_chain),
24333         (gst_basesink_loop), (gst_basesink_activate),
24334         (gst_basesink_change_state):
24335         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24336         (gst_basesrc_get_range), (gst_basesrc_loop),
24337         (gst_basesrc_activate):
24338         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24339         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24340         (gst_real_pad_init), (gst_real_pad_set_property),
24341         (gst_real_pad_get_property), (gst_pad_set_active),
24342         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24343         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24344         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24345         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24346         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24347         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24348         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24349         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24350         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24351         (gst_pad_stop_task):
24352         * gst/gstpad.h:
24353         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24354         (gst_queue_loop), (gst_queue_src_activate):
24355         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24356         (gst_task_get_state):
24357         * gst/gsttask.h:
24358         * gst/schedulers/threadscheduler.c:
24359         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24360         Implement gst_pad_pause/start/stop_task(), take STREAM lock
24361         in task function.
24362         Remove ACTIVE pad flag, use FLUSHING everywhere
24363         Added _pad_chain(), _pad_get_range() to call chain/getrange 
24364         functions.
24365         Add locks around IS_FLUSHING when reading.
24366         Take STREAM lock in chain(), get_range() functions so plugins
24367         don't need to take it anymore.
24368         
24369
24370
24371 2005-05-25  Wim Taymans  <wim@fluendo.com>
24372
24373         * tools/gst-launch.c: (event_loop):
24374         Unref message after using its contents instead of
24375         before.
24376
24377 2005-05-24  Wim Taymans  <wim@fluendo.com>
24378
24379         * docs/design/draft-ghostpads.txt:
24380         * docs/design/draft-push-pull.txt:
24381         * docs/design/draft-query.txt:
24382         * docs/design/part-overview.txt:
24383         Docs updates, added general overview doc.
24384
24385 2005-05-21  David Schleef  <ds@schleef.org>
24386
24387         * docs/gst/tmpl/old/GstBin.sgml:
24388         * docs/gst/tmpl/old/GstBuffer.sgml:
24389         * docs/gst/tmpl/old/GstCaps.sgml:
24390         * docs/gst/tmpl/old/GstClock.sgml:
24391         * docs/gst/tmpl/old/GstCompat.sgml:
24392         * docs/gst/tmpl/old/GstData.sgml:
24393         * docs/gst/tmpl/old/GstElement.sgml:
24394         * docs/gst/tmpl/old/GstEvent.sgml:
24395         * docs/gst/tmpl/old/GstIndex.sgml:
24396         * docs/gst/tmpl/old/GstStructure.sgml:
24397         * docs/gst/tmpl/old/GstTag.sgml:
24398         * docs/gst/tmpl/old/cothreads.sgml:
24399         * docs/gst/tmpl/old/cothreads_compat.sgml:
24400         * docs/gst/tmpl/old/gettext.sgml:
24401         * docs/gst/tmpl/old/gobject2gtk.sgml:
24402         * docs/gst/tmpl/old/grammar.tab.sgml:
24403         * docs/gst/tmpl/old/gst-i18n-app.sgml:
24404         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24405         * docs/gst/tmpl/old/gst_private.sgml:
24406         * docs/gst/tmpl/old/gstaggregator.sgml:
24407         * docs/gst/tmpl/old/gstarch.sgml:
24408         * docs/gst/tmpl/old/gstatomic_impl.sgml:
24409         * docs/gst/tmpl/old/gstbufferstore.sgml:
24410         * docs/gst/tmpl/old/gstdata_private.sgml:
24411         * docs/gst/tmpl/old/gstdisksink.sgml:
24412         * docs/gst/tmpl/old/gstdisksrc.sgml:
24413         * docs/gst/tmpl/old/gstelementfactory.sgml:
24414         * docs/gst/tmpl/old/gstextratypes.sgml:
24415         * docs/gst/tmpl/old/gstfakesink.sgml:
24416         * docs/gst/tmpl/old/gstfakesrc.sgml:
24417         * docs/gst/tmpl/old/gstfdsink.sgml:
24418         * docs/gst/tmpl/old/gstfdsrc.sgml:
24419         * docs/gst/tmpl/old/gstfilesink.sgml:
24420         * docs/gst/tmpl/old/gstfilesrc.sgml:
24421         * docs/gst/tmpl/old/gsthttpsrc.sgml:
24422         * docs/gst/tmpl/old/gstidentity.sgml:
24423         * docs/gst/tmpl/old/gstindexfactory.sgml:
24424         * docs/gst/tmpl/old/gstmarshal.sgml:
24425         * docs/gst/tmpl/old/gstmd5sink.sgml:
24426         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24427         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24428         * docs/gst/tmpl/old/gstpadtemplate.sgml:
24429         * docs/gst/tmpl/old/gstpipefilter.sgml:
24430         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24431         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24432         * docs/gst/tmpl/old/gstshaper.sgml:
24433         * docs/gst/tmpl/old/gstspider.sgml:
24434         * docs/gst/tmpl/old/gstspideridentity.sgml:
24435         * docs/gst/tmpl/old/gststatistics.sgml:
24436         * docs/gst/tmpl/old/gsttee.sgml:
24437         * docs/gst/tmpl/old/gsttimecache.sgml:
24438         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24439         * docs/gst/tmpl/old/gstxmlregistry.sgml:
24440         * docs/gst/tmpl/old/gthread-cothreads.sgml:
24441         * docs/gst/tmpl/old/types.sgml:
24442           I didn't intend to add these or check them in.
24443
24444 2005-05-19  David Schleef  <ds@schleef.org>
24445
24446         * configure.ac: Use -no-common everywhere.  In a sane world, it
24447           would be the default in libtool, because without it, you can't
24448           build DLLs on Windows.
24449         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24450         * docs/gst/gstreamer-sections.txt:
24451         * docs/gst/tmpl/gstcpu.sgml:
24452         * docs/gst/tmpl/gstdata.sgml:
24453         * docs/gst/tmpl/gstthread.sgml:
24454
24455 2005-05-19  David Schleef  <ds@schleef.org>
24456
24457         * gst/gstminiobject.c: (gst_value_set_mini_object),
24458         (gst_value_take_mini_object), (gst_value_get_mini_object):
24459         * gst/gstminiobject.h: Add GValue set/get functions.
24460
24461 2005-05-19  Wim Taymans  <wim@fluendo.com>
24462
24463         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24464         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24465         (gst_subbuffer_init), (gst_buffer_is_span_fast):
24466         * gst/gstbuffer.h:
24467         * gst/gstbus.c: (gst_bus_post):
24468         * gst/gstelement.c: (gst_element_get_random_pad):
24469         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24470         Make subbufer unref the parent in finalize.
24471         some more debugging info.
24472
24473
24474 2005-05-19  Wim Taymans  <wim@fluendo.com>
24475
24476         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24477         (gst_basesink_init), (gst_basesink_finalize),
24478         (gst_basesink_activate), (gst_basesink_change_state):
24479         Don't free preroll queue too early.
24480
24481 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24482
24483         * gst/Makefile.am:
24484         * gst/ROADMAP:
24485           Hi, I'm outdated. Please shoot me.
24486
24487 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24488
24489         * gst/gstpipeline.c: (gst_pipeline_send_event):
24490           Do not access variables after they have been deleted.
24491
24492 2005-05-19  Wim Taymans  <wim@fluendo.com>
24493
24494         * tools/gst-inspect.c: (print_plugin_features):
24495         A plugin feature does unfortunatly not use the
24496         object name yet...
24497
24498 2005-05-18  Wim Taymans  <wim@fluendo.com>
24499
24500         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24501         Port _span() functions to new subbuffers.
24502
24503 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24504
24505         * gst/gstbin.c: (gst_bin_add_func):
24506           Fix clock settery in bins when adding kids after the clock has
24507           been selected.
24508
24509 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24510
24511         * gst/elements/gstidentity.c: (gst_identity_class_init):
24512           Workaround until signals support GstMiniObject.
24513
24514 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
24515
24516         * gst/gstbuffer.c:
24517         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24518
24519 2005-05-18  Wim Taymans  <wim@fluendo.com>
24520
24521         * gst/base/Makefile.am:
24522         * gst/base/gstadapter.c: (gst_adapter_base_init),
24523         (gst_adapter_class_init), (gst_adapter_init),
24524         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24525         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24526         (gst_adapter_flush), (gst_adapter_available),
24527         (gst_adapter_available_fast):
24528         * gst/base/gstadapter.h:
24529         Ported and added adapter to the base classes.
24530
24531 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24532
24533         * gst/gst.c:
24534         * gst/gstmessage.c:
24535           Make sure the class is reffed/unreffed once before threads can be
24536           used.  Fixes #304551.
24537
24538 2005-05-17  Wim Taymans  <wim@fluendo.com>
24539
24540         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24541         (gst_basesink_chain_unlocked), (gst_basesink_activate):
24542         * gst/gstminiobject.c: (gst_mini_object_get_type),
24543         (gst_mini_object_free):
24544         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24545         (gst_pad_push), (gst_pad_push_event):
24546         * gst/gstqueue.c: (gst_queue_change_state):
24547         Don't queue buffers in basesink when we are flushing.
24548         Unref buffer when flushing in basesink.
24549         Flush queue when going to READY
24550         Unref buffer when _push() returns an error.
24551         Don't free MiniObject instance when refcount is incremented
24552         in _finalize() so that we can recover objects.
24553
24554 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24555
24556         * docs/manual/advanced-schedulers.xml:
24557         * docs/manual/appendix-checklist.xml:
24558         * docs/pwg/advanced-clock.xml:
24559         * docs/pwg/advanced-interfaces.xml:
24560         * docs/pwg/advanced-request.xml:
24561         * docs/pwg/advanced-types.xml:
24562         * docs/pwg/intro-preface.xml:
24563         * examples/plugins/example.c: (gst_example_get_type),
24564         (gst_example_class_init), (gst_example_chain),
24565         (gst_example_set_property), (gst_example_get_property),
24566         (gst_example_change_state), (plugin_init):
24567         * examples/plugins/example.h:
24568           small doc fixes
24569
24570 2005-05-17  Wim Taymans  <wim@fluendo.com>
24571
24572         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24573         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24574         * gst/gstqueue.c: (gst_queue_change_state):
24575         Clear queue when going to READY.
24576         Remove IN_SETCAPS flag too.
24577
24578 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
24579
24580         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24581           Remove implicit cast from gboolean to GstElementStateReturn;
24582           make sure we still return failure in paused => ready case if
24583           the parent class fails to change state and our own stop 
24584           vfunc succeeds.
24585
24586 2005-05-17  Wim Taymans  <wim@fluendo.com>
24587
24588         * tools/gst-launch.c: (event_loop):
24589         Message was unreffed too soon.
24590
24591 2005-05-16  Andy Wingo  <wingo@pobox.com>
24592
24593         * gst/gstbin.c (sink_iterator_filter): Err... um...
24594
24595         * check/gst/gstbin.c (test_ghost_pads): New test for the
24596         ghosting-if-elements-not-in-same-bin behavior.
24597
24598 2005-05-16  David Schleef  <ds@schleef.org>
24599
24600         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24601         accessing refcount directly.
24602
24603 2005-05-15  David Schleef  <ds@schleef.org>
24604
24605         * check/Makefile.am: remove GstData checks
24606         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24607         * gst/Makefile.am: add miniobject, remove data
24608         * gst/gst.h: add miniobject, remove data
24609         * gst/gstdata.c: remove
24610         * gst/gstdata.h: remove
24611         * gst/gstdata_private.h: remove
24612         * gst/gsttypes.h: remove GstEvent and GstMessage
24613         * gst/gstelement.c: (gst_element_post_message): fix for API changes
24614         * gst/gstmarshal.list: change BOXED -> OBJECT
24615
24616         Implement GstMiniObject.
24617         * gst/gstminiobject.c:
24618         * gst/gstminiobject.h:
24619
24620         Modify to be subclasses of GstMiniObject.
24621         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24622         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24623         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24624         (gst_subbuffer_get_type), (gst_subbuffer_init),
24625         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24626         (gst_buffer_span):
24627         * gst/gstbuffer.h:
24628         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24629         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24630         (_gst_event_copy), (gst_event_new):
24631         * gst/gstevent.h:
24632         * gst/gstmessage.c: (_gst_message_initialize),
24633         (gst_message_get_type), (gst_message_class_init),
24634         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24635         (gst_message_new), (gst_message_new_error),
24636         (gst_message_new_warning), (gst_message_new_tag),
24637         (gst_message_new_state_changed), (gst_message_new_application):
24638         * gst/gstmessage.h:
24639         * gst/gstprobe.c: (gst_probe_perform),
24640         (gst_probe_dispatcher_dispatch):
24641         * gst/gstprobe.h:
24642         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24643         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24644         (_gst_query_copy), (gst_query_new):
24645
24646         Update elements for GstData -> GstMiniObject changes
24647         * gst/gstquery.h:
24648         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24649         (gst_queue_chain), (gst_queue_loop):
24650         * gst/elements/gstbufferstore.c:
24651         (gst_buffer_store_add_buffer_func),
24652         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24653         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24654         (gst_fakesink_render):
24655         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24656         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24657         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24658         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24659         (gst_filesrc_create_read):
24660         * gst/elements/gstidentity.c: (gst_identity_class_init):
24661         * gst/elements/gsttypefindelement.c:
24662         (gst_type_find_element_src_event), (free_entry_buffers),
24663         (gst_type_find_element_handle_event):
24664         * libs/gst/dataprotocol/dataprotocol.c:
24665         (gst_dp_header_from_buffer):
24666         * libs/gst/dataprotocol/dataprotocol.h:
24667         * libs/gst/dataprotocol/dp-private.h:
24668
24669 2005-05-15  David Schleef  <ds@schleef.org>
24670
24671         * gst/elements/gstelements.c: Don't include headers that were
24672         just removed.
24673
24674 2005-05-15  David Schleef  <ds@schleef.org>
24675
24676         * gst/elements/Makefile.am: Remove some elements that don't
24677         need to be in the core (or even exist at all).
24678         * gst/elements/gstaggregator.c:
24679         * gst/elements/gstaggregator.h:
24680         * gst/elements/gstmd5sink.c:
24681         * gst/elements/gstmd5sink.h:
24682         * gst/elements/gstmultifilesrc.c:
24683         * gst/elements/gstmultifilesrc.h:
24684         * gst/elements/gstpipefilter.c:
24685         * gst/elements/gstpipefilter.h:
24686         * gst/elements/gstshaper.c:
24687         * gst/elements/gstshaper.h:
24688         * gst/elements/gststatistics.c:
24689         * gst/elements/gststatistics.h:
24690         * po/POTFILES.in: Remove above files.
24691
24692 2005-05-14  Andy Wingo  <wingo@pobox.com>
24693
24694         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24695         so as to get the refs right.
24696         (sink_iterator_filter): New function, wraps bin_element_is_sink,
24697         unreffing objects that don't pass the filter.
24698
24699         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24700         gst_element_set_bus.
24701         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24702         normal cases, this will destroy the bus.
24703
24704         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24705         object.
24706
24707         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24708         has no sinks.
24709
24710 2005-05-13  Andy Wingo  <wingo@pobox.com>
24711
24712         * gst/gstutils.c (gst_element_link_pads): Instead of calling
24713         gst_pad_link, call pad_link_maybe_ghosting,
24714         (pad_link_maybe_ghosting): Links pads, making sure that the
24715         elements being linked are in the same bin.
24716         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24717         Helpers for pad_link_maybe_ghosting.
24718
24719 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24720
24721         * configure.ac:
24722           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24723
24724 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24725
24726         * docs/design/part-element-source.txt:
24727           Mention GstPushSrc
24728
24729 2005-05-12  Wim Taymans  <wim@fluendo.com>
24730
24731         * gst/base/gstbasesink.c: (gst_basesink_init),
24732         (gst_basesink_activate):
24733         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24734         (gst_basesrc_is_seekable):
24735         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24736         (bin_element_is_sink), (gst_bin_change_state):
24737         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24738         * gst/gstelement.h:
24739         Identify sinks by their flag to avoid overly complicated
24740         checks (fow now).
24741         Do state changes even for elements not reachable from the
24742         sinks.
24743         BaseSink is a sink now :)
24744         Some more debugging info in the basesrc.
24745
24746
24747 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24748
24749         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24750           Implement _query on a bin, similar to _send_event.
24751
24752 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
24753
24754         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24755           Discont event offset format should be GST_FORMAT_BYTES,
24756           not GST_FORMAT_TIME.
24757
24758 2005-05-12  Wim Taymans  <wim@fluendo.com>
24759
24760         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24761         Same fix as Ronald's but without the signal. 
24762
24763 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24764
24765         * gst/gstutils.c: (gst_element_query_position):
24766           No, an element is not a pad.
24767
24768 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24769
24770         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24771         (gst_bin_get_state):
24772           If a child is removed from a bin while we remove the child from
24773           the bin and while we're retrieving its state, signal this to the
24774           get_state function so we abort the wait (instead of waiting for
24775           a timeout) and can immediately re-iterate over all other elements.
24776
24777 2005-05-12  Wim Taymans  <wim@fluendo.com>
24778
24779         * gst/base/Makefile.am:
24780         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24781         (gst_basesrc_start):
24782         * gst/base/gstbasesrc.h:
24783         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24784         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24785         (gst_pushsrc_init), (gst_pushsrc_create):
24786         * gst/base/gstpushsrc.h:
24787         Added is_seekable to BaseSrc
24788         Added simple PushSrc.
24789
24790 2005-05-11  Wim Taymans  <wim@fluendo.com>
24791
24792         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24793         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24794         (gst_element_link_pads), (gst_element_query_position),
24795         (gst_element_query_convert), (intersect_caps_func),
24796         (gst_pad_query_position), (gst_pad_query_convert):
24797         Fix refcounting in utils function.
24798         No point in trying to activate a pad when it's added, it could
24799         be added from the state change function and then we deadlock, the
24800         element has to decide what to do.
24801
24802 2005-05-10  Andy Wingo  <wingo@pobox.com>
24803
24804         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24805         *all* the arguments.
24806
24807         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24808         stream lock if it's a FLUSH_DONE; normal flushes don't get the
24809         lock (according to the docs -- if this is wrong change the docs).
24810
24811         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24812         flush messages in the NULL state.
24813
24814         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24815         message immediately and return.
24816         (gst_bus_set_flushing): New function. If a bus is flushing, it
24817         flushes out any queued messages and immediately unrefs new
24818         messages. This is so when an element goes to NULL, all of the
24819         unhandled messages coming from it can be freed, and their
24820         references to the element dropped. In other words: message source
24821         ref considered harmful :P
24822
24823         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24824         we're finished with it.
24825
24826         * gst/gstmessage.c (gst_message_new_state_changed): 
24827
24828 2005-05-10  Wim Taymans  <wim@fluendo.com>
24829
24830         * gst/gstvalue.c: (gst_value_compare_flags),
24831         (gst_value_serialize_flags), (gst_value_deserialize_flags),
24832         (_gst_value_initialize):
24833         Added flags serialize/deserialize/compare code.
24834
24835 2005-05-09  Andy Wingo  <wingo@pobox.com>
24836
24837         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24838         Intersect the peer's caps with our caps.
24839
24840 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24841
24842         * gst/base/gsttypefindhelper.c: (helper_find_peek):
24843         * gst/elements/gsttypefindelement.c: (find_peek):
24844           Handle negative offsets better. Fixes decodebin.
24845
24846 2005-05-09  Wim Taymans  <wim@fluendo.com>
24847
24848         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24849         (gst_base_transform_event):
24850         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24851         Implement accept_caps.
24852         Fix silly lock/unlock mismatch in base class.
24853
24854 2005-05-09  Wim Taymans  <wim@fluendo.com>
24855
24856         * docs/design/draft-push-pull.txt:
24857         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24858         * gst/elements/gstfilesink.c: (gst_filesink_init),
24859         (gst_filesink_query):
24860         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24861         (gst_type_find_handle_src_query), (find_element_get_length):
24862         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24863         * gst/gstelement.h:
24864         * gst/gstmessage.c:
24865         * gst/gstmessage.h:
24866         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24867         (gst_real_pad_get_caps_unlocked),
24868         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24869         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24870         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24871         (gst_real_pad_dispose), (gst_real_pad_finalize),
24872         (gst_pad_load_and_link), (gst_pad_save_thyself),
24873         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24874         (gst_pad_check_pull_range), (gst_pad_pull_range),
24875         (gst_pad_template_get_type), (gst_pad_template_class_init),
24876         (gst_pad_template_init), (gst_pad_template_dispose),
24877         (name_is_valid), (gst_static_pad_template_get),
24878         (gst_pad_template_new), (gst_static_pad_template_get_caps),
24879         (gst_pad_template_get_caps), (gst_pad_set_element_private),
24880         (gst_pad_get_element_private), (gst_pad_start_task),
24881         (gst_pad_pause_task), (gst_pad_stop_task),
24882         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24883         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24884         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24885         (gst_ghost_pad_new):
24886         * gst/gstpad.h:
24887         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24888         (gst_query_new_position), (gst_query_set_position),
24889         (gst_query_parse_position), (gst_query_new_convert),
24890         (gst_query_set_convert), (gst_query_parse_convert):
24891         * gst/gstquery.h:
24892         * gst/gstqueryutils.c:
24893         * gst/gstqueryutils.h:
24894         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24895         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24896         (gst_queue_handle_src_query):
24897         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24898         (gst_element_query_position), (gst_element_query_convert),
24899         (intersect_caps_func), (gst_pad_query_position),
24900         (gst_pad_query_convert):
24901         * gst/gstutils.h:
24902         * tools/gst-inspect.c: (print_pad_info):
24903         * tools/gst-xmlinspect.c: (print_element_info):
24904         Remove old query functions. Ported old code.
24905         Added position/convert helper functions to gstutils.
24906         Reordered gstpad.c code, grouping relevant things.
24907         Remove gst_message_new(), always need to speficy a specific
24908         message.
24909
24910
24911 2005-05-09  Andy Wingo  <wingo@pobox.com>
24912
24913         * gst/gstiterator.h: Add some includes.
24914
24915         * gst/gstqueryutils.h: Include more headers.
24916
24917         * gst/gstpad.h:
24918         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24919         some uses of gst_pad_query.
24920
24921         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24922         NULL out parameters.
24923         (gst_query_new_position): New proc, allocates a new position
24924         query.
24925
24926         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24927         gstqueryutils.c to the build.
24928
24929         * gst/gststructure.c (gst_structure_set_valist): Implement with
24930         the generic G_VALUE_COLLECT.
24931         
24932 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
24933
24934         * gst/Makefile.am: (gst_headers):
24935         Added gstqueryutils.h to the list of headers to install, that was
24936         a 'nachty' move wingo :)
24937
24938 2005-05-06  Andy Wingo  <wingo@pobox.com>
24939
24940         * gst/gstquery.h
24941         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24942         GstData, init a memchunk.
24943         (standard_definitions): Add a few query types, deprecate a few.
24944         (gst_query_get_type): New proc.
24945         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24946         implementation.
24947         (gst_query_new_application, gst_query_get_structure): New public
24948         procs.
24949
24950         * docs/design/draft-query.txt: Removed LINKS from the query types,
24951         because all the rest can be dispatched to other pads -- seemed
24952         ugly to have a query that couldn't be dispatched. internal_links
24953         is fine as a pad method.
24954
24955         * gst/gstpad.h: Add query2 as a pad method, add the new functions
24956         in gstpad.c, but maintain binary compatibility for the moment.
24957         Will fix before 0.9 is out.
24958
24959         * gst/gstqueryutils.c: 
24960         * gst/gstqueryutils.h: New files, implement 3 methods for each
24961         query type: parse_query, parse_response, and set. Probably need an
24962         allocator as well.
24963
24964         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24965
24966         * gst/elements/gstfilesink.c (gst_filesink_query2):
24967         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24968         query_types, and formats methods.
24969
24970         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24971         (gst_pad_set_query2_function): New functions.
24972         (gst_real_pad_init): Set query2_default as the default query2
24973         function. Basically just dispatches to internally linked pads.
24974
24975         Needs review!
24976         
24977         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24978         without using the atomic operations. Only one thread can possibly
24979         be accessing the data at this point. Changed so as to avoid
24980         gst_atomic operations.
24981
24982 2005-05-06  Wim Taymans  <wim@fluendo.com>
24983
24984         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24985         Also set caps if we use the fallback buffer alloc.
24986
24987 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
24988
24989         * docs/gst/Makefile.am:
24990         * docs/gst/gstreamer-docs.sgml:
24991         * docs/gst/gstreamer-sections.txt:
24992         * docs/gst/tmpl/gstatomic.sgml:
24993         * docs/gst/tmpl/gstmemchunk.sgml:
24994         * testsuite/elements/struct_i386.h:
24995         * win32/GStreamer.vcproj:
24996         * win32/Makefile:
24997           Purge GstAtomic stuff from docs and win32 makefiles as well
24998
24999 2005-05-06  Wim Taymans  <wim@fluendo.com>
25000
25001         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25002         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25003         * gst/gstpad.c: (gst_pad_peer_get_caps):
25004         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25005         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25006         (gst_queue_src_activate), (gst_queue_change_state):
25007         * gst/gstqueue.h:
25008         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25009         (intersect_caps_func):
25010         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25011         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25012         Some fixes for the peer_get_caps() change.
25013
25014 2005-05-06  Wim Taymans  <wim@fluendo.com>
25015
25016         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25017         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25018         (gst_basesink_activate):
25019         Actually do something with error codes returned from the push
25020         functions.
25021
25022 2005-05-06  Wim Taymans  <wim@fluendo.com>
25023
25024         * docs/design/part-element-sink.txt:
25025         * docs/design/part-element-source.txt:
25026         * gst/base/gstbasesink.c: (gst_basesink_class_init),
25027         (gst_basesink_event), (gst_basesink_activate):
25028         * gst/base/gstbasesink.h:
25029         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25030         (gst_basesrc_activate):
25031         * gst/base/gstbasesrc.h:
25032         * gst/gstelement.c: (gst_element_pads_activate):
25033         Some more documentation.
25034         Fixed scheduling decision in _pads_activate().
25035
25036 2005-05-05  Andy Wingo  <wingo@pobox.com>
25037
25038         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25039         the test suite.
25040
25041 2005-05-05  Wim Taymans  <wim@fluendo.com>
25042
25043         * gst/base/Makefile.am:
25044         * gst/base/gstbasesink.h:
25045         * gst/base/gstbasesrc.c: (gst_basesrc_init),
25046         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25047         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25048         (gst_collectpads_class_init), (gst_collectpads_init),
25049         (gst_collectpads_finalize), (gst_collectpads_new),
25050         (gst_collectpads_set_function), (gst_collectpads_add_pad),
25051         (find_pad), (gst_collectpads_remove_pad),
25052         (gst_collectpads_is_active), (gst_collectpads_collect),
25053         (gst_collectpads_collect_range), (gst_collectpads_start),
25054         (gst_collectpads_stop), (gst_collectpads_peek),
25055         (gst_collectpads_pop), (gst_collectpads_available),
25056         (gst_collectpads_read), (gst_collectpads_flush),
25057         (gst_collectpads_chain):
25058         * gst/base/gstcollectpads.h:
25059         * gst/elements/Makefile.am:
25060         * gst/elements/gstelements.c:
25061         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25062         (gst_fakesink_get_times), (gst_fakesink_event),
25063         (gst_fakesink_preroll), (gst_fakesink_render):
25064         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25065         (gst_filesink_init), (gst_filesink_set_location),
25066         (gst_filesink_open_file), (gst_filesink_close_file),
25067         (gst_filesink_pad_query), (gst_filesink_event),
25068         (gst_filesink_render), (gst_filesink_change_state):
25069         * gst/elements/gstfilesink.h:
25070         Added object to help in making collect pad based elements.
25071         Ported filesink.
25072         Make event function in sink baseclass return gboolean.
25073
25074 2005-05-05  Wim Taymans  <wim@fluendo.com>
25075
25076         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25077         (gst_bin_get_by_name):
25078         * gst/gstbuffer.h:
25079         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25080         (gst_clock_finalize):
25081         * gst/gstdata.c: (gst_data_replace):
25082         * gst/gstdata.h:
25083         * gst/gstelement.c: (gst_element_request_pad),
25084         (gst_element_pads_activate):
25085         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25086         (gst_object_unref):
25087         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25088         (gst_pad_set_checkgetrange_function),
25089         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25090         (gst_pad_check_pull_range), (gst_pad_pull_range),
25091         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25092         (gst_pad_pause_task), (gst_pad_stop_task):
25093         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25094         (gst_element_request_pad), (gst_pad_proxy_getcaps):
25095         Fix name lookup in GstBin.
25096         Added _data_replace() function and _buffer_replace()
25097         Use finalize method to clean up clock.
25098         Fix refcounting on request pads.
25099         Fix pad schedule mode error.
25100         Some more object refcounting debug info,
25101
25102
25103 2005-05-04  Andy Wingo <wingo@pobox.com>
25104
25105         * check/Makefile.am:
25106         * docs/gst/tmpl/gstatomic.sgml:
25107         * docs/gst/tmpl/gstplugin.sgml:
25108         * gst/base/gstbasesink.c: (gst_basesink_activate):
25109         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25110         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25111         (gst_basesrc_query), (gst_basesrc_set_property),
25112         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25113         (gst_basesrc_activate):
25114         * gst/base/gstbasesrc.h:
25115         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25116         (gst_base_transform_src_activate):
25117         * gst/elements/gstelements.c:
25118         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25119         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25120         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25121         * gst/elements/gsttypefindelement.c: (find_element_get_length),
25122         (gst_type_find_element_checkgetrange),
25123         (gst_type_find_element_activate):
25124         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25125         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25126         (gst_caps_load_thyself):
25127         * gst/gstelement.c: (gst_element_pads_activate),
25128         (gst_element_save_thyself), (gst_element_restore_thyself):
25129         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25130         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25131         * gst/gstpad.h:
25132         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25133         (gst_xml_parse_file), (gst_xml_parse_memory),
25134         (gst_xml_get_element), (gst_xml_make_element):
25135         * gst/indexers/gstfileindex.c: (gst_file_index_load),
25136         (_file_index_id_save_xml), (gst_file_index_commit):
25137         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25138         (read_enum), (load_pad_template), (load_feature), (load_plugin),
25139         (load_paths):
25140         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25141         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25142         * tools/gst-complete.c: (main):
25143         * tools/gst-compprep.c: (main):
25144         * tools/gst-inspect.c: (print_element_properties_info):
25145         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25146         * tools/gst-xmlinspect.c: (print_element_properties):
25147         GCC 4 fixen.
25148         
25149 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25150
25151         * gst/gstplugin.c: (gst_plugin_check_module),
25152         (gst_plugin_check_file), (gst_plugin_load_file):
25153             apply patch from #172526 to make register work on MacOSX
25154
25155 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25156
25157         * docs/gst/tmpl/gstconfig.sgml:
25158         * gst/gstconfig.h.in:
25159           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
25160         * testsuite/debug/printf_extension.c: (main):
25161           Do not use GST_PTR_FORMAT on pointers to types with
25162           sizeof < sizeof(gpointer).  Fixes test on 64-bit
25163         * testsuite/elements/property.h:
25164           use correct printf format
25165
25166 2005-05-02  Wim Taymans  <wim@fluendo.com>
25167
25168         * docs/design/draft-push-pull.txt:
25169         * docs/design/draft-query.txt:
25170         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25171         (gst_basesrc_start):
25172         Added draft for new query API.
25173         Added draft for better selecting scheduling methods.
25174         Make basesrc ignore length if the subclass does not support
25175         it.
25176
25177 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25178
25179         * gst/Makefile.am:
25180           possible fixes for automake-1.5 - _LIBADD is reserved
25181
25182 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25183
25184         * docs/faq/Makefile.am:
25185         * docs/manual/Makefile.am:
25186         * docs/manuals.mak:
25187         * docs/pwg/Makefile.am:
25188         * gst/Makefile.am:
25189           possible fixes for automake-1.5
25190
25191 2005-04-28  Wim Taymans  <wim@fluendo.com>
25192
25193         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25194         (gst_basesink_pad_getcaps), (gst_basesink_init),
25195         (gst_basesink_do_sync):
25196         * gst/gstclock.c: (gst_clock_entry_new):
25197         * gst/gstevent.c: (gst_event_discont_get_value):
25198         * gst/gstpipeline.c: (pipeline_bus_handler),
25199         (gst_pipeline_change_state):
25200         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25201         Better debugging of clocking info.
25202         Allow NULL values when getting discont values.
25203
25204 2005-04-27  Wim Taymans  <wim@fluendo.com>
25205
25206         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25207         * check/gst/gstpad.c: (gst_pad_suite):
25208         Increase timeout for checks.
25209
25210 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25211
25212         * check/Makefile.am:
25213           fix the broken rule for cleanup.  Apparently this rule is
25214           only needed on FC2, so maybe this warrants further autotool
25215           inspection.
25216
25217 2005-04-26  Wim Taymans  <wim@fluendo.com>
25218
25219         * gst/gsttrashstack.h:
25220         Ooohh. a nasty one! After having a failed pop() from the stack,
25221         it's possible that the stack is empty. In that case, don't
25222         follow the NULL pointer.
25223
25224 2005-04-25  Wim Taymans  <wim@fluendo.com>
25225
25226         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25227         (gst_pad_set_checkgetrange_function),
25228         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25229         (gst_pad_check_pull_range), (gst_pad_pull_range),
25230         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25231         (gst_pad_pause_task), (gst_pad_stop_task):
25232         * gst/gstplugin.c: (gst_plugin_load):
25233         * gst/gstplugin.h:
25234         Remove gst_library_load as it does more harm than good with
25235         the new g_module flags.
25236         Revert bogus caps template check in pad linking, pad caps
25237         are important when linking not the template, which is more
25238         general than the current caps.
25239
25240 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25241
25242         * gst/autoplug/.cvsignore:
25243         * gst/autoplug/Makefile.am:
25244         * gst/autoplug/gstsearchfuncs.c:
25245         * gst/autoplug/gstsearchfuncs.h:
25246         * gst/autoplug/gstspider.c:
25247         * gst/autoplug/gstspider.h:
25248         * gst/autoplug/gstspideridentity.c:
25249         * gst/autoplug/gstspideridentity.h:
25250         * gst/autoplug/spidertest.c:
25251           Die, spider, die.
25252
25253 2005-04-25  Wim Taymans  <wim@fluendo.com>
25254
25255         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25256         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25257         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25258         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25259         * gst/gstpad.h:
25260         Added stubs for unimplemented functions. 
25261
25262 2005-04-24  David Schleef  <ds@schleef.org>
25263
25264         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
25265         please fix.
25266
25267 2005-04-24  David Schleef  <ds@schleef.org>
25268
25269         Convert everything from GstAtomicInt to g_atomic_int_*, and
25270         remove gstatomic.
25271         * gst/Makefile.am:
25272         * gst/gstatomic.c:
25273         * gst/gstatomic.h:
25274         * gst/gstatomic_impl.h:
25275         * gst/gstbuffer.c:
25276         * gst/gstcaps.c:
25277         * gst/gstcaps.h:
25278         * gst/gstclock.c:
25279         * gst/gstclock.h:
25280         * gst/gstdata.c:
25281         * gst/gstdata.h:
25282         * gst/gstdata_private.h:
25283         * gst/gstevent.c:
25284         * gst/gstinfo.c:
25285         * gst/gstinfo.h:
25286         * gst/gstmessage.c:
25287         * gst/gstobject.c:
25288         * gst/gstobject.h:
25289         * gst/gststructure.c:
25290         * gst/gststructure.h:
25291         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25292         * gst/gstutils.h:
25293
25294 2005-04-24  David Schleef  <ds@schleef.org>
25295
25296         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25297         make the regressions tests work.  Remove some code that is no
25298         longer true.
25299         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25300         Disable warning for pads without templates.
25301
25302 2005-04-24  David Schleef  <ds@schleef.org>
25303
25304         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
25305         functions that handle filtered links.
25306         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25307         removed functions.
25308         * gst/gstutils.c: Fix/remove utility functions that handle
25309         filtered caps.
25310         * gst/gstutils.h:
25311         * gst/gstvalue.c: Add serialization/deserialization of caps
25312         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
25313         requires fixing so that the filter caps notation creates
25314         a capsfilter element and sets the filter_caps property.  I
25315         think everyone probably wants to keep the shorthand notation.
25316         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25317         * docs/gst/tmpl/gstpad.sgml:
25318
25319         * gst/elements/gstelements.c: Register capsfilter element.
25320         * gst/Makefile.am: fix spacing
25321         * docs/random/ds/0.9-suggested-changes: random
25322
25323 2005-04-23  David Schleef  <ds@schleef.org>
25324
25325         * gst/elements/Makefile.am:
25326         * gst/elements/gstcapsfilter.c: New element that acts like an
25327         identity, but filters caps.  Will eventually replace filtered
25328         caps in pad linking.
25329         * gst/gstutils.c: (gst_element_create_all_pads): New function
25330         to create all the ALWAYS pads that are registered with an
25331         element class.  This functionality should eventually be
25332         merged in with GstElement initialization.
25333         * gst/gstutils.h:
25334         * testsuite/trigger/README: part of trigger test code that should
25335         have been checked in a long time ago.
25336
25337 2005-04-23  David Schleef  <ds@schleef.org>
25338
25339         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
25340         needed with new versions of libtool (nobody will confirm this),
25341         and hard to carry around.
25342         * gst/autoplug/Makefile.am:
25343         * gst/base/Makefile.am:
25344         * gst/elements/Makefile.am:
25345         * gst/indexers/Makefile.am:
25346         * gst/schedulers/Makefile.am:
25347         * libs/gst/bytestream/Makefile.am:
25348         * libs/gst/control/Makefile.am:
25349         * libs/gst/dataprotocol/Makefile.am:
25350         * libs/gst/getbits/Makefile.am:
25351
25352 2005-04-21  Wim Taymans  <wim@fluendo.com>
25353
25354         * docs/design/draft-push-pull.txt:
25355         * docs/design/part-MT-refcounting.txt:
25356         * docs/design/part-TODO.txt:
25357         * docs/design/part-caps.txt:
25358         * docs/design/part-events.txt:
25359         * docs/design/part-gstbus.txt:
25360         * docs/design/part-gstpipeline.txt:
25361         * docs/design/part-messages.txt:
25362         * docs/design/part-push-pull.txt:
25363         * docs/design/part-query.txt:
25364         Some more docs.
25365
25366 2005-04-21  Wim Taymans  <wim@fluendo.com>
25367
25368         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25369         (gst_message_new), (gst_message_new_error),
25370         (gst_message_new_warning), (gst_message_new_tag),
25371         (gst_message_new_state_changed), (gst_message_new_application),
25372         (gst_message_get_structure):
25373         * gst/gstmessage.h:
25374         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25375         (gst_structure_copy_conditional):
25376         Use parent refcount in GstMessage to ensure GstStructure
25377         consistency.
25378         Cleaned up headers a bit.
25379         
25380
25381 2005-04-20  Wim Taymans  <wim@fluendo.com>
25382
25383         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25384         (gst_basesink_pad_getcaps), (gst_basesink_init),
25385         (gst_basesink_chain_unlocked):
25386         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25387         (gst_type_find_helper):
25388         * gst/elements/gsttypefindelement.c:
25389         (gst_type_find_element_have_type), (gst_type_find_element_init),
25390         (stop_typefinding), (gst_type_find_element_handle_event),
25391         (find_suggest), (gst_type_find_element_chain),
25392         (gst_type_find_element_checkgetrange),
25393         (gst_type_find_element_getrange), (do_typefind),
25394         (gst_type_find_element_activate):
25395         * gst/gstbuffer.c: (_gst_buffer_sub_free),
25396         (gst_buffer_default_free), (gst_buffer_default_copy),
25397         (gst_buffer_set_caps):
25398         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25399         (gst_caps_replace):
25400         * gst/gstmessage.c: (gst_message_new),
25401         (gst_message_new_state_changed):
25402         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25403         (gst_pad_set_checkgetrange_function),
25404         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25405         (gst_pad_set_caps), (gst_pad_check_pull_range),
25406         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25407         * gst/gstpad.h:
25408         * gst/gsttypefind.c: (gst_type_find_register):
25409         Make gst_caps_replace() work like other _replace() functions.
25410         Use _caps_replace() where possible.
25411         Make sure _message_new() initialises its field.
25412         Add gst_static_pad_template_get_caps()
25413
25414
25415 2005-04-18  Andy Wingo  <wingo@pobox.com>
25416
25417         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25418         on the peer, not the pad. I think that was a typo. Pass an extra
25419         arg to see if random access is possible. Activate the pads as
25420         PULL_RANGE if possible.
25421
25422         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25423
25424         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
25425         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25426         to PROP_....
25427
25428 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25429
25430         * docs/faq/using.xml:
25431           Add note on gstreamer-properties (#154996).
25432
25433 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25434
25435         * docs/random/bbb/optional-properties:
25436           Some analysis on optional properties.
25437
25438 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25439
25440         * docs/gst/tmpl/gstelementfactory.sgml:
25441         * gst/gstelement.h:
25442         * gst/gstelementfactory.c: (gst_element_factory_init),
25443         (gst_element_factory_cleanup), (gst_element_register),
25444         (__gst_element_factory_add_static_pad_template),
25445         (gst_element_factory_get_static_pad_templates),
25446         (gst_element_factory_can_src_caps),
25447         (gst_element_factory_can_sink_caps):
25448         * gst/registries/Makefile.am:
25449         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25450         (gst_xml_registry_class_init), (gst_xml_registry_init),
25451         (gst_xml_registry_new), (gst_xml_registry_set_property),
25452         (gst_xml_registry_get_property), (get_time), (make_dir),
25453         (gst_xml_registry_get_perms_func),
25454         (plugin_times_older_than_recurse), (plugin_times_older_than),
25455         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25456         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25457         (add_to_char_array), (read_string), (read_uint), (read_enum),
25458         (load_pad_template), (load_feature), (load_plugin), (load_paths),
25459         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25460         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25461         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25462         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25463         (gst_xml_registry_rebuild):
25464         * gst/registries/gstlibxmlregistry.h:
25465         * tools/gst-compprep.c: (main):
25466         * tools/gst-inspect.c: (print_pad_templates_info):
25467         * tools/gst-xmlinspect.c: (print_element_info):
25468           Use libxml2 for registry parsing, use staticpadtemplates in
25469           elementfactories. Makes gst_init() +/- 10x faster.
25470
25471 2005-04-12  Wim Taymans  <wim@fluendo.com>
25472
25473         * gst/base/Makefile.am:
25474         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25475         (gst_basesink_pad_getcaps), (gst_basesink_init),
25476         (gst_basesink_event), (gst_basesink_change_state):
25477         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25478         (gst_basesrc_init), (gst_basesrc_query),
25479         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25480         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25481         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25482         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25483         (gst_basesrc_stop), (gst_basesrc_activate),
25484         (gst_basesrc_change_state):
25485         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25486         (helper_find_suggest), (gst_type_find_helper):
25487         * gst/base/gsttypefindhelper.h:
25488         * gst/elements/Makefile.am:
25489         * gst/elements/gstelements.c:
25490         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25491         (gst_fakesink_get_times), (gst_fakesink_event),
25492         (gst_fakesink_preroll), (gst_fakesink_render):
25493         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25494         (gst_fakesrc_init), (gst_fakesrc_event_handler),
25495         (gst_fakesrc_get_property), (gst_fakesrc_create),
25496         (gst_fakesrc_start), (gst_fakesrc_stop):
25497         * gst/elements/gstfakesrc.h:
25498         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25499         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25500         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25501         (gst_filesrc_create_read), (gst_filesrc_create),
25502         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25503         (gst_filesrc_start):
25504         * gst/elements/gsttypefindelement.c:
25505         (gst_type_find_element_have_type), (gst_type_find_element_init),
25506         (start_typefinding), (stop_typefinding), (push_buffer_store),
25507         (gst_type_find_element_handle_event),
25508         (gst_type_find_element_chain),
25509         (gst_type_find_element_checkgetrange),
25510         (gst_type_find_element_getrange), (do_typefind),
25511         (gst_type_find_element_activate),
25512         (gst_type_find_element_change_state):
25513         * gst/elements/gsttypefindelement.h:
25514         * gst/gstpipeline.c: (pipeline_bus_handler):
25515         Added typefind helper.
25516         Small preroll fix in the base sink.
25517         Disable typefind code in basesrc.
25518         Crude port of typefindelement.
25519         Fakesrc cleanups.
25520
25521
25522 2005-04-11  Wim Taymans  <wim@fluendo.com>
25523
25524         * check/gst/gstbus.c: (gstbus_suite):
25525         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25526         * check/gstcheck.h:
25527           Fix up the timeout so that the test does not fail.
25528
25529 2005-04-06  Wim Taymans  <wim@fluendo.com>
25530
25531         * gst/base/README:
25532         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25533         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25534         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25535         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25536         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25537         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25538         (gst_basesrc_stop), (gst_basesrc_activate),
25539         (gst_basesrc_change_state), (basesrc_find_peek),
25540         (basesrc_find_suggest), (gst_basesrc_type_find):
25541         * gst/base/gstbasesrc.h:
25542         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25543         (gst_filesrc_class_init), (gst_filesrc_init),
25544         (gst_filesrc_finalize), (gst_filesrc_set_location),
25545         (gst_filesrc_set_property), (gst_filesrc_get_property),
25546         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25547         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25548         (gst_filesrc_create_read), (gst_filesrc_create),
25549         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25550         * gst/elements/gstfilesrc.h:
25551         * gst/gstelement.c: (gst_element_get_state_func),
25552         (gst_element_lost_state), (gst_element_pads_activate):
25553         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25554         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25555         (gst_pad_pull_range):
25556         * gst/gstpad.h:
25557         More work on the generic source base class, implement seeking,
25558         query.
25559         Make filesrc extend the base source class.
25560         Added gst_pad_set_checkgetrange_function to GstPad.
25561
25562 2005-04-06  Andy Wingo  <wingo@pobox.com>
25563
25564         * pkgconfig/gstreamer-base.pc.in:
25565         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25566
25567         * pkgconfig/Makefile.am:
25568         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25569
25570 2005-04-04  Wim Taymans  <wim@fluendo.com>
25571
25572         * gst/base/Makefile.am:
25573         * gst/base/README:
25574         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25575         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25576         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25577         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25578         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25579         (gst_basesrc_base_init), (gst_basesrc_class_init),
25580         (gst_basesrc_init), (gst_basesrc_get_formats),
25581         (gst_basesrc_get_query_types), (gst_basesrc_query),
25582         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25583         (gst_basesrc_set_property), (gst_basesrc_get_property),
25584         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25585         (gst_basesrc_loop), (gst_basesrc_activate),
25586         (gst_basesrc_change_state):
25587         * gst/base/gstbasesrc.h:
25588         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25589         (gst_fakesrc_class_init), (gst_fakesrc_init),
25590         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25591         (gst_fakesrc_get_property), (gst_fakesrc_create):
25592         * gst/elements/gstfakesrc.h:
25593         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25594         (gst_filesrc_open_file), (gst_filesrc_loop),
25595         (gst_filesrc_activate), (filesrc_find_peek),
25596         (gst_filesrc_type_find):
25597         Made base source class, make fakesrc extend it.
25598         Add comments to basesink class.
25599         Some filesrc cleanup.
25600
25601 2005-03-31  David Schleef  <ds@schleef.org>
25602
25603         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25604         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25605         expected to link against libgstreamer.
25606         * gst/base/Makefile.am: link against libgstreamer
25607         * gst/elements/Makefile.am: same
25608
25609 2005-03-31  Andy Wingo  <wingo@pobox.com>
25610
25611         * tests/instantiate/Makefile.am:
25612         * tests/instantiate/caps.c: Add test to test speed of caps copy
25613         and free.
25614
25615         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25616         GMemChunk to be fair.
25617
25618         * gst/gsttrashstack.h: Remove warning about using the fallback
25619         trash stack implementation, it's still faster than malloc.
25620
25621 2005-03-30  Andy Wingo  <wingo@pobox.com>
25622
25623         * tests/complexity.c: Add a copyright.
25624
25625 2005-03-31  Wim Taymans  <wim@fluendo.com>
25626
25627         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25628         (gst_base_transform_class_init), (gst_base_transform_init),
25629         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25630         (gst_base_transform_get_property),
25631         (gst_base_transform_sink_activate),
25632         (gst_base_transform_src_activate),
25633         (gst_base_transform_change_state):
25634         * gst/base/gstbasetransform.h:
25635         * gst/elements/gstidentity.c: (gst_identity_class_init),
25636         (gst_identity_event), (gst_identity_check_perfect),
25637         (gst_identity_transform), (gst_identity_start),
25638         (gst_identity_stop):
25639         Added start/stop methods to transform base class so subclasses 
25640         don't need to deal with state changes even.
25641
25642 2005-03-31  Wim Taymans  <wim@fluendo.com>
25643
25644         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25645         (gst_event_new_discontinuous), (gst_event_discont_get_value):
25646         * gst/gstevent.h:
25647         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25648         (gst_pad_pull_range):
25649         Added rate to the discont event to prepare for variable speed
25650         and reverse playback.
25651
25652 2005-03-29  David Schleef  <ds@schleef.org>
25653
25654         * configure.ac:
25655         * testsuite/trigger/Makefile.am:
25656         * testsuite/trigger/trigger.c: A little example program to show
25657         how trigger-based elements can work.
25658
25659 2005-03-29  Wim Taymans  <wim@fluendo.com>
25660
25661         * gst/base/Makefile.am:
25662         * gst/base/README:
25663         * gst/base/gstbasesink.c: (gst_basesink_get_type),
25664         (gst_basesink_base_init), (gst_basesink_class_init),
25665         (gst_basesink_pad_getcaps), (gst_basesink_init),
25666         (gst_basesink_activate), (gst_basesink_change_state):
25667         * gst/base/gstbasesink.h:
25668         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25669         (gst_base_transform_base_init), (gst_base_transform_finalize),
25670         (gst_base_transform_class_init), (gst_base_transform_init),
25671         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25672         (gst_base_transform_event), (gst_base_transform_getrange),
25673         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25674         (gst_base_transform_set_property),
25675         (gst_base_transform_get_property),
25676         (gst_base_transform_sink_activate),
25677         (gst_base_transform_src_activate),
25678         (gst_base_transform_change_state):
25679         * gst/base/gstbasetransform.h:
25680         * gst/elements/gstidentity.c: (gst_identity_finalize),
25681         (gst_identity_class_init), (gst_identity_init),
25682         (gst_identity_event), (gst_identity_check_perfect),
25683         (gst_identity_transform), (gst_identity_set_property),
25684         (gst_identity_get_property), (gst_identity_change_state):
25685         * gst/elements/gstidentity.h:
25686         * gst/gstelement.c: (gst_element_get_state_func),
25687         (gst_element_lost_state), (gst_element_pads_activate):
25688         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25689         (gst_pad_check_pull_range), (gst_pad_pull_range):
25690         * gst/gstpad.h:
25691         Simplify pad activation.
25692         Added function to check if pull_range can be performed.
25693         Error out when pulling inactive or flushing pads.
25694         Removed const from refcounted types as it does not make sense.
25695         Simplify pad templates in basesink
25696         Added base class for simple 1-to-1 transforms.
25697         Make identity subclass the base transform.
25698
25699 2005-03-29  Andy Wingo  <wingo@pobox.com>
25700
25701         * docs/libs/gstreamer-libs-overrides.txt: 
25702         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25703         really don't understand what's going on, but like whatever. I want
25704         green buildbot!
25705
25706         * docs/gst/Makefile.am:
25707         * docs/libs/Makefile.am: Dist the overrides files.
25708
25709         * check/Makefile.am (clean-local): Remove .libs directories.
25710
25711         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25712         elements to EXTRA_DIST, so po/ files are happy.
25713
25714         * po/POTFILES.in: Er, remove it here.
25715
25716         * po/POTFILES: Remove gstspider.c.
25717
25718         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25719
25720         * docs/libs/gstreamer-libs-docs.sgml: 
25721         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25722         bytestream.
25723
25724         * tests/complexity.c (main): Set the length of the preroll queue
25725         on the sinks to prevent a lockup.
25726
25727         * libs/gst/dataprotocol/Makefile.am: 
25728         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25729         the same as the one in check/gst-libs/gdp.c.
25730
25731         * po/, docs/gst/: Commit automatic changes to docs and po files.
25732
25733         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25734         the versioned libgstbase.
25735
25736         * check/Makefile.am: Depend on an unversioned gst-register, seems
25737         to make autoconf happier.
25738
25739         * gst/base/Makefile.am: Make libgstbase a versioned lib.
25740
25741 2005-03-28  Wim Taymans  <wim@fluendo.com>
25742
25743         * configure.ac:
25744         * docs/design/part-gstelement.txt:
25745         * docs/design/part-negotiation.txt:
25746         * docs/design/part-preroll.txt:
25747         * docs/design/part-scheduling.txt:
25748         * docs/design/part-states.txt:
25749         * gst/Makefile.am:
25750         * gst/base/Makefile.am:
25751         * gst/base/README:
25752         * gst/base/gstbasesink.c: (gst_basesink_get_template),
25753         (gst_basesink_base_init), (gst_basesink_class_init),
25754         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25755         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25756         (gst_basesink_set_pad_functions),
25757         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25758         (gst_basesink_set_property), (gst_basesink_get_property),
25759         (gst_base_sink_get_template), (gst_base_sink_get_caps),
25760         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25761         (gst_basesink_preroll_queue_push),
25762         (gst_basesink_preroll_queue_empty),
25763         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25764         (gst_basesink_event), (gst_basesink_get_times),
25765         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25766         (gst_basesink_chain_unlocked), (gst_basesink_chain),
25767         (gst_basesink_loop), (gst_basesink_activate),
25768         (gst_basesink_change_state):
25769         * gst/base/gstbasesink.h:
25770         * gst/elements/Makefile.am:
25771         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25772         (gst_fakesink_class_init), (gst_fakesink_init),
25773         (gst_fakesink_set_property), (gst_fakesink_get_property),
25774         (gst_fakesink_get_times), (gst_fakesink_event),
25775         (gst_fakesink_preroll), (gst_fakesink_render),
25776         (gst_fakesink_change_state):
25777         * gst/elements/gstfakesink.h:
25778         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25779         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25780         * gst/gstelement.c: (gst_element_add_pad),
25781         (gst_element_get_state_func), (gst_element_abort_state),
25782         (gst_element_commit_state), (gst_element_lost_state),
25783         (gst_element_set_state), (gst_element_pads_activate):
25784         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25785         * gst/gstpipeline.c: (gst_pipeline_send_event),
25786         (gst_pipeline_change_state):
25787         Added state change code.
25788         Added/updated docs.
25789         Added sink base class, make fakesink extend the base class.
25790         Small cleanups in GstPipeline.
25791
25792 2005-03-26  David Schleef  <ds@schleef.org>
25793
25794         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
25795         is broken and should be implemented in a different library.
25796         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25797         * gst/gst.h: remove gstcpu.h
25798         * gst/gstcpu.c: remove
25799         * gst/gstcpu.h: remove
25800         * gst/Makefile.am.future: Remove this file.  It's ancient.
25801
25802 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25803
25804         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25805         (gst_bin_send_event):
25806           Add default event/set_manager handlers. The set_manager handler
25807           takes care that the manager is distributed over kids that were
25808           already in the bin before the manager was set. The event handler
25809           is a utility virtual function that sends the event over all sinks,
25810           so that gst_element_send_event (bin, event); has the expected
25811           behaviour.
25812         * gst/gstpad.c: (gst_pad_event_default):
25813           Re-install default event handling for discontinuities, so that
25814           seeking works without requiring hacks in applications or extra
25815           code in sinks.
25816         * gst/gstpipeline.c: (gst_pipeline_class_init),
25817         (gst_pipeline_send_event):
25818           Half hack, half utility: set a pipeline to PAUSED for seek events,
25819           since that is the only way we can guarantee a/v sync. Means that
25820           you can do gst_element_seek (pipeline, method, pos); on a pipeline
25821           and it "just works".
25822
25823 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25824
25825         * gst/gstpipeline.c: (gst_pipeline_use_clock):
25826           Lock/unlock mismatch.
25827
25828 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25829
25830         * docs/faq/gst-uninstalled:
25831           add gst-plugins-base
25832         * docs/gst/Makefile.am:
25833           don't error out until docs are fixed
25834         * docs/gst/gstreamer.types:
25835           remove thread
25836
25837 2005-03-22  Wim Taymans  <wim@fluendo.com>
25838
25839         * check/Makefile.am:
25840         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25841         * gst/gststructure.c: (gst_structure_set_valist),
25842         (gst_structure_copy_conditional):
25843         Activated more tests.
25844         Added message test.
25845         Added G_TYPE_POINTER to GstStructure.
25846         
25847
25848 2005-03-22  Wim Taymans  <wim@fluendo.com>
25849
25850         * docs/design/part-TODO.txt:
25851         * docs/design/part-events.txt:
25852         * docs/design/part-gstbin.txt:
25853         * docs/design/part-gstbus.txt:
25854         * docs/design/part-gstpipeline.txt:
25855         * docs/design/part-messages.txt:
25856         * gst/gstbus.c:
25857         * gst/gstmessage.c:
25858         Docs updates
25859
25860 2005-03-21  Wim Taymans  <wim@fluendo.com>
25861
25862         * gst/gstbus.c: (gst_bus_post):
25863         Fix copy-and-paste error.
25864
25865 2005-03-21  Wim Taymans  <wim@fluendo.com>
25866
25867         * check/Makefile.am:
25868         * gst/Makefile.am:
25869         * gst/elements/Makefile.am:
25870         * gst/elements/gstelements.c:
25871         * gst/elements/gstfakesink.c: (gst_fakesink_init),
25872         (gst_fakesink_event), (gst_fakesink_chain):
25873         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25874         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25875         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25876         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25877         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25878         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25879         (gst_fakesrc_loop), (gst_fakesrc_activate),
25880         (gst_fakesrc_change_state):
25881         * gst/elements/gstfakesrc.h:
25882         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25883         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25884         (gst_filesrc_open_file), (gst_filesrc_loop),
25885         (gst_filesrc_activate), (gst_filesrc_change_state),
25886         (filesrc_find_peek), (filesrc_find_suggest),
25887         (gst_filesrc_type_find):
25888         * gst/elements/gstidentity.c: (gst_identity_finalize),
25889         (gst_identity_class_init), (gst_identity_init),
25890         (gst_identity_proxy_getcaps), (identity_queue_push),
25891         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25892         (gst_identity_getrange), (gst_identity_chain),
25893         (gst_identity_sink_loop), (gst_identity_src_loop),
25894         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25895         (gst_identity_set_property), (gst_identity_get_property),
25896         (gst_identity_change_state):
25897         * gst/elements/gstidentity.h:
25898         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25899         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25900         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25901         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25902         (gst_tee_sink_activate):
25903         * gst/elements/gsttee.h:
25904         * gst/gst.c: (gst_register_core_elements), (init_post):
25905         * gst/gst.h:
25906         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25907         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25908         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25909         (gst_bin_change_state):
25910         * gst/gstbin.h:
25911         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25912         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25913         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25914         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25915         (gst_bus_set_sync_handler), (gst_bus_create_watch),
25916         (bus_watch_callback), (bus_watch_destroy),
25917         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25918         (poll_timeout), (gst_bus_poll):
25919         * gst/gstbus.h:
25920         * gst/gstcaps.h:
25921         * gst/gstdata.h:
25922         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25923         (gst_element_post_message), (gst_element_message_full),
25924         (gst_element_get_state_func), (gst_element_get_state),
25925         (gst_element_abort_state), (gst_element_commit_state),
25926         (gst_element_lost_state), (gst_element_set_state),
25927         (gst_element_pads_activate), (gst_element_change_state),
25928         (gst_element_dispose), (gst_element_set_manager_func),
25929         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25930         (gst_element_set_manager), (gst_element_get_manager),
25931         (gst_element_set_bus), (gst_element_get_bus),
25932         (gst_element_set_scheduler), (gst_element_get_scheduler):
25933         * gst/gstelement.h:
25934         * gst/gstevent.c: (gst_event_new_segment_seek),
25935         (gst_event_new_flush):
25936         * gst/gstevent.h:
25937         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25938         (_gst_message_free), (gst_message_get_type), (gst_message_new),
25939         (gst_message_new_eos), (gst_message_new_error),
25940         (gst_message_new_warning), (gst_message_new_tag),
25941         (gst_message_new_state_changed), (gst_message_new_application),
25942         (gst_message_get_structure), (gst_message_parse_tag),
25943         (gst_message_parse_state_changed), (gst_message_parse_error),
25944         (gst_message_parse_warning):
25945         * gst/gstmessage.h:
25946         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25947         (gst_real_pad_set_property), (gst_pad_set_active),
25948         (gst_pad_is_active), (gst_pad_set_blocked_async),
25949         (gst_pad_set_blocked), (gst_pad_is_blocked),
25950         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25951         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25952         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25953         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25954         (gst_pad_link_filtered), (gst_pad_relink_filtered),
25955         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25956         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25957         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25958         (gst_pad_set_caps), (gst_pad_configure_sink),
25959         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25960         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25961         (gst_real_pad_dispose), (gst_real_pad_finalize),
25962         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25963         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25964         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25965         * gst/gstpad.h:
25966         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25967         (pipeline_bus_handler), (gst_pipeline_change_state),
25968         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25969         * gst/gstpipeline.h:
25970         * gst/gstprobe.h:
25971         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25972         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25973         (gst_queue_link_src), (gst_queue_bufferalloc),
25974         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25975         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25976         (gst_queue_loop), (gst_queue_handle_src_event),
25977         (gst_queue_handle_src_query), (gst_queue_src_activate),
25978         (gst_queue_change_state):
25979         * gst/gstqueue.h:
25980         * gst/gstscheduler.c: (gst_scheduler_init),
25981         (gst_scheduler_dispose), (gst_scheduler_create_task),
25982         (gst_scheduler_factory_create):
25983         * gst/gstscheduler.h:
25984         * gst/gststructure.c: (gst_structure_get_type),
25985         (gst_structure_copy_conditional):
25986         * gst/gststructure.h:
25987         * gst/gsttaginterface.h:
25988         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25989         (gst_task_init), (gst_task_dispose), (gst_task_create),
25990         (gst_task_get_state), (gst_task_start), (gst_task_stop),
25991         (gst_task_pause):
25992         * gst/gsttask.h:
25993         * gst/gstthread.c:
25994         * gst/gstthread.h:
25995         * gst/gsttypes.h:
25996         * gst/schedulers/Makefile.am:
25997         * gst/schedulers/cothreads_compat.h:
25998         * gst/schedulers/entryscheduler.c:
25999         * gst/schedulers/faircothreads.c:
26000         * gst/schedulers/faircothreads.h:
26001         * gst/schedulers/fairscheduler.c:
26002         * gst/schedulers/gstbasicscheduler.c:
26003         * gst/schedulers/gstoptimalscheduler.c:
26004         * gst/schedulers/gthread-cothreads.h:
26005         * gst/schedulers/threadscheduler.c:
26006         (gst_thread_scheduler_task_get_type),
26007         (gst_thread_scheduler_task_class_init),
26008         (gst_thread_scheduler_task_init),
26009         (gst_thread_scheduler_task_start),
26010         (gst_thread_scheduler_task_stop),
26011         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26012         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26013         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26014         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26015         (plugin_init):
26016         * libs/gst/Makefile.am:
26017         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26018         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26019         (gst_file_pad_parent_set):
26020         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26021         (gst_dp_event_from_packet):
26022         * tests/complexity.c: (main):
26023         * tests/mass_elements.c: (main):
26024         * testsuite/states/locked.c: (message_received), (main):
26025         * testsuite/states/parent.c: (main):
26026         * tools/gst-inspect.c: (print_element_flag_info),
26027         (print_implementation_info), (print_pad_info):
26028         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26029         (main):
26030         * tools/gst-md5sum.c: (event_loop), (main):
26031         * tools/gst-typefind.c: (main):
26032         * tools/gst-xmlinspect.c: (print_element_info):
26033         Next big merge.
26034         Added GstBus for mainloop integration.
26035         Added GstMessage for sending notifications on the bus.
26036         Added GstTask as an abstraction for pipeline entry points.
26037         Removed GstThread.
26038         Removed Schedulers.
26039         Simplified GstQueue for multithreaded core.
26040         Made _link threadsafe, removed old capsnego.
26041         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26042         Added pad blocking functions.
26043         Reworked scheduling functions in GstPad to prepare for
26044         scheduling updates soon.
26045         Moved events out of data stream.
26046         Simplified GstEvent types.
26047         Added return values to push/pull.
26048         Removed clocking from GstElement.
26049         Added prototypes for state change function for next merge.
26050         Removed iterate from bins and state change management.
26051         Fixed some elements, disabled others for now.
26052         Fixed -inspect and -launch.
26053         Added check for GstBus.
26054
26055 2005-03-10  Wim Taymans  <wim@fluendo.com>
26056
26057         * docs/design/part-MT-refcounting.txt:
26058         * docs/design/part-clocks.txt:
26059         * docs/design/part-gstelement.txt:
26060         * docs/design/part-gstobject.txt:
26061         * docs/design/part-standards.txt:
26062         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26063         (gst_bin_remove_func), (gst_bin_remove):
26064         * gst/gstbin.h:
26065         * gst/gstbuffer.c:
26066         * gst/gstcaps.h:
26067         * testsuite/clock/clock1.c: (main):
26068         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26069         (main):
26070         * testsuite/dlopen/loadgst.c: (do_test):
26071         * testsuite/refcounting/bin.c: (add_remove_test1),
26072         (add_remove_test2), (main):
26073         * testsuite/refcounting/element.c: (main):
26074         * testsuite/refcounting/element_pad.c: (main):
26075         * testsuite/refcounting/pad.c: (main):
26076         * tools/gst-launch.c: (sigint_handler_sighandler):
26077         * tools/gst-typefind.c: (main):
26078         Doc updates.
26079         Added doc about clock.
26080         removed gst_bin_iterate_recurse_up(), marked methods
26081         for removal.
26082         Fix more testsuites.
26083
26084 2005-03-09  Wim Taymans  <wim@fluendo.com>
26085
26086         * gst/gstpad.c: (gst_pad_get_direction),
26087         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26088         (gst_pad_collect_valist):
26089         * testsuite/bins/interface.c: (main):
26090         * testsuite/caps/audioscale.c: (test_caps):
26091         * testsuite/caps/caps.c: (test1), (test2), (test3):
26092         * testsuite/caps/deserialize.c: (main):
26093         * testsuite/caps/enumcaps.c: (main):
26094         * testsuite/caps/filtercaps.c: (main):
26095         * testsuite/caps/intersect2.c: (main):
26096         * testsuite/caps/random.c: (main):
26097         * testsuite/caps/renegotiate.c: (my_fixate), (main):
26098         * testsuite/caps/sets.c: (check_caps):
26099         * testsuite/caps/simplify.c: (check_caps), (main):
26100         * testsuite/caps/subtract.c: (check_caps):
26101         Fix _pad_get_direction wrt ghostpads.
26102         Fix caps testsuite.
26103
26104 2005-03-09  Wim Taymans  <wim@fluendo.com>
26105
26106         * check/Makefile.am:
26107         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26108         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26109         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26110         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26111         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26112         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26113         (gst_bin_remove), (gst_bin_iterate_recurse_up),
26114         (bin_element_is_sink), (gst_bin_iterate_sinks),
26115         (gst_bin_iterate_all_by_interface):
26116         * gst/gstbin.h:
26117         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26118         (gst_element_change_state), (gst_element_dispose),
26119         (gst_element_finalize), (gst_element_set_loop_function):
26120         * gst/gstelement.h:
26121         * gst/gstiterator.c: (find_custom_fold_func):
26122         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26123         (gst_pad_collectv), (gst_pad_collect_valist),
26124         (gst_pad_template_new):
26125         * gst/gstpipeline.c: (gst_pipeline_class_init),
26126         (gst_pipeline_dispose), (gst_pipeline_set_property),
26127         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26128         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26129         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26130         * gst/gstutils.h:
26131         * gst/schedulers/entryscheduler.c:
26132         * gst/schedulers/gstbasicscheduler.c:
26133         (gst_basic_scheduler_cothreaded_chain),
26134         (gst_basic_scheduler_chain_add_element):
26135         * testsuite/bins/interface.c: (main):
26136         Added GstBin test.
26137         Added GstSystemClock test.
26138         Implemented clock distribution code in GstBin.
26139         Implemented iterate sinks method for future use.
26140         Rearranged gstelement.h
26141         Fix GstIterator comparison bug.
26142         Moved some code to GstPipeline, mostly clocking related.
26143
26144 2005-03-09  Wim Taymans  <wim@fluendo.com>
26145
26146         * configure.ac:
26147         * gst/gst_private.h:
26148         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26149         (gst_bin_remove_func), (gst_bin_remove),
26150         (gst_bin_get_by_name_recurse_up):
26151         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26152         (gst_clock_id_compare_func), (gst_clock_id_wait),
26153         (gst_clock_id_wait_async), (gst_clock_init),
26154         (gst_clock_adjust_unlocked), (gst_clock_get_time):
26155         * gst/gstelement.h:
26156         * gst/gstinfo.c: (_gst_debug_init):
26157         * gst/gstobject.h:
26158         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26159         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26160         * gst/gstpad.h:
26161         Bump version number, we're now 0.9.0
26162         Add future debugging category.
26163         Fix NULL _unref() in _get_by_name_recurse_up
26164         Rearrange gstpad.h.
26165         Update some docs.
26166
26167 2005-03-08  Wim Taymans  <wim@fluendo.com>
26168
26169         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26170         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26171         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26172         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26173         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26174         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26175         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26176         * gst/elements/gstidentity.c: (gst_identity_class_init):
26177         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26178         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26179         * gst/elements/gstshaper.c: (gst_shaper_class_init):
26180         * gst/elements/gststatistics.c: (gst_statistics_class_init):
26181         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26182         (gst_tee_link):
26183         * gst/gstelement.c: (gst_element_class_init),
26184         (gst_element_base_class_init), (gst_element_init),
26185         (gst_element_get_random_pad), (gst_element_wait_state_change),
26186         (gst_element_change_state), (gst_element_dispose),
26187         (gst_element_finalize), (gst_element_set_loop_function):
26188         * gst/gstelement.h:
26189         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26190         * gst/gstthread.c: (gst_thread_class_init),
26191         (gst_thread_release_children_locks), (gst_thread_change_state):
26192         * gst/schedulers/gstbasicscheduler.c:
26193         (gst_basic_scheduler_loopfunc_wrapper),
26194         (gst_basic_scheduler_chain_wrapper),
26195         (gst_basic_scheduler_src_wrapper),
26196         (gst_basic_scheduler_remove_element):
26197         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26198         Remove threadsafe properties. Fix elements because GObject
26199         complains when installing a property before declaring a
26200         set/get_property handler.
26201         Rearrange gstelement.h file, use STATE macros for state locks.
26202         Free mutexes in the finalize method instead of dispose.
26203
26204 2005-03-08  Wim Taymans  <wim@fluendo.com>
26205
26206         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26207         * gst/gstthread.c: (gst_thread_release_children_locks):
26208         Added parentage check.
26209         Fix build og GstThread again.
26210
26211 2005-03-08  Wim Taymans  <wim@fluendo.com>
26212
26213         * docs/design/part-MT-refcounting.txt:
26214         * docs/design/part-conventions.txt:
26215         * docs/design/part-gstobject.txt:
26216         * docs/design/part-relations.txt:
26217         * docs/design/part-standards.txt:
26218         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26219         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26220         (gst_bin_get_by_name), (gst_bin_get_by_interface),
26221         (gst_bin_iterate_all_by_interface):
26222         * gst/gstbuffer.h:
26223         * gst/gstclock.h:
26224         * gst/gstelement.c: (gst_element_class_init),
26225         (gst_element_change_state), (gst_element_set_loop_function):
26226         * gst/gstelement.h:
26227         * gst/gstiterator.c:
26228         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26229         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26230         (gst_object_dispatch_properties_changed), (gst_object_set_name),
26231         (gst_object_set_parent), (gst_object_unparent),
26232         (gst_object_check_uniqueness):
26233         * gst/gstobject.h:
26234         Docs updates, clean up some headers.
26235
26236 2005-03-07  Wim Taymans  <wim@fluendo.com>
26237
26238         * check/.cvsignore:
26239         * check/Makefile.am:
26240         * check/gst-libs/.cvsignore:
26241         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26242         * check/gst/.cvsignore:
26243         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26244         (START_TEST), (gstbus_suite), (main):
26245         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26246         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26247         (gst_data_suite), (main):
26248         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26249         (add_fold_func), (gstiterator_suite), (main):
26250         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26251         (thread_name_object), (thread_name_object_default),
26252         (gst_object_name_compare), (gst_object_suite), (main):
26253         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26254         (gst_pad_suite), (main):
26255         * check/gstcheck.c: (gst_check_log_message_func),
26256         (gst_check_log_critical_func), (gst_check_init):
26257         * check/gstcheck.h:
26258         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26259         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26260         Added checks.
26261
26262 2005-03-07  Wim Taymans  <wim@fluendo.com>
26263
26264         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26265         (gst_list_iterator_next), (gst_list_iterator_resync),
26266         (gst_list_iterator_free), (gst_iterator_new_list),
26267         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26268         (gst_iterator_free), (gst_iterator_push), (filter_next),
26269         (filter_resync), (filter_uninit), (filter_free),
26270         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26271         (gst_iterator_foreach), (find_custom_fold_func),
26272         (gst_iterator_find_custom):
26273         * gst/gstiterator.h:
26274         Added missing files.
26275
26276 2005-03-07  Wim Taymans  <wim@fluendo.com>
26277
26278         * Makefile.am:
26279         * configure.ac:
26280         * docs/design/part-MT-refcounting.txt:
26281         * docs/design/part-conventions.txt:
26282         * docs/design/part-gstobject.txt:
26283         * docs/design/part-relations.txt:
26284         * examples/mixer/mixer.c: (main):
26285         * examples/thread/thread.c: (eos), (main):
26286         * gst/Makefile.am:
26287         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26288         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26289         (gst_spider_plug_from_srcpad):
26290         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26291         (gst_spider_identity_change_state),
26292         (gst_spider_identity_sink_loop_type_finding):
26293         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26294         * gst/elements/gstidentity.c: (gst_identity_init):
26295         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26296         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26297         * gst/elements/gsttypefindelement.c: (free_entry):
26298         * gst/gst.c:
26299         * gst/gst.h:
26300         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26301         (gst_bin_set_clock_func), (gst_bin_auto_clock),
26302         (gst_bin_set_index), (gst_bin_set_element_sched),
26303         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26304         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26305         (gst_bin_iterate_elements), (iterate_child_recurse),
26306         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26307         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26308         (compare_interface), (gst_bin_get_by_interface),
26309         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26310         * gst/gstbin.h:
26311         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26312         (gst_buffer_default_free), (gst_buffer_default_copy),
26313         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26314         (gst_buffer_create_sub):
26315         * gst/gstbuffer.h:
26316         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26317         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26318         (gst_caps_unref), (gst_static_caps_get),
26319         (gst_caps_remove_and_get_structure), (gst_caps_append),
26320         (gst_caps_append_structure), (gst_caps_remove_structure),
26321         (gst_caps_copy_nth), (gst_caps_set_simple),
26322         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26323         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26324         (gst_caps_structure_intersect_field), (gst_caps_intersect),
26325         (gst_caps_structure_subtract_field), (gst_caps_subtract),
26326         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26327         (gst_caps_structure_figure_out_union),
26328         (gst_caps_switch_structures), (gst_caps_do_simplify),
26329         (gst_caps_replace), (gst_caps_from_string),
26330         (gst_caps_copy_conditional):
26331         * gst/gstcaps.h:
26332         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26333         (_gst_clock_id_free), (gst_clock_id_unref),
26334         (gst_clock_id_compare_func), (gst_clock_id_wait),
26335         (gst_clock_id_wait_async), (gst_clock_class_init),
26336         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26337         (gst_clock_get_time), (gst_clock_set_time_adjust),
26338         (gst_clock_set_property), (gst_clock_get_property):
26339         * gst/gstclock.h:
26340         * gst/gstcompat.h:
26341         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26342         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26343         * gst/gstdata.h:
26344         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26345         (gst_element_requires_clock), (gst_element_provides_clock),
26346         (gst_element_set_clock), (gst_element_clock_wait),
26347         (gst_element_wait), (gst_element_set_time_delay),
26348         (gst_element_is_indexable), (gst_element_add_pad),
26349         (gst_element_add_ghost_pad), (gst_element_remove_pad),
26350         (pad_compare_name), (gst_element_get_static_pad),
26351         (gst_element_request_pad), (gst_element_get_request_pad),
26352         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26353         (gst_element_class_get_pad_template_list),
26354         (gst_element_class_get_pad_template), (gst_element_error_func),
26355         (gst_element_get_random_pad), (gst_element_get_event_masks),
26356         (gst_element_send_event), (gst_element_seek),
26357         (gst_element_get_query_types), (gst_element_query),
26358         (gst_element_get_formats), (gst_element_convert),
26359         (gst_element_is_locked_state), (gst_element_set_locked_state),
26360         (gst_element_sync_state_with_parent), (gst_element_change_state),
26361         (gst_element_finalize), (gst_element_yield),
26362         (gst_element_interrupt), (gst_element_set_scheduler),
26363         (gst_element_get_scheduler), (gst_element_set_loop_function):
26364         * gst/gstelement.h:
26365         * gst/gstevent.h:
26366         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26367         (gst_format_get_by_nick), (gst_format_get_details),
26368         (gst_format_iterate_definitions):
26369         * gst/gstformat.h:
26370         * gst/gstindex.c: (gst_index_gtype_resolver):
26371         * gst/gstinfo.c:
26372         * gst/gstinfo.h:
26373         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26374         (gst_mem_chunk_free):
26375         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26376         (gst_object_ref), (gst_object_unref), (gst_object_sink),
26377         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26378         (gst_object_dispatch_properties_changed),
26379         (gst_object_set_name_default), (gst_object_set_name),
26380         (gst_object_get_name), (gst_object_set_name_prefix),
26381         (gst_object_get_name_prefix), (gst_object_set_parent),
26382         (gst_object_get_parent), (gst_object_unparent),
26383         (gst_object_check_uniqueness), (gst_object_save_thyself),
26384         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26385         (gst_object_set_property), (gst_object_get_property),
26386         (gst_object_get_path_string):
26387         * gst/gstobject.h:
26388         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26389         (gst_real_pad_init), (gst_real_pad_get_property),
26390         (gst_pad_custom_new), (gst_pad_get_direction),
26391         (gst_pad_set_active), (gst_pad_is_active),
26392         (gst_pad_set_event_function), (gst_pad_is_linked),
26393         (gst_pad_link_free), (gst_pad_link_intersect),
26394         (gst_pad_link_fixate), (gst_pad_set_caps),
26395         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26396         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26397         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26398         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26399         (gst_pad_get_caps), (gst_pad_peer_get_caps),
26400         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26401         (gst_pad_realize), (gst_pad_get_allowed_caps),
26402         (gst_real_pad_dispose), (gst_real_pad_finalize),
26403         (gst_pad_collectv), (gst_pad_collect_valist),
26404         (gst_pad_template_dispose), (gst_pad_template_new),
26405         (gst_pad_get_internal_links):
26406         * gst/gstpad.h:
26407         * gst/gstpipeline.c: (gst_pipeline_dispose),
26408         (gst_pipeline_change_state):
26409         * gst/gstpipeline.h:
26410         * gst/gstplugin.c:
26411         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26412         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26413         * gst/gstpluginfeature.h:
26414         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26415         * gst/gstquery.c: (_gst_query_type_initialize),
26416         (gst_query_type_register), (gst_query_type_get_by_nick),
26417         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26418         * gst/gstquery.h:
26419         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26420         * gst/gstscheduler.c: (gst_scheduler_add_element),
26421         (gst_scheduler_factory_create):
26422         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26423         (gst_structure_free), (gst_structure_set_name),
26424         (gst_structure_id_set_value), (gst_structure_set_value),
26425         (gst_structure_set_valist), (gst_structure_remove_field),
26426         (gst_structure_remove_fields),
26427         (gst_structure_remove_fields_valist),
26428         (gst_structure_remove_all_fields), (gst_structure_foreach),
26429         (gst_structure_map_in_place),
26430         (gst_caps_structure_fixate_field_nearest_int),
26431         (gst_caps_structure_fixate_field_nearest_double):
26432         * gst/gststructure.h:
26433         * gst/gstsystemclock.c: (gst_system_clock_class_init),
26434         (gst_system_clock_init), (gst_system_clock_dispose),
26435         (gst_system_clock_async_thread),
26436         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26437         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26438         * gst/gstsystemclock.h:
26439         * gst/gsttag.c: (gst_tag_list_add_value_internal),
26440         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26441         * gst/gsttaginterface.c:
26442         * gst/gstthread.c: (gst_thread_dispose),
26443         (gst_thread_release_children_locks), (gst_thread_change_state),
26444         (gst_thread_main_loop):
26445         * gst/gsttrashstack.h:
26446         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26447         * gst/gsttypes.h:
26448         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26449         (gst_element_request_pad), (gst_element_get_pad_from_template),
26450         (gst_element_request_compatible_pad),
26451         (gst_element_get_compatible_pad_filtered),
26452         (gst_element_get_compatible_pad), (gst_element_state_get_name),
26453         (gst_element_link_pads_filtered), (gst_element_link_filtered),
26454         (gst_element_link_many), (gst_element_link),
26455         (gst_element_link_pads), (gst_element_unlink_pads),
26456         (gst_element_unlink_many), (gst_element_unlink),
26457         (gst_pad_can_link_filtered), (gst_pad_can_link),
26458         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26459         (gst_object_default_error), (gst_bin_add_many),
26460         (gst_bin_remove_many), (gst_element_populate_std_props),
26461         (gst_element_class_install_std_props), (gst_buffer_merge),
26462         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26463         (link_fold_func), (gst_pad_proxy_setcaps):
26464         * gst/gstutils.h:
26465         * gst/gstvalue.c: (gst_value_deserialize_string):
26466         * gst/parse/grammar.y:
26467         * gst/schedulers/gstbasicscheduler.c:
26468         (gst_basic_scheduler_cothreaded_chain),
26469         (gst_basic_scheduler_chain_recursive_add),
26470         (gst_basic_scheduler_pad_link):
26471         * gst/schedulers/gstoptimalscheduler.c:
26472         (get_group_schedule_function),
26473         (gst_opt_scheduler_state_transition),
26474         (gst_opt_scheduler_add_element), (element_get_reachables_func):
26475         * libs/gst/bytestream/bytestream.c:
26476         * libs/gst/dataprotocol/dataprotocol.c:
26477         (gst_dp_header_from_buffer):
26478         * po/nb.po:
26479         * po/ru.po:
26480         * tests/threadstate/threadstate2.c: (eos):
26481         * tools/gst-compprep.c: (main):
26482         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26483         (print_pad_info), (print_children_info):
26484         * tools/gst-launch.c: (idle_func), (main):
26485         * tools/gst-md5sum.c: (idle_func), (main):
26486         * tools/gst-xmlinspect.c: (print_element_info):
26487         First THREADED backport attempt, focusing on adding locks and
26488         making sure the API is threadsafe. Needs more work. More docs
26489         follow this week.
26490
26491 2005-02-24  Andy Wingo  <wingo@pobox.com>
26492
26493         * tests/bench-complexity.scm:
26494         * tests/complexity.gnuplot: New files, good for running complexity
26495         benchmarks.
26496
26497         * tests/Makefile.am:
26498         * tests/complexity.c: New test, sets up N elements, at each level
26499         teeing into M streams per element. Eeeenteresting.
26500
26501         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26502         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26503         running bench-mass_elements.scm.
26504
26505         * tests/bench-mass_elements.scm: New script, runs mass_elements
26506         for various numbers of identities, outputting the results to a
26507         file. Requires guile 1.6. Just for testing.
26508
26509 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26510
26511         * gst/schedulers/fairscheduler.c:
26512           compile with debug disabled
26513
26514 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26515
26516         * configure.ac:
26517           hunting season on 0.9 is now OPEN