gst/gstpreset.c: For theses two fgets we handle the error below.
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
2
3         * gst/gstpreset.c:
4           For theses two fgets we handle the error below.
5
6 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
7
8         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
9         Only send upstream events upstream. Fixes #498746.
10
11 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
12
13         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
14
15         * plugins/elements/gstidentity.c: (gst_identity_class_init),
16         (gst_identity_init), (gst_identity_transform_ip),
17         (gst_identity_set_property), (gst_identity_get_property):
18         * plugins/elements/gstidentity.h:
19         Add property to disable handoff signal emission. Fixes #498694.
20         API: GstIdentity::signal-handoffs
21
22 2007-11-21  Julien Moutte  <julien@fluendo.com>
23
24         * docs/faq/gst-uninstalled: Yet another missing library for the
25         uninstalled script (fft)
26
27 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
28
29         * docs/faq/developing.xml:
30         Add a question about how to submit new translations.
31
32         * docs/random/release:
33         Update the contact email address for the Translation Project
34
35         * plugins/elements/gstfdsrc.c:
36         The parent_class for fdsrc is pushsrc, not GstElement.
37
38 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
39
40         * gst/gstpreset.c:
41           Plug a leak and fix saving.
42
43 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
44
45         * docs/gst/gstreamer-sections.txt:
46         Add new gst_preset__get_property_names() function to the docs
47         to fix the build.
48
49 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
50
51         * gst/gstpreset.c:
52         * gst/gstpreset.h:
53           Change _get_preset_names API to return a strv with copies. Add
54           _get_property_names to allow implementations to filter and provide
55           good default implementation.
56
57 2007-11-20  Julien MOUTTE  <julien@moutte.net>
58
59         * docs/faq/gst-uninstalled: Add another library to the uninstalled
60         script (sdp).
61
62 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
63
64         * gst/gstpreset.c:
65           More cleanups, docs, and TODOs from comments that now slowly come in.
66
67 2007-11-19  Julien MOUTTE  <julien@moutte.net>
68
69         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
70         search path.
71
72 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
73
74         * gst/gstpreset.c:
75           Fix bogus warning and make the property type specific code more
76           similar.
77
78 2007-11-19  Julien MOUTTE  <julien@moutte.net>
79
80         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
81         it build on OS X.
82
83 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
84
85         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
86         (gst_bin_add_func), (gst_bin_remove_func),
87         (gst_bin_change_state_func), (gst_bin_continue_func):
88         Change email, cleanups add some more debug and comments.
89         Also set bus and clock on new elements when the pipeline was in error.
90
91 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
92
93         * gst/gstbin.c:
94         * gst/gstdebugutils.c:
95           Fix build with --disable-gst-debug. Fixes #497859.
96           Spotted by Sameer Naik.
97
98 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
99
100         * gst/gstevent.c:
101           Little documentation improvment.
102
103         * gst/gstpreset.c:
104           More TODO cleanups. Remove c++ comments.
105
106         * libs/gst/controller/gstcontroller.c:
107           Add TODO and use quark from static string.
108
109         * tests/check/gst/gstmessage.c:
110         * tests/check/gst/gststructure.c:
111           Use quark from static string.
112
113 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
114
115         * gst/gstpreset.c:
116           Add some comments and TODOs.
117
118         * gst/gstpreset.h:
119           Add padding for future changes.
120
121         * plugins/elements/gstqueue.c:
122           Implement the iface.    
123
124 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
125
126         * docs/gst/gstreamer-docs.sgml:
127         * docs/gst/gstreamer-sections.txt:
128         * docs/gst/gstreamer.types.in:
129         * gst/Makefile.am:
130         * gst/gst.h:
131         * gst/gstpreset.c:
132         * gst/gstpreset.h:
133           Add the preset interface (Fixes #396779). Do some doc cleanups along.
134
135 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
136
137         * configure.ac:
138
139         Back to CVS
140
141 === release 0.10.15 ===
142
143 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
144
145         * configure.ac:
146           releasing 0.10.15, "October"
147
148 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
149
150         * win32/vs6/libgstreamer.dsp:
151         Convert line endings back to DOS.
152
153 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
154
155         * docs/design/draft-tagreading.txt:
156         * docs/random/ensonic/profiling.txt:
157         Update fast tagreading draft and performance profiling ideas.
158
159 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
160
161         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
162         Don't hold the object lock when unreffing a buffer because it could
163         cause a deadlock when the finalize function wants to grab the object
164         lock too. Fixes #495133.
165
166 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
167
168         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
169         (gst_segment_to_stream_time), (gst_segment_to_running_time):
170         Also accumulate time correctly when doing reverse playback. Fixes
171         #488201,
172         When converting to running and stream time, use default values for
173         start/stop/time/accum when comparing different formats. Fixes #494245.
174
175         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
176         Do running/stream time in TIME format.
177
178         * tests/check/gst/gstsegment.c: (GST_START_TEST),
179         (gst_segment_suite):
180         2 new unit tests for segment accumulation.
181
182 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
183
184         * gst/gst.c: (init_pre):
185         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
186           (_gst_debug_bin_to_dot_file):
187           Move getenv() back into gst_init, so everyone can live happily
188           ever after. Make sure the symbol isn't exported though.
189
190 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
191
192         Patch by: Sebastien Moutte  <sebastien moutte net>
193
194         * win32/common/gstenumtypes.c:
195         * win32/common/gstenumtypes.h:
196           Update enum types.
197
198         * win32/vs6/libgstreamer.dsp:
199           Update vs6 project files (#494343).
200
201 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
202
203         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
204         (gst_base_src_perform_seek), (gst_base_src_default_event),
205         (gst_base_src_set_flushing), (gst_base_src_activate_push),
206         (gst_base_src_activate_pull):
207         Unify flushing code, remove some old unlock code that is no longer used.
208         Take the streaming lock when seeking to avoid races. Fixes #492729.
209         Added some more comments.
210
211 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
212
213         * gst/gst.c: (_gst_disable_segtrap):
214           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
215           we can use gst_segtrap_is_enabled() there now that we have that API.
216           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
217           to do the getenv here (and export the variable).
218
219         * gst/gstdebugutils.c: (debug_dump_element),
220           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
221           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
222
223         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
224           (gst_debug_log_default):
225           Rename _gst_info_start_time to priv_gst_info_start_time so it
226           doesn't get exported (was never in any header).
227
228         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
229           (gst_plugin_loading_mutex):
230           Make static mutex gst_plugin_loading_mutex really static (was never
231           in any header), and use gst_segtrap_is_enabled() instead of
232           _gst_disable_segtrap.
233
234         * gst/gsttrace.c: (_gst_trace_default):
235           Make local _gst_trace_default static (was never in any header).
236
237 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
238
239         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
240
241         * win32/common/libgstbase.def:
242         * win32/common/libgstcontroller.def:
243         * win32/common/libgstdataprotocol.def:
244         * win32/common/libgstnet.def:
245         * win32/common/libgstreamer.def:
246           Add more missing symbols, remove some duplicates, and sort
247           as the 'sort' command sorts it (partially fixes #493983).
248
249 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
250
251         * gst/gstelement.c: (gst_element_set_state_func):
252         Only change the state cookie if a different state was set on the
253         element. See #492729.
254
255 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
256
257         * gst/gstvalue.c:
258           Remove unused and uninitialised type variables that were still
259           exported for some reason (they were never in any header files
260           though).
261
262 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
263
264         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
265         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
266         (gst_base_sink_event), (gst_base_sink_get_position_last),
267         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
268         (gst_base_sink_change_state):
269         Don't try to report a 0 position when we don't know, return -1 and FALSE
270         instead. This mostly happens when we are prerolling.
271         Make sure we can report the right position before we post the ASYNC_DONE
272         message so that a message handler can query position without races.
273
274         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
275         (async_done_handoff), (async_done_func), (send_buffer),
276         (async_done_eos_func), (gst_sinks_suite):
277         Add two tests for the above.
278
279 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
280
281         * MAINTAINERS:
282         Update with new email address.
283
284         * docs/design/part-TODO.txt:
285         Add some more info about future pad-block and negotiation changes.
286
287         * docs/design/part-buffering.txt:
288         Add some ideas about buffering reporting.
289
290 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
291
292         * tests/check/gst/gstobject.c:
293         Disable silly racy test that always fails on this combination of CPU
294         and kernel.
295
296 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
297
298         Patch by: Murray Cumming  <murrayc@murrayc.com>
299
300         * gst/gstobject.c:
301           Corrected the registration of the parent-set and parent-unset
302           signals: The parameter is a GstObject, not a GObject (#493134).
303
304 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
305
306         * gst/gst_private.h:
307         * gst/gstbuffer.h:
308         * gst/gstevent.h:
309         * gst/gstformat.h:
310         * gst/gstmessage.h:
311         * gst/gstplugin.h:
312         * gst/gstquery.h:
313         * gst/gsttaglist.h:
314         * gst/gstvalue.h:
315           Move declaration of private _gst_foo_initialize() functions into
316           our private header file where they should have been all along.
317
318 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
319
320         * docs/plugins/gstreamer-plugins-sections.txt:
321         * gst/gstdebugutils.h:
322         * gst/gstxml.h:
323         * plugins/elements/gstqueue.c:
324           gtk-doc fixes; trailing-comma-in-enum fix.
325
326 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
327
328         * gst/gst.c: (gst_deinit):
329           Clean up on deinit (not the external ones though, doesn't seem to be
330           needed for some reason).
331
332 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
333
334         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
335           Remove __declspec(dllimport) for MSVC that was copied over into core
336           from a plugin, obviously without ever having been tested (note the
337           single underscore in _declspec in the initial commit), and that doesn't
338           really make sense.  See #492077.
339
340 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
341
342         * gst/gst.c: (init_post):
343         * gst/gstevent.c: (_gst_event_initialize):
344         * gst/gstquery.c: (_gst_query_initialize):
345         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
346           g_type_class_ref() other types as well, see #349410 and #64764.
347
348         * gst/gstbuffer.c: (_gst_buffer_initialize):
349         * gst/gstmessage.c: (_gst_message_initialize):
350           Simplify existing g_type_class_ref().
351
352 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
353
354         * gst/gstformat.c: (_gst_format_initialize):
355           g_type_class_ref() our GstFormat type to make sure we avoid the
356           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
357           bug #64764. Should fix intermittent tee unit test failures (#474823).
358
359 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
360
361         * tests/check/elements/tee.c: (test_num_buffers):
362           Simplify, simplify, simplify - or not.  Rewrite unit test
363           not to use gst_parse_launch(); allow N sub-streams. Increasing
364           the number of sub-streams seems to reproduce #474823 more easily.
365
366 2007-10-31  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         * gst/gsttrace.c:
371         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
372         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
373         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
374           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
375           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
376           so use _pipe() directly (#492077).
377
378         * win32/common/dirent.c: (_treaddir):
379           Add a couple of casts to make it build without warnings with MSVC.
380
381         * win32/common/libgstreamer.def:
382           Add some more symbols that need to be exported.
383
384 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
385
386         * tests/examples/metadata/read-metadata.c: (message_loop):
387           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
388           arriving in a second or third tag message are added to
389           the tag list as well.
390
391 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
392
393         * libs/gst/base/gstbasesrc.c:
394           Its "Since:" and not "@Since:". And remove an superflous cast.
395
396 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
397
398         * docs/libs/gstreamer-libs-sections.txt:
399         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
400         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
401         (gst_base_sink_get_property), (gst_base_sink_render_object),
402         (gst_base_sink_preroll_object),
403         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
404         (gst_base_sink_change_state):
405         * libs/gst/base/gstbasesink.h:
406         Add a new last-buffer property that contains the last buffer used in
407         basesink for preroll or rendering. useful for making snapshots.
408         API: gst_base_sink_get_last_buffer()
409         API: GstBaseSink::last-buffer
410
411 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
412
413         * docs/gst/running.xml:
414         * gst/gst.c:
415         * gst/gstdebugutils.c:
416         * gst/gstdebugutils.h:
417         * tools/gst-launch.c:
418           Improve bin graph dumping, by using the envvar to specify a path.
419           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
420
421 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
422
423         * plugins/elements/gsttypefindelement.c:
424           (gst_type_find_element_handle_event),
425           (gst_type_find_element_activate):
426           Post special error message if we can't determine the type of a stream
427           because it's empty.
428
429 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
430
431         * docs/gst/running.xml:
432         * gst/gstdebugutils.c:
433           Document new env-var. Add one log-line after dumpng a graph.
434
435 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
436
437         * configure.ac:
438           Ugly hack to put the (recently removed and non-portable, apparently)
439           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
440           GNU ld, because without that 'make check' fails miserably on my debian
441           stable box.  Someone with more knowledge of linker intricacies and
442           portability issues than me fix this properly please.
443
444 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
445
446         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
447         Reset last seen position after flushing so that we don't report the old
448         position anymore.
449
450 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
451
452         * gst/gstelementfactory.c: (gst_element_register):
453         * gst/gsturi.h:
454         Patch from Alessandro Decina adding get_type_full and
455         get_protocols_full private vfuncs to the URIHandler interface
456         to allow bindings to support creating URI handlers. 
457         Partially fixes: #339279
458         API: GstURIHandlerInterface::get_type_full
459         API: GstURIHandlerInterface::get_protocols_full
460
461 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
462
463         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
464         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
465         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
466         Make it so that pads are considered linked until a buffer is pushed
467         and discovered otherwise. This avoids problems with decodebin2 hanging
468         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
469         case.
470
471         Make sure we lock the multiqueue when updating the max-size properties.
472         
473         Fix a crash on Solaris in a debug statement in get_request_pad that
474         passes a NULL string to GST_DEBUG. 
475
476         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
477         (run_output_order_test):
478         Fix the test to allow the first buffer on not-linked pads to come out
479         of sequence while multiqueue discovers that they are not-linked.
480
481 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
482
483         * configure.ac:
484         * libs/gst/check/Makefile.am:
485         Use a custom export symbol regex for libgstcheck, as it needs
486         to export symbols that don't match the standard GStreamer gst_*
487         pattern, and  --export-dynamic is not portable (only works on 
488         GNU ld)
489
490         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
491         (gst_check_setup_sink_pad):
492         Make sure to pass a message parameter to the fail_* macros.
493
494         * tests/check/gst/gstinfo.c: (GST_START_TEST):
495         Fix some compiler warnings.
496
497 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
498
499         * tests/check/gst/gststructure.c: (test_to_string):
500           Disable test that checks that white spaces are not allowed
501           in structure names or field names, since we need to
502           support that for now for backwards compatibility reasons.
503
504 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
505
506         * docs/gst/gstreamer-sections.txt:
507         * gst/gsttaglist.c:
508         * gst/gsttaglist.h:
509           API: add GST_TAG_ARTIST_SORTNAME
510           API: add GST_TAG_ALBUM_SORTNAME
511           API: add GST_TAG_TITLE_SORTNAME
512           Add tag variants for sorting (#414539).
513
514 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
515
516         * gst/gststructure.c:
517           Also allow white space for names so we don't break
518           backwards compatibility.
519
520 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
521
522         * docs/design/part-TODO.txt:
523         * docs/design/part-segments.txt:
524         * docs/design/part-streams.txt:
525         Small updates.
526
527 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
528
529         * docs/gst/gstreamer-sections.txt:
530          Fixed documentation from my previous commit (added new API add
531          gst_value_set_structure(), add gst_value_get_structure() and
532          GST_VALUE_HOLDS_STRUCTURE).
533
534 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
535
536         * gst/gstdebugutils.c:
537           Reflow code to fix uninitialized variable warning.
538
539 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
540
541         * gst/gstcaps.c: (gst_caps_to_string),
542         (gst_caps_from_string_inplace):
543         * gst/gststructure.c: (gst_structure_get_abbrs),
544         (gst_structure_to_string), (gst_structure_from_string):
545         * gst/gstvalue.c: (gst_value_set_structure),
546         (gst_value_get_structure), (gst_value_serialize_structure),
547         (gst_value_deserialize_structure), (_gst_value_initialize):
548         * gst/gstvalue.h:
549         * tests/check/gst/gststructure.c: (GST_START_TEST),
550         (gst_structure_suite):
551         * tests/check/gst/gstvalue.c: (GST_START_TEST):
552          Added GstStructure to gst_value_table and its related functions.
553          Changed gst_structure_to_string to print ';' in the end.
554          Changed gst_caps_to_string to not print ';' beteween its
555          fields (structures) anymore and remove the lastes ';' from latest
556          structure. Now it is possible to have nested structures.
557          In addition, backward compatibilty is assured by accepting '\0' as
558          end delimiter. Fixes: #487969.
559          API: add gst_value_set_structure()
560          API: add gst_value_get_structure()
561          API: add GST_VALUE_HOLDS_STRUCTURE
562
563 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
564
565         * gst/gstbus.c:
566           When no GSource callback has been set up, tell developer
567           to use a function that actually exists.
568
569 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
570
571         * docs/gst/gstreamer-sections.txt:
572         * gst/Makefile.am:
573         * gst/gst.c:
574         * gst/gst.h:
575         * gst/gstdebugutils.c:
576         * gst/gstdebugutils.h:
577         * gst/gstinfo.c:
578         * gst/gstinfo.h:
579         * tools/gst-launch.c:
580           Allow dumping pipelines as dot graphs. Fixes #456573.
581
582 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
583
584         * gst/gststructure.c:
585           Allow '+' as well, it can be part of media or mime types
586           such as image/svg+xml.
587
588 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
589
590         * docs/gst/gstreamer-sections.txt:
591         * gst/gstbus.c:
592         * gst/gstbus.h:
593           API: add gst_bus_pop_filtered
594           API: add gst_bus_timed_pop_filtered
595           Two new functions for waiting for specific message types on the
596           bus for a specified amount of time without iterating any main
597           loops or main contexts.
598
599         * tests/check/gst/gstbus.c:
600           Some tests for the new functions.
601
602 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
603
604         * docs/libs/gstreamer-libs-sections.txt:
605           Make gtk-doc ignore stuff it should ignore.
606
607 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
608
609         * libs/gst/check/gstcheck.c:
610         * libs/gst/check/gstcheck.h:
611           Allow runtime selection of unit tests to run via the GST_CHECKS
612           environment variable (test case function names, comma-separated).
613
614 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
615
616         * gst/gststructure.c:
617         * tests/check/gst/gststructure.c:
618           Revert serialisation change and constrain structure-names after
619           consensus on irc. Update api documentation to reflect the change.
620
621 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
622
623         * gst/gststructure.c:
624           Improve serialization and fix tests.
625
626         * tests/check/gst/gststructure.c:
627           Add another test that covers why I actually did the previous structure
628           change.
629
630 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
631
632         * tools/gst-inspect.c: (print_element_info):
633         Don't crash when inspecting an element.
634
635 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
636
637         * tests/check/gst/gststructure.c:
638           Add unit test for escaping of structure name when serialising
639           and deserialising to/from strings.
640
641 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
642
643         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
644         (gst_single_queue_new):
645         * plugins/elements/gstqueue.c: (gst_queue_init),
646         (gst_queue_push_one):
647         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
648         upstream is tricked into thinking it can suggest a format downstream
649         while downstream does not support that format. The real problem is that
650         core calls acceptcaps when pushing a buffer with new caps, for which we
651         do a little workaround by setting the caps on the srcpad ourselves
652         before pushing the buffer (until this is figured out). Fixes #486758.
653
654 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
655
656         * gst/gststructure.c:
657         * gst/gstvalue.c:
658           Add some more comments and debug output. Quote structure name to fix
659           deserialisation of some strings.
660
661 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
662
663         * gst/gstbuffer.h:
664           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
665           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
666
667 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
668
669         * tools/gst-inspect.c:
670           Save approx. 400 1 byte allocs when printing. Use API to acces element
671           details.
672
673         * tools/gst-run.c:
674           Avoid a strdup.
675
676         * tools/gst-xmlinspect.c:
677           Use API to acces element details.
678
679 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
680
681         * gst/gstinfo.c:
682           Fix some spelling errors.
683
684 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
685
686         * gst/gstbin.c: (bin_handle_async_done):
687         Correctly set the next state if all of our async children commited their
688         state. This makes sure we can actually cancel the state change in
689         progress. Fixes a regression in Rhythmbox when seeking.
690
691 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
692
693         * gst/gstbin.c:
694           Don't shadow local variable.
695
696         * gst/gstinfo.c:
697           Don't shadow global function name.
698
699 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
700
701         * gst/gstelementfactory.c:
702         * gst/gstpluginfeature.c:
703         * gst/gstpluginfeature.h:
704         * gst/gstregistrybinary.c:
705         * gst/gstregistryxml.c:
706         * gst/gsttypefind.c:
707           Use already-interned string for the private GstPluginFeature
708           plugin_name field.
709
710 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
711
712         * docs/libs/gstreamer-libs-sections.txt:
713           Add new API to docs; fixes the build.
714
715 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
716         
717         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
718
719         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
720         (gst_base_sink_event):
721         * libs/gst/base/gstbasesink.h:
722         Add function to wait for EOS, subclasses can use this to correctly wait
723         for devices to drain before performing the EOS logic. Fixes #485343.
724         API: gst_base_sink_wait_eos()
725
726 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
727
728         * gst/gstplugin.h:
729           Cast description string constants in GST_PLUGIN_DEFINE macros
730           to a (gchar*) to make C++ code using these macros compile
731           without warning with g++-4.2 (see #462737).  Even if slightly
732           ugly, this seems preferable to putting the description strings
733           into the GLib quark table or making the structure member a
734           const gchar * and doing casts in core code that allocs and
735           frees these strings, or requiring a cast in the C++ code.
736
737 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
738
739         * gst/gstinfo.h:
740           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
741           to print the entire class/function signature into the log
742           file for C++ code.  This only affects C++ code, for C code
743           everything remains the same.
744
745 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
746
747         * gst/gstbin.c: (remove_from_queue):
748         Work around a problem with pipelines containing (semi)loops until a
749         proper, more complicated solution is ready. See #475455.
750
751 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
752
753         * gst/gstplugin.c:
754         * gst/gstplugin.h:
755         * gst/gstregistrybinary.c:
756         * gst/gstregistryxml.c:
757           Put more strings into the GLib quark table. No need to keep
758           a hundred-something copies of identical version strings,
759           license strings, package name strings and package origin
760           strings around. 
761
762 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
763
764         * docs/manual/advanced-dataaccess.xml:
765           Don't imply that it's okay to unconditionally change
766           buffer data or buffer metadata in a pad probe callback,
767           and a bunch of other comments. Fixes #430031.
768
769 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
770
771         * win32/common/gstenumtypes.c:
772         * win32/common/gstenumtypes.h:
773         * win32/common/gstversion.h:
774           Update generated files.
775
776 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
777
778         * docs/manual/advanced-autoplugging.xml:
779           Prefix section with broken code with a warning (see #342432).
780
781 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
782
783         * docs/manual/appendix-integration.xml:
784         * docs/manual/basics-init.xml:
785           Call g_thread_init() before g_option_context_new() to
786           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
787
788 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
789
790         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
791         (gst_base_sink_queue_object_unlocked),
792         (gst_base_sink_queue_object), (gst_base_sink_event),
793         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
794         When we received EOS and are waiting for when to post the EOS message,
795         our state is prerolled and we should not return ASYNC.
796         Reorganize some code paths to implement this behavior.
797
798         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
799         (gst_sinks_suite):
800         Add unit test to verify above EOS fix.
801
802 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
803
804         * plugins/elements/gsttypefindelement.c:
805         (gst_type_find_element_have_type), (gst_type_find_element_init),
806         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
807         Move detecting the input caps of the sinkpad to the setcaps function.
808         This allows us to update the output caps when we receive new input caps
809         instead of always using the first detected caps.
810
811 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
812
813         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
814         (gst_base_sink_get_position):
815         Don't try to preroll non-async elements after a flush.
816         Subtract latency form clock times when reporting position.
817
818 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
819
820         * gst/gstpad.c: (gst_pad_pause_task):
821         * gst/gstutils.c:
822         Small comment and documentation update.
823
824 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
825
826         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
827         (gst_base_src_set_live), (gst_base_src_is_live),
828         (gst_base_src_query_latency), (gst_base_src_perform_seek),
829         (gst_base_src_default_event), (gst_base_src_wait),
830         (gst_base_src_do_sync), (gst_base_src_get_range),
831         (gst_base_src_pad_get_range), (gst_base_src_loop),
832         (gst_base_src_unlock), (gst_base_src_unlock_stop),
833         (gst_base_src_set_flushing), (gst_base_src_set_playing),
834         (gst_base_src_activate_push), (gst_base_src_activate_pull),
835         (gst_base_src_change_state):
836         Rework the locking of basesrc in a similar fashion to basesink. We
837         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
838         us to handle live sources and semi live ones much better.
839         Simplify flushing.
840         Fix unlocking when seeking, shutting down and pausing in live sources.
841
842 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
843
844         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
845         Fix compilation again.
846
847 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
848
849         * gst/gstelement.c:
850           Use meaningful categories for the logs to clean the default one.
851
852 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
853
854         * tests/check/pipelines/cleanup.c:
855           Print message name and not just number.
856
857 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
858
859         * docs/design/draft-tagreading.txt:
860           Add some more thoughts.
861
862 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
863
864         * tests/check/pipelines/simple-launch-lines.c:
865           Print message name and not just number.
866
867 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
868
869         * libs/gst/base/gsttypefindhelper.c:
870           Speedup typefinding. This is work in progress (see #459862).
871
872 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
873
874         * gst/gstplugin.c:
875           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
876           Spotted by Josep Torra Valles <josep@fluendo.com>.
877
878 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
879
880         * gst/gstclock.h:
881           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
882           field has moved to GstObject.
883
884 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
885
886         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
887         (gst_base_src_get_range), (gst_base_src_change_state):
888         Call unlock for live sources so that they can't get stuck in _create and
889         produce a buffer before they are set back to PLAYING.
890
891 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
892
893         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
894         (gst_queue_locked_dequeue):
895         Comment the segment-related code... in the PROPER function.
896         See #482147 and my commit from yesterday.
897
898 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
899
900         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
901         Also initialize the counter that calculates the first timestamp on a
902         buffer correctly for non-live sources.
903
904 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
905
906         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
907         Disable code that's breaking the current-time-level reporting.
908         See #482147
909
910 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
911
912         * docs/gst/gstreamer-sections.txt:
913         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
914         as they shouldn't show up. Fixes the docs build.
915
916 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
917         
918         * gst/gstinfo.h:
919         Add an explicit variable importation needed on VS6 (only for MSC_VER)
920         Define M_PI which is used in files which are including gstinfo.h. 
921         VS6 includes doesn't define it.
922         * win32/common/libgstbase.def:
923         * win32/common/libgstcontroller.def:
924         * win32/common/libgstreamer.def:
925         Add new exported functions and variables.
926         * win32/vs6/libgstcontroller.dsp:
927         * win32/vs6/libgstreamer.dsp:
928         Update the list of files to build.
929         
930 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
931
932         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
933
934         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
935         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
936         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
937         Improve debugging. Fixes #480858.
938
939 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
940
941         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
942
943         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
944         First patch of code cleanups, use the macros and right arguments in the
945         macros to signal and lock the queue. See #480858.
946
947 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
948
949         * gst/gstbus.c: (poll_func):
950         Improve debugging when dealing with _poll().
951
952 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
953
954         * gst/gstregistryxml.c:
955           Fix memory leak I introduced a few days ago.
956
957 2007-09-26  Michael Smith <msmith@fluendo.com>
958
959         * gst/gstbuffer.c: (gst_buffer_finalize):
960           Make it once again possible to free GstBuffers in the default
961           build.
962           The poisoning scribbles on parts of the miniobject we need in
963           order to free it.
964           Fixes #480341
965
966 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
967
968         * docs/gst/gstreamer-sections.txt:
969         * gst/gsttaglist.c:
970         * gst/gsttaglist.h:
971         API: add GST_TAG_COMPOSER, fixes #459809.
972
973 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
974
975         * gst/gstplugin.c:
976         * gst/gstplugin.h:
977         Add the 3-clause BSD license and the MIT/X11 license to the license
978         list. Fixes #479784.
979
980 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
981
982         * docs/faq/getting.xml:
983           Add Q+A about different GStreamer versions (#364056).
984
985 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
986
987         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
988         (gst_base_sink_event), (gst_base_sink_change_state):
989         Return correct gboolean from query function.
990
991 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
992
993         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
994         (gst_base_sink_event), (gst_base_sink_query),
995         (gst_base_sink_change_state):
996         Simplify latency query.
997         When not synchronizing, we can report latency without querying the peer
998         element.
999
1000 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1001
1002         * gst/gstobject.h:
1003         * gst/gstvalue.c:
1004         Fix small typos in the docs.
1005
1006 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1007
1008         * docs/design/draft-latency.txt:
1009         * docs/design/draft-push-pull.txt:
1010         * docs/design/draft-tagreading.txt:
1011         * docs/design/part-MT-refcounting.txt:
1012         * docs/design/part-activation.txt:
1013         * docs/design/part-block.txt:
1014         * docs/design/part-element-source.txt:
1015         * docs/design/part-events.txt:
1016         * docs/design/part-gstbin.txt:
1017         * docs/design/part-gstelement.txt:
1018         * docs/design/part-gstobject.txt:
1019         * docs/design/part-gstpipeline.txt:
1020         * docs/design/part-messages.txt:
1021         * docs/design/part-preroll.txt:
1022         * docs/design/part-push-pull.txt:
1023         * docs/design/part-qos.txt:
1024         * docs/design/part-query.txt:
1025         * docs/design/part-scheduling.txt:
1026         * docs/design/part-seeking.txt:
1027         * docs/design/part-segments.txt:
1028         * docs/design/part-states.txt:
1029         Documentation updates and typo fixes.
1030
1031 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
1032
1033         * plugins/elements/gstfakesink.c:
1034           Add some debug text to error message to indicate that
1035           we errored out on request.
1036
1037         * tools/gst-launch.c:
1038           When the state change to PLAYING fails, check for an
1039           error message on the bus and print it.
1040
1041 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1042
1043         translated by: Jorge González González <aloriel@gmail.com>
1044
1045         * po/LINGUAS:
1046         * po/es.po:
1047           Added Spanish translation.
1048
1049 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
1050
1051         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1052         Fix printf arguments.
1053
1054 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1055
1056         * tests/check/generic/states.c:
1057           Improved state change unit test.
1058
1059 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1060
1061         * gst/gstbin.h:
1062           Move priv to the right place.
1063
1064         * gst/gstsystemclock.c:
1065           Add FIXME: and improve log.
1066
1067         * tests/check/Makefile.am:
1068         * tests/examples/manual/Makefile.am:
1069           Work with all types of registries.
1070
1071 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
1072
1073         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1074         Don't unref the event after pushing it. Fixes #478401.
1075
1076 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1077
1078         * .cvsignore:
1079         * tests/examples/manual/.cvsignore:
1080           Ignore registries in any format.
1081
1082 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
1083
1084         * gst/glib-compat-private.h:
1085           Add compatibility macro for g_intern_string() for
1086           GLib-2.8 (any reason we can't just bump the
1087           requirement to at least 2.10?)
1088
1089         * gst/gstpadtemplate.h:
1090         * gst/gstelementfactory.c:
1091         * gst/gstregistryxml.c:
1092         * gst/gstregistrybinary.c:
1093           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1094           up the internal code accordingly.  This shouldn't be a problem, since
1095           there is no reason external code could ever assume the string in such
1096           a structure is dynamically allocated unless it did that itself;  the
1097           use of g_strdup() is private to element factories.  The new code also
1098           saves some memory by putting pad template name strings into the GLib
1099           quark table instead of allocating them dynamically.
1100           Declaring this field constant fixes warnings with g++-4.2 when using
1101           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1102
1103 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1104
1105         * gst/gstelementfactory.c:
1106           Release static caps. Fixes #475723.
1107
1108 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
1109
1110         * gst/gstinfo.c:
1111         * gst/gstinfo.h:
1112           Make some internal API take const gchar * instead of just
1113           gchar * to avoid compiler warnings with g++-4.2.2 when
1114           passing string constants (partially fixes #478092).
1115
1116 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1117
1118         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1119         A latency query fails when one of the sinks fail.
1120
1121         * gst/gstelement.c: (gst_element_set_base_time):
1122         Improve debugging.
1123
1124 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1125
1126         * gst/gstbin.c: (gst_bin_continue_func):
1127         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1128         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1129         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1130
1131         Fix minor compilation warnings shown with Forte.
1132
1133 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1134
1135         * plugins/elements/gstqueue.c: (apply_buffer),
1136         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1137         Measure queue level based on the diff between head and tail timestamps
1138         even when pushing the first buffer.
1139
1140 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1141
1142         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1143         (gst_base_sink_event), (gst_base_sink_change_state):
1144         Sinks that don't preroll can always be queried for the latency.
1145         Don't post ASYNC start when we are not async.
1146
1147 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1148
1149         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1150         (gst_queue_handle_sink_event), (gst_queue_chain),
1151         (gst_queue_push_one), (gst_queue_handle_src_query),
1152         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1153         * plugins/elements/gstqueue.h:
1154         When downstream returns UNEXPECTED from pushing a buffer, don't try to
1155         push more buffers but allow pushing of EOS and NEWSEGMENT.
1156         Add some more debug info here and there. Fixes #476514.
1157
1158 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1159
1160         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1161         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1162         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1163         (gst_base_sink_set_flushing), (gst_base_sink_query),
1164         (gst_base_sink_change_state):
1165         Latency query is allowed after we are prerolled. Introduce a new flag
1166         for this and stop abusing other variables.
1167
1168 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1169
1170         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1171         Push OOB events downstream when we get them in send_event. This allows
1172         the application to insert events in the pipeline.
1173         Add some more comments.
1174
1175 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1176
1177         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1178         (do_bin_latency), (gst_bin_change_state_func):
1179         * gst/gstpipeline.c: (gst_pipeline_change_state):
1180         Move latency query from GstPipeline to GstBin so that we can also
1181         use it when async-handling is enabled on bins.
1182
1183 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1184
1185         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1186         (gst_base_src_do_sync), (gst_base_src_change_state):
1187         Update docs.
1188         Clean up the timestamping and syncing code for pseudo live sources.
1189
1190 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
1191
1192         Patch by: Steve Fink  <sphink gmail com>
1193
1194         * docs/manual/appendix-checklist.xml:
1195           Mention less -R switch in the section about debug output (#474055).
1196
1197 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1198
1199         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1200         Queue can latency to the pipeline up to the configured max size in time.
1201         Report this fact in the latency query.
1202
1203 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1204
1205         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1206
1207         * libs/gst/controller/gstinterpolation.c:
1208         * libs/gst/controller/gstlfocontrolsource.c:
1209         Use gst_guint64_to_gdouble() when converting from a uint64 or
1210         GstClockTime to double to fix the build on win32. Fixes #474371.
1211
1212 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1213
1214         * gst/gstbuffer.c: (gst_buffer_finalize):
1215         Implement poisoning for GstBuffer if --enable-poisoning is specified.
1216         When finalizing a buffer the complete struct is filled with 0xff,
1217         thus making a use of the buffer after the final unref impossible.
1218
1219 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1220
1221         * tests/check/libs/controller.c: (GST_START_TEST):
1222         Use fail_unless_equals_int(a, b) instead of
1223         fail_unless_equals (a == b) to get better output on failures.
1224
1225 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1226
1227         * tests/check/gst/gsturi.c:
1228           Also check for the other file URI variant on win32.
1229
1230 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1231
1232         * gst/gsturi.c: (gst_uri_get_location):
1233           If there's no hostname, we want to return 'c:/foo/bar.txt'
1234           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1235
1236         * tests/check/gst/gsturi.c:
1237           Unit test for the above and a few more things.
1238
1239 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1240
1241         * docs/design/part-live-source.txt:
1242         Add docs on how live sources should timestamp.
1243
1244         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1245         Add some more debug info.
1246         For subclasses that are live and like to sync, add aditional startup
1247         latency to sync time and timestamps so that we timstamp according to the
1248         design doc.
1249
1250 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1251
1252         * gst/gstbuffer.c:
1253           Also do a g_type_class_ref() for the subbuffer type in
1254           the init function.
1255
1256 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1257
1258         * docs/gst/gstreamer-sections.txt:
1259         * gst/gstpad.c: (gst_pad_peer_query):
1260         * gst/gstpad.h:
1261         Add function to perform a query on the peer of a pad.
1262         API: gst_pad_peer_query()
1263
1264 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1265
1266         * tests/check/gst/gstsystemclock.c:
1267           Cleanup the test a little (use gst-logging and not g_message). Improve
1268           test to check if a wait reached the target.
1269
1270 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1271
1272         * docs/libs/gstreamer-libs-sections.txt:
1273           Add new API to docs and fix the build.
1274
1275 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
1276
1277         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1278         (gst_base_src_init), (gst_base_src_set_do_timestamp),
1279         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1280         (gst_base_src_get_property), (gst_base_src_do_sync):
1281         * libs/gst/base/gstbasesrc.h:
1282         Add property to make the basesrc timestamp buffers based on the current
1283         running time.
1284         API: GstBaseSrc::do-timestamp
1285         API: gst_base_src_set_do_timestamp()
1286         API: gst_base_src_get_do_timestamp()
1287
1288 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
1289
1290         * docs/random/release:
1291           Really make sure translations are up-to-date before
1292           a release (#465010).
1293
1294 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
1295
1296         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1297         Always destroy the timer, also in error cases.
1298
1299 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1300
1301         * docs/manual/highlevel-xml.xml:
1302         Fix XML example code. Fixes #472714.
1303
1304 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1305
1306         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1307         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1308         (gst_base_sink_query):
1309         Protect eos and have_preroll with the OBJECT lock so we don't need to
1310         take the PREROLL lock when querying the latency. Fixes #473846.
1311
1312 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
1313
1314         * gst/gstelement.c:
1315           Give some log-messages a category.
1316
1317 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
1318
1319         * gst/gststructure.c:
1320         (gst_structure_fixate_field_nearest_fraction):
1321         Fix fraction list fixation code. Take the fraction with the smallest
1322         difference with the target instead of the first one in the list.
1323
1324         * tests/check/gst/gststructure.c: (GST_START_TEST),
1325         (gst_structure_suite):
1326         Added test to verify correct fraction list fixation behaviour.
1327
1328 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
1329
1330         * win32/common/libgstreamer.def:
1331           Export gst_bus_add_signal_watch too.
1332
1333 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
1334
1335         * docs/libs/gstreamer-libs-sections.txt:
1336         Add new methods to docs.
1337
1338         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1339         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1340         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1341         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1342         * libs/gst/base/gstbasesink.h:
1343         Add ts-offset property to fine-tune the synchronisation.
1344         API: GstBaseSink::ts-offset property
1345         API: gst_base_sink_set_ts_offset()
1346         API: gst_base_sink_get_ts_offset()
1347
1348 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
1349
1350         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1351         (gst_base_sink_init), (gst_base_sink_set_sync),
1352         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1353         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1354         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1355         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1356         (gst_base_sink_get_property), (gst_base_sink_change_state):
1357         * libs/gst/base/gstbasesink.h:
1358         Add async property to instruct the sink never to inform the parent about
1359         ASYNC state changes, update docs.
1360         Check argument with g_return_* for the public functions.
1361         API: GstBaseSink::async property
1362         API: gst_base_sink_set_async_enabled()
1363         API: gst_base_sink_is_async_enabled()
1364
1365 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
1366
1367         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1368         Improve debugging.
1369
1370         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1371         (gst_base_src_default_query), (gst_base_src_wait),
1372         (gst_base_src_do_sync), (gst_base_src_change_state):
1373         Rearrange some code so that we can add support for measuring the 
1374         startup latency.
1375
1376 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
1377
1378         * docs/random/ensonic/dynlink.txt:
1379           More thoughs on this.
1380
1381         * plugins/elements/gstcapsfilter.c:
1382           Add bugzilla ticket number to FIXME comment.
1383
1384 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
1385
1386         * docs/design/part-TODO.txt:
1387         * docs/design/part-block.txt:
1388         Update some docs.
1389
1390 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1391
1392         * gst/Makefile.am:
1393           Revert patch which uses $(gst_headers) instead of $^ because it
1394           breaks make dist.
1395
1396 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1397
1398         * tests/check/gst/gstbin.c: (GST_START_TEST):
1399           Fix leaks in the new unit test.
1400
1401 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
1402
1403         * gst/gst.c:
1404           Don't use GST_INFO before the debug system is actually initialised
1405           (shouldn't do any harm, but won't print anything either, so we can
1406           just as well remove it).
1407
1408         * gst/gstinfo.h:
1409           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1410           compilers that don't support variadic macros (such as MSVC), should
1411           check for debug_level <= __gst_debug_min as well, since that's the
1412           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1413           inline helper functions. Should improve performance a bit, but also
1414           makes sure uses of GST_INFO et.al are ignored if the debugging
1415           system isn't initialised yet (instead of printing an assertion
1416           failure).
1417
1418 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
1419
1420         patch by: David Nečas <yeti@physics.muni.cz>
1421
1422         * gst/Makefile.am:
1423           Replace some non portable makefile constructs.
1424
1425 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
1426
1427         * common/gtk-doc-plugins.mak:
1428           Grrrrr. Don't remove the types file on make clean.
1429
1430 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
1431
1432         * tools/gst-launch.1.in:
1433         Add colorspace to example pipeline. Fixes #458274.
1434
1435 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
1436
1437         * docs/random/release:
1438           The release manager should run 'make download-po' before making a
1439           release to make sure translations are up-to-date.
1440
1441         * po/LINGUAS:
1442         * po/be.po:
1443         * po/pl.po:
1444         * po/rw.po:
1445           Add some new translations.
1446
1447 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
1448
1449         * tools/gst-launch.c: (event_loop), (main):
1450         Don´t try to do any state management when a live pipeline posts
1451         buffering messages.
1452         Also make the buffering string translatable.
1453
1454 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1455
1456         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1457         (bin_handle_async_start), (gst_bin_handle_message_func):
1458         Improve debugging.
1459         When adding elements, insert messages into the bus of the newly added
1460         element and make sure the element is the source of the message. This
1461         allows the parent bin to intercept the message and do the
1462         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1463         messages to the app (which is not allowed).
1464         Update some docs.
1465
1466         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1467         Fix testsuite so that is does not work around messages that should not
1468         have been posted in the first place.
1469
1470 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1471
1472         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1473         (update_degree), (gst_bin_sort_iterator_next):
1474         Fix annoying bug in the sorted iterator where a sink that is not really
1475         a sink (when it has downstream links) screwed up the iterator.
1476
1477         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1478         Unit test to verify the fix.
1479
1480 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1481
1482         * gst/gstmessage.h:
1483         Add some more docs for the messages.
1484
1485         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1486         (gst_base_sink_query):
1487         Add some more debugging.
1488
1489         * tools/gst-launch.c: (event_loop):
1490         When interrupting, don't try to set pipeline to PAUSED twice.
1491
1492 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1493
1494         
1495         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1496         (bin_handle_async_start), (gst_bin_handle_message_func):
1497         Move ASYNC_START message posting to where it belongs, similar to
1498         async_done. 
1499         Don't post ASYNC_START when we are in error. 
1500         Post ASYNC_START when we added an async element to a bin.
1501
1502 2007-08-14  Julien MOUTTE  <julien@moutte.net>
1503
1504         * gst/gstindex.c: (gst_index_add_association): Fix index entry
1505         generation from vargs. Fixes #466595.
1506
1507 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1508
1509         * gst/gstbin.c: (gst_bin_element_set_state):
1510         Always change the state of a NO_PREROLL element even if it has ASYNC
1511         elements inside (in case of a bin).
1512
1513         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1514         Unit test for this case.
1515
1516 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
1517
1518         * libs/gst/check/gstbufferstraw.c:
1519         * libs/gst/check/gstcheck.h:
1520         * libs/gst/controller/gstcontroller.c:
1521         * libs/gst/controller/gstcontrolsource.h:
1522         * libs/gst/controller/gstlfocontrolsource.h:
1523         * plugins/elements/gstcapsfilter.h:
1524         * plugins/elements/gstfdsink.h:
1525         * plugins/elements/gstfdsrc.h:
1526           Add more missing docs.
1527
1528 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1529
1530         * gst/gststructure.c:
1531         Add Since tag to docs.
1532
1533 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1534
1535         * docs/gst/gstreamer-sections.txt:
1536         * gst/gststructure.c: (gst_structure_get_uint):
1537         * gst/gststructure.h:
1538         Add function to get uint from a structure.
1539         API: gst_structure_get_uint()
1540
1541 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1542
1543         * gst/gstcaps.c: (gst_caps_set_simple_valist),
1544         (gst_caps_intersect):
1545         Fix proper check for simple caps.
1546
1547 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
1548
1549         * docs/gst/Makefile.am:
1550         * docs/libs/Makefile.am:
1551           Remove cruft and do some cleanups.
1552
1553         * docs/gst/gstreamer-docs.sgml:
1554         * docs/libs/gstreamer-libs-docs.sgml:
1555           Prepare for comming gtkdoc features (rebase against online docs).
1556
1557 2007-08-10  Michael Smith <msmith@fluendo.com>
1558
1559         * docs/gst/gstreamer-sections.txt:
1560           Add gst_registry_add_path to docs.
1561
1562 2007-08-10  Michael Smith <msmith@fluendo.com>
1563
1564         * gst/gstregistry.h:
1565           Add gst_registry_add_path, which was missing from this header.
1566
1567 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
1568
1569         * libs/gst/controller/gstlfocontrolsource.c:
1570           Printf format fix.
1571
1572 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1573
1574         * libs/gst/base/gstbasesink.c:
1575           Don't send an async_start message during downwards state change if 
1576           target state is less than READY
1577
1578 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1579
1580         translated by: Gabor Kelemen <kelemeng@gnome.hu>
1581
1582         * po/LINGUAS:
1583         * po/hu.po:
1584           Added Hungarian translation.
1585
1586 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1587
1588         * po/fi.po:
1589         * po/it.po:
1590         * po/nl.po:
1591         * po/sv.po:
1592         * po/uk.po:
1593           Updated translations.
1594
1595 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1596
1597         * libs/gst/controller/Makefile.am:
1598         Dist gstlfocontrolsourceprivate.h
1599
1600 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1601
1602         * docs/libs/gstreamer-libs.types:
1603         Don't register the enum type gst_lfo_waveform_get_type() in the
1604         .types file - only GObject derived types belong.
1605
1606 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1607
1608         Patch by: <arenevier at fdn dot fr>
1609
1610         * gst/gstbuffer.h:
1611         Remove comma from last element in enum to avoid compile errors when
1612         using -pendantic. Fixes #464366.
1613
1614 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1615
1616         * docs/design/part-TODO.txt:
1617         Add some more TODO items
1618
1619         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1620         Improve debugging.
1621
1622         * gst/gstcaps.c: (gst_caps_intersect):
1623         Optimize trivial intersection case between identical caps pointers.
1624
1625         * gst/gstelement.c: (gst_element_continue_state),
1626         (gst_element_set_state_func):
1627         * gst/gstpad.c:
1628         Fix spelling and grammar mistakes.
1629
1630 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
1631
1632         * po/POTFILES.in:
1633         * po/POTFILES.skip:
1634           Update POTFILES. Fixes #461599.
1635
1636 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1637
1638         * gst/gst.c:
1639         Fix confusing typo in debug output.
1640
1641 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1642
1643         reviewed by: Stefan Kost <ensonic@users.sf.net>
1644
1645         * libs/gst/controller/Makefile.am:
1646         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1647         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1648         (gst_lfo_control_source_new),
1649         (gst_lfo_control_source_set_waveform),
1650         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1651         (gst_lfo_control_source_finalize),
1652         (gst_lfo_control_source_dispose),
1653         (gst_lfo_control_source_set_property),
1654         (gst_lfo_control_source_get_property),
1655         (gst_lfo_control_source_class_init):
1656         * libs/gst/controller/gstlfocontrolsource.h:
1657         * libs/gst/controller/gstlfocontrolsourceprivate.h:
1658         API: Add GstLFOControlSource, a control source that gives values
1659         for specific timestamps based on several periodic waveforms.
1660         Fixes #459717.
1661
1662         * tests/check/libs/controller.c: (GST_START_TEST),
1663         (gst_controller_suite):
1664         * docs/libs/gstreamer-libs-docs.sgml:
1665         * docs/libs/gstreamer-libs-sections.txt:
1666         * docs/libs/gstreamer-libs.types:
1667         Add documentation and unit tests for GstLFOControlSource.
1668
1669 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
1670
1671         * configure.ac:
1672         Back to CVS
1673
1674 === release 0.10.14 ===
1675
1676 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
1677
1678         * configure.ac:
1679           releasing 0.10.14, "Breathing Vacuum"
1680
1681 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
1682
1683         * gst/gstelement.c: (gst_element_class_set_details_simple):
1684         * gst/gstelement.h:
1685           Make strings passed to gst_element_class_set_details_simple()
1686           constant, as they should be (#462752).
1687
1688 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
1689
1690         * gst/gstbin.c: (gst_bin_change_state_func),
1691         (bin_handle_async_done), (gst_bin_handle_message_func):
1692         Don't forget about the fact that some element went ASYNC even after a
1693         resync. This makes us post the ASYNC_DONE message correctly.
1694         Fixes #462558.
1695
1696 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1697
1698         * gst/gstregistry.c: (gst_registry_add_feature):
1699         When replacing an existing feature in the registry, make sure to
1700         continue holding a reference until we've replaced the name string
1701         within our feature hash table. Make sure to use g_hash_table_replace
1702         instead of g_hash_table_insert to ensure the new name string is used
1703         as a key instead of the old one that we're about to free.
1704         Fixes: #462085
1705
1706 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1707
1708         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1709         (gst_plugin_feature_set_name):
1710         Revert patch from #459466 until after the release and we can work
1711         out exactly what the problem is (if any).
1712
1713 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1714
1715         * docs/gst/gstreamer-sections.txt:
1716         * gst/gsttaglist.c:
1717         * gst/gsttaglist.h:
1718           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1719
1720 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1721
1722         * docs/libs/Makefile.am:
1723         Include our build-prefix libs and includes before the generic ones to
1724         avoid linking against the installed libs when we want the build-tree
1725         ones.
1726
1727 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1728
1729         Patch by: Steve Fink  <sphink gmail com>
1730
1731         * docs/pwg/building-testapp.xml:
1732           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1733           if people try to build or install the example from the plugin
1734           template against a GStreamer from package using the configure
1735           defaults.
1736
1737 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1738
1739         Patch by: Steve Fink  <sphink gmail com>
1740
1741         * tools/gst-inspect.1.in:
1742           Document --print-all and --print-plugin-auto-install-info command
1743           line options in man page.
1744
1745 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1746
1747         * docs/gst/gstreamer-sections.txt:
1748         Add docs for new api function.
1749
1750 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1751
1752         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1753         * gst/gstelementfactory.h:
1754         API: gst_element_factory_has_interface()
1755         Added method to check if an element factory implements a named
1756         interface.
1757
1758 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
1759
1760         * configure.ac:
1761         * docs/gst/gstreamer.types.in:
1762           Another conditional doc check.
1763
1764         * gst/gstmessage.c:
1765         * gst/gstparamspecs.h:
1766         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1767         * gst/gstvalue.c:
1768         * gst/gstxml.h:
1769           API-doc fixes.
1770
1771 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1772
1773         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1774         (gst_registry_binary_load_feature),
1775         (gst_registry_binary_load_plugin),
1776         (gst_registry_binary_read_cache):
1777           Print error just once and with additional info.
1778
1779 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1780
1781         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1782         (helper_find_suggest), (helper_find_get_length),
1783         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1784         (gst_type_find_helper_for_buffer):
1785           Cleanup the typefindhelper code and add private doc comments.
1786
1787 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
1788
1789         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1790         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1791         Fix capsfilter for cases where the caps set on capsfilter will provide
1792         additional information.
1793         Fixes #449197
1794
1795 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1796
1797         * gst/gsttypefindfactory.c:
1798           Fix docs that recommened wrong function to use.
1799
1800 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1801
1802         * tools/gst-inspect.c: (print_plugin_features):
1803           Also give media-type for typefinders in element output.
1804
1805 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1806
1807         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1808         (gst_registry_remove_features_for_plugin_unlocked),
1809         (gst_registry_add_feature), (gst_registry_remove_feature),
1810         (gst_registry_lookup_feature_locked):
1811         * gst/gstregistry.h:
1812           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1813           Fixes #459501.
1814
1815 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1816
1817         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1818         (gst_plugin_feature_set_name):
1819           Avoid double memory usage for pluginfeature names. Fixes #459466.
1820
1821 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1822
1823         * gst/gstpad.h:
1824           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1825           driving the pipeline may need to explicitly check for NOT_LINKED as
1826           well, since IS_FATAL doesn't cover that.
1827
1828 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1829
1830         * docs/pwg/advanced-types.xml:
1831           Fix typo and duplicate entry in video formats list.
1832
1833 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
1834
1835         * libs/gst/controller/gstinterpolation.c:
1836         Also round to the nearest int when using cubic interpolation.
1837
1838 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
1839
1840         * libs/gst/controller/gstinterpolation.c:
1841         When linearly interpolating integer types, round to the nearest int
1842         by adding 0.5. Don't do it for float/double types.
1843         Fixes the failing controller test on my machine, which is somehow
1844         rounding differently than on the buildbots.
1845
1846 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1847
1848         * tools/gst-plot-timeline.py:
1849           Better log parsing (categories can have -). Adjust text vs. lines, so
1850           that they span the same y-range.        
1851
1852 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1853
1854         * docs/random/ensonic/audiobaseclasses.txt:
1855         * docs/random/ensonic/dynlink.txt:
1856         * docs/random/ensonic/profiling.txt:
1857           Save my thoughts.
1858
1859         * docs/random/moving-plugins:
1860           Add note to use g_assert type macros.
1861
1862 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1863
1864         * configure.ac:
1865         * libs/gst/check/Makefile.am:
1866           Add libm check as we use in for plugins.
1867
1868 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
1869
1870         * gst/gstbin.c: (gst_bin_continue_func):
1871         Check that the state_cookie hasn't changed since the continue_func
1872         was scheduled. Avoids problems where the state changes back to
1873         something it shouldn't be because it was changed in the meantime.
1874
1875 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
1876
1877         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1878         (gst_registry_binary_save_string),
1879         (gst_registry_binary_save_pad_template),
1880         (gst_registry_binary_save_feature),
1881         (gst_registry_binary_save_plugin),
1882         (gst_registry_binary_load_feature),
1883         (gst_registry_binary_load_plugin),
1884         (gst_registry_binary_read_cache):
1885           Fix memory leak. Be less verbose in the log.
1886
1887 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1888
1889         * tests/check/elements/.cvsignore:
1890         Add file to cvsignore as commanded.
1891
1892 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1893
1894         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1895         (mq_dummypad_event), (run_output_order_test):
1896         Use a GStaticMutex to protect all cases where libcheck
1897         fail_if/fail_unless macros might be called from multiple threads
1898         simultaneously to avoid errors like:
1899           "check_pack.c:107: :-1081725400:Bad message type arg"
1900
1901 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1902
1903         * tests/check/pipelines/stress.c: (GST_START_TEST):
1904         Make sure we set the pipeline back to the NULL state before
1905         dropping our final reference.
1906
1907 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1908
1909         * tests/check/elements/tee.c: (GST_START_TEST):
1910         Make the tee stress-test a little less stressful so it doesn't just
1911         time out on slow-machines, and remove a small race when it's starting 
1912         up by adding a get_state() call.
1913
1914 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
1915
1916         * gst/gst.c:
1917           Avoid reading registry twice on startup. Fixes #457322.
1918
1919 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1920
1921         * pkgconfig/gstreamer-check-uninstalled.pc.in:
1922         * pkgconfig/gstreamer-check.pc.in:
1923         Substitute the CFLAGS for libcheck into our .pc file too so that
1924         dependent modules will pick it up properly if libcheck is installed
1925         into some other prefix.
1926
1927 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1928
1929         * configure.ac:
1930         Revert the pkg-config check for libcheck, since it pulls in the
1931         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1932         a proper solution, either from the check project, or something else.
1933
1934 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
1935
1936         * configure.ac:
1937           Use pkg-config to locate check.
1938
1939 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
1940
1941         * gst/gsttaglist.c:
1942           Fix doc syntax.
1943
1944         * gst/gstutils.c:
1945         * gst/gstutils.h:
1946           Add deprecation guards.
1947
1948         * libs/gst/base/gstcollectpads.h:
1949           Don't document object (this is implicitly private).
1950
1951 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
1952
1953         * gst/gststructure.c: (gst_structure_parse_value):
1954           When deserialising foo=bar without a type cast, check if it's a
1955           boolean before falling back to a string type, otherwise things like
1956           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1957           because the filtercaps end up having a signed=(string)true field,
1958           which causes problems later when intersection caps.
1959
1960         * tests/check/gst/gststructure.c: (GST_START_TEST):
1961           Add a unit test for this.
1962
1963 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
1964
1965         Reviewed by: Stefan Kost <ensonic@users.sf.net>
1966
1967         * libs/gst/controller/Makefile.am:
1968         * libs/gst/controller/gstcontroller.c:
1969         (gst_controlled_property_add_interpolation_control_source),
1970         (gst_controlled_property_new), (gst_controlled_property_free),
1971         (gst_controller_find_controlled_property),
1972         (gst_controller_new_valist), (gst_controller_new_list),
1973         (gst_controller_new), (gst_controller_remove_properties_valist),
1974         (gst_controller_remove_properties_list),
1975         (gst_controller_remove_properties),
1976         (gst_controller_set_property_disabled),
1977         (gst_controller_set_disabled), (gst_controller_set_control_source),
1978         (gst_controller_get_control_source), (gst_controller_get),
1979         (gst_controller_sync_values), (gst_controller_get_value_array),
1980         (_gst_controller_dispose), (gst_controller_get_type),
1981         (gst_controlled_property_set_interpolation_mode),
1982         (gst_controller_set), (gst_controller_set_from_list),
1983         (gst_controller_unset), (gst_controller_unset_all),
1984         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1985         * libs/gst/controller/gstcontroller.h:
1986         * libs/gst/controller/gstcontrollerprivate.h:
1987         * libs/gst/controller/gstcontrolsource.c:
1988         (gst_control_source_class_init), (gst_control_source_init),
1989         (gst_control_source_get_value),
1990         (gst_control_source_get_value_array), (gst_control_source_bind):
1991         * libs/gst/controller/gstcontrolsource.h:
1992         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1993         (gst_object_get_control_source):
1994         * libs/gst/controller/gstinterpolation.c:
1995         (gst_interpolation_control_source_find_control_point_node),
1996         (gst_interpolation_control_source_get_first_value),
1997         (_interpolate_none_get), (interpolate_none_get),
1998         (interpolate_none_get_boolean_value_array),
1999         (interpolate_none_get_enum_value_array),
2000         (interpolate_none_get_string_value_array),
2001         (_interpolate_trigger_get), (interpolate_trigger_get),
2002         (interpolate_trigger_get_boolean_value_array),
2003         (interpolate_trigger_get_enum_value_array),
2004         (interpolate_trigger_get_string_value_array):
2005         * libs/gst/controller/gstinterpolationcontrolsource.c:
2006         (gst_control_point_free), (gst_interpolation_control_source_reset),
2007         (gst_interpolation_control_source_new),
2008         (gst_interpolation_control_source_set_interpolation_mode),
2009         (gst_interpolation_control_source_bind),
2010         (gst_control_point_compare), (gst_control_point_find),
2011         (gst_interpolation_control_source_set_internal),
2012         (gst_interpolation_control_source_set),
2013         (gst_interpolation_control_source_set_from_list),
2014         (gst_interpolation_control_source_unset),
2015         (gst_interpolation_control_source_unset_all),
2016         (gst_interpolation_control_source_get_all),
2017         (gst_interpolation_control_source_get_count),
2018         (gst_interpolation_control_source_init),
2019         (gst_interpolation_control_source_finalize),
2020         (gst_interpolation_control_source_dispose),
2021         (gst_interpolation_control_source_class_init):
2022         * libs/gst/controller/gstinterpolationcontrolsource.h:
2023         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2024         API: Refactor GstController into the core controller which can take
2025         a GstControlSource for providing actual values for timestamps.
2026         Implement a interpolation control source and use this for backward
2027         compatibility, deprecate a bunch of functions that are now handled
2028         by GstControlSource or GstInterpolationControlSource.
2029         Make it possible to disable the controller completely or only for
2030         specific properties. Fixes #450711.
2031         * docs/libs/gstreamer-libs-docs.sgml:
2032         * docs/libs/gstreamer-libs-sections.txt:
2033         * docs/libs/gstreamer-libs.types:
2034         Add new functions and classes to the docs.
2035         * tests/check/libs/controller.c: (GST_START_TEST),
2036         (gst_controller_suite):
2037         * tests/examples/controller/audio-example.c: (main):
2038         Port unit test and example to the new API and add some new
2039         unit tests.
2040
2041 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
2042
2043         Patch by: Mark Nauwelaerts <manauw at skynet be>
2044
2045         * plugins/elements/gstmultiqueue.c:
2046         (gst_multi_queue_get_internal_links), (apply_buffer),
2047         (single_queue_overrun_cb), (gst_single_queue_new):
2048         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2049         the pipeline layout can be tracked correctly. Fixes #453732.
2050
2051 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
2052
2053         * docs/gst/Makefile.am:
2054         * docs/libs/Makefile.am:
2055         * docs/plugins/Makefile.am:
2056           Simplify --extra-dir as gtkdoc scans recursively.
2057
2058 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2059
2060         * tools/gst-launch.c: (main):
2061         When we got an error, there is no point in waiting for preroll when
2062         shutting down.
2063
2064 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2065
2066         * plugins/elements/gsttee.c: (gst_tee_base_init),
2067         (gst_tee_request_new_pad), (gst_tee_release_pad),
2068         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2069         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2070         (gst_tee_chain):
2071         Be a lot smarter when deciding what srcpad to use for proxying
2072         the buffer_alloc. Also handle pad added/removed when doing so.
2073         Fixes #357959.
2074         Keep track of what pads we already pushed on in case we have pads
2075         added/removed while pushing. Fixes #374639 
2076
2077         * tests/check/Makefile.am:
2078         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2079         (tee_suite):
2080         Added unit test for pad resync.
2081
2082 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2083
2084         * po/nl.po:
2085         * po/sv.po:
2086           Updated translations.
2087
2088 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2089
2090         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2091
2092         * po/LINGUAS:
2093         * po/fi.po:
2094           Added new Finnish translation.
2095
2096 2007-06-28  Wim Taymans  <wim@fluendo.com>
2097
2098         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2099         (single_queue_overrun_cb):
2100         When figuring out when a queue is filled, use our internal time estimate
2101         based on segments, just like check_full does.
2102
2103 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2104
2105         * gst/gstminiobject.c: (gst_mini_object_get_type):
2106           Remove 3 do-nothing methods.
2107
2108 2007-06-27  Wim Taymans  <wim@fluendo.com>
2109
2110         Patch by: Tim Angus <tim at ngus dot net>
2111
2112         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2113         (gst_capsfilter_set_property):
2114         Take a reference instead of a copy when setting "caps".
2115         Fix documentation to clarify this behaviour. Fixes #449414.
2116
2117 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2118
2119         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2120         * gst/gstplugin.c: (gst_plugin_init):
2121         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2122         * gst/gstquery.c: (gst_query_get_type):
2123         * gst/gstregistry.c: (gst_registry_init):
2124         * gst/gsturi.c: (gst_uri_handler_base_init):
2125           Remove empty instance_init() functions to save relocs and lessen the
2126           noise. Remove some of the function prototypes that are doubled by
2127           G_DEFINE_TYPE.
2128           
2129 2007-06-27  Wim Taymans  <wim@fluendo.com>
2130
2131         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2132
2133         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2134         Add peer and direction in the XML serialisation of ghostpads.
2135         Fixes #449226.
2136
2137 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2138
2139         * configure.ac:
2140           Preserve useful information, thanks Tim.
2141
2142 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
2143
2144         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2145         (gst_single_queue_flush), (apply_segment), (apply_buffer),
2146         (gst_single_queue_push_one), (gst_multi_queue_loop),
2147         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2148         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2149         (compute_high_id), (gst_single_queue_new):
2150         * plugins/elements/gstmultiqueue.h:
2151         Take the multiqueue lock when updating the fill level so we don't get
2152         confused. 
2153
2154         After applying a buffer or event on the src pad segment, make sure to
2155         call gst_data_queue_limits_changed() to get the data queue to unblock
2156         and check the filled state again.
2157         
2158         Rework the not-linked pad handling so the logic is that not-linked 
2159         pads can push as fast as they like, but only so they never get 
2160         ahead of any linked pads.
2161
2162         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2163         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2164         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2165
2166         Add a test to check that not-linked pads always stay behind
2167         linked pads.
2168
2169         Fixes: #430682
2170
2171 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
2172
2173         * docs/random/release:
2174           Some updates to the release procedure.
2175
2176 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2177
2178         * gst/gstelementfactory.c: (__gst_element_details_clear):
2179           Microoptimization that saves stunning 80 bytes.
2180
2181 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
2182
2183         * docs/plugins/gstreamer-plugins.args:
2184         * docs/plugins/inspect/plugin-coreelements.xml:
2185         * docs/plugins/inspect/plugin-coreindexers.xml:
2186           Update docs with caps info.
2187
2188 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2189
2190         * po/it.po:
2191           Updated Italian translation.
2192
2193 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2194
2195         * ChangeLog:
2196         * po/vi.po:
2197           Update Vietnamese translations.
2198
2199 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2200
2201         * libs/gst/base/gstbasesink.c:
2202           Remove unused signal enum.
2203
2204 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2205
2206         * docs/gst/gstreamer-sections.txt:
2207         * gst/gstelement.c:
2208         * gst/gstutils.c: (gst_type_register_static_full):
2209         Beef up and include the docs for gst_type_register_static_full and
2210         gst_element_class_set_details_simple and add the API keyword
2211         in the ChangeLog.
2212
2213 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2214
2215         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2216         (update_time_level), (gst_single_queue_push_one),
2217         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2218         (single_queue_overrun_cb), (single_queue_underrun_cb),
2219         (single_queue_check_full):
2220         Fix setting max-* properties after adding queues.
2221         Use IS_FILLED for checking visible items.
2222         Signal overrun if multiple queues overrun.
2223         Add extra debug output.
2224         Patch by: Wim Taymans <wim@fluendo.com>
2225
2226 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
2227
2228         * gst/gstelement.c: (gst_element_class_set_details_simple):
2229         * gst/gstelement.h:
2230         * gst/gstutils.c: (gst_type_register_static_full):
2231         * gst/gstutils.h:
2232         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2233         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2234         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2235         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2236         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2237         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2238         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2239         * plugins/elements/gstidentity.c: (gst_identity_base_init):
2240         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2241         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2242         (apply_buffer), (gst_queue_chain):
2243         * plugins/elements/gsttee.c: (gst_tee_base_init):
2244         * plugins/elements/gsttypefindelement.c:
2245         (gst_type_find_element_base_init),
2246         (gst_type_find_element_class_init):
2247           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2248           API: add gst_type_register_static_full
2249           API: add gst_element_class_set_details_simple
2250
2251 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2252
2253         * docs/pwg/advanced-types.xml:
2254           Fix typo in iana.org URI.
2255
2256 2007-06-19  Andy Wingo  <wingo@pobox.com>
2257
2258         * tests/check/pipelines/simple-launch-lines.c
2259         (test_state_change_returns): Enable pull-mode tests now that
2260         basesink has been fixed.
2261
2262         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2263         Changed from gst_base_sink_is_prerolled, reversing the sense of
2264         the return value. Returns FALSE also if the sink is in pull mode,
2265         in which case it needs no preroll.
2266         (gst_base_sink_query, gst_base_sink_change_state): Update for
2267         needs_preroll change.
2268         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2269         chaining up, in which we return SUCCESS directly if we activated
2270         in pull mode instead of ASYNC. Involves countering an async_start
2271         message sent before chaining up; not sure if this is correct, in
2272         an ideal world we only send async-start when activating in push
2273         mode.
2274
2275         * tests/check/pipelines/simple-launch-lines.c
2276         (test_state_change_returns): New test, partially disabled until
2277         basesink is fixed.
2278
2279 2007-06-19  Wim Taymans  <wim@fluendo.com>
2280
2281         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2282         (gst_multi_queue_sink_event):
2283         Fix event leak.
2284
2285 2007-06-19  Wim Taymans  <wim@fluendo.com>
2286
2287         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2288         (gst_bin_change_state_func), (bin_push_state_continue),
2289         (bin_handle_async_start), (bin_handle_async_done),
2290         (gst_bin_handle_message_func):
2291         Move the common code for posting state-change messages into
2292         one function.
2293         Broadcast the state signal after we posted the messages.
2294         Mark the bin as busy when it's doing a state-change.
2295         Make sure async-start/done messages don't interfere with the bin's
2296         state when it's busy.
2297         After the state change, let the bin check which elements completed the
2298         state change while it was busy so that it can update its state.
2299
2300 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
2301
2302         * docs/random/release:
2303         Add a note about updating the doap file to the release checklist
2304
2305 2007-06-18  Wim Taymans  <wim@fluendo.com>
2306
2307         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2308         (gst_single_queue_push_one), (gst_multi_queue_chain),
2309         (gst_multi_queue_sink_event):
2310         Make sure we don't reference the buffer/event after we have given away
2311         ownership in the queue.
2312
2313 2007-06-18  Wim Taymans  <wim@fluendo.com>
2314
2315         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2316         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2317         Update queue state _after_ adding the item in the queue because else we
2318         could end up being full without the element added yet.
2319
2320 2007-06-18  Wim Taymans  <wim@fluendo.com>
2321
2322         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2323         (gst_bin_remove_func), (gst_bin_get_state_func),
2324         (gst_bin_element_set_state), (gst_bin_continue_func),
2325         (bin_push_state_continue), (bin_handle_async_start),
2326         (bin_handle_async_done), (gst_bin_handle_message_func):
2327         * gst/gstbin.h:
2328         Immediatly commit the toplevel bin state when receiving an async-done
2329         message. This enables us to avoid spawning a thread to commit the state
2330         in some common cases and it also avoids some races.
2331         Avoid spawning a state thread when adding/removing async elements to a
2332         toplevel bin. Instead we immediatly update the bin state.
2333         Get rid of iterating all the children when getting the state in the bin
2334         because it is now always up-to-date.
2335         Fix bug where locked elements would always return _SUCCESS even it they
2336         returned NO_PREROLL before being locked.
2337         Fix the order of the state_change, async-start/done messages that was
2338         sometimes incorrect.
2339         Mark the state_dirty field as deprecated, we don't need it anymore as we
2340         are always up-to-date.
2341
2342         * gst/gstelement.c: (gst_element_get_state_func),
2343         (gst_element_continue_state):
2344         Small debug inprovements.
2345         Return the previous element state return when nothing is pending instead
2346         of blindly returning SUCCESS.
2347
2348         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2349         (gst_sinks_suite):
2350         Add a whole bunch of new testcases.
2351
2352 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2353
2354         * po/uk.po:
2355         * po/vi.po:
2356           Update translations.
2357
2358 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
2359
2360         * gst/gstpad.c:
2361         Fix typo in the docs.
2362
2363 2007-06-15  Wim Taymans  <wim@fluendo.com>
2364
2365         * docs/libs/gstreamer-libs-sections.txt:
2366         Add docs for new methods.
2367
2368 2007-06-15  Wim Taymans  <wim@fluendo.com>
2369
2370         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2371         (gst_multi_queue_item_new):
2372         Don't use GSlice because we don't depend on >= 2.10 yet.
2373
2374 2007-06-15  Wim Taymans  <wim@fluendo.com>
2375
2376         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2377         (update_time_level), (apply_segment), (apply_buffer),
2378         (gst_single_queue_push_one), (gst_multi_queue_item_new),
2379         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2380         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2381         (single_queue_underrun_cb), (single_queue_check_full):
2382         Remove debug printf.
2383
2384 2007-06-15  Wim Taymans  <wim@fluendo.com>
2385
2386         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2387         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2388         (gst_data_queue_set_flushing), (gst_data_queue_push),
2389         (gst_data_queue_pop), (gst_data_queue_drop_head),
2390         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2391         * libs/gst/base/gstdataqueue.h:
2392         Various cleanups.
2393         Added methods to get the current levels and to inform the queue that the
2394         'full' limits changed.
2395
2396         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2397         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2398         (gst_single_queue_flush), (update_time_level), (apply_segment),
2399         (apply_buffer), (gst_single_queue_push_one),
2400         (gst_multi_queue_item_steal_object),
2401         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2402         (gst_multi_queue_loop), (gst_multi_queue_chain),
2403         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2404         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2405         (gst_multi_queue_src_query), (single_queue_overrun_cb),
2406         (single_queue_underrun_cb), (single_queue_check_full),
2407         (gst_single_queue_new):
2408         Keep track of time in the queue by measuring the difference between
2409         running_time on input and output. This gives more accurate results and
2410         can compensate for segments correctly.
2411         Make a queue by default only 5 buffers deep. We will now increase the
2412         buffer size depending on the filledness of the other queues.
2413         Factor out commong flush code.
2414         Make sure we don't add additional refcounts to buffers when we can avoid
2415         it.
2416         Propagate GstFlowReturn differently.
2417         Use GSlice for intermediate GstMultiQueueItems.
2418         Keep track of EOS.
2419         Resize queues on over and underruns based on filled level of other
2420         queues.
2421         When checking if the queue is filled, prefer to measure in time if we
2422         can and fall back to bytes when no time is known.
2423
2424         * plugins/elements/gstqueue.c:
2425         Fix return value.
2426
2427 2007-06-15  Wim Taymans  <wim@fluendo.com>
2428
2429         * libs/gst/base/gstbasetransform.c:
2430         (gst_base_transform_sink_event):
2431         Work around the brokenness of the event vmethod in basetransform. Prefer
2432         to return TRUE when the subclass returned FALSE (meaning don't forward
2433         the event). 
2434
2435         * libs/gst/base/gstbasetransform.h:
2436         Clarify the docs.
2437
2438 2007-06-15  Wim Taymans  <wim@fluendo.com>
2439
2440         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2441         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2442         (gst_base_src_default_query), (gst_base_src_get_range),
2443         (gst_base_src_start):
2444         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2445         Improve debugging.
2446
2447 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2448
2449         * docs/pwg/advanced-types.xml:
2450           Added more formats to caps table.
2451
2452 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2453
2454         * tools/gst-launch.c: (main):
2455           Remove crufy code. GOption does not need this workaround.
2456
2457 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2458
2459         * libs/gst/controller/gstcontroller.c:
2460         (gst_controlled_property_set_interpolation_mode):
2461           Fix wrong getter for enums in controller.
2462
2463 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2464
2465         * libs/gst/check/gstcheck.c: (gst_check_init):
2466           Intercept criticals and warnings in the Gst-Phonon log domain, so
2467           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2468           well.
2469         
2470 2007-06-14  Edward Hervey  <edward@fluendo.com>
2471
2472         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2473         Since this file doesn't include "gst.h" it will not go through the
2474         macros that disable GST_LOG if debugging was disabled.
2475
2476 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2477
2478         * libs/gst/check/Makefile.am:
2479         * libs/gst/check/gstcheck.h:
2480         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2481         * pkgconfig/gstreamer-check.pc.in:
2482           Ugly 'fix' for the controller unit test on the p5 bot: in
2483           fail_unless_equals_float() check whether the values are 'almost
2484           equal' by allowing a small absolute error, which should be good
2485           enough for our use cases (normal numbers and values close to 0).
2486           Proper fixage left to floating point arithmetic aficionados.
2487
2488 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2489
2490         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2491         (gst_base_sink_render_object), (gst_base_sink_get_position):
2492           Add two breaks thats where missing.
2493
2494 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2495
2496         * docs/libs/gstreamer-libs-sections.txt:
2497         * libs/gst/check/gstcheck.h:
2498           API: add fail_unless_equals_float() and assert_equals_float().
2499           Add documentation for some of the macros.
2500
2501         * tests/check/libs/controller.c: (GST_START_TEST):
2502           Use newly-added asserts.
2503
2504 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2505
2506         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2507           Show the caps change in the log to help spotting the case of not
2508           exactly matching caps.
2509
2510 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2511
2512         * docs/pwg/building-boiler.xml:
2513           Fix typos, spotted by Thijs Vermeir (#447190).
2514
2515 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2516
2517         * docs/plugins/tmpl/.cvsignore:
2518         Ignore file to keep the buildbots happy
2519
2520 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2521
2522         * docs/plugins/Makefile.am:
2523         * docs/plugins/gstreamer-plugins-docs.sgml:
2524         * docs/plugins/gstreamer-plugins-sections.txt:
2525         Pull fdsink into the docs too.
2526
2527 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
2528
2529         * libs/gst/controller/gstinterpolation.c:
2530         Actually use the new functions with min/max checks for the trigger and
2531         none interpolation modes for get() and get_value_array() instead of
2532         just the latter.
2533
2534 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
2535
2536         * libs/gst/controller/gstcontroller.c:
2537         (gst_controlled_property_free):
2538         Unset the minimum and maximum GValues when freeing the corresponding
2539         GstControllerProperty struct.
2540
2541 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
2542
2543         * libs/gst/controller/gstcontroller.c:
2544         (gst_controlled_property_new):
2545         * libs/gst/controller/gstcontrollerprivate.h:
2546         * libs/gst/controller/gstinterpolation.c:
2547         (gst_controlled_property_find_control_point_node),
2548         (interpolate_none_get), (interpolate_none_get_enum_value_array),
2549         (interpolate_none_get_string_value_array),
2550         (interpolate_trigger_get),
2551         (interpolate_trigger_get_enum_value_array),
2552         (interpolate_trigger_get_string_value_array):
2553         Protect against values larger or smaller than the minimum or maximum
2554         allowed value for the property when using values that can be compared.
2555
2556         Optimize trigger interpolator a bit by taking the last requested value
2557         into account instead of always looping through the complete list.
2558
2559         Fix coding style a bit, everywhere else we use "return foo" instead
2560         of "return (foo)".
2561         
2562         * tests/check/libs/controller.c: (GST_START_TEST),
2563         (gst_controller_suite):
2564         Add unit test for the protection against too large or too small
2565         values.
2566
2567 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
2568
2569         * docs/random/slomo/controller.txt:
2570         Add some thoughts about the future of the controller.
2571
2572 2007-06-08  Wim Taymans  <wim@fluendo.com>
2573
2574         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2575         Don't overflow in retimestamping code.
2576
2577 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
2578
2579         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2580         Use gst_util_guint64_to_gdouble for conversions.
2581         * win32/common/libgstreamer.def:
2582         Add new exported functions.
2583
2584 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
2585
2586         * gst/gstutils.c:
2587           Small docs addition.
2588
2589 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2590
2591         * README:
2592           Remove that test line again.
2593
2594 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2595
2596         * README:
2597           Test commit mail sending.
2598
2599 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2600
2601         * configure.ac:
2602           Fix typo and test commit mail sending.
2603
2604 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2605
2606         * tests/examples/controller/audio-example.c:
2607           Improve comment and test commit mail sending.
2608
2609 2007-06-07  Wim Taymans  <wim@fluendo.com>
2610
2611         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2612         (gst_bin_remove_func), (gst_bin_element_set_state),
2613         (bin_handle_async_start), (bin_handle_async_done),
2614         (gst_bin_handle_message_func):
2615         Add helper function to find messages.
2616         Generate the async-done messages together with the state change
2617         messages.
2618         Small cleanups in handling toplevel bins.
2619
2620 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2621
2622         * libs/gst/base/gstdataqueue.c:
2623         * libs/gst/base/gstdataqueue.h:
2624         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2625         (gst_multi_queue_item_new), (gst_multi_queue_chain),
2626         (gst_multi_queue_sink_event):
2627         * tests/check/elements/multiqueue.c: (multiqueue_suite):
2628           Fix multiqueue leaking buffers and events when downstream or the
2629           queue are flushing. Make refcounting assumptions explicit and
2630           document them (shouldn't break existing code that uses it other than
2631           maybe leak miniobjects, but that already happens anyway). Add unit
2632           test for the most common flushing case. Fixes #423700.
2633           
2634 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2635
2636         * libs/gst/controller/gstcontroller.c:
2637         Clarify docs: The get_all, get_value_array(s) functions
2638         don't modify the GObject properties.
2639
2640 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2641
2642         * libs/gst/controller/gstcontroller.c:
2643         (gst_controlled_property_set_interpolation_mode),
2644         (gst_controlled_property_prepend_default),
2645         (gst_controlled_property_new), (gst_controller_set_unlocked),
2646         (gst_controller_set), (gst_controller_set_from_list),
2647         (gst_controller_unset), (gst_controller_unset_all):
2648         * libs/gst/controller/gstcontrollerprivate.h:
2649         * libs/gst/controller/gstinterpolation.c:
2650         Factor out the 'set' logic into gst_controller_set_unlocked for the
2651         gst_controller_set and gst_controller_set_from_list functions.
2652
2653         To make life of the interpolators easier always add a control point
2654         at timestamp zero with the default value.
2655
2656         In the linear interpolator make things more obvious by better variable
2657         naming (slope).
2658
2659         Implement cubic interpolation mode (by using a natural cubic spline)
2660         and map the quadratic interpolation mode to this too (as quadratic
2661         doesn't make much sense, see discussion on the list).
2662
2663         * tests/check/libs/controller.c: (GST_START_TEST),
2664         (gst_controller_suite):
2665         Add unit test for the cubic interpolation mode and check everywhere
2666         if the interpolation mode could be set as expected.
2667
2668 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2669
2670         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2671           Don't use GLib-2.10 functions, we still depend on
2672           GLib-how-old-is-it-again-2.8.
2673
2674 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2675
2676         * docs/gst/gstreamer-sections.txt:
2677         * gst/Makefile.am:
2678         * gst/gst.c:
2679         * gst/gst.h:
2680         * gst/gstparamspecs.c: (_gst_param_fraction_init),
2681         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2682         (_gst_param_fraction_values_cmp),
2683         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2684         * gst/gstparamspecs.h:
2685         * gst/gstvalue.c:
2686         * tests/check/Makefile.am:
2687         * tests/check/gst/.cvsignore:
2688         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2689         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2690         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2691         (GST_START_TEST), (gst_param_spec_suite):
2692           API: add GstParamSpecFraction, so elements can have fraction
2693           properties without lots of painful string parsing (#444648).
2694
2695 2007-06-05  Wim Taymans  <wim@fluendo.com>
2696
2697         * gst/gstobject.c: (gst_object_class_init):
2698         Fix signal signature.
2699
2700         * gst/gstsegment.c:
2701         Add small clarification in the api docs.
2702
2703         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2704         States are protected with object lock.
2705
2706 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2707
2708         * AUTHORS:
2709         I should probably be listed as an author by now.
2710
2711         * docs/random/release:
2712         Update the release doc
2713
2714 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
2715
2716         * gst/gstvalue.c:
2717           Make docs for gst_value_compare() mention return enums that
2718           actually exist.
2719
2720 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2721
2722         * configure.ac:
2723           Back to CVS
2724
2725 === release 0.10.13 ===
2726
2727 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
2728
2729         * configure.ac:
2730           releasing 0.10.13, "With or without you"
2731
2732 2007-05-25  Wim Taymans  <wim@fluendo.com>
2733
2734         * gst/gstbin.c: (bin_handle_async_done):
2735         Make sure that the child bin stops after completing the async state
2736         change so that the parent can continue the state change to PLAYING.
2737         Fixes #441159.
2738
2739 2007-05-25  Wim Taymans  <wim@fluendo.com>
2740
2741         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2742         (unref_data), (gst_collect_pads_remove_pad),
2743         (gst_collect_pads_check_pads):
2744         Use additional refcounting to avoid crashes when dynamically adding and
2745         removing pads. Fixes #420206.
2746
2747 2007-05-24  Wim Taymans  <wim@fluendo.com>
2748
2749         * tools/gst-launch.c: (event_loop):
2750         When buffering goes from a two digit to a single digit number, make sure
2751         to remove the old second digit by writing a blank over it.
2752
2753 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2754
2755         * libs/gst/base/gstdataqueue.c:
2756           Eliminate tabs and trailing comma in enum list; fix some typos.
2757
2758 2007-05-24  Wim Taymans  <wim@fluendo.com>
2759
2760         * tests/check/gst/gstbin.c: (GST_START_TEST):
2761         Allow refcount of 3 and 4 because some state thread might still be busy
2762         with it.
2763
2764 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2765
2766         * plugins/elements/Makefile.am:
2767         * plugins/elements/gstmultiqueue.h:
2768         * plugins/elements/gstqueue.h:
2769           These are not installed headers, no need for padding.
2770
2771 2007-05-24  Wim Taymans  <wim@fluendo.com>
2772
2773         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2774         (gst_bin_continue_func):
2775         Enable latency for next release.
2776         Restore STATE_LOCK around recalc_state that was left out during the
2777         rewrite and could result in racy behaviour when _get_state and
2778         recalc_state are run concurrently. See #440463.
2779
2780 2007-05-23  Wim Taymans  <wim@fluendo.com>
2781
2782         * tests/check/gst/gstsystemclock.c: (store_callback),
2783         (GST_START_TEST):
2784         Improve test_async_order to also work when both timers are already
2785         expired when we get scheduled to check it.
2786
2787 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2788
2789         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2790         (gst_bin_set_property), (gst_bin_get_property),
2791         (gst_bin_remove_func), (gst_bin_handle_message_func):
2792         * gst/gstbin.h:
2793           'private' is a c++ keyword, let's not use that in header files,
2794           otherwise c++ compilers will throw a tantrum.
2795
2796 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2797
2798         * plugins/elements/gstelements.c:
2799         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2800         (gst_file_sink_get_current_offset):
2801         * plugins/indexers/gstindexers.c: (plugin_init):
2802           Use #ifdef for HAVE_XYZ for consistency.
2803
2804         * tests/check/Makefile.am:
2805         * tests/check/elements/.cvsignore:
2806         * tests/check/elements/filesink.c: (setup_filesink),
2807         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2808           Add some unit tests for filesink.
2809
2810 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2811
2812         Patch by: Mark Nauwelaerts <manauw at skynet be>
2813
2814         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2815         (gst_file_sink_query), (gst_file_sink_do_seek),
2816         (gst_file_sink_get_current_offset), (gst_file_sink_render):
2817         * plugins/elements/gstfilesink.h:
2818           Fix position reporting; rename data_written member to current_pos to
2819           reflect its real meaning (fixes #412648).
2820
2821 2007-05-22  Edward Hervey  <edward@fluendo.com>
2822
2823         * docs/gst/gstreamer-sections.txt:
2824         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2825         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2826         (gst_bin_remove_func), (gst_bin_handle_message_func):
2827         * gst/gstbin.h:
2828         Add a property for bins that handle the state change of their childs.
2829         Fixes #435880
2830
2831 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2832
2833         * libs/gst/controller/gstinterpolation.c:
2834         Use an array of the correct type when using _get_value_array with
2835         linear interpolation.
2836
2837 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
2838
2839         * gst/gstelement.c (gst_element_requires_clock,
2840           gst_element_provides_clock, gst_element_request_pad,
2841           gst_element_class_set_details, gst_element_class_set_details_simple,
2842           gst_element_default_send_event, gst_element_abort_state,
2843           gst_element_continue_state, gst_element_set_state,
2844           gst_element_set_state_func, iterator_activate_fold_with_resync):
2845         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2846           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2847           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2848           gst_pad_get_range, gst_pad_pull_range):
2849         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2850           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2851           GstPadActivateModeFunction, GstPadChainFunction,
2852           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2853           GstPadFixateCapsFunction, GstPadTemplate):
2854         * gst/gstpipeline.c (gst_pipeline_change_state,
2855           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2856           gst_pipeline_set_clock, gst_pipeline_auto_clock,
2857           gst_pipeline_get_delay):
2858           Whitespace and docs fixes.
2859
2860 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2861
2862         * libs/gst/controller/gstinterpolation.c:
2863         (interpolate_trigger_get_enum_value_array),
2864         (interpolate_trigger_get_string_value_array):
2865         Add support for retrieving value arrays when using the trigger
2866         interpolation mode. 
2867
2868 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2869
2870         * libs/gst/controller/gstcontroller.c:
2871         (gst_controller_get_value_array):
2872         * libs/gst/controller/gstcontroller.h:
2873         Clarify the docs of gst_controller_get_value_array(): The array where
2874         the values should be written to must be allocated as there seems to be
2875         no way to get the size of a random GType. This doesn't change any
2876         behaviour. Also fix some typos all over the place and remove an unused,
2877         commented function that is not necessary as g_object_set() could be
2878         used instead.
2879         * tests/check/libs/controller.c: (GST_START_TEST),
2880         (gst_controller_suite):
2881         Add unit test for gst_controller_get_value_array().
2882
2883 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
2884
2885         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2886
2887         Disable part of the gst_buffer_try_new_and_alloc test, because
2888         it can happily succeed on 64-bit systems where there's more address
2889         space available.
2890
2891 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2892
2893         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2894         Add unit test for the improved caps checking from bug #421543.
2895
2896 2007-05-21  Wim Taymans  <wim@fluendo.com>
2897
2898         * docs/design/part-synchronisation.txt:
2899         Small addition.
2900
2901         * gst/gstbin.c: (gst_bin_query):
2902         * plugins/elements/gstqueue.c: (apply_segment):
2903         Improve debugging.
2904
2905         * gst/gstmessage.h:
2906         Improve docs.
2907
2908 2007-05-21  Wim Taymans  <wim@fluendo.com>
2909
2910         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2911         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2912         (gst_pad_configure_src):
2913         Added simple version of improved caps checking. It was previously
2914         assumed that a setcaps function would check the validity of the caps but
2915         people prefer us to check caps against the template automatically. 
2916         Fixes #421543.
2917
2918 2007-05-21  Wim Taymans  <wim@fluendo.com>
2919
2920         * libs/gst/base/gstbasetransform.h:
2921         Fix macro for locking/unlocking the transform lock.
2922
2923 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2924
2925         * docs/plugins/tmpl/.cvsignore:
2926           Ignore more.
2927
2928 2007-05-18  Edward Hervey  <edward@fluendo.com>
2929
2930         * plugins/elements/gstqueue.c: (gst_queue_loop):
2931         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2932         for the subtle art of warning a potentially blocking thread that it
2933         should check the source pad return value, and relay the information
2934         upstream.
2935
2936 2007-05-18  Edward Hervey  <edward@fluendo.com>
2937
2938         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2939         Release the queue lock !
2940
2941 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2942
2943         * docs/libs/gstreamer-libs-sections.txt:
2944         Add the two new controller functions to the appropiate places.
2945
2946 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2947
2948         reviewed by: Stefan Kost <ensonic@users.sf.net>
2949
2950         * libs/gst/controller/gstcontroller.c:
2951         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2952         (_gst_controller_get_property), (_gst_controller_set_property),
2953         (_gst_controller_init), (_gst_controller_class_init):
2954         * libs/gst/controller/gstcontroller.h:
2955         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2956         (gst_object_get_control_rate), (gst_object_set_control_rate):
2957         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2958         Add API that provides sync suggestion timestamps for elements that
2959         call gst_object_sync_values() from which those elements can subdivide
2960         their processing loop to get the best results for the controlled
2961         properties. For now it just suggests last_sync + control_rate as
2962         new timestamp but this will be improved in the future.
2963
2964         While doing that change the control-rate property to a GstClockTime
2965         from guint and change it's meaning from samples to nanoseconds as
2966         the GstController doesn't know anything about sampling rate. Strictly
2967         speaking this breaks ABI but as the control-rate property didn't do
2968         anything in the past and as such couldn't be used this should be no
2969         problem.        
2970
2971 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2972
2973         reviewed by: Stefan Kost <ensonic@users.sf.net>
2974
2975         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2976         (gst_controller_unset_all):
2977         * libs/gst/controller/gstcontrollerprivate.h:
2978         * libs/gst/controller/gstinterpolation.c:
2979         (gst_controlled_property_find_control_point_node):
2980         Save last synced value from the list to continue searching from there
2981         in future syncs. This speeds everything up a bit.
2982         
2983 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2984
2985         reviewed by: Stefan Kost <ensonic@users.sf.net>
2986
2987         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2988         (gst_control_point_find), (gst_controlled_property_new),
2989         (gst_control_point_free), (gst_controlled_property_free),
2990         (gst_controller_set), (gst_controller_set_from_list),
2991         (gst_controller_unset), (gst_controller_unset_all),
2992         (gst_controller_sync_values):
2993         * libs/gst/controller/gstcontroller.h:
2994         * libs/gst/controller/gstcontrollerprivate.h:
2995         * libs/gst/controller/gstinterpolation.c:
2996         (gst_controlled_property_find_control_point_node),
2997         (interpolate_none_get), (interpolate_trigger_get):
2998         Add a new private GstControlPoint struct which "inherits" from
2999         GstTimedValue to allow different interpolators to store internal
3000         values next to each control point. From the outside everything is
3001         still a GstControlPoint so we don't loose binary compatibility.
3002         Also fixup all the GValue handling to not leak GValues or list nodes.
3003         * tests/check/libs/controller.c: (GST_START_TEST):
3004         Free the list nodes and GValues in the controller_misc test.
3005
3006 2007-05-17  Edward Hervey  <edward@fluendo.com>
3007
3008         * gst/gstsegment.c:
3009         Small doc fix.
3010
3011 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3012
3013         * gst/gstplugin.c: (gst_plugin_load_file):
3014           If we fail to load a plugin because of unresolved symbols or missing
3015           libraries and spew a warning to stderr, we may just as well mention
3016           which plugin it was that failed to load.
3017
3018 2007-05-13  David Schleef  <ds@schleef.org>
3019
3020         * docs/Makefile.am: the gtk-doc makefile snippet correctly
3021           handles the case when ENABLE_GTK_DOC is false, and installs
3022           the prebuilt documentation.  So gtk-doc subdirs are 
3023           unconditionally enabled.  Fixes: #349099.
3024
3025 2007-05-13  David Schleef  <ds@schleef.org>
3026
3027         * gst/gstutils.h: Reword some documentation.
3028
3029 2007-05-12  David Schleef  <ds@schleef.org>
3030
3031         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3032           do anything with the passed "module" parameter, so remove it.
3033           Allows removal of additional vestigal code.
3034
3035 2007-05-12  David Schleef  <ds@schleef.org>
3036
3037         * gst/gstplugin.c:
3038           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3039           Switch to using g_stat() because it's more portable.
3040
3041 2007-05-12  David Schleef  <ds@schleef.org>
3042
3043         * gst/gst.c:
3044           Add GST_DISABLE_OPTION_PARSING, in order to disable option
3045           parsing for embedded systems.
3046         * gst/gstelementfactory.c:
3047           Allow gst_element_register() to be called with plugin==NULL.
3048           Did nobody notice that static elements were broken?
3049
3050 2007-05-12  Wim Taymans  <wim@fluendo.com>
3051
3052         * tools/gst-launch.c: (event_loop):
3053         Give more interesting info when buffering starts and stops.
3054         Fix case where buffering starts but we fail to update the buffering flag
3055         because the target state is not PLAYING.
3056
3057 2007-05-12  Wim Taymans  <wim@fluendo.com>
3058
3059         * plugins/elements/gstqueue.c: (gst_queue_init),
3060         (gst_queue_finalize), (update_time_level), (apply_segment),
3061         (apply_buffer), (gst_queue_locked_flush),
3062         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3063         (gst_queue_handle_sink_event), (gst_queue_chain),
3064         (gst_queue_push_one), (gst_queue_loop):
3065         * plugins/elements/gstqueue.h:
3066         Refactor an cleanup queue a bit.
3067         Do better time level calculations that also work when the srcpad is not
3068         yet running.
3069         Remove some unneeded debug lines.
3070
3071         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3072         Added testcase for time level measurement.
3073         Try to make some stuff more racefree.
3074
3075 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3076
3077         * gst/gsturi.c: (gst_element_make_from_uri):
3078           Don't leak plugin feature.
3079
3080         * tests/check/Makefile.am:
3081         * tests/check/gst/.cvsignore:
3082         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3083           Add brain-dead unit test.
3084
3085 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3086
3087         Patch by: Jeroen Wouters <woutersj at gmail com>
3088
3089         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3090           Treat protocol strings in a case-insensitive way (#437563).
3091
3092 2007-05-11  Michael Smith <msmith@fluendo.com>
3093
3094         * gst/gstplugin.c: (gst_plugin_load_file):
3095         * gst/gstregistry.c: (gst_registry_scan_path_level):
3096           Don't print a g_warning for any failure to load a shared object.
3097           Instead, push this down into gstplugin.c, and warn _only_ if we
3098           failed to open the module (i.e. failure to link).
3099           Avoids warnings on normal, working, non-plugin .so files.
3100
3101 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
3102
3103         * gst/gstplugin.c (gst_plugin_load_file):
3104         * gst/gstregistry.c (GST_CAT_DEFAULT,
3105           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3106           Print a g_warning if there was an error when loading a plugins during
3107           registry scan. The shuld help beginners starting with gst-plugin
3108           template.
3109
3110 2007-05-10  Wim Taymans  <wim@fluendo.com>
3111
3112         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3113         (update_time_level), (gst_queue_locked_flush),
3114         (gst_queue_handle_sink_event), (gst_queue_chain),
3115         (gst_queue_push_one), (gst_queue_loop):
3116         * plugins/elements/gstqueue.h:
3117         Be smarter when calculating the current amount of data in the queue by
3118         measuring the difference between start and end timestamps (in running
3119         time) inside the queue. Fixes #432876.
3120         API: GstQueue::pushing to notify elements that we are pushing data again
3121         since the running signal is rather broken for this purpose.
3122
3123 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
3124
3125         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3126           gst_queue_base_init, gst_queue_init):
3127           use GST_BOILERPLATE
3128
3129 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
3130
3131         * win32/common/libgstreamer.def:
3132         Add new exported functions.
3133         * win32/vs6/grammar.dsp:
3134         Use grammar pre-generated files.
3135
3136 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3137
3138         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
3139
3140         * gst/Makefile.am:
3141         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3142         * gst/gstparse.h:
3143         * gst/gstutils.c: (gst_parse_bin_from_description):
3144         * gst/gstutils.h:
3145           Maintain API and ABI when --disable-parse is used. Now that
3146           we have an appropriate error code, we can just return NULL and the
3147           appropriate error when gst_parse_launch() is used despite it having
3148           been disabled (#342564).
3149
3150         * tests/check/Makefile.am:
3151         * tests/check/pipelines/.cvsignore:
3152         * tests/check/pipelines/parse-disabled.c:
3153           Make sure these functions exist and return NULL plus a GError when
3154           --disable-parse is used.
3155
3156 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3157
3158         * tests/benchmarks/complexity.c: (main):
3159         * tests/benchmarks/mass-elements.c: (main):
3160           Set a good example and don't leak messages.
3161
3162 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
3163
3164         * docs/gst/Makefile.am:
3165         * docs/libs/Makefile.am:
3166           Correct fixxrefs options.
3167
3168         * docs/plugins/Makefile.am:
3169         * docs/plugins/gstreamer-plugins-docs.sgml:
3170         * docs/plugins/gstreamer-plugins-sections.txt:
3171         * plugins/elements/Makefile.am:
3172         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3173         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3174           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3175           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3176           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3177           _GstCapsFilterClass, trans_class):
3178         * plugins/elements/gstelements.c (name, rank, type, _elements):
3179         * plugins/elements/gstidentity.c
3180           (gst_identity_check_imperfect_timestamp,
3181           gst_identity_check_imperfect_offset):
3182           Document capsfilter and add doc-blurb to identity.
3183
3184 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3185
3186         * libs/gst/controller/gstcontroller.c:
3187         (gst_controlled_property_set_interpolation_mode):
3188         * libs/gst/controller/gstinterpolation.c:
3189           Don't crash if someone tries to set an interpolation mode that
3190           is invalid or that isn't supported yet. Fixes #422295.
3191
3192         * tests/check/libs/controller.c: (GST_START_TEST),
3193         (gst_controller_suite):
3194           Add a test case for the above.
3195
3196 2007-05-03  Edward Hervey  <edward@fluendo.com>
3197
3198         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3199         Properly set the last_stop position on GstSegment. This will only happen
3200         if there is a buffer to push out.
3201
3202 2007-05-03  Wim Taymans  <wim@fluendo.com>
3203
3204         * libs/gst/base/gstbasetransform.c:
3205         (gst_base_transform_buffer_alloc):
3206         always_in_place does not mean that the sink and source caps are the
3207         same! Make sure we don't blindly proxy the buffer_alloc in this case.
3208
3209 2007-05-03  Wim Taymans  <wim@fluendo.com>
3210
3211         * docs/libs/gstreamer-libs-sections.txt:
3212         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3213         (gst_base_src_default_query), (gst_base_src_get_range):
3214         * libs/gst/base/gstbasesrc.h:
3215         API: gst_base_src_query_latency(). Added method so that subclasses can
3216         easily get the latency values of the base source class.
3217
3218 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
3219
3220         * tools/gst-inspect.c (print_implementation_info):
3221         Remove 0.8 cruft.
3222
3223 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
3224
3225         * tools/Makefile.am:
3226         * tools/gst-launch.1.in:
3227           Don't create a customised man page based on the host architecture,
3228           describe the default registry path generically. That way the man
3229           page is the same for all architectures and packagers have one
3230           multilib issue less to deal with. Fixes #434926.
3231
3232 2007-05-02  Wim Taymans  <wim@fluendo.com>
3233
3234         * gst/gstpad.c:
3235         Fix documentation as spotted by rg on IRC. 
3236
3237 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
3238
3239         * gst/gstutils.c:
3240           Improve docs for gst_element_{link,unlink}.
3241
3242 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
3243
3244         * docs/design/part-events.txt:
3245         * docs/design/part-overview.txt:
3246         * gst/gstevent.c:
3247         * gst/gsturi.c:
3248         * gst/gsturi.h:
3249         * libs/gst/base/gstbasesink.c:
3250           Typo fixes; minor docs addition.
3251
3252 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3253
3254         * docs/gst/gstreamer-sections.txt:
3255         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3256         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3257         * gst/gsturi.h:
3258         API: Add gst_uri_protocol_is_supported(), which checks if a sink
3259         or src that supports a given URI protocol exists.
3260
3261 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3262
3263         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3264         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3265         Set the location to NULL if "file://" is set as URI. Otherwise
3266         some random previous URI would still be set if "file://" is
3267         set on an already used filesink/filesrc.
3268
3269 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3270
3271         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3272         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3273         Special case the "file://" URI as as this is used by some
3274         applications to test with gst_element_make_from_uri if there's
3275         an element that supports the URI protocol.
3276         Also move the g_path_is_absolute() check for the location part
3277         of the URI to also check this for "file://localhost/bla" URIs.
3278
3279 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
3280
3281         * docs/gst/gstreamer-sections.txt:
3282         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3283         * gst/gstbuffer.h:
3284         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3285         (gst_buffer_suite):
3286           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3287
3288 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
3289
3290         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3291         (gst_registry_binary_load_pad_template),
3292         (gst_registry_binary_load_plugin),
3293         (gst_registry_binary_read_cache):
3294         * gst/gstregistrybinary.h:
3295           Implement no-mmap alternative for registry reading. Do code cleanups.
3296           Add more comments about avoiding strdups for all text data. Comments
3297           welcome.
3298
3299 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3300
3301         * gst/gstregistrybinary.h (GstBinaryPluginElement,
3302           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3303           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3304           Comment structs and reformat to fix the build (that stuff should go
3305           into a priv. header).
3306
3307 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3308
3309         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3310         (gst_registry_binary_load_feature):
3311         * gst/gstregistrybinary.h:
3312           Refactor so that we can implement multiple features. Add support for
3313           TypeFindFactory features.
3314
3315 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
3316
3317         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3318
3319         * configure.ac:
3320           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3321
3322 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
3323
3324         * gst/gstbin.c: (gst_bin_element_set_state),
3325         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3326         (bin_handle_async_done), (gst_bin_handle_message_func):
3327           Fix build with --gst-disable-gst-debug
3328
3329 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3330
3331         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3332           Make sure streaming has finished before calling the ::stop() vfunc,
3333           since that vfunc might clear state which is being used in the
3334           streaming thread. This fixes a race that caused crashes in
3335           audioresample when shutting down a pipeline (#420106).
3336
3337 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3338
3339         * docs/gst/gstreamer-sections.txt:
3340           That was one byte missing.
3341
3342 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3343
3344         * configure.ac:
3345         * docs/gst/gstreamer-sections.txt:
3346         * gst/Makefile.am:
3347         * gst/gstconfig.h.in:
3348         * gst/gstobject.c: (gst_object_class_init),
3349         (gst_signal_object_class_init):
3350         * gst/gstobject.h:
3351           2nd attempt to have a xml-less build as a joined effort of #413123
3352           and #421480.
3353
3354 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3355
3356         * docs/design/draft-tagreading.txt:
3357           Added open issues/thoughts to draft.
3358
3359 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3360
3361         * gst/parse/grammar.tab.pre.c:
3362         * gst/parse/grammar.tab.pre.h:
3363         * gst/parse/lex._gst_parse_yy.pre.c:
3364         Update the prebuild parser sources.
3365
3366 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3367
3368         * gst/parse/Makefile.am:
3369         And now fix the building of the flex sources. Now everything should
3370         work as expected.
3371
3372 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3373
3374         * gst/parse/Makefile.am:
3375         Now hopefully fix the build failures by setting proper rule
3376         dependencies and moving instead of copying.
3377
3378 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3379
3380         * tests/benchmarks/complexity.gnuplot:
3381         * tests/benchmarks/complexity.scm:
3382         * tests/benchmarks/mass-elements.gnuplot:
3383         * tests/benchmarks/mass-elements.scm:
3384           Total licensification.
3385
3386 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3387
3388         * gst/parse/Makefile.am:
3389           Fix the build by correcting the rule that gave wrong files to flex.
3390
3391 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3392
3393         * tests/benchmarks/complexity.c:
3394         * tests/benchmarks/mass-elements.c:
3395           Change licence to LGPL as granted by Benjamin and Andy.
3396
3397 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3398
3399         * gst/parse/Makefile.am:
3400         Add correct grammar.tab.h dependency if compiling without new enough
3401         flex. Fixes #431150.
3402
3403 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3404
3405         * gst/parse/Makefile.am:
3406         Fix typo and use outdated sources if the flex/bison sources are newer
3407         than the pregenerated ones but flex is too old. Print a warning in
3408         that case. This should fix the build on the build bot.
3409
3410 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3411
3412         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3413         * gst/parse/Makefile.am:
3414         * gst/parse/grammar.y:
3415         * gst/parse/parse.l:
3416         Make the parser reentrant and recursively callable. This requires flex
3417         >= 2.5.31, for older versions pregenerated sources are used as we
3418         can't bump the build dependency. Finally fixes #349180.
3419
3420         * gst/gstparse.c: (gst_parse_launch):
3421         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3422         now anyway.
3423
3424         * docs/gst/Makefile.am:
3425         * docs/gst/Makefile.am:
3426         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3427         (__gst_parse_strfree), (__gst_parse_link_new),
3428         (__gst_parse_link_free), (__gst_parse_chain_new),
3429         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3430         (gst_parse_element_set), (gst_parse_free_link),
3431         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3432         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3433         (_gst_parse_launch):
3434         * gst/parse/grammar.tab.pre.h:
3435         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3436         (yy_get_previous_state), (yy_try_NUL_trans), (input),
3437         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3438         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3439         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3440         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3441         (_gst_parse_yypop_buffer_state),
3442         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3443         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3444         (yy_fatal_error), (_gst_parse_yyget_extra),
3445         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3446         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3447         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3448         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3449         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3450         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3451         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3452         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3453         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3454         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3455         (_gst_parse_yyfree):
3456         If the installed flex version is too old use pre-generated parser
3457         sources. These pre-generated parser sources are always updated when
3458         the actual flex/bison sources change but require everybody who wants
3459         to change something in the parser to have flex >= 2.5.31 installed.
3460
3461 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
3462
3463         * common/m4/gst-gettext.m4:
3464         * gst/gst-i18n-lib.h:
3465           Make --disable-nls to work
3466
3467 2007-04-17  Wim Taymans  <wim@fluendo.com>
3468
3469         * gst/gstconfig.h.in:
3470         Revert previous change that broke the build.
3471
3472 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
3473
3474         * configure.ac:
3475         * gst/Makefile.am:
3476         * gst/gstconfig.h.in:
3477           Drop libxml2 dependency when building with 
3478           --enable-binary-registry --disable-loadsave
3479
3480 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
3481
3482         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3483         (gst_registry_binary_read_cache):
3484         * gst/gstregistrybinary.h:
3485           Remove unnecessary <sys/mman.h> include which broke the win32 build
3486           with MingW; move includes from header file to .c file, even if the
3487           header file isn't installed; use g_strerror() where UTF-8 strings
3488           are expected, such as in GST_DEBUG messages.
3489
3490 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3491
3492         * docs/libs/gstreamer-libs-sections.txt:
3493         Remove bogus addition for API I didn't end up keeping.
3494
3495         * libs/gst/base/gstbasesrc.h:
3496         Mention Since: 0.10.13 in the documentation.
3497
3498         Add the API keyword to the previous ChangeLog entry.
3499
3500 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3501
3502         * docs/libs/gstreamer-libs-sections.txt:
3503         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3504         (gst_base_src_default_prepare_seek_segment),
3505         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3506         * libs/gst/base/gstbasesrc.h:
3507         Allow basesrc derived classes to execute seeks in other formats
3508         by providing a prepare_seek_segment vmethod. Sub-classes can choose
3509         to prepare the GstSegment in any format that their perform_seek method
3510         will be able to understand. The default implementation provides the
3511         old behaviour of attempting to convert the seek offsets to the 
3512         configured native format.
3513
3514         API: basesrc::prepare_seek_segment vmethod.
3515
3516 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3517
3518         * gst/gstelement.c: (gst_element_get_state_func):
3519         Don't output the same debug statement twice.
3520
3521         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3522         (gst_adapter_peek), (gst_adapter_take_buffer):
3523         Optimise the case where we have buffers at the head of the queue that
3524         can be joined quickly (because they're contiguous sub-buffers) by
3525         merging them together rather than copying data out into new memory.
3526
3527         * gst/parse/grammar.y:
3528         * tests/check/pipelines/parse-launch.c:
3529         Fix a leak in an error path for parse_launch, and add a check 
3530         for it to the testsuite.
3531
3532 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3533
3534         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3535           Don't deadlock when releasing a pad - gst_pad_set_active may try
3536           and take the multiqueue lock too.
3537
3538 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3539
3540         * gst/gsterror.c: (_gst_core_errors_init):
3541         * gst/gsterror.h:
3542           API: add GST_CORE_ERROR_DISABLED (#392804).
3543
3544 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3545
3546         * docs/faq/gst-uninstalled:
3547           don't get empty paths on the PATH variables
3548         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3549           Don't format for the uncommon terminal width of 84 characters.
3550
3551 2007-04-06  Wim Taymans  <wim@fluendo.com>
3552
3553         * gst/gstpipeline.c: (reset_stream_time),
3554         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3555         Only try to select a different pipeline clock when we went back to
3556         PAUSED and not when we merely got flushed.
3557
3558 2007-04-05  Michael Smith  <msmith@fluendo.com>
3559
3560         * tools/gst-launch.1.in:
3561           fractions are better supported in gstreamer than ractions, so
3562           suggest using those.
3563
3564 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3565
3566         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3567
3568         * po/LINGUAS:
3569         * po/da.po:
3570           Added Danish translation.
3571
3572 2007-04-05  Wim Taymans  <wim@fluendo.com>
3573
3574         * libs/gst/base/gstbasesink.c:
3575         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3576         Fix leak caused when refusing newsegment after EOS.
3577
3578         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3579         (gst_fake_sink_init), (gst_fake_sink_set_property),
3580         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3581         (gst_fake_sink_render), (gst_fake_sink_change_state):
3582         * plugins/elements/gstfakesink.h:
3583         Add num-buffers property to make the element generate EOS after a
3584         configurable amount of buffers.
3585         API: fakesink::num-buffers property.
3586
3587         * tests/check/elements/fakesink.c: (GST_START_TEST),
3588         (fakesink_suite):
3589         Fix GstBus leak in test.
3590         Test for fakesink num-buffers.
3591
3592 2007-04-05  Wim Taymans  <wim@fluendo.com>
3593
3594         * libs/gst/base/gstbasesink.c:
3595         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3596         (gst_base_sink_change_state):
3597         Don't accept anything after an EOS, return UNEXPECTED instead.
3598
3599         * tests/check/elements/fakesink.c: (GST_START_TEST),
3600         (fakesink_suite):
3601         Unit test for new EOS behaviour.
3602
3603 2007-04-05  Wim Taymans  <wim@fluendo.com>
3604
3605         * gst/gstelement.c: (gst_element_get_request_pad):
3606         Make padtemplates also work when they don't contain %s or %d.
3607
3608 2007-04-05  Wim Taymans  <wim@fluendo.com>
3609
3610         * docs/gst/gstreamer-sections.txt:
3611         * gst/gstclock.c: (gst_clock_adjust_unlocked),
3612         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3613         * gst/gstclock.h:
3614         Improve _adjust_unlocked() so that it overflows less.
3615         Add gst_clock_unadjust_unlocked to convert from external time to
3616         internal time based on calibration.
3617         Add some more debug.
3618         API: GstClock::gst_clock_unadjust_unlocked()
3619
3620 2007-04-03  Wim Taymans  <wim@fluendo.com>
3621
3622         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3623
3624         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3625         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3626         when releasing sink pad. Fixes #425400.
3627
3628 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
3629
3630         * docs/random/ensonic/dynlink.txt:
3631           More work on proposal for new core api.
3632
3633         * docs/libs/gstreamer-libs-sections.txt:
3634         * libs/gst/base/gstbasetransform.h:
3635           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3636           
3637         * libs/gst/controller/gstcontroller.c:
3638         (on_object_controlled_property_changed),
3639         (gst_controller_sync_values),
3640         (gst_controller_set_interpolation_mode):
3641         * libs/gst/controller/gstcontroller.h:
3642           Less verbose logging add docs for unimplemented parts and correctly
3643           return when using unavailable parts.
3644
3645 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3646
3647         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3648         Move all the debug to the CLOCK category, and associate it with
3649         the clock object.
3650
3651 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3652
3653         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3654         Make take_buffer a bit quicker by removing redundant checks
3655         caused by calling gst_adapter_take.
3656
3657 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3658
3659         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3660           Don't leak GCond.
3661
3662         * tests/check/Makefile.am:
3663         * tests/check/elements/.cvsignore:
3664         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3665         (GST_START_TEST), (multiqueue_suite):
3666           Add some dead simple unit tests for the 'multiqueue' element
3667           (some bits don't work yet and are disabled for now).
3668
3669 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3670
3671         * gst/gstelement.c: (gst_element_get_request_pad),
3672         (gst_element_class_get_request_pad_template):
3673           Make gst_element_get_request_pad() create request pads only for
3674           request pad templates and not for, say, sometimes pad templates.
3675
3676 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
3677
3678         * docs/design/draft-klass.txt:
3679           Add example that needs more thinking.
3680         
3681         * docs/design/draft-missing-plugins.txt:
3682           More thoughts about wrapper plugins.
3683         
3684         * docs/random/ensonic/embedded.txt:
3685         * docs/random/ensonic/profiling.txt:
3686           More design work.
3687
3688 2007-03-25  Wim Taymans  <wim@fluendo.com>
3689
3690         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3691         (gst_base_src_loop):
3692         Only push the segment events in the PLAYING state for live sources.
3693
3694 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
3695
3696         * gst/gstpipeline.c: (gst_pipeline_change_state):
3697         Modify the clock distribution path in PAUSED->PLAYING so that we 
3698         never attempt to choose a new clock unless we're actually leaving
3699         the PAUSED state for the first time. This prevents choosing a
3700         different clock when the state_change gets called for a 2nd time due
3701         to some element doing an async state change.
3702
3703 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3704
3705         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3706         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3707         (gst_pad_chain_unchecked), (gst_pad_push):
3708         Revert last commit. This needs some more thoughts.
3709
3710 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3711
3712         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3713         (gst_pad_chain_unchecked), (gst_pad_push):
3714         Check in set_caps if the caps are compatible with the pad and remove
3715         two functions that are redundant now. Fixes #421543.
3716
3717 2007-03-22  Wim Taymans  <wim@fluendo.com>
3718
3719         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3720         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3721         Unref some more to make valgrind happy.
3722
3723 2007-03-22  Wim Taymans  <wim@fluendo.com>
3724
3725         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3726         (gst_system_clock_id_wait_jitter),
3727         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3728         Fix anoying regression that survived a few releases. When adding an
3729         async entry while blocking on a sync entry, the sync entry will unblock
3730         but still be busy, so it should continue to wait instead of returning
3731         _BUSY to the app.
3732         Add some comments here and there.
3733
3734         * tests/check/gst/gstsystemclock.c: (mixed_thread),
3735         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3736         Add testcase for this.
3737
3738 2007-03-22  Wim Taymans  <wim@fluendo.com>
3739
3740         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3741         Handle errors from the clock sync better, only UNSCHEDULED indicates a
3742         WRONG_STATE and can silently pause the task. All other cases should
3743         error out.
3744
3745 2007-03-22  Wim Taymans  <wim@fluendo.com>
3746
3747         Patch by: Ville Syrjala <syrjala at sci dot fi>
3748
3749         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3750         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
3751         Improve debugging.
3752
3753 2007-03-21  Michael Smith  <msmith@fluendo.com>
3754
3755         * docs/pwg/advanced-types.xml:
3756           Fix some errors in the typefinding docs pointed out on irc.
3757
3758 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
3759
3760         * libs/gst/base/gstbasesrc.c:
3761         Clarify FIXME comment in the face of having added unlock_stop()
3762
3763 2007-03-21  Wim Taymans  <wim@fluendo.com>
3764
3765         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3766         Prepare for release where we warn against possible app breakage in the
3767         case of live pipelines along with an env var to enable/disable live
3768         preroll mode (GST_COMPAT=[no-]live-preroll).
3769
3770 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3771
3772         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3773         So we should use correct constants for checking for None offset.
3774
3775 2007-03-20  Wim Taymans  <wim@fluendo.com>
3776
3777         * docs/design/part-block.txt:
3778         Mention the fact that the newly switched element should be set to at
3779         least PAUSED.
3780
3781 2007-03-20  Wim Taymans  <wim@fluendo.com>
3782
3783         * gst/gst.c:
3784         Fix compilation with registry disabled as spotted by Saur.
3785
3786 2007-03-20  Wim Taymans  <wim@fluendo.com>
3787
3788         Patch by: Olivier Crete <tester at tester dot ca>
3789
3790         * gst/gstelement.c: (gst_element_sync_state_with_parent):
3791         Look at the pending state too when syncing the element state to the
3792         parent. Fixes #420133.
3793
3794 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
3795
3796         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3797         (gst_base_sink_change_state):
3798         * libs/gst/base/gstbasesink.h:
3799         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3800         (gst_base_src_default_event), (gst_base_src_unlock_stop),
3801         (gst_base_src_deactivate):
3802         * libs/gst/base/gstbasesrc.h:
3803         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3804         for sub-classes to correctly clear any state they set trying to
3805         unlock, such as clearing out unlock commands from a command fd.
3806         API: basesrc::unlock_stop
3807         API: basesink::unlock_stop
3808
3809         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3810         (gst_fd_sink_render), (gst_fd_sink_unlock),
3811         (gst_fd_sink_unlock_stop):
3812         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3813         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3814         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3815
3816         Implement unlock_stop in fdsrc and fdsink.
3817         Implement seeking in fdsrc when a seekable fd is passed, as in
3818         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3819
3820 2007-03-19  Wim Taymans  <wim@fluendo.com>
3821
3822         Patch by: Evan Nemerson <evan at coeus dash group dot com>
3823
3824         * gst/gstelement.c: (gst_element_class_init):
3825         Fix pad-added and pad-removed signal signatures so that the pad type is
3826         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3827
3828 2007-03-19  Wim Taymans  <wim@fluendo.com>
3829
3830         * docs/gst/gstreamer-sections.txt:
3831         Add new element field and method.
3832
3833         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3834         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3835         (gst_bin_recalc_state), (gst_bin_get_state_func),
3836         (gst_bin_element_set_state), (gst_bin_change_state_func),
3837         (gst_bin_continue_func), (bin_bus_handler),
3838         (bin_push_state_continue), (bin_handle_async_start),
3839         (bin_handle_async_done), (gst_bin_handle_message_func):
3840         Make async state changes a bit smarter by using new ASYNC_START and
3841         ASYNC_DONE messages. This reduces the number of times we run the state
3842         recalculation thread.
3843         Don't change state of element with a pending ASYNC_START message.
3844         Deprecate STATE_DIRTY messages.
3845         
3846         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3847         (gst_element_get_state_func), (gst_element_continue_state),
3848         (gst_element_lost_state), (gst_element_set_state_func),
3849         (gst_element_change_state):
3850         * gst/gstelement.h:
3851         Keep the state that was last set by the app in a new element field.
3852         Don't allow state changes when handling an element event.
3853         Post ASYNC_START and ASYNC_DONE messages.
3854         Change lost_state so that we go to PAUSED and wait for the parent to set
3855         us to PLAYING again (so latency calculation can be performed)
3856         Export gst_element_change_state() method so that subclasses can use it.
3857         API: gst_element_change_state()
3858         API: GST_STATE_TARGET
3859
3860         * gst/gstpipeline.c: (gst_pipeline_class_init),
3861         (reset_stream_time), (gst_pipeline_change_state),
3862         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3863         Using the new ASYNC_START message we can reset the base_time when
3864         needed. This can then be used to implement base_time redistribution in
3865         flushing seeks so that we can remove the explicit seek handling.
3866         Perform latency query and configuration when going to PLAYING.
3867
3868         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3869         (gst_base_sink_query), (gst_base_sink_change_state):
3870         Post new ASYNC_START/ASYNC_DONE messages.
3871
3872         * tests/check/generic/sinks.c: (GST_START_TEST):
3873         Fix test because the bin will not set the async element to PLAYING right
3874         away.
3875
3876         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3877         Make the message check a little stronger.
3878         Handle ASYNC messages.
3879
3880         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3881         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3882         Expect ASYNC_DONE messages.
3883
3884 2007-03-19  Wim Taymans  <wim@fluendo.com>
3885
3886         * docs/gst/gstreamer-sections.txt:
3887         * gst/gstmessage.c: (gst_message_new_async_start),
3888         (gst_message_new_async_done), (gst_message_parse_info),
3889         (gst_message_parse_async_start):
3890         * gst/gstmessage.h:
3891         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3892         support.
3893
3894 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
3895
3896         * tools/gst-inspect.c:
3897         (print_plugin_automatic_install_info_codecs):
3898           Now that we don't check for the 'Codec' keyword any longer in the
3899           klass, we shouldn't spew a warning if the klass isn't a decoder or
3900           encoder (since it might be a Source/Network, for example).
3901
3902 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
3903
3904         * tools/gst-inspect.c:
3905         (print_plugin_automatic_install_info_codecs):
3906           Don't require decoder/demuxer/depayloader elements or
3907           encoder/muxer/paylader elements to have 'Codec' as part of their
3908           factory class string when introspecting a plugin's capabilities.
3909           draft-klass.txt mentions that it might be removed in future, and
3910           flump3dec doesn't have it as part of its class string, so chances
3911           are others might also not have it.
3912
3913 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3914
3915         * po/af.po:
3916         * po/az.po:
3917         * po/bg.po:
3918         * po/ca.po:
3919         * po/cs.po:
3920         * po/de.po:
3921         * po/en_GB.po:
3922         * po/fr.po:
3923         * po/it.po:
3924         * po/nb.po:
3925         * po/nl.po:
3926         * po/ru.po:
3927         * po/sq.po:
3928         * po/sr.po:
3929         * po/sv.po:
3930         * po/tr.po:
3931         * po/uk.po:
3932         * po/vi.po:
3933         * po/zh_CN.po:
3934         * po/zh_TW.po:
3935           Update translations from translation project
3936
3937 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
3938
3939         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3940         (gst_child_proxy_set_property):
3941           Invert precondition check to be alike the ones in the mimiced gobject
3942           api.
3943
3944 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
3945
3946         * docs/design/draft-tagreading.txt:
3947         * docs/random/ensonic/audiobaseclasses.txt:
3948           Do some Architect work.
3949
3950         * gst/gstobject.c: (gst_object_set_name):
3951           Add a WARNING.
3952
3953         * gst/gstpad.c:
3954           Add docs that point from gst_pad_get_range to gst_pad_pull_range
3955
3956 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
3957
3958         * gst/gstsystemclock.c: (gst_system_clock_init),
3959         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3960         Defer starting the async system clock thread until the first async
3961         wait is scheduled. Fixes #414986.
3962
3963 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
3964
3965         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3966         (gst_single_queue_free):
3967           Fix small leak (free GstSingleQueue structure too, not only contents).
3968
3969 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
3970
3971         * gst/gstbin.c:(gst_bin_add):
3972         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3973         * win32/common/libgstbase.def:
3974         * win32/common/libgstreamer.def:
3975         Add new exported functions.
3976
3977 2007-03-09  Wim Taymans  <wim@fluendo.com>
3978
3979         * docs/plugins/gstreamer-plugins-sections.txt:
3980         Fix GstTee docs.
3981
3982 2007-03-09  Wim Taymans  <wim@fluendo.com>
3983
3984         * docs/gst/gstreamer-sections.txt:
3985         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3986         * gst/gstbuffer.h:
3987         Add metadata copy functions. Fixes #393099.
3988         API: gst_buffer_copy_metadata()
3989
3990         * gst/gstutils.c: (gst_buffer_stamp):
3991         * libs/gst/base/gstbasetransform.c:
3992         (gst_base_transform_prepare_output_buffer):
3993         Use new metadata copy functions.
3994
3995 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3996
3997         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3998         (gst_identity_init), (gst_identity_check_perfect),
3999         (gst_identity_check_imperfect_timestamp),
4000         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4001         (gst_identity_set_property), (gst_identity_get_property):
4002         * plugins/elements/gstidentity.h:
4003         Separate out check-imperfect-timestamp and check-imperfect-offset.
4004         Put back check-perfect as it was to keep compatibility.
4005
4006 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
4007
4008         * gst/gstelement.c: (gst_element_dispose):
4009         There's no need to warn if VOID_PENDING is not NONE here, as
4010         long as the state is NULL it's ok, and that's checked immediately
4011         above.
4012
4013 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4014
4015         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4016         Fix check for perfect stream to ignore buffers with -1 
4017         offsets/offset ends when checking data contiguity.
4018
4019 2007-03-08  Wim Taymans  <wim@fluendo.com>
4020
4021         * tools/gst-launch.c: (event_loop):
4022         Print INFO messages.
4023
4024 2007-03-08  Wim Taymans  <wim@fluendo.com>
4025
4026         * libs/gst/base/gstbasetransform.c:
4027         (gst_base_transform_sink_eventfunc),
4028         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4029         (gst_base_transform_activate):
4030         * libs/gst/base/gstbasetransform.h:
4031         Add support for dropping buffers with custom GstFlowReturn.
4032         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4033         buffers or dropped buffers.
4034
4035         * docs/libs/gstreamer-libs-sections.txt:
4036         docs for new custom return code.
4037
4038         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4039         Use drop support in base class to implement drop-probability.
4040
4041 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4042
4043         * gst/gst.c: (load_plugin_func):
4044         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4045         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4046         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4047           Remove newlines at end of debug log strings.
4048
4049 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4050
4051         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4052         Only post bus message at max, once per buffer received.
4053
4054 2007-03-07  Wim Taymans  <wim@fluendo.com>
4055
4056         * docs/design/Makefile.am:
4057         * docs/design/part-synchronisation.txt:
4058         Add doc about synchronisation
4059
4060         * docs/design/draft-latency.txt:
4061         * docs/design/part-TODO.txt:
4062         * docs/design/part-clocks.txt:
4063         * docs/design/part-events.txt:
4064         * docs/design/part-gstbus.txt:
4065         * docs/design/part-gstpipeline.txt:
4066         * docs/design/part-live-source.txt:
4067         * docs/design/part-messages.txt:
4068         * docs/design/part-overview.txt:
4069         * docs/design/part-streams.txt:
4070         * docs/design/part-trickmodes.txt:
4071         Documentation updates.
4072
4073 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4074
4075         * gstreamer.doap:
4076         Update the doap file.
4077
4078 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4079
4080         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4081         Rename non-perfect to imperfect for Mike and for the sanctity of the
4082         language.
4083         Also make sure bus message gets emitted for data-incontiguities.
4084
4085 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4086
4087         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4088         (gst_identity_start):
4089         * plugins/elements/gstidentity.h:
4090         Emit bus message if check-perfect is true and we encounter a
4091         non-perfect stream between 2 consecutive buffers.
4092         Fixes #415394.
4093
4094 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4095
4096         * configure.ac:
4097         Back to CVS
4098
4099 === release 0.10.12 ===
4100
4101 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
4102
4103         * configure.ac:
4104           releasing 0.10.12, "Inevitable Demise"
4105
4106 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
4107
4108         * configure.ac:
4109          Version 0.10.11.2 (0.10.12 pre-release)
4110          Bump libtool versioning.
4111
4112 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
4113
4114         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4115           Log flow-names and not numbers.
4116
4117 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4118
4119         * configure.ac:
4120           Convert to new AG_GST style.
4121
4122 2007-02-28  Wim Taymans  <wim@fluendo.com>
4123
4124         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4125         Don't unref query twice.
4126
4127 2007-02-28  Wim Taymans  <wim@fluendo.com>
4128
4129         * gst/gstvalue.c: (gst_value_transform_object_string),
4130         (_gst_value_initialize):
4131         Implement GstObject -> string transform so we print object names
4132         when serializing GValues containing GstObjects.
4133
4134 2007-02-28  Wim Taymans  <wim@fluendo.com>
4135
4136         * docs/gst/gstreamer-sections.txt:
4137         Add new stuff to docs.
4138
4139 2007-02-28  Wim Taymans  <wim@fluendo.com>
4140
4141         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4142         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4143         (gst_base_sink_change_state):
4144         Improve latency query code.
4145         Don't leak latency events.
4146
4147         * tests/check/gst/gstbin.c: (GST_START_TEST):
4148         Improve debugging.
4149
4150 2007-02-28  Wim Taymans  <wim@fluendo.com>
4151
4152         * gst/gstelement.c: (gst_element_message_full),
4153         (gst_element_get_state_func):
4154         * gst/gstelement.h:
4155         Improve docs a little. Added Since: for new macro.
4156
4157         * gst/gstobject.c: (gst_object_sink):
4158         * gst/gstpipeline.c: (gst_pipeline_change_state),
4159         (gst_pipeline_set_new_stream_time):
4160         * gst/gstpipeline.h:
4161         Improve debugging and docs.
4162
4163         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4164         Improve debugging.
4165
4166 2007-02-28  Wim Taymans  <wim@fluendo.com>
4167
4168         * gst/gstelement.c: (gst_element_message_full),
4169         (gst_element_set_locked_state), (gst_element_get_state_func),
4170         (gst_element_change_state):
4171         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4172         Documentation updates.
4173         Small code cleanups.
4174
4175         * gst/gstmessage.c: (gst_message_new_info),
4176         (gst_message_parse_info):
4177         * gst/gstmessage.h:
4178         API: gst_message_new_info()
4179         API: gst_message_parse_info()
4180         Add INFO message create and parse code.
4181
4182 2007-02-28  Wim Taymans  <wim@fluendo.com>
4183
4184         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4185         (bin_query_latency_done):
4186         Also report the live parameter of a latency query.
4187
4188 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4189
4190         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4191           Copy the current generic/states example from -base and adapt so
4192           we can use the exact same code everywhere.
4193           Check a STATES_IGNORE_ELEMENTS env var which can be used
4194           to ignore certain element factories for this test, which is
4195           what is being done in -base
4196         * tests/check/Makefile.am:
4197           Mention this environment variable.
4198
4199 2007-02-27  Wim Taymans  <wim@fluendo.com>
4200
4201         * docs/gst/gstreamer-sections.txt:
4202         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4203         (gst_bus_timed_pop), (gst_bus_pop):
4204         * gst/gstbus.h:
4205         API: gst_bus_timed_pop()
4206         Implement gst_bus_timed_pop() to do a blocking timed wait for a
4207         message to arrive on the bus.
4208
4209         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4210         (gst_bus_suite):
4211         Two unit tests for new _timed_pop() function.
4212
4213 2007-02-23  Wim Taymans  <wim@fluendo.com>
4214
4215         * gst/gstpipeline.c: (gst_pipeline_change_state),
4216         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4217         Don't ref a NULL clock in _provide_clock_func().
4218         Don't allow an INVALID delay.
4219         Don't try to calculate base_time with an invalid start_time.
4220         Also distribute and notify a NULL clock when it was selected.
4221
4222         * tools/gst-launch.c: (event_loop):
4223         Don't crash when a NULL clock was selected in the pipeline.
4224
4225 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4226
4227         * docs/design/Makefile.am:
4228         * docs/design/draft-missing-plugins.txt:
4229         * docs/random/draft-missing-plugins.txt:
4230           Some small updates: update plugin system identifier prefix
4231           ('gstreamer.net' to 'gstreamer'), mention our new install
4232           API in libgstbaseutils rather than libgimme-codec, add
4233           reference to the online docs.
4234
4235 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4236
4237         * win32/common/config.h:
4238           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
4239           use moap cl ci to only check in what is mentioned in the ChangeLog.
4240
4241 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4242
4243         * docs/gst/gstreamer-sections.txt:
4244         * gst/gstelement.h:
4245           Fix up documentation to link to the correct GstGError section.
4246           Add GST_ELEMENT_INFO macro since someone else added a Info message.
4247
4248 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4249
4250         * tools/gst-launch.c: (event_loop):
4251           Make sure that we actually show the important message part of a
4252           warning message.
4253           No need to check if the gerror is not NULL to free; first of all
4254           g_free accepts NULL; and second the default error handler would
4255           segfault if gerror was NULL.
4256
4257 2007-02-21  Wim Taymans  <wim@fluendo.com>
4258
4259         * docs/gst/gstreamer-sections.txt:
4260         Removed docs as well.
4261
4262 2007-02-21  Wim Taymans  <wim@fluendo.com>
4263
4264         * gst/gstmessage.c: (gst_message_parse_duration):
4265         * gst/gstmessage.h:
4266         Remove new messages for release.
4267
4268 2007-02-20  Wim Taymans  <wim@fluendo.com>
4269
4270         * docs/design/part-gstghostpad.txt:
4271         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4272         (gst_ghost_pad_new_full):
4273         Make the ghostpad a parent of the internal pad again for better backward
4274         compatibility. Don't write code that relies on this however.
4275
4276         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4277         (gst_pad_link_check_hierarchy):
4278         Require that parents should be GstElements in the hierarchy check.
4279
4280 2007-02-20  Wim Taymans  <wim@fluendo.com>
4281
4282         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4283         (gst_bin_change_state_func), (bin_query_min_max_init),
4284         (bin_query_latency_fold), (bin_query_latency_done),
4285         (gst_bin_query):
4286         Improve debug info.
4287         Implement latency query.
4288
4289 2007-02-20  Wim Taymans  <wim@fluendo.com>
4290
4291         * docs/design/part-gstghostpad.txt:
4292         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4293         (gst_ghost_pad_internal_do_activate_push),
4294         (gst_ghost_pad_internal_do_activate_pull),
4295         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4296         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4297         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4298         Do not set the internal pad as a parent anymore so we can avoid
4299         hierarchy linking errors when the ghostpad has no parent yet. This also
4300         fixes failed activation because of unlinked internal pads, which in
4301         turn fixes the impossible case where you have to activate a pad before
4302         you can add it to a running element.
4303         Also fix the docs.
4304
4305         * gst/gstpad.c: (pre_activate), (post_activate),
4306         (gst_pad_set_active), (gst_pad_activate_pull),
4307         (gst_pad_activate_push), (gst_pad_check_pull_range):
4308         Add some more debug info.
4309         Mark activation mode in pre_activate so that we don't try to activate in
4310         endless loops. Fixes #385084.
4311
4312 2007-02-19  Wim Taymans  <wim@fluendo.com>
4313
4314         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4315         (gst_base_transform_check_get_range):
4316         Implement a checkgetrange function instead of relying on the default
4317         core behaviour that assumes we can operate in pull mode if we have a
4318         getrange function. First step at fixing #385084.
4319
4320 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
4321
4322         * gst/gstchildproxy.h:
4323         * libs/gst/base/gstbasesink.h:
4324         * libs/gst/base/gstbasesrc.h:
4325         * libs/gst/base/gstbasetransform.h:
4326         More docs coverage and some ChangeLog surgery (add missing names)
4327
4328 2007-02-15  Wim Taymans  <wim@fluendo.com>
4329
4330         * docs/design/part-TODO.txt:
4331         * docs/design/part-activation.txt:
4332         * docs/design/part-block.txt:
4333         * docs/design/part-buffering.txt:
4334         * docs/design/part-clocks.txt:
4335         * docs/design/part-element-source.txt:
4336         * docs/design/part-events.txt:
4337         * docs/design/part-gstbin.txt:
4338         * docs/design/part-gstbus.txt:
4339         * docs/design/part-gstpipeline.txt:
4340         * docs/design/part-live-source.txt:
4341         * docs/design/part-messages.txt:
4342         * docs/design/part-overview.txt:
4343         * docs/design/part-qos.txt:
4344         * docs/design/part-query.txt:
4345         * docs/design/part-states.txt:
4346         * docs/design/part-trickmodes.txt:
4347         Some doc updates. Start renaming from stream_time to running_time where
4348         it was used wrongly.
4349
4350 2007-02-15  Wim Taymans  <wim@fluendo.com>
4351
4352         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4353         Answer LATENCY query.
4354
4355 2007-02-15  Wim Taymans  <wim@fluendo.com>
4356
4357         * tests/check/gst/gstevent.c: (event_probe), (test_event),
4358         (GST_START_TEST):
4359         Improve debugging.
4360
4361 2007-02-15  Wim Taymans  <wim@fluendo.com>
4362
4363         * gst/gstpad.c: (gst_pad_get_internal_links_default),
4364         (gst_pad_dispatcher):
4365         Improve debugging of default pad dispatcher and query functions.
4366
4367 2007-02-15  Wim Taymans  <wim@fluendo.com>
4368
4369         * docs/gst/gstreamer-sections.txt:
4370         Remove old unused method.
4371
4372 2007-02-13  Wim Taymans  <wim@fluendo.com>
4373
4374         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4375         Fix check
4376
4377 2007-02-13  Wim Taymans  <wim@fluendo.com>
4378
4379         * docs/design/part-seeking.txt:
4380         Some small update.
4381
4382         * gst/gstsegment.c: (gst_segment_set_seek):
4383         Revert old bogus change that should make seeking work again.
4384
4385 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4386
4387         * docs/random/ensonic/dynlink.txt:
4388         * docs/random/ensonic/interfaces.txt:
4389         * docs/random/ensonic/receipies.txt:
4390           Possible dynamic reconnection api, plus some type fixes the other two
4391           docs.
4392
4393 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
4394
4395         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4396         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4397         Also check for an absolute path following file:// in the filesrc
4398         element. Remove redundant check and call g_path_is_absolute() on the
4399         unescaped location.
4400
4401 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4402
4403         * docs/design/draft-klass.txt:
4404           Add existing category analysis.
4405           
4406         * gst/gstcaps.c:
4407           Fix doc example, framerate is a fraction.
4408
4409 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4410
4411         * configure.ac:
4412         * docs/gst/Makefile.am:
4413         * docs/gst/gstreamer-sections.txt:
4414         * docs/libs/Makefile.am:
4415           Erm, forgot a bunch of --extra-dir.
4416
4417 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4418
4419         * configure.ac:
4420         * docs/gst/Makefile.am:
4421         * docs/libs/Makefile.am:
4422         * docs/plugins/Makefile.am:
4423           Add crossreferences to glib/gobject docs.
4424
4425 2007-02-12  Wim Taymans  <wim@fluendo.com>
4426
4427         * docs/design/draft-latency.txt:
4428         Small update.
4429
4430         * docs/libs/gstreamer-libs-sections.txt:
4431         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4432         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4433         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4434         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4435         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4436         (gst_base_sink_get_position), (gst_base_sink_query),
4437         (gst_base_sink_change_state):
4438         * libs/gst/base/gstbasesink.h:
4439         API: gst_base_sink_query_latency() to let subclasses query the upstream
4440         latency.
4441         API: gst_base_sink_get_latency() to let subclasses query the configured
4442         latency in the sink.
4443         Implement query and set latency.
4444         Update some docs.
4445         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4446         don't continue preroll when we are flushing. Fixes #405284.
4447
4448         * tests/check/pipelines/stress.c: (change_state_timeout),
4449         (quit_timeout), (GST_START_TEST), (stress_suite):
4450         Test for #405284.
4451
4452 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4453
4454         Patch by: René Stadler <mail at renestadler de>
4455
4456         * docs/gst/gstreamer-sections.txt:
4457         * gst/gsttaglist.c: (_gst_tag_initialize):
4458         * gst/gsttaglist.h:
4459           API: add GST_TAG_REFERENCE_LEVEL (#403597).
4460
4461 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
4462
4463         * docs/libs/Makefile.am:
4464           Fix path to core docs.
4465
4466         * gst/gstbin.c: (gst_bin_get_by_interface),
4467         (gst_bin_iterate_all_by_interface):
4468           Refix docs by also renaming 'interface' to 'iface' in implementation.
4469
4470         * docs/gst/gstreamer-sections.txt:
4471         * gst/gstcaps.c:
4472         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4473         * gst/gstchildproxy.h:
4474         * gst/gstelementfactory.c:
4475         * gst/gstpadtemplate.h:
4476         * libs/gst/controller/gstcontroller.c:
4477         (gst_controlled_property_new):
4478           Document more.
4479
4480 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
4481
4482         * gst/gstbin.h:(gst_bin_get_by_interface),
4483         (gst_bin_iterate_all_by_interface):
4484         Replace interface parameter name by iface as interface is 
4485         a reserved keyword in Visual Studio for C++ projects so it removes
4486         a build error for application developpers using VS.
4487         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4488         Fix a bug on Windows in uri format check. Now the prefix checked
4489         is file:// and next we check if the path after file:// is absolute.
4490         * win32/common/libgstbase.def:
4491         * win32/common/libgstdataprotocol.def:
4492         * win32/common/libgstgstreamer.def:
4493         Add new exported functions.
4494
4495 2007-02-09  Andy Wingo  <wingo@pobox.com>
4496
4497         * tests/check/pipelines/simple-launch-lines.c
4498         (simple_launch_lines_suite, test_tee): Disable tee test until I
4499         have time to fix it :-(
4500
4501         * tests/check/Makefile.am (noinst_HEADERS): 
4502         * tests/check/libs/libsabi.c: 
4503         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4504         * tests/check/gst/gstabi.c: 
4505         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4506
4507         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4508         tests for push and pull tee behavior.
4509
4510         * plugins/elements/gsttee.h: 
4511         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4512         mark as deprecated as well as unimplemented. It was a crack idea.
4513         Add support for tee operating in pull mode, off by default.
4514
4515         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4516         normal-case logs down to LOG, raise errors to WARNING.
4517         (gst_registry_xml_read_cache): Don't log before calling a function
4518         that logs.
4519
4520         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4521         exit (registry finalize).
4522         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4523         DEBUG log when we emit signals that people don't even have the
4524         chance to connect to.
4525         (gst_registry_scan_path_level): Less logging in the normal case.
4526
4527 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4528
4529         Patch by: Michal Benes <michal dot benes at itonis dot tv>
4530
4531         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4532         Correctly generate EOS for non-seekable files. We don't have a total
4533         length for them and would get an unexpected end of file if we only
4534         special-cased for regular files. (Fixes: #404569)
4535
4536 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4537
4538         * tests/check/elements/filesrc.c: (GST_START_TEST),
4539         (filesrc_suite):
4540         Add unit test for the GstURIHandler interface in filesrc. This also
4541         tests the newly added file://localhost/foo/bar support.
4542
4543 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4544
4545         * gst/gstelementfactory.h:
4546           The klass string is not a hierarchy. Add reference to the design doc
4547           for more information and common types.
4548
4549 2007-02-02  Wim Taymans  <wim@fluendo.com>
4550
4551         * gst/gstquery.c: (gst_query_new_latency):
4552         Remove old structure field.
4553
4554 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
4555
4556         * tools/gst-launch.1.in:
4557           Give example for network streaming (#351998)
4558
4559 2007-02-02  Wim Taymans  <wim@fluendo.com>
4560
4561         * docs/gst/gstreamer-sections.txt:
4562         Add docs for new methods.
4563
4564         * gst/gstevent.c: (gst_event_new_latency),
4565         (gst_event_parse_latency):
4566         * gst/gstevent.h:
4567         Add new LATENCY event to configure latency in a pipeline.
4568         API: gst_event_new_latency
4569         API: gst_event_parse_latency
4570
4571         * gst/gstmessage.c: (gst_message_new_buffering),
4572         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4573         (gst_message_new_latency), (gst_message_parse_buffering),
4574         (gst_message_parse_lost_preroll):
4575         * gst/gstmessage.h:
4576         Added messages used in draft-latency.
4577         API: gst_message_new_lost_preroll
4578         API: gst_message_parse_lost_preroll
4579         API: gst_message_new_prerolled
4580         API: gst_message_new_latency
4581
4582         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4583         (gst_query_parse_latency):
4584         * gst/gstquery.h:
4585         Implemented new latency query as in design doc.
4586         API: gst_query_new_latency
4587         API: gst_query_set_latency
4588         API: gst_query_parse_latency
4589
4590 2007-02-02  Wim Taymans  <wim@fluendo.com>
4591
4592         * docs/design/draft-latency.txt:
4593         Slight redesign to allow for dynamic latency adjustments.
4594
4595         * docs/design/part-negotiation.txt:
4596         Fix some typos.
4597
4598 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4599
4600         reviewed by: Wim Taymans <wim@fluendo.com>
4601
4602         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4603         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4604         Allow file://localhost/foo/bar URLs and correctly fail for every other
4605         hostname that one sets. This was gnomevfssrc is linked for those if
4606         installed as it can handle it (#403172)
4607
4608 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4609
4610         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4611
4612         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4613         (unref_data), (gst_collect_pads_add_pad_full):
4614         * libs/gst/base/gstcollectpads.h:
4615         Don't put the previously added destroy notify in the GstCollectData
4616         struct as all it's padding is already used and we don't want to break
4617         ABI. Instead put in the pad's GObject data for now. This should be
4618         cleaned up for 0.11 (#402393).
4619
4620 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4621
4622         reviewed by: Wim Taymans <wim@fluendo.com>
4623
4624         * docs/libs/gstreamer-libs-sections.txt:
4625         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4626         (unref_data), (gst_collect_pads_add_pad),
4627         (gst_collect_pads_add_pad_full):
4628         * libs/gst/base/gstcollectpads.h:
4629         API: Add function to specify a destroy notification for custom
4630         GstCollectData when adding new pads in GstCollectPads (#402393).
4631
4632 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
4633
4634         * po/sv.po:
4635           Update Swedish translation (#378255).
4636
4637 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4638
4639         * docs/design/draft-klass.txt:
4640           Fix the previous change, this is a list of categories and not a hierarchy.
4641
4642 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4643
4644         * docs/design/draft-klass.txt:
4645           Add info about how to get a list of used classes.
4646
4647 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
4648
4649         * plugins/elements/gsttypefindelement.c:
4650         (gst_type_find_element_chain_do_typefinding),
4651         (gst_type_find_element_change_state):
4652           Don't leak found caps in chain function (no idea why that never
4653           showed up as a leak anywhere).
4654
4655 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
4656
4657         * gst/gstplugin.h:
4658           Fix and expand GstPluginDesc API docs.
4659
4660 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4661
4662         * gst/gstcaps.c:
4663         * gst/gstelementfactory.c:
4664         * gst/gstpadtemplate.h:
4665           api doc fixes
4666
4667         * libs/gst/controller/gstcontroller.c:
4668         (gst_controlled_property_new):
4669         * tests/examples/controller/audio-example.c:
4670           comment fixes
4671
4672 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4673
4674         * configure.ac:
4675           comment about refining the xml deps
4676
4677         * docs/manuals.mak:
4678           comments about moving away from jade for docs
4679         
4680         * gst/gst.c:
4681           recommit the ifdefs to use the binary registry
4682         
4683         * gst/gstbin.c: (gst_bin_change_state_func):
4684           this break is obsolete
4685
4686         * gst/gstelementfactory.h:
4687           better GST_ELEMENT_DETAILS docs, add comment about translation
4688
4689         * gst/gstinfo.h:
4690           remove eol slash
4691
4692         * gst/gstobject.c: (gst_signal_object_get_type):
4693           add G_UNLIKELY as usual
4694
4695         * gst/gstpad.c: (gst_pad_event_default):
4696           add fall trhu comment
4697
4698         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4699         (gst_registry_binary_initialize_magic),
4700         (gst_registry_binary_save_string),
4701         (gst_registry_binary_save_pad_template),
4702         (gst_registry_binary_save_feature),
4703         (gst_registry_binary_save_plugin),
4704         (gst_registry_binary_write_cache),
4705         (gst_registry_binary_check_magic),
4706         (gst_registry_binary_load_pad_template),
4707         (gst_registry_binary_load_feature),
4708         (gst_registry_binary_load_plugin),
4709         (gst_registry_binary_read_cache):
4710           comment typo and formatting
4711
4712         * gst/gstutils.c: (gst_element_state_get_name),
4713         (gst_element_state_change_return_get_name):
4714           remove obsolete breaks
4715
4716         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4717           add FIXME 0.11 and remove cpp comment
4718
4719 2007-01-29  Edward Hervey  <edward@fluendo.com>
4720
4721         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4722         Fix print statement in an even more portable way.
4723
4724 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
4725
4726         * docs/gst/gstreamer-sections.txt:
4727         * gst/gstutils.h:
4728           API: add GST_ROUND_DOWN_* macros (#401781).
4729
4730 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
4731
4732         * docs/gst/gstreamer.types.in:
4733         * gst/gstregistry.c: (gst_registry_class_init):
4734           Document registry signals and make gtk-doc pick them up (#401381).
4735
4736 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4737
4738         * docs/pwg/building-testapp.xml:
4739           Add some audioconverts and audioresample to the pipeline, and some
4740           more comments and error handling.
4741
4742 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4743
4744         * docs/manual/manual.xml:
4745         * docs/pwg/pwg.xml:
4746           Fix typo (#400987).
4747
4748 2007-01-26  Wim Taymans  <wim@fluendo.com>
4749
4750         * gst/gstcaps.c: (gst_static_caps_get):
4751         Init caps flags too.
4752
4753 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
4754
4755         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4756
4757         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4758         If not using mmap'ed files try to seek to the end instead of the
4759         start to determine whether we can seek at all. This fixes the case
4760         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4761         seeks for everything afterwards fail. Fixes #400656
4762
4763 2007-01-25  Wim Taymans  <wim@fluendo.com>
4764
4765         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4766         Add some refcount debugging.
4767         Make gst_static_caps_get threadsafe, which is needed when autoplugging
4768         in multiple streaming threads.
4769
4770 2007-01-25  Wim Taymans  <wim@fluendo.com>
4771
4772         Patch by: David Schleef <ds at schleef dot org>
4773
4774         * docs/libs/gstreamer-libs-sections.txt:
4775         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4776         * libs/gst/base/gstadapter.h:
4777         API: gst_adapter_copy() that can reduce the amount of memcpy when
4778         getting data from the adapter. Fixes #388201.
4779
4780 2007-01-25  Edward Hervey  <edward@fluendo.com>
4781
4782         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4783         In print statements, "%x" is for guint. Fixes build on macosx.
4784
4785 2007-01-24  Edward Hervey  <edward@fluendo.com>
4786
4787         * plugins/elements/gstmultiqueue.c:
4788         (gst_multi_queue_loop):
4789         Small fix.
4790         (single_queue_overrun_cb), (single_queue_underrun_cb),
4791         (single_queue_check_full), (gst_single_queue_new):
4792         Implement single queue growth system.
4793         This uses the extra-size properties, and will grow single queues by
4794         that much if one goes full whereas there are others empty. This is
4795         called extra-mode in the code.
4796         When a single queue's levels go back below the initial max-size
4797         limits, it is no longer in extra-mode. This is to ensure we don't
4798         consume too much memory.
4799         Fixes #399875
4800
4801 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
4802
4803         * gst/gst.c: (gst_init_get_option_group):
4804           Make warning about late g_thread_init() calls a bit more explicit,
4805           so that it's more obvious to application developers what they need
4806           to do if a user files a bug against their application.
4807
4808 2007-01-22  Edward Hervey  <edward@fluendo.com>
4809
4810         * plugins/elements/gstmultiqueue.c:
4811         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4812         Remove previous hack of unsetting the flushing flag for the source pad
4813         instead of activating it. Instead, fix the source pad activate function
4814         so that it no longer depends on having a parent set or not.
4815
4816 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
4817
4818         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4819
4820         * docs/manual/basics-bus.xml:
4821           Fix example code, gst_element_unref() doesn't exist any longer.
4822
4823 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
4824
4825         Patch by: Mark Nauwelaerts <manauw at skynet be>
4826
4827         * gst/gstpad.c:
4828           Fix two docs typoes (#399094).
4829
4830 2007-01-19  Edward Hervey  <edward@fluendo.com>
4831
4832         * docs/faq/gst-uninstalled:
4833         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4834         depending on libgstbaseutils can work in uninstalled environment.
4835
4836 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
4837
4838         * gst/gsttaglist.h:
4839         * gst/gsttagsetter.c:
4840         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4841         statement for new tag.
4842
4843 2007-01-17  Edward Hervey  <edward@fluendo.com>
4844
4845         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4846         When dynamically creating single queues, activate sinkpad before adding
4847         it.
4848         We should be doing the same thing for the source pad, but we can't
4849         since it would call a method which needs the parent to be set in order
4850         to work propertly. Instead of activating the source pad, we just unset
4851         the flushing flag, which is the minimal requirement for adding a pad
4852         to an element in a state greater than READY.
4853
4854 2007-01-17  Edward Hervey  <edward@fluendo.com>
4855
4856         * docs/faq/gst-uninstalled:
4857         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4858         Mac OS X.
4859
4860 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4861
4862         * tests/check/gst/gstabi.c:
4863         * tests/check/gst/struct_hppa.h:
4864         * tests/check/libs/libsabi.c:
4865         * tests/check/libs/struct_hppa.h:
4866           Add ABI structs for HPPA (see #393796).
4867
4868 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
4869
4870         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4871           Actually write ABI structs to the file specified in the GST_ABI
4872           environment variable, as the message we print claims we would.
4873
4874 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4875
4876         * tests/check/gst/gsttask.c:
4877           Fix header comment.
4878
4879 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4880
4881         * gst/gsttaglist.c: (_gst_tag_initialize):
4882           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4883           previous two entries.
4884
4885 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4886
4887         * docs/gst/gstreamer-sections.txt:
4888         * gst/gsttaglist.c: (_gst_tag_initialize):
4889         * gst/gsttaglist.h:
4890           Add tag support for beat-per-minute.
4891
4892 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4893
4894         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4895         (gst_registry_binary_initialize_magic),
4896         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4897         (gst_registry_binary_save_pad_template),
4898         (gst_registry_binary_save_feature),
4899         (gst_registry_binary_save_plugin),
4900         (gst_registry_binary_write_cache),
4901         (gst_registry_binary_check_magic),
4902         (gst_registry_binary_load_pad_template),
4903         (gst_registry_binary_load_feature),
4904         (gst_registry_binary_load_plugin),
4905         (gst_registry_binary_read_cache):
4906         * gst/gstregistrybinary.h:
4907           Use glib types, cleanup comments, impement interfaces and uri-types.
4908
4909 2007-01-13  Andy Wingo  <wingo@pobox.com>
4910
4911         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4912         getrange() to return buffers with other caps, while we fix
4913         demuxers and typefind, or otherwise change part-negotiation.txt.
4914
4915 2007-01-12  Andy Wingo  <wingo@pobox.com>
4916
4917         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4918         Factor start/stop into this private function instead of partially
4919         in activate functions and partially in the change_state function.
4920         Fixes setup before the element has changed from READY->PAUSED, as
4921         is the case in pull-mode pipelines.
4922         (gst_base_transform_sink_activate_push)
4923         (gst_base_transform_src_activate_pull): Refactor to use
4924         gst_base_transform_activate().
4925         (gst_base_transform_change_state): Removed, not needed any more.
4926
4927         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4928         Truncate before fixating.
4929         
4930         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4931         Don't set_caps() if the result of fixating is ANY, as it's not
4932         supported, and not necessary in the case of a link with no
4933         template caps on either side. Fixes tests/check/libs/basesrc in
4934         some pull-mode tests.
4935
4936         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4937         (gst_base_transform_init, gst_base_transform_sink_activate_push)
4938         (gst_base_transform_src_activate_pull): 
4939         Track the activation mode.
4940         (gst_base_transform_setcaps): In pull mode, when activating the
4941         src pad, after activating the sink pad, activate the sink pad's
4942         peer, as discussed in part-negotiation.txt.
4943
4944         * libs/gst/base/gstbasesrc.h: 
4945         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4946         vmethod, as in basesink.
4947
4948         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4949
4950         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4951         mode, first proxy the setcaps to the peer pad.
4952         (gst_base_sink_pad_fixate): Add a fixate function that calls the
4953         new fixate vmethod.
4954         (gst_base_sink_default_activate_pull): Rename from
4955         gst_base_sink_activate_pull.
4956         (gst_base_sink_negotiate_pull): New function, performs negotiation
4957         in pull mode before calling ::activate_pull().
4958         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4959         vmethod instead of the default implementation. I have no idea how
4960         this worked before. Negotiate before calling activate_pull.
4961
4962         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4963         sink pads in pull mode. In addition to being correct, fixes
4964         filesrc ! decodebin ! identity ! fakesink.
4965         (gst_pad_get_range, gst_pad_pull_range): Don't call
4966         gst_pad_set_caps() if the caps changes; instead error out with
4967         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4968
4969 2007-01-12  Andy Wingo  <wingo@pobox.com>
4970
4971         * docs/design/part-negotiation.txt: Update with more policy.
4972
4973 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4974
4975         * libs/gst/check/gstbufferstraw.h:
4976         * libs/gst/check/gstcheck.h:
4977           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4978           belongs.
4979
4980 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4981
4982         * tests/check/Makefile.am:
4983         * tests/check/gst/.cvsignore:
4984         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4985         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4986         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4987         (GST_START_TEST), (gst_tag_setter_suite):
4988           Add minimal unit test for beforementioned GstTagSetter bug.
4989
4990 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4991
4992         Patch by: René Stadler <mail at renestadler dot de>
4993
4994         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4995           gst_tag_list_merge() returns a new list, so it's not the best idea
4996           to ingore its return value. Effectively meant that tags could only
4997           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4998           Also add function guard to require a non-NULL taglist as input (has
4999           always been so due to gst_tag_list_copy(), just making it explicit).
5000
5001 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5002
5003         * docs/random/draft-missing-plugins.txt:
5004           Some additions: mention new API that is supposed to be used at the
5005           various stages; short blob about new gst-inspect introspection
5006           option; mention potential future problem with plugins that have
5007           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5008
5009 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5010
5011         * tools/gst-inspect.c:
5012         (print_plugin_automatic_install_info_codecs),
5013         (print_plugin_automatic_install_info_protocols),
5014         (print_plugin_automatic_install_info), (main):
5015         Add --print-plugin-auto-install-info option to gst-inspect, so we can
5016         introspect plugin files and get machine-parsable output that corresponds
5017         to the last bit of the missing-plugin installer string (small gotcha:
5018         doesn't take into account ranks).
5019
5020 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
5021
5022         * configure.ac:
5023         * docs/gst/gstreamer-sections.txt:
5024         * gst/Makefile.am:
5025         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5026         (gst_registry_lookup_locked):
5027         * gst/gstregistry.h:
5028         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5029         (gst_registry_binary_initialize_magic),
5030         (gst_registry_binary_save_string),
5031         (gst_registry_binary_save_pad_template),
5032         (gst_registry_binary_save_feature),
5033         (gst_registry_binary_save_plugin),
5034         (gst_registry_binary_write_cache),
5035         (gst_registry_binary_check_magic),
5036         (gst_registry_binary_load_pad_template),
5037         (gst_registry_binary_load_feature),
5038         (gst_registry_binary_load_plugin),
5039         (gst_registry_binary_read_cache):
5040         * gst/gstregistrybinary.h:
5041         * gst/gstregistryxml.c: (load_feature),
5042         (gst_registry_xml_read_cache):
5043           commit binary registry (disabled by default, see #359653)
5044
5045 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5046
5047         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5048           Fix 'make check' too.
5049
5050 2007-01-10  Andy Wingo  <wingo@pobox.com>
5051
5052         * docs/design/part-negotiation.txt: Fix a typo, add a couple
5053         notes.
5054         
5055         * docs/design/part-negotiation.txt: Update with, um, one way that
5056         pull-mode negotiation might work?
5057
5058         * gst/gstpad.h: 
5059         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5060         that the pad must be a src pad; makes sense to call it the other
5061         way in pull mode, and the logic is symmetric anyway.
5062
5063 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5064
5065         * plugins/elements/gstfilesink.c:
5066           Include <stdio.h> for fseeko().
5067
5068 2007-01-10  Wim Taymans  <wim@fluendo.com>
5069
5070         * gst/gstevent.c:
5071         * gst/gstevent.h:
5072         Reserve LATENCY event.
5073
5074 2007-01-09  Wim Taymans  <wim@fluendo.com>
5075
5076         * docs/design/draft-latency.txt:
5077         Updates.
5078
5079 2007-01-09  Wim Taymans  <wim@fluendo.com>
5080
5081         * docs/design/draft-latency.txt:
5082         Updates.
5083
5084         * gst/gstelement.h:
5085         * gst/gststructure.c:
5086         * gst/gsttrace.c:
5087         Small typo fixes.
5088
5089 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5090
5091         * tests/check/.cvsignore:
5092           Ignore test-registry.xml as well.
5093
5094 2007-01-09  Wim Taymans  <wim@fluendo.com>
5095
5096         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5097         unref data at the end when we are done with the pad.
5098
5099 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5100
5101         * docs/gst/gstreamer-sections.txt:
5102         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5103         (init_post), (gst_deinit), (gst_update_registry):
5104         * gst/gst.h:
5105           API: add gst_update_registry() (#391296).
5106
5107         * tests/check/Makefile.am:
5108         * tests/check/gst/gstregistry.c:
5109         * tests/check/gst/.cvsignore:
5110           Simple unit test for the above.
5111
5112 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5113
5114         * gst/gstregistry.c: (gst_registry_scan_path_level):
5115           Plugin extension on HP-UX is .sl, add that to the list of approved
5116           plugin extensions (see #393796).
5117
5118         * tests/check/gst/gstpad.c: (GST_START_TEST):
5119           ulong => gulong. Fixes compilation with HP-UX compiler.
5120
5121         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5122           Fix compilation if valgrind headers are not available.
5123
5124 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
5125
5126         * win32/common/libgstreamer.def: 
5127           Add new exported function.
5128         * win32/vs6/libgstbase.dsp: 
5129           Add gstdataqueue.c to the build.
5130         * win32/vs6/libgstcoreelements.dsp:
5131           Add gstmultiqueue.c to the build.
5132         
5133 2007-01-06  Andy Wingo  <wingo@pobox.com>
5134
5135         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5136         activate_pull(), providing for a way to specialize the process of
5137         spawning a thread to pull on the sink pad. There is a default
5138         implementation.
5139
5140         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5141         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5142         (gst_base_sink_init): Renamed pad activation functions (inserting
5143         "_pad" in their names). Refactor to use the new activate_pull
5144         vmethod, as appropriate.
5145         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5146         default activate_pull function to start a task pulling from the
5147         sink pad, as before.
5148
5149         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5150         on the pads if necessary, as in push()/chain(). Update docs.
5151         Shouldn't affect existing pull() usage as it is currently only
5152         being used on buffers without caps.
5153
5154 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5155
5156         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5157         (init_pre):
5158           Call g_thread_init() first thing in gst_init() / gst_check_init().
5159           When initialisation is done via gst_init_get_option_group() and
5160           GOption parsing, issue a warning if the GLib thread system has not
5161           been initialised yet by the time gst_init_get_option_group() is
5162           called, as it's quite likely other GLib functions such as
5163           g_option_context_new() have been called already then, and
5164           g_thread_init() must be called before any other GLib function. The
5165           application in question must be fixed in that case, since memory
5166           corruption might happen otherwise.
5167           We issue the warning because even if the GLib folks decide to work
5168           around the problem on their end in future, this is still an issue
5169           with all GLib versions >= 2.10.0, so we should warn until we depend
5170           on a GLib version we know to be safe.
5171           Update documentation as well.
5172           Closes bug #391278.
5173
5174 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5175
5176         * tools/gst-inspect.c: (main):
5177         * tools/gst-launch.c: (main):
5178         * tools/gst-typefind.c: (main):
5179         * tools/gst-xmlinspect.c: (main):
5180           Call g_thread_init() really really early, before any other GLib
5181           function (see #342564 and recent discussion on gtk-devel-list).
5182
5183 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5184
5185         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
5186
5187         * gst/gst_private.h:
5188         * gst/gstconfig.h.in:
5189         * gst/gstinfo.h:
5190           On win32, all the __declspec stuff for symbol exporting is
5191           apparently only needed with MSVC, but doesn't work with MingW.
5192           Fixes compilation with MingW and #391909.
5193
5194 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5195
5196         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5197           Change some GST_ERROR_OBJECT that aren't really errors to
5198           GST_WARNING_OBJECT in order to reduce terminal spam.
5199
5200 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5201
5202         * tests/check/Makefile.am:
5203           disable test again, as there seem to be still race problems
5204
5205 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5206
5207         * tests/check/Makefile.am:
5208         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5209         (GST_START_TEST), (queue_suite):
5210           enable queue test again, add tests for the leaky behaviour
5211
5212 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
5213
5214         * configure.ac:
5215         * tests/examples/Makefile.am:
5216           Compile adapter test/example only if the required headers are
5217           available (fixes #391915).
5218
5219 2007-01-01  David Schleef  <ds@schleef.org>
5220
5221         * gst/gstplugin.c:
5222           Restore the previous signal handler for SIGSEGV instead of
5223           setting to default, since we may have stolen it away from
5224           someone.  (i.e., Mono)
5225
5226 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5227
5228         * docs/random/draft-missing-plugins.txt:
5229           Some small additions and clarifications.
5230
5231 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5232
5233         * gst/gstregistryxml.c: (gst_registry_save_escaped):
5234           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5235           since that can lead to random memory corruptions and crashes
5236           (may or may not be related to #383244, #386711, and #386711).
5237
5238 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5239
5240         * tests/check/.cvsignore:
5241         * tests/check/Makefile.am:
5242           sync .cvsignome and CLEANFILES
5243
5244 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5245
5246         * tests/check/Makefile.am:
5247           fix distcheck
5248
5249 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5250
5251         * docs/design/part-states.txt:
5252           two tiny additional comments
5253         
5254         * gst/gststructure.c:
5255           doc fixing
5256
5257         * tests/check/Makefile.am:
5258         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5259         (GST_START_TEST):
5260           disable test for now, unless it gets fixed
5261
5262 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5263
5264         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5265         (GST_START_TEST):
5266           fix race in underrun test
5267
5268 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5269
5270         * tests/check/elements/.cvsignore:
5271           ignore more
5272
5273         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5274         (GST_START_TEST):
5275           try to narrow test failure
5276
5277 2006-12-21  David Schleef  <ds@schleef.org>
5278
5279         * plugins/elements/gstfakesrc.c:
5280           Use g_random_int_range(), since it produces better random
5281           numbers in a range than almost-correct floating point code.
5282
5283 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5284
5285         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5286         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5287         (gst_check_teardown_sink_pad):
5288           do not automatically (de)activate pads
5289
5290         * tests/check/Makefile.am:
5291         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5292         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5293           add new, yet simple tests for queue
5294
5295         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5296         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5297         * tests/check/elements/filesrc.c: (cleanup_filesrc),
5298         (GST_START_TEST):
5299         * tests/check/elements/identity.c: (cleanup_identity):
5300           consistent pad (de)activation
5301
5302 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5303
5304         Patch by: Sebastian Dröge  <slomo ubuntu com>
5305
5306         * libs/gst/base/gstcollectpads.c:
5307           Fix two doc typos (#387866).
5308
5309 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5310
5311         * docs/manual/advanced-dparams.xml:
5312           Fix typo (g_object_control_properties() doesn't exist).
5313
5314 2006-12-19  Edward Hervey  <edward@fluendo.com>
5315
5316         * gst/gstsegment.c: (gst_segment_set_seek):
5317         Fine tune the cases where the segment start/stop values are really
5318         updated.
5319         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5320         Add tests for the return values of gst_segment_set_seek().
5321
5322 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5323
5324         * gst/gst.c:
5325           Docs typo fix.
5326
5327         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5328         (gst_queue_init):
5329           Fix incorrect documentation and flesh it out a bit more.
5330           Set default values for the max properties on the GParamSpec as well,
5331           so it shows up correctly in gst-inspect.
5332
5333 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
5334
5335         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5336           Correct docs of queue, add more detail and crosslink it more.
5337
5338 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5339
5340         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5341           Print additional debug info when the stream isn't perfectly
5342           timestamped; don't try to use invalid durations.
5343
5344 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5345
5346         * docs/design/Makefile.am:
5347           Dist new design docs.
5348
5349 2006-12-16  Wim Taymans  <wim@fluendo.com>
5350
5351         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5352
5353         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5354         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5355         (gst_collect_pads_stop), (gst_collect_pads_event),
5356         (gst_collect_pads_chain):
5357         * libs/gst/base/gstcollectpads.h:
5358         Add refcounting to the collectpads data so we can track when it's safe
5359         to free the data. Fixes #383382.
5360
5361 2006-12-15  Wim Taymans  <wim@fluendo.com>
5362
5363         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5364         (gst_collect_pads_remove_pad):
5365         Automatically activate/deactivate pads when they are added to a
5366         started/stoped collectpads.
5367
5368 2006-12-15  Wim Taymans  <wim@fluendo.com>
5369
5370         * gst/gstelement.c: (gst_element_add_pad):
5371         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5372         * gst/gstpad.c: (gst_pad_init):
5373         Set pads to FLUSHING when they are created. Check, warn and fix when a
5374         demuxer adds an inactive pad to itself when running. Fixes #339326.
5375
5376 2006-12-15  Wim Taymans  <wim@fluendo.com>
5377
5378         * gst/gstelement.c: (gst_element_class_init),
5379         (gst_element_default_send_event), (gst_element_send_event),
5380         (gst_element_default_query), (gst_element_query):
5381         Expose default element send_event and query handling as vmethods that
5382         subclasses can chain up to.
5383
5384 2006-12-15  Wim Taymans  <wim@fluendo.com>
5385
5386         * gst/gstelement.c: (gst_element_set_state_func):
5387         Small documentation fixes.
5388
5389 2006-12-15  Wim Taymans  <wim@fluendo.com>
5390
5391         * docs/design/draft-latency.txt:
5392         Checked in draft for handling latency in pipelines.
5393
5394 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5395
5396         * Makefile.am:
5397         * gstreamer.doap:
5398         * gstreamer.spec.in:
5399           adding .doap file
5400
5401 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
5402
5403         * gst/gst.c: (init_pre), (init_post):
5404           init_pre() and init_post() might be called via our GOptionGroup or
5405           from gst_init(), and we should skip both of them if we've already
5406           been initialised, otherwise we will init some things twice or add
5407           two default log functions.
5408
5409 2006-12-13  Edward Hervey  <edward@fluendo.com>
5410
5411         * docs/manual/basics-bus.xml:
5412         No, gst_main_loop does not exist. Its g_main_loop.
5413         Discovered by somebody who abused the copy-paste technique of coding :)
5414
5415 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5416
5417         * gst/gstghostpad.c:
5418           Log ghostpad debug stuff to the GST_PADS category as well rather
5419           than just to the default category.
5420
5421 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5422
5423         * configure.ac:
5424         * gst/gst.c: (init_pre):
5425           Add some basic system details such as OS and architecture
5426           to the debug output if possible, courtesy of uname().
5427
5428 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5429
5430         * docs/gst/running.xml:
5431           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5432           environment variables.
5433
5434 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5435
5436         * tests/check/gst/gstbin.c: (GST_START_TEST):
5437         It is acceptable to have a refcount of 2 or 3 at this point in the
5438         test, because the pipeline might be just posting its state_change
5439         message. The next line then waits for that message to appear using
5440         bus_poll, so that should be fine too.
5441
5442 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5443
5444         * gst/gst.c: (ensure_current_registry_forking):
5445         Ignore EINTR when reading from the child registry pipe.
5446         Explicitly ignore the return value from close, since it makes no
5447         difference.
5448
5449         * gst/gstminiobject.c: (gst_mini_object_ref),
5450         (gst_mini_object_unref):
5451         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5452
5453         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5454         When removing cached plugins, remove their features too, so they're
5455         not visible after they've disappeared.
5456
5457         * gst/gstutils.c: (prepare_link_maybe_ghosting):
5458         In the unlikely case that we are linking pads with no parents, don't
5459         crash trying to get the non-existent parent bin.
5460
5461         * gst/parse/grammar.y:
5462         Output debug in the PIPELINE category
5463
5464 2005-03-08  Wim Taymans  <wim@fluendo.com>
5465
5466         Patch by: René Stadler <mail at renestadler dot de>
5467
5468         * gst/gstclock.c: (gst_clock_new_periodic_id):
5469         Reject invalid clock times for interval of periodic ids.
5470         Fixes ##383506.
5471
5472 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5473
5474         * gst/gstelementfactory.c: (gst_element_factory_create):
5475         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5476         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5477         * tools/gst-inspect.c: (print_element_info):
5478         Fix refcounting of gst_plugin_feature_load to match the docs. 
5479         Fixes: #380129
5480
5481 2006-12-07  Wim Taymans  <wim@fluendo.com>
5482
5483         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5484         (gst_base_sink_get_position):
5485         Improve debugging of events.
5486
5487 2006-12-07  Wim Taymans  <wim@fluendo.com>
5488
5489         Patch by: René Stadler <mail at renestadler dot de>
5490
5491         * gst/gstclock.c: (gst_clock_id_wait):
5492         Make period ids add the interval to the origial requested time instead
5493         of the possibly updated time which can be wrong when there are multiple
5494         waiters for the same id. Fixes #382592.
5495
5496         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5497         (gst_system_clock_id_wait_jitter_unlocked),
5498         (gst_system_clock_id_wait_jitter):
5499         Fix restart in the async notify thread when an async entry is added to
5500         the front of the list. Fixes #381492. 
5501
5502         * tests/check/gst/gstsystemclock.c: (store_callback),
5503         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5504         Added test for multiple async waits.
5505         Added test for async wait order.
5506
5507 2006-12-07  Wim Taymans  <wim@fluendo.com>
5508
5509         * gst/gstbin.c: (gst_bin_query):
5510         Add some more docs about the POSITION query.
5511
5512 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5513
5514         * configure.ac:
5515         Bump version nano - back to CVS.
5516
5517 === release 0.10.11 ===
5518
5519 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
5520
5521         * configure.ac:
5522           releasing 0.10.11, "Love never runs on time"
5523
5524 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
5525
5526         * win32/common/libgstbase.def:
5527         * win32/common/libgstreamer.def:
5528         * win32/vs8/libgstbase.vcproj:
5529         * win32/vs8/libgstcoreelements.vcproj:
5530         * win32/vs8/libgstreamer.vcproj:
5531         Fix compilation on win32 under VS8
5532         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5533         Partially fixes #381175
5534
5535 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5536
5537         * gst/gstvalue.c: (gst_value_compare_fraction):
5538         If someone is foolish enough to compare 2 fractions with denominator =
5539         0, return UNORDERED rather than aborting.
5540
5541 2006-11-28  Edward Hervey  <edward@fluendo.com>
5542
5543         * libs/gst/base/Makefile.am:
5544         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5545         (gst_data_queue_base_init), (gst_data_queue_class_init),
5546         (gst_data_queue_init), (gst_data_queue_new),
5547         (gst_data_queue_cleanup), (gst_data_queue_finalize),
5548         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5549         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5550         (gst_data_queue_is_empty), (gst_data_queue_is_full),
5551         (gst_data_queue_set_flushing), (gst_data_queue_push),
5552         (gst_data_queue_pop), (gst_data_queue_drop_head),
5553         (gst_data_queue_set_property), (gst_data_queue_get_property):
5554         * libs/gst/base/gstdataqueue.h:
5555         New GstDataQueue object for threadsafe queueing. Most useful for
5556         elements that need some queueing functionnality.
5557         * docs/libs/gstreamer-libs-docs.sgml:
5558         * docs/libs/gstreamer-libs-sections.txt:
5559         Insert documentation for GstDataQueue
5560         * plugins/elements/Makefile.am:
5561         * plugins/elements/gstelements.c:
5562         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5563         (gst_multi_queue_class_init), (gst_multi_queue_init),
5564         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5565         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5566         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5567         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5568         (gst_multi_queue_loop), (gst_multi_queue_chain),
5569         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5570         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5571         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5572         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5573         (wake_up_next_non_linked), (compute_next_non_linked),
5574         (single_queue_overrun_cb), (single_queue_underrun_cb),
5575         (single_queue_check_full), (gst_single_queue_new):
5576         * plugins/elements/gstmultiqueue.h:
5577         New multiqueue element, using GstDataQueue. Used for queuing multiple
5578         streams.
5579         Closes #344639 and #347785
5580
5581 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
5582
5583         * docs/pwg/advanced-types.xml:
5584           add more missing type details
5585
5586         * tools/gst-run.c: (main):
5587           remove unused variable
5588
5589 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
5590
5591         * docs/libs/Makefile.am:
5592         * docs/libs/gstreamer-libs.types:
5593           add types of base classes to enable gobject specific stuff in the docs
5594
5595         * docs/random/ensonic/embedded.txt:
5596           more ideas about isolating platform specific things
5597
5598 2006-11-20  Wim Taymans  <wim@fluendo.com>
5599
5600         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5601
5602         * libs/gst/check/gstcheck.h:
5603         Fix compilation and running against 0.9.4. Fixes #377332.
5604
5605 2006-11-20  Wim Taymans  <wim@fluendo.com>
5606
5607         * gst/gstsegment.c: (gst_segment_set_seek),
5608         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5609         (gst_segment_to_running_time):
5610         Fix boundary checking in to_running_time() and to_stream_time().
5611         Fixes #377183.
5612
5613         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5614         stream and running time can now be calculated for the complete
5615         clipped segment.
5616
5617 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
5618
5619         * gst/gstpad.c: (gst_pad_push_event):
5620           Can't access event structure after giving away ownership of
5621           the event.
5622
5623 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
5624
5625         * docs/random/ensonic/embedded.txt:
5626         * docs/random/ensonic/profiling.txt:
5627         * docs/random/ensonic/receipies.txt:
5628           more thinking
5629
5630 2006-11-13  Wim Taymans  <wim@fluendo.com>
5631
5632         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5633
5634         * gst/gstpad.c:
5635         Fix documentation for gst_pad_dispatcher. Fixes #374475.
5636
5637 2006-11-13  Wim Taymans  <wim@fluendo.com>
5638
5639         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5640
5641         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5642         Store new length in segment duration so we don't keep on calling the
5643         potentially expensize get_size() call. Fixes #370865.
5644
5645 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
5646
5647         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
5648
5649         * win32/common/libgstreamer.def:
5650           Add two missing symbols (#366492).
5651
5652 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
5653
5654         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5655         (gst_adapter_take_buffer):
5656         Fix format string to use all its arguments.
5657         Remove useless >= check on a guint
5658
5659 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5660
5661         * tests/examples/adapter/.cvsignore:
5662         Ignore build file as commanded by the build-bot
5663
5664 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5665
5666         * tests/examples/adapter/Makefile.am:
5667         * tests/examples/adapter/adapter_test.c: (run_test_take),
5668         (run_test_take_buffer), (run_tests), (main):
5669
5670         Add new files from the previous commit
5671
5672 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5673
5674         * Makefile.am:
5675         * configure.ac:
5676         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5677         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5678         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5679         * libs/gst/base/gstadapter.h:
5680         * tests/check/libs/adapter.c: (create_and_fill_adapter),
5681         (GST_START_TEST), (gst_adapter_suite):
5682         * tests/examples/Makefile.am:
5683         Do some optimisation work in GstAdapter to avoid copies in more cases.
5684         It could still do slightly better by merging buffers when
5685         gst_buffer_is_span_fast is true, but is already faster. 
5686
5687         Also, avoid traversing a single-linked list to append each incoming 
5688         buffer inside the adapter.
5689
5690         Add simple test app that times the adapter behaviour in different
5691         situations, and extend the unit test to check that bytes enter and
5692         exit the adapter in their original order.
5693
5694 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
5695
5696         * docs/random/draft-missing-plugins.txt:
5697           Update: use element message instead of adding a new message
5698           type to the core; don't provide GStreamer API to initiate the
5699           plugin download, just provide API to compose the strings needed
5700           and let an external libgimmestuff handle the rest.
5701
5702 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
5703
5704         * tools/gst-inspect.c: (print_element_properties_info):
5705         Print a string instead of 'unknown type' for GValueArray properties
5706
5707 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
5708
5709         * docs/random/draft-missing-plugins.txt:
5710         More small fixes.
5711
5712 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5713
5714         * tests/examples/typefind/typefind.c: (type_found), (main):
5715           Make typefind element example work again (#371894); add a
5716           license header.
5717
5718 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5719
5720         * docs/random/draft-missing-plugins.txt:
5721           Commit initial draft about how to deal with missing plugins,
5722           needs work (API too).
5723
5724 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
5725
5726         * docs/pwg/advanced-types.xml:
5727           documents the new caps elements (see #363118)
5728
5729 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5730
5731         * gst/gstplugin.c: (gst_plugin_load_file):
5732         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5733         (gst_file_src_map_region), (gst_file_src_start):
5734         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5735         (gst_file_index_commit):
5736           Use g_strerror() instead of strerror() - we want UTF-8.
5737
5738 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5739
5740         Patch by: Peter Kjellerstedt <pkj at axis com>
5741
5742         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5743           Another printf fix (#371493).
5744
5745 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5746
5747         * tests/check/gst/gsttag.c:
5748           relicence (okay with author=company)
5749
5750 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5751
5752         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5753         (gst_pad_push_event):
5754           Enhance debug and improve docs
5755         
5756         * gst/gsturi.c:
5757           Fix docs
5758
5759 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5760
5761         * docs/random/ensonic/distributed.txt:
5762         * docs/random/ensonic/profiling.txt:
5763           more ideas
5764
5765 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5766
5767         * docs/gst/gstreamer-sections.txt:
5768           add new API and fix the build
5769           
5770         * gst/gstbin.c: (gst_bin_recalc_state):
5771         * gst/gstelement.c: (gst_element_message_full),
5772         (gst_element_get_state_func), (gst_element_set_state_func):
5773           use new API and improve logging
5774         
5775         * gst/gstutils.c: (gst_element_state_change_return_get_name):
5776         * gst/gstutils.h:
5777           API: add function to get StateChangereturn names to improve logs 
5778
5779 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5780
5781         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5782           I'm considering shooting the next person to put strerror stuff
5783           in the translateable part of the message.
5784
5785 2006-11-03  Wim Taymans  <wim@fluendo.com>
5786
5787         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5788         Get the type and printf conversion specifiers right.
5789
5790 2006-11-03  Wim Taymans  <wim@fluendo.com>
5791
5792         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5793
5794         * gst/gstpad.c: (gst_pad_init), (pre_activate),
5795         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5796         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5797         Some small cleanups. Improve debugging.
5798         * gst/gstpad.h:
5799         Signal all waiting threads with a broadcast instead of just one.
5800         Fixes #369942.
5801
5802 2006-11-03  Wim Taymans  <wim@fluendo.com>
5803
5804         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5805         (gst_fd_src_create):
5806         Add some debugging. 
5807         Only update fd when it's different from the old.
5808
5809 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5810
5811         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5812           Printf fixes for PPC/OSX, take two (#369366).
5813
5814 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5815
5816         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
5817
5818         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5819         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5820         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5821           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5822           don't cast to long long for portability reasons, but use
5823           GLib's types instead.
5824
5825 2006-10-30  Michael Smith  <msmith@fluendo.com>
5826
5827         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5828           Get the arguments to lseek() the right way around.
5829           Fixes 367677.
5830
5831 2006-10-30  Wim Taymans  <wim@fluendo.com>
5832
5833         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5834
5835         * gst/gstinfo.h:
5836         _declspec should be __declspec (two underscores, not one). Fixes 366572.
5837
5838 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5839
5840         Patch by: Kjartan Maraas  <kmaraas at gnome org>
5841
5842         * docs/design/part-MT-refcounting.txt:
5843         * docs/random/wtay/capsnego2-docs:
5844         * gst/gstclock.c:
5845         * gst/gstxml.c:
5846           Typo fixes (#366212).
5847
5848 2006-10-28  Wim Taymans  <wim@fluendo.com>
5849
5850         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5851
5852         * gst/gst.c:
5853         * win32/common/libgstbase.def:
5854         * win32/common/libgstreamer.def:
5855         * win32/vs8/libgstbase.vcproj:
5856         * win32/vs8/libgstcontroller.vcproj:
5857         Add needed entries in .def files.
5858         Use HAVE_UNISTD_H.
5859         Rearrange def files in vs8 solutions. Fixes #366286.
5860
5861 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5862
5863         * win32/common/gstconfig.h:
5864           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5865           hand-made win32 gstconfig.h. Fixes #366321.
5866
5867 2006-10-27  Wim Taymans  <wim@fluendo.com>
5868
5869         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5870         (gst_ghost_pad_new_full):
5871         Make acceptcaps return TRUE when we don't have a target, just like
5872         setcaps does.
5873
5874 2006-10-27  Wim Taymans  <wim@fluendo.com>
5875
5876         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5877         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5878
5879 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
5880
5881         * gst/gststructure.c: (gst_structure_id_set_value):
5882           If someone tries to set a non-UTF8 string field on a structure,
5883           don't just print a warning, but also ignore the request and do
5884           not change/add that field to the structure.
5885
5886         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5887           Test for the above.
5888
5889 2006-10-25  David Schleef  <ds@schleef.org>
5890
5891         * gst/gstinfo.c:
5892           g_hash_table_insert() needs a cast to a non-const pointer duh.
5893
5894 2006-10-25  David Schleef  <ds@schleef.org>
5895
5896         * gst/gstinfo.c:
5897         * gst/gstinfo.h:
5898           Change name parameter of _gst_debug_register_funcptr to const
5899           to reflect the constness of its use in the function as well
5900           as to quiet a gcc warning.
5901
5902 2006-10-25  Edward Hervey  <edward@fluendo.com>
5903
5904         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5905         Don't push the buffer if it's empty.
5906         Closes #363095
5907
5908 2006-10-24  Wim Taymans  <wim@fluendo.com>
5909
5910         * gst/gstevent.h:
5911         Add small comment.
5912
5913         * libs/gst/base/gstbasetransform.c:
5914         (gst_base_transform_sink_eventfunc):
5915         Debug segment values *after* updating them as this is more
5916         interesting.
5917
5918 2006-10-23  Wim Taymans  <wim@fluendo.com>
5919
5920         * docs/design/part-events.txt:
5921         Update some docs.
5922
5923         * docs/design/part-block.txt:
5924         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5925         (gst_pad_push_event):
5926         Revert BLOCKING patch, it tries to be smart without really having a
5927         clear idea what or how. So, now we discard all FLUSHING events again on
5928         a blocking pad. Should fix gnonlin again.
5929
5930 2006-10-23  Wim Taymans  <wim@fluendo.com>
5931
5932         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5933
5934         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5935         (gst_base_src_start), (gst_base_src_activate_push):
5936         Make sure size is always initialized. Fixes #364388.
5937
5938 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
5939
5940         * docs/random/ensonic/distributed.txt:
5941           add some ideas about doing distributed processing
5942
5943         * docs/random/ensonic/profiling.txt:
5944           get_rusage look promising
5945
5946 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
5947
5948         * docs/manual/basics-helloworld.xml:
5949           Add a cast in example to fix compile warning
5950
5951 2006-10-18  Wim Taymans  <wim@fluendo.com>
5952
5953         * gst/gstsegment.c: (gst_segment_set_last_stop),
5954         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5955         Relax arg checking again, -1 is allowed.
5956
5957 2006-10-18  Wim Taymans  <wim@fluendo.com>
5958
5959         * gst/gstsegment.c: (gst_segment_set_last_stop),
5960         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5961         _set_last_stop() must be with a value != -1
5962         A _TYPE_SET to -1 means seek to 0.
5963         Calc last_stop correctly for negative rates.
5964         Make sure we work with positive durations when updating a segment.
5965
5966 2006-10-18  Wim Taymans  <wim@fluendo.com>
5967
5968         * docs/design/part-live-source.txt:
5969         * gst/gstclock.h:
5970         Small docs fixes.
5971
5972 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
5973
5974         * gst/gstbuffer.h:
5975           Add an explicit cast to GstBuffer** to keep old code that added an
5976           explicit cast to GstMiniObject** for gst_mini_object_replace()
5977           compiling without warning.
5978
5979 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
5980
5981         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5982           check for validity of dates
5983
5984 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5985
5986         * docs/gst/gstreamer-sections.txt:
5987           Forgot this one, makes gtk-doc shut up.
5988
5989 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5990
5991         Patch by: Peter Kjellerstedt <pkj at axis com>
5992
5993         * gst/gstobject.h:
5994           Don't define xmlNodePtr to gpointer if the core was built with
5995           --disable-loadsave and --disable-registry, this will break
5996           applications that want to use libxml2 but are buildling against a
5997           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5998           instead so we don't have to mess with the libxml2 namespace
5999           (#361675).
6000
6001 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6002
6003         * gst/gstbuffer.h:
6004           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6005           type-punned pointer warnings.
6006
6007 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6008
6009         * gst/gstelement.h:
6010           Add casts to the correct return type to state <=> state transition
6011           macros.
6012
6013 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
6014
6015         * docs/design/part-live-source.txt:
6016           describe howto handle latency
6017         
6018         * docs/random/ensonic/profiling.txt:
6019           more ideas
6020
6021         * tools/gst-plot-timeline.py:
6022           fix log parsing for solaris, remove unused function
6023
6024 2006-10-16  Wim Taymans  <wim@fluendo.com>
6025
6026         * docs/design/part-trickmodes.txt:
6027         * gst/gstevent.c:
6028         Update some docs regarding reverse playback.
6029
6030 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6031
6032         Patch by: Marcus Granado  <mrc dot gran at gmail com>
6033
6034         * win32/vs8/grammar.vcproj:
6035           Error out with a warning if glib-genmarshal.exe is not in path,
6036           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6037
6038 2006-10-13  Wim Taymans  <wim@fluendo.com>
6039
6040         * gst/gstsegment.c: (gst_segment_set_seek):
6041         When seeking to stop -1, set last_stop (current position) to the
6042         duration of the segment.
6043
6044 2006-10-13  Wim Taymans  <wim@fluendo.com>
6045
6046         * gst/gstelement.h:
6047         Clarify _NO_PREROLL a bit more.
6048
6049         * gst/gstevent.c:
6050         Fix docs.
6051
6052         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6053         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6054         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6055         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6056         due to wrong locking order. Fixes #361769.
6057         Remove some redundant/misplaced checks in pad_block.
6058
6059         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6060         For negative rates, count backwards from the duration.
6061
6062 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6063
6064         * gst/gsterror.c: (_gst_library_errors_init):
6065           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6066           up with something better).
6067
6068 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6069
6070         * win32/vs6/libgstreamer.dsp:
6071         * win32/vs7/libgstreamer.vcproj:
6072         * win32/vs8/libgstreamer.vcproj:
6073           Don't reference glib-compat.c which is currently not used and not
6074           disted; add gstquark.c which was recently added. Fixes #361730.
6075
6076 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6077
6078         * win32/common/libgstbase.def:
6079         * win32/common/libgstcontroller.def:
6080         * win32/common/libgstreamer.def:
6081           Add gst_caps_merge() and a bunch of other recently-added functions.
6082           Fixes #361732.
6083
6084 2006-10-11  Wim Taymans  <wim@fluendo.com>
6085
6086         * docs/plugins/gstreamer-plugins.args:
6087         * docs/plugins/inspect/plugin-coreelements.xml:
6088         * docs/plugins/inspect/plugin-coreindexers.xml:
6089         Update element args.
6090
6091         * gst/gstsystemclock.c:
6092         Small comment update.
6093
6094         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6095         (gst_tee_request_new_pad), (gst_tee_release_pad),
6096         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6097         (gst_tee_sink_activate_pull):
6098         * plugins/elements/gsttee.h:
6099         Some tee loving:
6100         Add default property defines.
6101         Implement release pad function.
6102         Give properties better blubs etc.
6103         Activate pads before adding them to a running tee.
6104         Do simple buffer_alloc on the first requested pad.
6105         Post error when activation fails.
6106
6107 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6108
6109         * gst/gst.c: (ensure_current_registry_forking):
6110           Check return value of write() to make compiler happy.
6111
6112 2006-10-11  Wim Taymans  <wim@fluendo.com>
6113
6114         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6115
6116         * plugins/elements/gstqueue.c: (gst_queue_chain):
6117         Recheck queue filledness after signalling the overrun when we're about
6118         to leak downstream because we released the lock when emitting the signal
6119         and the queue could be empty again. Fixes #352345.
6120
6121 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6122
6123         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6124           Fix refcounting here too, just like we did for _new_valist() a few
6125           days ago (#357180) (thanks to René Stadler). Also remove all those
6126           'Since: 0.9' from the gtk-doc blobs.
6127
6128         * tests/check/libs/controller.c: (controller_refcount_new_list),
6129         (gst_controller_suite):
6130           Unit test for the above.
6131
6132 2006-10-10  Wim Taymans  <wim@fluendo.com>
6133
6134         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6135
6136         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6137         (gst_pad_save_thyself):
6138         Update some docs.
6139         Write pad direction in XML output. Fixes #345496.
6140
6141 2006-10-10  Wim Taymans  <wim@fluendo.com>
6142
6143         Patch by: René Stadler <mail at renestadler dot de>
6144
6145         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6146         (gst_controller_new_list), (_gst_controller_dispose),
6147         (_gst_controller_finalize), (_gst_controller_class_init):
6148         Take ref to controlled object so that it cannot disappear. 
6149         Fixes #357432.
6150
6151 2006-10-10  Wim Taymans  <wim@fluendo.com>
6152
6153         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6154         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6155         (gst_check_teardown_sink_pad):
6156         Activate/deactivate pads in setup/teardown respectively.
6157
6158 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6159
6160         Patch by: Josep Torre Valles <josep@fluendo.com>
6161
6162         * gst/Makefile.am:
6163         Cast values when making gstenumtypes.h.  This pacifies Forte
6164         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6165         in the enumeration.
6166
6167 2006-10-09  Wim Taymans  <wim@fluendo.com>
6168
6169         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6170         Rename some more @cur to @start to fix docs. 
6171
6172         * gst/gstsegment.c: (gst_segment_set_seek):
6173         Fix typo.
6174         time and start must always stay in sync as defined in design doc.
6175
6176         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6177         Rename param to fix docs.
6178
6179         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6180         Check that start and time are in sync.
6181
6182         * tests/check/pipelines/parse-launch.c:
6183         (gst_parse_test_element_change_state):
6184         Activate pad before adding to the element.
6185
6186 2006-10-09  Wim Taymans  <wim@fluendo.com>
6187
6188         * docs/design/part-qos.txt:
6189         Fix typo.
6190
6191         * gst/gstevent.c:
6192         * gst/gstevent.h:
6193         Update seek event docs regarding negative rates.
6194         Rename @cur to @start. 
6195
6196         * gst/gstsegment.c: (gst_segment_set_seek):
6197         * gst/gstsegment.h:
6198         Update set_seek docs regarding negative rates.
6199         Correctly update last_stop to @stop when dealing with negative
6200         rates.
6201         Rename @cur to @start. 
6202
6203         * tests/check/gst/gstpad.c: (GST_START_TEST):
6204         Activate pads before trying to use them.
6205
6206         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6207         (gst_segment_suite):
6208         Add simple check for segments and negative rates.
6209
6210 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6211
6212         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6213         * gst/gsttaglist.h:
6214         * docs/gst/gstreamer-sections.txt:
6215           API: add gst_tag_list_is_empty() (#360467).
6216
6217         * tests/check/gst/gsttag.c: (GST_START_TEST):
6218           And a test case.
6219
6220 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6221
6222         * gst/gstmessage.h:
6223         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6224         a value that doesn't fit on enumeration.
6225
6226 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6227
6228         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6229         Remove local debugging system and use Gstreamer's instead.
6230
6231 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6232
6233         Patch by: Josep Torre Valles <josep@fluendo.com>
6234
6235         * common/m4/gst-error.m4:
6236         Disable warning of statement not reached on Forte.
6237         * gst/gstmessage.h:
6238         Fix warning on Forte (value doesn't fit on enumeration).
6239         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6240         Fix warning on Forte (value doesn't fit on enumeration).
6241         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6242         DEBUG macro says it takes minimum of 2 args and so Forte
6243         complains about the use with just 1 arg.
6244         * plugins/elements/gstfdsink.c:
6245         * plugins/elements/gstfdsrc.c:
6246         * plugins/elements/gstfilesink.c:
6247         * plugins/elements/gstfilesrc.c:
6248         Use correct return type for the uri handler implementations.
6249
6250         All these fix warnings in Forte.  Fixes bug #360860.
6251
6252 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6253
6254         * gst/gstelement.h:
6255           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6256           format string, so don't use G_GNUC_PRINTF for those versions.
6257
6258 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6259
6260         * gst/gsttaglist.c: (gst_is_tag_list):
6261         * gst/gsttaglist.h:
6262           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6263
6264         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6265           Small test for the above.
6266
6267 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6268
6269         * gst/gsttaglist.h:
6270           Less tabs, more spaces.
6271
6272 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
6273
6274         * gst/gstinfo.h:
6275           Those two function declarations do actually belong there, revert
6276           commit from yesterday that turned them intro macros.
6277
6278 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6279
6280         Patch by: Josep Torre Valles <josep@fluendo.com>
6281
6282         * gst/gst.c: (gst_init_get_option_group):
6283         Fix empty declaration and type mismatch.
6284         * gst/gstbin.c: (gst_bin_change_state_func):
6285         Fix type mismatch.
6286         * gst/gstelement.c: (gst_element_continue_state),
6287         (gst_element_set_state_func), (gst_element_change_state),
6288         (gst_element_change_state_func):
6289         Fix type mismatches.
6290         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6291         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6292         Cast as appropriate.
6293         * gst/gstobject.c: (gst_class_signal_connect):
6294         Cast as appropriate.  The function pointer parameter really
6295         has the wrong type but would break API if we change it.
6296         * gst/gstquery.c:
6297         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6298         order of including string.h.
6299         * gst/gstutils.c: (gst_element_state_get_name):
6300         Remove unreachable line.
6301         * gst/gstxml.c: (gst_xml_parse_doc):
6302         Fix type mismatch.
6303         All these caught by Forte.
6304
6305 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6306
6307         Patch by: Josep Torre Valles <josep@fluendo.com>
6308
6309         * common/m4/gst-error.m4:
6310         Fixed bug #360151.
6311         We need to disable warnings on Forte for empty declarations
6312         due to gst-indent adding ;s to lines that just use macros
6313         where the macro actually doesn't need a ; at end to end
6314         statement.
6315
6316 2006-10-06  Wim Taymans  <wim@fluendo.com>
6317
6318         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6319         (gst_file_sink_close_file), (gst_file_sink_event),
6320         (gst_file_sink_render):
6321         Add some FIXME for the NEWSEGMENT handling.
6322
6323 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6324
6325         * gst/parse/grammar.y:
6326         Remove static function gst_parse_element_lock as all it does
6327         is return.  Looks like cruft from 0.8.
6328
6329 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6330
6331         Patch by: Josep Torre Valles <josep@fluendo.com>
6332
6333         * common/m4/gst-error.m4:
6334         * configure.ac:
6335         * libs/gst/net/Makefile.am:
6336         Fix a compilation issue with Forte on Solaris.  inet_aton is in
6337         libresolv.
6338
6339 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6340
6341         * gst/gstpad.c: (pre_activate):
6342         * gst/gstregistry.c: (gst_registry_scan_path_level):
6343         * gst/gstregistryxml.c: (load_plugin):
6344         * libs/gst/controller/gstcontroller.c:
6345         (gst_controlled_property_set_interpolation_mode):
6346         * libs/gst/dataprotocol/dataprotocol.c:
6347         (gst_dp_packet_from_event_1_0):
6348         * libs/gst/net/gstnetclientclock.c:
6349         (gst_net_client_clock_observe_times):
6350         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6351           Printf fixes.
6352
6353 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6354
6355         * configure.ac:
6356         * docs/gst/gstreamer-sections.txt:
6357         * gst/gstconfig.h.in:
6358         * gst/gstelement.h:
6359         * gst/gstinfo.h:
6360           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6361           whether we can use G_GNUC_PRINTF in other header files and at
6362           least check the printf format/arguments of debug messages and
6363           GST_ELEMENT_ERROR messages when the printf extension is not
6364           being used.
6365           Replace more tabs with spaces in gstinfo.h and remove two spurious
6366           function declarations in GST_DISABLE_DEBUG part with macros.
6367
6368 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6369
6370         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6371           More docs for the sync-message signal (mention that it is not
6372           emitted by default); log message structures of messages posted on
6373           the bus as well.
6374
6375 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
6376
6377         * gst/gst.c: (ensure_current_registry_forking):
6378         Use a pipe pair to receive status results from the forked child, and
6379         ignore the result from waitpid. Fixes #355499
6380
6381 2006-10-02  Wim Taymans  <wim@fluendo.com>
6382
6383         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6384         (gst_ghost_pad_suite):
6385         Fix leak in check.
6386
6387 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6388
6389         * gst/gstpad.c:
6390           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6391
6392 2006-10-02  Edward Hervey  <edward@fluendo.com>
6393
6394         * docs/design/part-block.txt:
6395         Further explain the use of flushing on blocked pads.
6396         * docs/gst/gstreamer-sections.txt:
6397         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6398         (gst_pad_push_event):
6399         * gst/gstpad.h:
6400         Added new GstPadFlag : GST_PAD_BLOCKING.
6401         Adds the notion of pads really blocking, which enables to properly
6402         handle FLUSH_START/FLUSH_STOP events on blocked pads.
6403         Fixes #358999
6404         API: gst_pad_is_blocking()
6405         API: GST_PAD_IS_BLOCKING() macro
6406         API: GST_PAD_BLOCKING GstPadFlag
6407         
6408 2006-10-02  Wim Taymans  <wim@fluendo.com>
6409
6410         Patch by: mrcgran <mrc.gran at gmail dot com>
6411
6412         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6413         Filter the proxied caps against the padtemplate if we have one.
6414
6415         * gst/gstquery.c: (gst_query_new_segment):
6416         Add include for gstinfo.h so that compilation with
6417         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6418
6419 2006-10-02  Wim Taymans  <wim@fluendo.com>
6420
6421         Patch by: Alessandro Decina  <alessandro at nnva org>
6422
6423         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6424         (gst_file_sink_set_location), (gst_file_sink_open_file),
6425         (gst_file_sink_close_file), (gst_file_sink_event),
6426         (gst_file_sink_render):
6427         Set file to NULL when closing filesink so that we can set a new filename
6428         in READY. Fixes #358613.
6429
6430 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6431
6432         Patch by: Alessandro Decina  <alessandro at nnva org>
6433
6434         * gst/gstevent.c: (_gst_event_copy):
6435           Fix gst_mini_object_make_writable() and gst_event_copy() for events
6436           with event structures by setting the parent refcount address of the
6437           copied structure to the address of the refcount member of the newly
6438           copied event rather than the address of the refcount member of the
6439           original event. Fixes #358737.
6440
6441         * tests/check/gst/gstevent.c: (GST_START_TEST):
6442           Unit test for the above.
6443
6444 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
6445
6446         * docs/design/Makefile.am:
6447           Dist some more files.
6448
6449 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6450
6451         * tests/check/libs/controller.c: (GST_START_TEST),
6452         (gst_controller_suite):
6453           Add test for the previous fix; add some more tests
6454           for correct refcounting behaviour; fix a few leaks
6455           in test cases; call gst_controller_init() at start
6456           of all tests.
6457
6458 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6459
6460         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6461         (gst_controller_set_from_list):
6462           Don't g_return_val_if_fail() on timed values with invalid timestamps
6463           inside a critical section without unlocking the mutex. Spotted by
6464           René Stadler. (#357617)
6465           Also, fix up refcounting properly: when returning an existing
6466           controller, we should increase the reference only once and not
6467           once per property and when trying to control a property again
6468           we should also increase the refcount.
6469
6470 2006-09-29  Wim Taymans  <wim@fluendo.com>
6471
6472         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6473         * libs/gst/net/gstnettimeprovider.c:
6474         (gst_net_time_provider_thread):
6475         Stop reading commands when EOF as well.
6476
6477         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6478         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6479         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6480         Unify description of the dump property.
6481
6482 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6483
6484         * tests/examples/manual/.cvsignore:
6485         OK, so it's actually cvsignore that needs changing. Stop laughing.
6486
6487 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6488
6489         * tests/examples/manual/Makefile.am:
6490         Gah, declare vars *before* using them
6491
6492 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6493
6494         * gst/gst.c: (init_pre), (scan_and_update_registry),
6495         (ensure_current_registry_nonforking),
6496         (ensure_current_registry_forking), (ensure_current_registry),
6497         (init_post), (gst_debug_help), (gst_deinit):
6498         * gst/gst_private.h:
6499         * gst/gstregistry.c: (gst_registry_finalize),
6500         (gst_registry_remove_features_for_plugin_unlocked),
6501         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6502         (gst_registry_scan_path),
6503         (_priv_gst_registry_remove_cache_plugins),
6504         (_priv_gst_registry_cleanup):
6505         * gst/gstregistry.h:
6506         Re-commit the registry changes, along with an extra fix:
6507           When a cached plugin is encountered at a different file path,
6508           update the stored path in the registry cache so that the parent
6509           process knows where it actually is now when it re-reads the registry
6510           cache. Fixes the thing that broke distcheck with the previous commit.
6511
6512         * tests/check/Makefile.am:
6513         Clean up files named 'core' too when running make clean.
6514
6515         * tests/examples/manual/Makefile.am:
6516         Set up a registry path for running these tests, and clean it properly
6517         for distcheck.
6518
6519 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6520
6521         * configure.ac:
6522         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6523         want gmodule-no-export-2.0.pc instead so that we don't drag in
6524         --export-dynamic on every project that links to GStreamer.
6525
6526         Also, make our export regex only match the start of symbols, rather 
6527         than any symbol that contains '_gst' somewhere.
6528
6529         * libs/gst/check/Makefile.am:
6530         The libgstcheck we build does however need export-dynamic, as it
6531         produces some symbols that don't match our _gst... style regex.
6532         Fixes: #318031
6533
6534 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6535
6536         * gst/gst.c: (init_pre), (scan_and_update_registry),
6537         (ensure_current_registry_nonforking),
6538         (ensure_current_registry_forking), (ensure_current_registry),
6539         (init_post), (gst_debug_help), (gst_deinit):
6540         * gst/gst_private.h:
6541         * gst/gstregistry.c: (gst_registry_finalize),
6542         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6543         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6544         (_gst_registry_cleanup):
6545         * gst/gstregistry.h:
6546           Revert previous change until I figure out why it breaks distcheck.
6547
6548 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6549
6550         * gst/gst.c: (init_pre), (scan_and_update_registry),
6551         (ensure_current_registry_nonforking),
6552         (ensure_current_registry_forking), (ensure_current_registry),
6553         (init_post), (gst_debug_help), (gst_deinit):
6554
6555           Make init_pre and init_post take the full complement of GOptionFunc
6556           args so they can return useful GErrors. Make the registry updating
6557           functions do so.
6558
6559           Call _priv_gst_registry_remove_cache_plugins after scanning files to
6560           ensure that the registry we're about to write out doesn't contain
6561           stale information about old-deleted plugin files.
6562
6563           Make _priv_gst_registry_remove_cache_plugins return a boolean so
6564           that deletion of plugin files is considered a registry change.
6565
6566         * gst/gst_private.h:
6567         * gst/gstregistry.c: (gst_registry_finalize),
6568         (gst_registry_remove_features_for_plugin_unlocked),
6569         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6570         (gst_registry_scan_path),
6571         (_priv_gst_registry_remove_cache_plugins),
6572         (_priv_gst_registry_cleanup):
6573         * gst/gstregistry.h:
6574         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6575         by adding _priv prefix, so that they won't appear in the global
6576         symbol table. They still do atm though because of #318031. Move the
6577         prototypes to gst_private.h
6578
6579         When removing a plugin, remove all features for that plugin too. 
6580         Fixes #340878.
6581
6582 2006-09-27  Wim Taymans  <wim@fluendo.com>
6583
6584         * docs/random/moving-plugins:
6585         Make it clear that the "compiled-in descriptions" really mean
6586         the element details.
6587
6588         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6589         (gst_base_sink_wait_preroll):
6590         Update docs.
6591
6592         * docs/libs/gstreamer-libs-sections.txt:
6593         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6594         (gst_base_src_get_range), (gst_base_src_activate_push):
6595         * libs/gst/base/gstbasesrc.h:
6596         Added function to block while waiting for PLAYING, this function
6597         is used by live sources that block on the clock.
6598         API: gst_base_src_wait_playing()
6599
6600 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6601
6602         Patch by: Peter Kjellerstedt <pkj at axis com>
6603
6604         * Makefile.am:
6605           gst-element-check.m4 is generated and should therefore be
6606           copied from the build dir rather than the source dir (#357593).
6607           'make distcheck' hasn't noticed this because we were disting
6608           the file as well, so stop doing that.
6609
6610 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6611
6612         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6613           Add some tests for gst_caps_intersect().
6614
6615         * tools/gst-launch.c: (event_loop):
6616           Print all buffering percentages we get, even the 100% one.
6617
6618 2006-09-26  Wim Taymans  <wim@fluendo.com>
6619
6620         * tools/gst-inspect.c: (print_element_properties_info),
6621         (print_signal_info):
6622         Fix printing of flags to match the look of enums.
6623
6624 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6625
6626         * gst/gstelementfactory.c:
6627           Fix typo in docs blurb.
6628
6629 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6630
6631         * gst/gsturi.c: (search_by_entry):
6632           Don't assert/crash here if a uri handler doesn't return any
6633           supported protocols. The list of protocols could be generated
6634           dynamically at runtime or at plugin registration, and an error
6635           in the underlying library shouldn't be fatal (#353301).
6636
6637 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6638
6639         * gst/gstinfo.c:
6640           Fix warning if HAVE_PRINTF_EXTENSION is undefined
6641           (spotted by Peter Kjellerstedt).
6642
6643 2006-09-23  Wim Taymans  <wim@fluendo.com>
6644
6645         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6646
6647         * libs/gst/base/gstbasesrc.c:
6648         (gst_base_src_default_check_get_range), (gst_base_src_start),
6649         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6650         (gst_base_src_change_state):
6651         Match _start/_stop calls in the activate functions. Remove redundant
6652         _stop call from the state change function. Fixes #356910.
6653         Turn failure DEBUG into ERROR. 
6654
6655 2006-09-22  Wim Taymans  <wim@fluendo.com>
6656
6657         * docs/design/part-buffering.txt:
6658         * gst/gstmessage.c: (gst_message_new_buffering),
6659         (gst_message_parse_buffering):
6660         Update docs about buffering.
6661
6662         * docs/design/part-trickmodes.txt:
6663         Fix typo.
6664
6665 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
6666
6667         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6668         (gst_controller_new_list):
6669           Ref instances when returning them again (fixes #357180)
6670
6671 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6672
6673         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6674           Don't forget to release proxy lock when there's an error.
6675
6676 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
6677
6678         * gst/gstcaps.h:
6679           Add extra initialisers for Caps things, to fix some plugin warnings
6680           when using -Wextra
6681
6682 2006-09-18  Wim Taymans  <wim@fluendo.com>
6683
6684         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6685           Also set template on the internal pad so that a getcaps from the 
6686           target pad returns the template caps.
6687
6688 2006-09-18  Wim Taymans  <wim@fluendo.com>
6689
6690         * gst/gstelement.c: (gst_element_post_message),
6691         (gst_element_dispose):
6692         Use _DEBUG_OBJECT some more.
6693
6694         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6695         Avoid typechecks.
6696
6697         * tools/gst-launch.c: (main):
6698         If the toplevel element is not a GstPipeline, it must be put in a
6699         pipeline so that a bus and clock is selected.
6700
6701 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6702
6703         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6704           JITTER, RATE, and LATENCY query should be handled by the
6705           default case and not by the CONVERT query code.
6706
6707 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6708
6709         * gst/gstformat.c: (gst_format_register):
6710           Fix locking order (must take lock before using n_values).
6711
6712         * gst/gstvalue.c: (gst_value_serialize_enum),
6713         (gst_value_deserialize_enum_iter_cmp),
6714         (gst_value_deserialize_enum):
6715           Fix serialisation/deserialisation of custom registered GstFormats.
6716
6717         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6718           Unit test for custom format serialisation/deserialisation.
6719
6720 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
6721
6722         * docs/pwg/building-boiler.xml:
6723         * plugins/elements/gstcapsfilter.c:
6724         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6725         section.
6726
6727 2006-09-16  Edward Hervey  <edward@fluendo.com>
6728
6729         * libs/gst/base/gstbasetransform.c:
6730         (gst_base_transform_buffer_alloc):
6731         Check if requested caps are the same as the sinks caps IF
6732         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6733         is FALSE.
6734         This fixes the renegotiation issues stated in #352827.
6735
6736 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6737
6738         * configure.ac:
6739         * docs/manual/advanced-autoplugging.xml:
6740         * tests/examples/Makefile.am:
6741         * tests/examples/manual/.cvsignore:
6742         * tests/examples/manual/Makefile.am:
6743         * tests/examples/manual/extract.pl:
6744           Extract the manual examples again like we used to do.
6745           Fix one of them.
6746
6747 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6748
6749         * win32/common/config.h:
6750           update for version
6751
6752 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
6753
6754         * gst/gsterror.c:
6755           Documents how to receive errors.
6756
6757 2006-09-15  Wim Taymans  <wim@fluendo.com>
6758
6759         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6760         (event_loop), (main):
6761         Added some comments here and there.
6762         Post an application message when an interrupt is caught instead of doing
6763         an uncontrolled state change.
6764         Clean up the event loop.
6765         Handle buffering messages, pause/resume the pipeline.
6766         Make shutdown because of an interrupt more reliable.
6767
6768 2006-09-15  Wim Taymans  <wim@fluendo.com>
6769
6770         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6771         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6772         (gst_base_sink_preroll_object):
6773         Make sure that our internal state is correct when we commit our state
6774         asynchronously. This solves a race where a state change to PLAYING
6775         could cause the sink to remain blocked in preroll in some situations.
6776
6777 2006-09-15  Wim Taymans  <wim@fluendo.com>
6778
6779         * tools/gst-inspect.c: (print_element_properties_info),
6780         (print_signal_info):
6781         List flags as hex so it's easier to deal with.
6782
6783 2006-09-15  Wim Taymans  <wim@fluendo.com>
6784
6785         * docs/libs/gstreamer-libs-sections.txt:
6786         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6787         (gst_base_sink_do_sync):
6788         * libs/gst/base/gstbasesink.h:
6789         Expose logic to wait for preroll so that subclasses such as audiosink
6790         can also use this method.
6791         API: gst_base_sink_wait_preroll()
6792
6793 2006-09-15  Wim Taymans  <wim@fluendo.com>
6794
6795         * gst/gstobject.c: (gst_object_set_parent):
6796         * gst/gstpipeline.c: (do_pipeline_seek):
6797         Small cleanups in docs and code.
6798
6799         * gst/gstsegment.c: (gst_segment_clip):
6800         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6801         if stop == start and start is in the segment, no clipping should be
6802         done. Also add a test for this.
6803
6804 2006-09-15  Wim Taymans  <wim@fluendo.com>
6805
6806         * docs/design/part-buffering.txt:
6807         * docs/gst/gstreamer-sections.txt:
6808         * gst/gstmessage.c: (gst_message_new_buffering),
6809         (gst_message_parse_buffering):
6810         * gst/gstmessage.h:
6811         Added methods to create and parse BUFFERING messages.
6812         Added preliminary docs about buffering.
6813         API: gst_message_new_buffering
6814         API: gst_message_parse_buffering
6815
6816 2006-09-06  Wim Taymans  <wim@fluendo.com>
6817
6818         * gst/gstbin.c:
6819         Update documentation.
6820
6821         * gst/gstelement.c: (gst_element_class_init),
6822         (gst_element_release_request_pad), (gst_element_set_clock),
6823         (gst_element_get_index), (gst_element_add_pad),
6824         (gst_element_remove_pad), (gst_element_get_random_pad),
6825         (gst_element_send_event), (gst_element_get_query_types),
6826         (gst_element_query), (gst_element_post_message),
6827         (gst_element_message_full), (gst_element_continue_state),
6828         (gst_element_lost_state), (gst_element_save_thyself),
6829         (gst_element_restore_thyself):
6830         Documentation updates.
6831         Rename last bit of the new-pad -> pad-added signal rename.
6832         Fix the case where an element query would only work if the source
6833         pad was linked.
6834         Avoid some useless type checking in message handling.
6835
6836         * gst/gstevent.c:
6837         * gst/gstevent.h:
6838         * gst/gstutils.c:
6839         Documentation updates.
6840
6841 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6842
6843         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6844           add an INFO line for when we actually update the fd
6845
6846 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6847
6848         * configure.ac:
6849           back to TRUNK
6850
6851 === release 0.10.10 ===
6852
6853 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
6854
6855         * configure.ac:
6856           releasing 0.10.10, "Pais"
6857
6858 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
6859
6860         * docs/manual/advanced-position.xml:
6861           Fix typo in sample code.
6862
6863 2006-09-05  Wim Taymans  <wim@fluendo.com>
6864
6865         * libs/gst/net/gstnetclientclock.c: (inet_aton),
6866         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6867         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6868         * libs/gst/net/gstnetclientclock.h:
6869         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6870         * libs/gst/net/gstnettimepacket.h:
6871         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6872         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6873         (gst_net_time_provider_thread), (gst_net_time_provider_new):
6874         * libs/gst/net/gstnettimeprovider.h:
6875         Make stuff compile on windows. Fixes #345295.
6876
6877 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6878
6879         * gst/gst.c: (ensure_current_registry_forking):
6880           Print better details when child was terminated by signal.
6881
6882 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6883
6884         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6885           Print a warning rather than g_assert() if a plugin feature
6886           is a URI handler but returns no protocols (#353976).
6887
6888 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
6889
6890         * docs/random/moving-plugins:
6891         Fix two typos.         
6892
6893 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6894
6895         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6896           Fix locking order, handle NULL function values properly.
6897
6898         * gst/gstinfo.h:
6899           Fix docs.
6900
6901         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6902           Initialise variable before using it and fix debug statement to
6903           print the address of the function rather than the address of the
6904           variable on the stack holding the address of the function.
6905
6906 2006-09-01  Wim Taymans  <wim@fluendo.com>
6907
6908         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6909         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6910         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6911         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6912         (gst_ghost_pad_parent_unset),
6913         (gst_ghost_pad_internal_do_activate_push),
6914         (gst_ghost_pad_internal_do_activate_pull),
6915         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6916         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6917         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6918         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6919         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6920         (gst_ghost_pad_new_no_target_from_template),
6921         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6922         More cleanups.
6923         Avoid needless typechecking in macros.
6924         Since the internal pad is always present and never changes, there is
6925         no need to locking or ref when retrieving it.
6926         Improve debugging a bit.
6927         Handle link errors when setting the target. Fixes #341029.
6928
6929 2006-09-01  Wim Taymans  <wim@fluendo.com>
6930
6931         * docs/libs/gstreamer-libs-sections.txt:
6932         * docs/plugins/gstreamer-plugins-sections.txt:
6933         Fix docs some more.
6934
6935         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6936         (gst_collect_pads_event):
6937         * libs/gst/base/gstcollectpads.h:
6938         Documentation updates.
6939         Free queued buffer when removing a pad.
6940
6941 2006-08-31  Michael Smith  <msmith@fluendo.com>
6942
6943         * gst/gstutils.c: (gst_element_link_pads),
6944         (gst_element_link_pads_filtered):
6945           Ensure that we set a capsfilter to NULL if we failed to link it
6946           when doing filtered linking, to avoid criticals.
6947
6948           No need to check for unreffing srcpad, which is explicly NULLed
6949           above (a trivial code cleanup).
6950
6951 2006-08-31  Wim Taymans  <wim@fluendo.com>
6952
6953         * docs/design/part-gstghostpad.txt:
6954         Update ascii art in documentation.
6955
6956         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6957         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6958         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6959         (gst_ghost_pad_internal_do_activate_push),
6960         (gst_ghost_pad_internal_do_activate_pull),
6961         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6962         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6963         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6964         (gst_ghost_pad_set_target):
6965         Small cleanups and leak fixes.
6966         Remove some checks now that the internal pad is never NULL.
6967         Fix the case where linking pads without a target would create nasty
6968         criticals. Fixes #341029.
6969         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6970         value of _set_target().
6971
6972         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6973         (gst_ghost_pad_suite):
6974         Some more tests for creating and linking untargeted ghostpads.
6975
6976 2006-08-31  Edward Hervey  <edward@fluendo.com>
6977
6978         * docs/gst/gstreamer-sections.txt:
6979         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6980         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6981         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6982         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6983         (gst_ghost_pad_new_from_template),
6984         (gst_ghost_pad_new_no_target_from_template):
6985         * gst/gstghostpad.h:
6986         Refactored *_new() functions.
6987         Templates are now used as a g_object_new() parameter.
6988         Use template in _do_getcaps() if we don't have a target.
6989         Small documentation cleanups.
6990         Added two new constructors:
6991         gst_ghost_pad_new_from_template()
6992         gst_ghost_pad_new_no_target_from_template()
6993         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6994         (gst_ghost_pad_suite):
6995         Added tests for new ghostpad instanciation functions.
6996
6997         API additions: gst_ghost_pad_new_from_template,
6998         gst_ghost_pad_new_no_target_from_template
6999
7000 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
7001
7002         * docs/random/ensonic/profiling.txt:
7003           Ideas about qos profiling.
7004
7005 2006-08-29  Wim Taymans  <wim@fluendo.com>
7006
7007         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7008         Code cleanups.
7009         Fix memleak.
7010
7011 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
7012
7013         * gst/gstxml.c:
7014           Improve and detypofy docs.
7015
7016         * tests/check/Makefile.am:
7017         * tests/check/gst/.cvsignore:
7018         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7019           Add a basic test suite for GstXML.
7020
7021 2006-08-29  Wim Taymans  <wim@fluendo.com>
7022
7023         * gst/gstelement.c: (activate_pads), (clear_caps),
7024         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7025         Clear the pad caps when the element shut down all of the pads and
7026         is not streaming data that could modify the caps. 
7027         Fixes #352958.
7028
7029 2006-08-28  Michael Smith  <msmith@fluendo.com>
7030
7031         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7032           Revert previous change; I misunderstood single-segment mode.
7033
7034 2006-08-28  Michael Smith  <msmith@fluendo.com>
7035
7036         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7037           Unset DISCONT on buffers when using single-segment mode.
7038
7039 2006-08-28  Wim Taymans  <wim@fluendo.com>
7040
7041         * gst/gstcaps.c: (gst_caps_merge_structure):
7042         * gst/gstcaps.h:
7043         Fix docs and indentation again.
7044
7045         * tests/check/gst/gstquery.c: (GST_START_TEST):
7046         Fix leak in tests and add some more tests.
7047
7048 2006-08-28  Edward Hervey  <edward@fluendo.com>
7049
7050         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7051         Inform GstSegment of the last stop position in order for the current
7052         segment to have a proper duration if it doesn't have a specific stop
7053         position from which a duration could be calculated.
7054         This bug was noticeable when a non-flushing, non-update new segment was
7055         followed by another segment (all buffers from the new segment were being
7056         dropped).
7057
7058 2006-08-28  Wim Taymans  <wim@fluendo.com>
7059
7060         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7061         Small comment update.
7062
7063         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7064         (gst_identity_transform_ip):
7065         Drop-probability is broken, mention this in the code with a 
7066         FIXME and also in the property description.
7067         Make silent also be silent about the drop messages.
7068
7069 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
7070
7071         * docs/manual/appendix-win32.xml:
7072           Remove mention of popt, we don't depend on that any
7073           longer (#353136). Add some comments pointing out that
7074           this section is slightly outdated.
7075
7076 2006-08-28  Wim Taymans  <wim@fluendo.com>
7077
7078         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7079
7080         * gst/gstquery.c: (gst_query_new_segment):
7081         * tests/check/gst/gstquery.c: (GST_START_TEST):
7082         Initialize variables when creating a new segment query.
7083         Fixes #353121.
7084
7085 2006-08-28  Wim Taymans  <wim@fluendo.com>
7086
7087         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7088
7089         * gst/gstelement.c: (gst_element_get_bus):
7090         * tests/check/gst/gstelement.c: (GST_START_TEST):
7091         Check for NULL before _reffing the bus. Fixes #353122.
7092
7093 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
7094
7095         * docs/manual/basics-bus.xml:
7096           Docs update: fix wrong callback return value explanation; add
7097           some lines about the implicit relationship between main loop
7098           and main context; remove duplicate main loop variable declaration.
7099
7100 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
7101
7102         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7103           Don't leak caps in unit test; add a few more simple
7104           checks. 
7105
7106 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
7107
7108         * docs/gst/gstreamer-sections.txt:
7109         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7110         (gst_caps_structure_is_subset), (gst_caps_merge),
7111         (gst_caps_merge_structure):
7112         * gst/gstcaps.h:
7113         * libs/gst/base/gstbasetransform.c:
7114         (gst_base_transform_transform_caps):
7115         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7116           implement caps merging (fixes #352580)
7117
7118 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
7119
7120         * tools/Makefile.am:
7121         * tools/gst-plot-timeline.py:
7122           add debug-log plotting developer tool (#340674)
7123
7124 2006-08-23  Wim Taymans  <wim@fluendo.com>
7125
7126         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7127         (gst_pad_stop_task):
7128         Improve debugging for task functions.
7129
7130         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7131         (gst_task_start), (gst_task_pause), (gst_task_join):
7132         Make sure that the task function started and finished after a 
7133         join(). 
7134         Don't try to push the task function on the threadpool multiple
7135         times.
7136         Improve the g_warning message with some useful suggestions
7137         about how to fix the problem. 
7138
7139 2006-08-23  Wim Taymans  <wim@fluendo.com>
7140
7141         * gst/gstutils.c: (gst_pad_proxy_getcaps):
7142         Handle RESYNC correctly in _proxy_getcaps.
7143
7144 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
7145
7146         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7147         (gst_xml_parse_memory), (gst_xml_get_element):
7148           Chain up to parent class in dispose function and also
7149           unref the elements in the toplevel_elements GList.
7150           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7151           Always return a reference in gst_xml_get_element() rather
7152           than only sometimes.
7153
7154         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7155           Don't leak GstXml object.
7156
7157 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
7158
7159         * docs/gst/gstreamer-sections.txt:
7160         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7161         (gst_caps_merge):
7162         * gst/gstcaps.h:
7163         * libs/gst/base/gstbasetransform.c:
7164         (gst_base_transform_transform_caps):
7165           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7166           in a better way
7167
7168 2006-08-21  Edward Hervey  <edward@fluendo.com>
7169
7170         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7171         Implement GObject::dispose virtual method in GstXML so we can free the
7172         top_elements GList.
7173
7174 2006-08-21  Wim Taymans  <wim@fluendo.com>
7175
7176         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7177         (gst_buffer_create_sub):
7178         Copy duration/offset_end/caps when creating a subbuffer of the
7179         complete parent.
7180         Make the subbuffer read-only when we make the metadata writable for
7181         now. Fixes #351768.
7182
7183         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7184         Added check for metadata copy when creating subbuffers.
7185
7186 2006-08-21  Edward Hervey  <edward@fluendo.com>
7187
7188         * libs/gst/base/gstbasetransform.c:
7189         (gst_base_transform_buffer_alloc):
7190         Only call downstream buffer_alloc if transform element is passthrough
7191         or always_in_place. Closes #350449.
7192
7193 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7194
7195         * ChangeLog:
7196           ChangeLog surgery to add comments to previous changes
7197
7198 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7199
7200         * gst/gst.c:
7201           Add comments
7202
7203         * gst/gstpad.c: (gst_pad_set_active):
7204           Be more verbose in the log
7205
7206         * libs/gst/base/gstbasetransform.c:
7207         (gst_base_transform_transform_caps):
7208           Simplify caps to get rid of duplicates, fixes #345444
7209
7210 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7211
7212         * gst/gstvalue.c:
7213         * gst/gstvalue.h:
7214           Use these optimizations only internally.
7215
7216 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7217
7218         * gst/gstvalue.c: (gst_value_compare_list),
7219         (gst_value_compare_fraction_range),
7220         (gst_value_intersect_fraction_fraction_range),
7221         (gst_value_intersect_fraction_range_fraction_range),
7222         (gst_value_subtract_fraction_fraction_range),
7223         (gst_value_subtract_fraction_range_fraction_range),
7224         (gst_value_get_compare_func), (gst_value_compare),
7225         (gst_value_compare_with_func):
7226         * gst/gstvalue.h:
7227           Saves the expensive lookup of the compare function in many cases
7228          (#345444)
7229
7230 2006-08-18  Edward Hervey  <edward@fluendo.com>
7231
7232         * tests/check/gst/gstinfo.c: (gst_info_suite):
7233         Disable test that require gstdebug if it wasn't built in core.
7234
7235 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7236
7237         * docs/random/ensonic/logging.txt:
7238           update ideas
7239           
7240         * gst/gstinfo.c: (gst_debug_log_default):
7241           reorder fields, save some columns, add optional color codes for log
7242           levels
7243
7244 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7245
7246         * docs/random/ensonic/logging.txt:
7247           add ideas about making the logs a bit more useful
7248
7249 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7250
7251         * docs/pwg/advanced-events.xml:
7252         * docs/pwg/titlepage.xml:
7253           Update for 0.10 API (#340627). Add myself
7254           to authors list.
7255
7256 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7257
7258         * docs/libs/gstreamer-libs-docs.sgml:
7259         * docs/libs/gstreamer-libs-sections.txt:
7260         * libs/gst/check/gstbufferstraw.c:
7261           Make gstcheck stuff show up in docs (still needs to
7262           be documented properly though).
7263
7264 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7265
7266         * docs/gst/gstreamer-sections.txt:
7267         * gst/Makefile.am:
7268         * gst/gst.c: (init_post):
7269         * gst/gst_private.h:
7270         * gst/gstquark.c: (_priv_gst_quarks_initialize):
7271         * gst/gstquark.h:
7272         * gst/gstquery.c: (gst_query_new_position),
7273         (gst_query_set_position), (gst_query_parse_position),
7274         (gst_query_new_duration), (gst_query_set_duration),
7275         (gst_query_parse_duration), (gst_query_new_convert),
7276         (gst_query_set_convert), (gst_query_parse_convert),
7277         (gst_query_new_segment), (gst_query_set_segment),
7278         (gst_query_parse_segment), (gst_query_new_seeking),
7279         (gst_query_set_seeking), (gst_query_parse_seeking):
7280         Add internal helpers for pre-registering quarks from static strings
7281         and using the quark values directly instead of looking them up when
7282         creating and parsing queries. Can be used for event construction too.
7283         Closes #350432.
7284
7285 2006-08-16  Wim Taymans  <wim@fluendo.com>
7286
7287         * gst/gstbin.c:
7288         Fix bogus docs.
7289
7290 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7291
7292         * gst/gstutils.c: (gst_util_set_value_from_string):
7293           Fix memleak (#351502).
7294
7295         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7296           Add unit test for most of gst_util_set_value_from_string()
7297           (not that one would want to encourage use of this function).
7298
7299 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7300
7301         * libs/gst/check/gstcheck.h:
7302           Use const gchar * variables in fail_unless_equals_string
7303           macro to avoid compiler warnings (and don't use tabs for
7304           indenting).
7305
7306 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7307
7308         * tools/gst-launch.c: (print_tag):
7309           More space on the left for the tag names, to cater
7310           for the 'extended comment' tag (not touching the
7311           string for the first line since it's translated).
7312
7313 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7314
7315         * libs/gst/check/gstcheck.h:
7316           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7317           print something when they fail.
7318
7319 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7320
7321         * docs/gst/gstreamer-sections.txt:
7322         * gst/gsttaglist.c: (_gst_tag_initialize):
7323         * gst/gsttaglist.h:
7324           API: add GST_TAG_EXTENDED_COMMENT (#350935).
7325           Also change merge function for GST_TAG_COMMENT to
7326           use_first.
7327
7328 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7329
7330         * gst/gstinfo.c: (gst_debug_print_object):
7331           Make GST_PTR_FORMAT print messages as well.
7332
7333         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7334         (GST_START_TEST), (gst_info_suite):
7335           More tests.
7336
7337 2006-08-14  Edward Hervey  <edward@fluendo.com>
7338
7339         * gst/gstelementfactory.c: (gst_element_register):
7340         If the GstElementClass doesn't have a GstElementDetails with all fields
7341         filled up correctly (longname, description AND author), then error out
7342         nicely instead of crashing.
7343
7344 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7345
7346         * gst/gststructure.c:
7347           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7348
7349         * gst/gstvalue.h:
7350           Expand on the difference between arrays and lists as we use them.
7351           
7352 2006-08-14  Wim Taymans  <wim@fluendo.com>
7353
7354         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7355         If the parent state change function failed, don't assume we can safely
7356         stop the source, this will be done when the pads are deactivated.
7357
7358 2006-08-14  Wim Taymans  <wim@fluendo.com>
7359
7360         * gst/gstbuffer.c:
7361         * gst/gsttask.c: (gst_task_join):
7362         Small doc updates.
7363
7364         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7365         (gst_pad_stop_task):
7366         When pad (de)activation failed for some reason, restore the old
7367         activation mode and set the pad to flushing instead of assuming the
7368         pad is deactivated.
7369         If the _task_join() failed, reinstall the task on the pad so that it can
7370         be stopped later and return an error.
7371
7372 2006-08-11  Andy Wingo  <wingo@pobox.com>
7373
7374         * configure.ac:
7375         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7376         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7377         is only for users of API that don't want to see deprecated
7378         functions in the headers; people that want to compile out
7379         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7380         CFLAGS. Fixes the build of multifdsink, or will soon..
7381
7382 2006-08-11  Wim Taymans  <wim@fluendo.com>
7383
7384         * docs/gst/gstreamer-sections.txt:
7385         Add GstClockClass vmethod docs.
7386
7387         * gst/gstcaps.h:
7388         Mark #endif with comment for associated #if
7389
7390         * gst/gstclock.c: (gst_clock_id_wait):
7391         * gst/gstclock.h:
7392         Add vmethod wait_jitter to avoid an unneeded _get_time() for
7393         most clock implementations.
7394         Document vmethods.
7395         Flesh out docs about resolution methods.
7396         API: GstClockClass::wait_jitter
7397
7398         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7399         (gst_system_clock_async_thread),
7400         (gst_system_clock_id_wait_jitter_unlocked),
7401         (gst_system_clock_id_wait_jitter):
7402         Use base class wait_jitter variant for improved performance
7403         due to less clock polling.
7404
7405 2006-08-11  Edward Hervey  <edward@fluendo.com>
7406
7407         * gst/gst.c: (gst_init_check), (init_post):
7408         Set gst as being initialized before scanning/updating the registry,
7409         since there might be my python plugin loader that calls gst_init() and
7410         we don't want to loop back in.
7411         Closes #350879
7412
7413 2006-08-11  Wim Taymans  <wim@fluendo.com>
7414
7415         * docs/design/part-qos.txt:
7416         Bring docs in line with the code. Mostly the sign of the jitter was
7417         wrong in the docs. Fixes #349943.
7418
7419         * gst/gstclock.c:
7420         Fix the docs for the jitter.
7421
7422         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7423         (gst_event_parse_tag), (gst_event_new_buffer_size),
7424         (gst_event_parse_buffer_size), (gst_event_parse_qos),
7425         (gst_event_new_seek), (gst_event_parse_seek),
7426         (gst_event_new_navigation):
7427         Make sure the GstStructure has no parent when creating custom
7428         events.
7429         Add some more argument checking so that we avoid 0.0 rates.
7430         Flesh out the docs for the QoS event some more.
7431
7432 2006-08-11  Wim Taymans  <wim@fluendo.com>
7433
7434         * docs/gst/gstreamer-sections.txt:
7435         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7436         (ensure_current_registry_forking), (ensure_current_registry),
7437         (parse_one_option), (parse_goption_arg), (gst_deinit),
7438         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7439         * gst/gst.h:
7440         Doc updates.
7441         Added API and command line option to disable registry forking in
7442         addition to the environment variable.
7443         Constify some static arrays.
7444         Added some more debug.
7445         Don't deinit twice.
7446         API: gst_registry_fork_is_enabled()
7447         API: gst_registry_fork_set_enabled()
7448         API: --gst-disable-registry-fork command line option
7449         Fixes #348918.
7450
7451 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
7452
7453         * gst/gst.c: (gst_init):
7454           Fix typo in error message.
7455
7456 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7457
7458         * libs/gst/controller/gstcontroller.h:
7459           fix ABI size-correction
7460
7461         * tests/check/libs/gdp.c: (gst_dp_suite):
7462           make tests that use deprecated API conditional
7463
7464 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7465
7466         * docs/libs/gstreamer-libs-sections.txt:
7467         * libs/gst/controller/gstcontroller.c:
7468         (_gst_controller_get_property), (_gst_controller_set_property),
7469         (_gst_controller_init), (_gst_controller_class_init):
7470         * libs/gst/controller/gstcontroller.h:
7471         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7472         (gst_object_set_control_rate):
7473           API: add gst_object_{s,g}et_control_rate(), add private data section,
7474           fix docs
7475
7476         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7477         * libs/gst/dataprotocol/dataprotocol.h:
7478           add deprecation guards to make gtk-doc happy and allow disabling cruft
7479
7480 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7481
7482         * tests/check/Makefile.am:
7483         * tests/check/gst/.cvsignore:
7484           Let's enable the new unit test as well.
7485
7486 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7487
7488         * configure.ac:
7489         * docs/gst/gstreamer-sections.txt:
7490         * gst/gstconfig.h.in:
7491         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7492         (_gst_info_printf_extension_ptr),
7493         (_gst_info_printf_extension_segment):
7494           API: add GST_SEGMENT_FORMAT, which is a printf extension we
7495           register that lets us easily dump GstSegments into debug
7496           logs (#350419).
7497
7498         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7499         (info_segment_format_printf_extension), (gst_info_suite):
7500           Add simple unit test that logs a bunch of different segments (not
7501           valgrinded at the moment because of leaks in
7502           gst_debug_add_log_function).
7503
7504 2006-08-09  Edward Hervey  <edward@fluendo.com>
7505
7506         * libs/gst/base/gstbasetransform.c:
7507         (gst_base_transform_buffer_alloc):
7508         Even if we can't figure out the proper format to request downstream,
7509         call buffer_alloc() downstream with the input parameters without setting
7510         the caps on the srcpad. This will force negotiation in the chain
7511         function.
7512         Closes #350449
7513
7514 2006-08-08  Edward Hervey  <edward@fluendo.com>
7515
7516         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7517         Unlinking from a pad without a target is now a perfectly valid case
7518         which should NOT raise an assertion.
7519         This case would happen if a linked ghostpad its target set to NULL after
7520         it was previously linked.
7521
7522 2006-08-08  Edward Hervey  <edward@fluendo.com>
7523
7524         * tests/check/libs/gdp.c:
7525         Also comment out the test (see below).
7526
7527 2006-08-08  Edward Hervey  <edward@fluendo.com>
7528
7529         * tests/check/libs/gdp.c: (gst_dp_suite):
7530         Use the architecture information from config.h and not gcc macros
7531         in order to properly disable a test that fails on PPC64.
7532
7533 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
7534
7535         * gst/gstelement.c: (gst_element_remove_pad):
7536           Don't crash printing the warning if the pad has no parent.
7537
7538 2006-08-02  Wim Taymans  <wim@fluendo.com>
7539
7540         * libs/gst/dataprotocol/dataprotocol.c:
7541         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7542         (gst_dp_crc), (gst_dp_header_payload_length),
7543         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7544         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7545         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7546         (gst_dp_event_from_packet), (gst_dp_validate_header),
7547         (gst_dp_validate_payload):
7548         Make debug category static
7549         Constify the crc table.
7550         Do some more arg checking in public functions.
7551         Fix some docs and do some small cleanups.
7552
7553         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7554         Add some more checks to see if GDP deals with bogus input.
7555
7556 2006-07-31  Wim Taymans  <wim@fluendo.com>
7557
7558         * gst/gstvalue.c: (gst_value_compare_list):
7559         Fix GstValueList comparison code. Fixes #347293.
7560
7561         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7562         Check to test GstValueList comparison.
7563
7564 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7565
7566         * gst/gstelementfactory.c: (gst_element_factory_create):
7567         Remove unnecessary ref/unref pair
7568
7569         * gst/parse/grammar.y:
7570         Make sure to free the parse buffer on all code paths.
7571         Move a g_free up to the error handler where it's easier to see.
7572
7573         * tests/check/gst/gstevent.c: (test_event):
7574         Extending timeout for downstream travelling events to 10 seconds to
7575         hopefully avoid intermittent failure on the buildbots.
7576
7577         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7578         Don't manually set the state of the src element - it will happen as a
7579         natural consequence of the pipeline changing state, and that way it
7580         will do it in the right order too.
7581
7582 2006-07-31  Wim Taymans  <wim@fluendo.com>
7583
7584         * libs/gst/base/gstbasetransform.c:
7585         (gst_base_transform_buffer_alloc):
7586         Use OBJECT_LOCK and refcounting to get the pad caps in the
7587         buffer_alloc function because the caps could change while we are
7588         busy with them. Fixes #349105
7589
7590 2006-07-31  Wim Taymans  <wim@fluendo.com>
7591
7592         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7593         Protect _PAD_CAPS with OBJECT_LOCK.
7594
7595 2006-07-31  Wim Taymans  <wim@fluendo.com>
7596
7597         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7598         (gst_pad_get_property), (gst_pad_activate_pull),
7599         (gst_pad_activate_push), (gst_pad_set_blocked_async),
7600         (gst_pad_set_activate_function),
7601         (gst_pad_set_activatepull_function),
7602         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7603         (gst_pad_set_getrange_function),
7604         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7605         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7606         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7607         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7608         (gst_pad_set_acceptcaps_function),
7609         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7610         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7611         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7612         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7613         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7614         (gst_pad_configure_sink), (gst_pad_configure_src),
7615         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7616         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7617         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7618         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7619         (gst_pad_send_event):
7620         Use _DEBUG_OBJECT when it makes sense.
7621         Protect GST_PAD_CAPS with the OBJECT_LOCK.
7622         Small cleanups and code reflows.
7623         Avoid caps refcounting in _accept_caps.
7624         Refactor alloc_buffer so that the code performed on the peer is in a
7625         separate function. Also if the pad does not implement a buffer alloc
7626         function, we should still check if the pad is flushing before falling
7627         back to the default allocator.
7628
7629 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7630
7631         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7632         Make all uses of identity and fakesink have silent=true to avoid
7633         serialising every passing data structure, which is breaking tests
7634         on FC4 for some unknown reason.
7635
7636 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7637
7638         * gst/parse/Makefile.am:
7639         * gst/parse/grammar.y:
7640         * gst/parse/parse.l:
7641           Reverted previous patch as it required to bump the flex dependency to
7642           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7643
7644 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7645
7646         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7647
7648         * gst/parse/Makefile.am:
7649         * gst/parse/grammar.y:
7650         * gst/parse/parse.l:
7651           push & pop the state of the lexer for reentrant use case
7652           Fixes #349180
7653
7654 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
7655
7656         * libs/gst/base/gstbasesrc.h:
7657           Note in the docs that the ::newsegment vfunc is not actually used by
7658           GstBaseSrc.
7659
7660 2006-07-28  Wim Taymans  <wim@fluendo.com>
7661
7662         * libs/gst/base/gstcollectpads.c:
7663         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7664         (gst_collect_pads_clear), (gst_collect_pads_flush),
7665         (gst_collect_pads_event), (gst_collect_pads_chain):
7666         When flushing a pad, also clear the queued buffer so that we don't
7667         accidentally use it when we shouldn't.
7668         Fix leaks by inreffing incomming buffer.
7669         Flush out queued buffers in case of errors.
7670         Fixes #347452.
7671
7672 2006-07-28  Wim Taymans  <wim@fluendo.com>
7673
7674         * docs/random/phonon-gst:
7675         Random notes about a Phonon backend.
7676
7677 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7678
7679         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7680         Extra debug output
7681         * tests/check/libs/gdp.c: (gst_dp_suite):
7682         Take a whack at fixing the ppc compile using a different define to
7683         disable the broken test.
7684
7685         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7686         Remove excess g_print()
7687
7688 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7689
7690         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7691         Oops, meant to uncomment this line too to dampen the noise a bit.
7692
7693 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7694
7695         * gst/parse/grammar.y:
7696         * gst/parse/parse.l:
7697         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7698         (GST_START_TEST), (parse_suite):
7699         Fix some of the leaks exposed by extending the parse-launch testsuite,
7700         and move the 3 I can't figure out into a separate test that won't run
7701         the pipelines unless the appropriate line is uncommented.
7702
7703 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7704
7705         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7706           Requesting 0 bytes before the end of the file should result in
7707           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7708           unit test.
7709
7710 2006-07-27  Wim Taymans  <wim@fluendo.com>
7711
7712         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7713         Fix useless assert, a uint is always positive.
7714
7715         * gst/gststructure.c: (gst_structure_nth_field_name),
7716         (gst_structure_foreach), (gst_structure_map_in_place):
7717         Check input arguments for public functions to avoid obvious crashes.
7718
7719         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7720         * plugins/elements/gstfakesink.h:
7721         Do less useless typechecking.
7722
7723 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7724
7725         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7726           Do not use mmap() by default since there are a number of error
7727           conditions that we would like to handle in a non-fatal way that
7728           will result in a SIGBUS if we use mmap(). Examples: external
7729           devices (USB harddrive, portable music player) being unplugged
7730           while in use; file on mounted CD/DVD that can't be read because
7731           the medium is partly damaged. Fixes #348455 and #348475.
7732
7733 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7734
7735         * gst/gstquery.h:
7736         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7737         rates are a gdouble
7738
7739 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
7740
7741         * gst/gstregistry.c:
7742           Move big documentation comment into class section header, so that it
7743           appears in the API docs.
7744
7745 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7746
7747         * docs/gst/gstreamer-sections.txt:
7748         Oops. Commit the docs additions too for new API.
7749         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7750
7751 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7752
7753         * gst/gststructure.c: (gst_structure_id_set),
7754         (gst_structure_id_set_valist):
7755         * gst/gststructure.h:
7756         Add API for setting values into structures without performing
7757         a quark lookup, if the appropriate quark is already known.
7758
7759         API: gst_structure_id_set
7760         API: gst_structure_id_set_valist
7761
7762         * gst/parse/grammar.y:
7763         * gst/parse/parse.l:
7764         Remove some dead code shown by the coverage information.
7765         Don't throw a critical g_warning when encountering a syntax error,
7766         just warn and let the normal error path handle it.
7767
7768         * plugins/elements/gstelements.c:
7769         Bump the rank of filesink up to PRIMARY so that it is preferred over
7770         gnomevfssink for file:// sink uri's
7771
7772         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7773         (GST_START_TEST), (run_delayed_test),
7774         (gst_parse_test_element_base_init),
7775         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7776         (gst_parse_test_element_change_state),
7777         (gst_register_parse_element), (parse_suite):
7778         Beef up the tests for parse syntax to check that more error cases
7779         fail as they are supposed to. Increases the test coverage a bit.
7780
7781 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7782
7783         * docs/manual/basics-elements.xml:
7784           Fix gst_element_link() example.
7785
7786         * gst/gstutils.c:
7787           Mention in API docs that one should usually gst_bin_add()
7788           elements to a bin or pipeline before doing the linking.
7789           
7790 2006-07-26  Wim Taymans  <wim@fluendo.com>
7791
7792         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7793         (gst_subbuffer_get_type), (gst_buffer_create_sub):
7794         Avoid function call for known types by keeping the buffer and
7795         subbuffer GType global.
7796
7797         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7798         Random silly optimisations in read() path.
7799
7800 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7801
7802         * tools/gst-launch.c: (main):
7803           If the top-level of the parse is a normal bin, it doesn't do the
7804           right logic to run as a top-level element, so place it inside a
7805           pipeline.
7806
7807 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7808
7809         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7810           Remove superfluous g_object_notify() calls, GObject does
7811           that for us automatically.
7812
7813 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
7814
7815         * gst/gstinfo.h:
7816           on Win32, use dllspec to export the debug category symbols
7817
7818 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
7819
7820         * gst/gsttaglist.c: (_gst_tag_initialize):
7821           Allow more than one GST_TAG_IMAGE per taglist.
7822
7823 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7824
7825         * gst/gstminiobject.c:
7826           update docs
7827         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7828         (gst_fd_src_create):
7829           log recurring events at LOG level
7830           add more debug for when the fd gets set
7831
7832 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7833
7834         * gst/gstparse.c: (gst_parse_launch):
7835           Also remove reentrance checks if flex is MT safe (#348179)
7836          Fix my empty ChangeLog entry below
7837
7838 2006-07-21  Andy Wingo  <wingo@pobox.com>
7839
7840         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7841
7842         * libs/gst/check/Makefile.am
7843         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7844         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
7845         * libs/gst/check/gstbufferstraw.h:
7846         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7847         functions, thus proving I am still a GStreamer haxor. OK I wrote
7848         them a long time ago, but anyways.
7849
7850 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7851
7852         * configure.ac:
7853         * gst/gstparse.c: (gst_parse_launch):
7854           Check for flex version and omit mutex if we have a MT save flex
7855           (fixes #348179)
7856
7857 2006-07-21  Wim Taymans  <wim@fluendo.com>
7858
7859         * gst/gstparse.c: (gst_parse_launch):
7860         Protect recursive calls to _parse with a recursive mutex
7861         and busy flag.
7862
7863 2006-07-21  Wim Taymans  <wim@fluendo.com>
7864
7865         * tests/check/gst/gstpad.c: (GST_START_TEST):
7866         Fix leak in test.
7867
7868 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
7869
7870         * gst/gstparse.c: (gst_parse_launch):
7871           Do not hang on recursive usage of gst_parse_launch()
7872
7873 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7874
7875         * gst/gsttaglist.c:
7876           Add some more docs, comments and FIXME 0.11s here and there
7877           and also fix some typos.
7878
7879 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7880
7881         * gst/gstsegment.h:
7882           Convert tabs to spaces for better readability. 
7883
7884 2006-07-20  Edward Hervey  <edward@fluendo.com>
7885
7886         * tests/check/libs/gdp.c: (gst_dp_suite):
7887         the test_buffer test fails at line 140 on ppc64 at the following
7888         check:
7889         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7890                 GST_BUFFER_FLAG_IN_CAPS),
7891                 "GST_BUFFER_IN_CAPS flag should have been copied !");
7892         See bug #348114 for more details.
7893
7894 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
7895
7896         * docs/pwg/advanced-scheduling.xml:
7897         * gst/gstpad.c:
7898           Fix typos (#348000).
7899
7900 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
7901
7902         * docs/pwg/intro-basics.xml:
7903           Fix wrong links (#347927).
7904
7905 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
7906
7907         * gst/gstregistry.h:
7908         * gst/gstregistryxml.c: (load_feature),
7909         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7910         * win32/common/config.h:
7911           make --disable-index work (#342564)
7912
7913 2006-07-18  Wim Taymans  <wim@fluendo.com>
7914
7915         Patch by: Peter Kjellerstedt <pkj at axis dot com>
7916
7917         * gst/Makefile.am:
7918         * gst/gsttrace.h:
7919         The attached patch adds two missing defines to gsttrace.h when tracing
7920         is disabled.  It also corrects one existing define.
7921         Fixes #347756.
7922
7923 2006-07-17  Wim Taymans  <wim@fluendo.com>
7924
7925         * docs/gst/gstreamer-sections.txt:
7926         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7927         * gst/gst.h:
7928         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7929         Add two functions to check and change the SIGSEGV behaviour
7930         when loading plugins.
7931         Don't mess with the SIGSEGV handler when we were told not to.
7932         Fixes #347794.
7933         API: gst_segtrap_is_enabled
7934         API: gst_segtrap_set_enabled
7935
7936 2006-07-14  Wim Taymans  <wim@fluendo.com>
7937
7938         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7939         * tests/check/elements/filesrc.c: (GST_START_TEST):
7940         Revert fix for regression in #347408 after release.
7941
7942 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
7943
7944         Patch by: Antoine Tremblay <hexa00 at gmail com>
7945
7946         * gst/gstutils.c: (gst_element_unlink):
7947           Free iterator when done (#347311).
7948
7949         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7950           And add a test case for this.
7951
7952 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
7953
7954         * configure.ac:
7955         Bump nano back to CVS
7956
7957 === release 0.10.9 ===
7958
7959 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
7960
7961         * configure.ac:
7962           releasing 0.10.9, "On the road again"
7963
7964 2006-07-13  Wim Taymans  <wim@fluendo.com>
7965
7966         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7967         * tests/check/elements/filesrc.c: (GST_START_TEST):
7968         Revert pull-0 fix for release. Disable check. Fixes #347408.
7969
7970 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7971
7972         * libs/gst/dataprotocol/dataprotocol.c:
7973         (gst_dp_event_from_packet_1_0):
7974           Fixes #347337: failure to deserialize event packets with
7975           empty payload (only event type)
7976
7977 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7978
7979         * gst/Makefile.am:
7980           do not install a .c file in the header directory
7981
7982 2006-07-13  Edward Hervey  <edward@fluendo.com>
7983
7984         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7985         GhostPad no longer implicitely use the padtemplates of the targets.
7986         Fixes #347384
7987
7988 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
7989
7990         * gst/gstvalue.c: (gst_value_compare_list),
7991         (gst_value_compare_array), (_gst_value_initialize):
7992         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7993         Make GstValueArray comparison be order dependent as designed.
7994         Add checks for value lists and value array comparisons.
7995         Fixes #347221
7996
7997 2006-07-11  Edward Hervey  <edward@fluendo.com>
7998
7999         * gst/gstbin.c: (activate_pads),
8000         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8001         (gst_bin_change_state_func):
8002         (de)activate src pads before calling state_change on the childs.
8003         This is to avoid the case where a src ghostpad is blocked (holding the
8004         stream lock), which would block the deactivation of the ghostpad's
8005         target pad.
8006         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8007         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8008         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8009         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8010         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8011         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8012         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8013         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8014         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8015         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8016         (gst_ghost_pad_class_init),
8017         (gst_ghost_pad_internal_do_activate_push),
8018         (gst_ghost_pad_internal_do_activate_pull),
8019         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8020         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8021         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8022         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8023         GhostPads now create their internal GstProxyPad at creation (and not
8024         when they're linked, as it was being done previously).
8025         The internal and target pads are linked straight away.
8026         The data will also travel through the other pad in order to make
8027         pad blocking and probes non-hackish (the probe/block now really happens
8028         on the GhostPad and not on the target).
8029         * gst/gstpad.c: (gst_pad_set_blocked_async),
8030         (gst_pad_link_prepare), (gst_pad_push_event):
8031         Remove previous ghostpad cruft.
8032         * gst/gstutils.c: (gst_pad_add_data_probe),
8033         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8034         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8035         (gst_pad_remove_buffer_probe):
8036         Remove previous ghost pad cruft.
8037         Added more detailed debug statements.
8038         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8039         Fix the testsuite for refcounting changes.
8040         The comments about who has references were correct, but the refcount
8041         being checked wasn't the same (!?!).
8042
8043         Fixes #341029
8044
8045 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8046
8047         * docs/gst/gstreamer-sections.txt:
8048         * gst/gstconfig.h.in:
8049         More docs for configuration options, add docs to gtk-doc.
8050
8051 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8052
8053         * gst/Makefile.am:
8054         * gst/gstconfig.h.in:
8055         * win32/common/config.h:
8056         Fix build when disabling tracing (fixes #344016). Also start to document
8057         the defines that disable the sub-systems.
8058
8059 2006-07-10  Edward Hervey  <edward@fluendo.com>
8060
8061         * gst/gst.c: (ensure_current_registry_forking):
8062         let's make valgrind happy...
8063
8064 2006-07-09  Wim Taymans  <wim@fluendo.com>
8065
8066         * gst/gstelement.c: (activate_pads),
8067         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8068         Better pad activation code: Reset the collect value too on resync.
8069         Add some comments.
8070
8071 2006-07-09  Wim Taymans  <wim@fluendo.com>
8072
8073         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8074         (gst_pad_activate_push):
8075         Use some more macros where it makes sense.
8076         Allow pad mode switching instead of asserting. When a pad
8077         is activated in one mode and we activate it in another, 
8078         deactivate it first before activating it in a different mode.
8079         Fixes #329198.
8080
8081 2006-07-08  Andy Wingo  <wingo@pobox.com>
8082
8083         * tools/gst-launch.c (main): Handle err == NULL.
8084
8085         * gst/gst.c (init_post, ensure_current_registry)
8086         (ensure_current_registry_forking)
8087         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8088         factoring out the registry scanning into separate functions. Don't
8089         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8090         Better environment var name/interface suggestions accepted.
8091
8092 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8093
8094         * gst/gstobject.c: (gst_object_set_name_default),
8095         (gst_object_set_name):
8096           Random micro-optimisation: don't use a hash table
8097           with strings as keys and the usual strdup/strcmp
8098           involved, but rather just use the GQuark of the
8099           type name as key, since it needs to be looked up
8100           anyway to get the type name string.
8101
8102         * tests/check/gst/gstobject.c: (GST_START_TEST):
8103           Fix various leaks.
8104
8105 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8106
8107         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8108         (gst_bin_iterate_all_by_interface):
8109           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8110           GTypes are gulongs and thus the top 4 bytes might be cut
8111           off on some platforms when doing GPOINTER_TO_INT, leading
8112           to invalid GTypes and bad things happening (see RH bug #179654).
8113           Also add a check to make sure the type passed in is really
8114           an interface type.
8115
8116 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8117
8118         * .cvsignore:
8119           Ignore more.
8120
8121 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8122
8123         * Makefile.am:
8124         * configure.ac:
8125         * gst-element-check.m4:
8126         * gst-element-check.m4.in:
8127           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8128           instead of the unversioned gst-inspect (#324176, #168659).
8129
8130 2006-07-06  Wim Taymans  <wim@fluendo.com>
8131
8132         * gst/gstmessage.h:
8133         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8134         warnings.
8135
8136 2006-07-06  Wim Taymans  <wim@fluendo.com>
8137
8138         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8139         (gst_base_src_wait), (gst_base_src_update_length),
8140         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8141         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8142         (gst_base_src_loop), (gst_base_src_start),
8143         (gst_base_src_activate_pull):
8144         Update docs.
8145         blocksize == 0 now means the default blocksize when working in push
8146         based mode.
8147         Remove some pointless asserts in _wait function.
8148         Fix offset/length calculations and EOS handling. We can now pull 0
8149         bytes as well, which is allowed.
8150         use _check_get_range() to decide if we can operate in _pull based
8151         mode.
8152         Fix refcounting leak when check_get_range function was not 
8153         implemented.
8154         API GstBaseSrc::blocksize range can be 0 too now (default)
8155
8156         * tests/check/elements/filesrc.c: (GST_START_TEST),
8157         (filesrc_suite):
8158         Added check to test _get_range() behaviour.
8159
8160 2006-07-06  Wim Taymans  <wim@fluendo.com>
8161
8162         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8163         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8164         (gst_pad_pull_range):
8165         * gst/gstpad.h:
8166         Lots of comments and docs added to the pad functions.
8167         Flesh out the expected behaviour of the get_range() functions.
8168
8169 2006-07-06  Wim Taymans  <wim@fluendo.com>
8170
8171         * gst/gstbus.h:
8172         * gst/gstclock.h:
8173         * gst/gstevent.h:
8174         * gst/gstiterator.h:
8175         * gst/gstpad.h:
8176         * gst/gstplugin.h:
8177         * gst/gsttask.h:
8178         Remove comma at end of enumerator list. 
8179
8180 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
8181
8182         * win32/common/libgstbase.def:
8183         * win32/common/libgstdataprotocol.def:
8184         * win32/common/libsgtreamer.def:
8185         Add new exported functions.
8186
8187 2006-07-05  Wim Taymans  <wim@fluendo.com>
8188
8189         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8190         Add some more docs here and there.
8191
8192 2006-07-05  Wim Taymans  <wim@fluendo.com>
8193
8194         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8195         (gst_base_sink_loop), (gst_base_sink_get_position):
8196         When operating in pull mode update the offset so that we
8197         read sequentially.
8198
8199 2006-07-05  Wim Taymans  <wim@fluendo.com>
8200
8201         * gst/gstregistryxml.c: (read_string):
8202         Avoid strdup. (will happen in libxml, but hey!)
8203
8204         * gst/gsturi.c:
8205         Add some more docs.
8206
8207 2006-07-05  Wim Taymans  <wim@fluendo.com>
8208
8209         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8210         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8211         (gst_buffer_suite):
8212         No point in checking if the size of the subbuffer > 0, the
8213         code handles it correclty as demonstrated by unit test.
8214         Also add a unit test for the zero sized _new_and_alloc and
8215         _copy. Fixes #346663.
8216
8217 2006-07-05  Wim Taymans  <wim@fluendo.com>
8218
8219         * libs/gst/base/gstbasetransform.c:
8220         (gst_base_transform_prepare_output_buffer),
8221         (gst_base_transform_buffer_alloc),
8222         (gst_base_transform_handle_buffer):
8223         Make sure the buffer we pass to transform_ip has a refcount of
8224         1 and thus is writable. Fixes #343196
8225
8226 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
8227
8228         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8229         (gst_file_src_init), (gst_file_src_set_property),
8230         (gst_file_src_get_property), (gst_file_src_map_region):
8231         * plugins/elements/gstfilesrc.h:
8232         Add "sequential" property, off by default, to use madvise and hint
8233         to the kernel that sequential access is desired.
8234         Touch all retrieved pages by default to ensure they are pulled
8235         into memory. (Closes #345720)
8236
8237 2006-07-03  Wim Taymans  <wim@fluendo.com>
8238
8239         * docs/design/part-block.txt:
8240         * docs/design/part-dynamic.txt:
8241         Small docs updates.
8242
8243 2006-07-03  Wim Taymans  <wim@fluendo.com>
8244
8245         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8246         (gst_caps_unref), (gst_static_caps_get),
8247         (gst_caps_append_structure):
8248         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8249         Use GSlice when the glib we build against is >= 2.10
8250
8251 2006-07-03  Wim Taymans  <wim@fluendo.com>
8252
8253         * gst/gstelement.c: (gst_element_pads_activate):
8254         Small cleanup in pad activation code.
8255
8256 2006-07-03  Wim Taymans  <wim@fluendo.com>
8257
8258         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8259
8260         * gst/gst-i18n-app.h:
8261         * gst/gst-i18n-lib.h:
8262         * tools/gst-inspect.c: (print_signal_info):
8263         The attached patch will make the inclusion of gettext.h unconditional in
8264         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8265         libintl.h in tools/gst-inspect.c.
8266         This allows use of --disable-nls again and fixes #344642.
8267
8268 2006-07-03  Edward Hervey  <edward@fluendo.com>
8269
8270         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8271         Implement pad blocking on events according to part-block.txt.
8272         More comments on behaviour.
8273         * tests/check/gst/gstevent.c: (test_event):
8274         Send event to peer pad of blocked pad (else it will block).
8275
8276 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8277
8278         * libs/gst/check/gstcheck.c: (gst_check_message_error),
8279         (gst_check_run_suite):
8280           if we get the wrong message, give us the types as string
8281         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8282           Fix a translatable
8283         * tests/check/elements/filesrc.c: (GST_START_TEST):
8284           add a test for trying to open a non-existing file
8285
8286 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8287
8288         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8289           add a test for adding self
8290
8291 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8292
8293         * libs/gst/check/gstcheck.h:
8294           add some assert_ as alias for fail_unless_*
8295         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8296           increase test coverage
8297
8298 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8299
8300         * Makefile.am:
8301           include lcov.mak for lcov coverage generation
8302         * tools/Makefile.am:
8303           add to CLEANFILES
8304
8305 2006-07-02  Edward Hervey  <edward@fluendo.com>
8306
8307         * tests/check/elements/.cvsignore:
8308         moaping
8309
8310 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8311
8312         * configure.ac:
8313           don't set CFLAGS and friends for gcov, done from GST_GCOV now
8314         * tests/check/Makefile.am:
8315           clean up gcov files
8316
8317 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8318
8319         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8320           remove gst_caps_simplify; it was not declared and not used
8321           and deprecated in 0.8
8322
8323 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8324
8325         * docs/faq/gst-uninstalled:
8326           don't put empty paths on PYTHONPATH
8327         * docs/gst/gstreamer-sections.txt:
8328           remove some symbols that are not there
8329
8330 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8331
8332         * gst/gstcaps.c: (gst_caps_compare_structures):
8333           whitespace fixes
8334         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8335         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8336           add more tests
8337
8338 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8339
8340         * libs/gst/dataprotocol/Makefile.am:
8341           build dataprotocol test by linking to the lib, instead of
8342           compiling the source, so we get coverage
8343         * tests/check/Makefile.am:
8344         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8345         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8346           add a test for filesrc
8347
8348 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8349
8350         * tests/check/gst/gststructure.c: (GST_START_TEST),
8351         (gst_structure_suite):
8352           Push coverage from 59.04% to 70.00%
8353
8354 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8355
8356         * tests/check/Makefile.am:
8357           gst-inspect every element; this makes sure that we also get
8358           coverage on element's get/set functions
8359
8360 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8361
8362         * configure.ac:
8363           set CFLAGS and friends to -O0 if gcov is being used
8364           add GCOV LIBS
8365         * gst/Makefile.am:
8366         * libs/gst/base/Makefile.am:
8367         * libs/gst/check/Makefile.am:
8368         * libs/gst/controller/Makefile.am:
8369         * libs/gst/dataprotocol/Makefile.am:
8370         * libs/gst/net/Makefile.am:
8371         * plugins/elements/Makefile.am:
8372         * plugins/indexers/Makefile.am:
8373           add makefile rules to generate gcov data and clean up
8374         * tests/check/Makefile.am:
8375           add a coverage target that generates an html overview
8376           of coverage data
8377
8378 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8379
8380         * tests/check/elements/fakesink.c:
8381         * tests/check/elements/fakesrc.c:
8382         * tests/check/elements/fdsrc.c:
8383         * tests/check/elements/identity.c:
8384         * tests/check/generic/sinks.c: (gst_sinks_suite):
8385         * tests/check/generic/states.c:
8386         * tests/check/gst/gst.c:
8387         * tests/check/gst/gstabi.c:
8388         * tests/check/gst/gstbin.c:
8389         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8390         * tests/check/gst/gstbus.c: (gst_bus_suite):
8391         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8392         * tests/check/gst/gstelement.c:
8393         * tests/check/gst/gstevent.c: (gst_event_suite):
8394         * tests/check/gst/gstghostpad.c:
8395         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8396         * tests/check/gst/gstmessage.c: (gst_message_suite):
8397         * tests/check/gst/gstminiobject.c:
8398         * tests/check/gst/gstobject.c:
8399         * tests/check/gst/gstpad.c:
8400         * tests/check/gst/gstpipeline.c:
8401         * tests/check/gst/gstplugin.c:
8402         * tests/check/gst/gstquery.c: (gst_query_suite):
8403         * tests/check/gst/gstsegment.c: (gst_segment_suite):
8404         * tests/check/gst/gststructure.c:
8405         * tests/check/gst/gstsystemclock.c:
8406         * tests/check/gst/gsttag.c:
8407         * tests/check/gst/gsttask.c: (gst_task_suite):
8408         * tests/check/gst/gstutils.c:
8409         * tests/check/gst/gstvalue.c:
8410         * tests/check/libs/adapter.c:
8411         * tests/check/libs/basesrc.c:
8412         * tests/check/libs/collectpads.c:
8413         * tests/check/libs/controller.c:
8414         * tests/check/libs/gdp.c: (gst_dp_suite):
8415         * tests/check/libs/gstnetclientclock.c:
8416         * tests/check/libs/gstnettimeprovider.c:
8417         * tests/check/libs/libsabi.c: (libsabi_suite):
8418         * tests/check/libs/typefindhelper.c:
8419         * tests/check/pipelines/cleanup.c:
8420         * tests/check/pipelines/parse-launch.c:
8421         * tests/check/pipelines/simple-launch-lines.c:
8422         * tests/check/pipelines/stress.c: (stress_suite):
8423           use the new macro
8424
8425 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8426
8427         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8428         * libs/gst/check/gstcheck.h:
8429           create a macro and function so that the simple unit test
8430           case can be just one macro to create main()
8431
8432 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
8433
8434         * gst/gstbin.c: (gst_bin_restore_thyself):
8435         * gst/gstxml.c: (gst_xml_make_element):
8436           Fix deserialisation from XML. Set parent manually
8437           instead of using gst_bin_add(), since gst_bin_add()
8438           will unlink all pads of the element being added.
8439           Fixes #341667.
8440
8441 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
8442
8443         Patch by: Peter Kjellerstedt <pkj at axis com>
8444
8445         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8446           Fix missing g_strdup() and double free when using the
8447           --gst-plugin-load command line option (#346097).
8448
8449 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8450
8451         * gst/gstinfo.c:
8452           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8453
8454         * libs/gst/net/gstnetclientclock.c:
8455         * libs/gst/net/gstnettimeprovider.c:
8456           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8457
8458 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8459
8460         * docs/manual/advanced-dataaccess.xml:
8461           Fix buffer probe example compilation in
8462           ADM (#345708).
8463         
8464 2006-06-22  Edward Hervey  <edward@fluendo.com>
8465
8466         * gst/gstelement.c: (gst_element_pads_activate):
8467         We need to deactivate src pads first and then sink pads.
8468         The reason is the src pads might be blocking while holding the streaming
8469         lock, so we need to deactivate them first so that deactivating the sink
8470         pads doesn't block (since it will require the streaming lock).
8471
8472 2006-06-22  Wim Taymans  <wim@fluendo.com>
8473
8474         * libs/gst/base/gstbasetransform.c:
8475         (gst_base_transform_buffer_alloc):
8476         Forgot to remove two unneeded unrefs.
8477         Simplify a check _is_equal allready checks the obvious case.
8478
8479 2006-06-22  Wim Taymans  <wim@fluendo.com>
8480
8481         * docs/design/part-block.txt:
8482         Some docs about what pad_block should do.
8483
8484 2006-06-22  Wim Taymans  <wim@fluendo.com>
8485
8486         * gst/gstcaps.c: (gst_caps_replace):
8487         Fix crasher when passed NULL. Doc clarification.
8488         Optimize for the trivial case.
8489
8490         * gst/gstpipeline.c: (gst_pipeline_change_state):
8491         Small cleanups.
8492
8493         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8494         Small documentation cleanup.
8495
8496         * libs/gst/base/gstbasetransform.c:
8497         (gst_base_transform_buffer_alloc):
8498         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8499         is what we need and it avoids a whole lot of redundant 
8500         refcount operations.
8501
8502 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
8503
8504         Patch by: Philip Jägenstedt  <philip at lysator liu se>
8505
8506         * docs/manual/advanced-dataaccess.xml:
8507           Fix 'Embedding static elements' section to use
8508           GST_PLUGIN_DEFINE_STATIC (#345607).
8509
8510 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8511
8512         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8513           Attempt to 'fix' spuriously failing test case: it seems like the
8514           timeout of half a second is simply too small when the system is under
8515           load otherwise, and the timeout doesn't really seem to serve any
8516           particular purpose here. Give the pipeline a few seconds to preroll
8517           first, and then give it another half a second to go from PAUSED to
8518           PLAYING and marshal the message into the main thread.
8519
8520 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8521
8522         * tools/gst-feedback-m.m:
8523           Don't only use unversioned tools, try versioned tools as well
8524           (#345086).
8525
8526 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8527
8528         * gst/gstbus.c: (gst_bus_class_init):
8529           Fix some typos, make docs more explicit.
8530
8531 2006-06-20  Wim Taymans  <wim@fluendo.com>
8532
8533         * tests/check/gst/gstghostpad.c: (block_callback),
8534         (GST_START_TEST), (gst_ghost_pad_suite):
8535         Added some more ghostpad tests, mainly blocking
8536         and probes.
8537
8538 2006-06-16  Wim Taymans  <wim@fluendo.com>
8539
8540         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8541         (gst_file_sink_close_file), (gst_file_sink_do_seek),
8542         (gst_file_sink_event), (gst_file_sink_render):
8543         * plugins/elements/gstfilesink.h:
8544         Check if we can seek in the file instead of assuming
8545         we always can. Post an error when we are asked to seek in a
8546         non-seekable file (like a fifo). Fixes #343312.
8547         Some cleanups.
8548
8549 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8550
8551         * tools/gst-launch.1.in:
8552           Un-garble (fourcc) bit in filtered caps section.
8553
8554 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8555
8556         * docs/manual/advanced-autoplugging.xml:
8557         * docs/manual/basics-helloworld.xml:
8558         * docs/manual/highlevel-components.xml:
8559           Don't leak bus reference in sample code.
8560
8561 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
8562
8563         * autogen.sh:
8564           Add default for new --enable-plugin-docs switch.
8565
8566         * configure.ac:
8567           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8568           Fixes #344039.
8569
8570         * docs/Makefile.am:
8571           Use new ENABLE_PLUGIN_DOCS conditional.
8572
8573 2006-06-14  Wim Taymans  <wim@fluendo.com>
8574
8575         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8576         Make it clear with a FIXME and a real define what the #if 0
8577         previously disabled.
8578
8579 2006-06-14  Wim Taymans  <wim@fluendo.com>
8580
8581         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8582         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8583         * libs/gst/base/gstbasetransform.c:
8584         (gst_base_transform_sink_eventfunc):
8585         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8586         Don't randomly and silently reset a segment when the format 
8587         changes as this is a bug somewhere upstream. Fixes #330379.
8588
8589 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8590
8591         Patch by: Wouter Paesen  <wouter at kangaroot net>
8592
8593         * libs/gst/controller/gstcontroller.c:
8594         (gst_controlled_property_new):
8595           Fix controlling of float properties (#344849).
8596
8597         * tests/check/libs/controller.c:
8598         (gst_test_mono_source_get_property),
8599         (gst_test_mono_source_set_property),
8600         (gst_test_mono_source_class_init), (GST_START_TEST):
8601           While we're at it, add some float stuff to unit test.
8602
8603 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8604
8605         * docs/README:
8606         * docs/images/gdp-header.svg:
8607           add a gdp image
8608         * docs/libs/Makefile.am:
8609         * docs/libs/gdp-header.png:
8610         * libs/gst/dataprotocol/dataprotocol.c:
8611           add it to the API docs
8612         * docs/manual/intro-motivation.xml:
8613           fix typo
8614
8615 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8616
8617         * gst/gst.c: (scan_and_update_registry), (init_post):
8618           If the fork()'ed child process can't write the updated registry cache
8619           file to disk for some reason, make it exit with a failure exit code,
8620           so that the parent can then re-scan the plugins itself and update the
8621           registry structures in memory and work with that (rather than failing
8622           when creating elements because seemingly no plugins are available).
8623           Refactor registry scanning code into separate function for this and
8624           also separate fork() and non-fork() code paths. Fixes #344748.
8625
8626 2006-06-13  Wim Taymans  <wim@fluendo.com>
8627
8628         * docs/manual/advanced-dataaccess.xml:
8629         Fix wrong PluginDesc. Fixes #344755.
8630
8631 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8632
8633         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8634           Fix silly bug that prevented us from creating
8635           ~/.gstreamer-0.10 and writing the registry in one
8636           go (the first call to g_mkstemp() would overwrite the
8637           placeholder in the template string, so the second call
8638           to g_mkstemp() after creating the missing directory
8639           would then error out with 'invalid argument').
8640
8641 2006-06-13  Edward Hervey  <edward@fluendo.com>
8642
8643         * gst/gst.c: (init_post):
8644         Free string.
8645
8646 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8647
8648         * gst/glib-compat-private.h:
8649         * gst/glib-compat.c:
8650         * gst/glib-compat.h:
8651         * gst/gstvalue.c: (gst_value_serialize_flags):
8652           remove GLib 2.6 compatibility code
8653
8654 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
8655
8656         * gst/parse/Makefile.am:
8657           Fix build with 'make -j N' even more (#340016).
8658
8659 2006-06-12  Wim Taymans  <wim@fluendo.com>
8660
8661         * docs/gst/gstreamer-sections.txt:
8662         Fix docs.
8663
8664 2006-06-12  Wim Taymans  <wim@fluendo.com>
8665
8666         * gst/gstsegment.c: (gst_segment_set_duration),
8667         (gst_segment_set_last_stop), (gst_segment_set_seek),
8668         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8669         (gst_segment_to_running_time), (gst_segment_clip):
8670         Use G_UNLIKELY to help the compiler a bit.
8671
8672 2006-06-12  Wim Taymans  <wim@fluendo.com>
8673
8674         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8675
8676         * gst/gstevent.c: (gst_event_get_type):
8677         * gst/gstmessage.c:
8678         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8679         (gst_pad_push):
8680         constify quark registration strings. Fixes #344115
8681         Avoid unneeded type checking is _pad_push() by internally
8682         calling gst_pad_chain_unchecked().
8683
8684 2006-06-12  Wim Taymans  <wim@fluendo.com>
8685
8686         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8687         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8688         (gst_subbuffer_finalize), (gst_buffer_create_sub),
8689         (gst_buffer_is_span_fast), (gst_buffer_span):
8690         Init _type for consistency.
8691         Use _FLAGS macro to avoid type check.
8692         Avoid unneeded type checks in subbufer code.
8693
8694 2006-06-12  Wim Taymans  <wim@fluendo.com>
8695
8696         * gst/gst.c: (gst_debug_help):
8697         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8698         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8699         (gst_plugin_feature_list_free):
8700         * gst/gstregistry.c: (gst_registry_add_plugin),
8701         (gst_registry_add_feature), (gst_registry_plugin_filter),
8702         (gst_registry_feature_filter), (gst_registry_find_plugin),
8703         (gst_registry_find_feature), (gst_registry_get_plugin_list),
8704         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8705         * gst/gstregistryxml.c: (load_feature),
8706         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8707         * gst/gstminiobject.c: (gst_mini_object_unref),
8708         (gst_mini_object_replace), (gst_value_mini_object_free),
8709         (gst_value_mini_object_copy):
8710         Use _CAST macros to avoid unneeded type checking.
8711         Added some more G_UNLIKELY.
8712
8713 2006-06-12  Wim Taymans  <wim@fluendo.com>
8714
8715         * gst/gstbuffer.h:
8716         Avoid unneeded type checking.
8717         API: GST_BUFFER_IS_DISCONT
8718
8719         * gst/gstminiobject.h:
8720         Avoid type check in flag accessor.
8721
8722         * gst/gstelementfactory.h:
8723         * gst/gstplugin.h:
8724         * gst/gstpluginfeature.h:
8725         Add _CAST macros.
8726         API: GST_ELEMENT_FACTORY_CAST
8727         API: GST_PLUGIN_CAST
8728         API: GST_PLUGIN_FEATURE_CAST
8729
8730 2006-06-12  Wim Taymans  <wim@fluendo.com>
8731
8732         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8733         (gst_object_unref):
8734         Add G_UNLIKELY in type registration.
8735         Avoid type check in _ref/_unref since that is also
8736         done in glib.
8737
8738 2006-06-12  Wim Taymans  <wim@fluendo.com>
8739
8740         * gst/gsterror.c: (gst_g_error_get_type):
8741         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8742         (gst_static_pad_template_get_type):
8743         * gst/gsttaglist.c: (gst_tag_list_get_type):
8744         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8745         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8746         * gst/gsturi.c: (gst_uri_handler_get_type):
8747         * gst/gstvalue.c: (gst_date_get_type):
8748         * gst/gstxml.c: (gst_xml_get_type):
8749         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8750         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8751         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8752         Add G_UNLIKELY in type registration.
8753
8754 2006-06-12  Wim Taymans  <wim@fluendo.com>
8755
8756         * tools/gst-inspect.c: (print_signal_info):
8757         Properly print enum values.
8758
8759 2006-06-12  Wim Taymans  <wim@fluendo.com>
8760
8761         * gst/gstinfo.c: (gst_debug_set_active),
8762         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8763         * gst/gstinfo.h:
8764         Add some G_[UN]LIKELY.
8765         Maintain __gst_debug_min to avoid formatting the arguments of
8766         debug messages that will be dropped anyway to avoid a lot of 
8767         overhead from the debugging system.
8768
8769 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8770
8771         * po/POTFILES.in:
8772         * po/POTFILES.skip:
8773           add missing files containing translatable strings, tell intltool about
8774           one exception
8775
8776 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8777
8778         * tests/check/libs/.cvsignore:
8779         add test-binary to ignore list
8780
8781 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8782
8783         * docs/libs/gstreamer-libs-docs.sgml:
8784         reorder (put dp into a chapter) and indent
8785
8786 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8787
8788         * configure.ac:
8789           back to HEAD
8790
8791 === release 0.10.8 ===
8792
8793 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
8794
8795         * configure.ac:
8796           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8797
8798 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8799
8800         * gst/gst.c: (init_post):
8801           move pid declaration to declaration block
8802
8803 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8804
8805         * gst/gst.c: (init_post):
8806           use _exit() instead of exit() in our forked child; this ensures
8807           that none of the registered exit handlers from whatever is using
8808           GStreamer get executed.  This fixes gnome-mixer-applet failing
8809           to load, because ORBit would shut down.
8810           Spotted by: Edward Hervey  <edward@fluendo.com>
8811           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
8812           Fixes #344474
8813
8814 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8815
8816         * configure.ac:
8817           back to TRUNK
8818
8819 === release 0.10.7 ===
8820
8821 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
8822
8823         * configure.ac:
8824           releasing 0.10.7, "Soepeke, ik zie ou"
8825
8826 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8827
8828         * configure.ac:
8829         * po/af.po:
8830         * po/az.po:
8831         * po/bg.po:
8832         * po/ca.po:
8833         * po/cs.po:
8834         * po/de.po:
8835         * po/en_GB.po:
8836         * po/fr.po:
8837         * po/it.po:
8838         * po/nb.po:
8839         * po/nl.po:
8840         * po/ru.po:
8841         * po/sq.po:
8842         * po/sr.po:
8843         * po/sv.po:
8844         * po/tr.po:
8845         * po/uk.po:
8846         * po/vi.po:
8847         * po/zh_CN.po:
8848         * po/zh_TW.po:
8849         * win32/common/config.h:
8850           0.10.6.2 prerelease
8851
8852 2006-06-07  Wim Taymans  <wim@fluendo.com>
8853
8854         * gst/gstindex.c: (gst_index_gtype_resolver):
8855         * tools/gst-xmlinspect.c: (print_plugin_info):
8856         Fix leak spotted by coverity checker. Fixes #343827
8857         Fix another other leak found by paolo borelli.
8858
8859 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8860
8861         * libs/gst/dataprotocol/dataprotocol.c:
8862         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8863         (gst_dp_version_get_type), (gst_dp_init),
8864         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8865         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8866         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8867         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8868         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8869         (gst_dp_packetizer_free):
8870         * libs/gst/dataprotocol/dataprotocol.h:
8871           API: add a GstDPPacketizer object, and create/free functions
8872           API: add GstDPVersion enum
8873           Add 1.0 event function that uses the string serialization
8874           Serialize more useful buffer flags
8875           Fixes #343988
8876
8877 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8878
8879         * tests/check/Makefile.am:
8880         * tests/check/gst/gstabi.c:
8881         * tests/check/gst/struct_ppc64.h:
8882         * tests/check/libs/libsabi.c:
8883         * tests/check/libs/struct_ppc64.h:
8884           add ppc64 structure sizes
8885
8886 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8887
8888         * tests/check/Makefile.am:
8889         * tests/check/gst/gstabi.c:
8890         * tests/check/gst/struct_x86_64.h:
8891         * tests/check/libs/libsabi.c:
8892         * tests/check/libs/struct_x86_64.h:
8893           generate and add structure size lists for x86_64
8894
8895 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8896
8897         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8898         * libs/gst/check/gstcheck.h:
8899           factor out the method from tests that checks size of structures,
8900           and add code to generate the header containing these sizes
8901         * tests/check/gst/gstabi.c: (GST_START_TEST):
8902         * tests/check/gst/struct_i386.h:
8903         * tests/check/libs/libsabi.c: (GST_START_TEST):
8904         * tests/check/libs/struct_i386.h:
8905           use it
8906
8907 2006-06-06  Michael Smith  <msmith@fluendo.com>
8908
8909         * gst/gstsegment.h:
8910           Don't use c++-style comments, fixes #343929
8911
8912 2006-06-05  Edward Hervey  <edward@fluendo.com>
8913
8914         * gst/gst.c:
8915         plugin_paths is not used if we build without registry support.
8916
8917         * gst/gstsegment.c: (gst_segment_copy): 
8918         _copy() was always returning NULL...
8919
8920 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8921
8922         * libs/gst/dataprotocol/dataprotocol.c:
8923         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8924         (gst_dp_packet_from_event):
8925           factor out CRC code
8926
8927 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8928
8929         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8930           make sure we unset caps
8931
8932 2006-06-02  Michael Smith  <msmith@fluendo.com>
8933
8934         * libs/gst/check/gstcheck.c: (gst_check_init),
8935         (gst_check_chain_func):
8936         * libs/gst/check/gstcheck.h:
8937           Add a cond/mutex to the check support lib, signal this whenever we
8938           add to the buffers list. This will allow tests to not busy-wait on
8939           the buffer-list.
8940
8941 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8942
8943         * libs/gst/dataprotocol/dataprotocol.c:
8944         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8945         (gst_dp_packet_from_event):
8946           factor out some common header init code
8947
8948 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8949
8950         * docs/libs/gstreamer-libs-sections.txt:
8951         * docs/libs/tmpl/gstdataprotocol.sgml:
8952         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8953         * libs/gst/dataprotocol/dataprotocol.h:
8954           API: make gst_dp_crc() public
8955
8956 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8957
8958         * plugins/indexers/gstindexers.c: (plugin_init):
8959         conditionally register fileindexer (fixes #343598)
8960
8961 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8962
8963         * gst/gsttagsetter.h:
8964         Can't cast ifaces to a class
8965
8966         * libs/gst/net/gstnetclientclock.h:
8967         * libs/gst/net/gstnettimeprovider.h:
8968         * plugins/elements/gstfakesink.h:
8969         * plugins/elements/gstfakesrc.h:
8970         * plugins/elements/gstfdsink.h:
8971         * plugins/elements/gstfdsrc.h:
8972         * plugins/elements/gstfilesink.h:
8973         * plugins/elements/gstfilesrc.h:
8974         * plugins/elements/gstidentity.h:
8975         * plugins/elements/gstqueue.h:
8976         * plugins/elements/gsttee.h:
8977         * plugins/indexers/gstfileindex.c:
8978         * plugins/indexers/gstmemindex.c:
8979         * tests/old/examples/plugins/example.h:
8980         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8981
8982 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8983
8984         * libs/gst/dataprotocol/dataprotocol.c:
8985         (gst_dp_header_from_buffer):
8986           make sure we zero the whole ABI-compatible area
8987
8988 2006-06-01  Wim Taymans  <wim@fluendo.com>
8989
8990         Patch by: Alessandro Decina <alessandro at nnva dot org>
8991
8992         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8993         Make sure the EOS flag is cleared from pads after a flush
8994         or stop. Fixes #343538.
8995
8996         * tests/check/libs/collectpads.c: (GST_START_TEST),
8997         (gst_collect_pads_suite):
8998         Added test for collectpads reusage after EOS.
8999
9000 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
9001
9002         * gst/gst.c:
9003          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9004         * win32/common/libgstbase.def:
9005          export gst_collect_pads_set_flushing
9006         * win32/common/libgstreamer.def:
9007          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9008          gst_value_fraction_multiply
9009         * win32/vs6/gst_inspect.dsp:
9010          add a link to intl.lib
9011
9012 2006-05-30  Wim Taymans  <wim@fluendo.com>
9013
9014         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9015         (gst_collect_pads_chain):
9016         Handle the case where a pad is removed from the collection
9017         that could cause the other pads to become collectable.
9018
9019 2006-05-30  Wim Taymans  <wim@fluendo.com>
9020
9021         * gst/gstelement.c:
9022         Clarify the use of _release_request_pad() and
9023         _get_request_pad() a bit better.
9024
9025         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9026         (gst_adapter_take_buffer):
9027         Fix some doc and comment typos.
9028
9029 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9030
9031         * docs/gst/gstreamer-sections.txt:
9032         * docs/libs/gstreamer-libs-sections.txt:
9033           add declared symbols
9034
9035 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
9036
9037         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9038         Add debug that can be enabled using a #define at the top of the file,
9039         for dumping stats about how late/early we were when waking up from
9040         waiting on the clock.
9041
9042 2006-05-30  Wim Taymans  <wim@fluendo.com>
9043
9044         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9045         When rebuilding the pad list, don't leak the previous list.
9046
9047 2006-05-30  Wim Taymans  <wim@fluendo.com>
9048
9049         Patch by: Lutz Mueller <lutz at topfrose dot de>
9050
9051         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9052         (gst_base_src_get_query_types), (gst_base_src_update_length):
9053         Publish supported query types.
9054         Update last_stop field in get_range mode so the position
9055         query works. Fixes #342321.
9056
9057 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
9058
9059         * docs/gst/gstreamer-sections.txt:
9060         * gst/gsttaglist.c: (_gst_tag_initialize):
9061         * gst/gsttaglist.h:
9062           API: add GST_TAG_PREVIEW_IMAGE (#343341).
9063
9064 2006-05-30  Wim Taymans  <wim@fluendo.com>
9065
9066         Patch by: Alessandro Decina <alessandro at nnva dot org>
9067
9068         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9069         Unlock mutex when removing an unknown pad.
9070         Fixes #343334.
9071
9072         * tests/check/Makefile.am:
9073         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9074         (push_event), (setup), (teardown), (GST_START_TEST),
9075         (gst_collect_pads_suite), (main):
9076         Added collecpads check, disabled for now as check crashes for
9077         some reason.
9078
9079 2006-05-29  Wim Taymans  <wim@fluendo.com>
9080
9081         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9082         Don't leak pads lists.
9083
9084 2006-05-29  Wim Taymans  <wim@fluendo.com>
9085
9086         * docs/libs/gstreamer-libs-sections.txt:
9087         * libs/gst/base/gstcollectpads.c:
9088         (gst_collect_pads_set_flushing_unlocked),
9089         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9090         (gst_collect_pads_stop):
9091         * libs/gst/base/gstcollectpads.h:
9092         API: gst_collect_pads_set_flushing()
9093         Added api to set the pads to flushing, useful for seeking
9094         code in elements using collectpads.
9095         Clear segment when receiving a flush.
9096
9097 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
9098
9099         * gst/gst.c: (add_path_func), (init_post):
9100           Don't scan registry paths passed via --gst-plugin-path immediately
9101           (will crash, because absolutely nothing is set up and no types are
9102           registered etc.); do this later in init_post(). Fixes #343057.
9103
9104 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9105
9106         * gst/gst.c: (init_post):
9107           if we have fork, fork while reading/rebuilding the registry
9108           so the parent doesn't take the hit of having all plugins loaded
9109           in memory.  Fixes #342777.
9110         * configure.ac:
9111           Check if we have fork()
9112         * win32/common/config.h.in:
9113           no fork() on win32
9114
9115 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9116
9117         * plugins/elements/gstelements.c:
9118         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9119         (gst_file_src_init), (gst_file_src_set_property),
9120         (gst_file_src_get_property), (gst_file_src_start):
9121         * plugins/elements/gstfilesrc.h:
9122           API: GstFileSrc::use-mmap
9123
9124         Add a use-mmap property to enable easier testing of all code paths.
9125         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9126         in the absence of gnomevfssrc. (Closes #340501)
9127
9128 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9129
9130         * tools/gst-inspect.c:
9131         Add missing include, removes warning of ngettext not being defined on
9132         some arches.
9133
9134 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9135
9136         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9137         Handle NULL input and output pointers silently as a failed conversion,
9138         rather than g_warnings.
9139
9140 2006-05-25  Wim Taymans  <wim@fluendo.com>
9141
9142         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9143         Initialize variable before using. Fixes #342820.
9144
9145 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
9146
9147         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9148           Fix off-by-one bug that would only allow peeks of N-1 bytes
9149           from the start even if the buffer to typefind on contains
9150           in fact N bytes of data (makes vorbis typefinding from a
9151           vorbis identification header buffer work).
9152
9153         * tests/check/Makefile.am:
9154         * tests/check/libs/.cvsignore:
9155         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9156         (gst_typefindhelper_suite), (main), (foobar_typefind),
9157         (plugin_init):
9158           Add very basic unit test for gst_type_find_helper_for_buffer()
9159           that checks for the problem fixed above.
9160
9161 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9162
9163         * tools/gst-inspect.c: (print_interfaces),
9164         (print_element_properties_info), (print_element_list), (main):
9165           add more translatable strings
9166
9167 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
9168
9169         Patch by: Julien Moutte  <julien at moutte net>
9170
9171         * docs/gst/gstreamer-sections.txt:
9172           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9173           
9174         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9175         (gst_fake_sink_preroll):
9176         * plugins/elements/gstfakesink.h:
9177           API: Add new GstFakeSink::preroll-handoff signal (#337100).
9178
9179 2006-05-23  Wim Taymans  <wim@fluendo.com>
9180
9181         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9182         * gst/gstpad.h:
9183         Added _CUSTOM error and success GstFlowReturn that can be
9184         used be elements internally. 
9185         Added macro to check for SUCCESS flowreturns.
9186         API: GST_FLOW_CUSTOM_SUCCESS
9187         API: GST_FLOW_CUSTOM_ERROR
9188         API: GST_FLOW_IS_SUCCESS
9189
9190         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9191         Added check for GstFlowReturn sanity.
9192
9193 2006-05-23  Wim Taymans  <wim@fluendo.com>
9194
9195         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9196
9197         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9198         (gst_collect_pads_event):
9199         clear/reset segment info in FLUSH_STOP.
9200         Fixes #336929.
9201
9202 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
9203
9204         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9205         (gst_collect_pads_check_collected):
9206         Flush queued buffer on _stop(), fixes playing again (#342454)
9207
9208 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9209
9210         * tests/check/gst/gststructure.c: (GST_START_TEST),
9211         (gst_structure_suite):
9212           add a test for a complete structure
9213
9214 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9215
9216         * docs/faq/developing.xml:
9217         * docs/faq/faq.xml:
9218         * docs/faq/troubleshooting.xml:
9219         * docs/faq/using.xml:
9220           Some minor FAQ updates that won't change the fact that
9221           our FAQ is badly structured, full of information hardly
9222           anyone new to GStreamer needs to know and lacking lots
9223           of information people constantly ask for.
9224           
9225 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
9226
9227         * gst/gstpad.c: (gst_pad_set_caps):
9228           Short-circuit gst_pad_set_caps if setting the existing
9229           caps pointer again, and avoid printing debug and 
9230           reffing/unreffing the caps.
9231
9232         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9233           There's actually no need to set the caps before pushing -
9234           the acceptcaps method will handle it anyway.
9235
9236 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9237
9238         * docs/gst/gstreamer-sections.txt:
9239         * win32/common/libgstreamer.def:
9240         * gst/gstutils.c: (gst_element_seek_simple):
9241         * gst/gstutils.h:
9242           API: add gst_element_seek_simple() (#342238).
9243
9244 2006-05-18  Edward Hervey  <edward@fluendo.com>
9245
9246         * gst/gsttypefind.c: (gst_type_find_get_type):
9247         * gst/gsttypefind.h:
9248         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9249         registered for GstTypeFind pointers. This allows wrapping the structure
9250         in bindings (i.e. gst-python).
9251
9252 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9253
9254         * gst/gsttagsetter.c:
9255           Docs additions and fixes (see #339918).
9256
9257 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9258
9259         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9260         The caps intersection algorithm can produce multiple copies of the
9261         caps. Until that is fixed, we need to simplify the result to be
9262         sure whether the allowed caps are fixed or not.
9263
9264         * plugins/elements/gstqueue.c: (gst_queue_init),
9265         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9266         (gst_queue_push_one):
9267         Proxied buffer alloc should not set the caps on the source pad.
9268         When pushing buffers, we always accept the caps change that triggers.
9269         This prevents negotiation errors caused by caps changing mid-stream 
9270         and then being refused on our source pad (because upstream is now
9271         refusing those caps).
9272
9273 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9274
9275         * tests/examples/helloworld/helloworld.c: (main):
9276           Must plug audioconvert and audioresample between decoder
9277           and audio sink.
9278
9279 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
9280
9281         * gst/gstregistryxml.c: (read_string), (load_pad_template),
9282         (load_feature), (load_plugin):
9283         Allow empty strings for some of the plugin fields so we don't 
9284         drop valid plugin entries that were written out correctly
9285         (Fixes #341479)
9286
9287 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
9288         
9289         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9290           Use g_remove and g_rename instead of remove and rename that don't 
9291           handle utf8 characters. rename was failing for users who had specific
9292           characters in their name then the registry was built at each 
9293           gstreamer init.
9294         * win32/vs6/gst_inspect.dsp:
9295         * win32/vs6/gst_launch.dsp:
9296         * win32/vs6/libgstbase.dsp:
9297         * win32/vs6/libgstcoreelements.dsp:
9298         * win32/vs6/libgstreamer.dsp:
9299           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
9300           build of libgstreamer and clean unused libraries in projects link 
9301           settings.
9302
9303 2006-05-17  Edward Hervey  <edward@fluendo.com>
9304
9305         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9306         The queue is not responsible for pushing an EOS when receiving a fatal
9307         flow error. It's up to the real element driving the pipeline to do that.
9308
9309 2006-05-16  Edward Hervey  <edward@fluendo.com>
9310
9311         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9312         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9313         buffer returned a fatal error. It should just send an EOS and stop
9314         its task.
9315         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9316         when pushing buffers on the queue and will be able to handle the event.
9317
9318 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9319
9320         * docs/manual/basics-bins.xml:
9321         * docs/manual/basics-init.xml:
9322           Fix typos and minor errors in sample code (#341856).
9323
9324 2006-05-16  Wim Taymans  <wim@fluendo.com>
9325
9326         * docs/design/part-qos.txt:
9327         Fix indexes in formulas to make more sense.
9328
9329 2006-05-15  Wim Taymans  <wim@fluendo.com>
9330
9331         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9332         Don't report POSITION based on clock time if sync is
9333         disabled in a sink.
9334
9335 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
9336
9337         * gst/gstobject.h:
9338           Add cast to make compiler happy - refcount variable was a gint
9339           in GstObject but is a guint in GObject and g_atomic_int_get()
9340           wants a gint *.
9341
9342 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9343
9344         * gst/parse/Makefile.am:
9345           chain commands using &&, which also makes parallel make work
9346
9347 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
9348
9349         * docs/gst/gstreamer-sections.txt:
9350         * gst/gstevent.c:
9351         * gst/gstevent.h:
9352         * gst/gstmessage.h:
9353           Minor docs fixes.
9354
9355 === release 0.10.6 ===
9356
9357 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
9358
9359         * configure.ac:
9360           releasing 0.10.6, "Take the cannoli"
9361
9362 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9363
9364         * tools/gst-launch.c: (print_tag):
9365           Fix use of uninitialized variable in the hypothetical
9366           case that some broken plugin creates a GST_TAG_IMAGE
9367           tag containing a NULL buffer (#341667).
9368
9369 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9370
9371         * tools/gst-launch.c: (print_tag):
9372           Print something more intelligible for image tags when
9373           using the -t switch (#341556).
9374
9375 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9376
9377         * Makefile.am:
9378           updates for win32
9379         * configure.ac:
9380           define GST_MAJORMINOR so we have it available in win32/common/config.h
9381           Possibly remove it from our Makefile.am files later
9382         * win32/common/config.h:
9383         * win32/common/config.h.in:
9384           added GST_MAJORMINOR
9385         * win32/common/gstenumtypes.c: (register_gst_resource_error):
9386         * win32/common/gstversion.h:
9387           updated
9388
9389 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
9390
9391         * win32/MANIFEST:
9392           Update win32 files listing.
9393         * win32/common/gstversion.h:
9394           Add GST_MAJORMINOR definition.
9395         * win32/common/libgstreamer.def:
9396           Add new exported functions.
9397           
9398 2006-05-12  Michael Smith  <msmith@fluendo.com>
9399
9400         * gst/gstplugin.c: (gst_plugin_load_file):
9401           If an so file has no plugin entry point, unload the module.
9402
9403 2006-05-11  Wim Taymans  <wim@fluendo.com>
9404
9405         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9406         (gst_queue_set_property):
9407         Don't forget to signal the _chain or _loop function 
9408         when the queue size or thresholds change since that might
9409         cause them to make progres again.
9410
9411 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
9412
9413         * gst/gstclock.c: (gst_clock_class_init):
9414         * gst/gstindex.c: (gst_index_class_init):
9415         * gst/gstobject.c: (gst_object_class_init):
9416         * gst/gstpad.c: (gst_pad_class_init):
9417         * gst/gstpipeline.c: (gst_pipeline_class_init):
9418         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9419         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9420         * libs/gst/base/gstbasetransform.c:
9421         (gst_base_transform_class_init):
9422         * libs/gst/net/gstnetclientclock.c:
9423         (gst_net_client_clock_class_init):
9424         * libs/gst/net/gstnettimeprovider.c:
9425         (gst_net_time_provider_class_init):
9426         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9427         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9428         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9429         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9430         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9431         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9432         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9433         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9434         * plugins/elements/gsttee.c: (gst_tee_class_init):
9435         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9436         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9437           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9438
9439 2006-05-11  Wim Taymans  <wim@fluendo.com>
9440
9441         * gst/gstbuffer.c: (_gst_buffer_initialize):
9442         Register subbufer along with the buffer type so that
9443         it does not accidentally gets registered from N
9444         different streaming threads in a non threadsafe way.
9445
9446 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9447
9448         * gst/gstbuffer.h:
9449         * gst/gstevent.h:
9450         * gst/gstmessage.h:
9451           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9452           gst_event_ref() and gst_message_ref() functions again
9453           (ugly hack, please do fix if there's a better way besides
9454           overrides.txt, which doesn't seem to work).
9455
9456 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9457
9458         * libs/gst/check/gstcheck.h:
9459           add an assert for setting state to avoid lots of repetitive code
9460           in the future
9461
9462 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9463
9464         * gst/gstvalue.c: (gst_value_serialize_flags):
9465           fix a leak if no flags are set
9466         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9467           fix leak in tests
9468
9469 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9470
9471         * docs/manual/basics-pads.xml:
9472           Expand a bit on caps and filtered links and update
9473           examples that were still using the no longer existing
9474           gst_pad_link_filtered() (#338206).
9475
9476 2006-05-10  Wim Taymans  <wim@fluendo.com>
9477
9478         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9479         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9480         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9481         (gst_collect_pads_stop):
9482         * libs/gst/base/gstcollectpads.h:
9483         No need to call _stop in _finalize.
9484         Iterate the main pad list in _finalize.
9485         Added some more debug.
9486         Free lists and data in the right order.
9487         Also free data whem doing _remove_pad when stopped for
9488         backward compatibility protect ::started with PAD_LOCK as
9489         well.
9490
9491 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9492
9493         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9494         (gst_structure_parse_value):
9495           add some comments
9496           rename a method so that it actually says what it does better
9497
9498 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9499
9500         * gst/gstevent.c: (_gst_event_initialize):
9501         * gst/gstformat.c: (_gst_format_initialize):
9502           make sure some essential types used by events are registered
9503           as part of gst_init()
9504         * gst/gstvalue.c: (gst_value_serialize_flags):
9505           if no flags are set, serialize them to a value that represents NONE
9506           so that deserializing them works
9507         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9508           add tests for serialization and deserialization of flags
9509
9510 2006-05-10  Wim Taymans  <wim@fluendo.com>
9511
9512         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9513         (gst_collect_pads_collect_range), (gst_collect_pads_available),
9514         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9515         (gst_collect_pads_event), (gst_collect_pads_chain):
9516         Update docs.
9517         Better debug info.
9518         Catch and return errors from the collect function
9519         Refuse data on eos pads.
9520
9521 2006-05-10  Edward Hervey  <edward@fluendo.com>
9522
9523         * gst/gstinterface.h:
9524         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9525         GInterface type checking.
9526         They were previously using non-defined macros.
9527
9528 2006-05-09  Wim Taymans  <wim@fluendo.com>
9529
9530         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9531         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9532         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9533         (gst_collect_pads_start), (gst_collect_pads_stop),
9534         (gst_collect_pads_peek), (gst_collect_pads_pop),
9535         (gst_collect_pads_available), (gst_collect_pads_read),
9536         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9537         (gst_collect_pads_is_collected), (gst_collect_pads_event),
9538         (gst_collect_pads_chain):
9539         * libs/gst/base/gstcollectpads.h:
9540         Clean up the mess that is collectpads, add comments and
9541         FIXMEs where needed.
9542         Maintain a separate pad list so we can add pads while
9543         collecting the other ones. For this we need a new separate 
9544         lock (see comics).
9545         Fix memory leak in finalize.
9546         Refactor some weird code to set/unset pad flushing flags, mark
9547         with comments.
9548         Don't crash in _available, _read, _flush when we're EOS.
9549
9550         * tests/check/libs/.cvsignore:
9551         Ignore adapter check binary.
9552
9553 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9554
9555         * gst/gstindex.c: (gst_index_resolver_get_type):
9556         * plugins/elements/gstfakesink.c:
9557         (gst_fake_sink_state_error_get_type):
9558         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9559         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9560         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9561           Const-ify GEnumValue arrays.
9562
9563 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9564
9565         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9566           Add test case for flags + gst_buffer_make_metadata_writable().
9567
9568 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9569
9570         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9571           gst_buffer_make_metadata_writable() should maintain the
9572           buffer flags (those that make sense at least) (see #340859).
9573
9574 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9575
9576         * tools/gst-inspect.c:
9577         * tools/gst-launch.c:
9578         * tools/gst-typefind.c:
9579         * tools/gst-xmlinspect.c:
9580         * tools/tools.h:
9581           Fix up includes: need to include stdlib.h in tools.h for exit().
9582
9583 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9584
9585         * gst/gsttaglist.c: (_gst_tag_initialize):
9586         * gst/gsttaglist.h:
9587           API: add GST_TAG_IMAGE tag (#340721).
9588
9589 2006-05-08  Wim Taymans  <wim@fluendo.com>
9590
9591         * gst/gstquery.c:
9592         Added some docs for the segment query.
9593
9594 2006-05-08  Wim Taymans  <wim@fluendo.com>
9595
9596         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9597         (gst_base_src_loop), (gst_base_src_change_state):
9598         Always push non-flushing serialized events in the streaming 
9599         thread.
9600
9601 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9602
9603         * gst/gsterror.c: (_gst_stream_errors_init):
9604           Add a missing error string.
9605
9606 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
9607
9608         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9609         Add applied_rate to the debug
9610
9611         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9612         Copy applied_rate into the outgoing NEWSEGMENT event
9613
9614 2006-05-08  Wim Taymans  <wim@fluendo.com>
9615
9616         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9617
9618         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9619         (gst_base_sink_change_state):
9620         call ::unlock before taking the PREROLL_LOCK so we can safely
9621         handle elements that lock in ::render.
9622         Fixes #340174.
9623
9624 2006-05-08  Edward Hervey  <edward@fluendo.com>
9625
9626         * autogen.sh: (CONFIGURE_DEF_OPT): 
9627         Darwin's libtoolize is in fact called glibtoolize.
9628         Adding glibtoolize to the list of accepted names for libtoolize.
9629
9630 2006-05-08  Wim Taymans  <wim@fluendo.com>
9631
9632         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9633         Unify error handling, don't post an error message
9634         when a push() returns EOS but perform our normal EOS
9635         handling code. Fixes #340772.
9636
9637 2006-05-08  Wim Taymans  <wim@fluendo.com>
9638
9639         * docs/design/part-overview.txt:
9640         Make upsteam/downstream concepts more clear.
9641         Give an example of serialized/non-serialized events.
9642
9643         * docs/design/part-events.txt:
9644         * docs/design/part-streams.txt:
9645         Mention applied_rate.
9646
9647         * docs/design/part-trickmodes.txt:
9648         Mention applied rate, flesh out some more use cases.
9649
9650         * gst/gstevent.c: (gst_event_new_new_segment),
9651         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9652         (gst_event_parse_new_segment_full), (gst_event_new_tag),
9653         (gst_event_parse_tag), (gst_event_new_buffer_size),
9654         (gst_event_parse_buffer_size), (gst_event_new_qos),
9655         (gst_event_parse_qos), (gst_event_parse_seek),
9656         (gst_event_new_navigation):
9657         * gst/gstevent.h:
9658         Add applied_rate field to NEWSEGMENT event.
9659         API: gst_event_new_new_segment_full()
9660         API: gst_event_parse_new_segment_full()
9661
9662         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9663         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9664         (gst_segment_to_stream_time), (gst_segment_to_running_time):
9665         * gst/gstsegment.h:
9666         Add applied_rate to GstSegment structure.
9667         Make calculation of stream_time and running_time more correct
9668         wrt rate/applied_rate.
9669         Add some more docs.
9670         API: GstSegment::applied_rate field
9671         API: gst_segment_set_newsegment_full();
9672
9673         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9674         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9675         * libs/gst/base/gstbasetransform.c:
9676         (gst_base_transform_sink_eventfunc),
9677         (gst_base_transform_handle_buffer):
9678         Parse and use applied_rate in the GstSegment field.
9679
9680         * tests/check/gst/gstevent.c: (GST_START_TEST):
9681         Add check for applied_rate field.
9682
9683         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9684         (gstsegments_suite):
9685         Add more checks for various GstSegment operations.
9686
9687 2006-05-08  Wim Taymans  <wim@fluendo.com>
9688
9689         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9690         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9691         (gst_base_sink_get_position), (gst_base_sink_change_state):
9692         Store the sync time of the buffer end position separatly in a
9693         new variable eos_rtime so we can properly sync the EOS event.
9694         Fixes #340697.
9695         Fix the docs for gst_base_sink_set_qos_enabled().
9696         Don't set segment start to invalid value when we receive a 
9697         non TIME newsegment.
9698         get closer to handling position reporting for negative rates 
9699         correctly.
9700
9701 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9702
9703         * gst/gstcaps.c:
9704         Docs about how to print caps for debug purposes.
9705
9706         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9707         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9708
9709 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9710
9711         * gst/gstelement.c:
9712           use full enum names and preprend a '%' in docs strings to make recent 
9713           gtk-doc turn that into a link
9714
9715 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9716
9717         * docs/manual/basics-bins.xml:
9718         * docs/manual/basics-bus.xml:
9719         * docs/manual/basics-pads.xml:
9720           Some typo fixes, some additions, some clarifications. 
9721
9722 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9723
9724         * tools/gst-inspect.c: (main):
9725         * tools/gst-launch.c: (main):
9726         * tools/gst-run.c: (main):
9727         * tools/gst-typefind.c: (main):
9728         * tools/gst-xmlinspect.c: (main):
9729           Use the string passed to g_option_context_new() for
9730           what it's intended for - the program name is already
9731           printed elsewhere.
9732
9733 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9734
9735         * tools/Makefile.am:
9736         * tools/gst-inspect.c: (main):
9737         * tools/gst-launch.c: (main):
9738         * tools/gst-xmlinspect.c: (main):
9739         * tools/tools.h:
9740           Add back --version command line option (#340460).
9741
9742         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9743           Add --version option and use GOption for argument parsing; refactor a
9744           bit; accept directories as arguments and recurse into them; lastly,
9745           print a decent error message when things go wrong.
9746
9747 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9748
9749         * docs/manual/basics-bins.xml:
9750         Don't mention GstThread (#340611)
9751         * docs/manual/basics-elements.xml:
9752         Update link to GObject tutorial (#340607)
9753         
9754 2006-05-05  Wim Taymans  <wim@fluendo.com>
9755
9756         * gst/gstbuffer.h:
9757         * gst/gstminiobject.c:
9758         Add note about refcounting and miniobject/buffer writeability
9759         to docs. Fixes #340604
9760
9761         * gst/gstelementfactory.h:
9762         Added some explanation about @klass.
9763
9764 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9765
9766         * docs/manual/intro-motivation.xml:
9767         * docs/manual/manual.xml:
9768         Avoid CORBA & Bonobo references (#340598)
9769
9770 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9771
9772         * docs/manual/basics-bus.xml:
9773         * docs/manual/basics-pads.xml:
9774         Fix up some inaccuracies and omissions (#340609)
9775         
9776 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9777
9778         * gst/gstghostpad.c:
9779           Small typo in docs (#340625)
9780
9781 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9782
9783         * gst/parse/Makefile.am:
9784           Make 'make -j' proof (see #340698).
9785
9786 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9787
9788         * configure.ac:
9789           Require GLib-2.8 here as well.
9790
9791 2006-05-05  Wim Taymans  <wim@fluendo.com>
9792
9793         * gst/glib-compat.c:
9794         * gst/gst.c: (init_pre):
9795         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9796         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9797         (gst_object_dispatch_properties_changed):
9798         * gst/gstobject.h:
9799         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9800         * gst/gststructure.c: (gst_structure_set_valist):
9801         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9802         Remove pre glib2.8 compatibility, fixes #340508
9803
9804 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9805
9806         * gst/gsttaglist.h:
9807           Mention type of tags in doc blurbs.
9808
9809 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
9810
9811         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9812         (gst_pad_configure_src), (gst_pad_push):
9813         Restore acceptcaps checking behaviour now that good plugins have
9814         been released.
9815
9816 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9817
9818         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9819
9820         * gst/gst.c:
9821         * gst/gstbus.c:
9822         * gst/gstclock.c:
9823         * gst/gstevent.c:
9824         * gst/gstformat.c:
9825         * gst/gstmessage.c:
9826         * gst/gstparse.c:
9827         * gst/gstquery.c:
9828         * gst/gstutils.c:
9829         * gst/parse/Makefile.am:
9830         * libs/gst/base/gstadapter.c:
9831         * libs/gst/base/gstbasesrc.c:
9832         * libs/gst/base/gstpushsrc.c:
9833         * libs/gst/base/gsttypefindhelper.c:
9834         * plugins/elements/gstfakesrc.c:
9835         * plugins/elements/gstidentity.c:
9836           Make sure gstprivate.h and/or config.h are
9837           always included first, otherwise some of our
9838           defines (like _FILE_OFFSET_BITS) might be
9839           redefined in the system headers. Fixes build
9840           on opensolaris (#340016).
9841
9842 2006-05-04  Wim Taymans  <wim@fluendo.com>
9843
9844         * docs/libs/gstreamer-libs-sections.txt:
9845         API: addition: gst_adapter_take_buffer()
9846         
9847         * libs/gst/base/gstadapter.c: (gst_adapter_push),
9848         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9849         (gst_adapter_available_fast):
9850         * libs/gst/base/gstadapter.h:
9851         Prepare for optimizing the hell out of this hugely inefficient
9852         piece of code. 
9853         Added gst_adapter_take_buffer() so we can at least start thinking
9854         about subbuffering and merging.
9855         Added some comments.
9856
9857         * tests/check/Makefile.am:
9858         * tests/check/libs/adapter.c: (GST_START_TEST),
9859         (gst_adapter_suite), (main):
9860         Added GstAdapter check.
9861
9862 2006-05-04  Wim Taymans  <wim@fluendo.com>
9863
9864         * docs/design/part-overview.txt:
9865         Fix some typos, add blurb about buffer flags.
9866
9867 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9868
9869         * docs/libs/gstreamer-libs-sections.txt:
9870           make sure GstBaseTransformClass shows up in the docs
9871         * libs/gst/base/gstbasetransform.c:
9872         * libs/gst/base/gstbasetransform.h:
9873           move docs so gtk-doc picks it up now
9874
9875 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9876
9877         * docs/libs/gstreamer-libs-sections.txt:
9878           add missing symbols to docs
9879
9880 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9881
9882         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9883           back out the newsegment handling change, see #340060 for ongoing
9884           discussion
9885
9886 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
9887
9888         * tools/gst-run.c: (get_candidates), (main):
9889           Fix wrong g_file_test() usage (see glib docs for why it doesn't
9890           work); fix typo in error message. Fixes #340079.
9891
9892 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9893
9894         * common/Makefile.am:
9895         * docs/Makefile.am:
9896         * docs/faq/Makefile.am:
9897         * docs/gst/Makefile.am:
9898         * docs/libs/Makefile.am:
9899         * docs/manual/Makefile.am:
9900         * docs/plugins/Makefile.am:
9901         * docs/pwg/Makefile.am:
9902         * docs/slides/Makefile.am:
9903         * docs/upload.mak:
9904         * common/upload.mak:
9905           move upload.mak to common
9906
9907 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9908
9909         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9910           add more asserts on refcounts
9911           do more cleanup at end of tests
9912           fix test leaks showing in FC5
9913
9914 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
9915
9916         * plugins/elements/gsttypefindelement.c:
9917         (gst_type_find_element_handle_event):
9918         reverted wrong change and reflowed code to avoid others falling into
9919         this trap
9920
9921 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9922
9923         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9924           fix changelog entry about last collectpads change,
9925           add notes about proper fix
9926
9927 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9928
9929         * gst/gst.c:
9930         * gst/gstregistry.c: (gst_registry_scan_path_level),
9931         (gst_registry_scan_path):
9932         * gst/gstregistry.h:
9933           only write out registry if it has changed, fixes #338339
9934
9935 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9936
9937         * gst/gstbin.c:
9938         * gst/gstpipeline.c:
9939         * plugins/elements/gstcapsfilter.c:
9940         * plugins/elements/gstfakesink.c:
9941         * plugins/elements/gstfakesrc.c:
9942         * plugins/elements/gstfdsink.c:
9943         * plugins/elements/gstfdsrc.c:
9944         * plugins/elements/gstfilesink.c:
9945         * plugins/elements/gstfilesrc.c:
9946         * plugins/elements/gstidentity.c:
9947         * plugins/elements/gstqueue.c:
9948         * plugins/elements/gsttee.c:
9949         * plugins/elements/gsttypefindelement.c:
9950         (gst_type_find_element_handle_event):
9951           make GstElementDetails const
9952
9953 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9954
9955         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9956         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9957         (gst_collect_pads_is_collected), (gst_collect_pads_event):
9958           more detailed debug and formatting cleanup,
9959           forward newsegments to src-pad (so that e.g. adder not eats them)
9960
9961 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9962
9963         * gst/gstutils.c: (gst_element_link_pads):
9964           cleanup double code
9965
9966 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9967
9968         * libs/gst/controller/gstcontroller.c:
9969         (gst_controller_sync_values):
9970           some little tuning
9971         * tests/check/libs/controller.c: (GST_START_TEST),
9972         (gst_controller_suite):
9973           a new test for live value handling
9974
9975 2006-04-28  Wim Taymans  <wim@fluendo.com>
9976
9977         * gst/gstutils.c: (push_and_ref):
9978         Added some more docs.
9979         Fix refcount issue whith gst_element_found_tags() helper 
9980         function. Fixes #338335
9981
9982         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9983         Added testsuite for gst_element_found_tags().
9984
9985 2006-04-28  Michael Smith  <msmith@fluendo.com>
9986
9987         * gst/gstvalue.c: (gst_value_serialize_flags):
9988           Avoid NULL dereference when trying to serialize flags containing
9989           invalid values.
9990
9991 2006-04-28  Michael Smith  <msmith@fluendo.com>
9992
9993         * plugins/elements/gsttypefindelement.c:
9994         (gst_type_find_element_handle_event):
9995           If we get EOS before any data is accumulated, don't use
9996           uninitialised local variables.
9997
9998 2006-04-28  Michael Smith  <msmith@fluendo.com>
9999
10000         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10001         (gst_dp_event_from_packet):
10002           Fixes in reading/writing events over GDP (not currently used?) - 
10003           dereferencing NULL events for unknown/invalid event types, memory
10004           leak, and change g_warning to GST_WARNING.
10005
10006 2006-04-28  Wim Taymans  <wim@fluendo.com>
10007
10008         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10009         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10010         (gst_base_sink_get_position), (gst_base_sink_change_state):
10011         When frame dropping is enabled, we should not ignore frames
10012         without a duration.
10013         Update some documentation.
10014
10015 2006-04-28  Wim Taymans  <wim@fluendo.com>
10016
10017         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10018         (gst_base_src_send_event), (gst_base_src_change_state):
10019         Documentation updates.
10020
10021 2006-04-28  Wim Taymans  <wim@fluendo.com>
10022
10023         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10024         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10025         handle EAGAIN, EINTR and short writes correctly. Also clean
10026         up some error cases, avoid a deadlock on bad file descriptors and
10027         use GST_DEBUG_OBJECT.
10028         Fixes #339843
10029
10030 2006-04-28  Wim Taymans  <wim@fluendo.com>
10031
10032         * gst/gstvalue.c: (gst_value_serialize_buffer),
10033         (gst_value_deserialize_buffer):
10034         Don't try to serialize a GValue with a NULL buffer. 
10035         Fixes #339821.
10036
10037         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10038         Added check for serialisation of NULL buffers.
10039
10040 2006-04-28  Wim Taymans  <wim@fluendo.com>
10041
10042         * gst/gstminiobject.c: (gst_value_take_mini_object):
10043         Taking a NULL miniobject is valid, fix the case where
10044         we try to unref the NULL miniobject.
10045
10046 2006-04-28  Wim Taymans  <wim@fluendo.com>
10047
10048         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10049
10050         * gst/gstbin.c: (gst_bin_handle_message_func):
10051         Update docs.
10052         Don't leak bin refcount when a state recalc is
10053         in progress and we delay another one #339808.
10054
10055 2006-04-28  Wim Taymans  <wim@fluendo.com>
10056
10057         * docs/design/part-TODO.txt:
10058         Mention QoS as an ongoing work item.
10059
10060         * docs/design/part-buffering.txt:
10061         New doc about buffering that needs to be fleshed out
10062         at some point.
10063
10064         * docs/design/part-qos.txt:
10065         More QoS policy for decoders/demuxers/transforms
10066
10067         * docs/design/part-trickmodes.txt:
10068         Small update.
10069
10070 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10071
10072         * configure.ac:
10073           back to HEAD
10074
10075 === release 0.10.5 ===
10076
10077 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
10078
10079         * configure.ac:
10080           releasing 0.10.5, "Fogo"
10081
10082 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10083
10084         patch by: Wim Taymans
10085
10086         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10087         (gst_pad_configure_src), (gst_pad_push):
10088         * gst/gstpipeline.c: (gst_pipeline_init):
10089           Fix internal data flow errors.  Fixes #338711.
10090
10091 2006-04-12  Wim Taymans  <wim@fluendo.com>
10092
10093         * tests/check/gst/gstelement.c: (GST_START_TEST):
10094         Don't leak the factory.
10095
10096 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10097
10098         * configure.ac:
10099         * win32/common/config.h:
10100           prerelease
10101
10102 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
10103
10104         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10105         (gst_controller_unset_all):
10106           Free allocated GstTimedValues when freeing list nodes.
10107           Should fix leaks 'make check-valgrind' complains about.
10108
10109         * win32/common/libgstcontroller.def:
10110           Add gst_controller_unset_all.
10111
10112 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
10113
10114         * docs/libs/gstreamer-libs-sections.txt:
10115         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10116         (gst_controller_unset_all):
10117         * libs/gst/controller/gstcontroller.h:
10118         API: Added new method gst_controller_unset_all()
10119         fixed gst_controller_unset()
10120         * tests/check/libs/controller.c: (GST_START_TEST),
10121         (gst_controller_suite):
10122         Added two testcases for new and fixed method
10123
10124 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
10125
10126         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10127           MSG_DONTWAIT is not defined on Cygwin, so work
10128           around that (fixes #317048).
10129           
10130 2006-04-11  Wim Taymans  <wim@fluendo.com>
10131
10132         * gst/gstelementfactory.c: (gst_element_register),
10133         (gst_element_factory_create), (gst_element_factory_make):
10134         Some cleanups.
10135         Fixed a FIXME.
10136         Updated docs (Fixes #131079)
10137
10138         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10139         Small cleanups.
10140
10141         * tests/check/gst/gstelement.c: (GST_START_TEST),
10142         (gst_element_suite):
10143         Added testcase for elementfactory class field.
10144
10145 2006-04-10  Wim Taymans  <wim@fluendo.com>
10146
10147         * gst/gstsegment.c:
10148         Added some more docs.
10149
10150         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10151         (gst_base_sink_reset_qos):
10152         Calculate more accurate rate values.
10153
10154 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
10155
10156         * gst/gst_private.h:
10157           add a new #ifdef to use __declspec(dllimport) only for
10158           other modules and not for gstreamer core
10159         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10160           use gst_guint64_to_gdouble for conversion
10161         * win32/common/libgstreamer.def:
10162           add new exported functions
10163         * win32/vs6/gst_inspect.dsp:
10164         * win32/vs6/gst_launch.dsp:
10165         * win32/vs6/libgstbase.dsp:
10166         * win32/vs6/libgstcontroller.dsp:
10167         * win32/vs6/libgstcoreelements.dsp:
10168         * win32/vs6/libgstdataprotocol.dsp:
10169         * win32/vs6/libgstnet.dsp:
10170           update project files
10171
10172 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10173
10174         * gst/gstbuffer.c: (gst_subbuffer_class_init):
10175         * gst/gstclock.c: (gst_clock_class_init):
10176         * gst/gstelement.c: (gst_element_class_init):
10177         * gst/gstindex.c: (gst_index_class_init):
10178         * gst/gstindexfactory.c: (gst_index_factory_class_init):
10179         * gst/gstobject.c: (gst_object_class_init),
10180         (gst_signal_object_class_init):
10181         * gst/gstpad.c: (gst_pad_class_init):
10182         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10183         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10184         * gst/gstregistry.c: (gst_registry_class_init):
10185         * gst/gstsystemclock.c: (gst_system_clock_class_init):
10186         * gst/gsttask.c: (gst_task_class_init):
10187         * gst/gstxml.c: (gst_xml_class_init):
10188         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10189         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10190         (gst_base_src_loop):
10191         * libs/gst/controller/gstcontroller.c:/
10192         (_gst_controller_class_init):
10193         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10194         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10195         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10196         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10197         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10198         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10199
10200 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
10201
10202         * gst/gstpad.c: (gst_pad_link):
10203           Must set peer pads before calling the link function, otherwise
10204           a task started from a link function might get a flow-not-linked
10205           result when trying to push because the other thread where the
10206           linking happens hasn't had a chance to set the peers yet. This
10207           might happen for example when a queue gets linked to a downstream
10208           element, as queue starts a streaming task when its source pad
10209           gets linked. Happens in real life when playing back flac/musepack
10210           files in playbin (#332390).
10211           
10212 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10213
10214         * gst/gstindex.h:
10215         * gst/gstxml.h:
10216         * libs/gst/base/gstadapter.h:
10217         * libs/gst/base/gstbasesink.h:
10218         * libs/gst/base/gstbasesrc.h:
10219         * libs/gst/base/gstbasetransform.h:
10220         * libs/gst/base/gstcollectpads.h:
10221         * libs/gst/base/gstpushsrc.h:
10222         Fix broken GObject macros
10223
10224 2006-04-07  Wim Taymans  <wim@fluendo.com>
10225
10226         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10227         Initialize start and stop times, thanks valgrind.
10228
10229 2006-04-07  Wim Taymans  <wim@fluendo.com>
10230
10231         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10232         Be a bit nicer to badly behaving upstream elements that expect
10233         us to deal with non TIME segments and timestamps (such as fakesrc
10234         in the testsuite).
10235
10236 2006-04-07  Wim Taymans  <wim@fluendo.com>
10237
10238         * gst/gstbus.c:
10239         Small documentation clarification about the signal watch.
10240
10241         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10242         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10243         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10244         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10245         (gst_base_sink_get_position_last),
10246         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10247         Convert and store timestamps in stream time and running time, the
10248         raw timestamps are not useful, also document this better.
10249         Use different window sizes for good and bad QoS observations so
10250         we react to badness a little quicker.
10251         Keep track of the amount of rendered and dropped buffers.
10252         Send QoS timestamps in running time.
10253
10254         * libs/gst/base/gstbasetransform.c:
10255         (gst_base_transform_sink_eventfunc),
10256         (gst_base_transform_handle_buffer):
10257         Compare QoS timestamps against running time.
10258
10259 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10260
10261         * gst/gstpad.c:
10262           Typo fixes in docs.
10263
10264 2006-04-06  Michael Smith  <msmith@fluendo.com>
10265
10266         * gst/gstpad.c: (gst_pad_set_property):
10267           Use g_value_get_object() instead of g_value_dup_gst_object(),
10268           to avoid double-reffing the pad template (which we then sink,
10269           so this worked previously if (and only if) the pad template
10270           was floating.
10271
10272         * gst/gstpadtemplate.c: (gst_pad_template_init),
10273         (gst_pad_template_pad_created):
10274           Never return floating references to pad templates, create
10275           them as initially-sunken.
10276
10277           Document an extra function (and make this stop sinking our
10278           pad template, since that is now guaranteed to do nothing,
10279           since we created it sunken).
10280
10281         * gst/gstghostpad.c:
10282           Fix docs typo.
10283
10284 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10285
10286         * gst/gstinfo.c: (__gst_in_valgrind):
10287           Add some newlines.
10288
10289         * plugins/elements/gsttypefindelement.c:
10290         (gst_type_find_element_chain):
10291           Don't leak buffer caps.
10292
10293 2006-04-06  Michael Smith  <msmith@fluendo.com>
10294
10295         * gst/parse/grammar.y:
10296           Fix a leak in parse-launch for any source-or-sink named element 
10297           references used.
10298
10299         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10300           Unref the pipeline if it exists after we've failed parsing.
10301
10302 2006-04-05  Michael Smith  <msmith@fluendo.com>
10303
10304         * gst/gstpipeline.c: (gst_pipeline_init):
10305           When we create a pipeline bus, initially create it in flushing mode.
10306           Fixes leaks in at least one test, and makes a new pipeline work the
10307           same as one that has gone to READY and then back to NULL.
10308
10309         * gst/gstelement.c:
10310           Typo fix in docs.
10311
10312 2006-04-05  Michael Smith  <msmith@fluendo.com>
10313
10314         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10315           Unref a pad we reffed.
10316         * tests/check/gst/gstutils.c: (GST_START_TEST):
10317           Unref bins
10318
10319 2006-04-05  Michael Smith  <msmith@fluendo.com>
10320
10321         * gst/gstquery.c: (gst_query_set_formats),
10322         (gst_query_set_formatsv):
10323           Fix leaking GValues in queries, as shown by valgrind/testsuite.
10324
10325 2006-04-05  Michael Smith  <msmith@fluendo.com>
10326
10327         * tests/check/generic/sinks.c: (GST_START_TEST):
10328           Fix a variety of memleaks in sinks check, which are only sometimes 
10329           shown by running the tests under valgrind (weird?).
10330
10331 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
10332
10333         * docs/version.entities.in:
10334           Fix the substituted entity name after thomas' changes on the
10335           weekend.
10336
10337 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10338
10339         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10340         VALGRIND_PRINTF
10341         
10342 2006-04-05  Andy Wingo  <wingo@pobox.com>
10343
10344         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10345
10346         * libs/gst/base/gstbasetransform.c
10347         (gst_base_transform_sink_eventfunc): When resetting our segment on
10348         FLUSH_STOP, also update the flag saying we haven't seen a
10349         newsegment.
10350
10351 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10352
10353         Patch by: Paolo Borelli  <pborelli at katamail dot com>
10354
10355         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10356         (gst_plugin_check_license):
10357           minor clean-ups: G_DEFINE_TYPE already takes care of the
10358           parent_class stuff, no need to do it twice. Mark array of
10359           license strings as constant. (#337103)
10360           
10361 2006-04-04  Michael Smith  <msmith@fluendo.com>
10362
10363         * tools/gst-inspect.c: (print_element_list):
10364           Free the right plugin list; fixes a memory leak.
10365
10366 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10367
10368         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
10369
10370         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10371           Don't error out on empty buffers (#336945).
10372           
10373 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
10374
10375         * docs/libs/gstreamer-libs-sections.txt:
10376         * gst/gsttaglist.c:
10377         * libs/gst/base/gstbasesink.c:
10378         * libs/gst/base/gstbasesink.h:
10379         * libs/gst/base/gstbasesrc.c:
10380         * libs/gst/base/gstbasesrc.h:
10381           Documentation updates. Make BaseSink and BaseSrc docs contain the
10382           class structure so that people can actually see the prototypes for
10383           virtual functions they're supposed to be overriding.
10384
10385 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10386
10387         * plugins/elements/gsttypefindelement.c:
10388         (gst_type_find_element_chain):
10389           More debug info; when skipping typefinding, send cached
10390           events in all cases.
10391
10392 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10393
10394         * configure.ac:
10395           use new AS_VERSION and AS_NANO macros
10396         * gst/gst-i18n-lib.h:
10397         * gst/gst.c:
10398         * gst/gsterror.c:
10399         * gst/gstversion.h.in:
10400         * win32/common/config.h:
10401         * win32/common/config.h.in:
10402           update accordingly
10403
10404 2006-03-31  Michael Smith  <msmith@fluendo.com>
10405
10406         * plugins/elements/gsttypefindelement.c:
10407         (gst_type_find_element_chain):
10408           Do not typefind content if the buffers already have caps.
10409           Neccesary for icydemux (#333657), and the right thing to do anyway.
10410
10411 2006-03-30  Wim Taymans  <wim@fluendo.com>
10412
10413         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10414         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10415         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10416         (gst_base_sink_record_qos_observation),
10417         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10418         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10419         (gst_base_sink_change_state):
10420         More QoS measurements as described in the design doc.
10421         Get rid of ringbuffer with observations, running average is
10422         more simple and equally good.
10423         Calculates valid proportion now.
10424         Added beginning of flood measurement.
10425
10426 2006-03-29  Wim Taymans  <wim@fluendo.com>
10427
10428         * docs/design/part-qos.txt:
10429         * gst/gstclock.c:
10430         Small documentation updates and additions.
10431
10432 2006-03-29  Wim Taymans  <wim@fluendo.com>
10433
10434         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10435         (gst_base_src_send_event), (gst_base_src_loop),
10436         (gst_base_src_change_state):
10437         Perform the EOS logic when we reach the segment stop position.
10438         Fix compilation on gcc4.1
10439
10440 2006-03-29  Wim Taymans  <wim@fluendo.com>
10441
10442         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10443
10444         * plugins/elements/gstqueue.c: (gst_queue_init),
10445         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10446         (gst_queue_set_property):
10447         * plugins/elements/gstqueue.h:
10448         In queue, when EOS is received, if minimum threshold > max_size -
10449         current_level, there is chance that queue blocks forever in conditional
10450         item del wait. This is because the queue is not emptied completely due
10451         to minimum threshold.  Here is another approach. Instead of setting
10452         cur_levels to max in EOS, just zero all minimum threshold levels. This
10453         should make sure that queue gives out all data. When going to READY
10454         (stop) state, just reset the original minimum threshold levels.
10455         Fixes #336336.
10456
10457 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
10458
10459         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10460         (gst_type_find_element_handle_event),
10461         (gst_type_find_element_send_cached_events),
10462         (gst_type_find_element_change_state):
10463         * plugins/elements/gsttypefindelement.h:
10464           When typefinding is done in push mode, we should cache
10465           events we receive during typefinding instead of just
10466           dropping them (e.g. newsegment, custom events from
10467           dvdreadsrc etc.) and then send them out once we've
10468           determined the type of the stream (and decodebin
10469           has had a chance to plug in a decoder/demuxer).
10470           
10471 2006-03-27  Wim Taymans  <wim@fluendo.com>
10472
10473         * docs/design/part-qos.txt:
10474         First QoS ideas.
10475
10476 2006-03-27  Wim Taymans  <wim@fluendo.com>
10477
10478         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10479
10480         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10481         (gst_base_src_send_event), (gst_base_src_change_state):
10482         Handle element seek correctly when we are streaming.
10483         Fixes #326998.
10484
10485 2006-03-24  Michael Smith  <msmith@fluendo.com>
10486
10487         * docs/faq/gst-uninstalled:
10488           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10489           allow you to correctly run intalled applications built against old 
10490           core, using plugins that require updated core (e.g. running
10491           installed totem against a full uninstalled gstreamer stack)
10492
10493 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10494
10495         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10496         more debug details
10497
10498 2006-03-24  Wim Taymans  <wim@fluendo.com>
10499
10500         * docs/gst/gstreamer-sections.txt:
10501         Rearrange the order of the methods so that related methods
10502         are grouped together in sections.
10503
10504 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10505
10506         * gst/gstelement.c:
10507           Little clarification in the docs
10508
10509 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10510
10511         * docs/README:
10512         formatting fix
10513         * plugins/elements/gstidentity.c:
10514         * plugins/elements/gstqueue.c:
10515         * plugins/elements/gsttee.c:
10516         * plugins/elements/gsttypefindelement.c:
10517         GST_ELEMENT_DETAILS formatting
10518
10519 2006-03-24  Wim Taymans  <wim@fluendo.com>
10520
10521         * libs/gst/base/gstbasesink.h:
10522         Only add fields, not insert or we break ABI.
10523
10524 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10525
10526         * win32/common/libgstbase.def:
10527         * win32/common/libgstreamer.def:
10528           Update, add recently added functions.
10529
10530 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10531
10532         * docs/gst/gstreamer-sections.txt:
10533         * gst/gstutils.c: (gst_pad_query_peer_position),
10534         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10535         * gst/gstutils.h:
10536           API: add some new utility functions:
10537            - gst_pad_query_peer_position()
10538            - gst_pad_query_peer_duration()
10539            - gst_pad_query_peer_convert()
10540           
10541 2006-03-23  Wim Taymans  <wim@fluendo.com>
10542
10543         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10544         (gst_base_sink_init), (gst_base_sink_finalize),
10545         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10546         (gst_base_sink_set_property), (gst_base_sink_get_property),
10547         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10548         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10549         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10550         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10551         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10552         (gst_base_sink_preroll_object), (gst_base_sink_event),
10553         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10554         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10555         (gst_base_sink_query), (gst_base_sink_change_state):
10556         Decouple max-lateness and the fact that QoS messages are generated
10557         with a new property (qos).
10558         added API: GstBaseSink::async_play()
10559         Add vmethod so subclasses can be notified of ASYNC playing
10560         state changes.
10561         Collect timestamp start and stop to report better current
10562         position in EOS/PLAYING/PAUSED/READY/NULL.
10563         Refactor QoS/frame dropping and other measurements.
10564         API: GstBaseSrc::qos
10565         Fixes #326311
10566
10567         * libs/gst/base/gstbasesink.h:
10568         Added Private struct.
10569         API: gst_base_sink_set_qos_enabled()
10570         API: gst_base_sink_is_qos_enabled()
10571
10572 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10573
10574         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10575           If compiling against GLib-2.8 or newer, try to read the
10576           registry file using GMappedFile first before falling back
10577           to fopen() + fread() (#332151).
10578
10579 2006-03-22  Wim Taymans  <wim@fluendo.com>
10580
10581         * gst/gstinfo.c: (gst_debug_set_active),
10582         (gst_debug_category_set_threshold):
10583         Disable debugging unless explicitly activated.
10584         Fixes #335480.
10585
10586 2006-03-22  Wim Taymans  <wim@fluendo.com>
10587
10588         * gst/gstelement.c: (gst_element_set_locked_state),
10589         (gst_element_dispose):
10590         Cleanup the error case.
10591
10592         * gst/gstobject.c: (gst_object_dispose):
10593         print a critical when some object was disposed with
10594         a parent, also revive the object since it might
10595         crash the parent.
10596
10597 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
10598
10599         * tools/gst-launch.1.in:
10600           Fix another typo.
10601
10602 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10603
10604         * configure.ac:
10605         * tests/check/Makefile.am:
10606           disable some tests when we don't have a registry
10607         * tests/check/gst/gstutils.c: (gst_utils_suite):
10608           don't build the part that needs parsing
10609
10610 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10611
10612         * gst/Makefile.am
10613         * tests/examples/Makefile.am:
10614           fix --disable-parse build
10615
10616 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10617
10618         * tools/gst-feedback.1.in:
10619           Fix typo: s/feeback/feedback/ (#133494).
10620
10621 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10622
10623         * tools/Makefile.am:
10624         * tools/gst-launch.1.in:
10625           Add FILES section and correct entry about GST_REGISTRY_PATH
10626           environment variable (#133495; #133494).
10627
10628 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10629
10630         * tools/Makefile.am:
10631         * tools/gst-md5sum.1.in:
10632         * tools/gst-md5sum.c:
10633           Remove gst-md5sum and man page (the md5sink element
10634           required was removed ages ago)
10635
10636 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10637
10638         * gst/gststructure.c: (gst_structure_id_set_value):
10639           Make sure that string fields in structures/taglists
10640           contain valid UTF-8 - we don't want to pass rubbish to
10641           applications because of a buggy plugin (cp. #334167).
10642
10643 2006-03-21  Edward Hervey  <edward@fluendo.com>
10644
10645         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10646         (gst_bin_handle_message_func):
10647         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10648         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10649         (gst_element_set_bus_func):
10650         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10651         * gst/gstminiobject.c: (gst_value_set_mini_object),
10652         (gst_value_take_mini_object):
10653         * gst/gstpad.c: (gst_pad_set_pad_template):
10654         * gst/gstpipeline.c: (gst_pipeline_dispose),
10655         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10656         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10657         (gst_collect_pads_chain):
10658         * libs/gst/net/gstnettimeprovider.c:
10659         (gst_net_time_provider_set_property):
10660         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10661         It's in fact all issues with gst_*object_replace().
10662
10663 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10664
10665         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
10666         
10667         * pkgconfig/gstreamer-check-uninstalled.pc.in:
10668         * pkgconfig/gstreamer-check.pc.in:
10669           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10670
10671 2006-03-21  Edward Hervey  <edward@fluendo.com>
10672
10673         * gst/gstbuffer.h:
10674         * gst/gstevent.h:
10675         * gst/gstmessage.h:
10676         gst_[buffer|event|message]_ref() macros are replaced by a static
10677         inline functions because gcc-4.1 will about if the return value
10678         isn't used.
10679         * tests/check/gst/gstevent.c: (event_probe):
10680         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10681
10682 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
10683
10684         * gst/gstutils.h:
10685         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10686         the type' case. (Closes: #335195 for now). In the future, when we
10687         depend on GLib 2.10, we could also intern the type name using
10688         g_intern_static_string()
10689
10690 2006-03-20  Wim Taymans  <wim@fluendo.com>
10691
10692         * gst/gstbin.c: (gst_bin_handle_message_func),
10693         (bin_query_max_init), (bin_query_position_fold),
10694         (bin_query_position_done), (gst_bin_query):
10695         Position query should also take max of all streams.
10696
10697 2006-03-20  Wim Taymans  <wim@fluendo.com>
10698
10699         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10700         (gst_fake_src_finalize):
10701         Fix leaks in fakesrc.
10702
10703         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10704         Fix leaks in the testcase.
10705
10706 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
10707
10708         * gst/gst_private.h:
10709           add win32 specific import decoration(__declspec(dllimport)) 
10710           for all extern GstDebugCategory * variables
10711         * win32/common/libgstbase.def:
10712         * win32/common/libgstcontroller.def:
10713         * win32/common/libgstreamer.def:
10714           Add some exports, remove empty lines
10715         * win32/common/libgstdataprotocol.def:
10716         * win32/common/libgstdataprotocol.dsp:
10717         * win32/common/libgstnet.def:
10718         * win32/common/libgstnet.dsp:
10719           new project files and exportation files added
10720         
10721 2006-03-19  Wim Taymans  <wim@fluendo.com>
10722
10723         * tests/check/libs/basesrc.c: (eos_event_counter):
10724         Use proper return value for probe.
10725
10726 2006-03-17  Wim Taymans  <wim@fluendo.com>
10727
10728         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10729         (gst_pad_push):
10730         Don't leak buffers, caps and pads on negotiation errors.
10731
10732 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
10733
10734         * docs/faq/cvs.xml:
10735         * docs/faq/dependencies.xml:
10736         * docs/faq/developing.xml:
10737         * docs/faq/faq.xml:
10738         * docs/faq/general.xml:
10739         * docs/faq/getting.xml:
10740         * docs/faq/legal.xml:
10741         * docs/faq/troubleshooting.xml:
10742         * docs/faq/using.xml:
10743         Faq review and update.
10744
10745 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
10746
10747         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10748         (gst_pad_push):
10749         Don't pound the cpu to pieces by checking get_caps when accept_caps
10750         is called with the same caps as the pad already has.
10751         Use GST_DEBUG_OBJECT when outputting caps change information.
10752
10753 2006-03-15  Wim Taymans  <wim@fluendo.com>
10754
10755         * gst/gstclock.c: (gst_clock_class_init):
10756         Fix docs.
10757
10758 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
10759
10760         * gst/gstbuffer.h:
10761         Documentation fix.
10762
10763         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10764         (gst_pad_accept_caps), (gst_pad_configure_sink),
10765         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10766         Make the default acceptcaps behaviour be to check the requested 
10767         caps against the gst_pad_get_caps output. 
10768
10769         Ensure that gst_pad_accept_caps is used to check caps when a pad
10770         doesn't have a setcaps function, so that pads automatically refuse 
10771         caps that they don't allow in their pad template. (Fixes #332986)
10772
10773         When a buffer with attached caps is pushed, ensure that the source 
10774         pad receives those caps even if the element didn't call
10775         gst_pad_set_caps first.
10776
10777 2006-03-15  Wim Taymans  <wim@fluendo.com>
10778
10779         * libs/gst/base/gstadapter.c:
10780         Add some docs.
10781
10782 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
10783
10784         * win32/common/libgstbase.def:
10785         * win32/common/libgstcontroller.def:
10786         * win32/common/libgstreamer.def:
10787           Add a whole bunch of missing functions (#334434).
10788
10789 2006-03-14  Wim Taymans  <wim@fluendo.com>
10790
10791         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10792         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10793         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10794         Better debug info when we receive a segment event.
10795         Reorganize a bit so we can pass the get_times() results around.
10796         Use the segment format when calculating the running time.
10797         Don't do QoS is sync is disabled or we have no clock or the
10798         element does not want us to sync to the clock.
10799         Don't drop buffers if QoS is disabled for now.
10800
10801 2006-03-14  Wim Taymans  <wim@fluendo.com>
10802
10803         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10804         Marked the stats property as unimplemented so people don't get
10805         wild ideas.
10806         Add debug message when regression goes wrong.
10807         Added some more docs.
10808
10809 2006-03-14  Wim Taymans  <wim@fluendo.com>
10810
10811         * gst/gstsegment.c: (gst_segment_to_stream_time):
10812         Return correct return type in case of errors.
10813
10814 2006-03-14  Wim Taymans  <wim@fluendo.com>
10815
10816         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10817           Don't segfault on invalid formats.
10818
10819 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10820
10821         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10822           Can't use gst_segment_to_running_time() when the segment
10823           is not in GST_TIME_FORMAT (like with filesink, for example).
10824           Stops flac encoding pipelines from spewing critical warnings
10825           at EOS (#331248).
10826           
10827 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10828
10829         * gst/gstpipeline.c: (gst_pipeline_class_init):
10830           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10831
10832         * plugins/elements/gsttypefindelement.c:
10833         (gst_type_find_element_handle_event):
10834           Don't try to typefind empty streams.
10835
10836 2006-03-14  Wim Taymans  <wim@fluendo.com>
10837
10838         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10839         (gst_base_sink_do_qos):
10840         Separate QoS calculation.
10841         Only drop buffers when lateness is bigger than the 
10842         duration of the buffer.
10843
10844 2006-03-13  Wim Taymans  <wim@fluendo.com>
10845
10846         * gst/gstpipeline.c: (gst_pipeline_set_property),
10847         (gst_pipeline_get_property), (do_pipeline_seek),
10848         (gst_pipeline_change_state), (gst_pipeline_set_delay),
10849         (gst_pipeline_get_delay):
10850         Don't deadlock when reading properties.
10851
10852 2006-03-13  Wim Taymans  <wim@fluendo.com>
10853
10854         * libs/gst/base/gstbasetransform.c:
10855         (gst_base_transform_class_init), (gst_base_transform_init),
10856         (gst_base_transform_sink_event),
10857         (gst_base_transform_sink_eventfunc),
10858         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10859         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10860         (gst_base_transform_set_property),
10861         (gst_base_transform_get_property),
10862         (gst_base_transform_change_state), (gst_base_transform_update_qos),
10863         (gst_base_transform_set_qos_enabled),
10864         (gst_base_transform_is_qos_enabled):
10865         * libs/gst/base/gstbasetransform.h:
10866         Make basetransform virtual method for src events too.
10867         Handle QOS in basetransform.
10868         API: gst_base_transform_update_qos()
10869         API: gst_base_transform_set_qos_enabled()
10870         API: gst_base_transform_is_qos_enabled()
10871
10872 2006-03-13  Wim Taymans  <wim@fluendo.com>
10873
10874         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10875         (gst_base_sink_do_sync):
10876         Small cleanups.
10877         Use QOS debug category.
10878
10879 2006-03-13  Wim Taymans  <wim@fluendo.com>
10880
10881         * plugins/elements/gstqueue.c:
10882         Very small doc update.
10883
10884 2006-03-13  Wim Taymans  <wim@fluendo.com>
10885
10886         * gst/gst_private.h:
10887         * gst/gstinfo.c: (_gst_debug_init):
10888         Added QOS debug category
10889
10890 2006-03-13  Wim Taymans  <wim@fluendo.com>
10891
10892         * docs/gst/gstreamer-sections.txt:
10893         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10894         * gst/gstbin.h:
10895         * gst/gstbus.c: (gst_bus_class_init):
10896         * gst/gstbus.h:
10897         * gst/gstclock.c:
10898         * gst/gstelement.c: (gst_element_set_locked_state):
10899         * gst/gstsegment.c:
10900         Documentation updates.
10901
10902         * gst/gstpipeline.c: (gst_pipeline_get_type),
10903         (gst_pipeline_class_init), (gst_pipeline_init),
10904         (gst_pipeline_dispose), (gst_pipeline_set_property),
10905         (gst_pipeline_get_property), (do_pipeline_seek),
10906         (gst_pipeline_send_event), (gst_pipeline_change_state),
10907         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10908         (gst_pipeline_get_delay):
10909         * gst/gstpipeline.h:
10910         Added methods for setting the delay.
10911         API: gst_pipeline_set_delay()
10912         API: gst_pipeline_get_delay()
10913         Add pipeline debug category
10914         Various cleanups.
10915         Updated docs.
10916         Don't reset stream time when seek failed.
10917
10918 2006-03-13  Wim Taymans  <wim@fluendo.com>
10919
10920         * docs/design/draft-klass.txt:
10921         * docs/design/part-clocks.txt:
10922         * docs/design/part-events.txt:
10923         * docs/design/part-gstbin.txt:
10924         * docs/design/part-gstpipeline.txt:
10925         * docs/design/part-messages.txt:
10926         * docs/design/part-negotiation.txt:
10927         * docs/design/part-overview.txt:
10928         * docs/design/part-preroll.txt:
10929         * docs/design/part-seeking.txt:
10930         * docs/design/part-states.txt:
10931         * docs/design/part-streams.txt:
10932         Documentation updates.
10933
10934 2006-03-12  Julien MOUTTE  <julien@moutte.net>
10935
10936         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10937         us to leak strings...
10938
10939 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10940
10941         * libs/gst/net/gstnettimeprovider.c:
10942           fix docs
10943         * win32/common/config.h:
10944           update
10945
10946 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
10947
10948         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10949
10950         * configure.ac:
10951           Don't check for libgnomeui (leftover from old examples
10952           that aren't built or disted any longer) (#334303).
10953           
10954 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
10955
10956         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10957         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10958           Emit RESOURCE_NO_SPACE_LEFT error here as well when
10959           there's no space left on the device.
10960
10961 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
10962
10963         * gst/gstclock.h:
10964           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10965           to cast the input to GstClockTime before comparing with
10966           another GstClockTime value.
10967
10968 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10969
10970         * configure.ac:
10971           back to trunk
10972
10973 === release 0.10.4 ===
10974
10975 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
10976
10977         * configure.ac:
10978           releasing 0.10.4, "Light"
10979
10980 2006-03-10  Michael Smith  <msmith@fluendo.com>
10981
10982         * libs/gst/dataprotocol/dataprotocol.c:
10983           Fix docs for dataprocotol to not get the return types completely
10984           wrong for a few functions.
10985
10986 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10987
10988         * docs/gst/gstreamer-sections.txt:
10989         * gst/gstpipeline.c: (gst_pipeline_class_init),
10990         (gst_pipeline_init), (gst_pipeline_set_property),
10991         (gst_pipeline_get_property), (gst_pipeline_change_state),
10992         (gst_pipeline_set_auto_flush_bus),
10993         (gst_pipeline_get_auto_flush_bus):
10994         * gst/gstpipeline.h:
10995           Add new API: gst_pipeline_set_auto_flush_bus() and
10996           gst_pipeline_get_auto_flush_bus() to disable automatic
10997           flushing of the pipeline's GstBus when going from READY
10998           to NULL state (#332045).
10999
11000 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11001
11002         * docs/gst/gstreamer-sections.txt:
11003         * gst/gsturi.c: (gst_uri_has_protocol):
11004         * gst/gsturi.h:
11005            Add new API: gst_uri_has_protocol() (#333779).
11006
11007 2006-03-09  Wim Taymans  <wim@fluendo.com>
11008
11009         * gst/gstclock.c: (gst_clock_entry_new),
11010         (gst_clock_id_compare_func), (gst_clock_id_wait),
11011         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11012         (gst_clock_init), (gst_clock_get_internal_time),
11013         (gst_clock_set_master), (do_linear_regression),
11014         (gst_clock_add_observation), (gst_clock_set_property):
11015         * gst/gstclock.h:
11016         Review docs.
11017         Small cleanups.
11018         Fix a possible segfault when the window-size is made smaller.
11019         Calculate jitter before performing the clock wait. Ideally
11020         the clock implementation should calculate jitter but we need
11021         API breakage for that.
11022
11023         * gst/gstsystemclock.c: (gst_system_clock_init):
11024         Docs review.
11025         
11026         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11027         Remove leftover else
11028
11029         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11030         (gst_systemclock_suite):
11031         Added check to test GST_CLOCK_DIFF.
11032
11033 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11034
11035         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11036         (gst_type_find_helper_get_range):
11037           If we are provided with the size, we should implement
11038           GstTypeFind::get_length, so that typefind functions who
11039           want to can actually peek at the middle of a file.
11040
11041 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
11042
11043         * docs/manual/advanced-dataaccess.xml:
11044           Add some very very basic error checking.
11045
11046         * docs/pwg/appendix-checklist.xml:
11047           Some updates to the list of things to check when writing an element.
11048
11049 2006-03-08  Wim Taymans  <wim@fluendo.com>
11050
11051         * docs/design/part-element-transform.txt:
11052         Added some docs about the design of tranform elements.
11053
11054         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11055         (gst_base_src_loop), (gst_base_src_change_state):
11056         Mark buffers with the DISCONT flag.
11057
11058 2006-03-08  Michael Smith  <msmith@fluendo.com>
11059
11060         * gst/gstregistry.h:
11061         * gst/gstregistryxml.c: (gst_registry_save),
11062         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11063         (gst_registry_xml_save_pad_template),
11064         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11065         (gst_registry_xml_write_cache):
11066           Rewrite registry-saving to avoid race conditions and check for
11067           failed writes.
11068
11069 2006-03-08  Wim Taymans  <wim@fluendo.com>
11070
11071         * libs/gst/base/gstbasetransform.c:
11072         (gst_base_transform_transform_caps),
11073         (gst_base_transform_transform_size),
11074         (gst_base_transform_prepare_output_buffer),
11075         (gst_base_transform_get_unit_size),
11076         (gst_base_transform_buffer_alloc),
11077         (gst_base_transform_handle_buffer),
11078         (gst_base_transform_change_state):
11079         Cleanups, separate normal flow from errors, add sensible
11080         DEBUG lines.
11081         Don't try to renegotiate when allocating an output buffer.
11082         Also copy DISCONT buffer flag when copying a buffer.
11083         Reset the transform after we finish streaming, not during.
11084
11085 2006-03-08  Wim Taymans  <wim@fluendo.com>
11086
11087         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11088         Use last buffer timestamp in qos message.
11089
11090 2006-03-07  Wim Taymans  <wim@fluendo.com>
11091
11092         Patch by: Christophe Fergeau
11093
11094         * docs/pwg/advanced-tagging.xml:
11095         * docs/pwg/building-pads.xml:
11096           fixes #333416
11097
11098 2006-03-07  Wim Taymans  <wim@fluendo.com>
11099
11100         * docs/libs/gstreamer-libs-sections.txt:
11101         Added basesink new methods.
11102
11103         * gst/gstevent.c:
11104         * gst/gstevent.h:
11105         Docs updates. Flesh out the QoS docs.
11106
11107         * libs/gst/base/gstadapter.c:
11108         Small doc clarification about ownership and flushing.
11109
11110         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11111         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11112         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11113         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11114         * libs/gst/base/gstbasesink.h:
11115         API additions: 
11116         Added new methods to allow subclass to control max-lateness 
11117         and sync.
11118         Generate very basic QoS events based on last sync observation.
11119         Updated docs, fix typo, added some QoS blurb.
11120
11121         * libs/gst/base/gstbasesrc.c:
11122         Remove obsolete _get_state() calls from docs.
11123
11124 2006-03-07  Wim Taymans  <wim@fluendo.com>
11125
11126         * docs/libs/gstreamer-libs-sections.txt:
11127         * libs/gst/base/gstbasetransform.h:
11128         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11129         Fix docs for GstBaseSrc.
11130
11131 2006-03-07  Wim Taymans  <wim@fluendo.com>
11132
11133         * docs/gst/gstreamer-sections.txt:
11134         * gst/gstbuffer.h:
11135         * gst/gstvalue.c:
11136         * libs/gst/base/gstbasetransform.h:
11137         Small documentation fixes.
11138
11139 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11140
11141         * gst/gstvalue.c:
11142           Document thread-unsafety of gst_value_register_foo_func()
11143           when used at the same time as gst_value_foo() (#322628).
11144
11145 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11146
11147         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11148         (gst_push_src_check_get_range):
11149           Push sources don't support pull mode by default.
11150
11151 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11152
11153         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11154         (gst_base_src_init), (gst_base_src_pad_check_get_range),
11155         (gst_base_src_default_check_get_range):
11156         * libs/gst/base/gstbasesrc.h:
11157           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11158           provide default implementation, and rename
11159           gst_base_src_check_get_range() to
11160           gst_base_src_pad_check_get_range() for clarity.
11161
11162 2006-03-06  Wim Taymans  <wim@fluendo.com>
11163
11164         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11165         Make property overridable.
11166
11167 2006-03-06  Wim Taymans  <wim@fluendo.com>
11168
11169         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11170         (gst_base_sink_init), (gst_base_sink_set_property),
11171         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11172         * libs/gst/base/gstbasesink.h:
11173         API addition: Make max-lateness a property.
11174
11175 2006-03-06  Wim Taymans  <wim@fluendo.com>
11176
11177         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11178         (gst_base_sink_do_sync), (gst_base_sink_render_object):
11179         Don't ever draw a frame that is >10ms late.
11180
11181 2006-03-06  Michael Smith  <msmith@fluendo.com>
11182
11183         * gst/gstmessage.c: (_gst_message_copy):
11184           When copying a message, set the parent_refcount of the enclosed
11185           structure to point at the copy, not the original message.
11186
11187 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11188
11189         Patch by: Christophe Fergeau
11190
11191         * gst/gstutils.h:
11192           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11193           usable in c++ code (#333417)
11194
11195 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11196
11197         * gst/gstclock.h:
11198           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11199
11200 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
11201
11202         * libs/gst/base/gstbasetransform.c:
11203         (gst_base_transform_transform_caps):
11204           Make sure caps are writable before passing them to
11205           gst_caps_append().
11206
11207 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11208
11209         * gst/gsterror.h:
11210           Fix some minor docs errors.
11211
11212 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11213
11214           Patch by: Ross Burton <ross at burtonini dot com>
11215
11216         * gst/gsterror.c: (_gst_resource_errors_init):
11217         * gst/gsterror.h:
11218           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11219
11220 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11221
11222         * gst/gst.c:
11223         Add a check and output a g_warning when GStreamer is built
11224         against GLib 2.6 but running against 2.8 or higher, and vice 
11225         versa. (Closes: #323542)
11226
11227 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11228
11229         * gst/parse/parse.l:
11230           Commit patch for parse_launch syntax from #331255. Removes 
11231           support for quoted strings and mimetypes when writing filtered 
11232           caps. See the bug report for more details - I'm pretty sure this
11233           obscure feature is not in use by _anyone_ anywhere.
11234
11235           With this simple change, the size of the gstreamer.so here 
11236           drops from 2193KB to 1565KB.
11237
11238 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11239
11240         * plugins/elements/gsttypefindelement.h:
11241         * plugins/elements/gsttypefindelement.c:
11242         (gst_type_find_element_src_event), (start_typefinding),
11243         (stop_typefinding), (gst_type_find_element_handle_event),
11244         (gst_type_find_element_chain),
11245         (gst_type_find_element_chain_do_typefinding):
11246           Use gst_type_find_helper_for_buffer() for chain-based
11247           typefinding.
11248
11249 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11250
11251         * plugins/elements/gsttypefindelement.c:
11252         (gst_type_find_element_class_init),
11253         (gst_type_find_element_set_property),
11254         (gst_type_find_element_get_property):
11255           Deprecate "maximum" property (not only was it only taken into
11256           account for typefinding in push-mode anyway, it also was never
11257           actually possible to set it in the first place because the
11258           property was registered with the numeric property ID for the
11259           "minimum" property). Register "maximum" property correctly,
11260           for the sake of future copy'n'pasters. Remove some cruft
11261           from property get/set functions.
11262
11263 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11264
11265         * plugins/elements/gsttypefindelement.c:
11266         (gst_type_find_element_activate):
11267           Use gst_type_find_helper_get_range() here, so we
11268           can honour the "minimum" property and also emit
11269           the signal with the correct probability of the found caps.
11270
11271 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
11272
11273         * docs/libs/gstreamer-libs-sections.txt:
11274         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11275         (helper_find_suggest), (gst_type_find_helper_get_range),
11276         (gst_type_find_helper):
11277         * libs/gst/base/gsttypefindhelper.h:
11278           New API: gst_type_find_helper_get_range() (#333042).
11279
11280 2006-03-02  Michael Smith  <msmith@fluendo.com>
11281
11282         * gst/gstregistryxml.c: (load_feature):
11283           Asserting on a failure to read part of the registry is Not Cool.
11284           Just log a warning and return NULL (which is already handled)
11285
11286 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
11287
11288         * win32/common/libgstbase.def:
11289           added export of gst_type_find_helper_for_buffer
11290         * win32/common/libgstbase.def:
11291           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11292           gst_ghost_pad_get_target
11293
11294 2006-02-28  Wim Taymans  <wim@fluendo.com>
11295
11296         * docs/design/draft-klass.txt:
11297         We use Filter now.
11298         Added Connector to mark elements that are only used to
11299         allow pipeline connections.
11300         Moved Debug to extra feature since most of them are 
11301         functionally something else.
11302
11303 2006-02-28  Wim Taymans  <wim@fluendo.com>
11304
11305         * docs/design/draft-klass.txt:
11306         Some updates and clarifications.
11307
11308 2006-02-28  Wim Taymans  <wim@fluendo.com>
11309
11310         * docs/design/draft-klass.txt:
11311         Proposal for klass field values.
11312
11313         * docs/design/part-streams.txt:
11314         Start of a doc describing stream anatomy.
11315
11316 2006-02-28  Wim Taymans  <wim@fluendo.com>
11317
11318         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11319         Help the compiler a bit with type registration.
11320         Use existing forward cod path instead of duplicating it when 
11321         handling a message.
11322         
11323         * gst/gstbus.c: (gst_bus_get_type):
11324         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11325         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11326         * gst/gstclock.c: (gst_clock_get_type):
11327         * gst/gstelement.c: (gst_element_get_type),
11328         * gst/gstelementfactory.c: (gst_element_factory_get_type):
11329         * gst/gstindexfactory.c: (gst_index_factory_get_type):
11330         * gst/gstminiobject.c: (gst_mini_object_get_type):
11331         * gst/gstpad.c: (gst_pad_get_type):
11332         * gst/gstsegment.c: (gst_segment_get_type):
11333         * gst/gststructure.c: (gst_structure_get_type):
11334         * gst/gstsystemclock.c: (gst_system_clock_get_type):
11335         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11336         * gst/gstvalue.c:
11337         Help compiler with type registration.
11338
11339         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11340         Small doc update.
11341
11342 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11343
11344         * plugins/elements/gsttypefindelement.c:
11345         (gst_type_find_element_handle_event):
11346           When we get an EOS event and have not found a type yet
11347           (most likely because we had not yet accumulated
11348           TYPE_FIND_MIN_SIZE of data yet), try to determine the
11349           type given the data we have so far. Fixes typefinding
11350           for very short streams again, most notably quicktime
11351           redirections as used on Apple's trailer site (#331701).
11352
11353 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11354
11355         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11356         (gst_type_find_helper):
11357           Try typefinding factories with the highest rank first.
11358
11359 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11360
11361         * docs/libs/gstreamer-libs-docs.sgml:
11362         * docs/libs/gstreamer-libs-sections.txt:
11363         * libs/gst/base/gsttypefindhelper.c:
11364           Add section for typefind helper and add documentation
11365           for the old and the new function.
11366
11367 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11368
11369         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11370         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11371         (gst_type_find_helper_for_buffer):
11372         * libs/gst/base/gsttypefindhelper.h:
11373           New API: gst_type_find_helper_for_buffer() (#332723).
11374           
11375 2006-02-27  Michael Smith  <msmith@fluendo.com>
11376
11377         Patch by: Loïc Minier
11378
11379         * configure.ac:
11380         * docs/Makefile.am:
11381         * docs/slides/Makefile.am:
11382           prevent CVS directories getting disted.
11383
11384 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11385
11386         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11387           Use the REFCOUNTING category for caps refcounting.
11388           
11389 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11390
11391         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11392           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11393
11394 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11395
11396         * plugins/elements/gsttypefindelement.c:
11397         (gst_type_find_element_activate):
11398           Use gst_pad_check_pull_range() before _activate_pull()
11399           to avoid unnecessary open/close (see #331690).
11400
11401 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11402
11403         * gst/gstutils.c:
11404           Docs enhancement: make it crystal clear what the
11405           gst_pad_add_*_probe() callbacks should look like.
11406
11407 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11408
11409         * libs/gst/base/gstbasesrc.c:
11410           Document how applications can stop recording from
11411           live sources (see #330996).
11412
11413 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11414
11415         * tests/check/Makefile.am:
11416         * tests/check/libs/basesrc.c: (eos_event_counter),
11417         (basesrc_eos_events_pull), (basesrc_eos_events_push),
11418         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11419         (gst_basesrc_suite), (main):
11420           ... and add some tests for the base source EOS stuff.
11421
11422 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11423
11424         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11425           Test case originally showed the problem fixed below,
11426           but was then amended. Add checks back at the place
11427           where they used to be.
11428
11429 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11430
11431         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11432         (gst_base_src_init), (gst_base_src_loop),
11433         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11434         (gst_base_src_change_state):
11435         * libs/gst/base/gstbasesrc.h:
11436           Don't unconditionally send EOS when going from PAUSED to
11437           READY state, esp. make sure we don't send two EOS events
11438           in some cases (e.g. one when reaching EOS and one when
11439           going from PAUSED to READY). Also, we don't want to send
11440           EOS events when operating in pull mode. However, we do
11441           want to send an EOS event when shutting down a live
11442           source explicitly, for example (fixes #330996).
11443           
11444 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11445
11446         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11447           Update src->read_position after a seek when not using mmap.
11448           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11449
11450 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
11451
11452         * gst/Makefile.am:
11453         * gst/gstparse.h:
11454         * gst/gstutils.c:
11455         * gst/gstutils.h:
11456         Make things work with --disable-parse as they do with 
11457         --disable-load-save - the symbols involved disappear, but the
11458         header is still installed and GST_DISABLE_PARSE is included via
11459         gstconfig.h
11460
11461 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11462
11463         * libs/gst/base/gstbasetransform.c:
11464         (gst_base_transform_change_state): Fix a stupid bug. I was 
11465         sure I compiled that.
11466
11467 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11468
11469         * gst/gstpad.c: (gst_pad_set_blocked_async):
11470         * gst/gstutils.c: (gst_pad_add_data_probe),
11471         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11472         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11473         (gst_pad_remove_buffer_probe): Make those function act on the
11474         ghostpad target when it's a ghostpad. (Closes #331727)
11475
11476 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11477
11478         * libs/gst/base/gstbasetransform.c:
11479         (gst_base_transform_change_state): Make basetransform reusable.
11480         (Closes #331898)
11481
11482 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
11483
11484         * docs/random/release:
11485         Move the current documentation of how to do a release to the top
11486         of the file.
11487
11488         * gst/gstbin.c: (gst_bin_class_init),
11489         (gst_bin_handle_message_func):
11490         Allow multiple state-recalculation threads. (Closes #328873)
11491
11492 2006-02-19  Julien MOUTTE  <julien@moutte.net>
11493
11494         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11495         * gst/gstpad.c: (gst_pad_set_event_function),
11496         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11497         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11498         2 strings. You can't use the STR_NULL macro on that.
11499
11500 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
11501
11502         * gst/gstpad.c: (gst_pad_set_event_function),
11503         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11504         (gst_pad_set_getcaps_function)
11505         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11506           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11507           So now, we can use --gst-debug-level=5 on Windows
11508         * win32/common/libgstcontroller.def:
11509           Added export of gst_controller_init
11510         * win32/vs6/libgstcontroller.dsp:
11511           Fixed Release post build configuration
11512
11513 2006-02-17  Wim Taymans  <wim@fluendo.com>
11514
11515         * tests/check/gst/gstquery.c: (GST_START_TEST):
11516         Added another check.
11517
11518 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
11519
11520         * plugins/elements/gsttypefindelement.c: (find_peek):
11521           We can do peeks at non-zero offsets, as long as they
11522           fall within the buffer we have.
11523
11524 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
11525
11526         * tests/check/Makefile.am:
11527         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11528         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11529         (parse_suite), (main):
11530           Add testsuite for parse launch syntax
11531
11532 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
11533
11534         * plugins/elements/gsttypefindelement.c:
11535         (gst_type_find_element_chain):
11536           When typefinding is unsuccessful in the chain function, don't
11537           error out immediately. Only error out with NO_CAPS_FOUND if
11538           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11539           otherwise simply wait for more data so we can try typefinding
11540           again with more data later. Also, don't attempt to typefind
11541           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11542           this should improve typefinding from network sources where the
11543           size of the first buffer can be somewhat random.
11544
11545 2006-02-14  Wim Taymans  <wim@fluendo.com>
11546
11547         * docs/gst/gstreamer-sections.txt:
11548         * gst/gstpadtemplate.c:
11549         * gst/gstpadtemplate.h:
11550         Fix padtemplate docs, fixes #328805.
11551
11552 2006-02-14  Wim Taymans  <wim@fluendo.com>
11553
11554         * tools/gst-launch.c: (main):
11555         NO_PREROLL is not an ERROR so don't send confusing messages
11556         to the user.
11557
11558 2006-02-14  Wim Taymans  <wim@fluendo.com>
11559
11560         Patch by: Torsten Schoenfeld
11561
11562         * gst/gstregistry.c: (gst_registry_get_default),
11563         (_gst_registry_cleanup):
11564         Protect default registry with lock and ref/sink it.
11565         Fixes #324818
11566
11567 2006-02-14  Wim Taymans  <wim@fluendo.com>
11568
11569         * gst/gstbuffer.c:
11570         * gst/gstquery.c: (gst_query_list_add_format),
11571         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11572         (gst_query_parse_formats_nth):
11573         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11574         Docs fixes.
11575
11576 2006-02-14  Wim Taymans  <wim@fluendo.com>
11577
11578         * docs/gst/gstreamer-sections.txt:
11579         Reworked query docs.
11580
11581         * gst/gstquery.c: (gst_query_new_formats),
11582         (gst_query_list_add_format), (gst_query_set_formats),
11583         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11584         (gst_query_parse_formats_nth):
11585         * gst/gstquery.h:
11586         Flesh out formats query, added some new methods.
11587         Fix part of #324398.
11588
11589         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11590         Added query creation tests.
11591
11592 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
11593
11594         * gst/gstpad.c: (fixate_value):
11595         Add a default fixation for fraction lists.
11596
11597 2006-02-13  Wim Taymans  <wim@fluendo.com>
11598
11599         * gst/gsttask.c: (gst_task_init), (gst_task_func),
11600         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11601         (gst_task_join):
11602         * gst/gsttask.h:
11603         Detect and warn for obvious deadlocks. fixes #320340
11604         Fix error case where lock was not released.
11605
11606         * tests/check/Makefile.am:
11607         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11608         (task_func), (gst_element_suite), (main):
11609         Add task check.
11610
11611 2006-02-13  Wim Taymans  <wim@fluendo.com>
11612
11613         * docs/gst/gstreamer-sections.txt:
11614         * gst/gstbus.c:
11615         Add new functions to docs.
11616
11617 2006-02-13  Wim Taymans  <wim@fluendo.com>
11618
11619         * docs/design/part-TODO.txt:
11620         Updated TODO list, basesrc supports seeking to non-bytes
11621         formats.
11622
11623         * docs/design/part-element-sink.txt:
11624         Update docs.
11625
11626         * gst/gstbin.c: (bin_replace_message),
11627         (gst_bin_handle_message_func):
11628         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11629         * gst/gstevent.c: (gst_event_finalize):
11630         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11631         (gst_pad_send_event):
11632         Use shiny new _TYPE_NAME macros.
11633
11634         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11635         Move debug statement up.
11636
11637         * gst/gstelement.c: (gst_element_set_locked_state):
11638         Add some debugging.
11639
11640 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
11641
11642         * docs/gst/gstreamer-sections.txt:
11643         * gst/gstmessage.h:
11644         * gst/gstquery.h:
11645           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11646           macros (#330906). Also, document the already existing
11647           GST_QUERY_TYPE macro.
11648
11649 2006-02-13  Wim Taymans  <wim@fluendo.com>
11650
11651         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11652         (event_probe), (GST_START_TEST):
11653         Only events up to the pipeline EOS are counted, there are
11654         some more when going to NULL currently which we don't care
11655         about for now.
11656
11657 2006-02-13  Wim Taymans  <wim@fluendo.com>
11658
11659         * gst/gstpad.c: (gst_pad_send_event):
11660         Correctly check flushing and emit probes. fixes #330125
11661
11662 2006-02-10  Andy Wingo  <wingo@pobox.com>
11663
11664         * gst/gstbus.c (gst_bus_class_init): Declare our private data
11665         structure.
11666         (gst_bus_init): Cache the location of the private data in the
11667         instance structure.
11668         (gst_bus_enable_sync_message_emission) 
11669         (gst_bus_disable_sync_message_emission): Implement new public
11670         functions.
11671         (gst_bus_post): Emit the sync-message signal if the user asked for
11672         it. Fixes #330684.
11673
11674         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11675         location of the bus-private structure.
11676         (gst_bus_enable_sync_message_emission)
11677         (gst_bus_disable_sync_message_emission): API addition
11678
11679 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
11680
11681         Patch by: Vincent Torri
11682
11683         * docs/pwg/building-boiler.xml:
11684         PWG patch from #326800
11685
11686 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
11687
11688         * configure.ac:
11689         * docs/Makefile.am:
11690         * docs/design/Makefile.am:
11691           Dist design docs.
11692
11693 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11694
11695         * configure.ac:
11696           back to CVS
11697
11698 === release 0.10.3 ===
11699
11700 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
11701
11702         * configure.ac:
11703           releasing 0.10.3, "Like a virgin"
11704
11705 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11706
11707         * configure.ac:
11708           2nd prerelease of 0.10.3
11709           Bump libtool versioning.
11710
11711 2006-02-07  Andy Wingo  <wingo@pobox.com>
11712
11713         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11714         update last_stop if we're in TIME format and the timestamp is
11715         valid.
11716
11717         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
11718         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
11719         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11720         If we get a new newsegment with a different format, adapt
11721         accordingly.
11722
11723         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11724         of 0. Not a problem, really.
11725
11726         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11727         warn if sync=true.
11728
11729 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
11730
11731         * configure.ac:
11732           Prelease of 0.10.3
11733
11734 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
11735
11736         * win32/vs7:
11737           project files updated to the default vs7 configuration
11738         * win32/common/libgstbase.def:
11739         * win32/common/libgstreamer.def:
11740           added new symbols,
11741           removed empty lines,
11742           sorted all exported symbols alphabetically
11743         * win32/common/dirent.c:
11744         * win32/common/dirent.h:
11745         * win32/common/gchar.h:
11746           use windows line end.
11747           
11748 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11749
11750         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11751           Send EOS event when stopping.
11752
11753 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11754
11755         * docs/README:
11756           Tell folks what to do if the plugin-foobar.xml file
11757           hasn't been generated for a newly-added plugin.
11758
11759 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11760
11761         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11762         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11763         (gst_collect_pads_start), (gst_collect_pads_stop),
11764         (gst_collect_pads_event): Collectpads now holds a reference
11765         to the GstPad that was added. Indeed we don't want to look
11766         at pads that might just go away with no warning...
11767
11768 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11769
11770         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11771         (gst_collect_pads_start), (gst_collect_pads_stop),
11772         (gst_collect_pads_event), (gst_collect_pads_chain):
11773         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11774         Mark Nauwelaerts's patch on bug #328491.
11775
11776 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11777
11778         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11779         (gst_utils_suite):
11780           Add some simple tests for gst_parse_bin_from_description() and
11781           gst_bin_find_unconnected_pad() (#329069).
11782
11783 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11784
11785         * tools/gst-launch.c: (event_loop), (main):
11786           Catch errors during preroll (#320084).
11787
11788 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
11789
11790         * plugins/elements/gsttypefindelement.c:
11791         (gst_type_find_element_activate):
11792           Post TYPE_NOT_FOUND error message when typefinding
11793           is unsuccessful in the activate function as well.
11794
11795 2006-02-02  Wim Taymans  <wim@fluendo.com>
11796
11797         * docs/design/part-element-sink.txt:
11798         Updated doc.
11799
11800 2006-02-02  Wim Taymans  <wim@fluendo.com>
11801
11802         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11803         (gst_base_sink_render_object),
11804         (gst_base_sink_queue_object_unlocked):
11805         Only keep track of prerollable items when we are 
11806         prerolling.
11807         Before rendering after preroll, always check if we
11808         have queued items.
11809         Added some more debugging.
11810
11811 2006-02-02  Wim Taymans  <wim@fluendo.com>
11812
11813         * gst/gstelement.c: (gst_element_continue_state),
11814         (gst_element_set_state_func), (gst_element_change_state):
11815         Fixed #326576, been running this for quite some time with
11816         no regressions at all.
11817
11818 2006-02-02  Wim Taymans  <wim@fluendo.com>
11819
11820         * common/gst.supp:
11821         Added more suppressions
11822
11823 2006-02-02  Wim Taymans  <wim@fluendo.com>
11824
11825         * docs/design/part-element-sink.txt:
11826         Updated document.
11827
11828         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11829         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11830         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11831         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11832         (gst_base_sink_do_sync), (gst_base_sink_render_object),
11833         (gst_base_sink_preroll_object),
11834         (gst_base_sink_queue_object_unlocked),
11835         (gst_base_sink_queue_object), (gst_base_sink_event),
11836         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11837         (gst_base_sink_loop), (gst_base_sink_activate_pull),
11838         (gst_base_sink_get_position), (gst_base_sink_change_state):
11839         * libs/gst/base/gstbasesink.h:
11840         Totally refactored matching the design doc.
11841         Use two segments, one to clip incomming buffers and another to
11842         perform sync.
11843         Handle queueing correctly, bypass the queue when playing.
11844         Make EOS cancelable.
11845         Handle errors correctly when operating in pull based mode.
11846
11847         * tests/check/elements/fakesink.c: (GST_START_TEST),
11848         (fakesink_suite):
11849         Added new check for sinks.
11850
11851 2006-02-02  Wim Taymans  <wim@fluendo.com>
11852
11853         * gst/gstsegment.c: (gst_segment_clip):
11854         No reason to refuse to clip when start == -1
11855
11856 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
11857
11858         * docs/README:
11859         * docs/manual/intro-basics.xml:
11860         * docs/manual/intro-preface.xml:
11861         * docs/manual/manual.xml:
11862         * docs/pwg/advanced-dparams.xml:
11863         * docs/pwg/intro-basics.xml:
11864         * docs/pwg/intro-preface.xml:
11865         * docs/pwg/pwg.xml:
11866           describe dparams (controller) for plugins
11867           unify docs a little more
11868
11869 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
11870
11871         * docs/gst/gstreamer-sections.txt:
11872         * gst/gstutils.c: (element_find_unconnected_pad),
11873         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11874         * gst/gstutils.h:
11875           Add new API: gst_parse_bin_from_description() and
11876           gst_bin_find_unconnected_pad() (#329069).
11877
11878 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
11879
11880         * docs/manual/README:
11881           uncover a nasty detail of the docs build
11882
11883 2006-01-31  Wim Taymans  <wim@fluendo.com>
11884
11885         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11886         Don't cache duration messages if we're not going to use or
11887         free them.
11888
11889 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
11890
11891         * docs/manual/advanced-dparams.xml:
11892         * docs/pwg/advanced-dparams.xml:
11893           more dparam docs
11894         * gst/gstindex.c:
11895           fix docs
11896         * libs/gst/controller/lib.c: (gst_controller_init):
11897           init just once
11898
11899 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
11900
11901         * gst/gstelement.c: (gst_element_message_full):
11902           also show file/line/func if no additional debug was given
11903
11904 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
11905         
11906         * win32/vs7/grammar.vcproj:
11907           activate copy of autogenerated files for Release mode
11908
11909 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11910         
11911         * win32/common/libgstreamer.def:
11912           export gst_value_compare
11913
11914 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
11915
11916         * plugins/elements/Makefile.am:
11917         * plugins/elements/gstelements.c:
11918         * plugins/elements/gstfdsink.c: (_do_init),
11919         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11920         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11921         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11922         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11923         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11924         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11925         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11926         * plugins/elements/gstfdsink.h:
11927         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11928
11929 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
11930
11931         * docs/manual/advanced-dparams.xml:
11932           describe controller
11933         * docs/manual/advanced-position.xml:
11934         * docs/manual/basics-init.xml:
11935         * docs/manual/manual.xml:
11936         * docs/manual/titlepage.xml:
11937         * docs/pwg/pwg.xml:
11938         * docs/pwg/titlepage.xml:
11939           cleanup xml (more to come)
11940         * libs/gst/controller/gstcontroller.c:
11941           fix typo
11942
11943 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11944         
11945         * win32/vs6/grammar.dsp:
11946           add autogen of gstmarshal.c,h for Release mode
11947                 
11948 2006-01-30  Wim Taymans  <wim@fluendo.com>
11949
11950         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11951         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11952         (gst_base_sink_handle_object), (gst_base_sink_event),
11953         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11954         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11955         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11956         (gst_base_sink_deactivate), (gst_base_sink_activate),
11957         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11958         (gst_base_sink_query), (gst_base_sink_change_state):
11959         Basesink cleanups, remove some old code.
11960         Handle the case where a subclass can preroll in the render
11961         method (mostly audiosinks).
11962         Handle more events.
11963         Remove some locks around variables that are now protected
11964         with the PREROLL_LOCK (clock_id, flushing, ..).
11965         Optimize position query some more, do correct locking.
11966         Remove old code to push queue in state change, this is not
11967         needed anymore since preroll blocks on all prerollable items 
11968         now.
11969         Almost implemented as described in design doc.
11970
11971 2006-01-30  Wim Taymans  <wim@fluendo.com>
11972
11973         * tests/check/gst/gstbin.c: (GST_START_TEST):
11974         Wait for refcount to settle down before checking.
11975
11976 2006-01-30  Wim Taymans  <wim@fluendo.com>
11977
11978         * docs/design/part-element-sink.txt:
11979         Pseudo code overview of desired sink behaviour regarding
11980         preroll.
11981
11982 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11983         * win32/vs6/grammar.dsp:
11984           fix some bugs in Release mode for autogenerated files
11985                 
11986 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11987         * win32/common/libgstbase.def:
11988         * win32/common/libgstreamer.def:
11989           export some new symbols: gst_base_src_set_format,
11990           gst_iterator_next, gst_structure_set_valist
11991
11992 2006-01-29  Julien MOUTTE  <julien@moutte.net>
11993
11994         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11995         Set pad functions unconditionally. Fixes #329105.
11996
11997 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11998         * win32/vs8:
11999           add vs8 project files created by Sergey Scobich
12000
12001 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
12002
12003         * gst/gstutils.c: (gst_element_unlink_pads):
12004         Don't leak pad references.
12005
12006         * tests/check/elements/fakesink.c: (GST_START_TEST):
12007         * tests/check/generic/sinks.c: (GST_START_TEST):
12008         * tests/check/generic/states.c: (GST_START_TEST):
12009         * tests/check/gst/gstbin.c: (GST_START_TEST):
12010         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12011         * tests/check/gst/gstelement.c: (GST_START_TEST):
12012         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12013         * tests/check/gst/gstiterator.c: (GST_START_TEST):
12014         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12015         Fix a bunch of leaks. Make generic/sinks.c
12016         use a bit less cpu by slowing the buffer rate
12017         between fakesrc and fakesink.
12018         
12019 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
12020         * gst/gstcaps.c:
12021         * gst/gstelement.c: (gst_element_send_event):
12022         * gst/gstevent.c:
12023         * gst/gstinfo.c:
12024         * gst/gstiterator.c:
12025         * gst/gstiterator.h:
12026         * gst/gstpad.c: (gst_pad_send_event):
12027         * gst/gststructure.c:
12028         * gst/gsturi.c:
12029         * gst/gstutils.c:
12030         * gst/gstvalue.c:
12031         * libs/gst/base/gstadapter.c:
12032           doc fixes, to link to function, just write gst_cool_function(), don't
12033           prefix with '#'
12034
12035 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12036
12037         * plugins/elements/gsttee.c: (gst_tee_do_push),
12038         (gst_tee_handle_buffer):
12039         Always prefer an actual return value from a src
12040         pad in place of NOT_LINKED. This means we return
12041         WRONG_STATE when all src pads are WRONG_STATE
12042         instead of NOT_LINKED.
12043
12044         Lock when replacing the last message to prevent
12045         racing with the get_property method.
12046
12047         Add debug output
12048
12049 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12050
12051         * tests/check/Makefile.am:
12052         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12053         (main):
12054         Add a very simple check that should have caught the memleak I fixed
12055         last night (if not for the slice allocator hiding it)
12056
12057 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12058
12059         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12060         (gst_bin_remove_func), (gst_bin_handle_message_func),
12061         (bin_query_duration_fold), (bin_query_generic_fold):
12062         Clean up references to the clock provider when disposed or when
12063         handling a clock-lost message from it.
12064
12065         Unref sinks when performing a query via gst_iterator_fold, as the
12066         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12067
12068         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12069         (gst_clock_set_master):
12070         Drop our reference to the master clock, if any, when we are disposed.
12071
12072         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12073         Chain up in dispose. 
12074
12075 2006-01-26  Wim Taymans  <wim@fluendo.com>
12076
12077         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12078         Add some debugging.
12079
12080 2006-01-26  Julien MOUTTE  <julien@moutte.net>
12081
12082         * plugins/elements/gsttee.c: (gst_tee_do_push),
12083         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12084         handles pad being NOT_LINKED or in WRONG_STATE.
12085
12086 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12087
12088         * win32/MANIFEST:
12089           more updating
12090
12091 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12092
12093         * win32/MANIFEST:
12094           remove obsolete entry
12095
12096 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12097
12098         * docs/gst/gstreamer-sections.txt:
12099         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12100         (gst_bin_iterate_sources), (gst_bin_send_event):
12101         * gst/gstbin.h:
12102         * gst/gstelement.c: (gst_element_send_event):
12103         * gst/gstevent.c:
12104         * gst/gstpad.c: (gst_pad_send_event):
12105           added code for downstream events, reviewed docs in gstevent.c
12106
12107 2006-01-25  Julien MOUTTE  <julien@moutte.net>
12108
12109         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12110         We only query position using the clock in the playing state.
12111         Query peer in the other cases.
12112         * win32/common/config.h: Updates.
12113
12114 2006-01-24  Wim Taymans  <wim@fluendo.com>
12115
12116         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12117         A clock entry that is scheduled for the exact time of the
12118         clock is still in time.
12119
12120         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12121         (gst_base_sink_do_sync):
12122         Add some more debug info.
12123
12124 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12125
12126         * win32/vs7:
12127           Add new vs7 project files and solution.
12128
12129 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12130
12131         * win32/vs7:
12132           all files removed as they were out-dated.
12133
12134 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12135
12136         * docs/random/release:
12137           update notes
12138         * gst/gstbin.c: (gst_bin_init):
12139         * gst/gstbus.c: (gst_bus_new):
12140         * gst/gstbus.h:
12141         * gst/gstpipeline.c: (gst_pipeline_init):
12142           use gst_bus_new(), improve logging, fix docs
12143         * win32/common/config.h:
12144           update for cvs build
12145
12146 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12147
12148         * autogen.sh:
12149           up required version of automake to 1.7
12150
12151 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
12152
12153         * win32/common/libgstreamer.def:
12154           export gst_buffer_is_metadata_writable
12155
12156 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
12157
12158         * docs/gst/gstreamer-sections.txt:
12159         * gst/gstevent.h:
12160           Add gst_event_replace() (#327001)
12161
12162 2006-01-20  Wim Taymans  <wim@fluendo.com>
12163
12164         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12165         Make it actually compile too..
12166
12167 2006-01-20  Wim Taymans  <wim@fluendo.com>
12168
12169         * gst/gstcaps.c:
12170         Clarify behaviour of _is_equal() when passing NULL parameters.
12171
12172         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12173         (gst_pad_set_caps):
12174         Cleanups. Don't unref NULL caps.
12175         When setting the same caps, protect caps of the pad with
12176         proper lock.
12177         Use full functionality of _is_equal() when comparing caps.
12178
12179 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12180
12181         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12182         Don't loop infinitely if there are no buffers to present. Partially
12183         fixes #327197, but collectpads is just broken for reusing elements
12184         to do multiple encodes atm.
12185
12186 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12187
12188         * tools/gst-inspect.c: (print_element_features):
12189         * tools/gst-xmlinspect.c: (main):
12190         URL_HANDLER is not a plugin feature we can search for in
12191         the registry.
12192
12193 2006-01-19  Edward Hervey  <edward@fluendo.com>
12194
12195         * gst/gstelement.c: (gst_element_pads_activate): 
12196         When activating, do src pads first, then sink pads.
12197         When de-activating, do sink pads first, then src pads.
12198
12199 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12200
12201         * docs/gst/gstreamer-sections.txt:
12202         Add gst_index_add_associationv to the docs
12203
12204 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12205
12206         * gst/gstevent.c:
12207           Fix docs typo
12208
12209         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12210         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12211           Do some refactoring. Doesn't actually change functionality,
12212           but makes landing the DRAIN event easier later.
12213
12214 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
12215
12216         * docs/pwg/advanced-scheduling.xml:
12217           Update from 0.9.x to 0.10 API and make example a bit
12218           clearer.
12219
12220 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12221
12222         * docs/gst/gstreamer-sections.txt:
12223         Add gst_buffer_(is|make)_metadata_writable methods.
12224
12225 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12226
12227         * docs/design/part-sparsestreams.txt:
12228         Update sparse streams doc, hopefully for greater clarity
12229
12230 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
12231
12232         * docs/design/part-events.txt:
12233         Remove mention of FILLER events.
12234         Add DRAIN event.
12235
12236         * docs/design/part-sparsestreams.txt:
12237         Write some things about using NEWSEGMENT to keep sparse streams
12238         flowing.
12239
12240 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12241
12242         * gst/gstbin.c: (gst_bin_dispose):
12243           Guard gst_object_unref call against a NULL object (dispose
12244           can theoretically be called multiple times).
12245           
12246 2006-01-18  Wim Taymans  <wim@fluendo.com>
12247
12248         * gst/gstbin.c: (gst_bin_element_set_state):
12249         * gst/gstclock.c: (gst_clock_id_wait):
12250         Added some more debug info.
12251
12252         * libs/gst/base/gstadapter.c:
12253         Added more docs.
12254
12255         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12256         (gst_base_sink_do_sync), (gst_base_sink_chain):
12257         Added some comments.
12258
12259 2006-01-18  Wim Taymans  <wim@fluendo.com>
12260
12261         * tests/check/Makefile.am:
12262         * tests/check/elements/fakesink.c: (chain_async_buffer),
12263         (chain_async), (chain_async_return), (GST_START_TEST),
12264         (fakesink_suite), (main):
12265         Added fakesink test that checks prerolling and clipping
12266         behaviour.
12267
12268         * tests/check/gst/gstutils.c: (GST_START_TEST):
12269         Make check run faster so that buildbots don't timeout.
12270
12271 2006-01-18  Wim Taymans  <wim@fluendo.com>
12272
12273         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12274         (gst_base_sink_do_sync):
12275         Some cleanups.
12276         When the sink finishes blocking on the preroll buffer, it can
12277         immediatly render it instead of rendering when the next buffer
12278         arrives.
12279
12280 2006-01-18  Wim Taymans  <wim@fluendo.com>
12281
12282         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12283         (gst_base_sink_get_property), (gst_base_sink_do_sync),
12284         (gst_base_sink_chain):
12285         Small cleanups.
12286         GST_ELEMENT_CLOCK and sync are protected with LOCK.
12287         Don't store _last_stop if the buffer is dropped.
12288
12289 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12290
12291         * plugins/elements/gsttypefindelement.c:
12292         (gst_type_find_element_class_init):
12293           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12294           object method handler that sets the caps on the pad and we want
12295           that to happen before we emit the signal (fixes e.g. feeding a
12296           plain text file to decodebin).
12297
12298 2006-01-18  Christian Schaller  <Christian@fluendo.com>
12299
12300         * gst/gstplugin.c: Add MPL and Proprietary as license options
12301
12302 2006-01-18  Andy Wingo  <wingo@pobox.com>
12303
12304         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12305         symbol was exported before, it appears this was just an oversight.
12306         Fixes #168703.
12307         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12308
12309         * gst/gstindex.c (gst_index_add_associationv): Changed int in
12310         prototype to gint. OK since this prototype was not in the header.
12311
12312 2006-01-17  Andy Wingo  <wingo@pobox.com>
12313
12314         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12315         registry while we remove plugins.
12316
12317         * tools/gst-inspect.c (print_element_info): Don't unref the
12318         factory arg, that should be the responsibility of whatever code
12319         received the ref. Fixes a double-free when called from
12320         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12321         (main): Unref the factory if we have one.
12322         (print_element_list): No change -- relies on the
12323         plugin_feature_list_free to free the list of features.
12324
12325 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
12326
12327         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12328         (gst_buffer_make_metadata_writable):
12329         * gst/gstbuffer.h:
12330         * libs/gst/base/gstbasetransform.c:
12331         (gst_base_transform_prepare_output_buf):
12332         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12333         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12334           Replace gst_buffer_(make|is)_metadata_writable patch now
12335           that the release is out.
12336
12337 2006-01-17  Andy Wingo  <wingo@pobox.com>
12338
12339         * gst/gstregistry.c: Reflow design comment. Update so as to speak
12340         in the present tense without reference to versions.
12341
12342         * gst/gstregistry.c (gst_registry_add_plugin)
12343         (gst_registry_remove_plugin, gst_registry_remove_feature)
12344         (gst_registry_find_feature, gst_registry_get_feature_list)
12345         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12346         (gst_registry_lookup, gst_registry_scan_path)
12347         (_gst_registry_remove_cache_plugins)
12348         (gst_registry_get_feature_list_by_plugin): Add argument
12349         validation.
12350
12351 === release 0.10.2 ===
12352
12353 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
12354
12355         * configure.ac:
12356           releasing 0.10.2, "If man is five"
12357
12358 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12359
12360         * gst/gstbuffer.c:
12361         * gst/gstbuffer.h:
12362         * libs/gst/base/gstbasetransform.c:
12363         (gst_base_transform_prepare_output_buf):
12364         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12365         * tests/check/gst/gstbuffer.c: (gst_test_suite):
12366           Back out patch until after the release.
12367
12368 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12369
12370         * gst/gstminiobject.c:
12371           Spelling fix in docs.
12372         * ChangeLog - remove conflict indicator
12373
12374 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12375
12376         Reviewed By: Andy Wingo
12377
12378         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12379         (gst_buffer_make_metadata_writable):
12380         * gst/gstbuffer.h:
12381           Add gst_buffer_(is|make)_metadata_writable as analogues of
12382           gst_buffer_(is|make)_writable.
12383
12384         * libs/gst/base/gstbasetransform.c:
12385         (gst_base_transform_prepare_output_buf):
12386         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12387           Use name gst_buffer_(is|make)_metadata_writable functions.
12388
12389         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12390           Test gst_buffer_(is|make)_metadata_writable
12391         
12392           (Closes: #324162)
12393
12394 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12395
12396         * docs/manual/Makefile.am:
12397           don't do parallel make
12398         * configure.ac:
12399           AC_SUBST HOST_CPU
12400         * win32/common/config.h.in:
12401           add generations for HOST_CPU and GST_MAJORMINOR
12402         * win32/common/config.h:
12403           commit generated result
12404
12405 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
12406
12407         * docs/manual/appendix-integration.xml:
12408           Update GNOME integration section to use gst_init_get_option_group()
12409           instead of the old popt stuff (#322911). Also, GNOME applications
12410           should  now use gconf*sink and gconf*src instead of the old gconf
12411           helper lib we had.
12412
12413 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
12414
12415
12416         * docs/gst/gstreamer-docs.sgml:
12417         * docs/gst/gstreamer-sections.txt:
12418         * docs/libs/gstreamer-libs-sections.txt:
12419           add new API entries to the docs
12420         * libs/gst/controller/Makefile.am:
12421         * libs/gst/controller/gstcontroller.c:
12422         * libs/gst/controller/gstcontroller.h:
12423         * libs/gst/controller/gstcontrollerprivate.h:
12424         * libs/gst/controller/gsthelper.c:
12425         * libs/gst/controller/gstinterpolation.c:
12426           move private structs to private header
12427         * po/README:
12428           gstreamer-0.7 -> gstreamer-0.10
12429         * tests/check/libs/struct_i386.h:
12430           remove private structs
12431
12432 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12433
12434         * plugins/indexers/Makefile.am:
12435           Fixes as part of #317048
12436
12437 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12438
12439         * plugins/indexers/Makefile.am:
12440           fix #316086 - compilation when mmap is missing
12441
12442 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
12443
12444         * libs/gst/base/gstbasesink.c:
12445           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
12446           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12447         * win32/common/config.h:
12448           added some defines GST_MAJORMINOR and HOST_CPU
12449         * win32/common/libgstbase.def:
12450         * win32/common/libgstreamer.def:
12451           added some exported functions.
12452
12453 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12454
12455         * libs/gst/controller/gstcontroller.c:
12456         (gst_controlled_property_set_interpolation_mode),
12457         (gst_controlled_property_new):
12458         * libs/gst/controller/gstcontroller.h:
12459         * libs/gst/controller/gstinterpolation.c:
12460         (interpolate_none_get_string_value_array):
12461           make G_TYPE_STRING controlable
12462
12463 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12464
12465         * tools/README:
12466         * tools/gst-feedback.1.in:
12467         * tools/gst-inspect.1.in:
12468         * tools/gst-launch.1.in:
12469         * tools/gst-md5sum.1.in:
12470         * tools/gst-typefind.1.in:
12471         * tools/gst-xmlinspect.1.in:
12472         * tools/gst-xmllaunch.1.in:
12473           cleanup man-pages, remove reference to gst-register, document env-vars
12474
12475 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
12476
12477         * gst/gstbuffer.c: (gst_buffer_span):
12478           gst_buffer_span should copy the timestamp of the first buffer
12479           if they were both originally overlapping subbuffers of the 
12480           same parent, using the same logic as the 'slow copy' case.
12481
12482 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
12483
12484         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12485           Need to awaken ALL the pads when we pop a buffer, otherwise
12486           collectpads only works when there is 2 input streams.
12487
12488 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
12489
12490         * docs/random/ensonic/media-device-daemon.txt:
12491           more ideas (dbus)
12492         * gst/gstbuffer.c:
12493           fix doc example, add clarification
12494         * tools/gst-launch.1.in:
12495           add initial info about GST_PLUGIN_PATH, needs more work
12496
12497 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
12498
12499         * docs/manual/basics-bins.xml:
12500         * docs/manual/basics-elements.xml:
12501         * docs/manual/intro-basics.xml:
12502           Some more minor docs additions and updates.
12503
12504 2006-01-11  Wim Taymans  <wim@fluendo.com>
12505
12506         * docs/manual/basics-bins.xml:
12507         * docs/manual/basics-elements.xml:
12508         Some small fixes as pointed out by Ser-ver on IRC.
12509
12510 2006-01-10  Edward Hervey  <edward@fluendo.com>
12511
12512         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12513         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12514         the single-segment mode.
12515
12516 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
12517
12518         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12519
12520         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12521         (gst_base_src_perform_seek), (gst_base_src_send_event),
12522         (gst_base_src_set_property), (gst_base_src_get_property),
12523         (gst_base_src_loop), (gst_base_src_start),
12524         (gst_base_src_activate_push):
12525         * libs/gst/base/gstbasesrc.h:
12526           Name (private) union; makes Sun's Forte compiler happy (#324900).
12527
12528 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
12529
12530         * README:
12531           gst-register is gone.
12532
12533 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12534
12535         * gst/gstvalue.c: (_gst_value_initialize):
12536           make the G_TYPE_DATE instantiation work if debug is disabled
12537
12538 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
12539
12540         * gst/gstmessage.c: (gst_message_parse_tag),
12541         (gst_message_parse_error), (gst_message_parse_warning):
12542           Don't crash when return location for error/warning debug
12543           string is NULL; add fact that return locations can be
12544           NULL to docs where appropriate.
12545
12546 2006-01-05  Wim Taymans  <wim@fluendo.com>
12547
12548         * gst/gstplugin.c: (gst_plugin_load_file):
12549         Replace strdup by g_strdup.
12550
12551 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12552
12553         * docs/pwg/advanced-types.xml:
12554           fix doc borkage
12555
12556 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12557
12558         submitted by: Abel Cheung
12559
12560         * po/LINGUAS:
12561         * po/zh_TW.po:
12562           Added Chinese (traditional) translation
12563
12564 2006-01-04  Wim Taymans  <wim@fluendo.com>
12565
12566         * docs/manual/basics-pads.xml:
12567         * docs/plugins/Makefile.am:
12568         * docs/plugins/gstreamer-plugins-docs.sgml:
12569         * docs/plugins/gstreamer-plugins-sections.txt:
12570         * docs/pwg/advanced-clock.xml:
12571         * docs/pwg/advanced-scheduling.xml:
12572         * docs/pwg/advanced-types.xml:
12573         * plugins/elements/gstfdsink.c:
12574         * plugins/elements/gstfdsrc.c:
12575         * plugins/elements/gstfdsrc.h:
12576         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12577         * plugins/elements/gstidentity.h:
12578         * plugins/elements/gstqueue.h:
12579         * plugins/elements/gsttee.c:
12580         * plugins/elements/gsttee.h:
12581         * plugins/elements/gsttypefindelement.c:
12582         (gst_type_find_element_class_init):
12583         * plugins/elements/gsttypefindelement.h:
12584         Small updates to various docs.
12585         Added core plugins to docs.
12586
12587 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12588
12589         * common/gst.supp:
12590           add a suppression for liboil's uninitialized variable
12591
12592 2006-01-02  James Livingston  <jrl at ids dot org dot au>
12593
12594         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12595
12596         * gst/gstutils.h:
12597           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12598           macro, so that gcc doesn't complain if the -Wmissing-prototypes
12599           compiler switch is being used (#325429).
12600
12601 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
12602
12603         * gst/gstbin.c: (gst_bin_query):
12604           Disable duration query caching in bins until it gets
12605           fixed (see #324807).
12606
12607 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12608
12609         * tools/gst-inspect.c: (print_element_properties_info):
12610           Handle properties of POINTER and BOXED type.
12611
12612 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12613
12614         * gst/gst.c: (init_post):
12615           Init tags stuff and some other things before loading
12616           any static plugins (there may be other static plugins
12617           than just the GStreamer ones, and they may want to
12618           register their own tags or formats or whatever, and
12619           preferably without segfaulting).
12620
12621         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12622           Print at least a warning in the debug logs if we drop a
12623           query just because we don't know how to adjust the value
12624           in the particular format.
12625
12626 2005-12-24  David Schleef  <ds@schleef.org>
12627
12628         * tools/gstreamer-completion:
12629           Replacement for gst-complete written in sh and sed.  Only
12630           completes names of features, but that's 90% of what I want
12631           it for.  Properties are not available in registry.xml.  (Maybe
12632           they should be...)
12633
12634 === release 0.10.1 ===
12635
12636 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
12637
12638         * configure.ac:
12639           releasing 0.10.1, "Nollaig chridheil"
12640
12641 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
12642
12643         * docs/faq/cvs.xml:
12644           Add missing quote, should be make ERROR_CFLAGS="".
12645
12646 2005-12-20  Wim Taymans  <wim@fluendo.com>
12647
12648         * docs/design/part-trickmodes.txt:
12649         More documentation on trickmodes.
12650
12651 2005-12-20  Edward Hervey  <edward@fluendo.com>
12652
12653         * gst/gstcaps.c: (gst_static_caps_get_type):
12654         * gst/gstcaps.h:
12655           API addition: GST_TYPE_STATIC_CAPS
12656         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12657         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12658         * gst/gstpadtemplate.h:
12659           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12660         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12661         bindings.
12662
12663 2005-12-18  Wim Taymans  <wim@fluendo.com>
12664
12665         * libs/gst/base/gstadapter.c:
12666         * libs/gst/base/gstadapter.h:
12667         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12668         (gst_base_sink_get_position):
12669         * libs/gst/base/gstbasesink.h:
12670         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12671         (gst_base_src_default_query), (gst_base_src_default_do_seek),
12672         (gst_base_src_do_seek), (gst_base_src_perform_seek),
12673         (gst_base_src_send_event), (gst_base_src_update_length),
12674         (gst_base_src_get_range), (gst_base_src_loop),
12675         (gst_base_src_start):
12676         * libs/gst/base/gstbasesrc.h:
12677         * libs/gst/base/gstbasetransform.h:
12678         * libs/gst/base/gstcollectpads.h:
12679         * libs/gst/base/gstpushsrc.c:
12680         * libs/gst/base/gstpushsrc.h:
12681         * libs/gst/dataprotocol/dataprotocol.c:
12682         * libs/gst/dataprotocol/dataprotocol.h:
12683         * libs/gst/net/gstnetclientclock.h:
12684         * libs/gst/net/gstnettimeprovider.h:
12685         Documentation updates.
12686
12687 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
12688
12689         * docs/manual/basics-helloworld.xml:
12690           Remove superfluous closing bracket in helloworld example.
12691
12692 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
12693
12694         * tools/gst-launch.1.in:
12695           Update gst-launch man page; add a section with useful
12696           environment variables. Fixes #323882.
12697
12698 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
12699
12700         * gst/gst.c:
12701         * gst/gst_private.h:
12702           change some char* into char[]
12703
12704 2005-12-16  Wim Taymans  <wim@fluendo.com>
12705
12706         * gst/gstregistryxml.c: (load_feature):
12707         Cleanups.
12708         Don't use g_object_unref on GstObjects so that we avoid
12709         leaks on unsafe glibs.
12710
12711 2005-12-16  Wim Taymans  <wim@fluendo.com>
12712
12713         * gst/gstbin.c: (gst_bin_recalc_state):
12714         Small doc updates.
12715
12716 2005-12-16  Wim Taymans  <wim@fluendo.com>
12717
12718         * common/check.mak:
12719         Added make forever target for check.
12720
12721 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12722
12723         * gst/gst.c: (init_post):
12724           make the registry cache file HOST_CPU-dependent
12725
12726 2005-12-16  Andy Wingo  <wingo@pobox.com>
12727
12728         * plugins/elements/gstbufferstore.c
12729         (gst_buffer_store_cleared_func): Pay attention to g_list_append
12730         return value.
12731
12732         * tests/check/gst/gstobject.c
12733         (test_fake_object_name_threaded_unique): Pay attention to
12734         g_list_sort return value.
12735
12736 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
12737
12738         * tools/gst-feedback-m.m:
12739           Update for 0.9/0.10 (fixes #323870).
12740
12741 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
12742
12743         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12744           Fix lcopy for mini objects, the mini object needs to be ref'ed.
12745           
12746         * tests/check/gst/gstminiobject.c: (my_foo_init),
12747         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12748         (test_value_collection), (gst_mini_object_suite):
12749           Add test to ensure refcounts end up as expected when passing
12750           GstMiniObjects through g_object_get() and g_object_set().
12751
12752 2005-12-14  Julien MOUTTE  <julien@moutte.net>
12753
12754         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12755         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12756         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12757         of collectpads. This version removes a lot of races without
12758         touching API/ABI. Yay !
12759
12760 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
12761
12762         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12763           Don't allow activation of a srcpad in pull_range if it has no
12764           getrange function.
12765           Change some debug statements to be a little clearer
12766
12767         * plugins/elements/gsttypefindelement.c:
12768         (gst_type_find_handle_src_query):
12769           Check that we have a peer before executing queries thereupon.
12770
12771         * tests/examples/metadata/read-metadata.c: (message_loop):
12772           Use gst_bus_pop instead of gst_bus_poll when we just want it to
12773           immediately return us any available message with 0 timeout.
12774
12775 2005-12-12  Michael Smith  <msmith@fluendo.com>
12776
12777         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12778           Don't unref factories after calling them.
12779         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12780         * plugins/elements/gsttypefindelement.c:
12781         (gst_type_find_element_chain):
12782           Free lists of factories after using them. Fixing typefinding memory
12783           leaks.
12784
12785 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12786
12787         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12788         (gst_plugin_feature_load):
12789           more meaningful debug output
12790         * configure.ac:
12791         * tests/Makefile.am:
12792         * tests/old/examples/Makefile.am:
12793           make make distcheck happy again
12794
12795 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12796
12797         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12798           Catch the special case where we are operating chain-based,
12799           but the downstream peer pad has no chain function. Emit a
12800           custom error message in this case instead of letting the
12801           core generate one implying that this is some sort of core
12802           bug. It's not, it just means that whatever got plugged
12803           into the pipeline downstream when we announced the type
12804           can only operate pull-based, while our source can only
12805           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12806           Error string has not been marked for translation yet, as
12807           it probably needs some more work first.
12808
12809         (gst_type_find_element_get_best_possibility):
12810           Add helper function to find the best of all available
12811           found possibilities that qualify given the min. threshold.
12812
12813         (gst_type_find_element_handle_event):
12814           Fix the case where we get an EOS while still in TYPEFIND
12815           mode (we want to chose the best of all possible types,
12816           not just the first type that happens to be in our unsorted
12817           list of possible types).
12818
12819         (gst_type_find_element_chain):
12820           Make sure we return GST_FLOW_ERROR when we errored out
12821           in stop_typefinding(); also, don't just find the best of
12822           all found type entries and then use the last examined
12823           type entry, but actually use the best entry.
12824
12825 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12826
12827         * tests/examples/typefind/typefind.c: (type_found):
12828         * tests/examples/xml/runxml.c: (xml_loaded):
12829           More gcc4 fixes and a mem leak fix.
12830
12831 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12832
12833         * tests/examples/xml/createxml.c: (object_saved):
12834           gcc 4 fixes
12835
12836 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12837
12838         * tests/Makefile.am:
12839           enable the examples even more
12840
12841 2005-12-12  Andy Wingo  <wingo@pobox.com>
12842
12843         * libs/gst/net/gstnettimeprovider.c
12844         (gst_net_time_provider_class_init, gst_net_time_provider_init)
12845         (gst_net_time_provider_set_property)
12846         (gst_net_time_provider_get_property):
12847         API addition: Export "active" as a GObject property.
12848         (gst_net_time_provider_thread): Only respond to time queries if
12849         the time provider is active.
12850
12851         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12852         NetTimeProvider, preserving binary compat.
12853
12854 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12855
12856         * tests/examples/controller/audio-example.c: (main):
12857         * tests/examples/launch/Makefile.am:
12858           convert comments again
12859
12860 2005-12-12  Wim Taymans  <wim@fluendo.com>
12861
12862         * libs/gst/base/gstpushsrc.c:
12863         Fix typo.
12864
12865 2005-12-12  Wim Taymans  <wim@fluendo.com>
12866
12867         * docs/libs/gstreamer-libs-sections.txt:
12868         Added new symbol to docs.
12869
12870         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12871         (gst_base_src_init), (gst_base_src_set_format),
12872         (gst_base_src_default_query), (gst_base_src_query),
12873         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12874         (gst_base_src_perform_seek), (gst_base_src_send_event),
12875         (gst_base_src_default_event), (gst_base_src_event_handler),
12876         (gst_base_src_set_property), (gst_base_src_get_property),
12877         (gst_base_src_wait), (gst_base_src_do_sync),
12878         (gst_base_src_update_length), (gst_base_src_get_range),
12879         (gst_base_src_check_get_range), (gst_base_src_loop),
12880         (gst_base_src_default_negotiate), (gst_base_src_start),
12881         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12882         (gst_base_src_change_state):
12883         * libs/gst/base/gstbasesrc.h:
12884         Implement seeking to other formats than _BYTES.
12885         Implement more seeking methods correctly.
12886         Doc updates.
12887         Added query vmethod.
12888         Added do_seek vmethod to make life easier for subclasses
12889         when seeking.
12890         API addition: gst_base_src_set_format()
12891
12892 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12893
12894         * tests/examples/Makefile.am:
12895           added that too
12896
12897 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12898
12899         * configure.ac:
12900         * docs/random/ensonic/media-device-daemon.txt:
12901         * tests/examples/controller/.cvsignore:
12902         * tests/examples/controller/Makefile.am:
12903         * tests/examples/controller/audio-example.c: (main):
12904         * tests/examples/helloworld/.cvsignore:
12905         * tests/examples/helloworld/Makefile.am:
12906         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12907         * tests/examples/launch/.cvsignore:
12908         * tests/examples/launch/Makefile.am:
12909         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12910         * tests/examples/metadata/.cvsignore:
12911         * tests/examples/metadata/Makefile.am:
12912         * tests/examples/metadata/read-metadata.c: (message_loop),
12913         (make_pipeline), (print_tag), (main):
12914         * tests/examples/queue/.cvsignore:
12915         * tests/examples/queue/Makefile.am:
12916         * tests/examples/queue/queue.c: (event_loop), (main):
12917         * tests/examples/typefind/.cvsignore:
12918         * tests/examples/typefind/Makefile.am:
12919         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12920         (main):
12921         * tests/examples/xml/.cvsignore:
12922         * tests/examples/xml/Makefile.am:
12923         * tests/examples/xml/createxml.c: (object_saved), (main):
12924         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12925         * tests/old/examples/Makefile.am:
12926         * tests/old/examples/TODO:
12927         * tests/old/examples/controller/.cvsignore:
12928         * tests/old/examples/controller/Makefile.am:
12929         * tests/old/examples/controller/audio-example.c:
12930         * tests/old/examples/helloworld/.cvsignore:
12931         * tests/old/examples/helloworld/Makefile.am:
12932         * tests/old/examples/helloworld/helloworld.c:
12933         * tests/old/examples/launch/.cvsignore:
12934         * tests/old/examples/launch/Makefile.am:
12935         * tests/old/examples/launch/mp3parselaunch.c:
12936         * tests/old/examples/launch/mp3play:
12937         * tests/old/examples/manual/Makefile.am:
12938         * tests/old/examples/metadata/Makefile.am:
12939         * tests/old/examples/metadata/read-metadata.c:
12940         * tests/old/examples/queue/.cvsignore:
12941         * tests/old/examples/queue/Makefile.am:
12942         * tests/old/examples/queue/queue.c:
12943         * tests/old/examples/typefind/.cvsignore:
12944         * tests/old/examples/typefind/Makefile.am:
12945         * tests/old/examples/typefind/typefind.c:
12946         * tests/old/examples/xml/.cvsignore:
12947         * tests/old/examples/xml/Makefile.am:
12948         * tests/old/examples/xml/createxml.c:
12949         * tests/old/examples/xml/runxml.c:
12950           applied some simple fixing to some examples
12951           re-enabled the working examples
12952
12953 2005-12-12  Wim Taymans  <wim@fluendo.com>
12954
12955         * gst/gstsegment.c: (gst_segment_init),
12956         (gst_segment_set_last_stop), (gst_segment_set_seek),
12957         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12958         (gst_segment_to_running_time):
12959         Added more documentation.
12960         Make sure the last_pos value is updated properly.
12961         Make sure to_stream_time and to_running_time don't
12962         operate on wrong values.
12963
12964         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12965         Update check.
12966
12967 2005-12-12  Michael Smith  <msmith@fluendo.com>
12968
12969         * plugins/elements/gsttypefindelement.c: (free_entry),
12970         (gst_type_find_element_chain):
12971           Now that we're not leaking factories, make sure we keep references
12972           to them while we need them.
12973
12974 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12975
12976         * tests/check/gst/struct_i386.h:
12977           ifdef out the XML structs
12978
12979 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12980
12981         * gst/gstvalue.c: (gst_value_transform_double_fraction):
12982           floor is not needed, F is always positive; this obviates the
12983           need for adding -lm when building without libxml
12984
12985 2005-12-12  Wim Taymans  <wim@fluendo.com>
12986
12987         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12988         Take current playback rate into account when reporting
12989         the position.
12990
12991 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12992
12993         * docs/manual/mime-world.fig:
12994           Let's try this again, this time with a file that is
12995           actually in XFig format.
12996
12997 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12998
12999         * docs/manual/mime-world.fig:
13000           Add audioconvert element to diagram so that it
13001           matches the text and the code (fixes #319526).
13002
13003 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13004
13005         * docs/pwg/building-chainfn.xml:
13006         * docs/pwg/building-pads.xml:
13007         * docs/pwg/building-state.xml:
13008         * docs/pwg/other-source.xml:
13009           Update state change stuff for 0.10 (fixes #322969).
13010
13011 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13012
13013         * docs/manual/advanced-dataaccess.xml:
13014         * docs/manual/appendix-checklist.xml:
13015         * docs/manual/appendix-programs.xml:
13016         * docs/manual/basics-pads.xml:
13017         * docs/manual/highlevel-components.xml:
13018         * docs/manual/manual.xml:
13019           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13020           add converters in front of pipelines; remove curly
13021           brackets for threads stuff, they no longer exist; use
13022           GST_TYPE_FRACTION for framerates; update some pieces of
13023           code to 0.10, but there's plenty more to do.
13024
13025         * docs/manual/appendix-porting.xml:
13026           Expand on asynchroneous state changes; s/0.9/0.10/;
13027           mention disappearance of gst_init_get_popt_table()
13028           (fixes #322916).
13029
13030 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13031
13032         * docs/faq/using.xml:
13033           Spider no longer exists, and neither does gst-launch-ext.
13034           Update examples to use decodebin and playbin and put
13035           converters in front of sinks (fixes #323726).
13036
13037 2005-12-09  Michael Smith  <msmith@fluendo.com>
13038
13039         * plugins/elements/gsttypefindelement.c: (find_peek),
13040         (gst_type_find_element_chain):
13041           Fix leaking element factories in typefinding.
13042           Fix problem where we forgot about a probable type on non-seekable
13043           files, and thus later mis-typefound it.
13044
13045 2005-12-09  Michael Smith  <msmith@fluendo.com>
13046
13047         * common/m4/gst-makecontext.m4:
13048         * common/m4/gst-mcsc.m4:
13049         * configure.ac:
13050         * win32/common/config.h:
13051         * win32/common/config.h.in:
13052           Remove makecontext stuff; not used in 0.10 and causes problems on
13053           HPUX according to bug #322441
13054
13055 2005-12-07  Wim Taymans  <wim@fluendo.com>
13056
13057         * tests/check/Makefile.am:
13058         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13059         (main):
13060         * tests/check/libs/struct_i386.h:
13061         Added ABI check for libs
13062
13063 2005-12-07  Wim Taymans  <wim@fluendo.com>
13064
13065         * tests/check/Makefile.am:
13066         And add the struct_i386.h to dist.
13067
13068 2005-12-07  Wim Taymans  <wim@fluendo.com>
13069
13070         * tests/check/Makefile.am:
13071         * tests/check/gst/.cvsignore:
13072         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13073         (main):
13074         * tests/check/gst/struct_i386.h:
13075         Added check for ABI compatibility.
13076
13077 2005-12-07  Wim Taymans  <wim@fluendo.com>
13078
13079         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13080         (gst_fake_src_get_times), (gst_fake_src_create):
13081         Fix broken sync option, fixes #323259
13082
13083 2005-12-07  Wim Taymans  <wim@fluendo.com>
13084
13085         * gst/gstbuffer.c:
13086         Small docs update.
13087
13088         * gst/gstcaps.c: (gst_caps_is_equal):
13089         Don't assert on NULL <--> X. Fixes #323260
13090
13091         * gst/gstminiobject.c: (gst_mini_object_replace):
13092         If we're doing atomic operations, we might just as well use
13093         the proper way to get an atomic pointer.
13094
13095         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13096         Clean up debugging.
13097
13098 2005-12-07  Michael Smith  <msmith@fluendo.com>
13099
13100         * gst/parse/grammar.y:
13101           Remove handling of { } for threads.
13102
13103 2005-12-06  David Schleef  <ds@schleef.org>
13104
13105         * libs/gst/base/gstbasetransform.c: speling fix.
13106
13107 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13108
13109         * docs/libs/tmpl/gstdataprotocol.sgml:
13110         * docs/random/omega/testing/gstobject.c:
13111         * gst/gst.c:
13112         * gst/gstclock.c:
13113         * gst/gstelement.c:
13114         * gst/gstelementfactory.c:
13115         * gst/gsterror.c:
13116         * gst/gstevent.c:
13117         * gst/gstghostpad.c:
13118         * gst/gstinfo.c:
13119         * gst/gstpadtemplate.c:
13120         * gst/gstregistryxml.c:
13121         * gst/gsttaglist.c:
13122         * gst/gsttagsetter.c:
13123         * gst/gsttypefind.c:
13124         * gst/gstvalue.c:
13125         * libs/gst/base/gstbasesrc.c:
13126         * libs/gst/net/gstnetclientclock.c:
13127         * libs/gst/net/gstnettimeprovider.c:
13128         * plugins/elements/gstfakesrc.c:
13129         * plugins/elements/gstfdsrc.c:
13130         * plugins/elements/gstfilesrc.c:
13131         * plugins/elements/gstidentity.c:
13132         * plugins/elements/gstqueue.c:
13133         * plugins/elements/gsttypefindelement.c:
13134         * plugins/indexers/gstfileindex.c:
13135         * plugins/indexers/gstmemindex.c:
13136         * tests/check/gst/gsttag.c:
13137         * tests/old/examples/cutter/cutter.c:
13138         * tests/old/examples/mixer/mixer.c:
13139         * tests/old/examples/xml/runxml.c: (main):
13140         * tests/old/testsuite/caps/normalisation.c:
13141         * tests/old/testsuite/debug/global.c:
13142         * tests/old/testsuite/parse/parse1.c:
13143         * tools/gst-xmlinspect.c:
13144         * win32/common/dirent.c:
13145           expand tabs
13146
13147 === release 0.10.0 ===
13148
13149 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13150
13151         * configure.ac:
13152           releasing 0.10.0, "Maroilles"
13153
13154 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13155
13156         submitted by: Funda Wang <fundawang@linux.net.cn>
13157
13158         * po/LINGUAS:
13159         * po/zh_CN.po:
13160           added Chinese (Traditional) translation
13161
13162 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13163
13164         * docs/gst/gstreamer-sections.txt:
13165         * docs/libs/tmpl/gstdataprotocol.sgml:
13166         * docs/random/thomasvs/TODO:
13167         * gst/gstutils.c:
13168         * gst/gstutils.h:
13169           fix docs
13170
13171 2005-12-05  Andy Wingo  <wingo@pobox.com>
13172
13173         patch by: Wim Taymans <wim@fluendo.com>
13174
13175         * libs/gst/base/gstbasetransform.c
13176         (gst_base_transform_prepare_output_buf)
13177         (gst_base_transform_buffer_alloc):
13178         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13179         alloc_buffer_and_set_caps.
13180
13181         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13182         set_caps on the source pad.
13183         (gst_pad_alloc_buffer_and_set_caps): New function, does what
13184         alloc_buffer used to do. Fixes #322874.
13185
13186         * docs/gst/gstreamer-sections.txt: 
13187         * docs/design/part-negotiation.txt: 
13188         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13189         changes.
13190
13191 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13192
13193         patch by: Sebastien Moutte
13194
13195         * win32/MANIFEST:
13196         * win32/common/config.h.in:
13197         * win32/vs6/libgstcontroller.dsp:
13198           win32 build fixes
13199
13200 2005-12-05  Wim Taymans  <wim@fluendo.com>
13201
13202         * gst/gstcaps.c: (gst_caps_is_equal):
13203         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13204         (gst_fake_src_create):
13205         Back out previous code changes, leave doc updates, file bugs 
13206         instead. 
13207
13208 2005-12-05  Wim Taymans  <wim@fluendo.com>
13209
13210         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13211         (gst_fake_src_get_times), (gst_fake_src_create):
13212         * plugins/elements/gstfakesrc.h:
13213         Fix broken sync code.
13214
13215 2005-12-05  Wim Taymans  <wim@fluendo.com>
13216
13217         * gst/gstcaps.c: (gst_caps_is_equal):
13218         Comparing NULL against !NULL yields different caps, not a
13219         failure.
13220
13221 2005-12-05  Wim Taymans  <wim@fluendo.com>
13222
13223         * gst/gstpipeline.c:
13224         Fix small typo in docs.
13225
13226 2005-12-05  Andy Wingo  <wingo@pobox.com>
13227
13228         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
13229
13230         * gst/gst.c (init_post): remove hard-coded 0.9 location for
13231         registries/plugins with a MAJORMINOR one.
13232         (plugin_desc): Rename library from gstcoreleements to
13233         staticelements. Fixes #323222.
13234
13235 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
13236
13237         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13238           Change debug category to 'collectpads' from 'collect_pads'
13239           (fixes #323250).
13240
13241 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13242
13243         patch by: Sebastien Moutte
13244
13245         * libs/gst/controller/gstinterpolation.c:
13246           use convert function for uint64/double
13247         * win32/vs6/libgstcontroller.dsp:
13248           link to GLib
13249
13250 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13251
13252         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13253         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13254         * gst/gstutils.h:
13255         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13256           add tests that seem to show that the guint64/gdouble conversions
13257           are correct.
13258
13259 2005-12-02  Wim Taymans  <wim@fluendo.com>
13260
13261         * gst/gstregistry.c: (gst_registry_add_path):
13262         * gst/gstregistry.h:
13263         * gst/gstregistryxml.c:
13264         Fix docs again.
13265
13266 2005-12-02  Wim Taymans  <wim@fluendo.com>
13267
13268         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13269         (gst_util_uint64_scale_int):
13270         Small cleanup.
13271
13272         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13273         Add debug log line.
13274
13275         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13276         Add FIXME.
13277
13278 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13279
13280         * win32/MANIFEST:
13281         * win32/common/config.h:
13282         * win32/vs6/gstreamer.dsw:
13283         * win32/vs6/libgstcoreelements.dsp:
13284         * win32/vs6/libgstelements.dsp:
13285           renamed core elements plugin
13286
13287 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13288
13289         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13290         (get_candidates):
13291           do piece-wise major/minor comparison so 0.9 < 0.10
13292           also allow .exe extensions for tools
13293
13294 2005-12-02  Michael Smith  <msmith@fluendo.com>
13295
13296         * gst/gst.c:
13297           Escape a % to make gtkdoc happier; bug 322958.
13298
13299 === release 0.9.7 ===
13300
13301 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13302
13303         * configure.ac:
13304           releasing 0.9.7, "My Dog Has No Nose"
13305
13306 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13307
13308         * common/gst-xmlinspect.py:
13309         * configure.ac:
13310         * docs/libs/tmpl/gstdataprotocol.sgml:
13311         * docs/random/release:
13312         * po/af.po:
13313         * po/az.po:
13314         * po/bg.po:
13315         * po/ca.po:
13316         * po/cs.po:
13317         * po/de.po:
13318         * po/en_GB.po:
13319         * po/fr.po:
13320         * po/it.po:
13321         * po/nb.po:
13322         * po/nl.po:
13323         * po/ru.po:
13324         * po/sq.po:
13325         * po/sr.po:
13326         * po/sv.po:
13327         * po/tr.po:
13328         * po/uk.po:
13329         * po/vi.po:
13330         * win32/common/config.h:
13331         * win32/common/config.h.in:
13332         * win32/vs6/gst_inspect.dsp:
13333         * win32/vs6/gst_launch.dsp:
13334         * win32/vs6/libgstbase.dsp:
13335         * win32/vs6/libgstelements.dsp:
13336         * win32/vs6/libgstreamer.dsp:
13337         * win32/vs7/GStreamer.vcproj:
13338         * win32/vs7/gst-inspect.vcproj:
13339         * win32/vs7/gst-launch.vcproj:
13340         * win32/vs7/libgstbase.vcproj:
13341           bump GST_MAJORMINOR to 0.10
13342           reset libtool version
13343
13344 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13345
13346         * po/LINGUAS:
13347         * po/bg.po:
13348           Added Bulgarian translation by (Alexander Shopov)
13349
13350 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13351
13352         * tests/check/gst/gstplugin.c:
13353           fix test
13354
13355 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13356
13357         * common/gst-xmlinspect.py:
13358         * common/gtk-doc-plugins.mak:
13359         * configure.ac:
13360         * docs/Makefile.am:
13361         * docs/gst/Makefile.am:
13362         * docs/gst/gstreamer-docs.sgml:
13363         * docs/gst/gstreamer-sections.txt:
13364         * docs/gst/gstreamer.types:
13365         * docs/gst/gstreamer.types.in:
13366         * docs/plugins/Makefile.am:
13367         * docs/plugins/gstreamer-plugins-docs.sgml:
13368         * docs/plugins/gstreamer-plugins-sections.txt:
13369         * docs/plugins/gstreamer-plugins.types:
13370         * docs/plugins/inspect.stamp:
13371         * docs/plugins/inspect/plugin-coreelements.xml:
13372         * docs/plugins/inspect/plugin-coreindexers.xml:
13373         * docs/plugins/scanobj-build.stamp:
13374         * gstreamer.spec.in:
13375         * plugins/elements/Makefile.am:
13376         * plugins/elements/gstelements.c:
13377         * plugins/elements/gstfakesink.c:
13378         * plugins/elements/gstfakesrc.c:
13379         * plugins/elements/gstfilesink.c:
13380         * plugins/elements/gstfilesrc.c:
13381         * plugins/elements/gstqueue.c:
13382         * plugins/indexers/Makefile.am:
13383         * plugins/indexers/gstindexers.c:
13384           document core plugins in a separate document just like all the
13385           others
13386           rename these plugins to something starting with core
13387
13388 2005-12-01  Andy Wingo  <wingo@pobox.com>
13389
13390         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13391         padding here before, but it missed the commit.
13392
13393 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13394
13395         * libs/gst/controller/gstinterpolation.c:
13396           whitespace prices have crashed, we should feel free to use some now
13397           use gst_guint64_to_gdouble
13398
13399 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13400
13401         * libs/gst/controller/gstcontroller.c:
13402         * libs/gst/controller/gsthelper.c:
13403         * libs/gst/controller/gstinterpolation.c:
13404         * libs/gst/controller/lib.c:
13405           wrap config.h include
13406
13407 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13408
13409         * docs/gst/gstreamer-sections.txt:
13410           update docs
13411
13412 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13413
13414         * plugins/elements/gstelements.c:
13415         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13416         (gst_fd_sink__class_init), (gst_fd_sink__init),
13417         (gst_fd_sink__chain), (gst_fd_sink__set_property),
13418         (gst_fd_sink__get_property):
13419         * plugins/elements/gstfdsink.h:
13420         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13421         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13422         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13423         (gst_fd_src_unlock), (gst_fd_src_set_property),
13424         (gst_fd_src_get_property), (gst_fd_src_create),
13425         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13426         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13427         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13428         (gst_fd_src_uri_handler_init):
13429         * plugins/elements/gstfdsrc.h:
13430         * plugins/elements/gstqueue.c: (gst_queue_get_type):
13431           more anal cleanup
13432
13433 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13434
13435         * docs/gst/Makefile.am:
13436         * docs/gst/gstreamer.types.in:
13437         * gst/Makefile.am:
13438           fix the docs build
13439
13440 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13441
13442         * configure.ac:
13443         * gst/Makefile.am:
13444         * gst/gst.c:
13445         * gst/gstplugin.h:
13446         * gst/gstregistry.h:
13447         * tests/benchmarks/complexity.c:
13448         * tests/benchmarks/mass-elements.c:
13449         * tests/check/Makefile.am:
13450         * tools/Makefile.am:
13451         * tools/gst-inspect.c:
13452         * tools/gst-xmlinspect.c:
13453           various fixes to make
13454           --disable-nls --disable-registry --disable-loadsave
13455           --disable-parse --disable-gst-debug
13456           work and get the core .so down to 360444 bytes after stripping
13457
13458 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13459
13460         * Makefile.am:
13461         * configure.ac:
13462           descend into tests
13463         * docs/random/thomasvs/TODO:
13464         * tests/Makefile.am:
13465         * tests/README:
13466           add a README
13467
13468 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13469
13470         * win32/GStreamer.vcproj:
13471         * win32/MANIFEST:
13472         * win32/Makefile:
13473         * win32/Makefile.inspect:
13474         * win32/Makefile.launch:
13475         * win32/Makefile.register:
13476         * win32/README.txt:
13477         * win32/gst-inspect.vcproj:
13478         * win32/gst-launch.vcproj:
13479         * win32/gst-register.vcproj:
13480         * win32/gstelements.vcproj:
13481         * win32/gstgetbits.def:
13482         * win32/gstgetbits.vcproj:
13483         * win32/gstreamer-dbg.def:
13484         * win32/gstreamer.def:
13485         * win32/libgstbase.def:
13486         * win32/libgstbase.vcproj:
13487         * win32/link_oldruntime.c:
13488         * win32/mman.c:
13489         * win32/mman.h:
13490         * win32/mman.inl:
13491         * win32/msvc71.sln:
13492           move even more stuff, win32/ is nice and clean now
13493
13494 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13495
13496         * libs/gst/control/.cvsignore:
13497         * win32/MANIFEST:
13498         * win32/config.h:
13499         * win32/dirent.c:
13500         * win32/dirent.h:
13501         * win32/gstbytestream.def:
13502         * win32/gstbytestream.vcproj:
13503         * win32/gstconfig.h:
13504         * win32/gstenumtypes.c:
13505         * win32/gstenumtypes.h:
13506         * win32/gstoptimalscheduler.vcproj:
13507         * win32/gstversion.h:
13508         * win32/gtchar.h:
13509         * win32/testsuite/bins.vcproj:
13510         * win32/testsuite/bytestream.vcproj:
13511         * win32/testsuite/caps.vcproj:
13512         * win32/testsuite/cleanup.vcproj:
13513         * win32/testsuite/clock.vcproj:
13514         * win32/testsuite/debug.vcproj:
13515         * win32/testsuite/dlopen.vcproj:
13516         * win32/testsuite/dynparams.vcproj:
13517         * win32/testsuite/elements.vcproj:
13518         * win32/testsuite/ghostpads.vcproj:
13519         * win32/testsuite/indexers.vcproj:
13520         * win32/testsuite/negotiation.vcproj:
13521         * win32/testsuite/parse.vcproj:
13522         * win32/testsuite/plugin.vcproj:
13523         * win32/testsuite/refcounting.vcproj:
13524         * win32/testsuite/schedulers.vcproj:
13525         * win32/testsuite/states.vcproj:
13526         * win32/testsuite/tags.vcproj:
13527         * win32/testsuite/threads.vcproj:
13528           remove old win32 stuff that isn't maintained and should be
13529           reorganized
13530
13531 2005-11-30  Andy Wingo  <wingo@pobox.com>
13532
13533         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13534         loading the gst.interfaces python module bork.
13535
13536         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13537         available since GLib 2.2. Fixes #318031.
13538
13539 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13540
13541         * Makefile.am:
13542         * check/.cvsignore:
13543         * check/Makefile.am:
13544         * check/elements/.cvsignore:
13545         * check/elements/fakesrc.c:
13546         * check/elements/fdsrc.c:
13547         * check/elements/identity.c:
13548         * check/generic/.cvsignore:
13549         * check/generic/states.c:
13550         * check/gst-libs/.cvsignore:
13551         * check/gst-libs/controller.c:
13552         * check/gst-libs/gdp.c:
13553         * check/gst/.cvsignore:
13554         * check/gst/capslist.h:
13555         * check/gst/gst.c:
13556         * check/gst/gstbin.c:
13557         * check/gst/gstbuffer.c:
13558         * check/gst/gstbus.c:
13559         * check/gst/gstcaps.c:
13560         * check/gst/gstelement.c:
13561         * check/gst/gstevent.c:
13562         * check/gst/gstghostpad.c:
13563         * check/gst/gstiterator.c:
13564         * check/gst/gstmessage.c:
13565         * check/gst/gstminiobject.c:
13566         * check/gst/gstobject.c:
13567         * check/gst/gstpad.c:
13568         * check/gst/gstpipeline.c:
13569         * check/gst/gstplugin.c:
13570         * check/gst/gstsegment.c:
13571         * check/gst/gststructure.c:
13572         * check/gst/gstsystemclock.c:
13573         * check/gst/gsttag.c:
13574         * check/gst/gstutils.c:
13575         * check/gst/gstvalue.c:
13576         * check/net/.cvsignore:
13577         * check/net/gstnetclientclock.c:
13578         * check/net/gstnettimeprovider.c:
13579         * check/pipelines/.cvsignore:
13580         * check/pipelines/cleanup.c:
13581         * check/pipelines/simple_launch_lines.c:
13582         * check/pipelines/stress.c:
13583         * check/states/.cvsignore:
13584         * check/states/sinks.c:
13585         * configure.ac:
13586         * examples/Makefile.am:
13587         * examples/appreader/.cvsignore:
13588         * examples/appreader/Makefile.am:
13589         * examples/appreader/appreader.c:
13590         * examples/controller/.cvsignore:
13591         * examples/controller/Makefile.am:
13592         * examples/controller/audio-example.c:
13593         * examples/cutter/.cvsignore:
13594         * examples/cutter/Makefile.am:
13595         * examples/cutter/cutter.c:
13596         * examples/cutter/cutter.h:
13597         * examples/events/Makefile.am:
13598         * examples/events/seek.c:
13599         * examples/helloworld/.cvsignore:
13600         * examples/helloworld/Makefile.am:
13601         * examples/helloworld/helloworld.c:
13602         * examples/helloworld2/.cvsignore:
13603         * examples/helloworld2/Makefile.am:
13604         * examples/helloworld2/helloworld2.c:
13605         * examples/launch/.cvsignore:
13606         * examples/launch/Makefile.am:
13607         * examples/launch/mp3parselaunch.c:
13608         * examples/launch/mp3play:
13609         * examples/manual/.cvsignore:
13610         * examples/manual/Makefile.am:
13611         * examples/manual/extract.pl:
13612         * examples/metadata/Makefile.am:
13613         * examples/metadata/read-metadata.c:
13614         * examples/mixer/.cvsignore:
13615         * examples/mixer/Makefile.am:
13616         * examples/mixer/mixer.c:
13617         * examples/mixer/mixer.h:
13618         * examples/pingpong/.cvsignore:
13619         * examples/pingpong/Makefile.am:
13620         * examples/pingpong/pingpong.c:
13621         * examples/plugins/.cvsignore:
13622         * examples/plugins/Makefile.am:
13623         * examples/plugins/example.c:
13624         * examples/plugins/example.h:
13625         * examples/pwg/.cvsignore:
13626         * examples/pwg/Makefile.am:
13627         * examples/pwg/extract.pl:
13628         * examples/queue/.cvsignore:
13629         * examples/queue/Makefile.am:
13630         * examples/queue/queue.c:
13631         * examples/queue2/.cvsignore:
13632         * examples/queue2/Makefile.am:
13633         * examples/queue2/queue2.c:
13634         * examples/queue3/.cvsignore:
13635         * examples/queue3/Makefile.am:
13636         * examples/queue3/queue3.c:
13637         * examples/queue4/.cvsignore:
13638         * examples/queue4/Makefile.am:
13639         * examples/queue4/queue4.c:
13640         * examples/retag/.cvsignore:
13641         * examples/retag/Makefile.am:
13642         * examples/retag/retag.c:
13643         * examples/retag/transcode.c:
13644         * examples/thread/.cvsignore:
13645         * examples/thread/Makefile.am:
13646         * examples/thread/thread.c:
13647         * examples/typefind/.cvsignore:
13648         * examples/typefind/Makefile.am:
13649         * examples/typefind/typefind.c:
13650         * examples/xml/.cvsignore:
13651         * examples/xml/Makefile.am:
13652         * examples/xml/createxml.c:
13653         * examples/xml/runxml.c:
13654         * tests/Makefile.am:
13655         * tests/check/Makefile.am:
13656         * testsuite/.cvsignore:
13657         * testsuite/Makefile.am:
13658         * testsuite/Rules:
13659         * testsuite/caps/.cvsignore:
13660         * testsuite/caps/Makefile.am:
13661         * testsuite/caps/app_fixate.c:
13662         * testsuite/caps/audioscale.c:
13663         * testsuite/caps/caps.c:
13664         * testsuite/caps/caps.h:
13665         * testsuite/caps/caps_strings:
13666         * testsuite/caps/compatibility.c:
13667         * testsuite/caps/deserialize.c:
13668         * testsuite/caps/enumcaps.c:
13669         * testsuite/caps/eratosthenes.c:
13670         * testsuite/caps/filtercaps.c:
13671         * testsuite/caps/fixed.c:
13672         * testsuite/caps/fraction-convert.c:
13673         * testsuite/caps/fraction-multiply-and-zero.c:
13674         * testsuite/caps/intersect2.c:
13675         * testsuite/caps/intersection.c:
13676         * testsuite/caps/normalisation.c:
13677         * testsuite/caps/random.c:
13678         * testsuite/caps/renegotiate.c:
13679         * testsuite/caps/sets.c:
13680         * testsuite/caps/simplify.c:
13681         * testsuite/caps/string-conversions.c:
13682         * testsuite/caps/structure.c:
13683         * testsuite/caps/subtract.c:
13684         * testsuite/caps/union.c:
13685         * testsuite/debug/.cvsignore:
13686         * testsuite/debug/Makefile.am:
13687         * testsuite/debug/category.c:
13688         * testsuite/debug/commandline.c:
13689         * testsuite/debug/global.c:
13690         * testsuite/debug/output.c:
13691         * testsuite/debug/printf_extension.c:
13692         * testsuite/dlopen/.cvsignore:
13693         * testsuite/dlopen/Makefile.am:
13694         * testsuite/dlopen/dlopen_gst.c:
13695         * testsuite/dlopen/loadgst.c:
13696         * testsuite/elements/.cvsignore:
13697         * testsuite/elements/Makefile.am:
13698         * testsuite/elements/gst-inspect-check.in:
13699         * testsuite/elements/struct_i386.h:
13700         * testsuite/elements/struct_size.c:
13701         * testsuite/indexers/.cvsignore:
13702         * testsuite/indexers/Makefile.am:
13703         * testsuite/indexers/cache1.c:
13704         * testsuite/indexers/indexdump.c:
13705         * testsuite/parse/.cvsignore:
13706         * testsuite/parse/Makefile.am:
13707         * testsuite/parse/parse1.c:
13708         * testsuite/parse/parse2.c:
13709         * testsuite/plugin/.cvsignore:
13710         * testsuite/plugin/Makefile.am:
13711         * testsuite/plugin/README:
13712         * testsuite/plugin/dynamic.c:
13713         * testsuite/plugin/linked.c:
13714         * testsuite/plugin/loading.c:
13715         * testsuite/plugin/registry.c:
13716         * testsuite/plugin/static.c:
13717         * testsuite/plugin/static2.c:
13718         * testsuite/plugin/testplugin.c:
13719         * testsuite/plugin/testplugin2.c:
13720         * testsuite/plugin/testplugin2_s.c:
13721         * testsuite/plugin/testplugin_s.c:
13722         * testsuite/refcounting/.cvsignore:
13723         * testsuite/refcounting/Makefile.am:
13724         * testsuite/refcounting/bin.c:
13725         * testsuite/refcounting/element.c:
13726         * testsuite/refcounting/element_pad.c:
13727         * testsuite/refcounting/mainloop.c:
13728         * testsuite/refcounting/mem.c:
13729         * testsuite/refcounting/mem.h:
13730         * testsuite/refcounting/object.c:
13731         * testsuite/refcounting/pad.c:
13732         * testsuite/refcounting/sched.c:
13733         * testsuite/refcounting/thread.c:
13734         * testsuite/states/.cvsignore:
13735         * testsuite/states/Makefile.am:
13736         * testsuite/states/bin.c:
13737         * testsuite/states/locked.c:
13738         * testsuite/states/parent.c:
13739         * testsuite/threads/.cvsignore:
13740         * testsuite/threads/159566.c:
13741         * testsuite/threads/159852.c:
13742         * testsuite/threads/Makefile.am:
13743         * testsuite/threads/queue.c:
13744         * testsuite/threads/signals.c:
13745         * testsuite/threads/staticrec.c:
13746         * testsuite/threads/thread.c:
13747         * testsuite/threads/threadb.c:
13748         * testsuite/threads/threadc.c:
13749         * testsuite/threads/threadd.c:
13750         * testsuite/threads/threade.c:
13751         * testsuite/threads/threadf.c:
13752         * testsuite/threads/threadg.c:
13753         * testsuite/threads/threadh.c:
13754         * testsuite/threads/threadi.c:
13755           move all of these under tests
13756
13757 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13758
13759         * configure.ac:
13760         * tests/Makefile.am:
13761           fix distcheck
13762
13763 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13764
13765         * docs/gst/gstreamer-sections.txt:
13766         * tests/sched/.cvsignore:
13767         * tests/sched/Makefile.am:
13768         * tests/sched/cases/(fs-fs).xml:
13769         * tests/sched/cases/(fs-i-fs).xml:
13770         * tests/sched/cases/(fs-i-i-fs).xml:
13771         * tests/sched/cases/(fs-i-q[i-fs]).xml:
13772         * tests/sched/dynamic-pipeline.c:
13773         * tests/sched/interrupt1.c:
13774         * tests/sched/interrupt2.c:
13775         * tests/sched/interrupt3.c:
13776         * tests/sched/runtestcases:
13777         * tests/sched/runxml.c:
13778         * tests/sched/sched-stress.c:
13779         * tests/sched/sort.c:
13780         * tests/sched/testcases:
13781         * tests/sched/testcases1.tc:
13782         * tests/seeking/.cvsignore:
13783         * tests/seeking/Makefile.am:
13784         * tests/seeking/seeking1.c:
13785         * tests/threadstate/.cvsignore:
13786         * tests/threadstate/Makefile.am:
13787         * tests/threadstate/test1.c:
13788         * tests/threadstate/test2.c:
13789         * tests/threadstate/threadstate1.c:
13790         * tests/threadstate/threadstate2.c:
13791         * tests/threadstate/threadstate3.c:
13792         * tests/threadstate/threadstate4.c:
13793         * tests/threadstate/threadstate5.c:
13794           remove obsolete tests
13795         * configure.ac:
13796         * tests/bench-complexity.scm:
13797         * tests/bench-mass_elements.scm:
13798         * tests/complexity.c:
13799         * tests/complexity.gnuplot:
13800         * tests/instantiate/.cvsignore:
13801         * tests/instantiate/Makefile.am:
13802         * tests/instantiate/caps.c:
13803         * tests/mass_elements.c:
13804         * tests/network-clock-utils.scm:
13805         * tests/network-clock.scm:
13806         * tests/plot-data:
13807         First pass at cleaning up tests/ dir before moving the rest
13808         Combined with CVS surgery
13809
13810 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13811
13812         * po/POTFILES.in:
13813           queue has moved, update
13814
13815 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13816
13817         * docs/gst/gstreamer-sections.txt:
13818           remove double entries from the docs
13819         * gst/gst_private.h:
13820         * gst/gstinfo.c: (_gst_debug_init):
13821           remove the THREAD debug category
13822         * gst/Makefile.am:
13823         * gst/gstqueue.c:
13824         * gst/gstqueue.h:
13825         * docs/gst/gstreamer.types:
13826         * plugins/elements/gstqueue.c: (gst_queue_get_type),
13827         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13828           completely move queue and fix up debugging categories
13829
13830 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13831
13832         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13833           make initialization portable, using LL is not
13834
13835 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13836
13837         * win32/common/gstconfig.h:
13838           add large padding
13839
13840 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13841
13842         * win32/common/libgstreamer.def:
13843           rename symbols; sort base section
13844
13845 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13846
13847         * gst/gstclock.c: (do_linear_regression):
13848           remove crack non-portable handrolled DEBUG macro
13849
13850 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13851
13852         * docs/random/release:
13853           update notes
13854         * win32/common/gstenumtypes.c: (register_gst_object_flags),
13855         (gst_object_flags_get_type), (register_gst_bin_flags),
13856         (gst_bin_flags_get_type), (register_gst_buffer_flag),
13857         (gst_buffer_flag_get_type), (register_gst_bus_flags),
13858         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13859         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13860         (gst_caps_flags_get_type), (register_gst_clock_return),
13861         (gst_clock_return_get_type), (register_gst_clock_entry_type),
13862         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13863         (gst_clock_flags_get_type), (register_gst_state),
13864         (gst_state_get_type), (register_gst_state_change_return),
13865         (gst_state_change_return_get_type), (register_gst_state_change),
13866         (gst_state_change_get_type), (register_gst_element_flags),
13867         (gst_element_flags_get_type), (register_gst_core_error),
13868         (gst_core_error_get_type), (register_gst_library_error),
13869         (gst_library_error_get_type), (register_gst_resource_error),
13870         (gst_resource_error_get_type), (register_gst_stream_error),
13871         (gst_stream_error_get_type), (register_gst_event_type_flags),
13872         (gst_event_type_flags_get_type), (register_gst_event_type),
13873         (gst_event_type_get_type), (register_gst_seek_type),
13874         (gst_seek_type_get_type), (register_gst_seek_flags),
13875         (gst_seek_flags_get_type), (register_gst_format),
13876         (gst_format_get_type), (register_gst_index_certainty),
13877         (gst_index_certainty_get_type), (register_gst_index_entry_type),
13878         (gst_index_entry_type_get_type),
13879         (register_gst_index_lookup_method),
13880         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13881         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13882         (gst_index_resolver_method_get_type), (register_gst_index_flags),
13883         (gst_index_flags_get_type), (register_gst_debug_level),
13884         (gst_debug_level_get_type), (register_gst_debug_color_flags),
13885         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13886         (gst_iterator_result_get_type), (register_gst_iterator_item),
13887         (gst_iterator_item_get_type), (register_gst_message_type),
13888         (gst_message_type_get_type), (register_gst_mini_object_flags),
13889         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13890         (gst_pad_link_return_get_type), (register_gst_flow_return),
13891         (gst_flow_return_get_type), (register_gst_activate_mode),
13892         (gst_activate_mode_get_type), (register_gst_pad_direction),
13893         (gst_pad_direction_get_type), (register_gst_pad_flags),
13894         (gst_pad_flags_get_type), (register_gst_pad_presence),
13895         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13896         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13897         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13898         (gst_plugin_error_get_type), (register_gst_plugin_flags),
13899         (gst_plugin_flags_get_type), (register_gst_rank),
13900         (gst_rank_get_type), (register_gst_query_type),
13901         (gst_query_type_get_type), (register_gst_tag_merge_mode),
13902         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13903         (gst_tag_flag_get_type), (register_gst_task_state),
13904         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13905         (gst_alloc_trace_flags_get_type),
13906         (register_gst_type_find_probability),
13907         (gst_type_find_probability_get_type), (register_gst_uri_type),
13908         (gst_uri_type_get_type), (register_gst_parse_error),
13909         (gst_parse_error_get_type):
13910         * win32/common/gstenumtypes.h:
13911         * win32/common/gstversion.h:
13912           update visual studio generated files
13913
13914 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13915
13916         * win32/vs6/libgstbase.dsp:
13917         * win32/vs6/libgstelements.dsp:
13918           update project files for new locations
13919
13920 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13921
13922         * Makefile.am:
13923           remove some files
13924         * README:
13925           reinstate and update
13926         * DEVEL:
13927         * REQUIREMENTS:
13928           removed
13929         * LICENSE:
13930         * docs/random/LICENSE:
13931           moved to random
13932
13933 2005-11-30  Edward Hervey  <edward@fluendo.com>
13934
13935         * gst/gsttypefind.c: (gst_type_find_register):
13936         * gst/gsttypefind.h:
13937         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13938         (gst_type_find_factory_dispose):
13939         * gst/gsttypefindfactory.h:
13940         Fix memory leak in GstTypeFindFactory.
13941
13942 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13943
13944         * gst/gst.c:
13945         * plugins/elements/Makefile.am:
13946         * plugins/elements/gstelements.c:
13947         * plugins/elements/gstqueue.c:
13948           move queue from core to the elements plugin
13949
13950 2005-11-29  Andy Wingo  <wingo@pobox.com>
13951
13952         * libs/gst/base/gstbasetransform.h: 
13953         * libs/gst/base/gstbasesrc.h: 
13954         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13955
13956         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13957         of pointers by which to pad very extensible base classes (like the
13958         ones in libs/gst/base).
13959
13960 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13961
13962         * docs/gst/gstreamer-docs.sgml:
13963         * docs/gst/gstreamer-sections.txt:
13964         * docs/libs/gstreamer-libs-docs.sgml:
13965         * docs/libs/gstreamer-libs-sections.txt:
13966           moving documentation from core to lib
13967
13968 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13969
13970         * check/Makefile.am:
13971         * configure.ac:
13972         * docs/gst/Makefile.am:
13973         * gst/Makefile.am:
13974         * gst/base/.cvsignore:
13975         * gst/base/Makefile.am:
13976         * gst/base/README:
13977         * gst/base/gstadapter.c:
13978         * gst/base/gstadapter.h:
13979         * gst/base/gstbasesink.c:
13980         * gst/base/gstbasesink.h:
13981         * gst/base/gstbasesrc.c:
13982         * gst/base/gstbasesrc.h:
13983         * gst/base/gstbasetransform.c:
13984         * gst/base/gstbasetransform.h:
13985         * gst/base/gstcollectpads.c:
13986         * gst/base/gstcollectpads.h:
13987         * gst/base/gstpushsrc.c:
13988         * gst/base/gstpushsrc.h:
13989         * gst/base/gsttypefindhelper.c:
13990         * gst/base/gsttypefindhelper.h:
13991         * gst/check/Makefile.am:
13992         * gst/check/gstcheck.c:
13993         * gst/check/gstcheck.h:
13994         * gst/net/Makefile.am:
13995         * gst/net/gstnet.h:
13996         * gst/net/gstnetclientclock.c:
13997         * gst/net/gstnetclientclock.h:
13998         * gst/net/gstnettimepacket.c:
13999         * gst/net/gstnettimepacket.h:
14000         * gst/net/gstnettimeprovider.c:
14001         * gst/net/gstnettimeprovider.h:
14002         * libs/gst/Makefile.am:
14003         * libs/gst/base/Makefile.am:
14004         * libs/gst/base/gstbasetransform.c:
14005         * libs/gst/check/Makefile.am:
14006         * plugins/elements/Makefile.am:
14007         * po/POTFILES.in:
14008           CVS surgery + support to move base, check, and net out of gst
14009           and into libs/gst
14010
14011 2005-11-29  Andy Wingo  <wingo@pobox.com>
14012
14013         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14014
14015         * gst/gststructure.h (struct _GstStructure): Only one pointer of
14016         padding.
14017
14018         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14019
14020         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14021
14022         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14023
14024         * gst/gstobject.h: (struct _GstObject): Only one pointer of
14025         padding; reduces object size by about 30%. We don't expect
14026         anything else to go into gstobject.
14027
14028         * gst/gstminiobject.h (struct _GstMiniObject)
14029         (struct _GstMiniObjectClass): Only one pointer of padding; the
14030         payload is only a pointer and two ints anyway. For the class there
14031         are only two methods as well.
14032         
14033         * gst/gstelement.h (struct _GstElementClass): Removed
14034         the state_changed signal callback, it is not used.
14035
14036 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14037
14038         * docs/gst/gstreamer.types:
14039           fix includes, though they are a little dinky
14040
14041 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14042
14043         * check/Makefile.am:
14044           look in the right place for elements, a lot more chance of
14045           success
14046         * gst/Makefile.am:
14047           remove indexers and elements subdirs
14048         * plugins/Makefile.am:
14049           make indexers conditional
14050
14051 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14052
14053         * Makefile.am:
14054         * configure.ac:
14055         * plugins/elements/Makefile.am:
14056         * plugins/elements/gstcapsfilter.c:
14057         * plugins/elements/gstfilesink.c:
14058         * plugins/elements/gstfilesrc.c:
14059         * plugins/elements/gstidentity.c:
14060         * plugins/indexers/Makefile.am:
14061           do CVS surgery and related build fixery to move elements
14062           and indexers in a new gstreamer/plugins directory, out of the
14063           gst/ directory
14064
14065 2005-11-29  Andy Wingo  <wingo@pobox.com>
14066
14067         * check/Makefile.am:
14068         * pkgconfig/gstreamer-net-uninstalled.pc.in:
14069         * pkgconfig/gstreamer-net.pc.in:
14070         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14071         #322257.
14072
14073 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14074
14075         * tools/Makefile.am:
14076         * tools/gst-complete.1.in:
14077         * tools/gst-complete.c:
14078         * tools/gst-compprep.1.in:
14079         * tools/gst-compprep.c:
14080           removing -compprep and -complete
14081
14082 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14083
14084         * gst/gstevent.c: (gst_event_new_new_segment),
14085         (gst_event_parse_new_segment):
14086         * gst/gstevent.h:
14087           fix #320529 - clean up new_segment API and structure.
14088           Let's hope everyone was using the methods, and not the structure.
14089
14090 2005-11-29  Edward Hervey  <edward@fluendo.com>
14091
14092         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14093         (gst_base_sink_event), (gst_base_sink_do_sync),
14094         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14095         Properly handle non GST_FORMAT_TIME segment
14096         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14097         Properly handle non GST_FORMAT_TIME segment
14098         * gst/gstsegment.c:
14099         This function is valid if the accumulator is 0 and the format
14100         is different from the requested format.
14101         
14102 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14103
14104         * docs/gst/gstreamer-sections.txt:
14105         Add gst_query_new_seeking and gst_query_parse_seeking to the
14106         docs.
14107
14108 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14109
14110         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14111           Treat a pad alloc with new caps the same as if we were not
14112           negotiated, in order to allow a changing upstream output
14113           to produce a new format of data.
14114
14115 2005-11-29  Edward Hervey  <edward@fluendo.com>
14116
14117         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14118         (gst_base_transform_event), (gst_base_transform_eventfunc):
14119         The event virtual method is now properly implemented, with a default
14120         handler
14121         Sub classes should call the parent_class event method. They should
14122         return FALSE if they had a problem handling the given event, or don't
14123         want GstBaseTransform to send that even downstream
14124         * gst/elements/gstidentity.c: (gst_identity_class_init),
14125         (gst_identity_init), (gst_identity_event),
14126         (gst_identity_transform_ip), (gst_identity_set_property),
14127         (gst_identity_get_property):
14128         * gst/elements/gstidentity.h:
14129         Added the single-segment boolean property.
14130         If set to TRUE, it will output a single segment of data, starting from
14131         0, will eat up all incoming newsegment, and modify the timestamp of the
14132         buffers accordingly
14133
14134 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
14135
14136         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14137           Don't ref NULL target pad (#322751). Improve docs.
14138
14139 2005-11-29  Michael Smith  <msmith@fluendo.com>
14140
14141         * gst/gstregistryxml.c: (load_plugin):
14142           Don't crash if we failed to load a feature from a plugin. 
14143
14144 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14145
14146         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14147         (GST_START_TEST):
14148           use more check API and less GLib API
14149
14150 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14151
14152         * Makefile.am:
14153           don't run checks if we don't have check
14154         * common/check.mak:
14155           remove the registry when running make torture
14156         * docs/gst/gstreamer-sections.txt:
14157           remove second multiply
14158         * gst/gstqueue.c: (gst_queue_loop):
14159           fix a compile warning when disabling debug
14160
14161 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14162
14163         * gst/gstinfo.h:
14164         Hey! Let's print the pad name if the pointer != NULL instead
14165         of when it == NULL :-)
14166
14167 2005-11-28  Wim Taymans  <wim@fluendo.com>
14168
14169         * check/gst/gstutils.c: (GST_START_TEST):
14170         Updated check, add some scaling accuracy checking code.
14171
14172         * gst/gstutils.c: (gst_util_div128_64),
14173         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14174         (gst_util_uint64_scale_int):
14175         Fix 6 times faster division code. Optimize for common 
14176         1/1 and less common X/1 cases.
14177
14178 2005-11-28  Wim Taymans  <wim@fluendo.com>
14179
14180         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14181         More checks.
14182
14183         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14184         (do_linear_regression), (gst_clock_add_observation):
14185         Cleanups.
14186         Release lock when the clock cannot be slaved.
14187         Catch the case where the regression returned an invalid denominator.
14188
14189         * gst/gstutils.c: (gst_util_div128_64_iterate),
14190         (gst_util_div128_64), (gst_util_uint64_scale_int64),
14191         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14192         Add protentially more performant non-iterative 128/64 divide function
14193         that unfortunatly does not work yet.
14194         Shortcut the trivial 0/X = 0 case.
14195         Remove the warnings on overflow.
14196
14197 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14198
14199         * gst/gstplugin.c: (gst_plugin_register_func):
14200           everything causing a plugin not to load should be at least a WARNING
14201
14202 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
14203
14204         * docs/random/ensonic/dparams.txt:
14205           some TODOs for the next dev cycle
14206         * libs/gst/controller/gstcontroller.c:
14207         (gst_controlled_property_set_interpolation_mode),
14208         (gst_controlled_property_new):
14209         * libs/gst/controller/gstcontroller.h:
14210           use base type to assign acccessor functions
14211
14212 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14213
14214         * check/Makefile.am:
14215         Oops, that should have been top_srcdir
14216
14217 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14218
14219         * check/Makefile.am:
14220         * check/elements/fdsrc.c: (GST_START_TEST):
14221         Use a cmdline define to specify the location of a file to use for
14222         testing, to avoid breaking distcheck.
14223
14224 2005-11-28  Andy Wingo  <wingo@pobox.com>
14225
14226         * gst/gstpad.c (fixate_value): Use array functions for arrays.
14227
14228 2005-11-28  Edward Hervey  <edward@fluendo.com>
14229
14230         * tools/gst-launch.c: (main):
14231         Clarify the output strings, makes it easier to translate.
14232         Fixes #322626
14233
14234 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14235
14236         * gst/Makefile.am:
14237           don't try and build net if we don't even have <sys/socket.h>
14238
14239 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
14240
14241         * check/Makefile.am:
14242         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14243         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14244           Add tests for fdsrc seekability
14245
14246         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14247         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14248         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14249         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14250         * gst/elements/gstfdsrc.h:
14251           fdsrc should not be a 'live' source.
14252           Implement seeking on seekable fd's.
14253
14254         * gst/gstquery.c: (gst_query_new_seeking),
14255         (gst_query_parse_seeking):
14256         * gst/gstquery.h:
14257           Implement SEEKING query functions: 
14258             *_new_seeking and *_parse_seeking
14259
14260 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14261
14262         * gst/gstelement.c: (gst_element_dispose):
14263           don't loop forever
14264
14265         * gst/gstiterator.c:
14266         * gst/gststructure.c:
14267           doc fixes
14268
14269         * libs/gst/controller/gstcontroller.c:
14270         (gst_controlled_property_set_interpolation_mode):
14271         * libs/gst/controller/gstcontroller.h:
14272         * libs/gst/controller/gstinterpolation.c:
14273         (interpolate_none_get_enum_value_array):
14274           support controlling enums
14275
14276 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14277
14278         * gst/gstvalue.c:
14279           Improve documentation for gst_value_union().
14280
14281         * gst/gstvalue.h:
14282           Change return value for union, intersect and subtract functions
14283           from gint to gboolean.
14284
14285 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14286
14287         * gst/gstvalue.c: (gst_value_serialize_any_list),
14288         (gst_value_transform_any_list_string),
14289         (gst_value_deserialize_list), (gst_value_deserialize_array),
14290         (gst_value_set_int_range), (gst_value_deserialize_int_range),
14291         (gst_value_set_double_range), (gst_value_deserialize_double_range),
14292         (gst_value_set_fraction_range_full),
14293         (gst_value_deserialize_fraction_range),
14294         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14295         (gst_value_deserialize_boolean),
14296         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14297         (gst_value_serialize_float), (gst_value_deserialize_float),
14298         (gst_string_wrap), (gst_value_deserialize_string),
14299         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14300         (gst_value_union_int_range_int_range),
14301         (gst_value_intersect_int_range_int_range),
14302         (gst_value_intersect_double_range_double_range),
14303         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14304         (gst_value_subtract_int_range_int_range),
14305         (gst_value_subtract_double_double_range),
14306         (gst_value_subtract_double_range_double_range),
14307         (gst_value_deserialize_fraction):
14308         * gst/gstvalue.h:
14309           Use gint, gdouble and gchar in our API instead of int, double and
14310           char (and make usage in gstvalue.c more consistent).
14311
14312 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14313
14314         * check/Makefile.am:
14315         * libs/gst/controller/Makefile.am:
14316         * libs/gst/dataprotocol/Makefile.am:
14317           fix up Makefile.am and remove GST_ENABLE_NEW
14318
14319 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14320
14321         * configure.ac:
14322         * gst/Makefile.am:
14323         * gst/base/Makefile.am:
14324         * gst/check/Makefile.am:
14325         * gst/elements/Makefile.am:
14326         * gst/net/Makefile.am:
14327           update LDFLAGS use some more
14328
14329 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14330
14331         * common/m4/gst-doc.m4:
14332           Fixes #312589
14333
14334 2005-11-26  Edward Hervey  <edward@fluendo.com>
14335
14336         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14337         This shouldn't issue a g_warning since it returns NULL if it
14338         couldn't find the plugin, and all functions using this behave
14339         properly on a NULL return. Switching to a GST_WARNING.
14340
14341 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
14342
14343         * gst/gstbin.c: (gst_bin_handle_message_func):
14344         Don't leak clock messages.
14345
14346 2005-11-25  Wim Taymans  <wim@fluendo.com>
14347
14348         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14349         (gst_util_uint64_scale_int):
14350         Optimisations, remove unneeded vars.
14351
14352 2005-11-25  Wim Taymans  <wim@fluendo.com>
14353
14354         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14355         Added more checks for the high precision uint64 cases.
14356
14357         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14358         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14359         Implement high precision (guint64 * guint64) / guint64.
14360
14361 2005-11-24  Wim Taymans  <wim@fluendo.com>
14362
14363         * gst/base/gstbasesrc.c: (gst_base_src_query):
14364         Fix wrong percentage query.
14365
14366         * gst/gstutils.c: (gst_util_uint64_scale),
14367         (gst_util_uint64_scale_int):
14368         Add some more common cases that can be handled 
14369         efficiently to _scale.
14370
14371 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14372
14373         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14374         (gst_mini_object_suite):
14375           don't use check calls from threads; check probably isn't
14376           threadsafe and using a lock to make it threadsafe would
14377           defeat the purpose of this check
14378         * gst/check/gstcheck.c:
14379         * gst/check/gstcheck.h:
14380           use GST_DEBUG some more
14381
14382 2005-11-24  Wim Taymans  <wim@fluendo.com>
14383
14384         * gst/gstutils.c: (gst_util_uint64_scale),
14385         (gst_util_uint64_scale_int):
14386         Chain trivial case to _scale_int.
14387
14388 2005-11-24  Wim Taymans  <wim@fluendo.com>
14389
14390         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14391         Added test for scaling.
14392
14393         * gst/gstclock.h:
14394         Small doc fix.
14395
14396         * gst/gstutils.c: (gst_util_uint64_scale_int):
14397         Implemented high precision scaling code.
14398
14399 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
14400
14401         * gst/gstinfo.h:
14402           do not crash on pad==NULL
14403
14404 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14405
14406         Patch by: Stefan Kost
14407
14408         * common/gtk-doc.mak:
14409         * docs/gst/Makefile.am:
14410         * docs/libs/Makefile.am:
14411           Fix distcheck issues for the libraries docs build
14412           Closes #319599.
14413
14414 2005-11-24  Michael Smith <msmith@fluendo.com>
14415
14416         * docs/manual/basics-helloworld.xml:
14417           Fix bug #315027: memory leak in example code in docs.
14418
14419 2005-11-24  Michael Smith <msmith@fluendo.com>
14420
14421         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14422           Unlock the PREROLL_LOCK in a failure case.
14423
14424 2005-11-24  Wim Taymans  <wim@fluendo.com>
14425
14426         * docs/gst/gstreamer-sections.txt:
14427         * gst/base/gstadapter.h:
14428         * gst/base/gstbasesink.h:
14429         * gst/base/gstbasesrc.h:
14430         * gst/base/gstbasetransform.h:
14431         * gst/base/gstpushsrc.h:
14432         * gst/elements/gstfakesink.h:
14433         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14434         * gst/elements/gstfakesrc.h:
14435         * gst/elements/gstfilesink.h:
14436         * gst/elements/gstfilesrc.h:
14437         * gst/gst.c:
14438         * gst/gstbin.c:
14439         * gst/gstbuffer.c: (_gst_buffer_copy):
14440         * gst/gstbus.h:
14441         * gst/gstcaps.c:
14442         * gst/gstchildproxy.c:
14443         * gst/gstclock.c:
14444         * gst/gstelement.c:
14445         * gst/gstelementfactory.c:
14446         * gst/gstelementfactory.h:
14447         * gst/gstevent.c:
14448         * gst/gstghostpad.h:
14449         * gst/gstindex.h:
14450         * gst/gstinterface.h:
14451         * gst/gstminiobject.c:
14452         * gst/gstminiobject.h:
14453         * gst/gstpad.c:
14454         * gst/gstpad.h:
14455         * gst/gstpadtemplate.h:
14456         * gst/gstpipeline.h:
14457         * gst/gstpluginfeature.h:
14458         * gst/gstquery.h:
14459         * gst/gstqueue.h:
14460         * gst/gsttaglist.c:
14461         * gst/gsttaglist.h:
14462         * gst/gsttagsetter.c:
14463         * gst/gsttagsetter.h:
14464         * gst/gsttrace.c:
14465         * gst/gsttrace.h:
14466         * gst/gsttypefind.h:
14467         * gst/gsturi.h:
14468         * gst/gstvalue.c:
14469         * gst/net/gstnetclientclock.c:
14470         * gst/net/gstnetclientclock.h:
14471         * gst/net/gstnettimepacket.c:
14472         * gst/net/gstnettimeprovider.c:
14473         * gst/net/gstnettimeprovider.h:
14474         Doc fixes.
14475
14476 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14477
14478         * configure.ac: back to HEAD
14479
14480 === release 0.9.6 ===
14481
14482 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
14483
14484         * configure.ac:
14485           releasing 0.9.6, "Always On Time"
14486
14487 2005-11-23  Wim Taymans  <wim@fluendo.com>
14488
14489         * docs/gst/gstreamer-sections.txt:
14490         * gst/glib-compat.c:
14491         * gst/gsttagsetter.c:
14492         * gst/gstvalue.c:
14493         * gst/net/gstnetclientclock.c:
14494         * gst/net/gstnettimepacket.h:
14495         Doc updates.
14496
14497 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14498
14499         * docs/faq/using.xml:
14500         * docs/libs/tmpl/gstcontrol.sgml:
14501         * docs/manual/advanced-dparams.xml:
14502         * docs/manual/appendix-checklist.xml:
14503         * docs/manual/basics-elements.xml:
14504         * docs/pwg/other-source.xml:
14505         * docs/random/moving-plugins:
14506         * gst/gstpad.c:
14507         * tools/gst-launch.1.in:
14508           remove mentions of sinesrc
14509
14510 2005-11-23  Michael Smith <msmith@fluendo.com>
14511
14512         * docs/gst/gstreamer-sections.txt:
14513           Update for new API and API changes.
14514         * gst/gstobject.h:
14515           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14516         * gst/gstvalue.c:
14517           Documentation typo fix.
14518         * gst/net/gstnettimepacket.c:
14519           Documentation fixes for arguments.
14520
14521 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
14522
14523         * gst/gststructure.c: (gst_structure_get_fraction),
14524         (gst_structure_parse_value),
14525         (gst_structure_fixate_field_nearest_fraction):
14526         * gst/gststructure.h:
14527         * gst/gstutils.c: (gst_util_uint64_scale_int):
14528         * gst/gstutils.h:
14529         * scripts/update-funcnames:
14530         API Changes. 
14531         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14532         Make gst_structure_fixate_field_nearest_fraction take a numerator
14533         and denominator argument instead of a GValue
14534         add gst_structure_get_fraction helper function.
14535
14536 2005-11-23  Wim Taymans  <wim@fluendo.com>
14537
14538         * docs/design/part-TODO.txt:
14539         Update TODO.
14540
14541         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14542         * gst/net/gstnetclientclock.h:
14543         Use parent fields for timeout and window_size.
14544
14545 2005-11-23  Andy Wingo  <wingo@pobox.com>
14546
14547         * check/net/gstnetclientclock.c (test_functioning): Adjust to
14548         rate_num/rate_denom change.
14549
14550         * gst/net/gstnetclientclock.c
14551         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14552         OBJECT_LOCK. Don't call add_observation with the lock.
14553
14554         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14555         fraction.
14556         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14557         rate fraction.
14558         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14559         deal with rate as a fraction whose numerator and denominator are
14560         GstClockTime values.
14561         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14562         master; the other fields are protected by the SLAVE_LOCK.
14563         (do_linear_regression): Note that this must be called with the
14564         SLAVE_LOCK.
14565         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14566         OBJECT_LOCK. Call set_calibration instead of touching the
14567         variables directly.
14568         (gst_clock_set_property, gst_clock_get_property): Protect
14569         master/slave parameters with the SLAVE_LOCK.
14570
14571         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14572         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14573         note that all of the instance variables that add_observation and
14574         the set_master functions use are protected by that lock and not
14575         the OBJECT_LOCK.
14576         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14577
14578         * gst/gstclock.c (gst_clock_add_observation): No longer requires
14579         the caller to take the object lock.
14580
14581 2005-11-23  Wim Taymans  <wim@fluendo.com>
14582
14583         * gst/gsterror.c: (_gst_core_errors_init):
14584         * gst/gsterror.h:
14585         Add error for clock stuff.
14586
14587         * gst/gstpipeline.c: (gst_pipeline_change_state),
14588         (gst_pipeline_set_clock):
14589         Post clock error when clock cannot be used in a pipeline.
14590
14591 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
14592
14593         * docs/gst/gstreamer-sections.txt:
14594           make two symbols from gstinfo private for the docs
14595         * gst/base/gstcollectpads.h:
14596         * gst/gstutils.c:
14597           fix doc typos, update docs
14598
14599 2005-11-22  Wim Taymans  <wim@fluendo.com>
14600
14601         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14602         (gst_base_sink_wait), (gst_base_sink_do_sync),
14603         (gst_base_sink_handle_event):
14604         * gst/base/gstbasesink.h:
14605         No need to store the clock, the parent element class already
14606         has it.
14607
14608         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14609         Updates for clock_set returning a gboolean
14610
14611         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14612         (gst_clock_id_wait_async), (gst_clock_class_init),
14613         (gst_clock_init), (gst_clock_finalize),
14614         (gst_clock_get_internal_time), (gst_clock_get_time),
14615         (gst_clock_slave_callback), (gst_clock_set_master),
14616         (gst_clock_get_master), (do_linear_regression),
14617         (gst_clock_add_observation), (gst_clock_set_property),
14618         (gst_clock_get_property):
14619         * gst/gstclock.h:
14620         Implement master/slave. When setting a clock as a slave, a
14621         periodic timeout is scheduled to sample master and slave times.
14622         Then the slave clock is recalibrated to match offset and rate
14623         of the master clock.
14624         Update logging a bit.
14625         Add flag so that a clock can state that is cannot be slaved to
14626         another clock.
14627
14628         * gst/gstelement.c: (gst_element_set_clock):
14629         * gst/gstelement.h:
14630         The set clock returns a gboolean for when an element cannot
14631         deal with the selected clock in the pipeline. 
14632
14633         * gst/gstpipeline.c: (gst_pipeline_change_state),
14634         (gst_pipeline_set_clock):
14635         * gst/gstpipeline.h:
14636         Handle the case where the selected clock cannot be set on
14637         the pipeline.
14638
14639         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14640         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14641         (gst_net_client_clock_set_property),
14642         (gst_net_client_clock_get_property),
14643         (gst_net_client_clock_observe_times):
14644         * gst/net/gstnetclientclock.h:
14645         Use regression code in GstClock parent, remove duplicated
14646         functionality.
14647
14648 2005-11-22  Michael Smith <msmith@fluendo.com>
14649
14650         * gst/gstutils.c: (gst_util_clock_time_scale):
14651         * gst/gstutils.h:
14652         * docs/gst/gstreamer-sections.txt:
14653           Rename method to have extra underscore.
14654
14655 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14656
14657         * gst/elements/Makefile.am:
14658         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14659         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14660         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14661         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14662         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14663         * gst/elements/gstfakesrc.h:
14664         * gst/gstqueue.c: (queue_leaky_get_type):
14665           correctly fix GEnumValues so that nick is the short lowercase
14666           dashed tag
14667         * tools/gst-inspect.c: (print_element_properties_info):
14668           also show the nick, since it's useful to use from parse_launch
14669           syntax
14670           Fixes #322139
14671
14672 2005-11-22  Michael Smith <msmith@fluendo.com>
14673
14674         * gst/gstutils.c: (gst_util_clocktime_scale):
14675         * gst/gstutils.h:
14676         * docs/gst/gstreamer-sections.txt:
14677           Add util method for scaling a clocktime by a fraction. Useful 
14678           implementation is left as an exercise for the reader.
14679
14680 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14681
14682         * gst/gstvalue.c: (gst_value_collect_fraction_range):
14683         If needed, allocate storage in the destination value during
14684         collection.
14685
14686 2005-11-22  Edward Hervey  <edward@fluendo.com>
14687
14688         * docs/gst/gstreamer-sections.txt:
14689         * gst/Makefile.am:
14690         * gst/gst.h:
14691         * gst/gsturitype.c:
14692         * gst/gsturitype.h:
14693         * gst/gstutils.c: (gst_util_set_object_arg):
14694         * tools/gst-compprep.c: (main):
14695         * tools/gst-inspect.c: (print_element_properties_info):
14696         Removed GstURI, closes bug #321061
14697
14698 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14699
14700         * check/gst/gststructure.c: (GST_START_TEST):
14701         * gst/gststructure.c: (gst_structure_parse_value):
14702           Oops, broke automatic string type parsing.
14703           Add a test to catch it in future.
14704
14705 2005-11-22  Andy Wingo  <wingo@pobox.com>
14706
14707         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
14708         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14709         Actually rename the function implementations. Grr.
14710
14711 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14712
14713         * check/gst/capslist.h:
14714           Comment test cases
14715         * check/gst/gststructure.c: (GST_START_TEST),
14716         (gst_structure_suite):
14717           Test automatic value type detection in gst_structure_from_string.
14718         * gst/gststructure.c: (gst_structure_parse_value):
14719           Add fraction as a type we try and guess automatically in
14720           caps/structure strings.
14721
14722 2005-11-22  Andy Wingo  <wingo@pobox.com>
14723
14724         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14725
14726         * gst/gsttagsetter.h:
14727         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14728         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14729         (gst_tag_setter_add_tag_valist)
14730         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14731         _add_values, _add_valist, and _add_valist_values. Since this is an
14732         interface the function suffixes should be more explicit so
14733         language binding don't end up with element.add_valist ->
14734         gst_tag_setter_add_valist, for example. Fixes #322069.
14735
14736 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14737
14738         * check/gst/gstcaps.c: (GST_START_TEST):
14739           Extend caps string tests to check that a caps to string
14740           conversion is reversible and produces the same caps.
14741
14742         * gst/gststructure.c: (gst_structure_value_get_generic_type):
14743           Output "fraction" as the generic type fraction range, so caps
14744           serialisation and deserialisation works.
14745         * check/gst/capslist.h:
14746         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14747           Support 'MIN' and 'MAX' for deserialising fractions.
14748
14749 2005-11-22  Andy Wingo  <wingo@pobox.com>
14750
14751         * gst/gstevent.h (gst_event_new_new_segment)
14752         (gst_event_parse_new_segment, gst_event_new_buffer_size)
14753         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14754         Renamed from *_newsegment, *_buffersize, *_notarget.
14755
14756         * scripts/update-funcnames: New script, performs the changes
14757         listed above.
14758
14759 2005-11-22  Wim Taymans  <wim@fluendo.com>
14760
14761         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14762         Make sure the GstFlowReturn is returned.
14763
14764         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14765         (gst_bus_add_signal_watch):
14766         * gst/gstbus.h:
14767         add gst_bus_add_signal_watch_full.
14768
14769         * gst/gstplugin.c: (gst_plugin_load_file):
14770         Small style cleanup.
14771
14772 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14773
14774         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14775           Block the fakesrc srcpad when we send an event, to avoid
14776           contention on the stream_lock causing random test failures.
14777
14778 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14779
14780         * check/gst/gstvalue.c: (GST_START_TEST):
14781         * gst/gstvalue.c: (gst_value_fraction_subtract):
14782           Fix subtraction.
14783
14784 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
14785
14786         * gst/gst.h:
14787           include "gstchildproxy.h"
14788         * gst/gstchildproxy.h:
14789         * libs/gst/controller/gstcontroller.h:
14790           use G_GNUC_NULL_TERMINATED
14791
14792 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14793
14794         * check/gst/capslist.h:
14795         * check/gst/gstcaps.c: (GST_START_TEST):
14796         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14797         * gst/gststructure.c: (gst_structure_parse_range),
14798         (gst_structure_fixate_field_nearest_fraction):
14799         * gst/gststructure.h:
14800         * gst/gstvalue.c: (gst_value_init_fraction_range),
14801         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14802         (gst_value_collect_fraction_range),
14803         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14804         (gst_value_set_fraction_range_full),
14805         (gst_value_get_fraction_range_min),
14806         (gst_value_get_fraction_range_max),
14807         (gst_value_serialize_fraction_range),
14808         (gst_value_transform_fraction_range_string),
14809         (gst_value_compare_fraction_range),
14810         (gst_value_deserialize_fraction_range),
14811         (gst_value_intersect_fraction_fraction_range),
14812         (gst_value_intersect_fraction_range_fraction_range),
14813         (gst_value_subtract_fraction_fraction_range),
14814         (gst_value_subtract_fraction_range_fraction),
14815         (gst_value_subtract_fraction_range_fraction_range),
14816         (gst_value_collect_fraction), (gst_value_fraction_multiply),
14817         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14818         (gst_value_transform_string_fraction), (_gst_value_initialize):
14819         * gst/gstvalue.h:
14820           Implement fraction ranges and extend GstFraction to support
14821           arithmetic subtraction, as well as deserialization from integer
14822           strings such as "100"
14823           Add a testsuite as for int and double range set operations
14824
14825 2005-11-21  Andy Wingo  <wingo@pobox.com>
14826
14827         * gst/gsttaglist.h: 
14828         * gst/gstcaps.h: 
14829         * gst/gststructure.h: Add glib-compat.h.
14830
14831 2005-11-21  Wim Taymans  <wim@fluendo.com>
14832
14833         * gst/gstbin.c: (gst_bin_change_state_func):
14834         Fix for #321595
14835
14836 2005-11-21  Wim Taymans  <wim@fluendo.com>
14837
14838         * gst/gstsegment.h:
14839         And add a nice define too.
14840
14841 2005-11-21  Wim Taymans  <wim@fluendo.com>
14842
14843         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14844         (gst_segment_new), (gst_segment_free), (gst_segment_init),
14845         (gst_segment_set_duration), (gst_segment_set_last_stop),
14846         (gst_segment_set_seek), (gst_segment_set_newsegment),
14847         (gst_segment_to_stream_time), (gst_segment_to_running_time),
14848         (gst_segment_clip):
14849         * gst/gstsegment.h:
14850         Make binding friendly.
14851
14852 2005-11-21  Andy Wingo  <wingo@pobox.com>
14853
14854         * gst/gsttagsetter.h: 
14855         * gst/gsttaglist.h: 
14856         * gst/gststructure.h: 
14857         * gst/gstcaps.h: 
14858         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14859         #319940.
14860
14861         * gst/gsterror.c (_gst_core_errors_init):
14862         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14863         category.
14864
14865         * gst/Makefile.am (gst_headers): Add glib-compat.h.
14866         (noinst_HEADERS): noinst the -private.
14867
14868 2005-11-21  Michael Smith <msmith@fluendo.com>
14869
14870         * gst/gstplugin.h:
14871         * gst/gstregistry.h:
14872           Remove unimplemented declarations for which we can see no sensible
14873           use.
14874
14875 2005-11-21  Andy Wingo  <wingo@pobox.com>
14876
14877         * gst/gst.h: Include glib-compat.h.
14878
14879         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14880
14881         * gst/glib-compat.c: Include the public and the private header.
14882
14883         * gst/glib-compat-private.h: Copied here from glib-compat.h.
14884
14885         * gst/gstvalue.c: 
14886         * gst/gstpad.c: 
14887         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14888
14889         * check/gst/gstevent.c (create_custom_events): Check that
14890         FLUSH_STOP is serialized.
14891
14892         * check/elements/identity.c (event_func): 
14893         * check/elements/fakesrc.c (event_func): No stream lock, the core
14894         takes it.
14895
14896         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14897         stream lock taking, yay.
14898
14899         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14900         ensure that core takes the stream lock.
14901
14902         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14903         lock name change.
14904
14905         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14906         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14907         it already. For the flush start we do take it though so we get the
14908         right preroll state change messages.
14909
14910         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14911         the stream lock here, the core does it for us.
14912
14913         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14914         GST_STREAM_GET_LOCK.
14915         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
14916         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
14917         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14918         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14919         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
14920         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14921
14922         * gst/gstpad.c: Update for stream lock name change.
14923
14924         * gst/base/gstbasesink.c: Update for preroll lock name change.
14925
14926 2005-11-21  Wim Taymans  <wim@fluendo.com>
14927
14928         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14929         (gst_clock_get_master):
14930         * gst/gstclock.h:
14931         * gst/gstsystemclock.c: (gst_system_clock_init):
14932         Convert Clock flags to object flags.
14933         Added methods to manage master/slave clocks.
14934
14935 2005-11-21  Wim Taymans  <wim@fluendo.com>
14936
14937         * check/gst/gstsegment.c: (GST_START_TEST):
14938         * docs/design/part-TODO.txt:
14939         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14940         (gst_base_sink_event), (gst_base_sink_do_sync),
14941         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14942         (gst_base_sink_query), (gst_base_sink_change_state):
14943         * gst/base/gstbasesink.h:
14944         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14945         (gst_base_src_default_newsegment),
14946         (gst_base_src_configure_segment), (gst_base_src_do_seek),
14947         (gst_base_src_get_range), (gst_base_src_loop),
14948         (gst_base_src_change_state):
14949         * gst/base/gstbasesrc.h:
14950         * gst/base/gstbasetransform.c:
14951         (gst_base_transform_prepare_output_buf),
14952         (gst_base_transform_event), (gst_base_transform_change_state):
14953         * gst/base/gstbasetransform.h:
14954         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14955         (gst_collect_pads_event):
14956         * gst/base/gstcollectpads.h:
14957         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14958         (gst_fake_src_create):
14959         * gst/elements/gstfakesrc.h:
14960         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14961         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14962         (gst_segment_set_last_stop), (gst_segment_set_seek),
14963         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14964         (gst_segment_to_running_time), (gst_segment_clip):
14965         * gst/gstsegment.h:
14966         More segment updates, replace code in plugins with segment
14967         helper functions.
14968
14969 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14970
14971         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14972         Don't ignore sscanf results
14973
14974 2005-11-21  Andy Wingo  <wingo@pobox.com>
14975
14976         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14977
14978         * *.h:
14979         * *.c: Ran scripts/update-macros. Oh yes.
14980
14981         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14982         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14983         GST_GET_LOCK, etc.
14984
14985         * scripts/update-macros: New script. Run it on your files to
14986         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14987         well.
14988
14989 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
14990
14991         * docs/gst/Makefile.am:
14992         * docs/gst/gstreamer-docs.sgml:
14993         * docs/gst/gstreamer-sections.txt:
14994         * docs/gst/gstreamer.types:
14995         * gst/gstinfo.h:
14996           more docs fixes, add new api to the docs
14997
14998 2005-11-21  Andy Wingo  <wingo@pobox.com>
14999
15000         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15001         state_broadcast call.
15002
15003         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15004
15005 2005-11-21  Julien MOUTTE  <julien@moutte.net>
15006
15007         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15008         function calls for arrays.
15009
15010 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15011
15012         * docs/random/ensonic/media-device-daemon.txt:
15013           wild idea, can this be done?
15014         * docs/gst/gstreamer-sections.txt:
15015         * gst/gsterror.h:
15016         * gst/gstfilter.c:
15017         * gst/gstfilter.h:
15018         * gst/gstplugin.h:
15019         * gst/gstpluginfeature.c:
15020         * gst/gsttrace.c:
15021         * gst/gstvalue.c:
15022         * gst/gstvalue.h:
15023           doc fixes and additions
15024
15025 2005-11-21  Andy Wingo  <wingo@pobox.com>
15026
15027         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
15028         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
15029         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
15030         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15031         private to the basesrc implementation.
15032
15033         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15034         behalf of event function if necessary. It should no longer be
15035         necessary to take the stream lock in pad's event functions. Fixes
15036         #320299.
15037
15038 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15039         * docs/gst/gstreamer-sections.txt:
15040         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15041         (gst_structure_fixate_field_nearest_double),
15042         (gst_structure_fixate_field_boolean):
15043         * gst/gststructure.h:
15044         * win32/common/libgstreamer.def:
15045         * win32/gstreamer.def:
15046
15047         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15048         (#322027)
15049
15050 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15051
15052         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15053         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15054         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15055         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15056         (gst_fdsrc_uri_handler_init):
15057         * gst/elements/gstfdsrc.h:
15058           Port fd:// URI handler from 0.8 to fdsrc
15059
15060 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15061
15062         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15063         (gst_value_serialize_fourcc):
15064         * gst/gstvalue.h:
15065           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15066           consistent with our other format defines (#320324).
15067
15068 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15069
15070         * gst/gstvalue.c: (gst_value_is_fixed):
15071           Revert previous commit. Value lists are by definition
15072           not fixed, as they are a list of possible values.
15073
15074 2005-11-21  Andy Wingo  <wingo@pobox.com>
15075
15076         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15077         during the stable series if we need it. Fixes #319178.
15078
15079         * gst/gstevent.c (gst_event_new_filler): Removed.
15080
15081         * check/gst/gstevent.c: Update comment about filler events.
15082
15083 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15084
15085         * gst/gstvalue.c: (gst_value_is_fixed):
15086           Should handle both value arrays and value lists.
15087
15088 2005-11-21  Andy Wingo  <wingo@pobox.com>
15089
15090         patch by: Alessandro Dessina <alessandro nnva org>
15091
15092         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15093         functions to access arrays. Fixes #321962.
15094
15095 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15096
15097         * docs/gst/gstreamer.types:
15098           gst_collectpads_get_type => gst_collect_pads_get_type.
15099           
15100         * gst/base/gstbasetransform.c:
15101           Remove unused SIGNAL_HANDOFF enum.
15102
15103 2005-11-21  Andy Wingo  <wingo@pobox.com>
15104
15105         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15106         the event type (upstream, downstream, serialized). Renamed
15107         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15108         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15109         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15110
15111         * gst/gstevent.c: Update for new CUSTOM event names.
15112
15113         * check/gst/gstevent.c: Update check for new CUSTOM event names.
15114
15115         * gst/gstevent.h:
15116         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15117         bug #319392.
15118
15119 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15120
15121         * docs/gst/gstreamer-sections.txt:
15122         * win32/common/libgstbase.def:
15123         * win32/libgstbase.def:
15124         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15125         (gst_collect_pads_class_init), (gst_collect_pads_init),
15126         (gst_collect_pads_finalize), (gst_collect_pads_new),
15127         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15128         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15129         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15130         (gst_collect_pads_start), (gst_collect_pads_stop),
15131         (gst_collect_pads_peek), (gst_collect_pads_pop),
15132         (gst_collect_pads_available), (gst_collect_pads_read),
15133         (gst_collect_pads_flush), (gst_collect_pads_event),
15134         (gst_collect_pads_chain):
15135         * gst/base/gstcollectpads.h:
15136           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15137           unimplemented functions as unimplemented. Add padding to
15138           GstCollectData. (#320766, #320423)
15139
15140 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15141
15142         * gst/gstmessage.c:
15143           Improve docs for DURATION message (usage of duration parameter)
15144           (#320113)
15145
15146 2005-11-20  Wim Taymans  <wim@fluendo.com>
15147
15148         * check/Makefile.am:
15149         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15150         (main):
15151         * gst/Makefile.am:
15152         * gst/gst.h:
15153         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15154         (gst_segment_set_seek), (gst_segment_set_newsegment),
15155         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15156         (gst_segment_clip):
15157         * gst/gstsegment.h:
15158         Added segment helper structure and methods. Not fully implemented
15159         yet.
15160         Added segment check.
15161
15162 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
15163
15164         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15165           Add a deserialisation test for fractions
15166         * examples/metadata/read-metadata.c: (message_loop),
15167         (make_pipeline), (main):
15168           Fix up metadata reading sample.
15169         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15170           Debug format fix
15171         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15172           Don't try and fixate empty caps
15173         * gst/gst_private.h:
15174           Wrap in G_BEGIN_DECLS/G_END_DECLS
15175         * gst/gstvalue.c: (gst_value_collect_fraction),
15176         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15177         (gst_value_transform_string_fraction),
15178         (gst_value_compare_fraction):
15179           Add some extra guards to ensure that we don't end up 
15180           with an invalid denominator of 0 in a gstfraction and
15181           that fractions always get reduced.
15182
15183 2005-11-20  Wim Taymans  <wim@fluendo.com>
15184
15185         * docs/gst/gstreamer-sections.txt:
15186         * gst/gstbuffer.h:
15187         * gst/gstelement.c:
15188         * gst/gstformat.c:
15189         * gst/gstformat.h:
15190         * gst/gstindex.h:
15191         * gst/gstquery.c:
15192         * gst/gstquery.h:
15193         * gst/gstvalue.c:
15194         Doc fixes.
15195
15196 2005-11-20  Wim Taymans  <wim@fluendo.com>
15197
15198         * docs/design/part-TODO.txt:
15199         * gst/gstcaps.h:
15200         Make a proper enum of the flag.
15201
15202 2005-11-19  Wim Taymans  <wim@fluendo.com>
15203
15204         * docs/design/part-TODO.txt:
15205         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15206         (gst_format_to_quark), (gst_format_register):
15207         * gst/gstformat.h:
15208         * gst/gstquery.c: (_gst_query_initialize),
15209         (gst_query_type_get_name), (gst_query_type_to_quark),
15210         (gst_query_type_register):
15211         * gst/gstquery.h:
15212         Add type to quark and type to string conversions.
15213
15214 2005-11-19  Andy Wingo  <wingo@pobox.com>
15215
15216         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15217         #320097.
15218
15219 2005-11-19  Wim Taymans  <wim@fluendo.com>
15220
15221         * docs/design/part-TODO.txt:
15222         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15223         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15224         (gst_bin_handle_message_func):
15225         * gst/gstbin.h:
15226         Make message handling overridable.
15227
15228 2005-11-19  Andy Wingo  <wingo@pobox.com>
15229
15230         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15231
15232         * gst/gstclock.h:
15233         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15234         be a GstClockTime.
15235         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15236         is a GstClockTime. Fixes #321710.
15237
15238         * gst/gstclock.h (GstClock): Remove offset property. Add
15239         internal_calibration and external_calibration. Fix padding. Pad
15240         also by GstClockTime so we don't run into problems.
15241
15242         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15243         (gst_clock_get_rate_offset): Remove.
15244         (gst_clock_set_time_adjust): Remove. Fixes #321712.
15245
15246         * gst/gstutils.h:
15247         * gst/gstutils.c (g_static_rec_cond_wait)
15248         (g_static_rec_cond_timed_wait): Removed, no longer needed.
15249
15250         * gst/gstbin.c: Remove terrible continue_state prototype.
15251
15252         * gst/gstelement.h (gst_element_continue_state): Make public.
15253
15254         * gst/gstelement.h:
15255         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15256         by continue_state. Fixes #319389.
15257
15258         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15259         Really fixes #168438. However I don't see anywhere where the
15260         filter function is called... stupid GStreamer...
15261         
15262         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15263         don't have a dispose function, so it won't get called when the
15264         object is unreffed, but oh well!
15265
15266         * gst/gstindex.c (gst_index_set_filter_full): New API function,
15267         allows a destroy function to be set so user_data can be freed.
15268         Fixes #168438.
15269         (gst_index_set_filter): Call gst_index_set_filter_full.
15270
15271         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15272
15273         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15274         string should produce an error, given the lack of a way to
15275         represent NULL strings. Fixes #165650.
15276         
15277         * gst/gstvalue.h: 
15278         * gst/gstvalue.c (gst_value_array_append_value) 
15279         (gst_value_array_prepend_value, gst_value_array_get_size) 
15280         (gst_value_array_get_value): New API, copied from
15281         gst_value_list_*, only operates on arrays.
15282         (gst_value_list_append_value, gst_value_list_prepend_value) 
15283         (gst_value_list_concat, gst_value_list_get_size) 
15284         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15285
15286         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15287         init_list, because it works on both.
15288         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15289         (gst_value_copy_list_or_array): Renamed from copy_list.
15290         (gst_value_free_list_or_array): Renamed from free_list.
15291         (gst_value_collect_list_or_array): Renamed from collect_list.
15292         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15293         (gst_value_list_or_array_peek_pointer): Renamed from
15294         list_peek_pointer.
15295         (_gst_value_array_value_table, _gst_value_list_value_table):
15296         Update value table functions.
15297         (gst_value_compare_list_or_array): Renamed from compare_list.
15298
15299         * gsttaglist.h: Whoops, foreach function returns void. Also fix
15300         some constness.
15301
15302         * gst/gsttaglist.c:
15303         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15304         GstTagList*. Fixes #143472.
15305
15306         * gst/gststructure.h: Clarify what the foreach/map functions can
15307         or can't do to their arguments.
15308
15309 2005-11-18  Wim Taymans  <wim@fluendo.com>
15310
15311         * gst/gstclock.c: (gst_clock_set_calibration),
15312         (gst_clock_get_calibration):
15313         Doc and API fixes.
15314         Calibration can be set with internal time equal to current
15315         internal time too.
15316
15317 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15318
15319         * gst/gsterror.c:
15320         * gst/gsterror.h:
15321           document
15322
15323 2005-11-18  Andy Wingo  <wingo@pobox.com>
15324
15325         * configure.ac: 
15326         * pkgconfig/gstreamer-net.pc.in:
15327         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15328         * pkgconfig/Makefile.am: Add net pkgconfig files.
15329
15330 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
15331
15332         * gst/gstcaps.c:
15333         * gst/gstghostpad.c:
15334         * gst/gsttrace.c:
15335         * gst/gstvalue.c:
15336         * gst/gstvalue.h:
15337           docs fixes
15338
15339 2005-11-18  Andy Wingo  <wingo@pobox.com>
15340
15341         * gst/net/gstnetclientclock.c: Turn off debugging.
15342
15343         * check/net/gstnetclientclock.c (test_functioning): Assert that the
15344         times connverge somewhat. Can't make a real test.
15345
15346         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15347         integer arithmetic. Return the minimum of the domain, which can be
15348         set as "internal" for gst_clock_set_calibration.
15349         (gst_net_client_clock_observe_times): Call _set_calibration.
15350         (gst_net_client_clock_new): Call _set_calibration instead of
15351         rate_offset.
15352
15353         * check/net/gstnetclientclock.c (test_functioning): Use the right
15354         adjustment api.
15355
15356         * gst/gstclock.h:
15357         * gst/gstclock.c (gst_clock_get_calibration) 
15358         (gst_clock_set_calibration): New functions, obsolete the ones I
15359         added yesterday. Doh. Precision issues mean we have to extrapolate
15360         from a point in the more recent past than 1970.
15361         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15362         obsolete.
15363         (gst_clock_adjust_unlocked): Use the right calibration data.
15364
15365 2005-11-18  Edward Hervey  <edward@fluendo.com>
15366
15367         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
15368         Also reset the ->current_* values in READY->PAUSED
15369
15370 2005-11-18  Andy Wingo  <wingo@pobox.com>
15371
15372         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15373         Whoops, check the right fd. Also add some debugging.
15374         (gst_net_client_clock_observe_times): Adjust for int64 offset.
15375         (do_linear_regression): Add a crapload of debugging. Subtract off
15376         the minimum values from the input series to discard unneeded bits.
15377         Use only int arithmetic. There is still double arithmetic when
15378         calculating the intercept that needs fixing. Return boolean to
15379         indicate success; FALSE would mean the domain or range is too
15380         great. Still needs fixes.
15381
15382 2005-11-18  Wim Taymans  <wim@fluendo.com>
15383
15384         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15385         For the current position in stream time, we need to subtract
15386         accumulated time.
15387         
15388         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15389         Release lock before calling the callback function of async
15390         entries.
15391
15392 2005-11-18  Andy Wingo  <wingo@pobox.com>
15393
15394         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15395         Port goes all the way to MAXUINT16.
15396
15397         * gst/net/gstnettimeprovider.c: Make the port range the same as
15398         for the kernel: 0 assigns, otherwise ports are less than
15399         MAXUINT16.
15400
15401         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15402         port change.
15403
15404         * check/net/gstnetclientclock.c (test_functioning): Add the start
15405         of another test. 
15406
15407 2005-11-18  Wim Taymans  <wim@fluendo.com>
15408
15409         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15410         (gst_bin_remove_func), (bin_bus_handler):
15411         * gst/gstbin.h:
15412         Removing a clock provider from a bin, triggers a clock lost message
15413         so that a new clock will be selected.
15414         Adding a clock to a bin triggers a clock provider message.
15415         Make sure we reselect a clock when we received a clock lost message.
15416         Keep a reference to the element that provided the clock.
15417
15418 2005-11-18  Andy Wingo  <wingo@pobox.com>
15419
15420         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15421         the clock initially so it produces values around the base time.
15422         (gst_net_client_clock_class_init): Typo fix.
15423         (gst_net_client_clock_thread): Add note on when the socket gets
15424         closed.
15425
15426 2005-11-17  Wim Taymans  <wim@fluendo.com>
15427
15428         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15429         Free remote and local time arrays.
15430
15431 2005-11-17  Wim Taymans  <wim@fluendo.com>
15432
15433         * gst/net/gstnetclientclock.c: (do_linear_regression),
15434         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15435         Fix compilation, uninitialized vars and a forgotten continue.
15436
15437 2005-11-17  Andy Wingo  <wingo@pobox.com>
15438
15439         * check/Makefile.am (check_PROGRAMS): 
15440         * check/net/gstnetclientclock.c: Add a most minimal test for the
15441         net client clock. More to come later.
15442
15443         * gst/net/gstnet.h: 
15444         * gst/net/Makefile.am: Add netclientclock.
15445
15446         * gst/net/gstnetclientclock.h:
15447         * gst/net/gstnetclientclock.c: New files, implement an untested
15448         GstClock that takes its time from a network time provider.
15449         Implements the algorithm in network-clock.scm.
15450
15451         * tests/network-clock.scm (*window-size*): Rename from
15452         *queue-length*.
15453         * tests/network-clock.scm (network-time): 
15454         * tests/network-clock-utils.scm (q-push): Update callers.
15455
15456 2005-11-17  Wim Taymans  <wim@fluendo.com>
15457
15458         * gst/gstbin.c: (gst_bin_provide_clock_func),
15459         (gst_bin_sort_iterator_new):
15460         And unref the child too..
15461
15462 2005-11-17  Wim Taymans  <wim@fluendo.com>
15463
15464         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15465         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15466         Refactor the sort iterator so it can be used while holding the
15467         LOCK too.
15468         Make clock selection select a clock closest to the source.
15469
15470 2005-11-17  Michael Smith <msmith@fluendo.com>
15471
15472         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15473         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15474         * gst/gstclock.h:
15475           Anonymous structs are a gcc (and some other compilers) extension, so
15476           don't use them. Since this is only for ABI-compatibility, and our
15477           API/ABI freeze is over in a few days, this whole thing will only
15478           last a few days, so don't bother trying to think up a meaningful
15479           name for the struct.
15480
15481 2005-11-17  Andy Wingo  <wingo@pobox.com>
15482
15483         * gst/gstclock.h (GstClock): Add rate and offset properties,
15484         preserving ABI stability. Add rate/offset accessors. Will file bug
15485         for the freeze break.
15486
15487         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15488         and offset, trying to keep precision and avoiding
15489         underflow/overflow.
15490         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15491         functions. Make gst_clock_set_time_adjust obsolete.
15492         (gst_clock_set_time_adjust): Note that this function is obsolete.
15493         Will file bug soon.
15494
15495         * gst/base/gstbasetransform.h: Make the ABI-stability hack
15496         greppable by using GST_PADDING-1+1.
15497
15498 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
15499
15500         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15501
15502         * gst/gstmessage.c: (gst_message_parse_clock_lost):
15503           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15504
15505         * gst/gstpadtemplate.h:
15506         * gst/gstpluginfeature.h:
15507           Don't use c++ style comments in headers (#321638).
15508
15509 2005-11-16  Andy Wingo  <wingo@pobox.com>
15510
15511         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15512         buffer.
15513
15514         * check/net/gstnettimeprovider.c: Check to see that the time
15515         provider actually provides times. Works, yo!
15516
15517 2005-11-16  Wim Taymans  <wim@fluendo.com>
15518
15519         * check/Makefile.am:
15520         Enable more tests.
15521
15522         * check/elements/fakesrc.c: (GST_START_TEST):
15523         Set element to NULL before disposing it.
15524
15525 2005-11-16  Andy Wingo  <wingo@pobox.com>
15526
15527         * gst/net/Makefile.am:
15528         * gst/net/gstnet.h:
15529         * gst/net/gstnettimeprovider.c: 
15530         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15531         provider, include it from gstnet.h, and add it to the build.
15532
15533         * gst/net/gstnettimepacket.h: 
15534         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15535         sending and receiving.
15536
15537 2005-11-16  Wim Taymans  <wim@fluendo.com>
15538
15539         * check/Makefile.am:
15540         Enable valgrind check.
15541
15542         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15543         (gst_fake_src_alloc_buffer):
15544         Fix memleak.
15545
15546 2005-11-16  Wim Taymans  <wim@fluendo.com>
15547
15548         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15549         Call parent finalize too.
15550
15551 2005-11-16  Wim Taymans  <wim@fluendo.com>
15552
15553         * check/Makefile.am:
15554         Enable valgrind check that should work fine now.
15555
15556         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15557         * gst/gstqueue.c: (gst_queue_init):
15558         Fix memleaks in pad allocation.
15559
15560 2005-11-16  Andy Wingo  <wingo@pobox.com>
15561
15562         * gst/net/Makefile.am:
15563         * gst/net/gstnet.h: New part of core to hold network elements and
15564         objects. Put in core because it exposes API that applications want
15565         to use. The library is named libgstnet-tempname right now because
15566         of the existing libgstnet in gst-plugins-base. Solution is
15567         probably to rename the one in plugins-base; will file a bug for
15568         the freeze break.
15569
15570         * gst/net/gstnettimeprovider.c: 
15571         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15572         get_time call over the network.
15573
15574         * configure.ac: 
15575         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15576
15577         * check/Makefile.am:
15578         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15579         get additions shortly.
15580
15581 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15582
15583         * gst/gstpad.c: (gst_pad_new_from_static_template):
15584         * gst/gstpad.h:
15585           add gst_pad_new_from_static_template functions
15586         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15587         (gst_check_setup_sink_pad):
15588         * gst/elements/gsttee.c: (gst_tee_init):
15589           and use them
15590
15591 2005-11-16  Wim Taymans  <wim@fluendo.com>
15592
15593         * gst/gstpad.c: (gst_pad_pause_task):
15594         Removed warning, it's not really an error either.
15595
15596 2005-11-16  Wim Taymans  <wim@fluendo.com>
15597
15598         * gst/base/gstbasetransform.c:
15599         (gst_base_transform_prepare_output_buf),
15600         (gst_base_transform_event):
15601         Check if the caps are NULL, this can happen if the element
15602         is shutting down and the pad caps are set to NULL.
15603
15604 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15605
15606         * gst/elements/gsttee.c: (gst_tee_init):
15607           fix pad template leak in tee
15608
15609 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15610
15611         * gst/glib-compat.c: (g_value_dup_gst_object):
15612         * gst/glib-compat.h:
15613         * gst/gstpad.c: (gst_pad_set_property):
15614           use gst_object_ref when setting the pad template; this will
15615           trigger the pad template leaks on GLib 2.6 and the slaves
15616
15617 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15618
15619         * gst/glib-compat.c: (gst_flags_get_first_value):
15620         * gst/glib-compat.h:
15621         * gst/gstregistryxml.c:
15622           remove functions copied from GLib 2.6
15623
15624 2005-11-16  Michael Smith <msmith@fluendo.com>
15625
15626         * gst/Makefile.am:
15627           Don't link against VALGRIND_LIBS. That was always the wrong thing to
15628           do, but only breaks with newer valgrind versions. We're not a
15629           valgrind tool, we have no link-time dependencies on libcoregrind.
15630
15631 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15632
15633         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15634           some debug changes
15635         * gst/gstmessage.h:
15636           typo fixes
15637
15638 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15639
15640         * gst/base/gstbasesrc.c: (gst_base_src_init):
15641         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15642         * gst/gstqueue.c: (gst_queue_init):
15643         * gst/gstregistryxml.c: (load_feature):
15644           Revert all these unrefs, they don't even pass make check !
15645
15646 2005-11-15  Johan Dahlin  <johan@gnome.org>
15647
15648         * gst/base/gstbasesrc.c: (gst_base_src_init):
15649         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15650         * gst/gstqueue.c: (gst_queue_init): 
15651         Free pad templates, fixes a couple of leaks.
15652
15653 2005-11-15  Daniel Fischer  <dan at f3c dot com>
15654
15655         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15656
15657         * gst/gstpad.c: (gst_pad_get_property):
15658           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15659           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15660           (#321452)
15661
15662 2005-11-15  Wim Taymans  <wim@fluendo.com>
15663
15664         * gst/gstevent.c:
15665         Small doc update.
15666
15667 2005-11-15  Andy Wingo  <wingo@pobox.com>
15668
15669         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15670
15671         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15672         using GST_CLOCK_TIME_NONE to disable base time management.
15673         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15674         time if it was NONE before.
15675         (gst_pipeline_change_state): Only munge the base time if
15676         stream_time != GST_CLOCK_TIME_NONE.
15677
15678         * check/gst/gstpipeline.c (test_base_time): Punt around the
15679         problem of the probe not being called, because that's not the
15680         issue I'm looking at. Add a check that setting stream_time to NONE
15681         disables base time management.
15682         
15683 2005-11-15  Wim Taymans  <wim@fluendo.com>
15684
15685         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15686         segment_stop == -1 at startup.
15687
15688         * gst/base/gstbasetransform.c: (gst_base_transform_event),
15689         (gst_base_transform_change_state):
15690         Init segment values at start.
15691
15692 2005-11-15  Wim Taymans  <wim@fluendo.com>
15693
15694         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15695         0 segment values are 0 in any format.
15696
15697         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15698         * gst/base/gstbasetransform.h:
15699         Parse newsegment correctly in basetransform
15700
15701         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15702         Sync to clock using updated segment values.
15703
15704 2005-11-15  Andy Wingo  <wingo@pobox.com>
15705
15706         * check/gst/gstpipeline.c (test_base_time): Add check that the
15707         base time and stream time are reset correctly.
15708
15709 2005-11-15  Wim Taymans  <wim@fluendo.com>
15710
15711         * docs/design/part-TODO.txt:
15712         Some more TODO items.
15713
15714 2005-11-15  Andy Wingo  <wingo@pobox.com>
15715
15716         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15717         error if the user selected "no clock" as the clocking method.
15718
15719         * check/gst/gstpipeline.c (test_base_time): New test for buffer
15720         timestamps with live capture.
15721
15722         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15723         is 0 but we are a live source, timestamp the buffers using the
15724         element's clock.
15725
15726 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
15727
15728         * docs/gst/gstreamer-sections.txt:
15729         * gst/gsterror.c:
15730         * gst/gstghostpad.c:
15731         * gst/gstobject.h:
15732         * gst/gstxml.c:
15733           more section docs
15734
15735 2005-11-14  Wim Taymans  <wim@fluendo.com>
15736
15737         * common/gst.supp:
15738           add suppressions from Wim's Debian machine
15739
15740 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15741
15742         * common/gst.supp:
15743           add suppressions from Andy's AMD64 Ubuntu machine
15744
15745 2005-11-14  Andy Wingo  <wingo@pobox.com>
15746
15747         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15748         STATE_LOCK not necessary. Fixes #311489.
15749
15750         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15751         #305291.
15752
15753         * gst/gstindex.c (gst_index_add_object): Note in the docs that
15754         this function is not implemented.
15755
15756 2005-11-14  Julien MOUTTE  <julien@moutte.net>
15757
15758         * gst/base/gstbasetransform.c:
15759         (gst_base_transform_prepare_output_buf):
15760         Ref the source pad caps while we need them.
15761         Fixes (#321386)
15762
15763 2005-11-11  Wim Taymans  <wim@fluendo.com>
15764
15765         * docs/gst/gstreamer-sections.txt:
15766         Added some docs for GstCollectData.
15767
15768         * gst/base/gstadapter.c:
15769         Some small code example fix.
15770
15771         * gst/base/gstcollectpads.c:
15772         * gst/base/gstcollectpads.h:
15773         Document some more.
15774
15775 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15776
15777         * configure.ac: back to HEAD
15778
15779 === release 0.9.5 ===
15780
15781 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
15782
15783         * configure.ac:
15784           releasing 0.9.5, "Bike Lunch Day"
15785
15786 2005-11-11  Wim Taymans  <wim@fluendo.com>
15787
15788         * gst/gstbuffer.c: (_gst_buffer_copy):
15789         Copy more flags.
15790
15791         * gst/gstcaps.c: (gst_caps_is_equal):
15792         Fix some docs.
15793         Make _is_equal fast in the trivial cases.
15794
15795         * gst/gstminiobject.c:
15796         * gst/gstminiobject.h:
15797         More docs. Spifify .h file.
15798
15799         * gst/gstutils.c:
15800         Small doc update.
15801
15802 2005-11-11  Wim Taymans  <wim@fluendo.com>
15803
15804         * gst/base/gstbasetransform.c:
15805         (gst_base_transform_prepare_output_buf),
15806         (gst_base_transform_handle_buffer):
15807         Small cleanups.
15808         If we're processing a buffer and need to allocate an output
15809         buffer, we cannot accept a format change. If we did get a 
15810         format change, we have to alloc a buffer ourselves of the 
15811         right size.
15812
15813 2005-11-11  Wim Taymans  <wim@fluendo.com>
15814
15815         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15816         While checking the flag for reentrancy in the gstcaps function
15817         is nice to detect recursive invocations, it also makes it 
15818         impossible to call getcaps from multiple threads, which must be
15819         possible. So, checking for recursive calls has to go.
15820
15821 2005-11-11  Michael Smith <msmith@fluendo.com>
15822
15823         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15824           Don't sync on buffers that fall partially outside our current
15825           segment. Prevents an assertion failure/abort playing some files.
15826
15827 2005-11-10  Andy Wingo  <wingo@pobox.com>
15828
15829         * check/gst/gstbin.c (test_message_state_changed_children): Style
15830         fix..
15831
15832         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15833         gst_bus_poll with the signal watch. Ensures that poll and a signal
15834         watch see the same messages.
15835
15836         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15837         a poll and a watch at the same time get the same messages.
15838
15839 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15840
15841         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15842         * gst/gstcaps.c: (gst_caps_intersect):
15843           Don't call gst_caps_do_simplify - it doesn't respect order of caps
15844           and it's not needed.
15845
15846 2005-11-10  Wim Taymans  <wim@fluendo.com>
15847
15848         * docs/design/part-TODO.txt:
15849         Updated todo.
15850
15851 2005-11-10  Wim Taymans  <wim@fluendo.com>
15852
15853         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15854         * gst/base/gstbasesrc.c: (gst_base_src_wait),
15855         (gst_base_src_do_sync), (gst_base_src_get_range):
15856         Implement clock sync in base class.
15857
15858 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15859
15860         patch by: Tim-Philipp Müller <tim at centricular dot net>
15861
15862         * gst/gststructure.c: (gst_structure_parse_field),
15863         (gst_structure_from_string):
15864           Forward-port a 0.8 patch to handle escaped spaces in structure string,
15865           so that gst_parse_launch() can deal with spaces in filtered link
15866           caps (fixes #164479)
15867         * check/gst/capslist.h:
15868         * check/gst/gststructure.c: (GST_START_TEST):
15869           add unit tests for this change
15870
15871 2005-11-10  Wim Taymans  <wim@fluendo.com>
15872
15873         * docs/gst/gstreamer-sections.txt:
15874         * gst/gstelement.c:
15875         * gst/gstelement.h:
15876         Fix docs, move some STATE macros to private.
15877
15878 2005-11-10  Wim Taymans  <wim@fluendo.com>
15879
15880         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15881         Added check for bug #317341
15882
15883         * gst/gstbuffer.c:
15884         * gst/gstbuffer.h:
15885         Some more spiffifying.
15886
15887         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15888         Call peer linkfunction if we are a source pad. Totally fixes
15889         #317341
15890
15891         * gst/gstpad.c:
15892         Update docs, source pads should call the peer linkfunction
15893         so they can atomically perform the pad link.
15894
15895 2005-11-09  Wim Taymans  <wim@fluendo.com>
15896
15897         * gst/gstbuffer.c:
15898         * gst/gstbuffer.h:
15899         Uber-spiffy-spiffify some more.
15900
15901 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
15902
15903         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15904         * gst/elements/gstfilesink.c: (gst_file_sink_init):
15905         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15906         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15907         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15908         * gst/gstpad.c: (gst_pad_init):
15909           Use GST_DEBUG_FUNCPTR() more extensively.
15910
15911 2005-11-09  Wim Taymans  <wim@fluendo.com>
15912
15913         * gst/gstobject.c: (gst_object_class_init):
15914         * gst/gstobject.h:
15915         Documentation fixes.
15916
15917 2005-11-09  Edward Hervey  <edward@fluendo.com>
15918
15919         * gst/gsttypefindfactory.c:
15920         Fix docs.
15921         
15922 2005-11-09  Edward Hervey  <edward@fluendo.com>
15923
15924         * gst/base/gsttypefindhelper.c:
15925         * gst/gsttypefind.c:
15926         * gst/gsttypefind.h:
15927         Fix docs.
15928
15929 2005-11-09  Wim Taymans  <wim@fluendo.com>
15930
15931         * gst/gstiterator.c:
15932         Fix revision data.
15933
15934         * gst/gsttask.c:
15935         * gst/gsttask.h:
15936         Fix docs.
15937
15938 2005-11-09  Wim Taymans  <wim@fluendo.com>
15939
15940         * gst/gstevent.h:
15941         * gst/gsturi.h:
15942         Fix docs.
15943
15944 2005-11-09  Wim Taymans  <wim@fluendo.com>
15945
15946         * docs/gst/gstreamer-sections.txt:
15947         Moved the message async delivery private lock and cond
15948         to the private section.
15949
15950         * gst/gstmessage.c:
15951         * gst/gstmessage.h:
15952         Fixed docs.
15953
15954 2005-11-09  Edward Hervey  <edward@fluendo.com>
15955
15956         * docs/gst/gstreamer-sections.txt:
15957         * gst/gsturi.c:
15958         * gst/gsturi.h:
15959         Document GstURIHandler
15960
15961 2005-11-09  Wim Taymans  <wim@fluendo.com>
15962
15963         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15964         (gst_iterator_find_custom):
15965         * gst/gstiterator.h:
15966         Fix iterator docs.
15967
15968 2005-11-09  Wim Taymans  <wim@fluendo.com>
15969
15970         * gst/gstbin.h:
15971         Document another field.
15972
15973         * gst/gststructure.c:
15974         * gst/gststructure.h:
15975         Document.
15976
15977 2005-11-09  Wim Taymans  <wim@fluendo.com>
15978
15979         * gst/gstbin.h:
15980         Documented structs.
15981
15982 2005-11-09  Wim Taymans  <wim@fluendo.com>
15983
15984         * docs/gst/gstreamer-sections.txt:
15985         Added some new macros.
15986
15987         * gst/gstclock.c:
15988         * gst/gstclock.h:
15989         * gst/gstobject.h:
15990         Docs updates.
15991
15992 2005-11-09  Wim Taymans  <wim@fluendo.com>
15993
15994         * docs/design/part-TODO.txt:
15995         Some more items for the TODO
15996
15997         * gst/gstcaps.c:
15998         * gst/gstcaps.h:
15999         Document GstCaps.
16000
16001 2005-11-09  Andy Wingo  <wingo@pobox.com>
16002
16003         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16004         to work on something else now tho...
16005
16006         * gst/base/gstadapter.c: More adapter docs.
16007
16008         * gst/elements/gstfilesink.c (gst_file_sink_start) 
16009         (gst_file_sink_stop): New functions, replace the state change
16010         handler.
16011         (gst_file_sink_class_init): Hook up the start and stop functions.
16012         (gst_file_sink_base_init): Don't set the state change handler any
16013         more. It was a bit ugly too, being set from here...
16014         (gst_file_sink_get_property, gst_file_sink_set_property):
16015         Cleanups...
16016         (gst_file_sink_set_location): More robust check that doesn't call
16017         GST_STATE. Ugggggg.
16018
16019 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
16020
16021         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16022           Hold STREAM_LOCK while pushing newsegment or tag events as well.
16023
16024 2005-11-08  Wim Taymans  <wim@fluendo.com>
16025
16026         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16027         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16028         (gst_base_sink_chain), (gst_base_sink_change_state):
16029         * gst/base/gstbasesink.h:
16030         * gst/base/gstbasesrc.h:
16031         * gst/gstelement.h:
16032         * gst/gstevent.h:
16033         Avoid excessive typechecking in macros.
16034
16035         * gst/gstminiobject.c: (gst_mini_object_get_type),
16036         (gst_mini_object_init), (gst_mini_object_new),
16037         (gst_mini_object_free):
16038         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16039         (gst_object_finalize):
16040         Remove cruft code, optimize alloc_trace.
16041
16042 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16043
16044         * docs/faq/gst-uninstalled:
16045           fix up PS1 for systems that try to reset it
16046
16047 2005-11-07  Wim Taymans  <wim@fluendo.com>
16048
16049         * gst/base/gstbasesrc.c: (gst_base_src_init),
16050         (gst_base_src_get_range):
16051         Set the segment_end to -1 initially. Fixed typefind.
16052
16053 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
16054
16055         * gst/base/gstadapter.c:
16056           Debug category should be 'adapter', not 'GstAdapter'.
16057           
16058         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16059         (gst_collectpads_class_init), (gst_collectpads_init),
16060         (gst_collectpads_peek), (gst_collectpads_pop),
16061         (gst_collectpads_event), (gst_collectpads_chain):
16062           Add debug category and some debugging output. Use boilerplate
16063           macros. Remove some extraneous words from docs.
16064
16065 2005-11-05  Andy Wingo  <wingo@pobox.com>
16066
16067         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16068         macro.
16069
16070 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16071
16072         * docs/gst/gstreamer-sections.txt:
16073         * gst/gstcaps.h:
16074         * gst/gstinfo.c:
16075         * gst/gstminiobject.h:
16076         * gst/gstobject.h:
16077         * gst/gstutils.h:
16078           more docs added
16079
16080 2005-11-04  Wim Taymans  <wim@fluendo.com>
16081
16082         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16083         Small update to stop at the configured segment_end
16084         position.
16085
16086 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16087
16088         * gst/gstregistry.c:
16089         * gst/gstregistry.h:
16090           added missing docs
16091
16092 2005-11-04  Edward Hervey  <edward@fluendo.com>
16093
16094         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16095         Check if we are doing a segment seek and have arrived at the
16096         end of that segment.
16097
16098 2005-11-04  Wim Taymans  <wim@fluendo.com>
16099
16100         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16101         Don't leak a mutex unlock in case of an error.
16102
16103         * gst/gstbus.h:
16104         Doc fixes.
16105
16106 2005-11-04  Wim Taymans  <wim@fluendo.com>
16107
16108         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16109         (gst_bus_post):
16110         Get the context to wake up only once.
16111
16112 2005-11-03  Wim Taymans  <wim@fluendo.com>
16113
16114         * check/states/sinks.c: (GST_START_TEST):
16115         Uncomment fixed check.
16116
16117         * docs/design/part-TODO.txt:
16118         Updated TODO.
16119
16120         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16121         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16122         (gst_base_sink_get_position):
16123         If we are going to PLAYING, post the right pending state
16124         when we post the intermediate paused message.
16125
16126         * gst/gstelement.c: (gst_element_continue_state),
16127         (gst_element_set_state_func), (gst_element_change_state):
16128         Don't post state changes that were between the same state
16129         and were not ASYNC.
16130
16131 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16132
16133         * docs/gst/gstreamer-sections.txt:
16134         * gst/gstcaps.h:
16135         * gst/gstinfo.c:
16136         * gst/gstminiobject.h:
16137         * gst/gstobject.h:
16138         * gst/gstutils.h:
16139           more docs and doc style fixes
16140
16141 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16142
16143         * docs/gst/gstreamer-sections.txt:
16144         * gst/gstelement.c:
16145         * gst/gstminiobject.c:
16146         doc fixes
16147
16148 2005-11-03  Andy Wingo  <wingo@pobox.com>
16149
16150         * check/states/sinks.c (test_livesrc_sink): Add checks that the
16151         state-changed messages actually have the right order and the right
16152         values.
16153
16154 2005-11-03  Wim Taymans  <wim@fluendo.com>
16155
16156         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16157         Added some more checks. Specifically the case where NO_PREROLL
16158         elements are in the pipeline.
16159
16160         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16161         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16162         (gst_base_sink_get_position):
16163         Post READY->PAUSED state change messages too.
16164         Fix bug where VOID was posted as pending state...
16165
16166         * gst/gstbin.c: (gst_bin_recalc_state):
16167         use _element_continue_state() to continue the state change.
16168
16169         * gst/gstelement.c: (gst_element_continue_state),
16170         (gst_element_commit_state), (gst_element_set_state_func),
16171         (gst_element_change_state), (gst_element_change_state_func):
16172         Lots of state change cleanups, assign the STATE_RETURN in
16173         a new continue_state() function that also propagates the
16174         last return value from a state change to the app.
16175         Update some debug statements with proper category.
16176
16177 2005-11-03  Wim Taymans  <wim@fluendo.com>
16178
16179         * docs/design/part-events.txt:
16180         * docs/design/part-gstpipeline.txt:
16181         * docs/design/part-messages.txt:
16182         * docs/design/part-overview.txt:
16183         * docs/design/part-seeking.txt:
16184         * docs/design/part-states.txt:
16185         * docs/design/part-trickmodes.txt:
16186         * docs/manual/advanced-position.xml:
16187         Small docs updates.
16188
16189         * gst/gstobject.h:
16190         People think !! is ugly, this looks better.
16191
16192         * gst/gstpad.c: (gst_pad_set_blocked_async):
16193         Remove !! since it's fixed elsewhere now.
16194
16195 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16196
16197         * gst/gstminiobject.h:
16198         * gst/gstobject.h:
16199           Add !! to _FLAG_IS_SET macros to make the result boolean.
16200
16201 2005-11-03  Edward Hervey  <edward@fluendo.com>
16202
16203         * gst/gstpad.c: (gst_pad_set_blocked_async):
16204         comparing a flag and a gboolean rarely returns coherent results...
16205         Added two characters (!!) to make that work correctly.
16206         
16207 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16208
16209         * gst/gstbus.c: (gst_bus_class_init):
16210           Fix some typos.
16211           
16212         * gst/gstqueue.c: (gst_queue_loop):
16213           Don't assume a miniobject that isn't a buffer is an
16214           event (it could be that there is a refcounting
16215           problem somewhere and the pointer is stale and
16216           refers to an already destroyed miniobject).
16217
16218 2005-11-03  Julien MOUTTE  <julien@moutte.net>
16219
16220         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16221
16222 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16223
16224         * docs/manual/advanced-position.xml:
16225           Update seek example and explanations to current 0.9 API.
16226
16227         * gst/elements/gsttypefindelement.c:
16228         (gst_type_find_element_activate):
16229           Remove FIXME comment now that the found caps
16230           are unreffed.
16231
16232 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16233
16234         * gst/gstregistryxml.c: (load_feature):
16235           Add another GST_STR_NULL instance
16236
16237 2005-11-02  Edward Hervey  <edward@fluendo.com>
16238
16239         * gst/gstpad.c: (handle_pad_block):
16240         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16241         
16242 2005-11-02  Wim Taymans  <wim@fluendo.com>
16243
16244         * gst/gstbin.c:
16245         Fix typo in docs.
16246
16247         * gst/gstelement.c: (gst_element_commit_state):
16248         Remove unused value.
16249
16250         * gst/gstiterator.c:
16251         Mention that the returned element is reffed in the docs.
16252
16253 2005-11-02  Wim Taymans  <wim@fluendo.com>
16254
16255         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16256         (gst_pad_push), (gst_pad_push_event):
16257         Unlock blocked pads when they are flushed.
16258
16259 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16260
16261         * docs/README:
16262         * docs/gst/gstreamer-sections.txt:
16263         * gst/gstbin.c:
16264           doc updates
16265         * gst/gstregistry.c: (gst_registry_scan_path_level):
16266           fix for a nasty little missed situation where an installed plug-in
16267           which was in the cache did not get overridden by an uninstalled one
16268           which was earlier in the plugin path because the newly created plugin
16269           for the uninstalled one (not in the registry) didn't get its
16270           ->registered set to TRUE
16271
16272 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16273
16274         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16275         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16276         (gst_collectpads_is_active), (gst_collectpads_collect),
16277         (gst_collectpads_collect_range), (gst_collectpads_start),
16278         (gst_collectpads_stop), (gst_collectpads_peek),
16279         (gst_collectpads_pop), (gst_collectpads_available),
16280         (gst_collectpads_read), (gst_collectpads_flush):
16281           Guard public API with assertions.
16282         
16283         * gst/gstpad.c:
16284           Fix docs for gst_pad_set_link_function().
16285
16286 2005-11-02  Johan Dahlin  <johan@gnome.org>
16287
16288         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
16289         Unref found_caps after we used it.
16290
16291 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16292
16293         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16294           Don't try to ref NULL.
16295
16296 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16297
16298         * win32/common/config.h.in:
16299           provide a GST_FUNCTION that just gives a string for now
16300
16301 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16302
16303         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16304         (gst_object_flags_get_type), (register_gst_bin_flags),
16305         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16306         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16307         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16308         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16309         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16310         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16311         (gst_clock_flags_get_type), (register_gst_state),
16312         (gst_state_get_type), (register_gst_state_change_return),
16313         (gst_state_change_return_get_type), (register_gst_state_change),
16314         (gst_state_change_get_type), (register_gst_element_flags),
16315         (gst_element_flags_get_type), (register_gst_core_error),
16316         (gst_core_error_get_type), (register_gst_library_error),
16317         (gst_library_error_get_type), (register_gst_resource_error),
16318         (gst_resource_error_get_type), (register_gst_stream_error),
16319         (gst_stream_error_get_type), (register_gst_event_type),
16320         (gst_event_type_get_type), (register_gst_seek_type),
16321         (gst_seek_type_get_type), (register_gst_seek_flags),
16322         (gst_seek_flags_get_type), (register_gst_format),
16323         (gst_format_get_type), (register_gst_index_certainty),
16324         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16325         (gst_index_entry_type_get_type),
16326         (register_gst_index_lookup_method),
16327         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16328         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16329         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16330         (gst_index_flags_get_type), (register_gst_debug_level),
16331         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16332         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16333         (gst_iterator_result_get_type), (register_gst_iterator_item),
16334         (gst_iterator_item_get_type), (register_gst_message_type),
16335         (gst_message_type_get_type), (register_gst_mini_object_flags),
16336         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16337         (gst_pad_link_return_get_type), (register_gst_flow_return),
16338         (gst_flow_return_get_type), (register_gst_activate_mode),
16339         (gst_activate_mode_get_type), (register_gst_pad_direction),
16340         (gst_pad_direction_get_type), (register_gst_pad_flags),
16341         (gst_pad_flags_get_type), (register_gst_pad_presence),
16342         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16343         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16344         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16345         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16346         (gst_plugin_flags_get_type), (register_gst_rank),
16347         (gst_rank_get_type), (register_gst_query_type),
16348         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16349         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16350         (gst_tag_flag_get_type), (register_gst_task_state),
16351         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16352         (gst_alloc_trace_flags_get_type),
16353         (register_gst_type_find_probability),
16354         (gst_type_find_probability_get_type), (register_gst_uri_type),
16355         (gst_uri_type_get_type), (register_gst_parse_error),
16356         (gst_parse_error_get_type):
16357         * win32/common/gstversion.h:
16358           update win32 copies
16359
16360 2005-11-01  Luca Ognibene  <luogni@tin.it>
16361
16362         * gst/gst.c:
16363           fix docs. popt is dead, long live GOption.
16364
16365 2005-10-31  Wim Taymans  <wim@fluendo.com>
16366
16367         * gst/gstbuffer.h:
16368         Small doc fix.
16369
16370 2005-10-31  Andy Wingo  <wingo@pobox.com>
16371
16372         * Boo!
16373
16374         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16375
16376         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16377         need to serialize property notifications on GLib 2.8. GLib 2.6 has
16378         the possibility of deadlocks here if code calling notify() or
16379         set() has a lock that can be taken in another notify handler (ABBA
16380         with class lock and e.g. python GIL state lock).
16381
16382 2005-10-28  Julien MOUTTE  <julien@moutte.net>
16383
16384         * gst/gstbus.c: Doc updates.
16385
16386 2005-10-28  Wim Taymans  <wim@fluendo.com>
16387
16388         * docs/design/part-TODO.txt:
16389         * gst/gstiterator.c:
16390         * gst/gstsystemclock.c:
16391         * gst/gstsystemclock.h:
16392         Doc updates.
16393
16394 2005-10-28  Edward Hervey  <edward@fluendo.com>
16395
16396         * docs/gst/gstreamer-docs.sgml:
16397         * docs/gst/gstreamer-sections.txt:
16398         the GstURIType documentation page is private, it only defines GstURIType
16399         which should be defined in the GstURIHandler page
16400         
16401 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16402
16403         * gst/gstbin.c: (gst_bin_class_init):
16404         * gst/gstbin.h:
16405         * gst/gstutils.c:
16406         Documentation updates.
16407
16408 2005-10-28  Wim Taymans  <wim@fluendo.com>
16409
16410         * docs/gst/gstreamer-sections.txt:
16411         * gst/gstclock.c:
16412         * gst/gstclock.h:
16413         Documented the clocks.
16414
16415 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
16416
16417         * docs/gst/gstreamer-sections.txt:
16418           move some macros to private sections
16419         * gst/gstminiobject.c:
16420         * gst/gstminiobject.h:
16421           add descriptions provided by ds and some more
16422         * gst/gstpad.h:
16423           mark macro as to be removed
16424
16425 2005-10-28  Wim Taymans  <wim@fluendo.com>
16426
16427         * docs/design/part-TODO.txt:
16428         Add an item to TODO.
16429
16430         * gst/gstiterator.c: (gst_iterator_fold),
16431         (gst_iterator_find_custom):
16432         * gst/gstiterator.h:
16433         Add iterator docs.
16434
16435 2005-10-28  Wim Taymans  <wim@fluendo.com>
16436
16437         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16438         (gst_base_transform_init):
16439         Don't leak class.
16440
16441         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16442         An EOS event marks the queue as completely filled.
16443
16444 2005-10-27  Wim Taymans  <wim@fluendo.com>
16445
16446         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16447         (gst_base_sink_do_sync), (gst_base_sink_get_position):
16448         Some more debugging.
16449
16450         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16451         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16452         (gst_base_transform_event), (gst_base_transform_getrange),
16453         (gst_base_transform_chain):
16454         * gst/base/gstbasetransform.h:
16455         Fix debugging,
16456         Protect transform and concurrent buffer alloc with a new lock.
16457         Try not to break ABI/API.
16458
16459 2005-10-27  Wim Taymans  <wim@fluendo.com>
16460
16461         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16462         (gst_base_src_init), (gst_base_src_query),
16463         (gst_base_src_default_newsegment),
16464         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16465         (gst_base_src_send_event), (gst_base_src_event_handler),
16466         (gst_base_src_pad_get_range), (gst_base_src_loop),
16467         (gst_base_src_unlock), (gst_base_src_default_negotiate),
16468         (gst_base_src_start), (gst_base_src_deactivate),
16469         (gst_base_src_activate_push), (gst_base_src_change_state):
16470         Move some stuff around and cleanup things.
16471
16472 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
16473
16474         * gst/base/gstbasesrc.c: (gst_base_src_query):
16475           Add missing break statements.
16476
16477 2005-10-27  Wim Taymans  <wim@fluendo.com>
16478
16479         * check/gst/gstbin.c: (GST_START_TEST):
16480         An extra refcount is taken in basesrc.
16481
16482         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16483         (gst_base_src_get_range), (gst_base_src_pad_get_range),
16484         (gst_base_src_loop):
16485         Small cleanups, check for flushing after being unlocked from the 
16486         LIVE_LOCK. take refcounts correctly (not yet everywhere).
16487         Don't send out EOS when going to READY.
16488
16489 2005-10-27  Wim Taymans  <wim@fluendo.com>
16490
16491         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16492         (gst_base_sink_get_position):
16493         Some more debug.
16494
16495         * gst/gstbin.c: (message_check), (bin_replace_message),
16496         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16497         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16498         (bin_query_duration_init), (bin_query_duration_fold),
16499         (bin_query_duration_done), (bin_query_generic_fold),
16500         (gst_bin_query):
16501         * tools/gst-launch.c: (main):
16502         Remove old option.
16503
16504 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
16505
16506         * examples/controller/audio-example.c: (main):
16507         * examples/queue/queue.c: (event_loop):
16508         * gst/base/gstbasetransform.h:
16509         * gst/gstelement.c: (gst_element_send_event):
16510         * gst/gstevent.h:
16511         * gst/gstpad.c: (gst_pad_send_event):
16512           fixing examples
16513           fixing docs typos
16514           changing log priority in error situations
16515
16516 2005-10-25  Wim Taymans  <wim@fluendo.com>
16517
16518         * gst/gstbin.c: (message_check), (bin_replace_message),
16519         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16520         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16521         (bin_query_duration_init), (bin_query_duration_fold),
16522         (bin_query_duration_done), (bin_query_generic_fold),
16523         (gst_bin_query):
16524         Some doc and debug updates.
16525         Cache previously requested query DURATION for speed. invalidate
16526         cached duration if element posts a DURATION message.
16527
16528 2005-10-25  Wim Taymans  <wim@fluendo.com>
16529
16530         * docs/design/part-TODO.txt:
16531         Update TODO.
16532
16533         * gst/gstbin.c: (message_check), (bin_replace_message),
16534         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16535         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16536         (bin_query_duration_init), (bin_query_duration_fold),
16537         (bin_query_duration_done), (bin_query_generic_fold),
16538         (gst_bin_query):
16539         Handle SEGMENT_START/DONE messages correctly.
16540         More evolved query algorithm that handles duration queries
16541         correctly.
16542
16543         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16544         (gst_element_get_state_func), (gst_element_abort_state),
16545         (gst_element_commit_state), (gst_element_lost_state):
16546         Some more debugging.
16547
16548         * gst/gstmessage.h:
16549         Added doc.
16550
16551 2005-10-25  Wim Taymans  <wim@fluendo.com>
16552
16553         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16554         Don't use invalid stream_time.
16555
16556         * gst/gstevent.c: (gst_event_new_newsegment):
16557         stream_time in newsegment cannot be undefined.
16558
16559 2005-10-24  Wim Taymans  <wim@fluendo.com>
16560
16561         * gst/gstbus.c:
16562         Doc fix.
16563
16564         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16565         (gst_queue_loop):
16566         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16567
16568 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
16569
16570         * docs/libs/tmpl/gstdparam.sgml:
16571         * docs/libs/tmpl/gstdplinint.sgml:
16572         * docs/libs/tmpl/gstdpman.sgml:
16573         * docs/libs/tmpl/gstdpsmooth.sgml:
16574         * docs/libs/tmpl/gstunitconvert.sgml:
16575           these are obsolete
16576
16577 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16578
16579         * configure.ac:
16580           back to HEAD
16581
16582 === release 0.9.4 ===
16583
16584 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16585
16586         * configure.ac:
16587           releasing 0.9.4, "Tyrannosaurus Rex"
16588
16589 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
16590
16591         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16592         (gst_file_sink_get_current_offset):
16593           Use fseeko() and ftello() if available. When falling back on
16594           lseek() to get the current offset, fflush() first to make sure
16595           everything is up-to-date and we get the right offset.
16596
16597 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16598
16599         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16600         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16601         * gst/gsterror.c: (_gst_stream_errors_init):
16602         * gst/gsterror.h:
16603         * gst/gstqueue.c: (gst_queue_loop):
16604         * po/POTFILES.in:
16605           remove prematurely added error category and clean up the instances
16606
16607 2005-10-21  Wim Taymans  <wim@fluendo.com>
16608
16609         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16610         (gst_base_sink_get_position), (gst_base_sink_query),
16611         (gst_base_sink_change_state):
16612         Simply set the right flag when going to playing, that's all
16613         we need to do instead of calling a function inside the object
16614         lock (that could take the lock as well and deadlock)
16615
16616 2005-10-21  Wim Taymans  <wim@fluendo.com>
16617
16618         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16619         (gst_base_src_loop):
16620         Don't warn, the peer element knows what to do best when
16621         the seek failed, it might try something else.
16622
16623 2005-10-21  Wim Taymans  <wim@fluendo.com>
16624
16625         * gst/base/gstbasesrc.c: (gst_base_src_init),
16626         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16627         Fix seeking.
16628
16629 2005-10-21  Wim Taymans  <wim@fluendo.com>
16630
16631         * docs/design/part-segments.txt:
16632         More docs.
16633
16634         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16635         Correctly set caps, even on the subbufer.
16636
16637 2005-10-21  Wim Taymans  <wim@fluendo.com>
16638
16639         * docs/gst/gstreamer-docs.sgml:
16640         * docs/gst/gstreamer-sections.txt:
16641         * gst/gstelement.h:
16642         * gst/gstevent.c:
16643         * gst/gstevent.h:
16644         * gst/gstmessage.h:
16645         * gst/gstpad.h:
16646         * gst/gstparse.h:
16647         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16648         * gst/gsttask.h:
16649         * gst/gstutils.c:
16650         * gst/gstutils.h:
16651         And 2% more doc coverage.
16652
16653 2005-10-21  Andy Wingo  <wingo@pobox.com>
16654
16655         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16656         position reporting.
16657
16658 2005-10-20  Wim Taymans  <wim@fluendo.com>
16659
16660         * gst/gsterror.c: (gst_error_get_message):
16661         * gst/gstparse.h:
16662         * gst/gstquery.h:
16663         * gst/gststructure.c:
16664         * gst/gsttrace.c:
16665         * gst/gstutils.c:
16666         More docs.
16667
16668 2005-10-20  Wim Taymans  <wim@fluendo.com>
16669
16670         * gst/gstbuffer.h:
16671         * gst/gstpad.c:
16672         * gst/gstparse.c:
16673         Another 1% more coverage.
16674
16675 2005-10-20  Wim Taymans  <wim@fluendo.com>
16676
16677         * docs/gst/gstreamer-sections.txt:
16678         * gst/gstelement.c: (gst_element_get_state_func),
16679         (gst_element_abort_state), (gst_element_commit_state),
16680         (gst_element_lost_state):
16681         * gst/gstevent.h:
16682         * gst/gstquery.c: (gst_query_set_position),
16683         (gst_query_parse_position), (gst_query_set_duration),
16684         (gst_query_parse_duration), (gst_query_new_convert):
16685         * gst/gstutils.c:
16686         Yay! 1% more docs coverage.
16687
16688 2005-10-20  Wim Taymans  <wim@fluendo.com>
16689
16690         * gst/gstpad.h:
16691         * gst/gstquery.c: (gst_query_set_position),
16692         (gst_query_parse_position), (gst_query_set_duration),
16693         (gst_query_parse_duration), (gst_query_new_convert):
16694         * gst/gstquery.h:
16695         * gst/gstutils.c: (gst_element_query_convert):
16696         * gst/gstutils.h:
16697         Docs and consistency fixes.
16698
16699 2005-10-20  Wim Taymans  <wim@fluendo.com>
16700
16701         * gst/gsttask.c:
16702         * gst/gsttask.h:
16703         More docs.
16704
16705 2005-10-20  Wim Taymans  <wim@fluendo.com>
16706
16707         * gst/gstbin.c: (message_check), (bin_replace_message),
16708         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16709         (update_degree), (gst_bin_sort_iterator_next),
16710         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16711         Reworked the message handling a bit, cache the messages instead of
16712         only the senders. alows us to do more in the future.
16713
16714 2005-10-20  Wim Taymans  <wim@fluendo.com>
16715
16716         * docs/design/part-TODO.txt:
16717         Update TODO
16718
16719         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16720         (gst_base_sink_query):
16721         Don't use clock time to report position when in EOS.
16722
16723 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
16724
16725         * tools/gst-inspect.c: (print_interfaces),
16726         (print_element_properties_info), (print_element_info):
16727           Fix interface output with gst-inspect -a; don't print
16728           newlines after double/float properties.
16729
16730 2005-10-20  Wim Taymans  <wim@fluendo.com>
16731
16732         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16733         (gst_base_sink_query):
16734         Speed up current position calculation.
16735
16736         * gst/base/gstbasesrc.c: (gst_base_src_query),
16737         (gst_base_src_default_newsegment):
16738         Correctly set stream position in newsegment.
16739
16740         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16741         (update_degree), (gst_bin_sort_iterator_next),
16742         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16743         * gst/gstmessage.c: (gst_message_new_custom):
16744         Clean up debugging info
16745
16746         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16747         (gst_queue_loop), (gst_queue_handle_src_query):
16748         Pause task faster.
16749
16750 2005-10-19  Wim Taymans  <wim@fluendo.com>
16751
16752         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16753         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16754         Fix query handling again.
16755
16756 2005-10-19  Wim Taymans  <wim@fluendo.com>
16757
16758         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16759         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16760         * gst/base/gstbasesrc.c: (gst_base_src_query):
16761         * gst/elements/gstfilesink.c: (gst_file_sink_query):
16762         * gst/elements/gsttypefindelement.c:
16763         (gst_type_find_handle_src_query), (find_element_get_length),
16764         (gst_type_find_element_activate):
16765         API change fix.
16766
16767         * gst/gstquery.c: (gst_query_new_position),
16768         (gst_query_set_position), (gst_query_parse_position),
16769         (gst_query_new_duration), (gst_query_set_duration),
16770         (gst_query_parse_duration), (gst_query_set_segment),
16771         (gst_query_parse_segment):
16772         * gst/gstquery.h:
16773         Bundling query position/duration is not a good idea since duration
16774         does not change much and we don't want to recalculate it for every
16775         position query, so they are separated again..
16776         Base value in segment query is not needed.
16777
16778         * gst/gstqueue.c: (gst_queue_handle_src_query):
16779         * gst/gstutils.c: (gst_element_query_position),
16780         (gst_element_query_duration), (gst_pad_query_position),
16781         (gst_pad_query_duration):
16782         * gst/gstutils.h:
16783         Updates for query API change.
16784         Added some docs here and there.
16785
16786 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16787
16788         * check/gst/gstbin.c: (GST_START_TEST):
16789         * check/gst/gstghostpad.c: (GST_START_TEST):
16790         * check/pipelines/cleanup.c: (GST_START_TEST):
16791           wait on thread to die so we can check refcount correctly
16792
16793 2005-10-18  Wim Taymans  <wim@fluendo.com>
16794
16795         * check/pipelines/stress.c: (GST_START_TEST):
16796         Make check a little more time consuming.
16797
16798 2005-10-18  Wim Taymans  <wim@fluendo.com>
16799
16800         * check/Makefile.am:
16801         * check/pipelines/stress.c: (GST_START_TEST),
16802         (simple_launch_lines_suite), (main):
16803         Small state change torture test.
16804
16805         * docs/design/part-states.txt:
16806         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16807         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16808         (gst_base_sink_change_state):
16809         Never take state lock from streaming thread, clean up ugly
16810         hacks. Unfortunatly core does not yet support nice ways to
16811         async commit state.
16812         
16813         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16814         (bin_bus_handler):
16815         Start state recalc if a STATE_DIRTY message is posted, but only
16816         on the toplevel bin.
16817
16818         * gst/gstelement.c: (gst_element_sync_state_with_parent),
16819         (gst_element_get_state_func), (gst_element_abort_state),
16820         (gst_element_commit_state), (gst_element_lost_state),
16821         (gst_element_set_state_func), (gst_element_change_state):
16822         * gst/gstelement.h:
16823         State variables are now protected with the LOCK, the state
16824         lock is only used to serialize _set_state().
16825
16826 2005-10-18  Wim Taymans  <wim@fluendo.com>
16827
16828         * check/gst/gstbin.c: (GST_START_TEST):
16829         * check/gst/gstmessage.c: (GST_START_TEST):
16830         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16831         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16832         (bin_bus_handler):
16833         * gst/gstelement.c: (gst_element_abort_state),
16834         (gst_element_commit_state), (gst_element_lost_state):
16835         * gst/gstmessage.c: (gst_message_new_state_changed),
16836         (gst_message_new_state_dirty), (gst_message_new_segment_start),
16837         (gst_message_new_segment_done), (gst_message_new_duration),
16838         (gst_message_parse_state_changed),
16839         (gst_message_parse_segment_start),
16840         (gst_message_parse_segment_done), (gst_message_parse_duration):
16841         * gst/gstmessage.h:
16842         * tools/gst-launch.c: (event_loop):
16843         Seriously, this is better than a previous commit as we only need
16844         to notify the fact that an element changed state in a streaming
16845         thread, marking the state of the parents dirty, hence the 
16846         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16847         message.
16848
16849 2005-10-18  Wim Taymans  <wim@fluendo.com>
16850
16851         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16852         (gst_bin_recalc_func):
16853         * gst/gstelement.c: (gst_element_set_clock),
16854         (gst_element_abort_state), (gst_element_lost_state):
16855         Cleanups, prepare for state change fixes.
16856
16857 2005-10-18  Wim Taymans  <wim@fluendo.com>
16858
16859         * gst/gstbin.h:
16860         * gst/gstelement.c: (gst_element_class_init),
16861         (gst_element_set_state), (gst_element_set_state_func):
16862         * gst/gstelement.h:
16863         Pending ABI changes.
16864         GThreadPool in GstBinClass to monitor async state changes.
16865         state_cookie in GstElement to detect concurrent gst/set state.
16866         set_state is now virtual too in case a very complicated element
16867         has to be constructed.
16868
16869 2005-10-18  Wim Taymans  <wim@fluendo.com>
16870
16871         * check/gst/gstbin.c: (GST_START_TEST):
16872         * check/gst/gstmessage.c: (GST_START_TEST):
16873         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16874         * gst/gstbin.c: (bin_bus_handler):
16875         * gst/gstelement.c: (gst_element_commit_state),
16876         (gst_element_lost_state):
16877         * gst/gstmessage.c: (gst_message_new_state_changed),
16878         (gst_message_new_segment_start), (gst_message_new_segment_done),
16879         (gst_message_new_duration), (gst_message_parse_state_changed),
16880         (gst_message_parse_segment_start),
16881         (gst_message_parse_segment_done), (gst_message_parse_duration):
16882         * gst/gstmessage.h:
16883         * tools/gst-launch.c: (event_loop):
16884         Make messages future proof.
16885         state-change gets a flag if it was a message comming from the
16886         streaming thread.
16887         segment-start/stop can also be specified in other formats.
16888         A message to notify an app that a pipeline changed playback 
16889         duration.
16890         Also fix a GstMessage leak in -launch
16891
16892 2005-10-18  Andy Wingo  <wingo@pobox.com>
16893
16894         * gst/gstelement.c (gst_element_dispose): More helpful message.
16895
16896 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16897
16898         reviewed by: <delete if not using a buddy>
16899
16900         * common/gtk-doc.mak:
16901
16902 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16903
16904         * gst/gstregistry.c: (gst_registry_scan_path_level):
16905           unref a plug-in we get that was already initialized
16906
16907 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
16908
16909         * docs/gst/gstreamer-sections.txt:
16910         * docs/libs/gstreamer-libs-sections.txt:
16911         * gst/gstelement.h:
16912           add new api entries
16913           hide internal macro
16914
16915 2005-10-17  Andy Wingo  <wingo@pobox.com>
16916
16917         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16918         cleanup.
16919
16920         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16921
16922         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16923
16924         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16925         (gst_element_get_state_func): Better debug message.
16926         (gst_element_commit_state): s/INFO/DEBUG/.
16927         (gst_element_lost_state, gst_element_change_state): 
16928
16929         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16930         (gst_message_new_custom): s/INFO/LOG/.
16931
16932 2005-10-17  Michael Smith <msmith@fluendo.com>
16933
16934         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16935           Check if end time is valid using end time, not start time.
16936
16937 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
16938
16939         * check/gst-libs/controller.c: (GST_START_TEST),
16940         (gst_controller_suite):
16941         * libs/gst/controller/gstcontroller.c:
16942         (gst_controlled_property_set_interpolation_mode):
16943         * libs/gst/controller/gstcontroller.h:
16944         * libs/gst/controller/gstinterpolation.c:
16945         * testsuite/controller/.cvsignore:
16946         * testsuite/controller/Makefile.am:
16947         * testsuite/controller/interpolator.c:
16948           merge controller testsuites
16949           fix broken tests
16950           remove mem-chunk from docs
16951
16952 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16953
16954         * gst/gstmemchunk.c:
16955         * gst/gstmemchunk.h:
16956         * gst/gsttrashstack.c:
16957         * gst/gsttrashstack.h:
16958           out.  get out.  you're fired.  to the Attic !
16959
16960 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16961
16962         * gst/gstcaps.c: (gst_caps_intersect):
16963           fix signedness issues in a (hopefully) correct way
16964         * gst/gstelement.c: (gst_element_pads_activate):
16965           some debugging
16966         * gst/gstobject.c: (gst_object_set_parent):
16967           some debugging
16968
16969 2005-10-17  Julien MOUTTE  <julien@moutte.net>
16970
16971         * gst/gstvalue.h: Fix prototypes.
16972
16973 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16974
16975         * docs/gst/gstreamer-sections.txt:
16976         * gst/gst.c: (gst_version_string):
16977         * gst/gst.h:
16978         * gst/gstversion.h.in:
16979         * win32/common/libgstreamer.def:
16980           add gst_version_string ()
16981
16982 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16983
16984         * configure.ac:
16985           clean up further
16986         * gst/gst.c: (init_post):
16987         * win32/common/config.h.in:
16988           it's PLUGINDIR now
16989         * gst/gstcaps.c: (gst_caps_intersect):
16990           use gint64, the range could be bigger than a guint
16991
16992 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16993
16994         * gst/gstclock.h:
16995           document potential problem in 2038
16996
16997 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16998
16999         * gst/gstcaps.c: (gst_caps_intersect):
17000           Fix guint j diving under 0
17001
17002 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17003
17004         * configure.ac:
17005         * win32/common/config.h:
17006         * win32/common/config.h.in:
17007           check for process.h, declares getpid() on Windows
17008         * gst/gstinfo.c:
17009           include process.h if we have it
17010         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17011         * gst/gstmemchunk.h:
17012           fix signedness issues
17013         * win32/common/libgstreamer.def:
17014           fix get_type's
17015
17016 2005-10-16  Julien MOUTTE  <julien@moutte.net>
17017
17018         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17019         fix. Because of unsigned ints, caps intersection was going nuts and
17020         trying to access structures with G_MAXUINT index. That fixes
17021         videotestsrc ! ffmpegcolorspace ! fakesink
17022         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17023         consistency.
17024
17025 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17026
17027         * configure.ac:
17028           use the gettext macro
17029         * gst/elements/gstelements.c:
17030         * gst/gst.c:
17031         * gst/indexers/gstindexers.c:
17032           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17033         * win32/common/config.h:
17034           updated config.h
17035         * win32/common/config.h.in:
17036           add the template to generate config.h
17037         * win32/common/gstenumtypes.c:
17038         * win32/common/gstversion.h:
17039           updated copies
17040
17041 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17042
17043         * gst/gst.c: (gst_version):
17044         * gst/gstversion.h.in:
17045           add the nano
17046
17047 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17048
17049         * gst/gstevent.h:
17050           Oops, add missing closing bracket.
17051
17052 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17053
17054         * configure.ac:
17055           use common m4's for argument checking
17056
17057 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17058
17059         * docs/gst/gstreamer-sections.txt:
17060         * gst/gstevent.h:
17061           Add GST_EVENT_TYPE_NAME() macro.
17062
17063 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17064
17065         * gst/gstinfo.c:
17066         * gst/gstpluginfeature.c:
17067         * gst/gsttask.c:
17068           privatize more symbols
17069
17070 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17071
17072         * configure.ac:
17073           add srcdir, builddir includes to GST_ALL_CFLAGS, since
17074           everything that uses GStreamer API should have the includes
17075
17076 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17077
17078         * docs/gst/gstreamer-sections.txt:
17079         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17080         * gst/gstvalue.h:
17081           give each value a _get_type, removes the DATA exports
17082
17083 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17084
17085         * gst/gst.c:
17086         * gst/gst.h:
17087           remove _gst_registry_auto_load, not used anymore
17088         * gst/gstbin.c: (gst_bin_get_type):
17089         * gst/gstbin.h:
17090         * gst/gstelement.c: (gst_element_get_type):
17091         * gst/gstelement.h:
17092         * gst/gstobject.c: (gst_object_get_type):
17093         * gst/gstobject.h:
17094         * gst/gstpad.c: (gst_pad_get_type):
17095         * gst/gstpad.h:
17096           make _get_type functions similar, fixes data export from library
17097
17098 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17099
17100         * configure.ac:
17101           correctly make conditionals
17102         * gst/elements/Makefile.am:
17103         * gst/elements/gstelements.c:
17104           fix typo causing fdsrc not to build
17105
17106 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17107
17108         * testsuite/Makefile.am:
17109         * testsuite/bytestream/.cvsignore:
17110         * testsuite/bytestream/Makefile.am:
17111         * testsuite/bytestream/filepadsink.c:
17112         * testsuite/bytestream/gstbstest.c:
17113         * testsuite/bytestream/test1.c:
17114         * testsuite/bytestream/testfile1:
17115         * testsuite/caps/normalisation.c:
17116         * testsuite/caps/random.c: (main):
17117         * testsuite/cleanup/.cvsignore:
17118         * testsuite/cleanup/Makefile.am:
17119         * testsuite/cleanup/cleanup1.c:
17120         * testsuite/cleanup/cleanup2.c:
17121         * testsuite/cleanup/cleanup3.c:
17122         * testsuite/cleanup/cleanup4.c:
17123         * testsuite/cleanup/cleanup5.c:
17124         * testsuite/controller/interpolator.c:
17125         * testsuite/debug/printf_extension.c: (main):
17126         * testsuite/elements/tee.c:
17127         * testsuite/negotiation/.cvsignore:
17128         * testsuite/negotiation/Makefile.am:
17129         * testsuite/negotiation/pad_link.c:
17130         * testsuite/pad/Makefile.am:
17131         * testsuite/pad/chainnopull.c:
17132         * testsuite/pad/getnopush.c:
17133         * testsuite/pad/link.c:
17134         * testsuite/refcounting/sched.c: (create_pipeline):
17135         * testsuite/registry/Makefile.am:
17136         * testsuite/registry/gst-print-formats.c:
17137         * testsuite/schedulers/.cvsignore:
17138         * testsuite/schedulers/142183-2.c:
17139         * testsuite/schedulers/142183.c:
17140         * testsuite/schedulers/143777-2.c:
17141         * testsuite/schedulers/143777.c:
17142         * testsuite/schedulers/147713.c:
17143         * testsuite/schedulers/147819.c:
17144         * testsuite/schedulers/147894-2.c:
17145         * testsuite/schedulers/147894.c:
17146         * testsuite/schedulers/Makefile.am:
17147         * testsuite/schedulers/group_link.c:
17148         * testsuite/schedulers/queue_link.c:
17149         * testsuite/schedulers/relink.c:
17150         * testsuite/schedulers/unlink.c:
17151         * testsuite/schedulers/unref.c:
17152         * testsuite/schedulers/useless_iteration.c:
17153         * testsuite/states/bin.c:
17154           clean out/remove some stuff from the testsuite directories
17155
17156 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17157
17158         * configure.ac:
17159           check for some headers
17160         * gst/elements/Makefile.am:
17161         * gst/elements/gstelements.c:
17162           don't compile fdsrc without sys/socket.h
17163         * gst/indexers/Makefile.am:
17164         * gst/indexers/gstindexers.c: (plugin_init):
17165           don't compile fileindex without mmap
17166
17167 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17168
17169         * configure.ac:
17170           reorganize
17171           clean up
17172           document more
17173           remove cruft
17174         * check/Makefile.am:
17175         * docs/gst/Makefile.am:
17176         * examples/helloworld/Makefile.am:
17177         * gst/Makefile.am:
17178         * gst/base/Makefile.am:
17179         * gst/check/Makefile.am:
17180         * gst/elements/Makefile.am:
17181         * gst/indexers/Makefile.am:
17182         * gst/parse/Makefile.am:
17183         * libs/gst/controller/Makefile.am:
17184         * libs/gst/dataprotocol/Makefile.am:
17185         * examples/helloworld/helloworld.c: (event_loop):
17186           compile fixes, though it's not being compiled currently
17187
17188 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17189
17190         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17191           Add some simple tests for the new taglist date API.
17192
17193 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17194
17195         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17196         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17197           Beautify 'last-message' output: print 'none' for buffer timestamps
17198           and durations if none is set; improve alignment with next messages.
17199
17200 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17201
17202         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17203         * gst/gstpluginfeature.h:
17204         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17205         * gst/gstregistry.h:
17206         * docs/gst/gstreamer-sections.txt:
17207           Add new API to check plugin feature version requirements.
17208
17209         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17210           Some basic tests for the above.         
17211
17212 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17213
17214         * gst/gststructure.c: (gst_structure_to_string):
17215           guard against NULL printf - happens when for example
17216           a message structure with GstClock gets serialized
17217
17218 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17219
17220         * gst/base/gstcollectpads.c: (gst_collectpads_event):
17221           Fix presumable copy'n'pasto.
17222
17223 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17224
17225         * gst/elements/gstfakesrc.h:
17226         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17227         * gst/elements/gsttypefindelement.c:
17228           fix some signedness
17229         * gst/elements/gstfilesink.c: (gst_file_sink_render):
17230           I wonder if this could actually write +2GB files before
17231
17232 2005-10-13  Andy Wingo  <wingo@pobox.com>
17233
17234         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17235         Fix Timmeke Waymans bug.
17236         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17237         string of the proper length to gst_caps_from_string. There's a
17238         potential for, before this fix, that this could cause someone
17239         connecting over the network to cause a segfault if the payload is
17240         not NUL-terminated.
17241
17242 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17243
17244         * docs/design/draft-push-pull.txt:
17245         * docs/design/part-overview.txt:
17246         * docs/random/TODO-pre-0.9:
17247         * docs/random/old/ChangeLog.gstreamer:
17248         * gst/base/gstpushsrc.c:
17249         * gst/gstclock.c:
17250           fixed typos
17251
17252 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17253
17254         * gst/glib-compat.c: (gst_flags_get_first_value):
17255         * gst/glib-compat.h:
17256         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17257         (gst_value_compare_double), (gst_value_serialize_flags):
17258           GLib 2.6 g_flags_get_first_value has a bug that triggers an
17259           infinite loop
17260
17261 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17262
17263         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17264         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17265           fix up debugging
17266         * tools/gst-launch.c: (event_loop):
17267           print out clock nicely
17268
17269 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17270
17271         * docs/gst/gstreamer-sections.txt:
17272         * gst/gsttaglist.h:
17273         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17274         (gst_tag_list_get_date_index):
17275           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17276           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17277
17278 2005-10-13  Julien MOUTTE  <julien@moutte.net>
17279
17280         * gst/base/gstcollectpads.c: (gst_collectpads_event),
17281         (gst_collectpads_chain):
17282         * gst/base/gstcollectpads.h: Handle newsegment and store informations
17283         in CollectData.
17284
17285 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17286
17287         * docs/gst/gstreamer-sections.txt:
17288         * gst/gst.c:
17289         * gst/gsterror.h:
17290         * tools/gst-inspect.c: (main):
17291         * tools/gst-launch.c: (main):
17292         * tools/gst-run.c: (main):
17293         * tools/gst-xmlinspect.c: (main):
17294           fix GOption context leaks
17295           doc fixes
17296
17297 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17298
17299         * gst/gstbus.c:
17300           use HAVE_UNISTD_H
17301         * win32/common/config.h:
17302           update config
17303         * win32/vs6/grammar.dsp:
17304         * win32/vs6/libgstelements.dsp:
17305         * win32/vs6/libgstreamer.dsp:
17306           update vs6 files
17307
17308 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17309
17310         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17311         * gst/base/gstbasesrc.c: (gst_base_src_query):
17312           fix more guint64<->gdouble conversions
17313
17314 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17315
17316         * Makefile.am:
17317           add win32-update target
17318         * win32/common/gstconfig.h:
17319         * win32/common/gstenumtypes.c:
17320         * win32/common/gstenumtypes.h:
17321         * win32/common/gstversion.h:
17322           add files that visual studio can't generate
17323
17324 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17325
17326         * Makefile.am:
17327           add a win32-update target
17328         * configure.ac:
17329
17330 2005-10-12  Wim Taymans  <wim@fluendo.com>
17331
17332         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17333         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17334         * gst/gstelement.c: (gst_element_commit_state),
17335         (gst_element_set_state):
17336         Protect flags with proper lock.
17337         unref provided cached clock in dispose.
17338
17339 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17340
17341         * gst/gst.c:
17342         * gst/gstminiobject.h:
17343         * gst/gstpad.h:
17344         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17345           removed unused flags from miniobject
17346           doc fixes
17347
17348 2005-10-12  Wim Taymans  <wim@fluendo.com>
17349
17350         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17351         (gst_file_sink_event), (gst_file_sink_render):
17352         Flush before seeking.
17353
17354 2005-10-12  Andy Wingo  <wingo@pobox.com>
17355
17356         * gst/gst.c (gst_init_check): Ignore unknown options, as has
17357         always been the case.
17358
17359 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17360
17361         * check/gst/gstbin.c: (GST_START_TEST):
17362         * docs/gst/gstreamer-sections.txt:
17363         * gst/base/gstbasesink.c: (gst_base_sink_init):
17364         * gst/base/gstbasesrc.c: (gst_base_src_init),
17365         (gst_base_src_get_range), (gst_base_src_check_get_range),
17366         (gst_base_src_start), (gst_base_src_stop):
17367         * gst/base/gstbasesrc.h:
17368         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17369         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17370         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17371         (bin_bus_handler):
17372         * gst/gstbin.h:
17373         * gst/gstbuffer.h:
17374         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17375         * gst/gstbus.h:
17376         * gst/gstelement.c: (gst_element_is_locked_state),
17377         (gst_element_set_locked_state), (gst_element_commit_state),
17378         (gst_element_set_state):
17379         * gst/gstelement.h:
17380         * gst/gstindex.c: (gst_index_init):
17381         * gst/gstindex.h:
17382         * gst/gstminiobject.h:
17383         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17384         (gst_object_set_parent):
17385         * gst/gstobject.h:
17386         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17387         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17388         * gst/gstpad.h:
17389         * gst/gstpadtemplate.h:
17390         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17391         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17392         * gst/gstpipeline.h:
17393         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17394         (gst_file_index_commit):
17395         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17396         * testsuite/pad/link.c: (gst_test_src_init),
17397         (gst_test_filter_init), (gst_test_sink_init):
17398         * testsuite/states/locked.c: (main):
17399           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17400           moved bitshift from macro to enum definition
17401
17402 2005-10-12  Wim Taymans  <wim@fluendo.com>
17403
17404         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17405         * gst/elements/gstfilesink.c: (gst_file_sink_event),
17406         (gst_file_sink_render):
17407         Some more debugging info.
17408
17409 2005-10-12  Wim Taymans  <wim@fluendo.com>
17410
17411         * docs/design/part-states.txt:
17412         * tools/gst-launch.c: (main):
17413         Some doc updates.
17414         Revert non-intentional change.
17415
17416 2005-10-12  Wim Taymans  <wim@fluendo.com>
17417
17418         * check/gst/gstbin.c: (GST_START_TEST):
17419         * check/gst/gstelement.c: (GST_START_TEST):
17420         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17421         * check/gst/gstghostpad.c: (GST_START_TEST):
17422         * check/gst/gstpipeline.c: (GST_START_TEST):
17423         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17424         * check/states/sinks.c: (GST_START_TEST):
17425         * gst/elements/gsttypefindelement.c: (stop_typefinding):
17426         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17427         (gst_bin_remove_func), (gst_bin_get_state_func),
17428         (gst_bin_recalc_state), (gst_bin_change_state_func),
17429         (bin_bus_handler):
17430         * gst/gstelement.c: (gst_element_get_state_func),
17431         (gst_element_get_state), (gst_element_abort_state),
17432         (gst_element_commit_state), (gst_element_set_state),
17433         (gst_element_change_state), (gst_element_change_state_func):
17434         * gst/gstelement.h:
17435         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17436         (gst_pipeline_provide_clock_func):
17437         * gst/gstutils.c: (gst_element_link_pads_filtered):
17438         * tools/gst-launch.c: (main):
17439         * tools/gst-typefind.c: (main):
17440         Use GstClockTime in _get_state() instead of GTimeVal.
17441         Remove old code in gstutils.c
17442
17443 2005-10-12  Andy Wingo  <wingo@pobox.com>
17444
17445         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17446         removed.
17447
17448         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17449         there is no task. Shouldn't affect any code, as nothing in our
17450         plugins checks this return value.
17451         (gst_pad_stop_task): Also take the stream lock if the pad has no
17452         task. Docs updated.
17453
17454 2005-10-12  Wim Taymans  <wim@fluendo.com>
17455
17456         * gst/gstpad.c: (pre_activate), (post_activate),
17457         (gst_pad_activate_pull), (gst_pad_activate_push):
17458         Cleanup activation code. Reset old state if
17459         activation failed.
17460
17461 2005-10-12  Wim Taymans  <wim@fluendo.com>
17462
17463         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17464         (gst_base_sink_change_state):
17465         No need to prerol after receiving EOS.
17466
17467         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17468         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17469         * gst/elements/gstidentity.c: (gst_identity_event):
17470         Print events more verbosely.
17471
17472 2005-10-12  Wim Taymans  <wim@fluendo.com>
17473
17474         * check/Makefile.am:
17475         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17476         * check/states/sinks2.c:
17477         Moved sinks2 testcode in sinks check.
17478
17479         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17480         (gst_bin_remove_func), (gst_bin_recalc_state),
17481         (gst_bin_change_state_func), (bin_bus_handler):
17482         Fix potential race condition when _get_state() iterated over an
17483         ASYNC element right before it posted a state completion.
17484
17485         * gst/gstclock.h:
17486         Do proper cast here.
17487
17488         * gst/gstevent.c: (gst_event_new_newsegment),
17489         (gst_event_parse_newsegment):
17490         A playback rate of 0.0 is not allowed.
17491
17492 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17493
17494         * win32/common/config.h:
17495         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17496         (_trewinddir), (_ttelldir), (_tseekdir):
17497         * win32/common/dirent.h:
17498         * win32/common/gtchar.h:
17499         * win32/common/libgstbase.def:
17500         * win32/common/libgstreamer.def:
17501         * win32/vs6/grammar.dsp:
17502         * win32/vs6/gst_inspect.dsp:
17503         * win32/vs6/gst_launch.dsp:
17504         * win32/vs6/gstreamer.dsw:
17505         * win32/vs6/libgstbase.dsp:
17506         * win32/vs6/libgstelements.dsp:
17507         * win32/vs6/libgstreamer.dsp:
17508           Visual Studio 6 project files, and a new common directory.
17509           Phear.
17510
17511 2005-10-11  Wim Taymans  <wim@fluendo.com>
17512
17513         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17514         (gst_base_sink_do_sync), (gst_base_sink_query),
17515         (gst_base_sink_change_state):
17516         * gst/base/gstbasesink.h:
17517         Correctly parse newsegment info.
17518
17519 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17520
17521         * gst/gst.c: (init_post):
17522           split plugin paths correctly
17523
17524 2005-10-11  Wim Taymans  <wim@fluendo.com>
17525
17526         * check/gst/gstevent.c: (GST_START_TEST):
17527         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17528         (gst_base_sink_change_state):
17529         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17530         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17531         * gst/elements/gstfilesink.c: (gst_file_sink_event):
17532         * gst/gstevent.c: (gst_event_new_newsegment),
17533         (gst_event_parse_newsegment):
17534         * gst/gstevent.h:
17535         Added extra flag to newsegment for future API freeze.
17536         Updated check and base elements.
17537
17538 2005-10-11  Julien MOUTTE  <julien@moutte.net>
17539
17540         * gst/base/gstcollectpads.c: (gst_collectpads_init),
17541         (gst_collectpads_add_pad), (gst_collectpads_pop),
17542         (gst_collectpads_event), (gst_collectpads_chain):
17543         * gst/base/gstcollectpads.h: Handle EOS correctly.
17544
17545 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17546
17547         * tools/gst-launch.c: (main):
17548           more null protecting
17549
17550 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17551
17552         * gst/gst-i18n-lib.h:
17553           check for ENABLE_NLS, not GETTEXT_PACKAGE
17554         * gst/gstregistry.c: (gst_registry_add_plugin),
17555         (gst_registry_scan_path_level),
17556         (_gst_registry_remove_cache_plugins):
17557           protect possibly NULL strings
17558         * gst/parse/types.h:
17559           config.h already included before
17560         * tools/gst-inspect.c: (main):
17561           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17562           check for ENABLE_NLS, not GETTEXT_PACKAGE
17563         * tools/gst-launch.c: (main):
17564           check for ENABLE_NLS, not GETTEXT_PACKAGE
17565
17566 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17567
17568         * configure.ac:
17569           if we don't have glib, fail before testing 2.8
17570         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17571           fix a leak, should fix plugins-base testsuite
17572
17573 2005-10-11  Andy Wingo  <wingo@pobox.com>
17574
17575         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17576         take the mode we're going to as an arg. Go head and set the mode
17577         and flushing flags now, so that if the activate function starts a
17578         thread all the flags will be in the right state.
17579         (post_activate): Renamed also. Just handle making sure streaming
17580         finishes for the deactivation case, and setting the deactivated
17581         mode.
17582         (gst_pad_set_active): Complain loudly if deactivation fails.
17583         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17584         (gst_pad_activate_push): Adapt to pre/post_activate changes,
17585         remove the terrible hack.
17586
17587 2005-10-11  Wim Taymans  <wim@fluendo.com>
17588
17589         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17590         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17591         (gst_bin_recalc_state), (gst_bin_change_state_func),
17592         (gst_bin_dispose), (bin_bus_handler):
17593         * gst/gstbin.h:
17594         Prepare to make current EOS message queue more generic.
17595         Fix some typos.
17596
17597         * gst/gstevent.c: (gst_event_new_newsegment),
17598         (gst_event_parse_newsegment):
17599         * gst/gstevent.h:
17600         Rename base to stream_time.
17601
17602         * gst/gstmessage.h:
17603         Fix typo in docs.
17604
17605 2005-10-11  Wim Taymans  <wim@fluendo.com>
17606
17607         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17608         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17609         (gst_bin_change_state_func), (bin_bus_handler):
17610         * gst/gstbin.h:
17611         Work on proper clock selection.
17612
17613 2005-10-11  Edward Hervey  <edward@fluendo.com>
17614
17615         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
17616         * libs/gst/controller/gstcontroller.h:
17617         Added GList* version of _remove_properties() in order to be able to wrap
17618         it in bindings.
17619
17620 2005-10-11  Wim Taymans  <wim@fluendo.com>
17621
17622         * docs/design/part-states.txt:
17623         Some more docs.
17624
17625         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17626         (gst_bin_change_state_func), (bin_bus_handler):
17627         Doc updates. Don't distribute the same clock over and over again.
17628
17629         * gst/gstclock.c:
17630         * gst/gstclock.h:
17631         Doc updates.
17632
17633         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17634         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17635         (gst_pad_send_event):
17636         * gst/gstpad.h:
17637         Make probe emission threadsafe again.
17638         Register quarks and move _get_name() from utils.
17639         Doc updates.
17640
17641         * gst/gstpipeline.c: (gst_pipeline_class_init),
17642         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17643         Only redistribute the clock of it changed.
17644
17645         * gst/gstsystemclock.h:
17646         Doc updates. 
17647
17648         * gst/gstutils.c:
17649         * gst/gstutils.h:
17650         Moved the _flow_get_name() to GstPad.
17651
17652 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17653
17654         * check/gst-libs/gdp.c: (GST_START_TEST):
17655         * check/gst/gstcaps.c: (GST_START_TEST):
17656         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17657         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17658         (gst_dp_packet_from_caps):
17659           fix more valgrind warnings before turning up the heat
17660
17661 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17662
17663         * gst/parse/grammar.y:
17664           some cleanup before the hacking
17665
17666 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17667
17668         * gst/base/gstbasesrc.c: (gst_base_src_query):
17669           use conversions
17670         * gst/gstutils.c: (gst_guint64_to_gdouble),
17671         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17672         * gst/gstutils.h:
17673           externalize, basesrc uses it
17674           obviously the implementation needs testing
17675
17676 2005-10-10  Wim Taymans  <wim@fluendo.com>
17677
17678         * tests/sched/Makefile.am:
17679         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17680         (make_pipeline3), (make_pipeline4), (print_elem), (main):
17681
17682 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17683
17684         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17685           apparently converting from guint64 to double is not implemented
17686           on MSVC
17687
17688 2005-10-10  Wim Taymans  <wim@fluendo.com>
17689
17690         * check/Makefile.am:
17691         * check/generic/states.c: (GST_START_TEST):
17692         * check/gst/gstbin.c: (GST_START_TEST):
17693         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17694         * check/states/sinks.c: (GST_START_TEST):
17695         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17696         (main):
17697         Check fixes, use API as stated in design docs, remove hacks.
17698
17699         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17700         (gst_base_sink_change_state):
17701         Catch stopping our task while we're shutting down.
17702
17703         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17704         (gst_bin_remove_func), (gst_bin_get_state_func),
17705         (gst_bin_recalc_state), (gst_bin_change_state_func),
17706         (bin_bus_handler):
17707         * gst/gstbin.h:
17708         * gst/gstelement.c: (gst_element_init),
17709         (gst_element_get_state_func), (gst_element_abort_state),
17710         (gst_element_commit_state), (gst_element_lost_state),
17711         (gst_element_set_state), (gst_element_change_state),
17712         (gst_element_change_state_func):
17713         * gst/gstelement.h:
17714         New state change algorithm (see #318116)
17715
17716         * gst/gstpipeline.c: (gst_pipeline_class_init),
17717         (gst_pipeline_init), (gst_pipeline_set_property),
17718         (gst_pipeline_get_property), (do_pipeline_seek),
17719         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17720         * gst/gstpipeline.h:
17721         Remove crude state change hacks.
17722
17723         * gst/gstutils.h:
17724         Remove crude hacks.
17725
17726         * tools/gst-launch.c: (main):
17727         Fixes for state change. Needs some more work to fully use the
17728         new stuff.
17729
17730 2005-10-10  Andy Wingo  <wingo@pobox.com>
17731
17732         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17733
17734         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17735         this flag, but it's not even in GLib 2.6. Odd. Hack around the
17736         issue.
17737
17738 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17739
17740         * gst/gstiterator.c: (gst_iterator_new):
17741           Fix my previous commit: GTypes passed to gst_iterator_new()
17742           can be fundamental types.
17743
17744 2005-10-10  Wim Taymans  <wim@fluendo.com>
17745
17746         * gst/gstelement.c: (gst_element_iterate_pad_list),
17747         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17748         (gst_element_iterate_sink_pads):
17749         Use src/sink pads lists for the respective iterators instead
17750         of filtering.
17751
17752 2005-10-10  Andy Wingo  <wingo@pobox.com>
17753
17754         Merged in popt removal + GOption addition patch from Ronald, bug
17755         #169772.
17756
17757         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17758         GstElement macros around, remove popt-related symbols, add goption
17759         stuff.
17760
17761         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17762         
17763         * docs/gst/Makefile.am:
17764         * docs/libs/Makefile.am: No POPT_CFLAGS.
17765         
17766         * examples/manual/Makefile.am:
17767         * docs/manual/basics-init.xml: Doc updates with an example.
17768         
17769         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17770         (gst_init), (parse_one_option), (parse_goption_arg):
17771         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17772         bit of hand merging and debugging to get the GOption stuff working
17773         tho.
17774         
17775         * tests/Makefile.am:
17776         * tools/Makefile.am:
17777         * tools/gst-inspect.c: (main):
17778         * tools/gst-launch.c: (main):
17779         * tools/gst-run.c: (main):
17780         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17781
17782 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17783
17784         * gst/gstiterator.c: (gst_iterator_new):
17785           Add assertions to make sure passed GType is likely to really
17786           be a GType (as the compiler won't catch it if the size and
17787           GType arguments get mixed up, see #318447).
17788
17789 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
17790
17791         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17792
17793         * gst/gstbin.c: (gst_bin_iterate_sorted):
17794           Pass GType and size arguments to gst_iterator_new() in the right
17795           order (maybe we should make _new() take the GType as first argument
17796           just like _new_list()?) (#318447).
17797           
17798
17799 2005-10-10  Wim Taymans  <wim@fluendo.com>
17800
17801         * gst/gstelement.c: (gst_element_finalize):
17802         And free the GStaticRecMutex too
17803
17804 2005-10-10  Andy Wingo  <wingo@pobox.com>
17805
17806         * gst/gstelement.c (gst_element_init, gst_element_finalize):
17807         Allocate and free the mutex properly.
17808
17809         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17810         New macros.
17811         (GstElement): The state_lock is now recursive. Rebuild your
17812         plugins, suckers. Old macros adapted.
17813
17814         * docs/gst/gstreamer-sections.txt: Doc updates.
17815
17816         * gst/gstutils.h:
17817         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
17818         (g_static_rec_cond_wait): Ported from state changes patch, while
17819         we wait on bug #317802 to be solved in a well-distributed GLib.
17820
17821         * gst/gstelement.c (gst_element_change_state_func): Renamed from
17822         gst_element_change_state, variable name changes.
17823         (gst_element_change_state): Split out of gst_element_set_state in
17824         preparation for the state change merge. Doesn't pay attention to
17825         the 'transition' argument.
17826         (gst_element_set_state): Updates, hopefully purely cosmetic.
17827         (gst_element_sync_state_with_parent): MT-safety. Ported from the
17828         state change patch.
17829         (gst_element_get_state_func): Renamed from get_state, cosmetic
17830         changes.
17831
17832 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17833
17834         * gst/elements/gstelements.c:
17835         * win32/GStreamer.vcproj:
17836         * win32/config.h:
17837         * win32/dirent.c: (_tseekdir):
17838         * win32/gst-inspect.vcproj:
17839         * win32/gst-launch.vcproj:
17840         * win32/gstconfig.h:
17841         * win32/gstelements.vcproj:
17842         * win32/gstenumtypes.c: (gst_object_flags_get_type):
17843         * win32/gstreamer.def:
17844         * win32/msvc71.sln:
17845           updates for the win32 build (patch from Sebastien Moutte)
17846
17847 2005-10-10  Andy Wingo  <wingo@pobox.com>
17848
17849         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17850         gst_bin_get_state, cleaned up (but no logic changes).
17851         (bin_element_is_sink): Comment updates.
17852         (sink_iterator_filter): Remove needless cast.
17853         (gst_bin_iterate_sinks): Doc update.
17854         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17855         cleaned up (but no logic changes).
17856
17857         * check/states/sinks.c (test_src_sink): Cleanups from the state
17858         change patch.
17859         (test_livesrc_sink): Sync on the state.
17860
17861         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17862         the state change patch.
17863
17864         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17865         change patch.
17866
17867         * check/gst/gstbin.c: Merge in some style fixes and additional
17868         checks from Wim's state change patch.
17869
17870 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17871
17872         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17873         (gst_type_find_helper):
17874           Check whether we have the requested data already in our list of
17875           cached buffers before pulling a new buffer; also make the buffer
17876           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17877
17878 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17879
17880         * gst/gstcaps.c:
17881         * gst/gstevent.c:
17882           doc updates
17883         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17884           don't use long long, it's not portable.  Replacing with
17885           gint64 seems to work; let's hope no skeletons fall out of the closet.
17886
17887 2005-10-10  Andy Wingo  <wingo@pobox.com>
17888
17889         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17890
17891 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
17892
17893         * docs/gst/gstreamer-sections.txt:
17894         * gst/gstevent.c:
17895         * gst/gstevent.h:
17896         * gst/gstinfo.c:
17897         * gst/gstinfo.h:
17898         * gst/gstmessage.c: (gst_message_parse_state_changed):
17899         * gst/gstpad.c:
17900         * gst/gstpad.h:
17901           more docs, fix compilation
17902
17903 2005-10-09  Philippe Khalaf <burger@speedy.org>
17904         * gst/gstmessage.c:
17905           Fixed a few forgotten variables on previous commit
17906
17907 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
17908
17909         * gst/base/gsttypefindhelper.c: (helper_find_peek):
17910           Fix evil typefind crasher: getrange() might return a short
17911           buffer at the end of a file, but gst_type_find_peek() must
17912           either return the full data as requested or NULL, but
17913           never a short buffer.
17914
17915 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17916
17917         * gst/gstmessage.c: (gst_message_new_state_changed),
17918         (gst_message_parse_state_changed):
17919         * gst/gstmessage.h:
17920           don't use "new", it's a C++ keyword
17921
17922 2005-10-08  Wim Taymans  <wim@fluendo.com>
17923
17924         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17925         * gst/gstelement.c: (gst_element_post_message):
17926         * gst/gstpipeline.c: (gst_pipeline_change_state):
17927         Small docs and debug updates.
17928
17929 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
17930
17931         * docs/gst/gstreamer-sections.txt:
17932         * gst/gstelementfactory.c:
17933         * gst/gstevent.c:
17934         * gst/gsttaglist.c:
17935           more docs
17936
17937 2005-10-08  Wim Taymans  <wim@fluendo.com>
17938
17939         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17940         (gst_bin_dispose), (bin_bus_handler):
17941         Fix typos, add comments.
17942         Clear EOS list when going to PAUSED from any direction and do it
17943         in a threadsafe way.
17944         Get base time in a threadsafe way too.
17945         Fix confusing debug in the change_state function.
17946         Various other small cleanups.
17947         
17948         * gst/gstelement.c: (gst_element_post_message):
17949         Fix very verbose bus posting code.
17950
17951         * gst/gstpipeline.c: (gst_pipeline_class_init),
17952         (gst_pipeline_set_property), (gst_pipeline_get_property),
17953         (gst_pipeline_change_state):
17954         Small ARG_ -> PROP_ cleanup
17955
17956 2005-10-08  Wim Taymans  <wim@fluendo.com>
17957
17958         * gst/gstbin.c: (is_eos), (bin_bus_handler):
17959         Do a less CPU demanding EOS check because we can.
17960
17961 2005-10-08  Wim Taymans  <wim@fluendo.com>
17962
17963         * libs/gst/dataprotocol/dataprotocol.c:
17964         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17965         (gst_dp_packet_from_event):
17966         * libs/gst/dataprotocol/dataprotocol.h:
17967         * libs/gst/dataprotocol/dp-private.h:
17968         It's about time we bump the version number.
17969         Since event types don't fit in the guint8 anymore describing
17970         the payload type, make payload type 16 bits wide.
17971
17972 2005-10-08  Wim Taymans  <wim@fluendo.com>
17973
17974         * docs/design/part-TODO.txt:
17975         * docs/design/part-clocks.txt:
17976         * docs/design/part-events.txt:
17977         * docs/design/part-gstbin.txt:
17978         * docs/design/part-gstelement.txt:
17979         * docs/design/part-gstpipeline.txt:
17980         * docs/design/part-live-source.txt:
17981         * docs/design/part-messages.txt:
17982         * docs/design/part-overview.txt:
17983         * docs/design/part-states.txt:
17984         Many doc updates.
17985
17986 2005-10-08  Wim Taymans  <wim@fluendo.com>
17987
17988         * gst/gstevent.c:
17989         * gst/gstevent.h:
17990         Fix event quark registration.
17991         Add some space between events so we can insert them in the
17992         right groups.
17993
17994 2005-10-08  Wim Taymans  <wim@fluendo.com>
17995
17996         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17997         (gst_base_sink_handle_buffer):
17998         Better log message.
17999
18000         * gst/gstbus.h:
18001         * gst/gstelement.h:
18002         More docs.
18003
18004         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18005         (gst_queue_set_property), (gst_queue_get_property):
18006         * gst/gstqueue.h:
18007         Remove old unused properties.
18008
18009 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18010         * docs/gst/gstreamer-sections.txt:
18011         * gst/gstmessage.c:
18012         * gst/gstmessage.h:
18013         * gst/gstminiobject.c:
18014         * gst/gstminiobject.h:
18015         * gst/gstobject.h:
18016         * gst/gstpad.h:
18017         * gst/gstutils.h:
18018           lots of new docs and doc fixes
18019
18020 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18021
18022         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18023         * gst/gstplugin.h:
18024         * gst/gstregistry.c: (gst_registry_lookup_locked),
18025         (gst_registry_scan_path_level):
18026         * gst/gstregistryxml.c: (load_plugin):
18027           Only ever load one plugin for a given plugin basename.
18028           This ensures correct overriding of GST_PLUGIN_PATH over
18029           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18030           system installed plugins.
18031
18032 2005-10-08  Wim Taymans  <wim@fluendo.com>
18033
18034         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18035         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18036         Prepare for doing QOS.
18037
18038 2005-10-08  Wim Taymans  <wim@fluendo.com>
18039
18040         * check/gst/gstbin.c: (GST_START_TEST):
18041         * check/pipelines/cleanup.c: (GST_START_TEST):
18042         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18043         Allow new clock message too.
18044
18045 2005-10-08  Wim Taymans  <wim@fluendo.com>
18046
18047         * gst/gstmessage.c: (gst_message_new_error),
18048         (gst_message_new_warning), (gst_message_new_tag),
18049         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18050         (gst_message_new_clock_lost), (gst_message_new_new_clock),
18051         (gst_message_new_segment_start), (gst_message_new_segment_done),
18052         (gst_message_parse_state_changed),
18053         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18054         (gst_message_parse_new_clock):
18055         * gst/gstmessage.h:
18056         Also carry the clock in question.
18057
18058 2005-10-08  Wim Taymans  <wim@fluendo.com>
18059
18060         * gst/gstmessage.c: (gst_message_new_custom),
18061         (gst_message_new_eos), (gst_message_new_error),
18062         (gst_message_new_warning), (gst_message_new_tag),
18063         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18064         (gst_message_new_new_clock), (gst_message_new_segment_start),
18065         (gst_message_new_segment_done), (gst_message_parse_state_changed),
18066         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18067         * gst/gstmessage.h:
18068         Clean up.
18069         Added clock related messages.
18070
18071         * gst/gstpipeline.c: (gst_pipeline_change_state):
18072         Post message when the clock changed.
18073
18074         * tools/gst-launch.c: (event_loop):
18075         Print new clock.
18076
18077 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
18078
18079         * tools/gst-inspect.c: (print_element_properties_info):
18080           Can't pass NULL strings to g_print() on windows.
18081
18082 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18083
18084         * docs/Makefile.am:
18085         * docs/gst/Makefile.am:
18086         * docs/gst/gstreamer-docs.sgml:
18087         * docs/gst/running.xml:
18088         * docs/version.entities.in:
18089           add a chapter on running GStreamer.
18090           document GST_DEBUG and GST_PLUGIN* env vars
18091
18092 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18093
18094         * Makefile.am:
18095           remove include dir
18096         * configure.ac:
18097           remove PLUGINS_BUILDDIR stuff
18098         * gst/gst.c: (init_post):
18099           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18100         * idiottest.mak:
18101           remove, it was condescending and not needed
18102
18103 2005-10-08  Wim Taymans  <wim@fluendo.com>
18104
18105         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18106         (gst_base_sink_handle_object), (gst_base_sink_event),
18107         (gst_base_sink_wait), (gst_base_sink_handle_event),
18108         (gst_base_sink_change_state):
18109         * gst/base/gstbasesink.h:
18110         Repost EOS message while going to PLAYING if still EOS.
18111         Make sure that when receiving a FLUSH_START we don't attempt
18112         to sync on the clock anymore.
18113
18114 2005-10-08  Wim Taymans  <wim@fluendo.com>
18115
18116         * tools/gst-launch.c: (event_loop):
18117         Better message printout.
18118
18119 2005-10-08  Wim Taymans  <wim@fluendo.com>
18120
18121         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18122         (gst_bin_child_proxy_get_children_count):
18123         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18124         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18125         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18126         (gst_child_proxy_set_valist):
18127         * gst/parse/grammar.y:
18128         Make ChildProxy threadsafe and fix mem leaks.
18129
18130 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18131
18132         * gst/gst.c: (init_post):
18133           debug the GST_PLUGIN_ env vars
18134
18135 2005-10-08  Wim Taymans  <wim@fluendo.com>
18136
18137         * check/gst/gstbin.c: (GST_START_TEST):
18138         * check/gst/gstmessage.c: (GST_START_TEST):
18139         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18140         * gst/gstelement.c: (gst_element_commit_state),
18141         (gst_element_lost_state):
18142         * gst/gstmessage.c: (gst_message_new_state_changed),
18143         (gst_message_parse_state_changed):
18144         * gst/gstmessage.h:
18145         * tools/gst-launch.c: (event_loop):
18146         Added extra field to STATE_CHANGE message with the pending
18147         state, which will be different from the new state soon.
18148
18149 2005-10-08  Wim Taymans  <wim@fluendo.com>
18150
18151         * gst/gstbus.c: (gst_bus_pop):
18152         * gst/gstclock.c:
18153         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18154         Small cleanups and doc updates.
18155
18156 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18157
18158         * gst/gst.c: (init_pre):
18159         * gst/gstbin.c: (gst_bin_add_func):
18160           log distributing clocks and base time
18161         * gst/gstregistry.c: (gst_registry_add_plugin),
18162         (gst_registry_scan_path_level), (gst_registry_scan_path):
18163           clean up the debugging output a little
18164         * gst/gstutils.c: (gst_element_state_get_name):
18165           warn about a memleak (I've actually seen this be used, though
18166           it was probably a bug)
18167
18168 2005-10-07  Wim Taymans  <wim@fluendo.com>
18169
18170         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18171         (gst_base_src_init), (gst_base_src_default_newsegment),
18172         (gst_base_src_newsegment), (gst_base_src_do_seek),
18173         (gst_base_src_loop), (gst_base_src_start):
18174         * gst/base/gstbasesrc.h:
18175         Make the newsegment event customizable by subclasses.
18176
18177 2005-10-07  Wim Taymans  <wim@fluendo.com>
18178
18179         * gst/gstevent.c: (gst_event_new_buffersize),
18180         (gst_event_parse_buffersize):
18181         * gst/gstevent.h:
18182         New event for future idea.
18183
18184 2005-10-07  Andy Wingo  <wingo@pobox.com>
18185
18186         * gst/gstelement.c (gst_element_post_message): Doc update.
18187
18188         * docs/gst/gstreamer-sections.txt: Update.
18189
18190         * gst/gstmessage.c (gst_message_new_application): Made into a
18191         function like honest API calls.
18192         (gst_message_new_element): New message type.
18193
18194         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18195
18196         * check/elements/fakesrc.c (test_no_preroll): New check, checks
18197         that setting a live fakesrc to PAUSED returns NO_PREROLL both
18198         times.
18199
18200         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18201         NO_PREROLL from gst_element_change_state to fall through.
18202
18203 2005-10-07  Wim Taymans  <wim@fluendo.com>
18204
18205         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18206         (gst_ghost_pad_do_activate_push):
18207         Activating a ghostpad with no internal pad in push mode
18208         is ok.
18209
18210 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18211
18212         * gst/gstobject.h:
18213           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18214           Fixes compilation on Windows.
18215
18216 2005-10-07  Michael Smith <msmith@fluendo.com>
18217
18218         * tools/gst-inspect.c:
18219           Print out feature and plugin count at the end when printing out
18220           all features.
18221
18222 2005-10-04  Michael Smith <msmith@fluendo.com>
18223
18224         * gst/gsterror.c: (_gst_stream_errors_init):
18225           Add another error string used in a few existing plugins.
18226
18227         * gst/gstplugin.c:
18228         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18229         * tools/gst-inspect.c: (print_element_info):
18230           When a feature disappears from a plugin (and the feature exists in
18231           the cached registry file), things went horribly wrong. This isn't a
18232           complete fix, we should actually be removing the 'missing' features
18233           from the features list when we load the actual plugin. That's not
18234           yet implemented. 
18235
18236 2005-10-04  Johan Dahlin  <johan@gnome.org>
18237
18238         * check/gst/gstiterator.c: (GST_START_TEST):
18239         * gst/gstbin.c: (gst_bin_iterate_elements),
18240         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18241         * gst/gstelement.c: (gst_element_iterate_pads):
18242         * gst/gstformat.c: (gst_format_iterate_definitions):
18243         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18244         (gst_iterator_new_list), (gst_iterator_filter):
18245         * gst/gstiterator.h:
18246         * gst/gstquery.c: (gst_query_type_iterate_definitions):
18247         Add a GType to GstIterator, update callsites and tests.
18248
18249 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18250
18251         * gst/gstpad.c: (gst_pad_event_default_dispatch):
18252           give events a chance to be handled by event probes when the pad
18253           is not linked
18254
18255 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18256
18257         * gst/gstevent.c: (gst_event_type_get_name),
18258         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18259         * gst/gstevent.h:
18260           add string representations for event types
18261
18262 2005-10-06  Wim Taymans  <wim@fluendo.com>
18263
18264         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18265         Don't use NULL pointers.
18266
18267 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18268
18269         * gst/gst_private.h:
18270         * gst/gstbus.c:
18271         * gst/gstelement.c:
18272         * gst/gstinfo.c:
18273         * gst/gstpluginfeature.c:
18274           widen the debug category in output to fit the biggest one we have
18275           add a bus category and use it
18276           play with the colors
18277           fix up some categories
18278
18279 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18280
18281         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18282           add push activation of sink ghost pads.
18283           Andye, please verify
18284
18285 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18286
18287         * gst/gstutils.c: (gst_element_link_pads):
18288           fix a bug in the case where neither element has a pad
18289         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18290           add a test for that case
18291
18292 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18293
18294         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18295           emit have-data before checking for peers.  This allows
18296           for probe handlers to connect elements.  This helps autopluggers.
18297         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18298         (gst_pad_suite):
18299           add six checks, linked/unlinked with no/true/false probe
18300
18301 2005-10-04  Wim Taymans  <wim@fluendo.com>
18302
18303         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18304         (gst_fake_sink_event), (gst_fake_sink_preroll),
18305         (gst_fake_sink_render), (gst_fake_sink_change_state):
18306         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18307         (gst_fake_src_get_property), (gst_fake_src_create),
18308         (gst_fake_src_stop):
18309         * gst/elements/gstidentity.c: (gst_identity_stop):
18310         Protect last_message with lock.
18311
18312 2005-10-04  Edward Hervey  <edward@fluendo.com>
18313
18314         * gst/gstformat.h: 
18315         Added precision in the comments for GST_FORMAT_DEFAULT
18316
18317 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
18318
18319         * tools/gst-launch.c: (main):
18320           Don't try to run erroneous pipelines.
18321
18322 2005-10-04  Julien MOUTTE  <julien@moutte.net>
18323
18324         * gst/gstbus.c: We don't need this header.
18325
18326 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18327
18328         * configure.ac:
18329           back to development
18330
18331 === release 0.9.3 ===
18332
18333 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18334
18335         * README:
18336         * configure.ac:
18337           Releasing 0.9.3, "Unregistered"
18338
18339 2005-10-03  Andy Wingo  <wingo@pobox.com>
18340
18341         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18342         whereby calling a pad's activatepush() function can start a thread
18343         that starts to push or pull before the pad gets the FLUSHING flag
18344         unset. Hack around it by holding the stream lock until the flag is
18345         set. Need to replace this with a proper solution. Together with
18346         the ghost pad fixes, this fixes mp3 playing/tagreading.
18347
18348         * docs/design/part-gstghostpad.txt: Add a note about activation of
18349         proxy pads outside of ghost pads.
18350
18351         * gst/gstghostpad.c: Implement the ghost pad activation design.
18352
18353 2005-10-02  Andy Wingo  <wingo@pobox.com>
18354
18355         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18356         It is volatile, after all.
18357
18358         * docs/design/part-gstghostpad.txt: Flesh out activation with
18359         ghost pads.
18360
18361         * gst/base/gstbasesrc.c (gst_base_src_init): Use
18362         GST_DEBUG_FUNCPTR.
18363
18364 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
18365
18366         * configure.ac:
18367           Fix (unused) AM_CONDITIONAL tests.
18368
18369 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
18370
18371         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18372
18373         * gst/gstutils.c: (gst_pad_query_convert):
18374           Add assertion that makes sure src_val is >=0, just like
18375           gst_query_new_convert() has. (#315895)
18376
18377 2005-09-30  Edward Hervey  <edward@fluendo.com>
18378
18379         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18380         Let's not iterate pads we're not interested in, it avoids getting 
18381         sky-high refcounts on sinkpad.
18382
18383 2005-09-30  Wim Taymans  <wim@fluendo.com>
18384
18385         * gst/gstelement.c: (gst_element_set_state),
18386         (gst_element_change_state):
18387         Small tweak, element in ASYNC remains ASYNC.
18388
18389 2005-09-30  Wim Taymans  <wim@fluendo.com>
18390
18391         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18392         Only error is an error.
18393
18394         * gst/gstbin.c: (gst_bin_change_state):
18395         Better debugging.
18396
18397         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18398         Also call pad_block in pad alloc.
18399
18400         * gst/gstutils.c: (gst_flow_get_name):
18401         Better debugging.
18402
18403 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18404
18405         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18406         (gst_base_src_get_range):
18407           Fix documentation typos. Add some more debug info.
18408
18409 2005-09-29  David Schleef  <ds@schleef.org>
18410
18411         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18412           more end-user friendly.
18413         * tools/gst-inspect.c: (main): Check if command-line argument is
18414           a file and attempt to load that file as a plugin.
18415
18416 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18417
18418         * check/gst/gstbin.c:
18419         * check/states/sinks.c:
18420           fix tests for the new warning
18421         * check/gst/gstpipeline.c:
18422           add a test for pipeline and bus interaction
18423         * gst/gstelement.c:
18424           elements should be NULL if they get disposed; add a warning if not
18425
18426 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18427
18428         * gst/gstobject.c:
18429           for 2.6 refcounting, make debug log more correct by printing
18430           the actual refcounts at the time of swap (Wim)
18431
18432 2005-09-29  Andy Wingo  <wingo@pobox.com>
18433
18434         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18435         removes signal watches previously added via
18436         gst_bus_add_signal_watch.
18437         (gst_bus_add_signal_watch): Don't return the source id, just store
18438         it on the bus if there wasn't an id already.
18439
18440         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18441         add_signal_watch and remove_signal_watch.
18442
18443 2005-09-29  Edward Hervey  <edward@fluendo.com>
18444
18445         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
18446         Better if we actually iterate the list :)
18447
18448 2005-09-29  Wim Taymans  <wim@fluendo.com>
18449
18450         * check/gst/gstbin.c: (GST_START_TEST):
18451         Change for new bus API.
18452
18453         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18454         (send_messages), (GST_START_TEST), (gstbus_suite):
18455         Change for new bus signal API.
18456
18457         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18458         (gst_bus_source_prepare), (gst_bus_source_check),
18459         (gst_bus_create_watch), (gst_bus_add_watch_full),
18460         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18461         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18462         * gst/gstbus.h:
18463         Remove support for multiple GSources operating on different
18464         message types as it is too complex and unneeded when using
18465         signals.
18466         Added support for receiving signals from the bus.
18467
18468 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18469
18470         * docs/libs/tmpl/gstdataprotocol.sgml:
18471         * docs/manual/advanced-dataaccess.xml:
18472         * gst/elements/gstcapsfilter.c:
18473         * gst/gstutils.c:
18474           rename filter-caps to caps property
18475
18476 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18477
18478         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18479           More robust fraction string parsing.
18480
18481         * docs/pwg/appendix-porting.xml:
18482           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18483
18484 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18485
18486         * gst/gstcaps.c: (gst_caps_do_simplify):
18487           Thou shalt not free a structure and then continue using it
18488           in the next loop iteration.
18489
18490         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18491         (gst_caps_suite):
18492           Add test case for caps simplification.
18493
18494 2005-09-29  Wim Taymans  <wim@fluendo.com>
18495
18496         * check/gst/gstbin.c: (GST_START_TEST):
18497         Oops.
18498
18499 2005-09-29  Wim Taymans  <wim@fluendo.com>
18500
18501         * check/gst/gstbin.c: (GST_START_TEST):
18502         Add bus to bin.
18503
18504         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18505         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18506         (find_element), (gst_bin_sort_iterator_next),
18507         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18508         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18509         (gst_bin_change_state), (gst_bin_dispose):
18510         A bin does not have a bus, it gets the bus from the parent.
18511
18512         * gst/gstelement.c: (gst_element_requires_clock),
18513         (gst_element_provides_clock), (gst_element_is_indexable),
18514         (gst_element_is_locked_state), (gst_element_change_state),
18515         (gst_element_set_bus_func):
18516         Small cleanups.
18517
18518         * gst/gstpipeline.c: (gst_pipeline_class_init),
18519         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18520         The pipeline provides a bus.
18521
18522 2005-09-28  Johan Dahlin  <johan@gnome.org>
18523
18524         * gst/gstmessage.c (gst_message_parse_state_changed): Use
18525         gst_structure_get_enum instead of gst_structure_get_int
18526
18527         * gst/gststructure.c (gst_structure_get_enum): Impl.
18528
18529         * gst/gststructure.h (gst_structure_get_enum): Add
18530
18531         * docs/gst/gstreamer-sections.txt: Ditto
18532
18533         * gst/gstmessage.c (gst_message_new_state_changed): Use
18534         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18535         which does introspection.
18536         Reviewed by Christian Schaller
18537
18538 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18539
18540         * gst/gstinfo.c: (gst_debug_log_default):
18541           don't do dummy g_strdup()s
18542         * libs/gst/controller/gstcontroller.c:
18543         (on_object_controlled_property_changed),
18544         (gst_controlled_property_new), (gst_controller_new_valist),
18545         (gst_controller_new_list),
18546         (gst_controller_remove_properties_valist), (gst_controller_set),
18547         (gst_controller_get), (gst_controller_sync_values),
18548         (gst_controller_get_value_array), (_gst_controller_class_init),
18549         (gst_controller_get_type):
18550         * libs/gst/controller/gstcontroller.h:
18551         * libs/gst/controller/gstinterpolation.c:
18552         (gst_controlled_property_find_timed_value_node):
18553           convert // to /**/ comments
18554
18555 2005-09-28  Wim Taymans  <wim@fluendo.com>
18556
18557         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18558         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18559         (gst_bus_sync_signal_handler):
18560         * gst/gstbus.h:
18561         Added async-message and sync-message signals to the bus.
18562         Added helper BusFunc to emit signals for all posted messages.
18563
18564         * gst/gstmessage.c: (gst_message_type_get_name),
18565         (gst_message_type_to_quark), (gst_message_get_type):
18566         * gst/gstmessage.h:
18567         Register quarks for message names.
18568
18569 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18570
18571         * docs/libs/gstreamer-libs-sections.txt:
18572         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18573         (gst_controller_new_list):
18574         * libs/gst/controller/gstcontroller.h:
18575           added another constructor for language bindings
18576
18577 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18578
18579         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18580           add another check
18581         * gst/gstbus.c:
18582           add some doc
18583         * gst/gstinfo.c: (_gst_debug_init):
18584           slightly more readable color for refcount debugging
18585
18586 2005-09-28  Wim Taymans  <wim@fluendo.com>
18587
18588         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18589         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18590         (find_element), (gst_bin_sort_iterator_next),
18591         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18592         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18593         (gst_bin_change_state), (gst_bin_dispose):
18594         Small doc fixes. get_clock -> provide_clock.
18595
18596         * gst/gstelement.c: (gst_element_class_init),
18597         (gst_element_provides_clock), (gst_element_provide_clock),
18598         (gst_element_get_clock), (gst_element_commit_state),
18599         (gst_element_lost_state):
18600         * gst/gstelement.h:
18601         Make get/set_clock() symetric. Add provide_clock vmethod since
18602         that is actually what this function does.
18603
18604         * gst/gstpipeline.c: (gst_pipeline_class_init),
18605         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18606         (gst_pipeline_get_clock):
18607         get_clock -> provide_clock.
18608
18609 2005-09-28  Andy Wingo  <wingo@pobox.com>
18610
18611         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18612         lieu of real docs...
18613
18614         * gst/elements/gstfdsrc.c: Cleaned up a bit.
18615
18616 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
18617
18618         * gst/elements/gstcapsfilter.c:
18619         * gst/elements/gstfakesink.c:
18620         * gst/elements/gstfakesrc.c:
18621         * gst/elements/gstfdsink.c:
18622         * gst/elements/gstfdsrc.c:
18623         * gst/elements/gstfilesink.c:
18624         * gst/elements/gstfilesrc.c:
18625         * gst/elements/gstidentity.c:
18626         * gst/elements/gsttee.c:
18627         * gst/elements/gsttypefindelement.c:
18628           Make element details static.
18629
18630 2005-09-28  Wim Taymans  <wim@fluendo.com>
18631
18632         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18633         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18634         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18635         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18636         (gst_bin_change_state), (gst_bin_dispose):
18637         Some documentation updates.
18638         Clean up dispose handlers.
18639
18640         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18641         * gst/gstpad.c: (gst_pad_dispose):
18642         Clean up dispose handler.
18643
18644         * gst/gstpipeline.c: (gst_pipeline_change_state):
18645         Removed spurious UNLOCK.
18646
18647 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
18648
18649         * docs/gst/gstreamer-sections.txt:
18650         * gst/base/gstbasesrc.h:
18651         * gst/gstelement.h:
18652         * gst/gstevent.h:
18653         * gst/gstobject.h:
18654         * gst/gstpad.h:
18655         * gst/gstpipeline.c:
18656         * gst/gstpipeline.h:
18657         * gst/gstutils.h:
18658         * gst/gstxml.h:
18659           added two new functions to the docs
18660                 documents all undocumented GstXXXFlags
18661                 completed some incomplete docs 
18662
18663 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18664
18665         * gst/gstbin.c: (gst_bin_dispose):
18666         * gst/gstelement.c: (gst_element_dispose):
18667           remove now useless and leaky resurrection code in dispose
18668         * gst/base/gstbasesrc.c: (gst_base_src_init):
18669         * gst/gstelementfactory.c: (gst_element_factory_create):
18670         * gst/gstobject.c: (gst_object_set_parent):
18671           add some debugging
18672
18673 2005-09-27  Wim Taymans  <wim@fluendo.com>
18674
18675         * docs/design/part-TODO.txt:
18676         Update TODO.
18677
18678         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18679         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18680         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18681         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18682         (gst_bin_change_state):
18683         * gst/gstelement.h:
18684         Remove element variable, we keep element info in the iterator now.
18685
18686 2005-09-27  Andy Wingo  <wingo@pobox.com>
18687
18688         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18689         values.
18690
18691 2005-09-27  Wim Taymans  <wim@fluendo.com>
18692
18693         * check/gst/gstbin.c: (GST_START_TEST):
18694         Enable check that works now.
18695
18696         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18697         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18698         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18699         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18700         (gst_bin_change_state):
18701         * gst/gstbin.h:
18702         Redid the state change algorithm using a topological sort algo.
18703         Handles all cases correctly.
18704         Exposed iterator for state change order.
18705
18706         * gst/gstelement.h:
18707         Temp storage for state changes. Need to get rid of this soon.
18708
18709 2005-09-27  Wim Taymans  <wim@fluendo.com>
18710
18711         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18712         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18713         (link_fold_func), (gst_pad_proxy_setcaps):
18714         Leak fixes, the fold functions need to unref the passed object and
18715         _get_parent_*() returns ref to parent.
18716
18717 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18718
18719         * check/gst/gstbuffer.c: (test_make_writable):
18720           Plug leak in test case and fix 'make check-valgrind'
18721
18722 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18723
18724         * gst/gstbuffer.c: (gst_subbuffer_init):
18725           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18726           works correctly in all circumstances (we could have just copied
18727           the parent buffer's readonly flag, but conceptually it seems
18728           cleaner to mark all subbuffers as read-only). (based on patch
18729           by Alessandro Decina, #314710).
18730         
18731         * check/gst/gstbuffer.c: (create_read_only_buffer),
18732         (test_make_writable), (test_subbuffer_make_writable),
18733         (gst_test_suite):
18734           Add some tests for gst_buffer_make_writable().
18735
18736 2005-09-27  Wim Taymans  <wim@fluendo.com>
18737
18738         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18739         use gst_object_has_ancestor().
18740
18741         * gst/gstobject.c: (gst_object_has_ancestor):
18742         * gst/gstobject.h:
18743         gst_object_has_ancestor() copied from gstbin.c as it is a
18744         useful function.
18745
18746         * tests/instantiate/create.c: (create_all_elements):
18747         * tests/lat.c: (handoff_src), (handoff_sink):
18748         * tests/sched/runxml.c: (main):
18749         * tests/seeking/seeking1.c: (main):
18750         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18751         (main):
18752         Fix compilation of some tests.
18753
18754 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18755
18756         * gst/gsterror.h:
18757           Remove comment. GST_TYPE_G_ERROR is here to stay,
18758           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18759           (#316961, #300610).
18760
18761 2005-09-26  Wim Taymans  <wim@fluendo.com>
18762
18763         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18764         Added check that shows error in state change order.
18765
18766 2005-09-26  Wim Taymans  <wim@fluendo.com>
18767
18768         * gst/gstbin.c: (gst_bin_change_state):
18769         Make state change function use 3 queues again, we were
18770         adding elements in the wrong order.
18771
18772         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18773         Some debug info,
18774
18775         * gst/gstpad.c: (gst_pad_dispose):
18776         Added some debug info first.
18777
18778 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
18779
18780         * docs/design/draft-push-pull.txt:
18781         * docs/design/part-events.txt:
18782         * docs/design/part-overview.txt:
18783         * docs/design/part-scheduling.txt:
18784           Replace all _pull_region() with _pull_range()
18785           
18786 2005-09-26  Andy Wingo  <wingo@pobox.com>
18787
18788         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18789
18790         * check/gst-libs/controller.c: Update for controller api change.
18791
18792         * configure.ac: 
18793         * tests/Makefile.am:
18794         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18795         over by GLib bug 118439.
18796         
18797         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18798         routines to a function.
18799
18800         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18801
18802         * libs/gst/controller/gsthelper.c:
18803         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18804         (gst_object_sync_values): Renamed from sink_values. Ugh.
18805
18806         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18807
18808         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18809         Renamed from controller_key, as it is exported.
18810
18811         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18812
18813 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
18814
18815         * gst/Makefile.am:
18816         * gst/gst.h:
18817         * gst/gstpad.h:
18818         * gst/gstpadtemplate.h:
18819         * gst/gstquery.c:
18820         * gst/gstquery.h:
18821         * gst/gstqueryutils.c:
18822         * gst/gstqueryutils.h:
18823           remove queryutils headers after moving the two used functions
18824           to gstquery.  also fixes build problem for gstsiddec
18825
18826 2005-09-26  Michael Smith <msmith@fluendo.com>
18827
18828         * tools/gst-launch.1.in:
18829         Correct documentation in manpage of debug syntax
18830
18831 2005-09-26  Wim Taymans  <wim@fluendo.com>
18832
18833         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18834         (gst_base_src_is_seekable), (gst_base_src_change_state):
18835         Some more debugging info.
18836
18837 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18838
18839         * docs/gst/gstreamer-sections.txt:
18840         * gst/base/gstbasetransform.h:
18841         * gst/gstindex.h:
18842           added more docs
18843
18844 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18845
18846         * docs/gst/.cvsignore:
18847         * docs/gst/tmpl/.cvsignore:
18848         * docs/gst/tmpl/gstpipeline.sgml:
18849         * docs/gst/tmpl/gstplugin.sgml:
18850         * gst/gstpipeline.c:
18851         * gst/gstplugin.c:
18852         * gst/gstplugin.h:
18853           inlined the last two docs files
18854           removed the tmpl directory from cvs (no more conflicts here!)
18855
18856 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18857
18858         * docs/gst/gstreamer-sections.txt:
18859         * docs/gst/tmpl/.cvsignore:
18860         * docs/gst/tmpl/gstpad.sgml:
18861         * docs/gst/tmpl/gstpadtemplate.sgml:
18862         * gst/Makefile.am:
18863         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18864         (gst_pad_finalize), (gst_pad_set_pad_template):
18865         * gst/gstpad.h:
18866         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18867         (gst_pad_template_class_init), (gst_pad_template_init),
18868         (gst_pad_template_dispose), (name_is_valid),
18869         (gst_static_pad_template_get), (gst_pad_template_new),
18870         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18871         (gst_pad_template_pad_created):
18872         * gst/gstpadtemplate.h:
18873           inlined two more docs
18874           factored gstpadtemplate out of gstpad
18875
18876 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
18877
18878         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18879         (test_children_state_change_order_semi_sink):
18880           Fix test case: we can't rely on a fixed state change order when
18881           going from READY => PAUSED because the sink might commit its 
18882           new state first when the first buffer created by the source 
18883           reaches the sink before the source has finished its change state.
18884           (Test case still fails at times, see #316856, comment 5 onwards)
18885
18886 2005-09-24  Wim Taymans  <wim@fluendo.com>
18887
18888         * docs/design/part-events.txt:
18889         * docs/design/part-gstbus.txt:
18890         * docs/design/part-gstpipeline.txt:
18891         * docs/design/part-messages.txt:
18892         * docs/design/part-overview.txt:
18893         * docs/design/part-segments.txt:
18894         * gst/gstbin.c:
18895         * gst/gstbuffer.c:
18896         * gst/gstclock.c:
18897         * gst/gstelement.c:
18898         * gst/gstevent.c:
18899         * gst/gstfilter.c:
18900         * gst/gstiterator.c:
18901         Various documentation updates.
18902
18903 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18904
18905         * gst/gstclock.h:
18906           Well, that's embarassing.  Luckily we weren't using
18907           GST_CLOCK_DIFF anywhere.
18908
18909 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18910
18911         * common/gtk-doc.mak:
18912           don't fail on building XML, FC4 slave shows a bunch of doc
18913           missing bits that I don't get
18914         * gst/gstpad.c:
18915         * gst/gstpipeline.c:
18916         * gst/gststructure.c:
18917           some doc updates
18918
18919 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18920
18921         * docs/design/part-gstbin.txt:
18922         * docs/design/part-gstbus.txt:
18923         * gst/gstbus.c:
18924           Add blurb about how the bus goes into flushing mode and
18925           drops all messages when its bin goes from READY into NULL 
18926           state.
18927
18928 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18929
18930         * docs/gst/gstreamer-sections.txt:
18931         * gst/gststructure.c: (gst_structure_get_clock_time):
18932         * gst/gststructure.h:
18933           add a method to get a GstClockTime out of a structure
18934
18935 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18936
18937         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18938         (test_children_state_change_order_semi_sink), (gst_bin_suite):
18939           Added test to check state change order in bins (can still be made
18940           to fail here under heavy disk load; bails out with 'Push on pad
18941           fakesink:sink0, but it was not activated in push mode').
18942
18943         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18944           Fix state change order when there is only a semi sink (#316856)
18945
18946         * gst/gstbus.c: (gst_bus_class_init):
18947           Use _class_peek_parent(), not _class_ref(); fix docs to say
18948           'default main context' instead of 'mainloop' where that is
18949           what's meant.
18950
18951         * gst/gstelement.c: (gst_element_commit_state),
18952         (gst_element_set_state):
18953           Fix typos in debug messages
18954
18955 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18956
18957         * docs/README:
18958         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18959         * gst/gstpluginfeature.c:
18960         * gst/gstutils.c:
18961           various doc updates
18962         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18963           change an assert into an error until it gets fixed properly
18964
18965 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
18966
18967         * docs/gst/gstreamer-sections.txt:
18968         * docs/gst/tmpl/.cvsignore:
18969         * docs/gst/tmpl/gstelement.sgml:
18970         * docs/gst/tmpl/gstinfo.sgml:
18971         * docs/gst/tmpl/gstobject.sgml:
18972         * gst/gstelement.c:
18973         * gst/gstelement.h:
18974         * gst/gstinfo.c:
18975         * gst/gstinfo.h:
18976         * gst/gstobject.c: (gst_object_class_init):
18977         * gst/gstobject.h:
18978           inlined 3 more biiiig doc files and added some missing docs on the fly
18979
18980 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18981
18982         * check/gst/.cvsignore:
18983         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18984         * gst/gstregistryxml.c: (load_plugin),
18985         (gst_registry_xml_save_plugin):
18986           put back source in registry.  add checks for find_plugin.
18987         * testsuite/states/bin.c: (assert_state), (empty_bin),
18988         (test_adding_one_element), (main):
18989         * testsuite/states/locked.c: (main):
18990           some compile/run fixes
18991
18992 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18993
18994         * check/gst/gstvalue.c: (GST_START_TEST):
18995           fix leaks in the test itself
18996
18997 2005-09-22  Wim Taymans  <wim@fluendo.com>
18998
18999         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19000         (gst_base_sink_send_event), (gst_base_sink_peer_query),
19001         (gst_base_sink_query):
19002         Prepare for more accurate position reporting and query
19003         handling.
19004
19005         * gst/gstelement.c: (gst_element_send_event),
19006         (gst_element_set_state):
19007         Add some comment.
19008
19009 2005-09-22  Wim Taymans  <wim@fluendo.com>
19010
19011         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19012         (gst_query_parse_segment):
19013         * gst/gstquery.h:
19014         More documentation.
19015         Add segment query for future use.
19016
19017 2005-09-22  Wim Taymans  <wim@fluendo.com>
19018
19019         * gst/gstbin.c: (gst_bin_add_func):
19020         Some more debug info.
19021
19022         * gst/gstelement.c: (gst_element_send_event):
19023         Simplify send_event
19024
19025         * gst/gstelement.h:
19026         Don't know how flags got broken.
19027
19028         * gst/gstquery.h:
19029         Added new query.
19030
19031 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19032
19033         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19034           Add simplistic test suite for GST_TYPE_DATE serialisation and
19035           deserialisation.
19036
19037 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19038
19039         * docs/gst/gstreamer-sections.txt:
19040         * gst/gststructure.c: (gst_structure_set_valist),
19041         (gst_structure_get_date):
19042         * gst/gststructure.h:
19043         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19044         (gst_date_copy), (gst_value_compare_date),
19045         (gst_value_serialize_date), (gst_value_deserialize_date),
19046         (gst_value_transform_date_string),
19047         (gst_value_transform_string_date), (_gst_value_initialize):
19048         * gst/gstvalue.h:
19049           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19050           bunch of utility functions along with a hack that checks that
19051           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19052           is required. Part of the grand scheme in #170777.
19053
19054 2005-09-22  Andy Wingo  <wingo@pobox.com>
19055
19056         * gst/gstconfig.h.in: Psych out gtk-doc.
19057
19058         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19059
19060         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19061
19062         * tools/gst-inspect.c (print_element_list): Plug some
19063         inconsequential leaks.
19064
19065         * gst/gstregistry.c (gst_registry_get_default): Doc.
19066
19067         * check/gst/gstplugin.c: 
19068         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19069         * gst/gstelementfactory.c (gst_element_factory_create): 
19070         * gst/gstindexfactory.c (gst_index_factory_create): Update for
19071         refcount changes.
19072
19073         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19074         (gst_plugin_feature_load): Doc, don't eat refs.
19075
19076         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19077         (gst_plugin_list_free): Doc.
19078         (gst_plugin_load_file): Doc updates.
19079
19080         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19081         accessors returning refcounted objects, return a ref.
19082
19083         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19084         accessor for caps. IDEMPOTENCE. Oh yes.
19085
19086 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
19087
19088         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19089
19090         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19091         (_gst_debug_register_funcptr):
19092           Add mutex to serialise access to the hash table with
19093           the function pointer => function name string mapping;
19094           make that hash table static scope (#316809).
19095
19096         * gst/registries/.cvsignore:
19097           Remove left-over file.
19098
19099 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19100
19101         * docs/pwg/appendix-porting.xml:
19102           And something about newsegment events and caps-on-buffers to
19103           the porting guide (feel free to improve).
19104
19105 2005-09-21  Andy Wingo  <wingo@pobox.com>
19106
19107         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19108         data and event probes on the same pad.
19109         (test_buffer_probe_once): Test that removing probes from within
19110         the probe functions works.
19111
19112 2005-09-21  Andy Wingo  <wingo@pobox.com>
19113
19114         * check/gst/gstutils.c: New file.
19115         (test_buffer_probe_n_times): A simple buffer probe test. More to
19116         come, foolios.
19117
19118         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19119         have-data::buffer, not have-data.
19120         (gst_pad_add_event_probe): Likewise for have-data::event.
19121         (gst_pad_add_data_probe): More docs. The part about 'resolving the
19122         peer' isn't quite right yet though.
19123         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
19124         (gst_pad_remove_data_probe): Change to take the guint handler_id
19125         as their arg, not the function+data, which is more glib-like.
19126
19127         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19128         the signal emission to indicate if the data is a buffer or an
19129         event.
19130         (gst_pad_get_type): Initialize buffer and event quarks.
19131         (gst_pad_class_init): have-data is now a detailed signal, yes it
19132         is.
19133
19134 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19135
19136         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19137         * gst/gstutils.c: (gst_util_set_value_from_string),
19138         (gst_util_set_object_arg):
19139           Don't put functional code in g_return_if_fail() or
19140           g_return_val_if_fail() statements, otherwise things will 
19141           break when G_DISABLE_CHECKS is defined during compilation.
19142
19143 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19144
19145         * docs/gst/tmpl/.cvsignore:
19146         * docs/gst/tmpl/gstvalue.sgml:
19147         * gst/gstvalue.c:
19148         * gst/gstvalue.h:
19149           inlied another one and added  some obvious docs
19150
19151 2005-09-21  Wim Taymans  <wim@fluendo.com>
19152
19153         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19154         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19155         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19156         (gst_fdsrc_get_property), (gst_fdsrc_create):
19157         * gst/elements/gstfdsrc.h:
19158         Properly implement fdsrc. Removed signal and timeout,
19159         better implemented somewhere else.
19160
19161 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19162
19163         * docs/gst/tmpl/.cvsignore:
19164         * docs/gst/tmpl/gstimplementsinterface.sgml:
19165         * gst/gstinterface.c:
19166           inlined more docs
19167
19168 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19169
19170         * docs/gst/gstreamer-sections.txt:
19171         * docs/gst/tmpl/.cvsignore:
19172         * docs/gst/tmpl/gstenumtypes.sgml:
19173           remove obsolete doc file
19174
19175 2005-09-21  David Schleef  <ds@schleef.org>
19176
19177         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19178         little beer, fix a little leak.
19179
19180 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19181
19182         * docs/gst/gstreamer-docs.sgml:
19183         * docs/gst/gstreamer-sections.txt:
19184         * docs/gst/tmpl/.cvsignore:
19185         * gst/Makefile.am:
19186         * gst/gst.h:
19187         * gst/gstbin.c:
19188         * gst/gstelement.h:
19189         * gst/gstindex.c: (gst_index_class_init):
19190         * gst/gstindex.h:
19191         * gst/gstindexfactory.c: (gst_index_factory_get_type),
19192         (gst_index_factory_class_init), (gst_index_factory_init),
19193         (gst_index_factory_finalize), (gst_index_factory_new),
19194         (gst_index_factory_destroy), (gst_index_factory_find),
19195         (gst_index_factory_create), (gst_index_factory_make):
19196         * gst/gstindexfactory.h:
19197         * gst/gstpluginfeature.c:
19198         * gst/gstpluginfeature.h:
19199         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19200           more docs inlined, splitted gstindex.{c,h}
19201
19202 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19203
19204         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19205           fix a leak
19206
19207 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19208
19209         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19210           Set sync to FALSE by default.
19211
19212 2005-09-20  Wim Taymans  <wim@fluendo.com>
19213
19214         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19215         (gst_base_sink_init):
19216         Make sync property settable from subclass.
19217
19218         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19219         (gst_fake_sink_change_state):
19220         Set sync to FALSE by default.
19221
19222 2005-09-20  Wim Taymans  <wim@fluendo.com>
19223
19224         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19225         * tools/gst-launch.c: (main):
19226         The timeout handler should have lower priority than the source
19227         so we don't timeout before popping a message with 0 timeout.
19228         Dump error messages after failed state change.
19229
19230 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19231
19232         * tools/gst-inspect.c: (print_element_properties_info):
19233           Fix two typos.
19234
19235 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19236
19237         * check/gst/gstevent.c:
19238         * gst/elements/gstfakesink.c:
19239         * gst/elements/gstfakesink.h:
19240           remove the sync property from fakesink.
19241           has the side effect of setting sync TRUE
19242           for fakesink, which is a change.  Anyone who knows how
19243           to fix this nicely in a GObject-y way, feel free.
19244
19245 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19246
19247         * docs/gst/gstreamer-docs.sgml:
19248           remove probe refsection
19249
19250 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19251
19252         * check/Makefile.am:
19253           disable valgrinding the controller test again
19254         * docs/gst/gstreamer-sections.txt:
19255           update for api-changes
19256
19257 2005-09-20  Wim Taymans  <wim@fluendo.com>
19258
19259         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19260         (gst_base_sink_set_property), (gst_base_sink_get_property),
19261         (gst_base_sink_do_sync):
19262         * gst/base/gstbasesink.h:
19263         Added sync property to basesink to disable clock sync.
19264
19265 2005-09-20  Andy Wingo  <wingo@pobox.com>
19266
19267         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19268         eating the caller's refcount.
19269
19270         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
19271         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19272         refcount.
19273
19274         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19275         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19276         of GLib 2.8 public, so we can know which refcount to check in
19277         tests.
19278
19279         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19280         (gst_object_init): Only set the gst refcount if we're going ahead
19281         with the refcount hack.
19282
19283 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19284
19285         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19286         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19287           more leaks plumbed, added more debug-logging
19288         * gst/gstmacros.h:
19289           whitespace fix
19290
19291 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19292
19293         * gst/gstmessage.c:
19294           remove include of gstmemchunk.h
19295
19296 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19297
19298         * gst/gstclock.c: (_gst_clock_id_free):
19299           Commit from the Political Party For More Atomic CVS Commits,
19300           so that people don't waste too much of their day fishing
19301           out obvious leaks out of massive commits.
19302           Oh, and fix a pretty damn obvious leak in the memchunk
19303           removal code.
19304
19305 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19306
19307         * check/Makefile.am:
19308         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19309           plug mem-leak, re-add to valgrindable tests
19310
19311 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19312
19313         * gst/gstplugin.h:
19314           unbreak the build for those who have chronic arthritis
19315           and typing "make check" is just too taxing on the hands
19316
19317 2005-09-20  Andy Wingo  <wingo@pobox.com>
19318
19319         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19320         really want it out, you should fix plugins at the same time.
19321
19322 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
19323
19324         * configure.ac:
19325         * docs/gst/gstreamer-sections.txt:
19326         * gst/gstobject.c:
19327           added missing symbols to api docs
19328           disable ref-count hack if we have glib >= 2.8
19329
19330 2005-09-19  David Schleef  <ds@schleef.org>
19331
19332         * docs/gst/Makefile.am: Ignore a few more internal headers
19333         * docs/gst/gstreamer-docs.sgml: Remove old sections
19334         * docs/gst/gstreamer-sections.txt: Remove old sections
19335         * docs/gst/tmpl/gstobject.sgml: update
19336         * docs/gst/tmpl/gstplugin.sgml: update
19337         * docs/gst/tmpl/gstpluginfeature.sgml: update
19338         * docs/random/ds/0.9-suggested-changes: update.
19339         * gst/Makefile.am: remove memchunk and trashstack, since they're
19340           not used.
19341         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19342         * gst/gst.h: don't include some headers
19343         * gst/gstchildproxy.c: add gstmarshal.h
19344         * gst/gstclock.c: Don't use memchunks
19345         * gst/gstminiobject.c: Add some docs
19346         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19347         * gst/gstobject.h: same
19348         * gst/gstplugin.c: include gstmacros.h
19349         * gst/gstplugin.h: don't include gstmacros.h, since it's private
19350         * gst/gstquery.c: don't use memchunks
19351         * gst/gstregistry.c: rename gst_registry_deinit()
19352         * gst/gstregistry.h: same
19353
19354 2005-09-19  David Schleef  <ds@schleef.org>
19355
19356         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19357         * docs/libs/gstreamer-libs-sections.txt:
19358         * docs/libs/tmpl/gstgetbits.sgml:
19359         * docs/libs/tmpl/gstputbits.sgml:
19360
19361 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
19362
19363         * win32/gstenumtypes.c:
19364         * win32/gstenumtypes.h:
19365           Update.
19366
19367 2005-09-19  Wim Taymans  <wim@fluendo.com>
19368
19369         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19370         Automatically PAUSE and RESUME a pipeline when a flushing seek
19371         is performed.
19372
19373 2005-09-19  Andy Wingo  <wingo@pobox.com>
19374
19375         * gst/gstregistry.h: Spacing fixen.
19376
19377 2005-09-19  Wim Taymans  <wim@fluendo.com>
19378
19379         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19380         Handle state change failure more correctly.
19381
19382 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19383
19384         * check/Makefile.am:
19385         * check/pipelines/cleanup.c: (run_pipeline):
19386         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19387         (GST_START_TEST):
19388           enable cleanup again after fixing the leak
19389         * docs/README:
19390           some more info on docs
19391
19392 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19393
19394         * check/Makefile.am:
19395           re-enable tests now that leaks are plugged
19396         * check/gst/gst.c:
19397         * check/gst/gstbin.c:
19398         * check/gst/gstpipeline.c:
19399           add some more tests while fixing leaks
19400         * common/check.mak:
19401           make sure binaries are uptodate when valgrinding/gdbing
19402         * gst/gst.c:
19403         * gst/gstelementfactory.c:
19404           remove a ref too many, and add a FIXME for when we get
19405           round to disposing of classes
19406         * gst/gstplugin.c:
19407           fix the refcounting when loading a plugin from a file and
19408           the code pretends that the pointer is the same even though
19409           of course it can change
19410         * gst/gstpluginfeature.c:
19411           unref plugins marked cached (a bit confusing as a name)
19412           as the docs state should be done
19413           various doc additions to explain refcounting
19414         * gst/gstregistry.c:
19415         * gst/gstregistryxml.c:
19416           debugging
19417
19418 2005-09-19  Wim Taymans  <wim@fluendo.com>
19419
19420         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19421         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19422         (send_messages), (GST_START_TEST), (gstbus_suite):
19423         * check/gst/gstpipeline.c: (GST_START_TEST):
19424         * check/pipelines/cleanup.c: (run_pipeline):
19425         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19426         (GST_START_TEST):
19427         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19428         (gst_bus_source_check), (gst_bus_source_dispatch),
19429         (gst_bus_create_watch), (gst_bus_add_watch_full),
19430         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19431         * gst/gstbus.h:
19432         * tools/gst-launch.c: (event_loop):
19433         * tools/gst-md5sum.c: (event_loop):
19434         GstBusHandler -> GstBusFunc, return value has the same meaning as
19435         any other GSource (FALSE == remove source).
19436         _add_watch() and _add_watch_full() now take a MessageType mask to
19437         only handle specific types of messages.
19438         _poll() returns the GstMessage instead of the message type to avoid
19439         race conditions.
19440         _have_pending() takes a MessageType mask now too.
19441         Added testsuite for multiple bus watches.
19442         Fix testsuites and applications for new bus API.
19443
19444 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19445
19446         * check/Makefile.am:
19447           mark a bunch of the tests as to fix until we fix them
19448
19449 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19450
19451         * common/check.mak:
19452           use GST_PLUGIN settings for valgrind tests as well, so we're
19453           valgrinding the correct thing
19454         * gst/gst.c: (init_post):
19455           plug another leak
19456
19457 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19458
19459         * gst/gst.c: (init_post), (gst_deinit):
19460         * gst/gstelementfactory.c: (gst_element_factory_class_init),
19461         (gst_element_factory_finalize), (gst_element_factory_cleanup):
19462         * gst/gstindex.c: (gst_index_factory_class_init),
19463         (gst_index_factory_finalize):
19464         * gst/gstobject.c: (gst_object_dispose):
19465         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19466         (gst_plugin_load_file), (gst_plugin_desc_free):
19467         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19468         (gst_plugin_feature_finalize):
19469         * gst/gstregistry.c: (gst_registry_class_init),
19470         (gst_registry_init), (gst_registry_finalize),
19471         (gst_registry_get_default), (gst_registry_deinit):
19472         * gst/gstregistry.h:
19473         * gst/gstregistryxml.c: (load_feature), (load_plugin):
19474           various cleanups and memleak plugging.  make valgrind is happy now.
19475
19476 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19477
19478         * common/check.mak:
19479           add a check-valgrind target
19480
19481 2005-09-18  David Schleef  <ds@schleef.org>
19482
19483         * tools/gst-inspect.c: Revert the GOption code.
19484
19485 2005-09-17  David Schleef  <ds@schleef.org>
19486
19487         * check/Makefile.am: Fix environment variables.
19488         * check/gst/gstplugin.c: Fix for API changes.
19489         * tools/gst-inspect.c: Fix for API changes.
19490         * tools/gst-xmlinspect.c: Fix for API changes.
19491         * gst/gstelementfactory.c:
19492         * gst/gstplugin.c:
19493         * gst/gstplugin.h:
19494         * gst/gstpluginfeature.c:
19495         * gst/gstpluginfeature.h:
19496         * gst/gstregistry.c:
19497         * gst/gstregistry.h:
19498         * gst/gstregistryxml.c:
19499         * gst/gsttypefind.c:
19500         * gst/gsttypefindfactory.c:
19501         * gst/indexers/gstfileindex.c:
19502         * gst/indexers/gstmemindex.c:
19503         * gst/schedulers/Makefile.am:
19504           Change registry to keep track of both plugins and features,
19505           removing the feature tracking from plugins themselves.
19506
19507 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19508
19509         * check/Makefile.am:
19510         * tools/gst-register.1.in:
19511           remove gst-register
19512
19513 2005-09-15  David Schleef  <ds@schleef.org>
19514
19515         * check/gst/gstplugin.c:
19516         * gst/gstelementfactory.c:
19517         * gst/gstplugin.c:
19518         * gst/gstpluginfeature.c:
19519         * gst/gstregistry.c:
19520           Getting tired of debugging.  Disabled all the unreffing of
19521           plugins and features, which fixes the segfaults, but of
19522           course leaks like crazy.  At least playbin works.
19523
19524 2005-09-15  David Schleef  <ds@schleef.org>
19525
19526         * check/gst/gstplugin.c: (register_check_elements),
19527         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19528         More testing
19529         * gst/elements/gsttypefindelement.c: Fix refcounting.
19530         * gst/gsttypefind.c:
19531         * gst/gsttypefindfactory.c:
19532         * gst/gsttypefindfactory.h:
19533
19534 2005-09-15  David Schleef  <ds@schleef.org>
19535
19536         * gst/gstindex.c: get refcounting correct.
19537         * gst/gstregistry.c: Handle the case where a feature/plugin is
19538           not found.
19539
19540 2005-09-15  David Schleef  <ds@schleef.org>
19541
19542         * check/Makefile.am:
19543         * check/gst/gstplugin.c: Add test
19544         * gst/gstplugin.c: Fix problems noticed by testsuite
19545         * gst/gstplugin.h:
19546         * gst/gstregistry.c: 
19547         * gst/gstregistry.h:
19548
19549 2005-09-15  David Schleef  <ds@schleef.org>
19550
19551         * gst/gstplugin.c: Implement semi-decent recounting and locking
19552           in plugins and plugin features.
19553         * gst/gstplugin.h:
19554         * gst/gstpluginfeature.c:
19555         * gst/gstpluginfeature.h:
19556         * gst/gstregistry.c:
19557
19558 2005-09-15  Michael Smith <msmith@fluendo.com>
19559
19560         * gst/gstregistry.c: (gst_registry_get_feature_list):
19561           Implement this. Makes oggdemux work; decodebin still broken.
19562
19563 2005-09-14  David Schleef  <ds@schleef.org>
19564
19565         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19566           #316076)
19567         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19568         * gst/check/Makefile.am:
19569         * libs/gst/controller/Makefile.am:
19570         * libs/gst/dataprotocol/Makefile.am:
19571
19572 2005-09-14  David Schleef  <ds@schleef.org>
19573
19574         * configure.ac: Remove getbits library.  Nothing uses it, and
19575           it should be in something like liboil if someone did want
19576           to use it.
19577         * libs/gst/Makefile.am:
19578         * libs/gst/getbits/Makefile.am:
19579         * libs/gst/getbits/gbtest.c:
19580         * libs/gst/getbits/getbits.c:
19581         * libs/gst/getbits/getbits.h:
19582         * libs/gst/getbits/gstgetbits_generic.c:
19583         * libs/gst/getbits/gstgetbits_i386.s:
19584         * libs/gst/getbits/gstgetbits_inl.h:
19585
19586 2005-09-14  David Schleef  <ds@schleef.org>
19587
19588         * gst/Makefile.am: Dist glib-compat.h
19589
19590 2005-09-14  David Schleef  <ds@schleef.org>
19591
19592         * configure.ac: Remove gst/registries, since it's no longer used.
19593         * gst/registries/Makefile.am:
19594         * gst/registries/gstlibxmlregistry.c:
19595         * gst/registries/gstlibxmlregistry.h:
19596         * gst/registries/gstxmlregistry.c:
19597         * gst/registries/gstxmlregistry.h:
19598         * gst/registries/registrytest.c:
19599
19600 2005-09-14  David Schleef  <ds@schleef.org>
19601
19602         * gst/glib-compat.h:
19603         * gst/gstregistryxml.c:
19604           Convergence is near.  Seriously.
19605
19606 2005-09-14  David Schleef  <ds@schleef.org>
19607
19608         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19609         * gst/glib-compat.h:
19610           Attempt #4 to appease the buildbots.
19611
19612 2005-09-14  David Schleef  <ds@schleef.org>
19613
19614         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19615           Attempt #3.
19616
19617 2005-09-14  David Schleef  <ds@schleef.org>
19618
19619         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19620         Attempt #2.
19621
19622 2005-09-14  David Schleef  <ds@schleef.org>
19623
19624         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19625           the new functions.
19626
19627 2005-09-14  David Schleef  <ds@schleef.org>
19628
19629         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19630         * gst/glib-compat.h: Add some functions that are in newer versions
19631           of glib than we care to require.
19632         * gst/gstregistryxml.c: Use them.
19633
19634 2005-09-14  David Schleef  <ds@schleef.org>
19635
19636         * po/POTFILES.in: remove gst-register.c
19637
19638 2005-09-14  David Schleef  <ds@schleef.org>
19639
19640         * docs/gst/gstreamer-docs.sgml:
19641         * docs/gst/gstreamer-sections.txt:
19642         * docs/gst/gstreamer.types:
19643         * docs/gst/tmpl/gstelement.sgml:
19644         * docs/gst/tmpl/gstplugin.sgml:
19645         * docs/gst/tmpl/gstpluginfeature.sgml:
19646           Documentation updates for registry changes.
19647
19648 2005-09-14  David Schleef  <ds@schleef.org>
19649
19650         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19651           because we don't require glib-2.8.
19652
19653 2005-09-14  David Schleef  <ds@schleef.org>
19654
19655         * gst/gstregistryxml.c: Added.  Essentially moved out of the
19656           registries directory.
19657
19658 2005-09-14  David Schleef  <ds@schleef.org>
19659
19660         * check/Makefile.am:
19661         * check/generic/states.c:
19662         * gst/Makefile.am:
19663         * gst/gst.c:
19664         * gst/gst.h:
19665         * gst/gst_private.h:
19666         * gst/gstelementfactory.c:
19667         * gst/gstindex.c:
19668         * gst/gstinfo.c:
19669         * gst/gstplugin.c:
19670         * gst/gstplugin.h:
19671         * gst/gstpluginfeature.c:
19672         * gst/gstpluginfeature.h:
19673         * gst/gstregistry.c:
19674         * gst/gstregistry.h:
19675         * gst/gstregistrypool.c: remove
19676         * gst/gstregistrypool.h: remove
19677         * gst/gsttypefind.c:
19678         * gst/gsttypefindfactory.c:
19679         * gst/gsturi.c:
19680         * tools/Makefile.am:
19681         * tools/gst-compprep.c:
19682         * tools/gst-inspect.c:
19683         * tools/gst-register.c: remove
19684         * tools/gst-xmlinspect.c:
19685           Registry rewrite.  Changes registry from being a file created
19686           by a tool into a simple cache file created automatically by 
19687           libgstreamer.  Removed gst-register (because it's no longer
19688           needed).  Remove registry pools, because we only have one
19689           registry implementation (XML).  Fix up other subsystems as
19690           necessary.
19691
19692 2005-09-13  Michael Smith <msmith@fluendo.com>
19693
19694         * gst/gstconfig.h.in:
19695           Don't Use windows linking attributes for MinGW. Fixes #316157
19696
19697 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19698
19699         * gst/gstutils.c: (set_state_async_thread_func),
19700         (gst_element_set_state_async):
19701           Apparently people think it's better if this function doesn't
19702           try to set the state to whatever state was asked for on the first
19703           call to this function for any object.  Seriously.
19704
19705 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19706
19707         * check/gst/gstpipeline.c: (GST_START_TEST):
19708         * docs/gst/gstreamer-sections.txt:
19709         * gst/gstutils.c: (set_state_async_thread_func),
19710         (gst_element_set_state_async):
19711         * gst/gstutils.h:
19712           add a "gst_element_set_state_async" method that
19713           sets the state and starts a thread to make sure the state
19714           change completes as best as it can
19715
19716 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19717
19718         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19719           codify design+behaviour in testsuite after discussion
19720
19721 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19722
19723         * docs/gst/tmpl/gstelement.sgml:
19724         * docs/manual/appendix-quotes.xml:
19725           add a quote
19726         * gst/gstelement.c: (gst_element_set_state):
19727           add some debug
19728
19729 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
19730
19731         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19732         (gst_base_transform_prepare_output_buf),
19733         (gst_base_transform_handle_buffer):
19734         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19735         (gst_capsfilter_prepare_buf):
19736           Remove the requirement for sub-classes to call the parent
19737           implementation of prepare_output_buffer with a wrapper function.
19738           
19739         * gst/gsttaglist.h:
19740         * gst/gsttagsetter.h:
19741           Fix #define wrapper
19742
19743 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
19744
19745         * docs/gst/gstreamer-sections.txt:
19746           more doc cleanups
19747
19748 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19749
19750         * docs/gst/gstreamer-sections.txt:
19751         * docs/gst/tmpl/gstelement.sgml:
19752         * docs/gst/tmpl/gstplugin.sgml:
19753         * gst/gstminiobject.c:
19754         * gst/gstvalue.h:
19755           docs now stop throwing warnings
19756
19757 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19758
19759         * docs/gst/gstreamer-sections.txt:
19760         * docs/gst/gstreamer.types:
19761         * docs/gst/tmpl/gstpad.sgml:
19762         * docs/gst/tmpl/gsttypes.sgml:
19763         * gst/base/gstadapter.h:
19764         * gst/base/gstbasesink.h:
19765         * gst/base/gstbasesrc.h:
19766         * gst/gstbin.h:
19767         * gst/gstbuffer.h:
19768         * gst/gstbus.h:
19769         * gst/gstcaps.h:
19770         * gst/gstclock.h:
19771         * gst/gstelement.h:
19772         * gst/gstevent.h:
19773         * gst/gstmessage.h:
19774         * gst/gstpad.h:
19775         * gst/gststructure.c:
19776         * gst/registries/gstlibxmlregistry.h:
19777           various documentation fixes
19778
19779 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19780
19781         * docs/gst/gstreamer-sections.txt:
19782         * docs/gst/tmpl/gstvalue.sgml:
19783           rearrange gstvalue section
19784         * gst/gstutils.c: (gst_element_state_get_name):
19785           NONE -> VOID
19786         * gst/gstvalue.c: (_gst_value_initialize):
19787         * gst/gstvalue.h:
19788           doc updates
19789
19790 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
19791
19792         * check/gst-libs/controller.c:
19793           Header include fix.
19794         * gst/base/gstbasetransform.c:
19795         (gst_base_transform_default_prepare_buf),
19796         (gst_base_transform_handle_buffer):
19797         * gst/base/gstbasetransform.h:
19798           Some more basetransform changes and fixes to enable sub-classes
19799           that modify buffer metadata only.
19800         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19801         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19802         (gst_capsfilter_prepare_buf):
19803           If the output pad has fixed allowed caps and input buffers 
19804           don't have any, set the fixed caps on outgoing buffers.
19805
19806 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
19807         * check/elements/identity.c: (GST_START_TEST):
19808           Make the error a little clearer when the test fails because
19809           identity made a copy of the buffer.
19810         * docs/gst/gstreamer-sections.txt:
19811           New symbols in gstbasetransform.h
19812         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19813         (gst_base_transform_init), (gst_base_transform_transform_size),
19814         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19815         (gst_base_transform_default_prepare_buf),
19816         (gst_base_transform_get_unit_size),
19817         (gst_base_transform_buffer_alloc),
19818         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19819         (gst_base_transform_change_state),
19820         (gst_base_transform_set_passthrough),
19821         (gst_base_transform_set_in_place),
19822         (gst_base_transform_is_in_place):
19823         * gst/base/gstbasetransform.h:
19824           Change BaseTransform to separate in_place operate from same_caps
19825           output. in_place implies that the element can perform the transform
19826           on incoming buffers in-place, even if the caps on the output are
19827           different.
19828           Sub-class elements can now implement special buffer allocation
19829           methods for outgoing buffers if they wish to.
19830           Big documentation addition.
19831         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19832         * gst/elements/gstelements.c:
19833           Changes for basetransform modifications.
19834         * gst/elements/Makefile.am:
19835         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19836           Compile fix. Extra debug output.
19837
19838 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19839
19840         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19841         (gst_pad_suite):
19842           add tests for valid pad naming
19843         * gst/check/gstcheck.c: (gst_check_log_message_func),
19844         (gst_check_log_critical_func):
19845           add ASSERT_WARNING
19846           remove printing of code, it is fragile when the code contains
19847           % and the line number is enough info
19848         * gst/check/gstcheck.h:
19849         * gst/gstpad.c: (gst_pad_template_new):
19850           fix memleaks
19851
19852 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19853
19854         * configure.ac:
19855           say what CHECK flags we use
19856         * docs/libs/gstreamer-libs.types:
19857         * libs/gst/controller/Makefile.am:
19858         * libs/gst/controller/gst-controller.c:
19859         * libs/gst/controller/gst-controller.h:
19860         * libs/gst/controller/gst-helper.c:
19861         * libs/gst/controller/gst-interpolation.c:
19862         * libs/gst/controller/gstcontroller.c:
19863         * libs/gst/controller/gsthelper.c:
19864         * libs/gst/controller/gstinterpolation.c:
19865         * tools/gst-inspect.c: (print_plugin_info):
19866           we don't use dashes in header names
19867
19868 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19869
19870         * check/Makefile.am:
19871         * check/gst/.cvsignore:
19872         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19873         (gst_pipeline_suite), (main):
19874           adding a test for pipelines and state changes
19875         * gst/gstutils.c: (get_state_func):
19876           add some debugging
19877         * gstreamer.spec.in:
19878           fix up spec file
19879
19880 2005-09-08  Michael Smith <msmith@fluendo.com>
19881
19882         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19883         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19884         (gst_file_src_is_seekable), (gst_file_src_get_size),
19885         (gst_file_src_start):
19886         * gst/elements/gstfilesrc.h:
19887           Various fixes for unseekable, unmmapable, and non-normal files, so
19888           that fallback to read() rather than mmap() works.
19889         * gst/gstevent.c: (gst_event_new_newsegment):
19890           Allow newsegment events with segment_start == segment_end, as will
19891           correctly happen if you use filesrc on a zero-size file, for
19892           example.
19893
19894 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19895
19896         * gst/gstplugin.c: (gst_plugin_load_file):
19897           Call g_module_close when we don't load the module
19898
19899         * gst/registries/gstlibxmlregistry.c:
19900         (gst_xml_registry_get_property):
19901           Port leak fix from 0.8
19902
19903 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19904
19905         * docs/gst/gstreamer-docs.sgml:
19906         * docs/gst/tmpl/.cvsignore:
19907         * docs/gst/tmpl/gsttrace.sgml:
19908         * docs/gst/tmpl/gsttrashstack.sgml:
19909         * gst/Makefile.am:
19910         * gst/gst.h:
19911         * gst/gstelement.h:
19912         * gst/gstevent.h:
19913         * gst/gstmessage.c:
19914         * gst/gstmessage.h:
19915         * gst/gsttag.c:
19916         * gst/gsttag.h:
19917         * gst/gsttaginterface.c:
19918         * gst/gsttaginterface.h:
19919         * gst/gsttaglist.c:
19920         * gst/gsttaglist.h:
19921         * gst/gsttagsetter.c:
19922         * gst/gsttagsetter.h:
19923         * gst/gsttrace.c:
19924         * gst/gsttrace.h:
19925         * gst/gsttrashstack.c:
19926           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19927           inlined docs for gsttrace, gsttrashstack
19928
19929 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19930
19931         * gst/Makefile.am:
19932         * gst/elements/gstbufferstore.h:
19933         * gst/elements/gsttypefindelement.c:
19934         * gst/elements/gsttypefindelement.h:
19935         * gst/gst.h:
19936         * gst/gsttypefind.c:
19937         * gst/gsttypefind.h:
19938         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19939         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19940         (gst_type_find_factory_dispose),
19941         (gst_type_find_factory_unload_thyself),
19942         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19943         (gst_type_find_factory_get_caps),
19944         (gst_type_find_factory_get_extensions),
19945         (gst_type_find_factory_call_function):
19946         * gst/gsttypefindfactory.h:
19947         * gst/registries/gstlibxmlregistry.c:
19948         * gst/registries/gstxmlregistry.c:
19949           splitted gsttypefind into gsttypefind, gsttypefindfactory
19950
19951 2005-09-07  Andy Wingo  <wingo@pobox.com>
19952
19953         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19954         condition whereby the pad's task function is entered before the
19955         pad_mode variable was set.
19956
19957 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19958
19959         * gst/gstpad.c: (gst_pad_alloc_buffer):
19960           Catch misbehaving pad_alloc functions that don't
19961           set up caps and do it for them.
19962
19963 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19964
19965         * check/pipelines/simple_launch_lines.c: (run_pipeline):
19966           test for pipe!=NULL
19967         * docs/gst/tmpl/.cvsignore:
19968         * docs/gst/tmpl/gstmemchunk.sgml:
19969         * docs/gst/tmpl/gstparse.sgml:
19970         * docs/gst/tmpl/gsttaglist.sgml:
19971         * docs/gst/tmpl/gsttagsetter.sgml:
19972         * docs/gst/tmpl/gsttypefind.sgml:
19973         * docs/gst/tmpl/gsttypefindfactory.sgml:
19974         * gst/gstmemchunk.c:
19975         * gst/gstparse.c:
19976         * gst/gsttag.c:
19977         * gst/gsttaginterface.c:
19978         * gst/gsttypefind.c:
19979         * gst/gsttypefind.h:
19980           inlined more docs
19981
19982 === release 0.9.2 ===
19983
19984 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19985
19986         * NEWS:
19987         * RELEASE:
19988         * configure.ac:
19989           releasing 0.9.2, "South"
19990
19991 2005-09-05  Andy Wingo  <wingo@pobox.com>
19992
19993         * gst/registries/gstxmlregistry.h:
19994         * gst/registries/gstxmlregistry.c: Um... resurrect...
19995         
19996         * gst/registries/gstxmlregistry.h:
19997         * gst/registries/gstxmlregistry.c: and update to newer API.
19998         Incidentally they should be a bit faster now that they don't have
19999         to parse the caps.
20000         
20001 2005-09-05  Andy Wingo  <wingo@pobox.com>
20002
20003         * gst/registries/gstxmlregistry.h:
20004         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20005         replaced by the libxml registry a while back
20006
20007 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20008
20009         * docs/gst/tmpl/gstplugin.sgml:
20010         * gst/elements/gstelements.c:
20011         * gst/gst.c:
20012         * gst/gstplugin.c: (gst_plugin_register_func),
20013         (gst_plugin_desc_copy), (gst_plugin_desc_free),
20014         (gst_plugin_get_source):
20015         * gst/gstplugin.h:
20016         * gst/registries/gstlibxmlregistry.c: (load_plugin),
20017         (gst_xml_registry_save_plugin):
20018         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20019         (gst_xml_registry_save_plugin):
20020         * tools/gst-inspect.c: (print_plugin_info):
20021           add a "source" plugin description field, to represent the source
20022           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
20023           will set it to PACKAGE, which is automake's idea of the name of
20024           the source project.
20025
20026 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20027
20028         * Makefile.am:
20029         * autogen.sh:
20030         * configure.ac:
20031         * docs/Makefile.am:
20032         * docs/faq/Makefile.am:
20033         * docs/gst/tmpl/gstelement.sgml:
20034         * docs/gst/tmpl/gsttypes.sgml:
20035         * docs/htmlinstall.mak:
20036         * docs/manual/Makefile.am:
20037         * docs/pwg/Makefile.am:
20038           reorganize doc build a little
20039           split out docbook and gtk-doc stuff
20040           have two separate --enable's and enable them through autogen
20041           but disable by default in configure (to be similar to other
20042           projects)
20043         * gstreamer.spec.in:
20044           clean up docs install
20045         * po/af.po:
20046         * po/az.po:
20047         * po/ca.po:
20048         * po/cs.po:
20049         * po/de.po:
20050         * po/en_GB.po:
20051         * po/fr.po:
20052         * po/it.po:
20053         * po/nb.po:
20054         * po/nl.po:
20055         * po/ru.po:
20056         * po/sq.po:
20057         * po/sr.po:
20058         * po/sv.po:
20059         * po/tr.po:
20060         * po/uk.po:
20061         * po/vi.po:
20062           translation updates
20063
20064 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
20065
20066         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20067           Add comment.
20068           
20069         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20070         (gst_fake_sink_change_state):
20071           Make state change function thread-safe.
20072           
20073         * gst/gstpad.c: (gst_pad_alloc_buffer):
20074           Set offset on generic buffer allocated by fallback.
20075
20076 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
20077
20078         * docs/gst/gstreamer-sections.txt:
20079         * docs/gst/tmpl/gstelement.sgml:
20080         * gst/gstpad.c:
20081         * libs/gst/controller/gst-controller.c:
20082         (gst_controlled_property_set_interpolation_mode),
20083         (gst_controlled_property_new),
20084         (gst_controller_find_controlled_property):
20085          run the wingo-magic script against the docs
20086
20087 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20088
20089         * docs/gst/gstreamer-docs.sgml:
20090         * docs/gst/gstreamer-sections.txt:
20091         * docs/gst/tmpl/.cvsignore:
20092         * docs/gst/tmpl/gstelementdetails.sgml:
20093         * docs/gst/tmpl/gstelementfactory.sgml:
20094         * gst/gst.c:
20095         * gst/gstbus.c:
20096         * gst/gstelementfactory.c:
20097         * gst/gstelementfactory.h:
20098           merged elementdetails docs into elementfactory docs
20099           inlined both
20100
20101 2005-09-02  Andy Wingo  <wingo@pobox.com>
20102
20103         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20104         consider this enum an enum and not a flags.
20105
20106 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20107
20108         * docs/gst/gstreamer-docs.sgml:
20109         * docs/gst/tmpl/.cvsignore:
20110         * docs/gst/tmpl/gstghostpad.sgml:
20111         * docs/gst/tmpl/gstiterator.sgml:
20112         * docs/gst/tmpl/gstmacros.sgml:
20113         * docs/gst/tmpl/gstrealpad.sgml:
20114         * docs/gst/tmpl/gstregistry.sgml:
20115         * docs/gst/tmpl/gstregistrypool.sgml:
20116         * docs/gst/tmpl/gststructure.sgml:
20117         * docs/gst/tmpl/gstsystemclock.sgml:
20118         * docs/gst/tmpl/gsttrace.sgml:
20119         * gst/gstghostpad.c:
20120         * gst/gstmacros.h:
20121         * gst/gstmemchunk.c:
20122         * gst/gstmemchunk.h:
20123         * gst/gstqueue.c:
20124         * gst/gstregistry.c:
20125         * gst/gstregistrypool.c:
20126         * gst/gststructure.c:
20127         * gst/gstsystemclock.c:
20128           more docs inlined
20129
20130 2005-09-02  Andy Wingo  <wingo@pobox.com>
20131
20132         * gst/gstelement.h (GstState): Renamed from GstElementState,
20133         changed to be a normal enum instead of flags.
20134         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20135         munged to be GST_STATE_CHANGE_*.
20136         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20137         work with the new state representation.
20138         (GstStateChange): New enumeration of possible state transitions.
20139         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20140         (GstElementClass::change_state): Pass the GstStateChange along as
20141         an argument. Helps language bindings, so they don't have to use
20142         tricky lock-needing macros like GST_STATE_CHANGE ().
20143
20144         * scripts/update-states (file): New script. Run it on a file to
20145         update it for state naming and API changes. Updates files in
20146         place.
20147
20148         * All files updated for the new API.
20149
20150 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20151
20152         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20153         * gst/gstutils.c: (gst_util_set_value_from_string),
20154         (gst_util_set_object_arg):
20155           fix a bunch of unchecked return values
20156         * tools/gst-complete.c: (main):
20157         * gstreamer.spec.in:
20158           clean up a little
20159
20160 2005-09-01  Wim Taymans  <wim@fluendo.com>
20161
20162         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20163         (gst_base_sink_event), (gst_base_sink_do_sync),
20164         (gst_base_sink_handle_event):
20165         * gst/base/gstbasesink.h:
20166         Handle newsegments more correctly.
20167
20168         * gst/gstbus.c:
20169         Fix docs.
20170
20171         * gst/gstevent.c: (gst_event_new_newsegment):
20172         A newsegment cannot have a start_time of -1
20173
20174 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
20175
20176         * win32/gstenumtypes.c:
20177         * win32/gstenumtypes.h:
20178           Update
20179
20180 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20181
20182         * libs/gst/controller/gst-controller.c:
20183         (gst_controlled_property_set_interpolation_mode),
20184         (gst_controlled_property_new):
20185          fixed boolean again
20186
20187 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
20188
20189         * docs/faq/gst-uninstalled:
20190           add -good
20191         * gst/gstevent.c:
20192         * gst/gstevent.h:
20193           remove wrong docs
20194         * gst/gstutils.c: (gst_element_link_filtered):
20195         * gst/gstutils.h:
20196           add gst_element_link_filtered
20197
20198 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20199
20200         * docs/gst/gstreamer-docs.sgml:
20201         * docs/gst/gstreamer-sections.txt:
20202         * docs/gst/tmpl/.cvsignore:
20203         * docs/gst/tmpl/gsterror.sgml:
20204         * docs/gst/tmpl/gstfilter.sgml:
20205         * docs/gst/tmpl/gsturihandler.sgml:
20206         * docs/gst/tmpl/gsturitype.sgml:
20207         * docs/gst/tmpl/gstutils.sgml:
20208         * docs/gst/tmpl/gstxml.sgml:
20209         * gst/gsterror.c:
20210         * gst/gsterror.h:
20211         * gst/gstfilter.c:
20212         * gst/gsturi.c:
20213         * gst/gsturitype.c:
20214         * gst/gstutils.c:
20215         * gst/gstxml.c:
20216           inlined more docs, fixed double id-ref
20217
20218 2005-08-31  Wim Taymans  <wim@fluendo.com>
20219
20220         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20221         (gst_base_transform_handle_buffer):
20222         Passthrough elements don't need the caps as they don't care.
20223
20224 2005-08-31  Wim Taymans  <wim@fluendo.com>
20225
20226         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20227         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20228         Don't leak refcounts on buffers.
20229
20230 2005-08-31  Wim Taymans  <wim@fluendo.com>
20231
20232         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20233         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20234         (gst_base_transform_chain), (gst_base_transform_change_state):
20235         * gst/base/gstbasetransform.h:
20236         Handle the case where we are not negotiated more gracefully.
20237
20238 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
20239
20240         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20241         (gst_file_src_map_region):
20242           Set READONLY flag on mmap'ed buffers, otherwise
20243           gst_buffer_make_writable() won't work properly (#314708).
20244
20245 2005-08-31  Wim Taymans  <wim@fluendo.com>
20246
20247         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20248         passthrough elements can even do inplace on non writable
20249         buffers (as they don't touch them).
20250
20251 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20252
20253         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20254         (gst_test_mono_source_set_property),
20255         (gst_test_mono_source_class_init), (GST_START_TEST),
20256         (gst_controller_suite):
20257           more tests (hehe I have the most)
20258         * gst/gstbus.c:
20259           describe popping messages whenusing mulltiple sources
20260         * libs/gst/controller/gst-controller.c:
20261         (gst_controlled_property_set_interpolation_mode),
20262         (gst_controlled_property_new):
20263         * libs/gst/controller/gst-controller.h:
20264         * libs/gst/controller/gst-interpolation.c:
20265           implement boolean properties
20266
20267 2005-08-31  Wim Taymans  <wim@fluendo.com>
20268
20269         * gst/gstminiobject.c: (gst_mini_object_ref):
20270         Cannot assert that the refcount has to be positive
20271         since a disposed object can be resurrected.
20272
20273 2005-08-31  Wim Taymans  <wim@fluendo.com>
20274
20275         * gst/gstpad.c: (gst_pad_init):
20276         Revert change, need to first fix badly behaving 
20277         apps.
20278
20279 2005-08-30  Wim Taymans  <wim@fluendo.com>
20280
20281         * check/elements/fakesrc.c: (setup_fakesrc):
20282         * check/elements/identity.c: (setup_identity):
20283         Activate pads before using them.
20284
20285 2005-08-30  Wim Taymans  <wim@fluendo.com>
20286
20287         * gst/base/gstadapter.c: (gst_adapter_flush):
20288         Flushing out 0 bytes is ok for this function.
20289
20290         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20291         no newsegment gives a warning and sets the start/stop to 
20292         invalid.
20293
20294         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20295         (gst_base_transform_set_passthrough):
20296         Some debug info.
20297
20298         * gst/gstminiobject.c: (gst_mini_object_ref):
20299         Check refcount here too.
20300
20301         * gst/gstpad.c: (gst_pad_init):
20302         Pads are initially flushing and refusing data.
20303
20304         * gst/gstutils.c: (gst_element_link_pads_filtered):
20305         When adding a capsfilter element make sure it has the
20306         same state as the parent bin.
20307
20308 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20309
20310         * docs/gst/tmpl/.cvsignore:
20311         * docs/gst/tmpl/gstformat.sgml:
20312         * docs/gst/tmpl/gstversion.sgml:
20313         * gst/gstbus.h:
20314         * gst/gstformat.c:
20315         * gst/gstformat.h:
20316         * gst/gstversion.h.in:
20317           more docs and two more inlined
20318
20319 2005-08-30  Wim Taymans  <wim@fluendo.com>
20320
20321         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20322         Don't sync to clock.
20323
20324 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20325
20326         * docs/gst/gstreamer-sections.txt:
20327           ultral33t func10ns deserve to appear in the docs actually
20328         * docs/gst/tmpl/.cvsignore:
20329         * docs/gst/tmpl/gstcompat.sgml:
20330         * docs/gst/tmpl/gstconfig.sgml:
20331         * gst/check/gstcheck.c:
20332         * gst/gstcompat.h:
20333         * gst/gstconfig.h.in:
20334           inlined more docs
20335
20336 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20337
20338         * docs/gst/tmpl/.cvsignore:
20339         * docs/gst/tmpl/gstquery.sgml:
20340         * docs/gst/tmpl/gstutils.sgml:
20341         * gst/gstquery.c:
20342         * gst/gstquery.h:
20343           inlined and extended docs
20344
20345 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20346
20347         * check/gst-libs/controller.c: (GST_START_TEST),
20348         (gst_controller_suite):
20349           more tests
20350         * docs/gst/tmpl/gstutils.sgml:
20351         * docs/libs/gstreamer-libs-sections.txt:
20352         * docs/libs/tmpl/gstdataprotocol.sgml:
20353           include path fixes
20354         * examples/controller/audio-example.c: (main):
20355           controller example works now
20356         * gst/gstclock.h:
20357           doc fixes
20358         * tools/gst-inspect.c: (print_element_properties_info):
20359           show param spec flags
20360
20361 2005-08-29  Andy Wingo  <wingo@pobox.com>
20362
20363         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20364
20365 2005-08-28  Andy Wingo  <wingo@pobox.com>
20366
20367         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20368         as having two arguments instead of just one. Allows superclasses
20369         to access information on subclasses -- see the terrible for() loop
20370         in gtype.c:g_type_create_instance for the reason why. All callers
20371         changed.
20372
20373 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20374
20375         * docs/design/part-messages.txt:
20376           update info
20377         * docs/gst/tmpl/.cvsignore:
20378         * docs/gst/tmpl/gstcaps.sgml:
20379         * docs/gst/tmpl/gstclock.sgml:
20380         * gst/gstbus.c:
20381         * gst/gstcaps.c:
20382         * gst/gstcaps.h:
20383         * gst/gstclock.c:
20384         * gst/gstclock.h:
20385         * gst/gstmessage.c:
20386           added descriptions for bus and message
20387           inline caps and clock docs
20388
20389 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20390
20391         * gst/gstmessage.c:
20392         * gst/gstmessage.h:
20393           doc fixes
20394
20395 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20396
20397         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20398           fix div-by-zero
20399
20400 2005-08-26  Andy Wingo  <wingo@pobox.com>
20401
20402         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20403         element_set_state's return val.
20404         (test_2_elements): Add test that's been disabled for months.
20405
20406         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20407         can-activate-pull properties.
20408
20409         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20410         can-activate-pull properties. Implement is_seekable so fakesrc can
20411         operate in pull mode.
20412
20413         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20414         properties.
20415         (gst_base_sink_activate, gst_base_sink_activate_pull)
20416         (gst_base_sink_activate_push): Make activation mode choosing work.
20417         Cleanups.
20418         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20419         is right. Make pull mode work. Post an eos before pausing in pull
20420         mode.
20421         (gst_base_sink_change_state): Pay attention to the core's
20422         change_state() return val.
20423         
20424         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20425         has-getrange properties. Cleanups.
20426         
20427         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20428         has_getrange and replace with can_activate_pull and
20429         can_activate_push.
20430
20431         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20432         locking comments. Remove has_loop, has_chain and replace with
20433         can_activate_pull and can_activate_push.
20434
20435 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
20436
20437         * configure.ac:
20438         * examples/Makefile.am:
20439         * examples/metadata/Makefile.am:
20440         * examples/metadata/read-metadata.c: (message_loop),
20441         (have_pad_handler), (make_pipeline), (print_tag), (main):
20442           Add metadata reading example that loops over a list of filenames,
20443           dumping any tags found.
20444
20445         * gst/gstbus.c: (gst_bus_dispose):
20446         * gst/gstelement.c: (gst_element_dispose):
20447           Release a few potentially-held references in dispose.
20448
20449 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20450
20451         * docs/gst/tmpl/gstminiobject.sgml:
20452           do *not* add tmpl/*.sgml files to CVS!
20453
20454 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20455
20456         * libs/gst/bytestream/.cvsignore:
20457         * libs/gst/bytestream/Makefile.am:
20458         * libs/gst/bytestream/adapter.c:
20459         * libs/gst/bytestream/adapter.h:
20460         * libs/gst/bytestream/bytestream.c:
20461         * libs/gst/bytestream/bytestream.h:
20462         * libs/gst/bytestream/filepad.c:
20463         * libs/gst/bytestream/filepad.h:
20464           removing obsolete files
20465
20466 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20467
20468         * docs/gst/gstreamer-docs.sgml:
20469         * docs/libs/gstreamer-libs-docs.sgml:
20470           disabed additional index entries again, as this makes docs-gen just
20471           slow and they aren't useful yet
20472         * docs/libs/gstreamer-libs-sections.txt:
20473           little -section.txt cleanup for libs
20474
20475 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20476
20477         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20478         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20479           fix up some debugging
20480         (gst_base_transform_get_unit_size),
20481         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20482         (gst_base_transform_handle_buffer):
20483         * gst/base/gstbasetransform.h:
20484           handle and store timed NEWSEGMENT events so that subclasses that
20485           calculate time by counting samples have a segment_start time they
20486           need to add to their timestamps - see audioresample
20487
20488 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20489
20490         * gst/gstbin.h:
20491           removed ';' from the end of macro defs
20492         * docs/gst/gstreamer-docs.sgml:
20493         * docs/gst/gstreamer-sections.txt:
20494         * docs/gst/tmpl/.cvsignore:
20495         * gst/gstbus.h:
20496         * gst/gstelement.c: (gst_element_class_init),
20497         (gst_element_set_state), (activate_pads),
20498         (gst_element_save_thyself):
20499         * gst/gstevent.c: (gst_event_new_newsegment):
20500         * gst/gstevent.h:
20501         * gst/gstiterator.c:
20502         * gst/gstiterator.h:
20503         * gst/gstpad.c:
20504         * gst/gstprobe.h:
20505         * gst/gstutils.c: (gst_pad_query_convert):
20506         * gst/gstutils.h:
20507           fixed parameter name mismatches between source, header and docs
20508           added some more docs, resolved the last batch of unused elements in
20509           docs (now someone needs to doc them)
20510
20511 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20512
20513         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20514         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20515           don't walk through the plugins backwards.  Where is all this
20516           reversed logic coming from ?
20517
20518 2005-08-25  Wim Taymans  <wim@fluendo.com>
20519
20520         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20521         (gst_base_transform_transform_size),
20522         (gst_base_transform_configure_caps),
20523         (gst_base_transform_get_unit_size),
20524         (gst_base_transform_buffer_alloc),
20525         (gst_base_transform_change_state):
20526         * gst/base/gstbasetransform.h:
20527         Cache caps unit_size.
20528         Make sure we cannot negotiate up and downstream at the
20529         same time.
20530
20531 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20532
20533         * gst/gst.c: (init_pre), (init_post):
20534           register the installed plugin path after the env var
20535         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20536         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20537           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20538           directories, so the tests can prefer uninstalled over installed
20539
20540 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20541
20542         * gst/base/gstbasetransform.h:
20543           comment
20544         * gst/gstpad.c:
20545           add to docs
20546
20547 2005-08-25  Wim Taymans  <wim@fluendo.com>
20548
20549         * gst/gstbin.c: (bin_bus_handler):
20550         Be a bit more conservative about the posted message.
20551         
20552         * gst/gstbus.c: (gst_bus_post):
20553         Some cleanups, warn wrong return values.
20554
20555 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
20556
20557         * check/gst/gstbin.c: (GST_START_TEST):
20558         * gst/gstbin.c: (bin_bus_handler):
20559         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20560         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20561         (gst_message_new_warning), (gst_message_new_tag),
20562         (gst_message_new_state_changed), (gst_message_new_segment_start),
20563         (gst_message_new_segment_done), (gst_message_new_custom):
20564         * gst/gstmessage.h:
20565         * tools/gst-launch.c: (event_loop):
20566         * tools/gst-md5sum.c: (event_loop):
20567           Revert unpopular change for GST_MESSAGE_SRC to GObject.
20568
20569 2005-08-25  Wim Taymans  <wim@fluendo.com>
20570
20571         * check/generic/states.c: (GST_START_TEST):
20572         Cleanup can be done at the end.
20573
20574         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20575         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20576         (gst_task_get_state), (gst_task_start), (gst_task_pause):
20577         Oh boy.. Thanks for finding this, Thomas. 
20578
20579 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20580
20581         * docs/gst/gstreamer.types:
20582           added missing types
20583
20584 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20585
20586         * docs/gst/gstreamer-docs.sgml:
20587         * docs/gst/gstreamer-sections.txt:
20588         * docs/gst/tmpl/.cvsignore:
20589         * gst/gstbin.c:
20590         * gst/gstiterator.c:
20591         * gst/gstutils.c:
20592         * gst/registries/gstxmlregistry.h:
20593           added missing classes and symbols (123 more to go)
20594           removed removed symbols from section file
20595           fixed many doc-comments
20596
20597 2005-08-24  Wim Taymans  <wim@fluendo.com>
20598
20599         * check/generic/states.c: (GST_START_TEST):
20600         Make sure all tasks are stopped.
20601
20602         * check/gst/gstbin.c: (GST_START_TEST):
20603         Unref after usage for proper valgrinding.
20604
20605         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20606         Really wait for the task to stop before destroying the
20607         mutex.
20608
20609         * gst/gstqueue.c: (gst_queue_sink_activate_push),
20610         (gst_queue_src_activate_push):
20611         Small cleanups. Don't stop the task when we did not start
20612         it.
20613
20614         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20615         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20616         (gst_task_get_state), (gst_task_start), (gst_task_pause),
20617         (gst_task_join):
20618         * gst/gsttask.h:
20619         Protect the stream lock with the object lock.
20620         Disallow setting the stream lock when running.
20621         Add cleanup_all to wait for the threadpool to finish.
20622         Remove code to autoallocate a mutex if none was provided.
20623         Add _join() to wait for a task to stop.
20624         Protect the thread pool with a global lock.
20625
20626 2005-08-24  Wim Taymans  <wim@fluendo.com>
20627
20628         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20629         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20630         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20631         * gst/base/gstbasesink.h:
20632         Handle newsegment events correctly.
20633         Drop buffers out of the segment range.
20634
20635 2005-08-22  Andy Wingo  <wingo@pobox.com>
20636
20637         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20638         macro, implements an interface and gstimplementsinterface for a
20639         new type.
20640
20641 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20642
20643         * check/Makefile.am:
20644         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20645           add a test that does a bunch of state changes on elements
20646           needs some fixing for valgrind
20647         * check/states/sinks.c: (gst_object_suite):
20648           whitespace
20649         * gst/gstcaps.h:
20650           add prototype for gst_caps_is_equal_fixed
20651         * gst/gstplugin.c:
20652         * gst/gstregistrypool.c:
20653           doc fixes
20654
20655 2005-08-24  Andy Wingo  <wingo@pobox.com>
20656
20657         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20658         convert a negative value. Doesn't make much sense. Mostly this is
20659         here to force callers to ensure -1 maps to -1.
20660
20661 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20662
20663         * docs/pwg/advanced-types.xml:
20664           Well done to Michael for catching my deliberate introduction
20665           of this spelling mistake. 
20666         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20667         * gst/gstelement.h:
20668           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20669           unlink pads before removing the element from the bin.
20670
20671 2005-08-24  Andy Wingo  <wingo@pobox.com>
20672
20673         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20674         the same thing as GST_DEBUG=*:4.
20675         (parse_debug_level, parse_debug_category): New helper parsers.
20676
20677 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20678
20679         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20680         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20681         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20682         (gst_base_transform_buffer_alloc),
20683         (gst_base_transform_handle_buffer):
20684           use gboolean return values and pointers to size so we can use the
20685           full GST_BUFFER_SIZE range (guint) for buffer sizes
20686           use GstPadDirection for transform_caps
20687         * gst/base/gstbasetransform.h:
20688           rename get_size to get_unit_size since that's what it is
20689         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20690           use GstPadDirection for transform_caps
20691         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20692         * gst/gstutils.h:
20693           cleanup and debugging
20694
20695 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20696
20697         * gst/gstelement.c: (gst_element_class_init),
20698         (gst_element_set_state), (activate_pads),
20699         (gst_element_save_thyself):
20700         * tools/gst-compprep.c: (main):
20701         * tools/gst-inspect.c: (print_element_properties_info):
20702         * tools/gst-xmlinspect.c: (print_element_properties):
20703           Fixed long standing mem-leak
20704
20705 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20706
20707         * check/gst/gstbin.c: (GST_START_TEST):
20708         * gst/gstbin.c: (bin_bus_handler):
20709         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20710         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20711         (gst_message_new_warning), (gst_message_new_tag),
20712         (gst_message_new_state_changed), (gst_message_new_segment_start),
20713         (gst_message_new_segment_done), (gst_message_new_custom):
20714         * gst/gstmessage.h:
20715         * tools/gst-launch.c: (event_loop):
20716         * tools/gst-md5sum.c: (event_loop):
20717           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20718           that applications can sensibly post custom messages with references
20719           to their own objects.
20720
20721 2005-08-24  Andy Wingo  <wingo@pobox.com>
20722
20723         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20724         already.
20725
20726 2005-08-24  Wim Taymans  <wim@fluendo.com>
20727
20728         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20729         (gst_base_transform_transform_caps),
20730         (gst_base_transform_transform_size),
20731         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20732         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20733         (gst_base_transform_handle_buffer):
20734         * gst/base/gstbasetransform.h:
20735         Many fixes and new features added by Thomas. Can now also do
20736         transforms with variable sizes and a custom fixate_caps function.
20737
20738 2005-08-24  Wim Taymans  <wim@fluendo.com>
20739
20740         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20741         Some debugging.
20742
20743         * gst/gstclock.h:
20744         Cast to ClockTime before formatting to time.
20745
20746         * gst/gstutils.h:
20747         Cleanups.
20748
20749 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20750
20751         * check/gst-libs/controller.c: (GST_START_TEST),
20752         (gst_controller_suite):
20753         * docs/gst/tmpl/gstcaps.sgml:
20754         * docs/gst/tmpl/gstghostpad.sgml:
20755         * docs/gst/tmpl/gstquery.sgml:
20756         * docs/gst/tmpl/gstutils.sgml:
20757         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20758         (gst_object_sink_values), (gst_object_get_value_arrays),
20759         (gst_object_get_value_array):
20760           gracefully handle helper method calls to objects that are not beeing
20761           controlled, added test case for that          
20762
20763 2005-08-23  Wim Taymans  <wim@fluendo.com>
20764
20765         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20766         (gst_event_new_newsegment), (gst_event_parse_newsegment),
20767         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20768         (gst_event_parse_qos), (gst_event_new_seek),
20769         (gst_event_parse_seek):
20770         * gst/gstevent.h:
20771         Some more debugging output and doc cleanups.
20772
20773         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20774         Fix possible deadlock.
20775
20776 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20777
20778         * docs/gst/gstreamer-docs.sgml:
20779         * docs/gst/gstreamer-sections.txt:
20780         * docs/gst/gstreamer.types:
20781         * docs/gst/tmpl/.cvsignore:
20782         * gst/gstbin.h:
20783         * gst/gstbus.c:
20784         * gst/gstelement.c:
20785         * gst/gstevent.h:
20786           added 100 symbols from gstreamer-unused.txt to the right sections
20787           fixed more broken comments
20788           added GstBus to docs
20789
20790 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20791
20792         * docs/gst/gstreamer-sections.txt:
20793         * docs/gst/tmpl/.cvsignore:
20794         * docs/gst/tmpl/gstbin.sgml:
20795         * docs/gst/tmpl/gstbuffer.sgml:
20796         * gst/base/gstbasesrc.c:
20797         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20798         * gst/gstbuffer.c:
20799         * gst/gstbuffer.h:
20800         * tools/gst-launch.1.in:
20801           inlined more doc comments, added missing comments and fixed comments
20802           fixed typos
20803
20804 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20805
20806         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20807           some debugging
20808         * gst/gstcaps.h:
20809           whitespace fixes
20810         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20811           more debugging
20812         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20813         * gst/gststructure.h:
20814           add a fixate function for booleans; add a FIXME that these func
20815           names should probably be gst_structure_fixate_*
20816
20817 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20818
20819         * docs/gst/gstreamer-docs.sgml:
20820         * docs/gst/gstreamer-sections.txt:
20821         * gst/Makefile.am:
20822         * gst/gstbin.c: (gst_bin_get_type),
20823         (gst_bin_child_proxy_get_child_by_index),
20824         (gst_bin_child_proxy_get_children_count),
20825         (gst_bin_child_proxy_init):
20826         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20827         (gst_child_proxy_get_child_by_index),
20828         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20829         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20830         (gst_child_proxy_get), (gst_child_proxy_set_property),
20831         (gst_child_proxy_set_valist), (gst_child_proxy_set),
20832         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20833         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20834         * gst/gstchildproxy.h:
20835         * gst/parse/grammar.y:
20836         * tools/gst-inspect.c: (print_interfaces),
20837         (print_element_properties_info), (print_element_info):
20838           ported gstchildproxy over from 0.8
20839           ported gst-inspect fixes and enhancements over from 0.8
20840
20841 2005-08-22  Wim Taymans  <wim@fluendo.com>
20842
20843         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20844         (gst_base_transform_handle_buffer):
20845         Also call the transform function if we have ANY caps.
20846
20847         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20848         Fix debug info.
20849
20850 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20851
20852         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20853           Don't pretend to handle seek events if the source is not seekable
20854
20855 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20856
20857         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20858           Remove extra parameter to debug output
20859
20860         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20861         (gst_base_src_do_seek), (gst_base_src_activate_push):
20862           Fix seek event handling.
20863
20864         * gst/gstpipeline.c: (gst_pipeline_change_state):
20865         * gst/gstqueue.c: (gst_queue_handle_sink_event),
20866         (gst_queue_src_activate_push):
20867           Don't start the src pad task on FLUSH_STOP if the pad
20868           isn't linked.
20869           Debug changes.
20870
20871 2005-08-22  Wim Taymans  <wim@fluendo.com>
20872
20873         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20874         Added check for gst_static_caps_get() refcounting.
20875
20876 2005-08-22  Wim Taymans  <wim@fluendo.com>
20877
20878         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20879         Make _static_caps_get() refcounting sane.
20880         
20881         * gst/gstelement.c: (gst_element_set_state):
20882         Add g_return_val_if_fail() to protect against segfaults.
20883
20884 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
20885
20886         * docs/gst/tmpl/gstevent.sgml:
20887         * gst/gstevent.c:
20888         * gst/gstevent.h:
20889           inlined remaining docs, added missing doc comments
20890
20891 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20892
20893         * check/gst/gstbin.c: (GST_START_TEST):
20894           since we don't know when preroll is done, use refcount range
20895           check for the sink
20896         * gst/check/gstcheck.h:
20897           add macro for checking refcount range
20898
20899 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20900
20901         * check/Makefile.am:
20902           clean up environment for when registry gets built versus
20903           when actual tests are run; valgrind seems to not report
20904           leaks if GST_PLUGIN_PATH is set to some specific values
20905         * check/gst/gstbin.c: (GST_START_TEST):
20906           add more refcounting checks; maybe this exposes a
20907           preroll lock bug ?
20908         * common/check.mak:
20909         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20910         * gst/check/gstcheck.h:
20911         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20912         (gst_bin_change_state):
20913         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20914           add/fix debugging/whitespace
20915
20916 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
20917
20918         * check/gst/gstevent.c: (event_probe), (test_event),
20919         (GST_START_TEST):
20920          Er, don't call gst_bin_watch_for_state_change you idiot.
20921
20922 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
20923
20924         * check/Makefile.am:
20925           Use CHECK_CFLAGS and CHECK_LIBS
20926         * check/gst/gstevent.c: (event_probe), (test_event),
20927         (GST_START_TEST):
20928           Don't leak events.
20929         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20930         (gst_base_src_start), (gst_base_src_stop),
20931         (gst_base_src_activate_push), (gst_base_src_activate_pull),
20932         (gst_base_src_change_state):
20933           Sprinkle gst_base_src_stop liberally around error paths to fix
20934           problems reusing a source after failed state changes.
20935         * gst/base/gsttypefindhelper.c: (helper_find_peek),
20936         (helper_find_suggest), (gst_type_find_helper):
20937           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20938         * gst/gstevent.h:
20939         * docs/gst/tmpl/gstevent.sgml:
20940           Migrate part of the docs from the SGML file. Wait for ensonic to
20941           tell me how I did it wrong ;)
20942         * tools/gst-typefind.c: (main):
20943           Extra robustness to state changes between files.
20944
20945 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20946
20947         * check/Makefile.am:
20948           don't valgrind the controller test - it's leaking - Stefan, HELP
20949         * gst/check/gstcheck.c: (gst_check_message_error),
20950         (gst_check_chain_func), (gst_check_setup_element),
20951         (gst_check_teardown_element), (gst_check_setup_src_pad),
20952         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20953         (gst_check_teardown_sink_pad):
20954         * gst/check/gstcheck.h:
20955           add a bunch of methods to set up elements, and src and sink pads
20956         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20957         * check/elements/identity.c: (setup_identity), (cleanup_identity),
20958         (GST_START_TEST):
20959           use them
20960         * gst/gstmessage.c:
20961         * gst/gsttag.h:
20962           whitespace/doc fixes
20963
20964 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20965
20966         * gst/gstelement.h:
20967           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20968           be handled by the application and not always printed as well
20969
20970 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20971
20972         * check/Makefile.am:
20973           set GST_TOOLS_DIR
20974         * gst/check/gstcheck.c: (gst_check_message_error):
20975         * gst/check/gstcheck.h:
20976           add a fail_unless_equals_int
20977           add fail_unless for error messages
20978
20979 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20980
20981         * check/Makefile.am:
20982         * check/gst.supp:
20983         * common/Makefile.am:
20984         * common/check.mak:
20985         * common/gst.supp:
20986           factor out some of the common stuff so we can use it
20987
20988 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20989
20990         * check/Makefile.am:
20991         * check/gst/gstiterator.c: (GST_START_TEST):
20992         * check/gst/gstsystemclock.c: (GST_START_TEST),
20993         (gst_systemclock_suite):
20994         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20995         * gst/gstclock.c:
20996           valgrind more tests
20997
20998 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20999
21000         * check/elements/.cvsignore:
21001         * check/elements/gstfakesrc.c:
21002           rename to name of element
21003         * check/elements/identity.c: (chain_func), (event_func),
21004         (setup_identity), (cleanup_identity), (GST_START_TEST),
21005         (identity_suite), (main):
21006           add a test for identity
21007         * check/Makefile.am:
21008         * pkgconfig/Makefile.am:
21009         * pkgconfig/gstreamer-check.pc.in:
21010         * pkgconfig/gstreamer-check-uninstalled.pc.in:
21011         * gst/check:
21012         * gst/Makefile.am:
21013         * configure.ac:
21014           move the check stuff to a library that gets installed
21015         * check/gst-libs/controller.c: (GST_START_TEST):
21016         * check/gst-libs/gdp.c:
21017         * check/gst/gst.c: (GST_START_TEST):
21018         * check/gst/gstbin.c:
21019         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21020         * check/gst/gstbus.c:
21021         * check/gst/gstcaps.c: (GST_START_TEST):
21022         * check/gst/gstelement.c:
21023         * check/gst/gstghostpad.c:
21024         * check/gst/gstiterator.c:
21025         * check/gst/gstmessage.c:
21026         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21027         * check/gst/gstobject.c:
21028         * check/gst/gstpad.c: (GST_START_TEST):
21029         * check/gst/gststructure.c: (GST_START_TEST):
21030         * check/gst/gstsystemclock.c: (GST_START_TEST),
21031         (gst_systemclock_suite):
21032         * check/gst/gsttag.c: (gst_tag_suite):
21033         * check/gst/gstvalue.c:
21034         * check/pipelines/cleanup.c:
21035         * check/pipelines/simple_launch_lines.c:
21036         * check/states/sinks.c:
21037           change include statement
21038
21039         * docs/gst/gstreamer-sections.txt:
21040         * docs/gst/tmpl/gstpad.sgml:
21041           document more pad stuff
21042         * gst/gstminiobject.c: (gst_mini_object_ref),
21043         (gst_mini_object_unref):
21044           debug refcounting
21045
21046 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
21047
21048         * docs/gst/tmpl/gst.sgml:
21049         * gst/gst.c:
21050           eliminate another tmpl file, fix spelling in the long-description
21051
21052 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21053
21054         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21055         (test_event), (timediff), (gstevents_suite):
21056           Should fix build on 64-bit arch's
21057
21058 2005-08-18  Andy Wingo  <wingo@pobox.com>
21059
21060         Make sure that when a pipeline goes to PLAYING, that data has
21061         actually hit the sink.
21062
21063         * check/states/sinks.c (test_sink): A sink that doesn't get any
21064         data shouldn't return SUCCESS for going to either PLAYING or
21065         PAUSED. Test also the return values on the way back down.
21066
21067         * gst/gstelement.c (gst_element_set_state): When changing the
21068         state of an element currently changing state asynchronously, go to
21069         lost-state after commiting the pending state. Makes future calls
21070         to get_state continue to return ASYNC.
21071
21072         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21073         ASYNC when going to PLAYING if we still don't have preroll, as can
21074         happen with live sources.
21075
21076 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21077
21078         * docs/pwg/advanced-types.xml:
21079           Hack long paragraph into 2 chunks as a workaround for buggy
21080           jadetex version in sid and breezy that loops infinitely and
21081           eats all RAM.
21082
21083 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21084
21085         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21086         (test_event), (timediff), (gstevents_suite):
21087           Provide more error margin in clock measurements to allow for 
21088           g_get_current_time inaccuracies.
21089
21090 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21091
21092         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21093         (test_event), (timediff), (gstevents_suite):
21094            Fix error message output so I might be able to tell why the
21095            test works here but fails on the build farm.
21096
21097 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21098
21099         * check/Makefile.am:
21100         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21101         (test_event), (timediff), (gstevents_suite), (main):
21102           I wrote a test!
21103
21104         * docs/design/part-seeking.txt:
21105           Spelling correction
21106
21107         * docs/gst/tmpl/gstevent.sgml:
21108         * docs/gst/tmpl/gstfakesrc.sgml:
21109           Docs updates.
21110
21111         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21112           Treat a buffer-without-newsegment the same as a receiving 
21113           a newsegment not in time format, and disable syncing to the clock
21114           with a warning.
21115
21116         * gst/gstbus.c: (gst_bus_set_sync_handler):
21117           Assert if anyone tries to replace the existing sync_handler for bus, 
21118           as only the owner should be setting it.
21119
21120         * gst/gstevent.h:
21121           Have a fixed set of custom event enums with events identified by
21122           their structure name (as in 0.8), rather than a free-for-all
21123           allowing collisions between enum values from different plugins.
21124
21125         * gst/gstpad.c: (gst_pad_class_init):
21126           Docs change.
21127           
21128         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21129           Handle out-of-band downstream events from the sending thread.
21130
21131 2005-08-17  Andy Wingo  <wingo@pobox.com>
21132
21133         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21134         play-timeout==0 to mean no timeout at all. In that case, don't
21135         bother with a get_state or a warning, just return directly, even
21136         if it's ASYNC.
21137
21138         * gst/base/gstbasetransform.c: Debug changes.
21139
21140         * gst/gstutils.h:
21141         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21142         ensure bins post state change messages. A bit of a hack but I can't
21143         think of a way to avoid it.
21144
21145         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21146
21147 2005-08-16  Andy Wingo  <wingo@pobox.com>
21148
21149         * gst/base/gstadapter.h:
21150         * gst/base/gstadapter.c (gst_adapter_take): New function, like
21151         peek() but you own the data. Not terribly efficient atm.
21152
21153 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21154
21155         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21156         (gst_element_found_tags):
21157         * gst/gstutils.h:
21158           Add two utility functions for tag handling.
21159
21160 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21161
21162         * docs/manual/advanced-dataaccess.xml:
21163         * docs/manual/basics-helloworld.xml:
21164           Fix docs to use _bin_add() before _link(), which fixes the examples
21165           with recent core versions (reported by Madhan Raj M
21166           <raj_madan@rediffmail.com>, #313199).
21167
21168 2005-08-16  Wim Taymans  <wim@fluendo.com>
21169
21170         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21171         Added subtract checks.
21172
21173         * docs/design/part-events.txt:
21174         Some more docs about newsegment
21175
21176         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21177         Fix FIXME
21178
21179         * gst/gstcaps.c: (gst_caps_to_string):
21180         Add comments, cleanups.
21181         
21182         * gst/gstelement.c: (gst_element_save_thyself):
21183         cleanups
21184         
21185         * gst/gstvalue.c: (gst_value_collect_int_range),
21186         (gst_string_unwrap), (gst_value_union_int_int_range),
21187         (gst_value_union_int_range_int_range),
21188         (gst_value_intersect_int_int_range),
21189         (gst_value_intersect_int_range_int_range),
21190         (gst_value_intersect_double_double_range),
21191         (gst_value_intersect_double_range_double_range),
21192         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21193         (gst_value_subtract_int_range_int),
21194         (gst_value_subtract_double_range_double),
21195         (gst_value_subtract_double_range_double_range),
21196         (gst_value_subtract_from_list), (gst_value_subtract_list),
21197         (gst_value_can_compare), (gst_value_compare_fraction):
21198         Cleanups, add comments, remove unneeded asserts.
21199
21200 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21201
21202         * tools/gst-launch.c: (event_loop):
21203           don't convert NULL structures to strings
21204
21205 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
21206
21207         * docs/gst/gstreamer-sections.txt:
21208           made some defines private
21209         * docs/gst/tmpl/gstconfig.sgml:
21210         * docs/gst/tmpl/gstqueue.sgml:
21211         * docs/gst/tmpl/gsttaglist.sgml:
21212         * docs/gst/tmpl/gsttypes.sgml:
21213         * docs/gst/tmpl/gstutils.sgml:
21214         * docs/pwg/appendix-porting.xml:
21215         * gst/base/gstbasesink.h:
21216         * gst/base/gstbasesrc.c:
21217         * gst/base/gstbasesrc.h:
21218         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21219         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21220         * gst/gstelement.c: (gst_element_class_init):
21221         * gst/gstpad.c: (gst_pad_class_init):
21222         * gst/gstqueue.c: (gst_queue_class_init):
21223         * gst/gstxml.c: (gst_xml_class_init):
21224           documented all undocumented signal inline
21225         * libs/gst/controller/gst-controller.h:
21226           added padding
21227
21228 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21229
21230         * docs/pwg/appendix-porting.xml:
21231           Document _set_link_function -> _set_setcaps_function.
21232
21233 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21234
21235         * check/Makefile.am:
21236           add a .check target for running the check
21237         * check/gst-libs/controller.c: (GST_START_TEST):
21238           cosmetic fixups
21239         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21240           complete checks for gstbuffer; would be nice if I could get the
21241           gcov stuff to work so I can see if I actually completed gstbuffer.c
21242         * check/gstcheck.h:
21243           add ASSERT_BUFFER_REFCOUNT
21244
21245 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
21246
21247         * docs/gst/gstreamer-sections.txt:
21248         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21249         * gst/gsttag.h:
21250           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21251           spew out a warning if a tag that is already registered
21252           is re-registered, unless it is re-registered with a 
21253           different type (#308438).
21254
21255 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
21256
21257         * docs/pwg/appendix-porting.xml:
21258         * docs/pwg/building-state.xml:
21259           Add some paragraphs about state changes in 0.9 to the PWG
21260           and the porting guide, in particular about the new meaning
21261           of GST_STATE_PAUSED and how to write state change functions
21262           with concurrent access by multiple threads in mind.
21263
21264 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21265
21266         * docs/gst/gstreamer-docs.sgml:
21267         * docs/libs/gstreamer-libs-docs.sgml:
21268           added deprecation and since indexes
21269         * libs/gst/controller/gst-controller.c:
21270         * libs/gst/controller/gst-helper.c:
21271           added since tags
21272
21273
21274 2005-08-11  Wim Taymans  <wim@fluendo.com>
21275
21276         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21277         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21278         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21279         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21280         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21281         (gst_ghost_pad_set_target):
21282         Actually implement (re)setting the target on a ghostpad
21283         as described in the docs.
21284
21285 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21286
21287         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21288           Check whether GST_DEBUG_NO_COLOR environment variable is
21289           set and disable coloured debug output if that is the case.
21290
21291 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21292
21293         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21294         (gst_type_find_helper):
21295           The memory returned by gst_type_find_peek() needs to
21296           stay valid until the end of a typefind function, and
21297           typefind functions may keep results from different 
21298           offsets around, so we can't just unref the buffer from
21299           the previous _peek(), but have to save all buffers 
21300           returned by _peek() until typefinding is done and only
21301           free them then.
21302
21303 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
21304
21305         * docs/gst/gstreamer-sections.txt:
21306         * gst/gstutils.h:
21307           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21308
21309 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21310
21311         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21312           Fix a pretty good memleak.
21313
21314 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21315
21316         * gst/gstiterator.h:
21317           Fix wrong include and 'make distcheck'.
21318
21319 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21320
21321         * gst/gstbin.c: (bin_bus_handler):
21322           Use gst_element_post_message() instead.
21323
21324 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21325
21326         * gst/base/gstadapter.h:
21327         * gst/base/gstbasesink.h:
21328         * gst/base/gstbasesrc.h:
21329         * gst/base/gstbasetransform.h:
21330         * gst/base/gstcollectpads.h:
21331         * gst/base/gstpushsrc.h:
21332         * gst/gstiterator.h:
21333           Add padding to our base elements' class and instance structs and
21334           to GstIterator (you will need to rebuild all plugins and apps!)
21335
21336 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21337
21338         * gst/gstbin.c: (bin_bus_handler):
21339           Make default message forwarding from child->bus to bin->bus
21340           threadsafe and make it not emit warnings if the parent has no bus.
21341
21342 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21343
21344         * gst/gstelement.c: (activate_pads):
21345           On paused->ready, set pad->caps to NULL, as is the documented
21346           behaviour in this state change. Fixes playback of series of
21347           media files when visualization is enabled in Totem.
21348
21349 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21350
21351         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21352           Allow NULL as filter-caps (which means "any").
21353
21354 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21355
21356         * docs/libs/gstreamer-libs-sections.txt:
21357         * libs/gst/controller/gst-controller.c:
21358         * libs/gst/controller/gst-controller.h:
21359         * libs/gst/controller/gst-helper.c:
21360           adding more entries to the docs and fix small doc-bugs
21361
21362 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21363
21364         * docs/gst/gstreamer-docs.sgml:
21365         * docs/gst/gstreamer-sections.txt:
21366         * docs/gst/gstreamer.types:
21367         * docs/gst/tmpl/gstbasesink.sgml:
21368         * docs/gst/tmpl/gstbasesrc.sgml:
21369         * docs/gst/tmpl/gstbasetransform.sgml:
21370         * docs/gst/tmpl/gstfakesrc.sgml:
21371         * gst/base/gstcollectpads.c:
21372         * gst/base/gstcollectpads.h:
21373         * libs/gst/controller/gst-controller.c:
21374         * libs/gst/controller/gst-controller.h:
21375         * libs/gst/controller/gst-helper.c:
21376         * libs/gst/controller/gst-interpolation.c:
21377         * libs/gst/controller/lib.c:
21378           added long/short desc for controller docs
21379           added collectpads base class docs
21380           added correct includes to base-class docs
21381
21382 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21383
21384         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21385         (gst_test_mono_source_set_property),
21386         (gst_test_mono_source_class_init), (GST_START_TEST),
21387         (gst_controller_suite):
21388         * docs/gst/gstreamer-docs.sgml:
21389         * docs/gst/gstreamer-sections.txt:
21390         * docs/gst/gstreamer.types:
21391         * docs/libs/gstreamer-libs-docs.sgml:
21392         * docs/libs/gstreamer-libs-sections.txt:
21393         * gst/base/gstadapter.c:
21394         * libs/gst/controller/gst-controller.c:
21395         (gst_controlled_property_new), (gst_controlled_property_free),
21396         (gst_controller_new_valist),
21397         (gst_controller_remove_properties_valist),
21398         (gst_controller_sink_values), (_gst_controller_finalize):
21399         * libs/gst/controller/gst-controller.h:
21400         * libs/gst/controller/gst-helper.c:
21401         (gst_object_control_properties), (gst_object_uncontrol_properties),
21402         (gst_object_get_controller), (gst_object_set_controller),
21403         (gst_object_sink_values), (gst_object_get_value_arrays),
21404         (gst_object_get_value_array):
21405           more tests (and fixes) for the controller
21406           more docs for the controller
21407           integrated companies docs for the adapter 
21408
21409 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21410
21411         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21412         (GST_START_TEST), (fakesrc_suite):
21413           add tests for sizetype
21414
21415 2005-08-04  Andy Wingo  <wingo@pobox.com>
21416
21417         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21418         fixes buffer_alloc proxying among other things.
21419
21420         * gst/base/gstbasetransform.c:
21421         * gst/base/gstbasetransform.h:
21422         Revert patch to gstbasetransform from 7-28 removing
21423         delay_configure.
21424
21425         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21426         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21427         Semantics changed, should return not the size of the output buffer
21428         but the byte size of a buffer with a given caps.
21429
21430         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21431         debug object.
21432         (gst_base_transform_configure_caps): Don't set out_size here: (in,
21433         out) are not the pad caps until setcaps finishes.
21434         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21435         not-in-place case as well. Deal with changing from in-place to
21436         not-in-place within calling pad_alloc_buffer. Still a bit
21437         concerned about the overhead here...
21438
21439 2005-08-03  Andy Wingo  <wingo@pobox.com>
21440
21441         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21442         fixating is an error.
21443
21444 2005-08-04  Edward Hervey  <edward@fluendo.com>
21445
21446         * gst/base/gstadapter.h: 
21447         Added gst_adapter_get_type() to the header
21448
21449 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21450
21451         * check/Makefile.am:
21452         * check/gst-libs/controller.c:
21453         * libs/gst/controller/gst-controller.c:
21454         (gst_controller_new_valist):
21455           added check test suite for the controller
21456         * gst/base/gstpushsrc.c:
21457           fixed a doc typo
21458
21459 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21460
21461         * docs/gst/Makefile.am:
21462         * docs/gst/gstreamer-docs.sgml:
21463         * docs/gst/gstreamer-sections.txt:
21464         * docs/gst/gstreamer.types:
21465         * docs/gst/tmpl/gstfakesrc.sgml:
21466         * gst/base/README:
21467         * gst/base/gstbasesink.c:
21468         * gst/base/gstbasesink.h:
21469         * gst/base/gstbasesrc.c:
21470         * gst/base/gstbasesrc.h:
21471         * gst/base/gstbasetransform.c:
21472         * gst/base/gstpushsrc.c:
21473         * gst/base/gstpushsrc.h:
21474           add short/long description docs to base classes
21475           add pushsrc to the docs
21476           remove consolidated doc fragments
21477
21478 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21479
21480         * configure.ac:
21481         * docs/libs/Makefile.am:
21482         * docs/libs/gstreamer-libs-docs.sgml:
21483         * docs/libs/gstreamer-libs-sections.txt:
21484         * docs/libs/gstreamer-libs.types:
21485         * examples/Makefile.am:
21486         * examples/controller/.cvsignore:
21487         * examples/controller/Makefile.am:
21488         * examples/controller/audio-example.c: (main):
21489         * libs/gst/Makefile.am:
21490         * libs/gst/controller/.cvsignore:
21491         * libs/gst/controller/Makefile.am:
21492         * libs/gst/controller/gst-controller.c:
21493         (on_object_controlled_property_changed), (gst_timed_value_compare),
21494         (gst_timed_value_find),
21495         (gst_controlled_property_set_interpolation_mode),
21496         (gst_controlled_property_new), (gst_controlled_property_free),
21497         (gst_controller_find_controlled_property),
21498         (gst_controller_new_valist), (gst_controller_new),
21499         (gst_controller_remove_properties_valist),
21500         (gst_controller_remove_properties), (gst_controller_set),
21501         (gst_controller_set_from_list), (gst_controller_unset),
21502         (gst_controller_get), (gst_controller_get_all),
21503         (gst_controller_sink_values), (gst_controller_get_value_arrays),
21504         (gst_controller_get_value_array),
21505         (gst_controller_set_interpolation_mode),
21506         (_gst_controller_finalize), (_gst_controller_init),
21507         (_gst_controller_class_init), (gst_controller_get_type):
21508         * libs/gst/controller/gst-controller.h:
21509         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21510         (g_object_uncontrol_properties), (g_object_get_controller),
21511         (g_object_set_controller), (g_object_sink_values),
21512         (g_object_get_value_arrays), (g_object_get_value_array):
21513         * libs/gst/controller/gst-interpolation.c:
21514         (gst_controlled_property_find_timed_value_node),
21515         (interpolate_none_get), (interpolate_trigger_get),
21516         (interpolate_trigger_get_value_array):
21517         * libs/gst/controller/lib.c: (gst_controller_init):
21518         * pkgconfig/Makefile.am:
21519         * pkgconfig/gstreamer-control-uninstalled.pc.in:
21520         * pkgconfig/gstreamer-control.pc.in:
21521         * testsuite/Makefile.am:
21522         * testsuite/controller/.cvsignore:
21523         * testsuite/controller/Makefile.am:
21524         * testsuite/controller/interpolator.c: (main):
21525           added controller code
21526           removed dparam pc files
21527
21528 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21529         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21530         (gst_collectpads_stop):
21531           Broadcast the condition when shutting down, to make sure we wake all
21532           threads up. Shut down pads on finalize, for safety.
21533
21534 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21535         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21536         (gst_base_transform_handle_buffer),
21537         (gst_base_transform_change_state):
21538           Handle PAUSED->READY->PAUSED transition after negotiation
21539           occurred already.
21540         * gst/gstmessage.c: (gst_message_init):
21541           Extra piece of debug for new messages.
21542
21543 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
21544
21545         * configure.ac:
21546         * docs/gst/tmpl/gstbasesrc.sgml:
21547         * docs/gst/tmpl/gstelement.sgml:
21548         * docs/gst/tmpl/gstevent.sgml:
21549         * docs/gst/tmpl/gstfakesrc.sgml:
21550         * docs/gst/tmpl/gstformat.sgml:
21551         * docs/gst/tmpl/gstghostpad.sgml:
21552         * docs/gst/tmpl/gstpad.sgml:
21553         * docs/gst/tmpl/gstquery.sgml:
21554         * docs/gst/tmpl/gststructure.sgml:
21555         * docs/gst/tmpl/gsttaglist.sgml:
21556         * docs/gst/tmpl/gstvalue.sgml:
21557         * docs/libs/gstreamer-libs-docs.sgml:
21558         * docs/libs/gstreamer-libs-sections.txt:
21559         * docs/libs/gstreamer-libs.types:
21560         * libs/gst/Makefile.am:
21561         * libs/gst/control/.cvsignore:
21562         * libs/gst/control/Makefile.am:
21563         * libs/gst/control/control.c:
21564         * libs/gst/control/control.h:
21565         * libs/gst/control/dparam.c:
21566         * libs/gst/control/dparam.h:
21567         * libs/gst/control/dparam_smooth.c:
21568         * libs/gst/control/dparam_smooth.h:
21569         * libs/gst/control/dparamcommon.h:
21570         * libs/gst/control/dparammanager.c:
21571         * libs/gst/control/dparammanager.h:
21572         * libs/gst/control/dplinearinterp.c:
21573         * libs/gst/control/dplinearinterp.h:
21574         * libs/gst/control/unitconvert.c:
21575         * libs/gst/control/unitconvert.h:
21576         * testsuite/Makefile.am:
21577         * testsuite/dynparams/.cvsignore:
21578         * testsuite/dynparams/Makefile.am:
21579         * testsuite/dynparams/dparamstest.c:
21580         * tools/Makefile.am:
21581         * tools/gst-inspect.c: (print_element_info), (main):
21582         * tools/gst-xmlinspect.c: (print_element_info), (main):
21583           deactivate and remove dparams (libgstcontrol)
21584
21585 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21586
21587         * gst/elements/gsttypefindelement.c:
21588         (gst_type_find_element_have_type), (gst_type_find_element_init),
21589         (stop_typefinding), (gst_type_find_element_handle_event),
21590         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21591         * gst/elements/gsttypefindelement.h:
21592           Set caps on all outgoing buffers, not just the first one.
21593
21594 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21595
21596         * gst/elements/gsttypefindelement.c:
21597         (gst_type_find_element_have_type),
21598         (gst_type_find_element_check_set_buffer_caps),
21599         (gst_type_find_element_init), (stop_typefinding),
21600         (gst_type_find_element_handle_event),
21601         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21602         * gst/elements/gsttypefindelement.h:
21603           Set caps on first outgoing buffer when we've found the type.
21604
21605 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21606
21607         * docs/gst/gstreamer-docs.sgml:
21608         * docs/gst/gstreamer-sections.txt:
21609         * docs/gst/tmpl/gstscheduler.sgml:
21610         * docs/gst/tmpl/gstschedulerfactory.sgml:
21611           Remove some old cruft from docs.
21612
21613 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
21614
21615         * gst/gstpad.h:
21616           Fix inline docs for GstPadLinkReturn.
21617           
21618         * gst/gststructure.c: (gst_structure_has_name):
21619         * gst/gststructure.h:
21620         * docs/gst/gstreamer-sections.txt:
21621           New API: gst_structure_has_name().
21622
21623 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
21624
21625         * configure.ac:
21626           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21627           and _LARGEFILE_SOURCE in config.h as required. Do not 
21628           export those flags in our .pc files any longer (#142209).
21629
21630           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21631
21632         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21633         (gst_file_sink_do_seek), (gst_file_sink_event),
21634         (gst_file_sink_get_current_offset), (gst_file_sink_render):
21635           Redo seek/tell calls with large file support in mind; add some
21636           debugging messages; add log message that tells us when large
21637           file support is unavailable or not enabled for some reason.
21638
21639         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21640           Add log message that tells us when large file support 
21641           is unavailable or not enabled for some reason.
21642
21643 2005-07-29  Wim Taymans  <wim@fluendo.com>
21644
21645         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21646         Added test for removing an element with ghostpad from a bin.
21647         Fixed test as current implementation does the right thing.
21648
21649         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21650         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21651         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21652         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21653         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21654         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21655         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21656         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21657         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21658         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21659         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21660         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21661         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21662         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21663         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21664         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21665         * gst/gstghostpad.h:
21666         Clean up ghostpads, remove properties for internal stuff.
21667         Make threadsafe.
21668         Fix refcounting.
21669         Prepare for switching targets, not all use cases work yet.
21670
21671 2005-07-29  Wim Taymans  <wim@fluendo.com>
21672
21673         * docs/design/part-gstghostpad.txt:
21674         Small update.
21675
21676         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21677         (gst_bin_remove_func):
21678         Unlinking pads while holding the bin LOCK is not a good
21679         idea.
21680
21681         * gst/gstpad.c: (gst_pad_class_init),
21682         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21683         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21684         No prob setting template after creating the pad.
21685
21686 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
21687
21688         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21689         (gst_bus_peek), (gst_bus_source_dispatch),
21690         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21691         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21692           gst_bus_poll may be called from other threads. Handle
21693           this nicely by not making poll_data disappear off the
21694           stack once gst_bus_poll returns.
21695           gst_bus_peek now increments the refcount on the returned
21696           message.
21697
21698 2005-07-29  Wim Taymans  <wim@fluendo.com>
21699
21700         * docs/design/part-gstghostpad.txt:
21701         Overview of current GhostPad datastructures and use
21702         cases for changing the target.
21703
21704 2005-07-28  Wim Taymans  <wim@fluendo.com>
21705
21706         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21707         Added checks for hierarchy consistency whan adding linked
21708         elements to bins.
21709
21710         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21711         Added check to test element scheduling without bin/pipeline.
21712
21713         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21714         First add elements to bin, then link.
21715         
21716         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21717         (gst_bin_remove_func):
21718         Unlink pads from elements added/removed from bin to maintain
21719         hierarchy consistency.
21720
21721 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21722
21723         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21724         (gst_base_transform_handle_buffer):
21725         * gst/base/gstbasetransform.h:
21726           Remove broken delay_configure (fixes renegotiation of software
21727           scaling pipelines); remove some leftover printf()s.
21728
21729 2005-07-28  Wim Taymans  <wim@fluendo.com>
21730
21731         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21732         Added some more tests for wrong hierarchy
21733
21734         * docs/design/part-overview.txt:
21735         Some updates.
21736
21737         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21738         Cleanups.
21739
21740         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21741         (gst_element_dispose):
21742         Some more cleanups.
21743
21744         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21745         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21746         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21747         (gst_pad_set_caps), (gst_pad_send_event):
21748         Check for correct hierarchy when linking pads. Moving to
21749         strict requirement for ghostpads when linking elements in
21750         different bins.
21751
21752         * gst/gstpad.h:
21753         Clean ups. Added WRONG_HIERARCHY return value.
21754
21755 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21756
21757         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21758           Better debug if no transform is possible.
21759
21760 2005-07-27  Wim Taymans  <wim@fluendo.com>
21761
21762         * docs/random/wtay/network-transp:
21763         Some old doc I had.
21764
21765 2005-07-27  Wim Taymans  <wim@fluendo.com>
21766
21767         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21768         (gst_dp_event_from_packet):
21769         Fix serialization of seek events.
21770
21771 2005-07-27  Wim Taymans  <wim@fluendo.com>
21772
21773         * check/gst-libs/gdp.c: (GST_START_TEST):
21774         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21775         Fix compilation and fix event serialization.
21776
21777 2005-07-27  Wim Taymans  <wim@fluendo.com>
21778
21779         * CHANGES-0.9:
21780         * docs/design/part-TODO.txt:
21781         * docs/design/part-events.txt:
21782         Some docs updates
21783
21784         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21785         (gst_base_sink_event), (gst_base_sink_do_sync),
21786         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21787         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21788         (gst_base_src_do_seek), (gst_base_src_event_handler),
21789         (gst_base_src_loop):
21790         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21791         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21792         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21793         (gst_base_transform_event), (gst_base_transform_handle_buffer),
21794         (gst_base_transform_set_passthrough),
21795         (gst_base_transform_is_passthrough):
21796         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21797         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21798         Event updates.
21799
21800         * gst/gstbuffer.h:
21801         Use faster casts.
21802
21803         * gst/gstelement.c: (gst_element_seek):
21804         * gst/gstelement.h:
21805         Update gst_element_seek.
21806
21807         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21808         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21809         (gst_event_new_flush_start), (gst_event_new_flush_stop),
21810         (gst_event_new_eos), (gst_event_new_newsegment),
21811         (gst_event_parse_newsegment), (gst_event_new_tag),
21812         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21813         (gst_event_parse_qos), (gst_event_new_seek),
21814         (gst_event_parse_seek), (gst_event_new_navigation):
21815         * gst/gstevent.h:
21816         Make GstEvent use GstStructure. Add parsing code, make sure the
21817         API is sufficiently generic.
21818         Mark possible directions of events and serialization.
21819
21820         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21821         (_gst_message_copy), (gst_message_new_segment_start),
21822         (gst_message_new_segment_done), (gst_message_new_custom),
21823         (gst_message_parse_segment_start),
21824         (gst_message_parse_segment_done):
21825         Small cleanups.
21826
21827         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21828         (gst_pad_set_caps), (gst_pad_send_event):
21829         Update for new events. 
21830         Catch events sent in wrong directions.
21831
21832         * gst/gstqueue.c: (gst_queue_link_src),
21833         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21834         (gst_queue_handle_src_query):
21835         Event updates.
21836
21837         * gst/gsttag.c:
21838         * gst/gsttag.h:
21839         Remove event code from this file.
21840
21841         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21842         (gst_dp_event_from_packet):
21843         Event updates.
21844
21845 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21846
21847         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21848         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21849         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21850           Make debugging actually useful.
21851
21852 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21853
21854         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21855         (gst_pad_fixate_caps):
21856           Implement default fixation once again, so that gst_pad_fixate()
21857           actually does anything at all. This probably needs to be some
21858           sort of a last resort, and use profile-based fixation first, but
21859           since that doesn't exist yet, this is the best we have. Fixes
21860           visualization in Totem.
21861
21862 2005-07-22  Wim Taymans  <wim@fluendo.com>
21863
21864         * docs/design/part-events.txt:
21865         Small update.
21866
21867         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21868         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21869         (gst_base_sink_activate_pull):
21870         Some more comments.
21871
21872         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21873         (gst_fake_src_create):
21874         Fix handoff marshall.
21875
21876         * gst/elements/gstidentity.c: (gst_identity_class_init),
21877         (gst_identity_transform_ip):
21878         We're a real inplace element.
21879
21880         * gst/gstbus.c: (gst_bus_post):
21881         Added some comments.
21882
21883         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21884         * tests/muxing/case1.c: (main):
21885         * tests/sched/dynamic-pipeline.c: (main):
21886         * tests/sched/interrupt1.c: (main):
21887         * tests/sched/interrupt2.c: (main):
21888         * tests/sched/interrupt3.c: (main):
21889         * tests/sched/runxml.c: (main):
21890         * tests/sched/sched-stress.c: (main):
21891         * tests/seeking/seeking1.c: (event_received), (main):
21892         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21893         (main):
21894         * tests/threadstate/threadstate3.c: (main):
21895         * tests/threadstate/threadstate4.c: (main):
21896         * tests/threadstate/threadstate5.c: (main):
21897         Fix the tests.
21898
21899 2005-07-21  Wim Taymans  <wim@fluendo.com>
21900
21901         * docs/design/part-seeking.txt:
21902         Some small additions.
21903
21904         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21905         (gst_base_sink_get_times), (gst_base_sink_do_sync),
21906         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21907         * gst/base/gstbasesink.h:
21908         discont values are gint64, handle the math correctly.
21909
21910         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21911         Make the basesrc report error if the source pad is not linked.
21912
21913         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21914         (gst_queue_loop), (gst_queue_handle_src_query),
21915         (gst_queue_src_activate_push):
21916         Make queue collect data even if the srcpad is not linked.
21917         Start pushing out data as soon as it is linked.
21918
21919         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21920         * gst/gstutils.h:
21921         Added gst_flow_get_name() to ease error reporting.
21922
21923 2005-07-20  Wim Taymans  <wim@fluendo.com>
21924
21925         * gst/gstmessage.c: (gst_message_new_segment_start),
21926         (gst_message_new_segment_done), (gst_message_parse_segment_start),
21927         (gst_message_parse_segment_done):
21928         * gst/gstmessage.h:
21929         Added a bunch of messages for advanced seeking.
21930
21931         * gst/parse/grammar.y:
21932         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21933         (gst_dpman_state_changed):
21934         Fix some new-pad -> pad-added signals
21935
21936 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21937
21938         * docs/manual/appendix-porting.xml:
21939         * docs/pwg/appendix-porting.xml:
21940           Document new-pad/state-change signal renames and the FixedList
21941           type rename.
21942
21943 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21944
21945         * docs/manual/advanced-autoplugging.xml:
21946         * docs/manual/basics-helloworld.xml:
21947         * docs/manual/basics-pads.xml:
21948         * docs/random/ds/0.9-suggested-changes:
21949         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21950         * gst/gstelement.h:
21951         * gst/gstevent.h:
21952         * gst/gstformat.h:
21953         * gst/gstquery.h:
21954         * gst/gststructure.c: (gst_structure_value_get_generic_type),
21955         (gst_structure_parse_array), (gst_structure_parse_value):
21956         * gst/gstvalue.c: (gst_type_is_fixed),
21957         (gst_value_list_prepend_value), (gst_value_list_append_value),
21958         (gst_value_list_get_size), (gst_value_list_get_value),
21959         (gst_value_transform_array_string), (gst_value_serialize_array),
21960         (gst_value_deserialize_array), (gst_value_intersect_array),
21961         (gst_value_is_fixed), (_gst_value_initialize):
21962         * gst/gstvalue.h:
21963           GstElement::new-pad -> pad-added, GstElement::state-change ->
21964           state-changed, GstValueFixedList -> GstValueArray, add format and
21965           flags as their own arguments in gst_element_seek() (should improve
21966           "bindeability"), remove function generators since they don't work
21967           under a whole bunch of compilers (they were deprecated already
21968           anyway).
21969
21970 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21971
21972         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21973         (_gst_debug_register_funcptr):
21974         * gst/gstinfo.h:
21975           Fix illegal cast on some platforms (#309253).
21976
21977 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21978
21979         * gst/gstmessage.c: (gst_message_new_custom):
21980         * gst/gstmessage.h:
21981           Add _new_custom, make _new_application a macro to _new_custom.
21982
21983 2005-07-20  Wim Taymans  <wim@fluendo.com>
21984
21985         * gst/base/gstbasesrc.c: (gst_base_src_init),
21986         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21987         * gst/base/gstbasesrc.h:
21988         Add a gboolean to decide when to push out a discont.
21989
21990         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21991         (gst_queue_loop), (gst_queue_handle_src_query),
21992         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21993         (gst_queue_set_property), (gst_queue_get_property):
21994         Some cleanups.
21995
21996         * tests/threadstate/threadstate1.c: (main):
21997         Make a thread test compile and run... very silly..
21998
21999
22000 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22001
22002         * docs/manual/appendix-porting.xml:
22003           Mention removal of libgstgconf-0.9.la and existence of gconf
22004           elements.
22005
22006 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22007
22008         * docs/pwg/advanced-clock.xml:
22009         * docs/pwg/appendix-porting.xml:
22010         * docs/pwg/intro-preface.xml:
22011         * docs/pwg/other-base.xml:
22012         * docs/pwg/other-manager.xml:
22013         * docs/pwg/other-nton.xml:
22014         * docs/pwg/other-ntoone.xml:
22015         * docs/pwg/other-oneton.xml:
22016         * docs/pwg/pwg.xml:
22017           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22018           demuxer), remove n-to-n (was never written), fix some code examples
22019           and links and update the porting section to include all this.
22020
22021 2005-07-19  Wim Taymans  <wim@fluendo.com>
22022
22023         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22024         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22025         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22026         (gst_queue_src_activate_push), (gst_queue_change_state),
22027         (gst_queue_get_property):
22028         * gst/gstqueue.h:
22029         Propagate GstFlowReturn more intelligently upstream and output
22030         an ERROR/EOS when streaming stopped due to fatal error.
22031
22032 2005-07-19  Wim Taymans  <wim@fluendo.com>
22033
22034         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22035         Don't block forever for the state change to complete, the
22036         pipeline already did with a sensible timeout.
22037
22038 2005-07-19  Wim Taymans  <wim@fluendo.com>
22039
22040         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22041         Make sure we never call the create function is we
22042         got deactivated.
22043
22044 2005-07-19  Andy Wingo  <wingo@pobox.com>
22045
22046         * gst/parse/parse.l: Attempt to solve bug #172815.
22047
22048 2005-07-19  Wim Taymans  <wim@fluendo.com>
22049
22050         * docs/design/part-clocks.txt:
22051         * docs/design/part-events.txt:
22052         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22053         Small docs updates.
22054         Only update the seeking values when we are not
22055         busy streaming.
22056
22057 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22058
22059         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22060           Oops, ignore the result of gst_pad_push_event here.
22061
22062 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22063
22064         * gst/base/gstbasesrc.c: (gst_base_src_loop),
22065         (gst_base_src_activate_push):
22066           Send discont event from the loop function, as pads
22067           aren't activated yet in the activate_push handler.
22068
22069         * gst/gstbin.c: (bin_bus_handler):
22070           Don't leak element name.
22071
22072 2005-07-18  Andy Wingo  <wingo@pobox.com>
22073
22074         * configure.ac: Use AS_LIBTOOL_TAGS.
22075
22076 2005-07-18  Wim Taymans  <wim@fluendo.com>
22077
22078         * docs/gst/gstreamer.types:
22079         Remove deleted types.
22080
22081 2005-07-18  Wim Taymans  <wim@fluendo.com>
22082
22083         * check/elements/gstfakesrc.c: (GST_START_TEST):
22084         * configure.ac:
22085         * gst/Makefile.am:
22086         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22087         (init_popt_callback):
22088         * gst/gst.h:
22089         * gst/gst_private.h:
22090         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22091         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22092         * gst/gstbin.h:
22093         * gst/gstbus.h:
22094         * gst/gstconfig.h.in:
22095         * gst/gstelement.c: (gst_element_class_init),
22096         (gst_element_set_base_time), (gst_element_get_base_time),
22097         (iterator_fold_with_resync), (gst_element_change_state),
22098         (gst_element_dispose), (gst_element_get_bus):
22099         * gst/gstelement.h:
22100         * gst/gstelementfactory.h:
22101         * gst/gsterror.c: (_gst_core_errors_init):
22102         * gst/gsterror.h:
22103         * gst/gstevent.h:
22104         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22105         * gst/gstindex.c:
22106         * gst/gstinfo.c: (_gst_debug_init):
22107         * gst/gstmessage.c: (_gst_message_copy):
22108         * gst/gstmessage.h:
22109         * gst/gstminiobject.h:
22110         * gst/gstobject.c:
22111         * gst/gstobject.h:
22112         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22113         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22114         * gst/gstpad.h:
22115         * gst/gstparse.h:
22116         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22117         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22118         (gst_pipeline_get_last_stream_time):
22119         * gst/gstpipeline.h:
22120         * gst/gstpluginfeature.h:
22121         * gst/gstquery.h:
22122         * gst/gstscheduler.c:
22123         * gst/gstscheduler.h:
22124         * gst/gststructure.h:
22125         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22126         (gst_task_finalize), (gst_task_func), (gst_task_create),
22127         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22128         (gst_task_stop), (gst_task_pause):
22129         * gst/gsttask.h:
22130         * gst/gsttypefind.h:
22131         * gst/gsttypes.h:
22132         * gst/registries/gstlibxmlregistry.c: (load_feature),
22133         (gst_xml_registry_load), (gst_xml_registry_save_feature):
22134         * gst/registries/gstxmlregistry.c:
22135         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22136         * gst/schedulers/threadscheduler.c:
22137         * libs/gst/control/dparammanager.h:
22138         * tools/gst-inspect.c: (print_element_list),
22139         (print_plugin_features), (print_element_features):
22140         * tools/gst-xmlinspect.c: (print_element_list),
22141         (print_plugin_info), (main):
22142         Removed plugable schedulers.
22143         Removed Scheduler/Manager from elements.
22144         Removed gsttypes.h, rearranged includes.
22145         Removed dependency pad<->element, element<>pipeline, and
22146         various others,  fix includes.
22147         implement gst_pad_get_parent() with gst_object_get_parent()
22148         Make GstTask sefcontained.
22149         Fix _get_state() on GstBin, it did not return ASYNC with a 0
22150         timeout.
22151         Fix endless loop in iterator_fold_with_resync.
22152
22153
22154 2005-07-18  Wim Taymans  <wim@fluendo.com>
22155
22156         * gst/Makefile.am:
22157         * gst/gstarch.h:
22158         Remove old file.
22159
22160 2005-07-18  Wim Taymans  <wim@fluendo.com>
22161
22162         * gst/Makefile.am:
22163         No more cothreads.h
22164
22165 2005-07-18  Wim Taymans  <wim@fluendo.com>
22166
22167         * gst/cothreads.c:
22168         * gst/cothreads.h:
22169         Let's remove these.
22170
22171 2005-07-18  Wim Taymans  <wim@fluendo.com>
22172
22173         * docs/design/part-dynamic.txt:
22174         * docs/design/part-events.txt:
22175         * docs/design/part-seeking.txt:
22176         Some more docs in the works.
22177
22178         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22179         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22180         (gst_base_transform_setcaps), (gst_base_transform_get_size),
22181         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22182         (gst_base_transform_handle_buffer),
22183         (gst_base_transform_sink_activate_push),
22184         (gst_base_transform_src_activate_pull),
22185         (gst_base_transform_set_passthrough),
22186         (gst_base_transform_is_passthrough):
22187         Refcounting fixes.
22188
22189         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22190         Cleanups.
22191
22192         * gst/gstevent.c: (gst_event_finalize):
22193         Set SRC to NULL.
22194
22195         * gst/gstutils.c: (gst_element_unlink),
22196         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22197         (gst_pad_proxy_setcaps):
22198         * gst/gstutils.h:
22199         Add _get_parent_element() to get a pads parent as an element.
22200
22201 2005-07-18  Wim Taymans  <wim@fluendo.com>
22202
22203         * check/gst/gstbin.c: (GST_START_TEST):
22204         Remove bogus test.
22205
22206 2005-07-18  Wim Taymans  <wim@fluendo.com>
22207
22208         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22209         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22210         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22211         (gst_base_sink_event), (gst_base_sink_do_sync),
22212         (gst_base_sink_chain), (gst_base_sink_loop),
22213         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22214         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22215         Refcounting fixes.
22216         Fix logic for returning ASYNC when not prerolled.
22217
22218 2005-07-18  Wim Taymans  <wim@fluendo.com>
22219
22220         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22221         Fix nasty refcount bug.
22222
22223 2005-07-16 Philippe Khalaf <burger@speedy.org>
22224
22225         * gst/elements/gstfdsrc.c:
22226         * gst/elements/gstfdsrc.h:
22227         * gst/elements/gstelements.c:
22228         * gst/elements/Makefile.am:
22229         Ported fdsrc to 0.9.
22230
22231 2005-07-16  Wim Taymans  <wim@fluendo.com>
22232
22233         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22234         (gst_base_sink_do_sync):
22235         Fix compile error.
22236
22237 2005-07-16  Wim Taymans  <wim@fluendo.com>
22238
22239         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22240         (gst_base_sink_event), (gst_base_sink_get_times),
22241         (gst_base_sink_do_sync), (gst_base_sink_change_state):
22242         * gst/base/gstbasesink.h:
22243         Store and use discont values when syncing buffers as described
22244         in design docs.
22245         
22246         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22247         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22248         (gst_base_src_activate_push):
22249         Push discont event when starting.
22250
22251         * gst/elements/gstidentity.c: (gst_identity_transform):
22252         Small cleanups.
22253
22254         * gst/gstbin.c: (gst_bin_change_state):
22255         Small cleanups in base_time  distribution.
22256
22257         * gst/gstelement.c: (gst_element_set_base_time),
22258         (gst_element_get_base_time), (gst_element_change_state):
22259         * gst/gstelement.h:
22260         Added methods for the base_time of the element.
22261         Some MT fixes.
22262
22263         * gst/gstpipeline.c: (gst_pipeline_send_event),
22264         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22265         (gst_pipeline_get_last_stream_time):
22266         * gst/gstpipeline.h:
22267         MT fixes.
22268         Handle seeking as described in design doc, remove stream_time
22269         hack.
22270         Cleanups clock and stream_time selection code. Added accessors
22271         for the stream_time.
22272         
22273
22274 2005-07-16  Andy Wingo  <wingo@pobox.com>
22275
22276         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22277         (#305291).
22278
22279 2005-07-16  Wim Taymans  <wim@fluendo.com>
22280
22281         * check/gst/gstbin.c: (GST_START_TEST):
22282         Make elements silent as the deep_notify refs the
22283         parent, which might make the test fail.
22284
22285         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22286         Don't hold the lock for too long.
22287
22288 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
22289
22290         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22291           Don't unref the caps we passed to gst_caps_make_writable() after
22292           passing them. gst_caps_make_writable() will do that for us.
22293
22294 2005-07-15  Andy Wingo  <wingo@pobox.com>
22295
22296         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22297         (#157311).
22298
22299         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22300         own marshalling function for the handoff signal. Properly type the
22301         buffer as a buffer. Fixes some warnings. Should do a more general
22302         solution.
22303         (gst_identity_class_init): Plug into the right marshaller.
22304
22305 2005-07-15  Wim Taymans  <wim@fluendo.com>
22306
22307         * docs/design/part-TODO.txt:
22308         * docs/design/part-clocks.txt:
22309         * docs/design/part-element-sink.txt:
22310         * docs/design/part-events.txt:
22311         * docs/design/part-gstpipeline.txt:
22312         Updated docs, mostly DISCONT related.
22313
22314 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
22315
22316         * docs/pwg/building-pads.xml:
22317           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22318
22319 2005-07-15  Andy Wingo  <wingo@pobox.com>
22320
22321         * tools/gst-typefind.c: Update, add copyright block.
22322
22323         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22324         Normalize and truncate caps before fixation.
22325
22326         * gst/gstcaps.h:
22327         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22328         discards all but the first structure from its argument.
22329
22330 2005-07-15  Wim Taymans  <wim@fluendo.com>
22331
22332         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22333         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22334         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22335         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22336         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22337         (gst_base_transform_chain), (gst_base_transform_change_state),
22338         (gst_base_transform_set_passthrough),
22339         (gst_base_transform_is_passthrough):
22340         * gst/base/gstbasetransform.h:
22341         Make passthrough work using the bufferpools.
22342         Changed API a bit, subclasses have to write into a buffer
22343         provided by the base class.
22344         More debug info in nego functions.
22345         
22346         * gst/elements/gstidentity.c: (gst_identity_init),
22347         (gst_identity_transform):
22348         Port to new base class.
22349
22350 2005-07-15  Wim Taymans  <wim@fluendo.com>
22351
22352         * gst/gstmessage.c: (gst_message_new_state_changed):
22353         * tools/gst-launch.c: (event_loop), (main):
22354         Totally dump messages in -launch with the -m option.
22355         Fix message name for State messages,
22356
22357 2005-07-14  Wim Taymans  <wim@fluendo.com>
22358
22359         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22360         Post error messages on errors.
22361
22362 2005-07-14  Wim Taymans  <wim@fluendo.com>
22363
22364         * gst/gstcaps.c: (gst_caps_do_simplify):
22365         Remove debug info.
22366
22367         * gst/gsterror.h:
22368         Define error for stream stopped.
22369
22370         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22371         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22372         Do proper return values.
22373
22374         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22375         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22376         (gst_pad_get_range):
22377         Better return values.
22378
22379         * gst/gstpad.h:
22380         Reorganise return values, add macro to check for fatal errors.
22381
22382         * gst/gstqueue.c: (gst_queue_chain):
22383         Return proper GstFlowReturn values,
22384
22385 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
22386
22387         * docs/gst/gstreamer-sections.txt:
22388         * docs/gst/gstreamer.types:
22389         * docs/gst/tmpl/gst.sgml:
22390         * docs/gst/tmpl/gstbasesink.sgml:
22391         * docs/gst/tmpl/gstbasesrc.sgml:
22392         * docs/gst/tmpl/gstbasetransform.sgml:
22393         * docs/gst/tmpl/gstbin.sgml:
22394         * docs/gst/tmpl/gstbuffer.sgml:
22395         * docs/gst/tmpl/gstcaps.sgml:
22396         * docs/gst/tmpl/gstclock.sgml:
22397         * docs/gst/tmpl/gstcompat.sgml:
22398         * docs/gst/tmpl/gstconfig.sgml:
22399         * docs/gst/tmpl/gstelement.sgml:
22400         * docs/gst/tmpl/gstelementdetails.sgml:
22401         * docs/gst/tmpl/gstelementfactory.sgml:
22402         * docs/gst/tmpl/gstenumtypes.sgml:
22403         * docs/gst/tmpl/gsterror.sgml:
22404         * docs/gst/tmpl/gstevent.sgml:
22405         * docs/gst/tmpl/gstfakesink.sgml:
22406         * docs/gst/tmpl/gstfakesrc.sgml:
22407         * docs/gst/tmpl/gstfilesink.sgml:
22408         * docs/gst/tmpl/gstfilesrc.sgml:
22409         * docs/gst/tmpl/gstfilter.sgml:
22410         * docs/gst/tmpl/gstformat.sgml:
22411         * docs/gst/tmpl/gstghostpad.sgml:
22412         * docs/gst/tmpl/gstimplementsinterface.sgml:
22413         * docs/gst/tmpl/gstindex.sgml:
22414         * docs/gst/tmpl/gstindexfactory.sgml:
22415         * docs/gst/tmpl/gstinfo.sgml:
22416         * docs/gst/tmpl/gstiterator.sgml:
22417         * docs/gst/tmpl/gstmacros.sgml:
22418         * docs/gst/tmpl/gstmemchunk.sgml:
22419         * docs/gst/tmpl/gstminiobject.sgml:
22420         * docs/gst/tmpl/gstobject.sgml:
22421         * docs/gst/tmpl/gstpad.sgml:
22422         * docs/gst/tmpl/gstpadtemplate.sgml:
22423         * docs/gst/tmpl/gstparse.sgml:
22424         * docs/gst/tmpl/gstpipeline.sgml:
22425         * docs/gst/tmpl/gstplugin.sgml:
22426         * docs/gst/tmpl/gstpluginfeature.sgml:
22427         * docs/gst/tmpl/gstquery.sgml:
22428         * docs/gst/tmpl/gstqueue.sgml:
22429         * docs/gst/tmpl/gstregistry.sgml:
22430         * docs/gst/tmpl/gstregistrypool.sgml:
22431         * docs/gst/tmpl/gstscheduler.sgml:
22432         * docs/gst/tmpl/gstschedulerfactory.sgml:
22433         * docs/gst/tmpl/gststructure.sgml:
22434         * docs/gst/tmpl/gstsystemclock.sgml:
22435         * docs/gst/tmpl/gsttaglist.sgml:
22436         * docs/gst/tmpl/gsttagsetter.sgml:
22437         * docs/gst/tmpl/gsttrace.sgml:
22438         * docs/gst/tmpl/gsttrashstack.sgml:
22439         * docs/gst/tmpl/gsttypefind.sgml:
22440         * docs/gst/tmpl/gsttypefindfactory.sgml:
22441         * docs/gst/tmpl/gsttypes.sgml:
22442         * docs/gst/tmpl/gsturihandler.sgml:
22443         * docs/gst/tmpl/gsturitype.sgml:
22444         * docs/gst/tmpl/gstutils.sgml:
22445         * docs/gst/tmpl/gstvalue.sgml:
22446         * docs/gst/tmpl/gstversion.sgml:
22447         * docs/gst/tmpl/gstxml.sgml:
22448         * docs/libs/tmpl/gstcontrol.sgml:
22449         * docs/libs/tmpl/gstdataprotocol.sgml:
22450         * docs/libs/tmpl/gstdparam.sgml:
22451         * docs/libs/tmpl/gstdplinint.sgml:
22452         * docs/libs/tmpl/gstdpman.sgml:
22453         * docs/libs/tmpl/gstdpsmooth.sgml:
22454         * docs/libs/tmpl/gstgetbits.sgml:
22455         * docs/libs/tmpl/gstunitconvert.sgml:
22456         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22457         (gst_push_src_base_init), (gst_push_src_class_init),
22458         (gst_push_src_init), (gst_push_src_create):
22459         * gst/base/gstpushsrc.h:
22460         * gst/elements/gstelements.c:
22461         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22462         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22463         (gst_fake_sink_init), (gst_fake_sink_set_property),
22464         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22465         (gst_fake_sink_event), (gst_fake_sink_preroll),
22466         (gst_fake_sink_render), (gst_fake_sink_change_state):
22467         * gst/elements/gstfakesink.h:
22468         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22469         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22470         (gst_fake_src_base_init), (gst_fake_src_class_init),
22471         (gst_fake_src_init), (gst_fake_src_event_handler),
22472         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22473         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22474         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22475         (gst_fake_src_create_buffer), (gst_fake_src_create),
22476         (gst_fake_src_start), (gst_fake_src_stop):
22477         * gst/elements/gstfakesrc.h:
22478         * gst/elements/gstfilesink.c: (_do_init),
22479         (gst_file_sink_base_init), (gst_file_sink_class_init),
22480         (gst_file_sink_init), (gst_file_sink_dispose),
22481         (gst_file_sink_set_location), (gst_file_sink_set_property),
22482         (gst_file_sink_get_property), (gst_file_sink_open_file),
22483         (gst_file_sink_close_file), (gst_file_sink_query),
22484         (gst_file_sink_event), (gst_file_sink_render),
22485         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22486         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22487         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22488         * gst/elements/gstfilesink.h:
22489         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22490         (gst_file_src_class_init), (gst_file_src_init),
22491         (gst_file_src_finalize), (gst_file_src_set_location),
22492         (gst_file_src_set_property), (gst_file_src_get_property),
22493         (gst_file_src_map_region), (gst_file_src_map_small_region),
22494         (gst_file_src_create_mmap), (gst_file_src_create_read),
22495         (gst_file_src_create), (gst_file_src_is_seekable),
22496         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22497         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22498         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22499         (gst_file_src_uri_handler_init):
22500         * gst/elements/gstfilesrc.h:
22501           more autistic cleanliness in functions/names/defines
22502
22503 2005-07-13  Andy Wingo  <wingo@pobox.com>
22504
22505         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22506         source couldn't negotiate.
22507
22508         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22509         connections again.
22510
22511         * gst/gstutils.h:
22512         * gst/gstutils.c (gst_element_link_pads_filtered): New old
22513         function. I am channeling Hades. Put your boots on suckers!!!
22514
22515 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22516
22517         * testsuite/caps/Makefile.am:
22518         * testsuite/caps/value_compare.c:
22519         * testsuite/caps/value_intersect.c:
22520         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22521           move two testsuite apps over to the check dir
22522
22523 2005-07-12  Wim Taymans  <wim@fluendo.com>
22524
22525         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22526         Added more debug info in the negotiate process.
22527
22528         * gst/gstmessage.h:
22529         Prepare for segment playback.
22530
22531         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22532         Better debugging.
22533
22534         * gst/gstutils.c:
22535         Some more docs.
22536
22537         * tools/gst-launch.c: (main):
22538         NULL pipeline on errors.
22539
22540 2005-07-12  Andy Wingo  <wingo@pobox.com>
22541
22542         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22543         not it comes from a malloc region. Make sure our copy gets freed.
22544
22545 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22546
22547         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22548         * check/gst/gstmessage.c: (GST_START_TEST):
22549         * check/gst/gststructure.c: (GST_START_TEST),
22550         (gst_structure_suite), (main):
22551           more testing
22552         * gst/gstelement.c: (gst_element_message_full):
22553           clean up GError and debug string now that they get copied
22554         * gst/gstmessage.c: (gst_message_new_error),
22555         (gst_message_new_warning), (gst_message_parse_error),
22556         (gst_message_parse_warning):
22557           use GST_TYPE_G_ERROR for structure_new, and take copies of
22558           arguments, so that we don't mess up refcounting
22559
22560 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22561
22562         * check/Makefile.am:
22563           add per-test valgrind targets
22564         * check/gst-libs/gdp.c: (GST_START_TEST),
22565         (gst_data_protocol_suite), (main):
22566           clean up
22567
22568 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22569
22570         * check/Makefile.am:
22571           instate more valgrindable tests
22572         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22573         (GST_START_TEST), (fakesrc_suite):
22574         * check/gst/gstpad.c: (GST_START_TEST):
22575         * check/gst/gststructure.c: (GST_START_TEST):
22576           fix test leaks
22577         * docs/gst/tmpl/gstminiobject.sgml:
22578         * gst/gstpad.c: (gst_pad_finalize):
22579           fix the static mutex leak
22580
22581 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22582
22583         * check/Makefile.am:
22584           add two more tests for valgrinding
22585         * check/gst/gstvalue.c: (GST_START_TEST):
22586           test refcount of deserialized buffer, found a leak
22587         * docs/gst/gstreamer-docs.sgml:
22588         * docs/gst/gstreamer-sections.txt:
22589         * docs/gst/gstreamer.types:
22590         * docs/gst/tmpl/gstminiobject.sgml:
22591           add miniobject to docs
22592         * gst/gstminiobject.c:
22593           add some docs
22594         * gst/gstvalue.c: (gst_value_deserialize_buffer),
22595         (gst_string_unwrap):
22596           fix a hard-to-find invalid write for one of the tests
22597           fix a leak for deserialized buffers
22598
22599 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22600
22601         * docs/pwg/advanced-events.xml:
22602         * docs/pwg/advanced-request.xml:
22603         * docs/pwg/advanced-scheduling.xml:
22604         * docs/pwg/appendix-porting.xml:
22605         * docs/pwg/building-boiler.xml:
22606         * docs/pwg/intro-preface.xml:
22607         * docs/pwg/other-ntoone.xml:
22608           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22609           of example code and explanation for pad activation, loop() and
22610           getrange() functions and a bit more. Remove old comments pointing
22611           to loop-functions.
22612         * examples/pwg/Makefile.am:
22613           Add loop/getrange examples.
22614
22615 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22616
22617         * configure.ac:
22618           check for valgrind binary + some fixes
22619         * check/gst.supp:
22620           valgrind suppressions for the tests
22621         * check/Makefile.am:
22622           add a valgrind: target that valgrinds the unit tests
22623         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22624         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22625         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22626         * check/gst/gstghostpad.c:
22627           added some cleanup
22628         * check/gst/gstdata.c:
22629           removed
22630         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22631         (thread_unref), (gst_mini_object_suite), (main):
22632           added
22633         * gst/gst.c: (gst_deinit):
22634         * gst/gst.h:
22635           add a method to clean up.
22636         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22637         (gst_system_clock_obtain):
22638           allow for disposing the system clock.
22639         * tools/gst-launch.c: (main):
22640           deinit
22641
22642 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22643
22644         * docs/gst/tmpl/gstbasesrc.sgml:
22645         * docs/gst/tmpl/gstfakesrc.sgml:
22646         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22647         (gst_base_src_init), (gst_base_src_set_property),
22648         (gst_base_src_get_property), (gst_base_src_get_range),
22649         (gst_base_src_start):
22650         * gst/base/gstbasesrc.h:
22651           add num-buffers property
22652         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22653         (gst_fakesrc_init), (gst_fakesrc_set_property),
22654         (gst_fakesrc_get_property), (gst_fakesrc_create),
22655         (gst_fakesrc_start):
22656           remove num-buffers property
22657
22658 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22659
22660         * docs/gst/gstreamer-sections.txt:
22661         * docs/gst/tmpl/gstbasesink.sgml:
22662         * docs/gst/tmpl/gstbasesrc.sgml:
22663         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22664         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22665         (gst_base_sink_finalize), (gst_base_sink_set_clock),
22666         (gst_base_sink_set_property), (gst_base_sink_get_property),
22667         (gst_base_sink_handle_object), (gst_base_sink_event),
22668         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22669         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22670         (gst_base_sink_loop), (gst_base_sink_deactivate),
22671         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22672         (gst_base_sink_change_state):
22673         * gst/base/gstbasesink.h:
22674         * gst/base/gstbasesrc.h:
22675         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22676         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22677         (gst_filesink_init):
22678           more macro splitting
22679
22680 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22681
22682         * gst/gstelement.c: (gst_element_get_bus):
22683           add debug
22684         * tools/gst-launch.c: (check_intr), (event_loop):
22685           fix bus leaks
22686
22687 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22688
22689         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22690           fix a caps leak
22691
22692 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22693
22694         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22695         (gst_base_src_finalize):
22696           add finalize method and clean up properly
22697         * gst/gstpipeline.c: (gst_pipeline_dispose):
22698           add debug
22699
22700 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22701
22702         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22703         (gst_bin_suite):
22704           add more things to check
22705         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22706         * gst/gstelement.c:
22707           more debug
22708
22709 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22710
22711         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22712         (GST_START_TEST), (fakesrc_suite):
22713         * check/gst-libs/gdp.c: (GST_START_TEST):
22714         * check/gst/gst.c: (GST_START_TEST):
22715         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22716         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22717         * check/gst/gstbus.c: (GST_START_TEST):
22718         * check/gst/gstcaps.c: (GST_START_TEST):
22719         * check/gst/gstdata.c: (GST_START_TEST):
22720         * check/gst/gstelement.c: (GST_START_TEST):
22721         * check/gst/gstghostpad.c: (GST_START_TEST):
22722         * check/gst/gstiterator.c: (GST_START_TEST):
22723         * check/gst/gstmessage.c: (GST_START_TEST):
22724         * check/gst/gstobject.c: (GST_START_TEST):
22725         * check/gst/gstpad.c: (GST_START_TEST):
22726         * check/gst/gststructure.c: (GST_START_TEST):
22727         * check/gst/gstsystemclock.c: (GST_START_TEST),
22728         (gst_systemclock_suite):
22729         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22730         * check/gst/gstvalue.c: (GST_START_TEST):
22731         * check/pipelines/cleanup.c: (GST_START_TEST):
22732         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22733         * check/states/sinks.c: (GST_START_TEST):
22734         * check/gstcheck.c: (gst_check_init):
22735         * check/gstcheck.h:
22736           add debugging category
22737           use GST_START_TEST now, so we add a debug line
22738
22739 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22740
22741         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22742           add test for state change message on a bin
22743         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22744           add another test
22745         * gst/gstbin.c: (gst_bin_init):
22746         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22747         * gst/gstelement.c: (gst_element_post_message),
22748         (gst_element_set_state):
22749         * gst/gstelementfactory.c: (gst_element_factory_create):
22750         * gst/gstmessage.c: (gst_message_new):
22751         * gst/gstscheduler.c:
22752           various debugging additions and cleanups
22753
22754 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22755
22756         * check/Makefile.am:
22757         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22758         (main):
22759           adding tests for elements
22760         * gst/gstelement.c: (gst_element_dispose):
22761
22762 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22763
22764         * gst/registries/gstlibxmlregistry.c: (load_feature):
22765           plug more leaks.  A simple gst_init() now is leakfree, yay.
22766
22767 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22768
22769         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22770         (gst_xml_registry_load):
22771           plug another memleak
22772
22773 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22774
22775         * configure.ac:
22776           use GST_SET_ERROR_CFLAGS
22777         * docs/faq/cvs.xml:
22778           change to ERROR_CFLAGS
22779
22780 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22781
22782         * configure.ac:
22783           make GST_ERROR_CFLAGS overridable and re-enable Werror
22784         * docs/faq/cvs.xml:
22785           add a note about error CFLAGS
22786         * docs/gst/tmpl/gstfakesrc.sgml:
22787         * gst/elements/gstfakesrc.c:
22788           comment out some unused code
22789         * gst/gst.c: (split_and_iterate):
22790         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22791         (load_feature):
22792           plug some memleaks
22793
22794 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22795
22796         * common/Makefile.am:
22797         * common/gtk-doc.mak:
22798         * docs/gst/Makefile.am:
22799           factor out gtk-doc.mak
22800
22801 2005-07-07  Wim Taymans  <wim@fluendo.com>
22802
22803         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22804         (gst_thread_scheduler_dispose):
22805         Unlock the STREAM_LOCK completely.
22806
22807 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22808
22809         * check/Makefile.am:
22810         * check/elements/.cvsignore:
22811         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22812         (START_TEST), (fakesrc_suite), (main):
22813         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22814         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22815         (gst_fakesrc_create), (gst_fakesrc_start):
22816         * gst/elements/gstfakesrc.h:
22817           adding a first element test
22818
22819 2005-07-07  Andy Wingo  <wingo@pobox.com>
22820
22821         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22822         debug message.
22823
22824 2005-07-07  Wim Taymans  <wim@fluendo.com>
22825
22826         * gst/gstquery.c:
22827         * gst/gstquery.h:
22828         Remove old types
22829
22830 2005-07-07  Wim Taymans  <wim@fluendo.com>
22831
22832         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22833         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22834         Allow subclasses to implement their own negotiation.
22835
22836 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22837
22838         * docs/design/part-gstbin.txt:
22839         * docs/design/part-gstpipeline.txt:
22840           Update design notes to reflect the movement of
22841           responsibility for bus handling from GstPipeline to
22842           GstBin
22843
22844 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22845
22846         * configure.ac:
22847           Remove unnecessary queue2/3/4 examples.
22848
22849 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22850
22851         * examples/Makefile.am:
22852         * examples/helloworld/helloworld.c: (event_loop), (main):
22853         * examples/queue/queue.c: (event_loop), (main):
22854         * examples/queue2/queue2.c: (main):
22855           Update a couple of the examples to work again.
22856
22857         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22858         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22859          Spelling corrections and extra debug.
22860         
22861         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22862         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22863         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22864         * gst/gstbin.h:
22865         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22866         (gst_pipeline_change_state):
22867         * gst/gstpipeline.h:
22868           Move the bus handler for children to the GstBin, and create a
22869           separate bus for receiving messages from children to the one the
22870           bus sends 'upwards' on.
22871
22872 2005-07-06  Wim Taymans  <wim@fluendo.com>
22873
22874         * gst/base/README:
22875         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22876         (gst_base_sink_handle_object), (gst_base_sink_loop),
22877         (gst_base_sink_change_state):
22878         * gst/base/gstbasesink.h:
22879         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22880         (gst_base_src_init), (gst_base_src_setcaps),
22881         (gst_base_src_getcaps), (gst_base_src_loop),
22882         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22883         (gst_base_src_start), (gst_base_src_change_state):
22884         * gst/base/gstbasesrc.h:
22885         Make basesrc negotiate.
22886         Handle the case where preroll fails in basesink.
22887         Update README.
22888
22889 2005-07-06  Wim Taymans  <wim@fluendo.com>
22890
22891         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22892         Implement the fixate function.
22893         Clean up acceptcaps.
22894
22895 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22896
22897         * docs/pwg/building-filterfactory.xml:
22898         * docs/pwg/pwg.xml:
22899           Remove never-written filter-factory chapter; I'll add the various
22900           base classes to part 4 ("other element types") later on.
22901
22902 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22903
22904         * docs/pwg/advanced-negotiation.xml:
22905         * docs/pwg/building-boiler.xml:
22906         * docs/pwg/building-pads.xml:
22907         * docs/pwg/pwg.xml:
22908         * examples/pwg/Makefile.am:
22909           Add a chapter on caps negotiation, simplify the original code
22910           samples a bit w.r.t. caps negotiation, add link to the advanced
22911           section. Add a bunch of examples showing different use cases of
22912           different types of caps negotiation. Upstream renegotiation isn't
22913           fully documented yet since nobody knows how that works.
22914
22915 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22916
22917         * check/gst/gstpad.c:
22918         * check/gstcheck.c:
22919         * gst/gstpad.c: (gst_pad_get_internal_links_default):
22920           if pad has no parent, return NULL as list of internal links
22921
22922 2005-07-05  Andy Wingo  <wingo@pobox.com>
22923
22924         * gst/elements/gstfilesrc.c:
22925         * gst/elements/gstfakesrc.c: 
22926         * gst/base/gstpushsrc.c:
22927         * gst/base/gstbasesrc.h: 
22928         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22929         
22930 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
22931
22932         * Makefile.am:
22933           better report generation target (lcov needs a patch)
22934
22935 2005-07-05  Andy Wingo  <wingo@pobox.com>
22936
22937         * gst/elements, testsuite: Null if we got it...
22938
22939 2005-07-05  Wim Taymans  <wim@fluendo.com>
22940
22941         * configure.ac:
22942         * libs/gst/dataprotocol/Makefile.am:
22943         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22944         * libs/gst/dataprotocol/dataprotocol.h:
22945         * pkgconfig/Makefile.am:
22946         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22947         * pkgconfig/gstreamer-dataprotocol.pc.in:
22948         Ported dataprotol to 0.9. 
22949         Added pkgconfig files.
22950
22951 2005-07-05  Andy Wingo  <wingo@pobox.com>
22952
22953         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22954         Default to returning TRUE for the case when tranform_caps returns
22955         a fixed caps, like for identity or volume.
22956
22957         * check/gst/gstbus.c (pound_bus_with_messages): 
22958         * check/gst/gstmessage.c (START_TEST): 
22959         * check/pipelines/simple_launch_lines.c (got_handoff): Application
22960         message API change.
22961
22962         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22963         logic weaks here: always run transform_caps, trying passthrough
22964         operation only if the original caps intersects with the transform.
22965
22966         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22967         source and sink caps.
22968
22969         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22970         Intersect the peer caps with the pad template before going into
22971         transform_caps.
22972         (gst_base_transform_transform_caps): More debugging.
22973
22974         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22975         src argument.
22976
22977 2005-07-04  Edward Hervey  <edward@fluendo.com>
22978
22979         * gst/gstutils.c:
22980         * gst/gstutils.h:
22981         (gst_pad_add_*_probe): now returns the signal id for better wrapping
22982         in bindings.
22983
22984 2005-07-04  Andy Wingo  <wingo@pobox.com>
22985
22986         * check/gst/gstpad.c: Only set explicit caps on pads.
22987
22988 2005-07-01  Andy Wingo  <wingo@pobox.com>
22989
22990         * tests/network-clock.scm: Commentary update.
22991
22992         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22993         Didn't really make sense, not implementable with basetransform,
22994         etc.
22995         (gst_identity_transform): Unref inbuf via make_writable. Feeble
22996         attempt at implementing the sync property, needs an unlock method.
22997
22998         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22999         New func, by default returns the same caps (the identity
23000         transformation).
23001         (gst_base_transform_getcaps): Uses transform_caps to return
23002         something sensible.
23003         (gst_base_transform_setcaps): Complicated logic to get caps on
23004         both pads, even if they are different, and to call set_caps once
23005         for every time both pads get their caps set.
23006         (gst_base_transform_handle_buffer): Give the ref to the transform
23007         function. Allows in-place modification of the buffer.
23008
23009         * gst/base/gstbasetransform.h (transform_caps): New class method.
23010         Given caps on one side, what can I do on the other.
23011         (set_caps): Take two caps, one for each side of the element.
23012
23013         * gst/gstpad.h:
23014         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23015         caps in place. This is safe because we can check the mutability of
23016         the caps, and a good idea because fixate functions are just called
23017         as a matter of last resort. (Not actually implemented.)
23018         (gst_pad_set_caps): If the caps we're setting is actually the same
23019         as the existing pad caps, just update the pointer without calling
23020         setcaps. Assert that caps is either NULL or fixed, as per the
23021         docs.
23022
23023         * gst/gstghostpad.c: Update for fixate changes.
23024
23025 2005-07-02  Andy Wingo  <wingo@pobox.com>
23026
23027         * gst/gstcaps.c:
23028         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23029         two refcounts makes it immutable, which is enough. Doc more.
23030
23031 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
23032
23033         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23034           Put the mini_object into GValue as a mini_object,
23035           not a gpointer, since that's how we declared
23036           the signal.
23037
23038 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23039
23040         * examples/pwg/Makefile.am:
23041           Fix buildbot again.
23042
23043 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23044
23045         * docs/pwg/building-testapp.xml:
23046           Add extra check.
23047         * examples/pwg/Makefile.am:
23048           Fix buildbot.
23049
23050 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23051
23052         * configure.ac:
23053         * examples/Makefile.am:
23054         * examples/pwg/Makefile.am:
23055         * examples/pwg/extract.pl:
23056           Enable building the PWG examples.
23057         * docs/pwg/advanced-interfaces.xml:
23058           Add URI interface stub.
23059         * docs/pwg/advanced-types.xml:
23060         * docs/pwg/other-autoplugger.xml:
23061         * docs/pwg/appendix-porting.xml:
23062         * docs/pwg/pwg.xml:
23063           Add porting guide (mostly stubs), remove autoplugging (see ADM).
23064         * docs/pwg/building-boiler.xml:
23065         * docs/pwg/building-chainfn.xml:
23066         * docs/pwg/building-pads.xml:
23067         * docs/pwg/building-props.xml:
23068         * docs/pwg/building-state.xml:
23069         * docs/pwg/building-testapp.xml:
23070           Update the building-*.xml parts for 0.9 changes. All examples
23071           code blocks compile in examples/pwg/*.
23072
23073 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23074
23075         * docs/manual/advanced-autoplugging.xml:
23076         * docs/manual/appendix-checklist.xml:
23077         * docs/manual/appendix-integration.xml:
23078         * docs/manual/highlevel-components.xml:
23079           Fix playbin/decodebin examples, update docs a bit, mention bus
23080           instead of signals in various places, mention kmplayer and
23081           kaffeine since they have a working GStreamer backend in the KDE
23082           section.
23083
23084 2005-06-30  Wim Taymans  <wim@fluendo.com>
23085
23086         * CHANGES-0.9:
23087         * docs/design/draft-ghostpads.txt:
23088         * docs/design/draft-push-pull.txt:
23089         * docs/design/draft-query.txt:
23090         * docs/design/part-TODO.txt:
23091         * docs/design/part-query.txt:
23092         Added CHANGES-0.9 doc, updated status of other docs.
23093         
23094         * gst/gstquery.h:
23095         Remove "hmm" macro
23096
23097 2005-06-30  Wim Taymans  <wim@fluendo.com>
23098
23099         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23100         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23101         (gst_base_sink_change_state):
23102         * gst/base/gstbasesink.h:
23103         Some tweaks, only EOS and a buffer complete a preroll.
23104
23105 2005-06-30  Andy Wingo  <wingo@pobox.com>
23106
23107         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23108         activate_push down to the internal pad as well.
23109
23110 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
23111
23112         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23113
23114         * gst/gsttaginterface.c:
23115           Some documentation fixes (#307394 and #307397).
23116
23117 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
23118
23119         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23120
23121         * gst/gstvalue.c: (gst_value_intersect_list):
23122           Fix memleak (#309125).
23123
23124 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23125
23126         * docs/manual/advanced-dataaccess.xml:
23127           Fix fakesrc example to compile; doesn't work, bug somewhere...?
23128         * docs/manual/basics-pads.xml:
23129           Add reference for filtered caps to above chapter.
23130
23131 2005-06-30  Wim Taymans  <wim@fluendo.com>
23132
23133         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23134         (gst_bin_change_state):
23135         Probes are gone.
23136         Lame attempt at making the state change function a bit
23137         more readable.
23138
23139 2005-06-30  Wim Taymans  <wim@fluendo.com>
23140
23141         * docs/design/part-clocks.txt:
23142         * docs/design/part-element-sink.txt:
23143         * docs/design/part-events.txt:
23144         * docs/design/part-preroll.txt:
23145         * docs/design/part-states.txt:
23146         Some more tweeks and additions to the docs.
23147
23148 2005-06-30  Wim Taymans  <wim@fluendo.com>
23149
23150         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23151         (default_have_data), (gst_pad_class_init), (gst_pad_init),
23152         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23153         (gst_pad_check_pull_range), (gst_pad_get_range),
23154         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23155         * gst/gstpad.h:
23156         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23157         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23158         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23159         (gst_pad_remove_buffer_probe):
23160         Removed atomic operations, use existing LOCK.
23161         Move exception handling out of main code path.
23162
23163 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23164
23165         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23166         (silly_return_true_function), (gst_pad_class_init),
23167         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23168         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23169         (gst_pad_send_event):
23170           Fix accumulator, add default value by using _emitv() instead
23171           of _emit() for signal emission.
23172
23173 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23174
23175         * docs/manual/advanced-dataaccess.xml:
23176         * examples/manual/Makefile.am:
23177           Add probe example.
23178         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23179           Make work (??).
23180
23181 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
23182
23183         * gst/elements/gstfilesink.c: (gst_filesink_render):
23184           Simplify code so that we don't have to handle short
23185           writes and return GST_FLOW_ERROR if an error occured.
23186
23187 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23188
23189         * docs/gst/gstreamer-docs.sgml:
23190           Remove probes more.
23191
23192 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23193
23194         * docs/gst/gstreamer-sections.txt:
23195         * docs/gst/tmpl/gstpad.sgml:
23196         * docs/gst/tmpl/gstprobe.sgml:
23197         * gst/Makefile.am:
23198         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23199         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23200         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23201         (gst_pad_push_event), (gst_pad_send_event):
23202         * gst/gstpad.h:
23203         * gst/gstutils.c: (gst_pad_add_data_probe),
23204         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23205         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23206         (gst_pad_remove_buffer_probe):
23207         * gst/gstutils.h:
23208           Remove old probes, add new g-signal-based probes and some utility
23209           functions.
23210
23211 2005-06-29  Edward Hervey  <edward@fluendo.com>
23212
23213         * gst/gstelementfactory.c:
23214         * gst/gstutils.h:
23215         * gst/gstutils.c:
23216         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23217         the definition to the header file.
23218
23219 2005-06-29  Andy Wingo  <wingo@pobox.com>
23220
23221         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23222         plugins from the source directory.
23223
23224 2005-06-29  Wim Taymans  <wim@fluendo.com>
23225
23226         * docs/gst/tmpl/gstbuffer.sgml:
23227         * docs/gst/tmpl/gstclock.sgml:
23228         Some fixings for blantently wrong text.
23229
23230 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23231
23232         * check/Makefile.am:
23233         * gst/gst.c: (add_path_func), (init_pre):
23234         * gst/gstregistry.c: (gst_registry_add_path):
23235           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23236           only scan the GST_PLUGIN_PATH locations, and not add
23237           system locations
23238
23239 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23240
23241         * docs/gst/gstreamer-sections.txt:
23242         * docs/gst/tmpl/gstbasesrc.sgml:
23243         * gst/gstelement.c:
23244         * gst/gstelement.h:
23245         * gst/gstevent.c:
23246         * gst/gstutils.c:
23247           doc fixes
23248
23249 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23250
23251         * docs/manual/advanced-autoplugging.xml:
23252           Fix autoplugging example.
23253
23254 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23255
23256         * docs/manual/advanced-autoplugging.xml:
23257         * docs/manual/mime-world.fig:
23258           Try to get autoplugging working, fix type detection. Fix text
23259           in hello-world image.
23260
23261 2005-06-29  Wim Taymans  <wim@fluendo.com>
23262
23263         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23264         (gst_base_sink_change_state):
23265         Small debug line.
23266
23267         * gst/gstclock.h:
23268         map SIGNAL and BROADCAST to the right function.
23269
23270         * gst/gstobject.h:
23271         Remove redundant braces.
23272
23273         * gst/gstpad.c: (gst_pad_set_caps):
23274         Don't call setcaps function when reseting caps to NULL.
23275
23276         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23277         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23278         (gst_system_clock_id_unschedule):
23279         Use BROADCAST as this is what we do.
23280
23281 2005-06-29  Wim Taymans  <wim@fluendo.com>
23282
23283         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23284         We are actually prerolling before commiting the state
23285         change. 
23286
23287 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23288
23289         * docs/manual/advanced-clocks.xml:
23290         * docs/manual/advanced-interfaces.xml:
23291         * docs/manual/advanced-metadata.xml:
23292         * docs/manual/advanced-position.xml:
23293         * docs/manual/advanced-schedulers.xml:
23294         * docs/manual/advanced-threads.xml:
23295         * docs/manual/appendix-porting.xml:
23296         * docs/manual/basics-bins.xml:
23297         * docs/manual/basics-bus.xml:
23298         * docs/manual/basics-elements.xml:
23299         * docs/manual/basics-helloworld.xml:
23300         * docs/manual/basics-pads.xml:
23301         * docs/manual/highlevel-components.xml:
23302         * docs/manual/manual.xml:
23303         * docs/manual/thread.fig:
23304           Update (until threads/scheduling) Application Development Manual;
23305           remove GstThread, add GstBus, add simple porting checklist, add
23306           documentation for tag writing, clocks, make all examples until this
23307           part compile and run.
23308         * examples/manual/Makefile.am:
23309           Update from changes to Application Development Manual; add bus
23310           example, remove thread example.
23311
23312 2005-06-28  Wim Taymans  <wim@fluendo.com>
23313
23314         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23315         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23316         (gst_bus_source_dispatch):
23317         Add debugging messages.
23318         Make internal methods static.
23319         Handle the case where the bus is flushed in the handler.
23320         
23321         * gst/gstelement.c: (gst_element_get_bus):
23322         Fix refcount in _get_bus();
23323
23324         * gst/gstpipeline.c: (gst_pipeline_change_state),
23325         (gst_pipeline_get_clock_func):
23326         Clock refcounting fixes.
23327         Handle the case where preroll timed out more gracefully.
23328         
23329         * gst/gstsystemclock.c: (gst_system_clock_dispose):
23330         Clean up the internal thread in dispose. This is needed
23331         for subclasses that actually get disposed.
23332         
23333         * gst/schedulers/threadscheduler.c:
23334         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23335         (gst_thread_scheduler_dispose):
23336         Free thread pool in dispose.
23337
23338 2005-06-28  Andy Wingo  <wingo@pobox.com>
23339
23340         * tests/network-clock-utils.scm (debug, print-event): New utils.
23341
23342         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23343         (*packet-loss*): Unified loss probability.
23344         (network-time): Report out-of-band events.
23345
23346         * tests/plot-data: Add support for out-of-band events. Hack it
23347         into this script instead of passing it down the pipe; should fix
23348         this later.
23349
23350 2005-06-28  Wim Taymans  <wim@fluendo.com>
23351
23352         * docs/gst/gstreamer.types:
23353         * docs/gst/tmpl/gstbasesrc.sgml:
23354         * docs/gst/tmpl/gstpad.sgml:
23355         Docs fixes.
23356
23357 2005-06-28  Wim Taymans  <wim@fluendo.com>
23358
23359         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23360         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23361         (gst_proxy_pad_do_fixatecaps):
23362         Correctly proxy the check_pull_range function.
23363
23364 2005-06-28  Andy Wingo  <wingo@pobox.com>
23365
23366         * tests/network-clock.scm: Removed need for slib.
23367         
23368 2005-06-28  Wim Taymans  <wim@fluendo.com>
23369
23370         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23371         (gst_basesink_preroll_queue_flush):
23372         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23373         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23374         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23375         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23376         (gst_proxy_pad_set_property):
23377         * gst/gstpad.c:
23378         * gst/gstpad.h:
23379         * gst/gstqueue.c: (gst_queue_init):
23380         The deprecated pad loop function is removed now.
23381
23382 2005-06-28  Andy Wingo  <wingo@pobox.com>
23383
23384         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23385         New parameters, simulate network packet loss.
23386
23387         * tests/network-clock-utils.scm: Initialize the RNG.
23388
23389 2005-06-28  Wim Taymans  <wim@fluendo.com>
23390
23391         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23392         (gst_basesink_event), (gst_basesink_deactivate):
23393         Flushing the preroll queue always needs to unlock the waiters.
23394
23395 2005-06-28  Edward Hervey  <edward@fluendo.com>
23396
23397         * gst/gstpipeline.c: (gst_pipeline_send_event): 
23398         Wheen a seek was successful on a pipeline, set the stream_time to the
23399         seek offset in order to have a synchronized stream_time.
23400
23401 2005-06-28  Wim Taymans  <wim@fluendo.com>
23402
23403         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23404         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23405         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23406         (gst_proxy_pad_do_fixatecaps):
23407         Call wrapper function instead of just calling the function
23408         pointers. This takes care of any locking and whatmore.
23409
23410 2005-06-28  Wim Taymans  <wim@fluendo.com>
23411
23412         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23413         (gst_pad_pull_range):
23414         * gst/gstpad.h:
23415         CONNECTED -> LINKED.
23416
23417 2005-06-28  Andy Wingo  <wingo@pobox.com>
23418
23419         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23420         source-munging commit!!!
23421
23422         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
23423         (gst_object_sink): Take gpointer arguments, not GstObject --
23424         avoids casts. Like GLib.
23425
23426         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23427         activate.
23428
23429 2005-06-27  Andy Wingo  <wingo@pobox.com>
23430
23431         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23432         remaining buffer.
23433
23434         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23435         returns a sorted copy of the trace list.
23436         (gst_alloc_trace_print_live): New API, only prints traces with
23437         live objects. Sort the list.
23438         (gst_alloc_trace_print_all): Sort the list.
23439         (gst_alloc_trace_print): Align columns.
23440
23441         * gst/elements/gstttypefindelement.c:
23442         * gst/elements/gsttee.c:
23443         * gst/base/gstbasesrc.c:
23444         * gst/base/gstbasesink.c:
23445         * gst/base/gstbasetransform.c:
23446         * gst/gstqueue.c: Adapt for pad activation changes.
23447
23448         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23449         sched.
23450         (gst_pipeline_dispose): Drop ref on sched.
23451
23452         * gst/gstpad.c (gst_pad_init): Set the default activate func.
23453         (gst_pad_activate_default): Push mode by default.
23454         (pre_activate_switch, post_activate_switch): New stubs, things to
23455         do before and after switching activation modes on pads.
23456         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23457         the pad's activate function to choose which mode to activate.
23458         Shortcut on deactivation and call the right function directly.
23459         (gst_pad_activate_pull): New API, (de)activates a pad in pull
23460         mode.
23461         (gst_pad_activate_push): New API, same for push mode.
23462         (gst_pad_set_activate_function) 
23463         (gst_pad_set_activatepull_function) 
23464         (gst_pad_set_activatepush_function): Setters for new API.
23465
23466         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23467         Trace all miniobjects.
23468         (gst_mini_object_make_writable): Unref the arg if we copy, like
23469         gst_caps_make_writable.
23470
23471         * gst/gstmessage.c (_gst_message_initialize): No trace init.
23472
23473         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
23474         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23475         Adapt for new pad API.
23476
23477         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23478
23479         * gst/gstelement.h:
23480         * gst/gstelement.c (gst_element_iterate_src_pads) 
23481         (gst_element_iterate_sink_pads): New API functions.
23482         
23483         * gst/gstelement.c (iterator_fold_with_resync): New utility,
23484         should fold into gstiterator.c in some form.
23485         (gst_element_pads_activate): Simplified via use of fold and
23486         delegation of decisions to gstpad->activate.
23487
23488         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23489         help in debugging.
23490
23491         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23492         class once in init, like gstmessage. Didn't run into this issue
23493         but it seems correct. Don't initialize a trace, gstminiobject does
23494         that.
23495
23496         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23497         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23498         to the bus.
23499         (assert_live_count): New util function, uses alloc traces to check
23500         cleanup.
23501
23502         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23503         To be modified when unlink drops the internal pad.
23504
23505 2005-06-27  Wim Taymans  <wim@fluendo.com>
23506
23507         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23508         (gst_bin_change_state):
23509         Cleanup the get_state() function a little, make sure it
23510         iterates the same set of elements.
23511         Added stub iterate_state_order().
23512
23513 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
23514
23515         * docs/gst/gstreamer-docs.sgml:
23516         * docs/gst/gstreamer-sections.txt:
23517         * docs/gst/gstreamer.types:
23518         * docs/gst/tmpl/gstbasesink.sgml:
23519         * docs/gst/tmpl/gstbasesrc.sgml:
23520         * docs/gst/tmpl/gstbasetransform.sgml:
23521         * docs/gst/tmpl/gstelement.sgml:
23522         * docs/gst/tmpl/gstiterator.sgml:
23523         * gst/base/gstbasesrc.c:
23524         * gst/base/gstbasesrc.h:
23525         * gst/base/gstbasetransform.h:
23526         * gst/gstelement.c:
23527         * gst/gstiterator.h:
23528           adding basetransform and iterator docs
23529
23530 2005-06-27  Andy Wingo  <wingo@pobox.com>
23531
23532         * docs/design/part-activation.txt: Notes on how activation should
23533         work -- not quite implemented yet.
23534
23535 2005-06-25  Wim Taymans  <wim@fluendo.com>
23536
23537         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23538         At least get the chain function correct, needs more
23539         fixing.
23540
23541 2005-06-25  Wim Taymans  <wim@fluendo.com>
23542
23543         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23544         (gst_basesink_handle_object), (gst_basesink_event),
23545         (gst_basesink_do_sync), (gst_basesink_handle_event),
23546         (gst_basesink_change_state):
23547         * gst/gsttask.h:
23548         Right, two problems here: ghostpads don't take locks and
23549         glib _rec_mutex_lock_full() with depth==0 still locks.
23550         Catch illegal locking and g_warn them.
23551
23552 2005-06-25  Wim Taymans  <wim@fluendo.com>
23553
23554         * check/states/sinks.c: (START_TEST), (gst_object_suite):
23555         Have to check for completion now...
23556
23557 2005-06-25  Wim Taymans  <wim@fluendo.com>
23558
23559         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23560         (gst_basesink_handle_object), (gst_basesink_event),
23561         (gst_basesink_do_sync), (gst_basesink_handle_event),
23562         (gst_basesink_change_state):
23563         * gst/gstpad.h:
23564         Unlock STREAM_LOCK whatever the recursion was.
23565
23566 2005-06-25  Wim Taymans  <wim@fluendo.com>
23567
23568         * gst/base/gstbasesink.c: (gst_basesink_set_property),
23569         (gst_basesink_preroll_queue_empty),
23570         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23571         (gst_basesink_event), (gst_basesink_do_sync),
23572         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23573         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23574         (gst_basesink_change_state):
23575         Reworked the base sink, handle event and buffer serialisation
23576         correctly and removed possible deadlock.
23577         Handle EOS correctly.
23578
23579 2005-06-25  Wim Taymans  <wim@fluendo.com>
23580
23581         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23582         (gst_pipeline_change_state):
23583         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23584         Allow elements to post EOS in the state change function.
23585         Fix up -launch, make it exit the poll loop when the
23586         pipeline actually changed state.
23587         Fix up warning parsing in -launch.
23588
23589 2005-06-25  Wim Taymans  <wim@fluendo.com>
23590
23591         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23592         (gst_tee_sink_activate):
23593         Core takes STREAM_LOCK for us now.
23594
23595 2005-06-25  Wim Taymans  <wim@fluendo.com>
23596
23597         * gst/gstelement.c: (gst_element_get_state_func),
23598         (gst_element_set_state):
23599         * gst/gstelement.h:
23600         * gst/gstmessage.c: (gst_message_parse_error),
23601         (gst_message_parse_warning):
23602         Keep track of current target state while performing a state
23603         change so that subclasses can do something interesting.
23604         Fix parsing of warning/error messages when GError is NULL.
23605
23606 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23607
23608         * docs/gst/Makefile.am:
23609         * docs/gst/gstreamer-docs.sgml:
23610         * docs/gst/gstreamer-sections.txt:
23611         * docs/gst/gstreamer.types:
23612         * docs/gst/tmpl/gstbasesink.sgml:
23613         * docs/gst/tmpl/gstbasesrc.sgml:
23614         * docs/gst/tmpl/gstbin.sgml:
23615         * docs/gst/tmpl/gstcompat.sgml:
23616         * docs/gst/tmpl/gstfakesink.sgml:
23617         * docs/gst/tmpl/gstfakesrc.sgml:
23618         * docs/gst/tmpl/gstfilesink.sgml:
23619         * docs/gst/tmpl/gstfilesrc.sgml:
23620         * docs/gst/tmpl/gstindex.sgml:
23621         * docs/manual/appendix-quotes.xml:
23622         * gst/base/gstbasesrc.h:
23623         * gst/elements/gstfakesrc.h:
23624         * gst/gstmessage.h:
23625           start pulling in base classes and elements in our docs
23626
23627 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
23628
23629         * docs/gst/Makefile.am:
23630         * docs/libs/Makefile.am:
23631           fixed make distcheck with gtk-doc 1.3
23632
23633 2005-06-23  Wim Taymans  <wim@fluendo.com>
23634
23635         * gst/gstelement.c: (gst_element_get_state_func),
23636         (gst_element_set_state), (gst_element_change_state):
23637         When the state did not change, also report NO_PREROLL
23638         when it matters.
23639
23640 2005-06-23  Wim Taymans  <wim@fluendo.com>
23641
23642         * gst/gstpad.c: (gst_pad_event_default):
23643         * gst/gstqueue.c: (gst_queue_loop):
23644         No unsafe task pausing please.
23645
23646 2005-06-23  Wim Taymans  <wim@fluendo.com>
23647
23648         * gst/schedulers/threadscheduler.c:
23649         (gst_thread_scheduler_task_start),
23650         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23651         Ref the task before pushing it on the threadpool. This
23652         makes sure that we have a ref when the threadfunction is
23653         actually called.
23654
23655 2005-06-23  Andy Wingo  <wingo@pobox.com>
23656
23657         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23658         offset is greater than the file's size.
23659
23660         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
23661         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23662         * gst/gstobject.c (gst_object_class_init): Make the class lock
23663         recursive. Wim won't let me drop deep_notify. Decodebin works
23664         again, whoopdy doo.
23665
23666         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23667         internal pad, and hacks accordingly. Doesn't do it on the target
23668         pad because we change its caps. Probably catches all cases of
23669         interest tho.
23670         (gst_ghost_pad_set_property): Connect to notify::caps as
23671         appropritate.
23672
23673         * tests/network-clock.scm (plot-simulation): Pipe data to the
23674         elite python skript.
23675
23676         * tests/network-clock-utils.scm (define-parameter): New macro,
23677         defines a parameter that can be set via the command line.
23678         (set-parameter!, parse-parameter-arguments): Command line args
23679         parser.
23680
23681         * tests/plot-data: Simple matplotlib-based plotter, takes input on
23682         stdin.
23683
23684 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
23685
23686         * gst/elements/gsttypefindelement.c:
23687         (gst_type_find_element_handle_event):
23688           Don't restart typefinding on a discont.
23689         * gst/gstelement.c: (gst_element_set_state):
23690           Debug spelling fix.
23691         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23692           Allow changing mode of an active pad.
23693           Debug output fixes.
23694         * gst/registries/gstlibxmlregistry.c: (load_feature):
23695           Don't cast a static pad template to a normal pad template.
23696
23697 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23698
23699         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23700         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23701           remove gst_strtoll completely, since it didn't actually do
23702           anything more than what g_ascii_strtoull already does.
23703           check for range errors when deserializing
23704           do a cast for the unsigned cases; but further fixing needs
23705           a decision on what the interpretation of "(int)" and
23706           deserialization should be for values that fall outside the
23707           type's boundaries (ie, refuse, or interpret as casting)
23708
23709 2005-06-23  Wim Taymans  <wim@fluendo.com>
23710
23711         * check/Makefile.am:
23712         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23713         * docs/design/part-live-source.txt:
23714         * docs/design/part-states.txt:
23715         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23716         (gst_basesrc_set_live), (gst_basesrc_is_live),
23717         (gst_basesrc_get_range), (gst_basesrc_activate),
23718         (gst_basesrc_change_state):
23719         * gst/base/gstbasesrc.h:
23720         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23721         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23722         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23723         * gst/gstelement.c: (gst_element_get_state_func),
23724         (gst_element_set_state):
23725         * gst/gstelement.h:
23726         * gst/gsttypes.h:
23727         * tools/gst-launch.c: (event_loop), (main):
23728         Added support for live sources and other elements that
23729         cannot do preroll.
23730         Updated design docs, added live-source design doc.
23731         Implemented live source functionality in basesrc
23732         Fix error condition in _bin_get_state()
23733         Implement live source handling in -launch.
23734         Added check for live sources.
23735         Fixed case in GstBin where elements were changed state
23736         multiple times.
23737
23738
23739 2005-06-23  Andy Wingo  <wingo@pobox.com>
23740
23741         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23742         borken refcounting.
23743
23744         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23745         gst_caps_replace takes care of this for us.
23746
23747         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23748         gst_pad_set_caps on the target, not just its setcaps() function.
23749
23750         * tests/network-clock.scm: 
23751         * tests/network-clock-utils.scm: A network clock simulator.
23752         Something of an algorithmic testbed before doing something in C.
23753
23754 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23755
23756         * check/Makefile.am:
23757         * check/gst/capslist.h:
23758           copy over from 0.8, and add two with bitmasks specified with
23759           (int) 0xFF...
23760         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23761           add test to parse everything from capslist.h
23762         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23763         (main):
23764           add test for structure deserialization
23765         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23766           add tests for deserialization of strings to int types
23767         * gst/gststructure.c: (gst_structure_nth_field_name):
23768         * gst/gststructure.h:
23769           add a way to get the name of a field referenced by index
23770         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23771           instead of checking if the resulting long long lies between
23772           min and max, we check if the long long would fit into
23773           a number of bytes for the final type.
23774           This fixes cases where a string represents 2^32 - 1, which
23775           when cast to int would be the (valid) -1, but is bigger than
23776           G_MAXINT
23777
23778 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23779
23780         * gst/parse/grammar.y:
23781           add a log line for type deserialization
23782
23783 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23784
23785         * check/gst/gstvalue.c: (START_TEST):
23786         * gst/gstvalue.c: (gst_value_deserialize):
23787           return long long, not int, so gint64 deserialization actually
23788           works.  Is there any flag that makes the compiler check this ?
23789           Fixes #308559
23790
23791 2005-06-22  Wim Taymans  <wim@fluendo.com>
23792
23793         * gst/gstbuffer.h:
23794         Added convenience macros for setting buffers in GValue.
23795
23796 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23797
23798         * check/gst/.cvsignore:
23799         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23800           add a test deserializing int64, and comment part out because
23801           it fails, yay !
23802
23803 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23804
23805         * check/Makefile.am:
23806         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23807         * testsuite/Makefile.am:
23808         * testsuite/caps/Makefile.am:
23809         * testsuite/caps/value_serialize.c:
23810         * testsuite/test_gst_init.c:
23811           move a value_serialize test over
23812
23813 2005-06-20  Wim Taymans  <wim@fluendo.com>
23814
23815         * gst/gstpad.c:
23816         Small doc updates.
23817         
23818         * gst/gstvalue.c: (gst_value_compare_buffer),
23819         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23820         (gst_value_compare_flags), (gst_value_serialize_flags),
23821         (gst_value_deserialize_flags), (_gst_value_initialize):
23822         Fix serialisation of buffers, they are not boxed types anymore
23823
23824 2005-06-20  Wim Taymans  <wim@fluendo.com>
23825
23826         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23827         Testcase to show error in buffer-on-caps serialisation.
23828
23829 2005-06-20  Andy Wingo  <wingo@pobox.com>
23830
23831         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23832         will be adding to later.
23833
23834         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23835         if its socks fill with rocks.
23836         (gst_system_clock_obtain): Set the name on object construction.
23837         Avoid double-checked locking.
23838
23839 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
23840
23841         * gst/gsturi.c: (gst_element_make_from_uri):
23842           Fix potential endless loop.
23843
23844 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23845
23846         * check/Makefile.am:
23847           add gsttag
23848         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23849         (main):
23850           move over from testsuite dir and clean up
23851         * configure.ac:
23852         * gst/gsttag.c:
23853         * testsuite/Makefile.am:
23854         * testsuite/tags/.cvsignore:
23855         * testsuite/tags/Makefile.am:
23856         * testsuite/tags/merge.c:
23857           remove testsuite/tags
23858
23859 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23860
23861         * docs/gst/gstreamer-sections.txt:
23862         * docs/gst/tmpl/gstenumtypes.sgml:
23863         * win32/gstenumtypes.c:
23864           clean up documentation build a little
23865
23866 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23867
23868         * check/gstcheck.h:
23869           add macros for checking refcounts on objects and caps
23870         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23871           add some more unit tests
23872         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23873         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23874           fix leaked refcounts (I hope :)) so unittest works
23875         * gst/gstpad.h:
23876           whitespace removal
23877
23878 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23879
23880         * configure.ac: back to HEAD
23881
23882 === release 0.9.1 ===
23883
23884 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
23885
23886         * NEWS:
23887         * RELEASE:
23888           updated
23889
23890 2005-06-17  Andy Wingo  <wingo@pobox.com>
23891
23892         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23893         assert; it's always possible that the pad gets deactivated in
23894         between the checks in gstpad.c and the implementation. Rely on
23895         finish_preroll() to return a FLUSHING or similar instead of on the
23896         assert.
23897         
23898         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23899         clock and post an EOS message if we come out of finish_preroll in
23900         the playing state.
23901
23902 2005-06-16  David Schleef  <ds@schleef.org>
23903
23904         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23905         (gst_capsfilter_set_property): Allow NULL as possible value
23906         for filter_caps property, indicating GST_CAPS_ANY.
23907
23908 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23909
23910         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23911           fix debug output
23912         * gst/schedulers/Makefile.am:
23913           use libgst prefix
23914         * gstreamer.spec.in:
23915           fix spec for it
23916
23917 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23918
23919         * gstreamer.spec.in:
23920           clean up
23921
23922 2005-06-08  Andy Wingo  <wingo@pobox.com>
23923
23924         * gst/gstutils.c: RPAD fixes all around.
23925         (gst_element_link_pads): Refcounting fixes.
23926
23927         * tools/gst-inspect.c:
23928         * tools/gst-xmlinspect.c:
23929         * parse/grammar.y:
23930         * gst/base/gsttypefindhelper.c:
23931         * gst/base/gstbasesink.c:
23932         * gst/gstqueue.c: RPAD fixes.
23933
23934         * gst/gstghostpad.h:
23935         * gst/gstghostpad.c: New ghost pad implementation as full proxy
23936         pads. The tricky thing is they provide both source and sink
23937         interfaces, since they proxy the internal pad for the external
23938         pad, and vice versa. Implement with lower-level ProxyPad objects,
23939         with the interior proxy pad as a child of the exterior ghost pad.
23940         Should write a doc on this.
23941         
23942         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23943         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23944         gst_object API.
23945         
23946         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23947         pads are real pads. No ghost pads in this file. Not documenting
23948         the myriad s/RPAD/PAD/ and REALIZE fixes.
23949         (gst_pad_class_init): Add properties for "direction" and
23950         "template". Both are construct-only, so they can't change during
23951         the life of the pad. Fixes properly deriving from GstPad.
23952         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23953         derived objects, just set properties when creating the objects via
23954         g_object_new.
23955         (gst_pad_get_parent): Implement as a function, return NULL if the
23956         parent is not an element.
23957         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23958         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23959         
23960         * gst/gstobject.c (gst_object_class_init): Make name a construct
23961         property. Don't set it in the object init.
23962
23963         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23964         with UNKNOWN direction.
23965         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23966         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23967         (gst_element_remove_pad): Remove ghost-pad special cases.
23968         (gst_element_pads_activate): Remove rpad cruft.
23969
23970         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23971         catch the pad's-parent-not-an-element case.
23972
23973         * gst/gst.h: Include gstghostpad.h.
23974
23975         * gst/gst.c (init_post): No more real, ghost pads.
23976
23977         * gst/Makefile.am: Add gstghostpad.[ch].
23978
23979         * check/Makefile.am:
23980         * check/gst/gstbin.c:
23981         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23982         into a bin creates ghost pads, and that the refcounts are right.
23983         Partly moved from gstbin.c.
23984
23985 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23986
23987         * check/gst-libs/.cvsignore:
23988         * check/gst/.cvsignore:
23989         * check/pipelines/.cvsignore:
23990           ignore more
23991         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23992         (START_TEST), (cleanup_suite), (main):
23993           add some tests related to cleanup after running pipelines
23994
23995 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23996
23997         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23998           add a testsuite for GstBuffer
23999
24000 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24001
24002         * gst/gstminiobject.h:
24003           add defines for accessing the refcount
24004
24005 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
24006
24007         * Makefile.am: added support for html unit test coverage reports
24008
24009 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
24010
24011         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24012           Free existing caps if the capsfilter changes. Add a FIXME about
24013           setting those caps on the pads.
24014
24015         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24016           Before adding a ghost pad to a parent bin, check that there isn't
24017           already one for the element on the bin. Prevents infinite recursion
24018           when using decodebin in parse pipelines. Andy says he'll rewrite the
24019           way this works anyway, so ignore the hack.
24020
24021 2005-06-02  Andy Wingo  <wingo@pobox.com>
24022
24023         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24024         file size, pass it on to the type find helper.
24025
24026         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24027         segment_start and segment_end properly according to the seek
24028         method. Segment_end is still a bit flaky because offset can be
24029         negative for CUR and END cases, but it takes -1 as an "unset"
24030         value.
24031
24032 2005-06-02  Wim Taymans  <wim@fluendo.com>
24033
24034         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24035         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24036         (gst_basesink_activate):
24037         * gst/base/gstbasesink.h:
24038         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24039         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24040         (gst_pad_query), (gst_pad_start_task):
24041         * gst/gstpad.h:
24042         * gst/gstqueue.c: (gst_queue_bufferalloc),
24043         (gst_queue_handle_sink_event), (gst_queue_chain):
24044         Bufferalloc: return GstFlowReturn to more accuratly report
24045         why allocation failed.
24046
24047 2005-06-02  Wim Taymans  <wim@fluendo.com>
24048
24049         * gst/gstpipeline.c: (gst_pipeline_send_event):
24050         Take snapshot of state without blocking.
24051
24052 2005-06-02  Wim Taymans  <wim@fluendo.com>
24053
24054         * docs/design/part-TODO.txt:
24055         * docs/design/part-caps.txt:
24056         * docs/design/part-clocks.txt:
24057         * docs/design/part-negotiation.txt:
24058         * docs/design/part-preroll.txt:
24059         Small doc updates 
24060
24061 2005-05-30  Wim Taymans  <wim@fluendo.com>
24062
24063         * gst/elements/gstidentity.c: (gst_identity_event),
24064         (gst_identity_transform), (gst_identity_get_property):
24065         Protect last_message property as it is accessed from
24066         multiple threads.
24067
24068 2005-05-30  Wim Taymans  <wim@fluendo.com>
24069
24070         * gst/gstelement.c: (gst_element_init),
24071         (gst_element_pads_activate), (gst_element_change_state):
24072         Slicker pad activation code.
24073
24074 2005-05-30  Wim Taymans  <wim@fluendo.com>
24075
24076         * gst/Makefile.am:
24077         * gst/gstelement.h:
24078         * gst/gstelementfactory.h:
24079         * gst/gsttypes.h:
24080         Move elementfactory methods to separate .h file.
24081
24082 2005-05-30  Wim Taymans  <wim@fluendo.com>
24083
24084         * docs/design/part-overview.txt:
24085         * gst/gstsystemclock.h:
24086         Small typo fixes, doc updates.
24087
24088 2005-05-30  Wim Taymans  <wim@fluendo.com>
24089
24090         * gst/gst.c: (gst_init_get_popt_table), (init_post),
24091         (init_popt_callback):
24092         Remove cpu-opt flag.
24093
24094 2005-05-30  Wim Taymans  <wim@fluendo.com>
24095
24096         * gst/gstbuffer.c: (gst_subbuffer_finalize),
24097         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24098         * gst/gstbuffer.h:
24099         Avoid typechecking in places where not needed.
24100         Added accessor for malloc_data.
24101
24102 2005-05-30  Wim Taymans  <wim@fluendo.com>
24103
24104         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24105         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24106         (gst_pad_configure_sink), (gst_pad_configure_src),
24107         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24108         (gst_pad_start_task):
24109         Propagate errors from _set_caps() in configure_src/sink
24110         functions instead of returning TRUE.
24111         FLUSH events can travel up and downstream
24112
24113
24114 2005-05-30  Wim Taymans  <wim@fluendo.com>
24115
24116         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24117         (gst_basesink_activate):
24118         Handle EOS in preroll.
24119
24120 2005-05-30  Wim Taymans  <wim@fluendo.com>
24121
24122         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24123         (gst_queue_loop), (gst_queue_handle_src_event):
24124         Remove old pieces of code
24125         Flushing the queue in an upstream event is a very bad idea.
24126
24127 2005-05-26  Andy Wingo  <wingo@pobox.com>
24128
24129         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24130         gst_value_set_mini_object so as to add a ref on the object (which
24131         will be removed when the value is unset).
24132
24133         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24134         arg type in ::handoff.
24135
24136         * gst/gstelement.c (gst_element_change_state): Also deactivate
24137         pads in READY->NULL, just in case the element didn't make it to
24138         PAUSED. Wingo tested, Wim approved.
24139
24140 2005-05-26  Wim Taymans  <wim@fluendo.com>
24141
24142         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24143         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24144         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24145         A flushing pad cannot be used to alloc_buffer from.
24146
24147 2005-05-26  Wim Taymans  <wim@fluendo.com>
24148
24149         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24150         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24151         (gst_bus_source_dispatch), (gst_bus_source_finalize),
24152         (gst_bus_create_watch), (gst_bus_add_watch_full):
24153         * gst/gstbus.h:
24154         Implement a real GSource and use g_main_context_wakeup() to
24155         signal new messages instead of the socketpair.
24156
24157 2005-05-25  Wim Taymans  <wim@fluendo.com>
24158
24159         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24160         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24161         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24162         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24163         (gst_pad_send_event), (gst_pad_start_task):
24164         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24165         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24166         (gst_queue_sink_activate), (gst_queue_src_activate),
24167         (gst_queue_change_state):
24168         * gst/gstqueue.h:
24169         Fix state changes for non sinks. We now change sinks, then elements
24170         with unconnected srcpads, then the rest.
24171         More efficient queue unlocking in flush and state changes.
24172         Set the pad activate mode even if it does not have an activate
24173         function.
24174
24175 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24176
24177         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24178           Don't go in pull mode for non-seekable sources.
24179         * gst/elements/gsttypefindelement.h:
24180         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24181         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24182         (free_entry), (stop_typefinding),
24183         (gst_type_find_element_handle_event), (find_peek),
24184         (gst_type_find_element_chain), (do_pull_typefind),
24185         (gst_type_find_element_change_state):
24186           Allow typefinding (w/o seeking) in push-mode, simplified version
24187           of what was in 0.8.
24188         * gst/gstutils.c: (gst_buffer_join):
24189         * gst/gstutils.h:
24190           gst_buffer_join() from 0.8.
24191
24192 2005-05-25  Wim Taymans  <wim@fluendo.com>
24193
24194         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24195         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24196         (gst_pad_send_event), (gst_pad_start_task):
24197         Disable attempt at mode switching until it is figured out.
24198
24199 2005-05-25  Wim Taymans  <wim@fluendo.com>
24200
24201         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24202         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24203         (gst_basesink_finish_preroll), (gst_basesink_chain),
24204         (gst_basesink_loop), (gst_basesink_activate),
24205         (gst_basesink_change_state):
24206         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24207         (gst_basesrc_get_range), (gst_basesrc_loop),
24208         (gst_basesrc_activate):
24209         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24210         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24211         (gst_real_pad_init), (gst_real_pad_set_property),
24212         (gst_real_pad_get_property), (gst_pad_set_active),
24213         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24214         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24215         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24216         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24217         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24218         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24219         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24220         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24221         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24222         (gst_pad_stop_task):
24223         * gst/gstpad.h:
24224         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24225         (gst_queue_loop), (gst_queue_src_activate):
24226         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24227         (gst_task_get_state):
24228         * gst/gsttask.h:
24229         * gst/schedulers/threadscheduler.c:
24230         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24231         Implement gst_pad_pause/start/stop_task(), take STREAM lock
24232         in task function.
24233         Remove ACTIVE pad flag, use FLUSHING everywhere
24234         Added _pad_chain(), _pad_get_range() to call chain/getrange 
24235         functions.
24236         Add locks around IS_FLUSHING when reading.
24237         Take STREAM lock in chain(), get_range() functions so plugins
24238         don't need to take it anymore.
24239         
24240
24241
24242 2005-05-25  Wim Taymans  <wim@fluendo.com>
24243
24244         * tools/gst-launch.c: (event_loop):
24245         Unref message after using its contents instead of
24246         before.
24247
24248 2005-05-24  Wim Taymans  <wim@fluendo.com>
24249
24250         * docs/design/draft-ghostpads.txt:
24251         * docs/design/draft-push-pull.txt:
24252         * docs/design/draft-query.txt:
24253         * docs/design/part-overview.txt:
24254         Docs updates, added general overview doc.
24255
24256 2005-05-21  David Schleef  <ds@schleef.org>
24257
24258         * docs/gst/tmpl/old/GstBin.sgml:
24259         * docs/gst/tmpl/old/GstBuffer.sgml:
24260         * docs/gst/tmpl/old/GstCaps.sgml:
24261         * docs/gst/tmpl/old/GstClock.sgml:
24262         * docs/gst/tmpl/old/GstCompat.sgml:
24263         * docs/gst/tmpl/old/GstData.sgml:
24264         * docs/gst/tmpl/old/GstElement.sgml:
24265         * docs/gst/tmpl/old/GstEvent.sgml:
24266         * docs/gst/tmpl/old/GstIndex.sgml:
24267         * docs/gst/tmpl/old/GstStructure.sgml:
24268         * docs/gst/tmpl/old/GstTag.sgml:
24269         * docs/gst/tmpl/old/cothreads.sgml:
24270         * docs/gst/tmpl/old/cothreads_compat.sgml:
24271         * docs/gst/tmpl/old/gettext.sgml:
24272         * docs/gst/tmpl/old/gobject2gtk.sgml:
24273         * docs/gst/tmpl/old/grammar.tab.sgml:
24274         * docs/gst/tmpl/old/gst-i18n-app.sgml:
24275         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24276         * docs/gst/tmpl/old/gst_private.sgml:
24277         * docs/gst/tmpl/old/gstaggregator.sgml:
24278         * docs/gst/tmpl/old/gstarch.sgml:
24279         * docs/gst/tmpl/old/gstatomic_impl.sgml:
24280         * docs/gst/tmpl/old/gstbufferstore.sgml:
24281         * docs/gst/tmpl/old/gstdata_private.sgml:
24282         * docs/gst/tmpl/old/gstdisksink.sgml:
24283         * docs/gst/tmpl/old/gstdisksrc.sgml:
24284         * docs/gst/tmpl/old/gstelementfactory.sgml:
24285         * docs/gst/tmpl/old/gstextratypes.sgml:
24286         * docs/gst/tmpl/old/gstfakesink.sgml:
24287         * docs/gst/tmpl/old/gstfakesrc.sgml:
24288         * docs/gst/tmpl/old/gstfdsink.sgml:
24289         * docs/gst/tmpl/old/gstfdsrc.sgml:
24290         * docs/gst/tmpl/old/gstfilesink.sgml:
24291         * docs/gst/tmpl/old/gstfilesrc.sgml:
24292         * docs/gst/tmpl/old/gsthttpsrc.sgml:
24293         * docs/gst/tmpl/old/gstidentity.sgml:
24294         * docs/gst/tmpl/old/gstindexfactory.sgml:
24295         * docs/gst/tmpl/old/gstmarshal.sgml:
24296         * docs/gst/tmpl/old/gstmd5sink.sgml:
24297         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24298         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24299         * docs/gst/tmpl/old/gstpadtemplate.sgml:
24300         * docs/gst/tmpl/old/gstpipefilter.sgml:
24301         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24302         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24303         * docs/gst/tmpl/old/gstshaper.sgml:
24304         * docs/gst/tmpl/old/gstspider.sgml:
24305         * docs/gst/tmpl/old/gstspideridentity.sgml:
24306         * docs/gst/tmpl/old/gststatistics.sgml:
24307         * docs/gst/tmpl/old/gsttee.sgml:
24308         * docs/gst/tmpl/old/gsttimecache.sgml:
24309         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24310         * docs/gst/tmpl/old/gstxmlregistry.sgml:
24311         * docs/gst/tmpl/old/gthread-cothreads.sgml:
24312         * docs/gst/tmpl/old/types.sgml:
24313           I didn't intend to add these or check them in.
24314
24315 2005-05-19  David Schleef  <ds@schleef.org>
24316
24317         * configure.ac: Use -no-common everywhere.  In a sane world, it
24318           would be the default in libtool, because without it, you can't
24319           build DLLs on Windows.
24320         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24321         * docs/gst/gstreamer-sections.txt:
24322         * docs/gst/tmpl/gstcpu.sgml:
24323         * docs/gst/tmpl/gstdata.sgml:
24324         * docs/gst/tmpl/gstthread.sgml:
24325
24326 2005-05-19  David Schleef  <ds@schleef.org>
24327
24328         * gst/gstminiobject.c: (gst_value_set_mini_object),
24329         (gst_value_take_mini_object), (gst_value_get_mini_object):
24330         * gst/gstminiobject.h: Add GValue set/get functions.
24331
24332 2005-05-19  Wim Taymans  <wim@fluendo.com>
24333
24334         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24335         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24336         (gst_subbuffer_init), (gst_buffer_is_span_fast):
24337         * gst/gstbuffer.h:
24338         * gst/gstbus.c: (gst_bus_post):
24339         * gst/gstelement.c: (gst_element_get_random_pad):
24340         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24341         Make subbufer unref the parent in finalize.
24342         some more debugging info.
24343
24344
24345 2005-05-19  Wim Taymans  <wim@fluendo.com>
24346
24347         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24348         (gst_basesink_init), (gst_basesink_finalize),
24349         (gst_basesink_activate), (gst_basesink_change_state):
24350         Don't free preroll queue too early.
24351
24352 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24353
24354         * gst/Makefile.am:
24355         * gst/ROADMAP:
24356           Hi, I'm outdated. Please shoot me.
24357
24358 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24359
24360         * gst/gstpipeline.c: (gst_pipeline_send_event):
24361           Do not access variables after they have been deleted.
24362
24363 2005-05-19  Wim Taymans  <wim@fluendo.com>
24364
24365         * tools/gst-inspect.c: (print_plugin_features):
24366         A plugin feature does unfortunatly not use the
24367         object name yet...
24368
24369 2005-05-18  Wim Taymans  <wim@fluendo.com>
24370
24371         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24372         Port _span() functions to new subbuffers.
24373
24374 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24375
24376         * gst/gstbin.c: (gst_bin_add_func):
24377           Fix clock settery in bins when adding kids after the clock has
24378           been selected.
24379
24380 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24381
24382         * gst/elements/gstidentity.c: (gst_identity_class_init):
24383           Workaround until signals support GstMiniObject.
24384
24385 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
24386
24387         * gst/gstbuffer.c:
24388         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24389
24390 2005-05-18  Wim Taymans  <wim@fluendo.com>
24391
24392         * gst/base/Makefile.am:
24393         * gst/base/gstadapter.c: (gst_adapter_base_init),
24394         (gst_adapter_class_init), (gst_adapter_init),
24395         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24396         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24397         (gst_adapter_flush), (gst_adapter_available),
24398         (gst_adapter_available_fast):
24399         * gst/base/gstadapter.h:
24400         Ported and added adapter to the base classes.
24401
24402 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24403
24404         * gst/gst.c:
24405         * gst/gstmessage.c:
24406           Make sure the class is reffed/unreffed once before threads can be
24407           used.  Fixes #304551.
24408
24409 2005-05-17  Wim Taymans  <wim@fluendo.com>
24410
24411         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24412         (gst_basesink_chain_unlocked), (gst_basesink_activate):
24413         * gst/gstminiobject.c: (gst_mini_object_get_type),
24414         (gst_mini_object_free):
24415         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24416         (gst_pad_push), (gst_pad_push_event):
24417         * gst/gstqueue.c: (gst_queue_change_state):
24418         Don't queue buffers in basesink when we are flushing.
24419         Unref buffer when flushing in basesink.
24420         Flush queue when going to READY
24421         Unref buffer when _push() returns an error.
24422         Don't free MiniObject instance when refcount is incremented
24423         in _finalize() so that we can recover objects.
24424
24425 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24426
24427         * docs/manual/advanced-schedulers.xml:
24428         * docs/manual/appendix-checklist.xml:
24429         * docs/pwg/advanced-clock.xml:
24430         * docs/pwg/advanced-interfaces.xml:
24431         * docs/pwg/advanced-request.xml:
24432         * docs/pwg/advanced-types.xml:
24433         * docs/pwg/intro-preface.xml:
24434         * examples/plugins/example.c: (gst_example_get_type),
24435         (gst_example_class_init), (gst_example_chain),
24436         (gst_example_set_property), (gst_example_get_property),
24437         (gst_example_change_state), (plugin_init):
24438         * examples/plugins/example.h:
24439           small doc fixes
24440
24441 2005-05-17  Wim Taymans  <wim@fluendo.com>
24442
24443         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24444         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24445         * gst/gstqueue.c: (gst_queue_change_state):
24446         Clear queue when going to READY.
24447         Remove IN_SETCAPS flag too.
24448
24449 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
24450
24451         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24452           Remove implicit cast from gboolean to GstElementStateReturn;
24453           make sure we still return failure in paused => ready case if
24454           the parent class fails to change state and our own stop 
24455           vfunc succeeds.
24456
24457 2005-05-17  Wim Taymans  <wim@fluendo.com>
24458
24459         * tools/gst-launch.c: (event_loop):
24460         Message was unreffed too soon.
24461
24462 2005-05-16  Andy Wingo  <wingo@pobox.com>
24463
24464         * gst/gstbin.c (sink_iterator_filter): Err... um...
24465
24466         * check/gst/gstbin.c (test_ghost_pads): New test for the
24467         ghosting-if-elements-not-in-same-bin behavior.
24468
24469 2005-05-16  David Schleef  <ds@schleef.org>
24470
24471         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24472         accessing refcount directly.
24473
24474 2005-05-15  David Schleef  <ds@schleef.org>
24475
24476         * check/Makefile.am: remove GstData checks
24477         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24478         * gst/Makefile.am: add miniobject, remove data
24479         * gst/gst.h: add miniobject, remove data
24480         * gst/gstdata.c: remove
24481         * gst/gstdata.h: remove
24482         * gst/gstdata_private.h: remove
24483         * gst/gsttypes.h: remove GstEvent and GstMessage
24484         * gst/gstelement.c: (gst_element_post_message): fix for API changes
24485         * gst/gstmarshal.list: change BOXED -> OBJECT
24486
24487         Implement GstMiniObject.
24488         * gst/gstminiobject.c:
24489         * gst/gstminiobject.h:
24490
24491         Modify to be subclasses of GstMiniObject.
24492         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24493         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24494         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24495         (gst_subbuffer_get_type), (gst_subbuffer_init),
24496         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24497         (gst_buffer_span):
24498         * gst/gstbuffer.h:
24499         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24500         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24501         (_gst_event_copy), (gst_event_new):
24502         * gst/gstevent.h:
24503         * gst/gstmessage.c: (_gst_message_initialize),
24504         (gst_message_get_type), (gst_message_class_init),
24505         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24506         (gst_message_new), (gst_message_new_error),
24507         (gst_message_new_warning), (gst_message_new_tag),
24508         (gst_message_new_state_changed), (gst_message_new_application):
24509         * gst/gstmessage.h:
24510         * gst/gstprobe.c: (gst_probe_perform),
24511         (gst_probe_dispatcher_dispatch):
24512         * gst/gstprobe.h:
24513         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24514         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24515         (_gst_query_copy), (gst_query_new):
24516
24517         Update elements for GstData -> GstMiniObject changes
24518         * gst/gstquery.h:
24519         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24520         (gst_queue_chain), (gst_queue_loop):
24521         * gst/elements/gstbufferstore.c:
24522         (gst_buffer_store_add_buffer_func),
24523         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24524         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24525         (gst_fakesink_render):
24526         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24527         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24528         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24529         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24530         (gst_filesrc_create_read):
24531         * gst/elements/gstidentity.c: (gst_identity_class_init):
24532         * gst/elements/gsttypefindelement.c:
24533         (gst_type_find_element_src_event), (free_entry_buffers),
24534         (gst_type_find_element_handle_event):
24535         * libs/gst/dataprotocol/dataprotocol.c:
24536         (gst_dp_header_from_buffer):
24537         * libs/gst/dataprotocol/dataprotocol.h:
24538         * libs/gst/dataprotocol/dp-private.h:
24539
24540 2005-05-15  David Schleef  <ds@schleef.org>
24541
24542         * gst/elements/gstelements.c: Don't include headers that were
24543         just removed.
24544
24545 2005-05-15  David Schleef  <ds@schleef.org>
24546
24547         * gst/elements/Makefile.am: Remove some elements that don't
24548         need to be in the core (or even exist at all).
24549         * gst/elements/gstaggregator.c:
24550         * gst/elements/gstaggregator.h:
24551         * gst/elements/gstmd5sink.c:
24552         * gst/elements/gstmd5sink.h:
24553         * gst/elements/gstmultifilesrc.c:
24554         * gst/elements/gstmultifilesrc.h:
24555         * gst/elements/gstpipefilter.c:
24556         * gst/elements/gstpipefilter.h:
24557         * gst/elements/gstshaper.c:
24558         * gst/elements/gstshaper.h:
24559         * gst/elements/gststatistics.c:
24560         * gst/elements/gststatistics.h:
24561         * po/POTFILES.in: Remove above files.
24562
24563 2005-05-14  Andy Wingo  <wingo@pobox.com>
24564
24565         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24566         so as to get the refs right.
24567         (sink_iterator_filter): New function, wraps bin_element_is_sink,
24568         unreffing objects that don't pass the filter.
24569
24570         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24571         gst_element_set_bus.
24572         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24573         normal cases, this will destroy the bus.
24574
24575         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24576         object.
24577
24578         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24579         has no sinks.
24580
24581 2005-05-13  Andy Wingo  <wingo@pobox.com>
24582
24583         * gst/gstutils.c (gst_element_link_pads): Instead of calling
24584         gst_pad_link, call pad_link_maybe_ghosting,
24585         (pad_link_maybe_ghosting): Links pads, making sure that the
24586         elements being linked are in the same bin.
24587         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24588         Helpers for pad_link_maybe_ghosting.
24589
24590 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24591
24592         * configure.ac:
24593           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24594
24595 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24596
24597         * docs/design/part-element-source.txt:
24598           Mention GstPushSrc
24599
24600 2005-05-12  Wim Taymans  <wim@fluendo.com>
24601
24602         * gst/base/gstbasesink.c: (gst_basesink_init),
24603         (gst_basesink_activate):
24604         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24605         (gst_basesrc_is_seekable):
24606         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24607         (bin_element_is_sink), (gst_bin_change_state):
24608         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24609         * gst/gstelement.h:
24610         Identify sinks by their flag to avoid overly complicated
24611         checks (fow now).
24612         Do state changes even for elements not reachable from the
24613         sinks.
24614         BaseSink is a sink now :)
24615         Some more debugging info in the basesrc.
24616
24617
24618 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24619
24620         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24621           Implement _query on a bin, similar to _send_event.
24622
24623 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
24624
24625         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24626           Discont event offset format should be GST_FORMAT_BYTES,
24627           not GST_FORMAT_TIME.
24628
24629 2005-05-12  Wim Taymans  <wim@fluendo.com>
24630
24631         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24632         Same fix as Ronald's but without the signal. 
24633
24634 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24635
24636         * gst/gstutils.c: (gst_element_query_position):
24637           No, an element is not a pad.
24638
24639 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24640
24641         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24642         (gst_bin_get_state):
24643           If a child is removed from a bin while we remove the child from
24644           the bin and while we're retrieving its state, signal this to the
24645           get_state function so we abort the wait (instead of waiting for
24646           a timeout) and can immediately re-iterate over all other elements.
24647
24648 2005-05-12  Wim Taymans  <wim@fluendo.com>
24649
24650         * gst/base/Makefile.am:
24651         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24652         (gst_basesrc_start):
24653         * gst/base/gstbasesrc.h:
24654         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24655         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24656         (gst_pushsrc_init), (gst_pushsrc_create):
24657         * gst/base/gstpushsrc.h:
24658         Added is_seekable to BaseSrc
24659         Added simple PushSrc.
24660
24661 2005-05-11  Wim Taymans  <wim@fluendo.com>
24662
24663         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24664         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24665         (gst_element_link_pads), (gst_element_query_position),
24666         (gst_element_query_convert), (intersect_caps_func),
24667         (gst_pad_query_position), (gst_pad_query_convert):
24668         Fix refcounting in utils function.
24669         No point in trying to activate a pad when it's added, it could
24670         be added from the state change function and then we deadlock, the
24671         element has to decide what to do.
24672
24673 2005-05-10  Andy Wingo  <wingo@pobox.com>
24674
24675         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24676         *all* the arguments.
24677
24678         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24679         stream lock if it's a FLUSH_DONE; normal flushes don't get the
24680         lock (according to the docs -- if this is wrong change the docs).
24681
24682         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24683         flush messages in the NULL state.
24684
24685         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24686         message immediately and return.
24687         (gst_bus_set_flushing): New function. If a bus is flushing, it
24688         flushes out any queued messages and immediately unrefs new
24689         messages. This is so when an element goes to NULL, all of the
24690         unhandled messages coming from it can be freed, and their
24691         references to the element dropped. In other words: message source
24692         ref considered harmful :P
24693
24694         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24695         we're finished with it.
24696
24697         * gst/gstmessage.c (gst_message_new_state_changed): 
24698
24699 2005-05-10  Wim Taymans  <wim@fluendo.com>
24700
24701         * gst/gstvalue.c: (gst_value_compare_flags),
24702         (gst_value_serialize_flags), (gst_value_deserialize_flags),
24703         (_gst_value_initialize):
24704         Added flags serialize/deserialize/compare code.
24705
24706 2005-05-09  Andy Wingo  <wingo@pobox.com>
24707
24708         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24709         Intersect the peer's caps with our caps.
24710
24711 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24712
24713         * gst/base/gsttypefindhelper.c: (helper_find_peek):
24714         * gst/elements/gsttypefindelement.c: (find_peek):
24715           Handle negative offsets better. Fixes decodebin.
24716
24717 2005-05-09  Wim Taymans  <wim@fluendo.com>
24718
24719         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24720         (gst_base_transform_event):
24721         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24722         Implement accept_caps.
24723         Fix silly lock/unlock mismatch in base class.
24724
24725 2005-05-09  Wim Taymans  <wim@fluendo.com>
24726
24727         * docs/design/draft-push-pull.txt:
24728         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24729         * gst/elements/gstfilesink.c: (gst_filesink_init),
24730         (gst_filesink_query):
24731         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24732         (gst_type_find_handle_src_query), (find_element_get_length):
24733         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24734         * gst/gstelement.h:
24735         * gst/gstmessage.c:
24736         * gst/gstmessage.h:
24737         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24738         (gst_real_pad_get_caps_unlocked),
24739         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24740         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24741         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24742         (gst_real_pad_dispose), (gst_real_pad_finalize),
24743         (gst_pad_load_and_link), (gst_pad_save_thyself),
24744         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24745         (gst_pad_check_pull_range), (gst_pad_pull_range),
24746         (gst_pad_template_get_type), (gst_pad_template_class_init),
24747         (gst_pad_template_init), (gst_pad_template_dispose),
24748         (name_is_valid), (gst_static_pad_template_get),
24749         (gst_pad_template_new), (gst_static_pad_template_get_caps),
24750         (gst_pad_template_get_caps), (gst_pad_set_element_private),
24751         (gst_pad_get_element_private), (gst_pad_start_task),
24752         (gst_pad_pause_task), (gst_pad_stop_task),
24753         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24754         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24755         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24756         (gst_ghost_pad_new):
24757         * gst/gstpad.h:
24758         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24759         (gst_query_new_position), (gst_query_set_position),
24760         (gst_query_parse_position), (gst_query_new_convert),
24761         (gst_query_set_convert), (gst_query_parse_convert):
24762         * gst/gstquery.h:
24763         * gst/gstqueryutils.c:
24764         * gst/gstqueryutils.h:
24765         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24766         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24767         (gst_queue_handle_src_query):
24768         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24769         (gst_element_query_position), (gst_element_query_convert),
24770         (intersect_caps_func), (gst_pad_query_position),
24771         (gst_pad_query_convert):
24772         * gst/gstutils.h:
24773         * tools/gst-inspect.c: (print_pad_info):
24774         * tools/gst-xmlinspect.c: (print_element_info):
24775         Remove old query functions. Ported old code.
24776         Added position/convert helper functions to gstutils.
24777         Reordered gstpad.c code, grouping relevant things.
24778         Remove gst_message_new(), always need to speficy a specific
24779         message.
24780
24781
24782 2005-05-09  Andy Wingo  <wingo@pobox.com>
24783
24784         * gst/gstiterator.h: Add some includes.
24785
24786         * gst/gstqueryutils.h: Include more headers.
24787
24788         * gst/gstpad.h:
24789         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24790         some uses of gst_pad_query.
24791
24792         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24793         NULL out parameters.
24794         (gst_query_new_position): New proc, allocates a new position
24795         query.
24796
24797         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24798         gstqueryutils.c to the build.
24799
24800         * gst/gststructure.c (gst_structure_set_valist): Implement with
24801         the generic G_VALUE_COLLECT.
24802         
24803 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
24804
24805         * gst/Makefile.am: (gst_headers):
24806         Added gstqueryutils.h to the list of headers to install, that was
24807         a 'nachty' move wingo :)
24808
24809 2005-05-06  Andy Wingo  <wingo@pobox.com>
24810
24811         * gst/gstquery.h
24812         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24813         GstData, init a memchunk.
24814         (standard_definitions): Add a few query types, deprecate a few.
24815         (gst_query_get_type): New proc.
24816         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24817         implementation.
24818         (gst_query_new_application, gst_query_get_structure): New public
24819         procs.
24820
24821         * docs/design/draft-query.txt: Removed LINKS from the query types,
24822         because all the rest can be dispatched to other pads -- seemed
24823         ugly to have a query that couldn't be dispatched. internal_links
24824         is fine as a pad method.
24825
24826         * gst/gstpad.h: Add query2 as a pad method, add the new functions
24827         in gstpad.c, but maintain binary compatibility for the moment.
24828         Will fix before 0.9 is out.
24829
24830         * gst/gstqueryutils.c: 
24831         * gst/gstqueryutils.h: New files, implement 3 methods for each
24832         query type: parse_query, parse_response, and set. Probably need an
24833         allocator as well.
24834
24835         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24836
24837         * gst/elements/gstfilesink.c (gst_filesink_query2):
24838         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24839         query_types, and formats methods.
24840
24841         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24842         (gst_pad_set_query2_function): New functions.
24843         (gst_real_pad_init): Set query2_default as the default query2
24844         function. Basically just dispatches to internally linked pads.
24845
24846         Needs review!
24847         
24848         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24849         without using the atomic operations. Only one thread can possibly
24850         be accessing the data at this point. Changed so as to avoid
24851         gst_atomic operations.
24852
24853 2005-05-06  Wim Taymans  <wim@fluendo.com>
24854
24855         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24856         Also set caps if we use the fallback buffer alloc.
24857
24858 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
24859
24860         * docs/gst/Makefile.am:
24861         * docs/gst/gstreamer-docs.sgml:
24862         * docs/gst/gstreamer-sections.txt:
24863         * docs/gst/tmpl/gstatomic.sgml:
24864         * docs/gst/tmpl/gstmemchunk.sgml:
24865         * testsuite/elements/struct_i386.h:
24866         * win32/GStreamer.vcproj:
24867         * win32/Makefile:
24868           Purge GstAtomic stuff from docs and win32 makefiles as well
24869
24870 2005-05-06  Wim Taymans  <wim@fluendo.com>
24871
24872         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24873         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24874         * gst/gstpad.c: (gst_pad_peer_get_caps):
24875         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24876         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24877         (gst_queue_src_activate), (gst_queue_change_state):
24878         * gst/gstqueue.h:
24879         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24880         (intersect_caps_func):
24881         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24882         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24883         Some fixes for the peer_get_caps() change.
24884
24885 2005-05-06  Wim Taymans  <wim@fluendo.com>
24886
24887         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24888         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24889         (gst_basesink_activate):
24890         Actually do something with error codes returned from the push
24891         functions.
24892
24893 2005-05-06  Wim Taymans  <wim@fluendo.com>
24894
24895         * docs/design/part-element-sink.txt:
24896         * docs/design/part-element-source.txt:
24897         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24898         (gst_basesink_event), (gst_basesink_activate):
24899         * gst/base/gstbasesink.h:
24900         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24901         (gst_basesrc_activate):
24902         * gst/base/gstbasesrc.h:
24903         * gst/gstelement.c: (gst_element_pads_activate):
24904         Some more documentation.
24905         Fixed scheduling decision in _pads_activate().
24906
24907 2005-05-05  Andy Wingo  <wingo@pobox.com>
24908
24909         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24910         the test suite.
24911
24912 2005-05-05  Wim Taymans  <wim@fluendo.com>
24913
24914         * gst/base/Makefile.am:
24915         * gst/base/gstbasesink.h:
24916         * gst/base/gstbasesrc.c: (gst_basesrc_init),
24917         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24918         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24919         (gst_collectpads_class_init), (gst_collectpads_init),
24920         (gst_collectpads_finalize), (gst_collectpads_new),
24921         (gst_collectpads_set_function), (gst_collectpads_add_pad),
24922         (find_pad), (gst_collectpads_remove_pad),
24923         (gst_collectpads_is_active), (gst_collectpads_collect),
24924         (gst_collectpads_collect_range), (gst_collectpads_start),
24925         (gst_collectpads_stop), (gst_collectpads_peek),
24926         (gst_collectpads_pop), (gst_collectpads_available),
24927         (gst_collectpads_read), (gst_collectpads_flush),
24928         (gst_collectpads_chain):
24929         * gst/base/gstcollectpads.h:
24930         * gst/elements/Makefile.am:
24931         * gst/elements/gstelements.c:
24932         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24933         (gst_fakesink_get_times), (gst_fakesink_event),
24934         (gst_fakesink_preroll), (gst_fakesink_render):
24935         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24936         (gst_filesink_init), (gst_filesink_set_location),
24937         (gst_filesink_open_file), (gst_filesink_close_file),
24938         (gst_filesink_pad_query), (gst_filesink_event),
24939         (gst_filesink_render), (gst_filesink_change_state):
24940         * gst/elements/gstfilesink.h:
24941         Added object to help in making collect pad based elements.
24942         Ported filesink.
24943         Make event function in sink baseclass return gboolean.
24944
24945 2005-05-05  Wim Taymans  <wim@fluendo.com>
24946
24947         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24948         (gst_bin_get_by_name):
24949         * gst/gstbuffer.h:
24950         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24951         (gst_clock_finalize):
24952         * gst/gstdata.c: (gst_data_replace):
24953         * gst/gstdata.h:
24954         * gst/gstelement.c: (gst_element_request_pad),
24955         (gst_element_pads_activate):
24956         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24957         (gst_object_unref):
24958         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24959         (gst_pad_set_checkgetrange_function),
24960         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24961         (gst_pad_check_pull_range), (gst_pad_pull_range),
24962         (gst_static_pad_template_get_caps), (gst_pad_start_task),
24963         (gst_pad_pause_task), (gst_pad_stop_task):
24964         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24965         (gst_element_request_pad), (gst_pad_proxy_getcaps):
24966         Fix name lookup in GstBin.
24967         Added _data_replace() function and _buffer_replace()
24968         Use finalize method to clean up clock.
24969         Fix refcounting on request pads.
24970         Fix pad schedule mode error.
24971         Some more object refcounting debug info,
24972
24973
24974 2005-05-04  Andy Wingo <wingo@pobox.com>
24975
24976         * check/Makefile.am:
24977         * docs/gst/tmpl/gstatomic.sgml:
24978         * docs/gst/tmpl/gstplugin.sgml:
24979         * gst/base/gstbasesink.c: (gst_basesink_activate):
24980         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24981         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24982         (gst_basesrc_query), (gst_basesrc_set_property),
24983         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24984         (gst_basesrc_activate):
24985         * gst/base/gstbasesrc.h:
24986         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24987         (gst_base_transform_src_activate):
24988         * gst/elements/gstelements.c:
24989         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24990         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24991         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24992         * gst/elements/gsttypefindelement.c: (find_element_get_length),
24993         (gst_type_find_element_checkgetrange),
24994         (gst_type_find_element_activate):
24995         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24996         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24997         (gst_caps_load_thyself):
24998         * gst/gstelement.c: (gst_element_pads_activate),
24999         (gst_element_save_thyself), (gst_element_restore_thyself):
25000         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25001         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25002         * gst/gstpad.h:
25003         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25004         (gst_xml_parse_file), (gst_xml_parse_memory),
25005         (gst_xml_get_element), (gst_xml_make_element):
25006         * gst/indexers/gstfileindex.c: (gst_file_index_load),
25007         (_file_index_id_save_xml), (gst_file_index_commit):
25008         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25009         (read_enum), (load_pad_template), (load_feature), (load_plugin),
25010         (load_paths):
25011         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25012         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25013         * tools/gst-complete.c: (main):
25014         * tools/gst-compprep.c: (main):
25015         * tools/gst-inspect.c: (print_element_properties_info):
25016         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25017         * tools/gst-xmlinspect.c: (print_element_properties):
25018         GCC 4 fixen.
25019         
25020 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25021
25022         * gst/gstplugin.c: (gst_plugin_check_module),
25023         (gst_plugin_check_file), (gst_plugin_load_file):
25024             apply patch from #172526 to make register work on MacOSX
25025
25026 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25027
25028         * docs/gst/tmpl/gstconfig.sgml:
25029         * gst/gstconfig.h.in:
25030           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
25031         * testsuite/debug/printf_extension.c: (main):
25032           Do not use GST_PTR_FORMAT on pointers to types with
25033           sizeof < sizeof(gpointer).  Fixes test on 64-bit
25034         * testsuite/elements/property.h:
25035           use correct printf format
25036
25037 2005-05-02  Wim Taymans  <wim@fluendo.com>
25038
25039         * docs/design/draft-push-pull.txt:
25040         * docs/design/draft-query.txt:
25041         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25042         (gst_basesrc_start):
25043         Added draft for new query API.
25044         Added draft for better selecting scheduling methods.
25045         Make basesrc ignore length if the subclass does not support
25046         it.
25047
25048 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25049
25050         * gst/Makefile.am:
25051           possible fixes for automake-1.5 - _LIBADD is reserved
25052
25053 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25054
25055         * docs/faq/Makefile.am:
25056         * docs/manual/Makefile.am:
25057         * docs/manuals.mak:
25058         * docs/pwg/Makefile.am:
25059         * gst/Makefile.am:
25060           possible fixes for automake-1.5
25061
25062 2005-04-28  Wim Taymans  <wim@fluendo.com>
25063
25064         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25065         (gst_basesink_pad_getcaps), (gst_basesink_init),
25066         (gst_basesink_do_sync):
25067         * gst/gstclock.c: (gst_clock_entry_new):
25068         * gst/gstevent.c: (gst_event_discont_get_value):
25069         * gst/gstpipeline.c: (pipeline_bus_handler),
25070         (gst_pipeline_change_state):
25071         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25072         Better debugging of clocking info.
25073         Allow NULL values when getting discont values.
25074
25075 2005-04-27  Wim Taymans  <wim@fluendo.com>
25076
25077         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25078         * check/gst/gstpad.c: (gst_pad_suite):
25079         Increase timeout for checks.
25080
25081 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25082
25083         * check/Makefile.am:
25084           fix the broken rule for cleanup.  Apparently this rule is
25085           only needed on FC2, so maybe this warrants further autotool
25086           inspection.
25087
25088 2005-04-26  Wim Taymans  <wim@fluendo.com>
25089
25090         * gst/gsttrashstack.h:
25091         Ooohh. a nasty one! After having a failed pop() from the stack,
25092         it's possible that the stack is empty. In that case, don't
25093         follow the NULL pointer.
25094
25095 2005-04-25  Wim Taymans  <wim@fluendo.com>
25096
25097         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25098         (gst_pad_set_checkgetrange_function),
25099         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25100         (gst_pad_check_pull_range), (gst_pad_pull_range),
25101         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25102         (gst_pad_pause_task), (gst_pad_stop_task):
25103         * gst/gstplugin.c: (gst_plugin_load):
25104         * gst/gstplugin.h:
25105         Remove gst_library_load as it does more harm than good with
25106         the new g_module flags.
25107         Revert bogus caps template check in pad linking, pad caps
25108         are important when linking not the template, which is more
25109         general than the current caps.
25110
25111 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25112
25113         * gst/autoplug/.cvsignore:
25114         * gst/autoplug/Makefile.am:
25115         * gst/autoplug/gstsearchfuncs.c:
25116         * gst/autoplug/gstsearchfuncs.h:
25117         * gst/autoplug/gstspider.c:
25118         * gst/autoplug/gstspider.h:
25119         * gst/autoplug/gstspideridentity.c:
25120         * gst/autoplug/gstspideridentity.h:
25121         * gst/autoplug/spidertest.c:
25122           Die, spider, die.
25123
25124 2005-04-25  Wim Taymans  <wim@fluendo.com>
25125
25126         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25127         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25128         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25129         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25130         * gst/gstpad.h:
25131         Added stubs for unimplemented functions. 
25132
25133 2005-04-24  David Schleef  <ds@schleef.org>
25134
25135         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
25136         please fix.
25137
25138 2005-04-24  David Schleef  <ds@schleef.org>
25139
25140         Convert everything from GstAtomicInt to g_atomic_int_*, and
25141         remove gstatomic.
25142         * gst/Makefile.am:
25143         * gst/gstatomic.c:
25144         * gst/gstatomic.h:
25145         * gst/gstatomic_impl.h:
25146         * gst/gstbuffer.c:
25147         * gst/gstcaps.c:
25148         * gst/gstcaps.h:
25149         * gst/gstclock.c:
25150         * gst/gstclock.h:
25151         * gst/gstdata.c:
25152         * gst/gstdata.h:
25153         * gst/gstdata_private.h:
25154         * gst/gstevent.c:
25155         * gst/gstinfo.c:
25156         * gst/gstinfo.h:
25157         * gst/gstmessage.c:
25158         * gst/gstobject.c:
25159         * gst/gstobject.h:
25160         * gst/gststructure.c:
25161         * gst/gststructure.h:
25162         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25163         * gst/gstutils.h:
25164
25165 2005-04-24  David Schleef  <ds@schleef.org>
25166
25167         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25168         make the regressions tests work.  Remove some code that is no
25169         longer true.
25170         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25171         Disable warning for pads without templates.
25172
25173 2005-04-24  David Schleef  <ds@schleef.org>
25174
25175         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
25176         functions that handle filtered links.
25177         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25178         removed functions.
25179         * gst/gstutils.c: Fix/remove utility functions that handle
25180         filtered caps.
25181         * gst/gstutils.h:
25182         * gst/gstvalue.c: Add serialization/deserialization of caps
25183         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
25184         requires fixing so that the filter caps notation creates
25185         a capsfilter element and sets the filter_caps property.  I
25186         think everyone probably wants to keep the shorthand notation.
25187         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25188         * docs/gst/tmpl/gstpad.sgml:
25189
25190         * gst/elements/gstelements.c: Register capsfilter element.
25191         * gst/Makefile.am: fix spacing
25192         * docs/random/ds/0.9-suggested-changes: random
25193
25194 2005-04-23  David Schleef  <ds@schleef.org>
25195
25196         * gst/elements/Makefile.am:
25197         * gst/elements/gstcapsfilter.c: New element that acts like an
25198         identity, but filters caps.  Will eventually replace filtered
25199         caps in pad linking.
25200         * gst/gstutils.c: (gst_element_create_all_pads): New function
25201         to create all the ALWAYS pads that are registered with an
25202         element class.  This functionality should eventually be
25203         merged in with GstElement initialization.
25204         * gst/gstutils.h:
25205         * testsuite/trigger/README: part of trigger test code that should
25206         have been checked in a long time ago.
25207
25208 2005-04-23  David Schleef  <ds@schleef.org>
25209
25210         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
25211         needed with new versions of libtool (nobody will confirm this),
25212         and hard to carry around.
25213         * gst/autoplug/Makefile.am:
25214         * gst/base/Makefile.am:
25215         * gst/elements/Makefile.am:
25216         * gst/indexers/Makefile.am:
25217         * gst/schedulers/Makefile.am:
25218         * libs/gst/bytestream/Makefile.am:
25219         * libs/gst/control/Makefile.am:
25220         * libs/gst/dataprotocol/Makefile.am:
25221         * libs/gst/getbits/Makefile.am:
25222
25223 2005-04-21  Wim Taymans  <wim@fluendo.com>
25224
25225         * docs/design/draft-push-pull.txt:
25226         * docs/design/part-MT-refcounting.txt:
25227         * docs/design/part-TODO.txt:
25228         * docs/design/part-caps.txt:
25229         * docs/design/part-events.txt:
25230         * docs/design/part-gstbus.txt:
25231         * docs/design/part-gstpipeline.txt:
25232         * docs/design/part-messages.txt:
25233         * docs/design/part-push-pull.txt:
25234         * docs/design/part-query.txt:
25235         Some more docs.
25236
25237 2005-04-21  Wim Taymans  <wim@fluendo.com>
25238
25239         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25240         (gst_message_new), (gst_message_new_error),
25241         (gst_message_new_warning), (gst_message_new_tag),
25242         (gst_message_new_state_changed), (gst_message_new_application),
25243         (gst_message_get_structure):
25244         * gst/gstmessage.h:
25245         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25246         (gst_structure_copy_conditional):
25247         Use parent refcount in GstMessage to ensure GstStructure
25248         consistency.
25249         Cleaned up headers a bit.
25250         
25251
25252 2005-04-20  Wim Taymans  <wim@fluendo.com>
25253
25254         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25255         (gst_basesink_pad_getcaps), (gst_basesink_init),
25256         (gst_basesink_chain_unlocked):
25257         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25258         (gst_type_find_helper):
25259         * gst/elements/gsttypefindelement.c:
25260         (gst_type_find_element_have_type), (gst_type_find_element_init),
25261         (stop_typefinding), (gst_type_find_element_handle_event),
25262         (find_suggest), (gst_type_find_element_chain),
25263         (gst_type_find_element_checkgetrange),
25264         (gst_type_find_element_getrange), (do_typefind),
25265         (gst_type_find_element_activate):
25266         * gst/gstbuffer.c: (_gst_buffer_sub_free),
25267         (gst_buffer_default_free), (gst_buffer_default_copy),
25268         (gst_buffer_set_caps):
25269         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25270         (gst_caps_replace):
25271         * gst/gstmessage.c: (gst_message_new),
25272         (gst_message_new_state_changed):
25273         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25274         (gst_pad_set_checkgetrange_function),
25275         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25276         (gst_pad_set_caps), (gst_pad_check_pull_range),
25277         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25278         * gst/gstpad.h:
25279         * gst/gsttypefind.c: (gst_type_find_register):
25280         Make gst_caps_replace() work like other _replace() functions.
25281         Use _caps_replace() where possible.
25282         Make sure _message_new() initialises its field.
25283         Add gst_static_pad_template_get_caps()
25284
25285
25286 2005-04-18  Andy Wingo  <wingo@pobox.com>
25287
25288         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25289         on the peer, not the pad. I think that was a typo. Pass an extra
25290         arg to see if random access is possible. Activate the pads as
25291         PULL_RANGE if possible.
25292
25293         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25294
25295         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
25296         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25297         to PROP_....
25298
25299 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25300
25301         * docs/faq/using.xml:
25302           Add note on gstreamer-properties (#154996).
25303
25304 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25305
25306         * docs/random/bbb/optional-properties:
25307           Some analysis on optional properties.
25308
25309 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25310
25311         * docs/gst/tmpl/gstelementfactory.sgml:
25312         * gst/gstelement.h:
25313         * gst/gstelementfactory.c: (gst_element_factory_init),
25314         (gst_element_factory_cleanup), (gst_element_register),
25315         (__gst_element_factory_add_static_pad_template),
25316         (gst_element_factory_get_static_pad_templates),
25317         (gst_element_factory_can_src_caps),
25318         (gst_element_factory_can_sink_caps):
25319         * gst/registries/Makefile.am:
25320         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25321         (gst_xml_registry_class_init), (gst_xml_registry_init),
25322         (gst_xml_registry_new), (gst_xml_registry_set_property),
25323         (gst_xml_registry_get_property), (get_time), (make_dir),
25324         (gst_xml_registry_get_perms_func),
25325         (plugin_times_older_than_recurse), (plugin_times_older_than),
25326         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25327         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25328         (add_to_char_array), (read_string), (read_uint), (read_enum),
25329         (load_pad_template), (load_feature), (load_plugin), (load_paths),
25330         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25331         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25332         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25333         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25334         (gst_xml_registry_rebuild):
25335         * gst/registries/gstlibxmlregistry.h:
25336         * tools/gst-compprep.c: (main):
25337         * tools/gst-inspect.c: (print_pad_templates_info):
25338         * tools/gst-xmlinspect.c: (print_element_info):
25339           Use libxml2 for registry parsing, use staticpadtemplates in
25340           elementfactories. Makes gst_init() +/- 10x faster.
25341
25342 2005-04-12  Wim Taymans  <wim@fluendo.com>
25343
25344         * gst/base/Makefile.am:
25345         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25346         (gst_basesink_pad_getcaps), (gst_basesink_init),
25347         (gst_basesink_event), (gst_basesink_change_state):
25348         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25349         (gst_basesrc_init), (gst_basesrc_query),
25350         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25351         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25352         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25353         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25354         (gst_basesrc_stop), (gst_basesrc_activate),
25355         (gst_basesrc_change_state):
25356         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25357         (helper_find_suggest), (gst_type_find_helper):
25358         * gst/base/gsttypefindhelper.h:
25359         * gst/elements/Makefile.am:
25360         * gst/elements/gstelements.c:
25361         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25362         (gst_fakesink_get_times), (gst_fakesink_event),
25363         (gst_fakesink_preroll), (gst_fakesink_render):
25364         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25365         (gst_fakesrc_init), (gst_fakesrc_event_handler),
25366         (gst_fakesrc_get_property), (gst_fakesrc_create),
25367         (gst_fakesrc_start), (gst_fakesrc_stop):
25368         * gst/elements/gstfakesrc.h:
25369         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25370         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25371         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25372         (gst_filesrc_create_read), (gst_filesrc_create),
25373         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25374         (gst_filesrc_start):
25375         * gst/elements/gsttypefindelement.c:
25376         (gst_type_find_element_have_type), (gst_type_find_element_init),
25377         (start_typefinding), (stop_typefinding), (push_buffer_store),
25378         (gst_type_find_element_handle_event),
25379         (gst_type_find_element_chain),
25380         (gst_type_find_element_checkgetrange),
25381         (gst_type_find_element_getrange), (do_typefind),
25382         (gst_type_find_element_activate),
25383         (gst_type_find_element_change_state):
25384         * gst/elements/gsttypefindelement.h:
25385         * gst/gstpipeline.c: (pipeline_bus_handler):
25386         Added typefind helper.
25387         Small preroll fix in the base sink.
25388         Disable typefind code in basesrc.
25389         Crude port of typefindelement.
25390         Fakesrc cleanups.
25391
25392
25393 2005-04-11  Wim Taymans  <wim@fluendo.com>
25394
25395         * check/gst/gstbus.c: (gstbus_suite):
25396         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25397         * check/gstcheck.h:
25398           Fix up the timeout so that the test does not fail.
25399
25400 2005-04-06  Wim Taymans  <wim@fluendo.com>
25401
25402         * gst/base/README:
25403         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25404         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25405         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25406         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25407         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25408         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25409         (gst_basesrc_stop), (gst_basesrc_activate),
25410         (gst_basesrc_change_state), (basesrc_find_peek),
25411         (basesrc_find_suggest), (gst_basesrc_type_find):
25412         * gst/base/gstbasesrc.h:
25413         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25414         (gst_filesrc_class_init), (gst_filesrc_init),
25415         (gst_filesrc_finalize), (gst_filesrc_set_location),
25416         (gst_filesrc_set_property), (gst_filesrc_get_property),
25417         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25418         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25419         (gst_filesrc_create_read), (gst_filesrc_create),
25420         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25421         * gst/elements/gstfilesrc.h:
25422         * gst/gstelement.c: (gst_element_get_state_func),
25423         (gst_element_lost_state), (gst_element_pads_activate):
25424         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25425         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25426         (gst_pad_pull_range):
25427         * gst/gstpad.h:
25428         More work on the generic source base class, implement seeking,
25429         query.
25430         Make filesrc extend the base source class.
25431         Added gst_pad_set_checkgetrange_function to GstPad.
25432
25433 2005-04-06  Andy Wingo  <wingo@pobox.com>
25434
25435         * pkgconfig/gstreamer-base.pc.in:
25436         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25437
25438         * pkgconfig/Makefile.am:
25439         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25440
25441 2005-04-04  Wim Taymans  <wim@fluendo.com>
25442
25443         * gst/base/Makefile.am:
25444         * gst/base/README:
25445         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25446         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25447         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25448         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25449         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25450         (gst_basesrc_base_init), (gst_basesrc_class_init),
25451         (gst_basesrc_init), (gst_basesrc_get_formats),
25452         (gst_basesrc_get_query_types), (gst_basesrc_query),
25453         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25454         (gst_basesrc_set_property), (gst_basesrc_get_property),
25455         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25456         (gst_basesrc_loop), (gst_basesrc_activate),
25457         (gst_basesrc_change_state):
25458         * gst/base/gstbasesrc.h:
25459         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25460         (gst_fakesrc_class_init), (gst_fakesrc_init),
25461         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25462         (gst_fakesrc_get_property), (gst_fakesrc_create):
25463         * gst/elements/gstfakesrc.h:
25464         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25465         (gst_filesrc_open_file), (gst_filesrc_loop),
25466         (gst_filesrc_activate), (filesrc_find_peek),
25467         (gst_filesrc_type_find):
25468         Made base source class, make fakesrc extend it.
25469         Add comments to basesink class.
25470         Some filesrc cleanup.
25471
25472 2005-03-31  David Schleef  <ds@schleef.org>
25473
25474         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25475         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25476         expected to link against libgstreamer.
25477         * gst/base/Makefile.am: link against libgstreamer
25478         * gst/elements/Makefile.am: same
25479
25480 2005-03-31  Andy Wingo  <wingo@pobox.com>
25481
25482         * tests/instantiate/Makefile.am:
25483         * tests/instantiate/caps.c: Add test to test speed of caps copy
25484         and free.
25485
25486         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25487         GMemChunk to be fair.
25488
25489         * gst/gsttrashstack.h: Remove warning about using the fallback
25490         trash stack implementation, it's still faster than malloc.
25491
25492 2005-03-30  Andy Wingo  <wingo@pobox.com>
25493
25494         * tests/complexity.c: Add a copyright.
25495
25496 2005-03-31  Wim Taymans  <wim@fluendo.com>
25497
25498         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25499         (gst_base_transform_class_init), (gst_base_transform_init),
25500         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25501         (gst_base_transform_get_property),
25502         (gst_base_transform_sink_activate),
25503         (gst_base_transform_src_activate),
25504         (gst_base_transform_change_state):
25505         * gst/base/gstbasetransform.h:
25506         * gst/elements/gstidentity.c: (gst_identity_class_init),
25507         (gst_identity_event), (gst_identity_check_perfect),
25508         (gst_identity_transform), (gst_identity_start),
25509         (gst_identity_stop):
25510         Added start/stop methods to transform base class so subclasses 
25511         don't need to deal with state changes even.
25512
25513 2005-03-31  Wim Taymans  <wim@fluendo.com>
25514
25515         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25516         (gst_event_new_discontinuous), (gst_event_discont_get_value):
25517         * gst/gstevent.h:
25518         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25519         (gst_pad_pull_range):
25520         Added rate to the discont event to prepare for variable speed
25521         and reverse playback.
25522
25523 2005-03-29  David Schleef  <ds@schleef.org>
25524
25525         * configure.ac:
25526         * testsuite/trigger/Makefile.am:
25527         * testsuite/trigger/trigger.c: A little example program to show
25528         how trigger-based elements can work.
25529
25530 2005-03-29  Wim Taymans  <wim@fluendo.com>
25531
25532         * gst/base/Makefile.am:
25533         * gst/base/README:
25534         * gst/base/gstbasesink.c: (gst_basesink_get_type),
25535         (gst_basesink_base_init), (gst_basesink_class_init),
25536         (gst_basesink_pad_getcaps), (gst_basesink_init),
25537         (gst_basesink_activate), (gst_basesink_change_state):
25538         * gst/base/gstbasesink.h:
25539         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25540         (gst_base_transform_base_init), (gst_base_transform_finalize),
25541         (gst_base_transform_class_init), (gst_base_transform_init),
25542         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25543         (gst_base_transform_event), (gst_base_transform_getrange),
25544         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25545         (gst_base_transform_set_property),
25546         (gst_base_transform_get_property),
25547         (gst_base_transform_sink_activate),
25548         (gst_base_transform_src_activate),
25549         (gst_base_transform_change_state):
25550         * gst/base/gstbasetransform.h:
25551         * gst/elements/gstidentity.c: (gst_identity_finalize),
25552         (gst_identity_class_init), (gst_identity_init),
25553         (gst_identity_event), (gst_identity_check_perfect),
25554         (gst_identity_transform), (gst_identity_set_property),
25555         (gst_identity_get_property), (gst_identity_change_state):
25556         * gst/elements/gstidentity.h:
25557         * gst/gstelement.c: (gst_element_get_state_func),
25558         (gst_element_lost_state), (gst_element_pads_activate):
25559         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25560         (gst_pad_check_pull_range), (gst_pad_pull_range):
25561         * gst/gstpad.h:
25562         Simplify pad activation.
25563         Added function to check if pull_range can be performed.
25564         Error out when pulling inactive or flushing pads.
25565         Removed const from refcounted types as it does not make sense.
25566         Simplify pad templates in basesink
25567         Added base class for simple 1-to-1 transforms.
25568         Make identity subclass the base transform.
25569
25570 2005-03-29  Andy Wingo  <wingo@pobox.com>
25571
25572         * docs/libs/gstreamer-libs-overrides.txt: 
25573         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25574         really don't understand what's going on, but like whatever. I want
25575         green buildbot!
25576
25577         * docs/gst/Makefile.am:
25578         * docs/libs/Makefile.am: Dist the overrides files.
25579
25580         * check/Makefile.am (clean-local): Remove .libs directories.
25581
25582         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25583         elements to EXTRA_DIST, so po/ files are happy.
25584
25585         * po/POTFILES.in: Er, remove it here.
25586
25587         * po/POTFILES: Remove gstspider.c.
25588
25589         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25590
25591         * docs/libs/gstreamer-libs-docs.sgml: 
25592         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25593         bytestream.
25594
25595         * tests/complexity.c (main): Set the length of the preroll queue
25596         on the sinks to prevent a lockup.
25597
25598         * libs/gst/dataprotocol/Makefile.am: 
25599         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25600         the same as the one in check/gst-libs/gdp.c.
25601
25602         * po/, docs/gst/: Commit automatic changes to docs and po files.
25603
25604         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25605         the versioned libgstbase.
25606
25607         * check/Makefile.am: Depend on an unversioned gst-register, seems
25608         to make autoconf happier.
25609
25610         * gst/base/Makefile.am: Make libgstbase a versioned lib.
25611
25612 2005-03-28  Wim Taymans  <wim@fluendo.com>
25613
25614         * configure.ac:
25615         * docs/design/part-gstelement.txt:
25616         * docs/design/part-negotiation.txt:
25617         * docs/design/part-preroll.txt:
25618         * docs/design/part-scheduling.txt:
25619         * docs/design/part-states.txt:
25620         * gst/Makefile.am:
25621         * gst/base/Makefile.am:
25622         * gst/base/README:
25623         * gst/base/gstbasesink.c: (gst_basesink_get_template),
25624         (gst_basesink_base_init), (gst_basesink_class_init),
25625         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25626         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25627         (gst_basesink_set_pad_functions),
25628         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25629         (gst_basesink_set_property), (gst_basesink_get_property),
25630         (gst_base_sink_get_template), (gst_base_sink_get_caps),
25631         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25632         (gst_basesink_preroll_queue_push),
25633         (gst_basesink_preroll_queue_empty),
25634         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25635         (gst_basesink_event), (gst_basesink_get_times),
25636         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25637         (gst_basesink_chain_unlocked), (gst_basesink_chain),
25638         (gst_basesink_loop), (gst_basesink_activate),
25639         (gst_basesink_change_state):
25640         * gst/base/gstbasesink.h:
25641         * gst/elements/Makefile.am:
25642         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25643         (gst_fakesink_class_init), (gst_fakesink_init),
25644         (gst_fakesink_set_property), (gst_fakesink_get_property),
25645         (gst_fakesink_get_times), (gst_fakesink_event),
25646         (gst_fakesink_preroll), (gst_fakesink_render),
25647         (gst_fakesink_change_state):
25648         * gst/elements/gstfakesink.h:
25649         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25650         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25651         * gst/gstelement.c: (gst_element_add_pad),
25652         (gst_element_get_state_func), (gst_element_abort_state),
25653         (gst_element_commit_state), (gst_element_lost_state),
25654         (gst_element_set_state), (gst_element_pads_activate):
25655         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25656         * gst/gstpipeline.c: (gst_pipeline_send_event),
25657         (gst_pipeline_change_state):
25658         Added state change code.
25659         Added/updated docs.
25660         Added sink base class, make fakesink extend the base class.
25661         Small cleanups in GstPipeline.
25662
25663 2005-03-26  David Schleef  <ds@schleef.org>
25664
25665         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
25666         is broken and should be implemented in a different library.
25667         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25668         * gst/gst.h: remove gstcpu.h
25669         * gst/gstcpu.c: remove
25670         * gst/gstcpu.h: remove
25671         * gst/Makefile.am.future: Remove this file.  It's ancient.
25672
25673 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25674
25675         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25676         (gst_bin_send_event):
25677           Add default event/set_manager handlers. The set_manager handler
25678           takes care that the manager is distributed over kids that were
25679           already in the bin before the manager was set. The event handler
25680           is a utility virtual function that sends the event over all sinks,
25681           so that gst_element_send_event (bin, event); has the expected
25682           behaviour.
25683         * gst/gstpad.c: (gst_pad_event_default):
25684           Re-install default event handling for discontinuities, so that
25685           seeking works without requiring hacks in applications or extra
25686           code in sinks.
25687         * gst/gstpipeline.c: (gst_pipeline_class_init),
25688         (gst_pipeline_send_event):
25689           Half hack, half utility: set a pipeline to PAUSED for seek events,
25690           since that is the only way we can guarantee a/v sync. Means that
25691           you can do gst_element_seek (pipeline, method, pos); on a pipeline
25692           and it "just works".
25693
25694 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25695
25696         * gst/gstpipeline.c: (gst_pipeline_use_clock):
25697           Lock/unlock mismatch.
25698
25699 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25700
25701         * docs/faq/gst-uninstalled:
25702           add gst-plugins-base
25703         * docs/gst/Makefile.am:
25704           don't error out until docs are fixed
25705         * docs/gst/gstreamer.types:
25706           remove thread
25707
25708 2005-03-22  Wim Taymans  <wim@fluendo.com>
25709
25710         * check/Makefile.am:
25711         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25712         * gst/gststructure.c: (gst_structure_set_valist),
25713         (gst_structure_copy_conditional):
25714         Activated more tests.
25715         Added message test.
25716         Added G_TYPE_POINTER to GstStructure.
25717         
25718
25719 2005-03-22  Wim Taymans  <wim@fluendo.com>
25720
25721         * docs/design/part-TODO.txt:
25722         * docs/design/part-events.txt:
25723         * docs/design/part-gstbin.txt:
25724         * docs/design/part-gstbus.txt:
25725         * docs/design/part-gstpipeline.txt:
25726         * docs/design/part-messages.txt:
25727         * gst/gstbus.c:
25728         * gst/gstmessage.c:
25729         Docs updates
25730
25731 2005-03-21  Wim Taymans  <wim@fluendo.com>
25732
25733         * gst/gstbus.c: (gst_bus_post):
25734         Fix copy-and-paste error.
25735
25736 2005-03-21  Wim Taymans  <wim@fluendo.com>
25737
25738         * check/Makefile.am:
25739         * gst/Makefile.am:
25740         * gst/elements/Makefile.am:
25741         * gst/elements/gstelements.c:
25742         * gst/elements/gstfakesink.c: (gst_fakesink_init),
25743         (gst_fakesink_event), (gst_fakesink_chain):
25744         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25745         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25746         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25747         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25748         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25749         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25750         (gst_fakesrc_loop), (gst_fakesrc_activate),
25751         (gst_fakesrc_change_state):
25752         * gst/elements/gstfakesrc.h:
25753         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25754         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25755         (gst_filesrc_open_file), (gst_filesrc_loop),
25756         (gst_filesrc_activate), (gst_filesrc_change_state),
25757         (filesrc_find_peek), (filesrc_find_suggest),
25758         (gst_filesrc_type_find):
25759         * gst/elements/gstidentity.c: (gst_identity_finalize),
25760         (gst_identity_class_init), (gst_identity_init),
25761         (gst_identity_proxy_getcaps), (identity_queue_push),
25762         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25763         (gst_identity_getrange), (gst_identity_chain),
25764         (gst_identity_sink_loop), (gst_identity_src_loop),
25765         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25766         (gst_identity_set_property), (gst_identity_get_property),
25767         (gst_identity_change_state):
25768         * gst/elements/gstidentity.h:
25769         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25770         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25771         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25772         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25773         (gst_tee_sink_activate):
25774         * gst/elements/gsttee.h:
25775         * gst/gst.c: (gst_register_core_elements), (init_post):
25776         * gst/gst.h:
25777         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25778         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25779         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25780         (gst_bin_change_state):
25781         * gst/gstbin.h:
25782         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25783         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25784         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25785         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25786         (gst_bus_set_sync_handler), (gst_bus_create_watch),
25787         (bus_watch_callback), (bus_watch_destroy),
25788         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25789         (poll_timeout), (gst_bus_poll):
25790         * gst/gstbus.h:
25791         * gst/gstcaps.h:
25792         * gst/gstdata.h:
25793         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25794         (gst_element_post_message), (gst_element_message_full),
25795         (gst_element_get_state_func), (gst_element_get_state),
25796         (gst_element_abort_state), (gst_element_commit_state),
25797         (gst_element_lost_state), (gst_element_set_state),
25798         (gst_element_pads_activate), (gst_element_change_state),
25799         (gst_element_dispose), (gst_element_set_manager_func),
25800         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25801         (gst_element_set_manager), (gst_element_get_manager),
25802         (gst_element_set_bus), (gst_element_get_bus),
25803         (gst_element_set_scheduler), (gst_element_get_scheduler):
25804         * gst/gstelement.h:
25805         * gst/gstevent.c: (gst_event_new_segment_seek),
25806         (gst_event_new_flush):
25807         * gst/gstevent.h:
25808         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25809         (_gst_message_free), (gst_message_get_type), (gst_message_new),
25810         (gst_message_new_eos), (gst_message_new_error),
25811         (gst_message_new_warning), (gst_message_new_tag),
25812         (gst_message_new_state_changed), (gst_message_new_application),
25813         (gst_message_get_structure), (gst_message_parse_tag),
25814         (gst_message_parse_state_changed), (gst_message_parse_error),
25815         (gst_message_parse_warning):
25816         * gst/gstmessage.h:
25817         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25818         (gst_real_pad_set_property), (gst_pad_set_active),
25819         (gst_pad_is_active), (gst_pad_set_blocked_async),
25820         (gst_pad_set_blocked), (gst_pad_is_blocked),
25821         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25822         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25823         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25824         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25825         (gst_pad_link_filtered), (gst_pad_relink_filtered),
25826         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25827         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25828         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25829         (gst_pad_set_caps), (gst_pad_configure_sink),
25830         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25831         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25832         (gst_real_pad_dispose), (gst_real_pad_finalize),
25833         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25834         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25835         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25836         * gst/gstpad.h:
25837         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25838         (pipeline_bus_handler), (gst_pipeline_change_state),
25839         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25840         * gst/gstpipeline.h:
25841         * gst/gstprobe.h:
25842         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25843         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25844         (gst_queue_link_src), (gst_queue_bufferalloc),
25845         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25846         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25847         (gst_queue_loop), (gst_queue_handle_src_event),
25848         (gst_queue_handle_src_query), (gst_queue_src_activate),
25849         (gst_queue_change_state):
25850         * gst/gstqueue.h:
25851         * gst/gstscheduler.c: (gst_scheduler_init),
25852         (gst_scheduler_dispose), (gst_scheduler_create_task),
25853         (gst_scheduler_factory_create):
25854         * gst/gstscheduler.h:
25855         * gst/gststructure.c: (gst_structure_get_type),
25856         (gst_structure_copy_conditional):
25857         * gst/gststructure.h:
25858         * gst/gsttaginterface.h:
25859         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25860         (gst_task_init), (gst_task_dispose), (gst_task_create),
25861         (gst_task_get_state), (gst_task_start), (gst_task_stop),
25862         (gst_task_pause):
25863         * gst/gsttask.h:
25864         * gst/gstthread.c:
25865         * gst/gstthread.h:
25866         * gst/gsttypes.h:
25867         * gst/schedulers/Makefile.am:
25868         * gst/schedulers/cothreads_compat.h:
25869         * gst/schedulers/entryscheduler.c:
25870         * gst/schedulers/faircothreads.c:
25871         * gst/schedulers/faircothreads.h:
25872         * gst/schedulers/fairscheduler.c:
25873         * gst/schedulers/gstbasicscheduler.c:
25874         * gst/schedulers/gstoptimalscheduler.c:
25875         * gst/schedulers/gthread-cothreads.h:
25876         * gst/schedulers/threadscheduler.c:
25877         (gst_thread_scheduler_task_get_type),
25878         (gst_thread_scheduler_task_class_init),
25879         (gst_thread_scheduler_task_init),
25880         (gst_thread_scheduler_task_start),
25881         (gst_thread_scheduler_task_stop),
25882         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25883         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25884         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25885         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25886         (plugin_init):
25887         * libs/gst/Makefile.am:
25888         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25889         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25890         (gst_file_pad_parent_set):
25891         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25892         (gst_dp_event_from_packet):
25893         * tests/complexity.c: (main):
25894         * tests/mass_elements.c: (main):
25895         * testsuite/states/locked.c: (message_received), (main):
25896         * testsuite/states/parent.c: (main):
25897         * tools/gst-inspect.c: (print_element_flag_info),
25898         (print_implementation_info), (print_pad_info):
25899         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25900         (main):
25901         * tools/gst-md5sum.c: (event_loop), (main):
25902         * tools/gst-typefind.c: (main):
25903         * tools/gst-xmlinspect.c: (print_element_info):
25904         Next big merge.
25905         Added GstBus for mainloop integration.
25906         Added GstMessage for sending notifications on the bus.
25907         Added GstTask as an abstraction for pipeline entry points.
25908         Removed GstThread.
25909         Removed Schedulers.
25910         Simplified GstQueue for multithreaded core.
25911         Made _link threadsafe, removed old capsnego.
25912         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25913         Added pad blocking functions.
25914         Reworked scheduling functions in GstPad to prepare for
25915         scheduling updates soon.
25916         Moved events out of data stream.
25917         Simplified GstEvent types.
25918         Added return values to push/pull.
25919         Removed clocking from GstElement.
25920         Added prototypes for state change function for next merge.
25921         Removed iterate from bins and state change management.
25922         Fixed some elements, disabled others for now.
25923         Fixed -inspect and -launch.
25924         Added check for GstBus.
25925
25926 2005-03-10  Wim Taymans  <wim@fluendo.com>
25927
25928         * docs/design/part-MT-refcounting.txt:
25929         * docs/design/part-clocks.txt:
25930         * docs/design/part-gstelement.txt:
25931         * docs/design/part-gstobject.txt:
25932         * docs/design/part-standards.txt:
25933         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25934         (gst_bin_remove_func), (gst_bin_remove):
25935         * gst/gstbin.h:
25936         * gst/gstbuffer.c:
25937         * gst/gstcaps.h:
25938         * testsuite/clock/clock1.c: (main):
25939         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25940         (main):
25941         * testsuite/dlopen/loadgst.c: (do_test):
25942         * testsuite/refcounting/bin.c: (add_remove_test1),
25943         (add_remove_test2), (main):
25944         * testsuite/refcounting/element.c: (main):
25945         * testsuite/refcounting/element_pad.c: (main):
25946         * testsuite/refcounting/pad.c: (main):
25947         * tools/gst-launch.c: (sigint_handler_sighandler):
25948         * tools/gst-typefind.c: (main):
25949         Doc updates.
25950         Added doc about clock.
25951         removed gst_bin_iterate_recurse_up(), marked methods
25952         for removal.
25953         Fix more testsuites.
25954
25955 2005-03-09  Wim Taymans  <wim@fluendo.com>
25956
25957         * gst/gstpad.c: (gst_pad_get_direction),
25958         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25959         (gst_pad_collect_valist):
25960         * testsuite/bins/interface.c: (main):
25961         * testsuite/caps/audioscale.c: (test_caps):
25962         * testsuite/caps/caps.c: (test1), (test2), (test3):
25963         * testsuite/caps/deserialize.c: (main):
25964         * testsuite/caps/enumcaps.c: (main):
25965         * testsuite/caps/filtercaps.c: (main):
25966         * testsuite/caps/intersect2.c: (main):
25967         * testsuite/caps/random.c: (main):
25968         * testsuite/caps/renegotiate.c: (my_fixate), (main):
25969         * testsuite/caps/sets.c: (check_caps):
25970         * testsuite/caps/simplify.c: (check_caps), (main):
25971         * testsuite/caps/subtract.c: (check_caps):
25972         Fix _pad_get_direction wrt ghostpads.
25973         Fix caps testsuite.
25974
25975 2005-03-09  Wim Taymans  <wim@fluendo.com>
25976
25977         * check/Makefile.am:
25978         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25979         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25980         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25981         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25982         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25983         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25984         (gst_bin_remove), (gst_bin_iterate_recurse_up),
25985         (bin_element_is_sink), (gst_bin_iterate_sinks),
25986         (gst_bin_iterate_all_by_interface):
25987         * gst/gstbin.h:
25988         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25989         (gst_element_change_state), (gst_element_dispose),
25990         (gst_element_finalize), (gst_element_set_loop_function):
25991         * gst/gstelement.h:
25992         * gst/gstiterator.c: (find_custom_fold_func):
25993         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25994         (gst_pad_collectv), (gst_pad_collect_valist),
25995         (gst_pad_template_new):
25996         * gst/gstpipeline.c: (gst_pipeline_class_init),
25997         (gst_pipeline_dispose), (gst_pipeline_set_property),
25998         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25999         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26000         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26001         * gst/gstutils.h:
26002         * gst/schedulers/entryscheduler.c:
26003         * gst/schedulers/gstbasicscheduler.c:
26004         (gst_basic_scheduler_cothreaded_chain),
26005         (gst_basic_scheduler_chain_add_element):
26006         * testsuite/bins/interface.c: (main):
26007         Added GstBin test.
26008         Added GstSystemClock test.
26009         Implemented clock distribution code in GstBin.
26010         Implemented iterate sinks method for future use.
26011         Rearranged gstelement.h
26012         Fix GstIterator comparison bug.
26013         Moved some code to GstPipeline, mostly clocking related.
26014
26015 2005-03-09  Wim Taymans  <wim@fluendo.com>
26016
26017         * configure.ac:
26018         * gst/gst_private.h:
26019         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26020         (gst_bin_remove_func), (gst_bin_remove),
26021         (gst_bin_get_by_name_recurse_up):
26022         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26023         (gst_clock_id_compare_func), (gst_clock_id_wait),
26024         (gst_clock_id_wait_async), (gst_clock_init),
26025         (gst_clock_adjust_unlocked), (gst_clock_get_time):
26026         * gst/gstelement.h:
26027         * gst/gstinfo.c: (_gst_debug_init):
26028         * gst/gstobject.h:
26029         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26030         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26031         * gst/gstpad.h:
26032         Bump version number, we're now 0.9.0
26033         Add future debugging category.
26034         Fix NULL _unref() in _get_by_name_recurse_up
26035         Rearrange gstpad.h.
26036         Update some docs.
26037
26038 2005-03-08  Wim Taymans  <wim@fluendo.com>
26039
26040         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26041         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26042         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26043         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26044         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26045         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26046         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26047         * gst/elements/gstidentity.c: (gst_identity_class_init):
26048         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26049         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26050         * gst/elements/gstshaper.c: (gst_shaper_class_init):
26051         * gst/elements/gststatistics.c: (gst_statistics_class_init):
26052         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26053         (gst_tee_link):
26054         * gst/gstelement.c: (gst_element_class_init),
26055         (gst_element_base_class_init), (gst_element_init),
26056         (gst_element_get_random_pad), (gst_element_wait_state_change),
26057         (gst_element_change_state), (gst_element_dispose),
26058         (gst_element_finalize), (gst_element_set_loop_function):
26059         * gst/gstelement.h:
26060         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26061         * gst/gstthread.c: (gst_thread_class_init),
26062         (gst_thread_release_children_locks), (gst_thread_change_state):
26063         * gst/schedulers/gstbasicscheduler.c:
26064         (gst_basic_scheduler_loopfunc_wrapper),
26065         (gst_basic_scheduler_chain_wrapper),
26066         (gst_basic_scheduler_src_wrapper),
26067         (gst_basic_scheduler_remove_element):
26068         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26069         Remove threadsafe properties. Fix elements because GObject
26070         complains when installing a property before declaring a
26071         set/get_property handler.
26072         Rearrange gstelement.h file, use STATE macros for state locks.
26073         Free mutexes in the finalize method instead of dispose.
26074
26075 2005-03-08  Wim Taymans  <wim@fluendo.com>
26076
26077         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26078         * gst/gstthread.c: (gst_thread_release_children_locks):
26079         Added parentage check.
26080         Fix build og GstThread again.
26081
26082 2005-03-08  Wim Taymans  <wim@fluendo.com>
26083
26084         * docs/design/part-MT-refcounting.txt:
26085         * docs/design/part-conventions.txt:
26086         * docs/design/part-gstobject.txt:
26087         * docs/design/part-relations.txt:
26088         * docs/design/part-standards.txt:
26089         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26090         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26091         (gst_bin_get_by_name), (gst_bin_get_by_interface),
26092         (gst_bin_iterate_all_by_interface):
26093         * gst/gstbuffer.h:
26094         * gst/gstclock.h:
26095         * gst/gstelement.c: (gst_element_class_init),
26096         (gst_element_change_state), (gst_element_set_loop_function):
26097         * gst/gstelement.h:
26098         * gst/gstiterator.c:
26099         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26100         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26101         (gst_object_dispatch_properties_changed), (gst_object_set_name),
26102         (gst_object_set_parent), (gst_object_unparent),
26103         (gst_object_check_uniqueness):
26104         * gst/gstobject.h:
26105         Docs updates, clean up some headers.
26106
26107 2005-03-07  Wim Taymans  <wim@fluendo.com>
26108
26109         * check/.cvsignore:
26110         * check/Makefile.am:
26111         * check/gst-libs/.cvsignore:
26112         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26113         * check/gst/.cvsignore:
26114         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26115         (START_TEST), (gstbus_suite), (main):
26116         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26117         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26118         (gst_data_suite), (main):
26119         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26120         (add_fold_func), (gstiterator_suite), (main):
26121         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26122         (thread_name_object), (thread_name_object_default),
26123         (gst_object_name_compare), (gst_object_suite), (main):
26124         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26125         (gst_pad_suite), (main):
26126         * check/gstcheck.c: (gst_check_log_message_func),
26127         (gst_check_log_critical_func), (gst_check_init):
26128         * check/gstcheck.h:
26129         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26130         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26131         Added checks.
26132
26133 2005-03-07  Wim Taymans  <wim@fluendo.com>
26134
26135         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26136         (gst_list_iterator_next), (gst_list_iterator_resync),
26137         (gst_list_iterator_free), (gst_iterator_new_list),
26138         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26139         (gst_iterator_free), (gst_iterator_push), (filter_next),
26140         (filter_resync), (filter_uninit), (filter_free),
26141         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26142         (gst_iterator_foreach), (find_custom_fold_func),
26143         (gst_iterator_find_custom):
26144         * gst/gstiterator.h:
26145         Added missing files.
26146
26147 2005-03-07  Wim Taymans  <wim@fluendo.com>
26148
26149         * Makefile.am:
26150         * configure.ac:
26151         * docs/design/part-MT-refcounting.txt:
26152         * docs/design/part-conventions.txt:
26153         * docs/design/part-gstobject.txt:
26154         * docs/design/part-relations.txt:
26155         * examples/mixer/mixer.c: (main):
26156         * examples/thread/thread.c: (eos), (main):
26157         * gst/Makefile.am:
26158         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26159         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26160         (gst_spider_plug_from_srcpad):
26161         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26162         (gst_spider_identity_change_state),
26163         (gst_spider_identity_sink_loop_type_finding):
26164         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26165         * gst/elements/gstidentity.c: (gst_identity_init):
26166         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26167         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26168         * gst/elements/gsttypefindelement.c: (free_entry):
26169         * gst/gst.c:
26170         * gst/gst.h:
26171         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26172         (gst_bin_set_clock_func), (gst_bin_auto_clock),
26173         (gst_bin_set_index), (gst_bin_set_element_sched),
26174         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26175         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26176         (gst_bin_iterate_elements), (iterate_child_recurse),
26177         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26178         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26179         (compare_interface), (gst_bin_get_by_interface),
26180         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26181         * gst/gstbin.h:
26182         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26183         (gst_buffer_default_free), (gst_buffer_default_copy),
26184         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26185         (gst_buffer_create_sub):
26186         * gst/gstbuffer.h:
26187         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26188         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26189         (gst_caps_unref), (gst_static_caps_get),
26190         (gst_caps_remove_and_get_structure), (gst_caps_append),
26191         (gst_caps_append_structure), (gst_caps_remove_structure),
26192         (gst_caps_copy_nth), (gst_caps_set_simple),
26193         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26194         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26195         (gst_caps_structure_intersect_field), (gst_caps_intersect),
26196         (gst_caps_structure_subtract_field), (gst_caps_subtract),
26197         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26198         (gst_caps_structure_figure_out_union),
26199         (gst_caps_switch_structures), (gst_caps_do_simplify),
26200         (gst_caps_replace), (gst_caps_from_string),
26201         (gst_caps_copy_conditional):
26202         * gst/gstcaps.h:
26203         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26204         (_gst_clock_id_free), (gst_clock_id_unref),
26205         (gst_clock_id_compare_func), (gst_clock_id_wait),
26206         (gst_clock_id_wait_async), (gst_clock_class_init),
26207         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26208         (gst_clock_get_time), (gst_clock_set_time_adjust),
26209         (gst_clock_set_property), (gst_clock_get_property):
26210         * gst/gstclock.h:
26211         * gst/gstcompat.h:
26212         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26213         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26214         * gst/gstdata.h:
26215         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26216         (gst_element_requires_clock), (gst_element_provides_clock),
26217         (gst_element_set_clock), (gst_element_clock_wait),
26218         (gst_element_wait), (gst_element_set_time_delay),
26219         (gst_element_is_indexable), (gst_element_add_pad),
26220         (gst_element_add_ghost_pad), (gst_element_remove_pad),
26221         (pad_compare_name), (gst_element_get_static_pad),
26222         (gst_element_request_pad), (gst_element_get_request_pad),
26223         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26224         (gst_element_class_get_pad_template_list),
26225         (gst_element_class_get_pad_template), (gst_element_error_func),
26226         (gst_element_get_random_pad), (gst_element_get_event_masks),
26227         (gst_element_send_event), (gst_element_seek),
26228         (gst_element_get_query_types), (gst_element_query),
26229         (gst_element_get_formats), (gst_element_convert),
26230         (gst_element_is_locked_state), (gst_element_set_locked_state),
26231         (gst_element_sync_state_with_parent), (gst_element_change_state),
26232         (gst_element_finalize), (gst_element_yield),
26233         (gst_element_interrupt), (gst_element_set_scheduler),
26234         (gst_element_get_scheduler), (gst_element_set_loop_function):
26235         * gst/gstelement.h:
26236         * gst/gstevent.h:
26237         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26238         (gst_format_get_by_nick), (gst_format_get_details),
26239         (gst_format_iterate_definitions):
26240         * gst/gstformat.h:
26241         * gst/gstindex.c: (gst_index_gtype_resolver):
26242         * gst/gstinfo.c:
26243         * gst/gstinfo.h:
26244         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26245         (gst_mem_chunk_free):
26246         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26247         (gst_object_ref), (gst_object_unref), (gst_object_sink),
26248         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26249         (gst_object_dispatch_properties_changed),
26250         (gst_object_set_name_default), (gst_object_set_name),
26251         (gst_object_get_name), (gst_object_set_name_prefix),
26252         (gst_object_get_name_prefix), (gst_object_set_parent),
26253         (gst_object_get_parent), (gst_object_unparent),
26254         (gst_object_check_uniqueness), (gst_object_save_thyself),
26255         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26256         (gst_object_set_property), (gst_object_get_property),
26257         (gst_object_get_path_string):
26258         * gst/gstobject.h:
26259         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26260         (gst_real_pad_init), (gst_real_pad_get_property),
26261         (gst_pad_custom_new), (gst_pad_get_direction),
26262         (gst_pad_set_active), (gst_pad_is_active),
26263         (gst_pad_set_event_function), (gst_pad_is_linked),
26264         (gst_pad_link_free), (gst_pad_link_intersect),
26265         (gst_pad_link_fixate), (gst_pad_set_caps),
26266         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26267         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26268         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26269         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26270         (gst_pad_get_caps), (gst_pad_peer_get_caps),
26271         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26272         (gst_pad_realize), (gst_pad_get_allowed_caps),
26273         (gst_real_pad_dispose), (gst_real_pad_finalize),
26274         (gst_pad_collectv), (gst_pad_collect_valist),
26275         (gst_pad_template_dispose), (gst_pad_template_new),
26276         (gst_pad_get_internal_links):
26277         * gst/gstpad.h:
26278         * gst/gstpipeline.c: (gst_pipeline_dispose),
26279         (gst_pipeline_change_state):
26280         * gst/gstpipeline.h:
26281         * gst/gstplugin.c:
26282         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26283         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26284         * gst/gstpluginfeature.h:
26285         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26286         * gst/gstquery.c: (_gst_query_type_initialize),
26287         (gst_query_type_register), (gst_query_type_get_by_nick),
26288         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26289         * gst/gstquery.h:
26290         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26291         * gst/gstscheduler.c: (gst_scheduler_add_element),
26292         (gst_scheduler_factory_create):
26293         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26294         (gst_structure_free), (gst_structure_set_name),
26295         (gst_structure_id_set_value), (gst_structure_set_value),
26296         (gst_structure_set_valist), (gst_structure_remove_field),
26297         (gst_structure_remove_fields),
26298         (gst_structure_remove_fields_valist),
26299         (gst_structure_remove_all_fields), (gst_structure_foreach),
26300         (gst_structure_map_in_place),
26301         (gst_caps_structure_fixate_field_nearest_int),
26302         (gst_caps_structure_fixate_field_nearest_double):
26303         * gst/gststructure.h:
26304         * gst/gstsystemclock.c: (gst_system_clock_class_init),
26305         (gst_system_clock_init), (gst_system_clock_dispose),
26306         (gst_system_clock_async_thread),
26307         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26308         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26309         * gst/gstsystemclock.h:
26310         * gst/gsttag.c: (gst_tag_list_add_value_internal),
26311         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26312         * gst/gsttaginterface.c:
26313         * gst/gstthread.c: (gst_thread_dispose),
26314         (gst_thread_release_children_locks), (gst_thread_change_state),
26315         (gst_thread_main_loop):
26316         * gst/gsttrashstack.h:
26317         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26318         * gst/gsttypes.h:
26319         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26320         (gst_element_request_pad), (gst_element_get_pad_from_template),
26321         (gst_element_request_compatible_pad),
26322         (gst_element_get_compatible_pad_filtered),
26323         (gst_element_get_compatible_pad), (gst_element_state_get_name),
26324         (gst_element_link_pads_filtered), (gst_element_link_filtered),
26325         (gst_element_link_many), (gst_element_link),
26326         (gst_element_link_pads), (gst_element_unlink_pads),
26327         (gst_element_unlink_many), (gst_element_unlink),
26328         (gst_pad_can_link_filtered), (gst_pad_can_link),
26329         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26330         (gst_object_default_error), (gst_bin_add_many),
26331         (gst_bin_remove_many), (gst_element_populate_std_props),
26332         (gst_element_class_install_std_props), (gst_buffer_merge),
26333         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26334         (link_fold_func), (gst_pad_proxy_setcaps):
26335         * gst/gstutils.h:
26336         * gst/gstvalue.c: (gst_value_deserialize_string):
26337         * gst/parse/grammar.y:
26338         * gst/schedulers/gstbasicscheduler.c:
26339         (gst_basic_scheduler_cothreaded_chain),
26340         (gst_basic_scheduler_chain_recursive_add),
26341         (gst_basic_scheduler_pad_link):
26342         * gst/schedulers/gstoptimalscheduler.c:
26343         (get_group_schedule_function),
26344         (gst_opt_scheduler_state_transition),
26345         (gst_opt_scheduler_add_element), (element_get_reachables_func):
26346         * libs/gst/bytestream/bytestream.c:
26347         * libs/gst/dataprotocol/dataprotocol.c:
26348         (gst_dp_header_from_buffer):
26349         * po/nb.po:
26350         * po/ru.po:
26351         * tests/threadstate/threadstate2.c: (eos):
26352         * tools/gst-compprep.c: (main):
26353         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26354         (print_pad_info), (print_children_info):
26355         * tools/gst-launch.c: (idle_func), (main):
26356         * tools/gst-md5sum.c: (idle_func), (main):
26357         * tools/gst-xmlinspect.c: (print_element_info):
26358         First THREADED backport attempt, focusing on adding locks and
26359         making sure the API is threadsafe. Needs more work. More docs
26360         follow this week.
26361
26362 2005-02-24  Andy Wingo  <wingo@pobox.com>
26363
26364         * tests/bench-complexity.scm:
26365         * tests/complexity.gnuplot: New files, good for running complexity
26366         benchmarks.
26367
26368         * tests/Makefile.am:
26369         * tests/complexity.c: New test, sets up N elements, at each level
26370         teeing into M streams per element. Eeeenteresting.
26371
26372         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26373         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26374         running bench-mass_elements.scm.
26375
26376         * tests/bench-mass_elements.scm: New script, runs mass_elements
26377         for various numbers of identities, outputting the results to a
26378         file. Requires guile 1.6. Just for testing.
26379
26380 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26381
26382         * gst/schedulers/fairscheduler.c:
26383           compile with debug disabled
26384
26385 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26386
26387         * configure.ac:
26388           hunting season on 0.9 is now OPEN